src/Entity/Configurations.php line 11

  1. <?php
  2. namespace App\Entity;
  3. use App\Repository\ConfigurationsRepository;
  4. use Doctrine\ORM\Mapping as ORM;
  5. /**
  6.  * @ORM\Entity(repositoryClass=ConfigurationsRepository::class)
  7.  */
  8. class Configurations
  9. {
  10.     public const TABLE_NAME 'configurations';
  11.     public const CONF_AS_BASE_URL 'CONF_AS_BASE_URL';
  12.     public const CONF_AS_AUTH_USERNAME 'CONF_AS_AUTH_USERNAME';
  13.     public const CONF_AS_AUTH_PASSWORD 'CONF_AS_AUTH_PASSWORD';
  14.     public const CONF_AS_AUTH_CONFERENCE_ID 'CONF_AS_AUTH_CONFERENCE_ID';
  15.     public const CONF_GOOGLE_RECAPTCHA_PRIVATE_KEY  'CONF_GOOGLE_RECAPTCHA_PRIVATE_KEY';
  16.     public const CONF_GOOGLE_RECAPTCHA_PUBLIC_KEY 'CONF_GOOGLE_RECAPTCHA_PUBLIC_KEY';
  17.     public const CONF_EW_AUTH_USERNAME 'CONF_EW_AUTH_USERNAME';
  18.     public const CONF_EW_AUTH_PASSWORD 'CONF_EW_AUTH_PASSWORD';
  19.     public const CONF_ORGANIZATION_NAME 'CONF_ORGANIZATION_NAME';
  20.     public const CONF_SHOW_BECOME_AN_EVENT_WORKER 'CONF_SHOW_BECOME_AN_EVENT_WORKER';
  21.     public const CONF_CODE_REGISTRATION_FORM 'CONF_CODE_REGISTRATION_FORM';
  22.     public const CONF_CODE_EPAY_FORM 'CONF_CODE_EPAY_FORM';
  23.     public const CONF_ADMIN_CONTACT_INFO_NAME 'CONF_ADMIN_CONTACT_INFO_NAME';
  24.     public const CONF_ADMIN_CONTACT_INFO_EMAIL 'CONF_ADMIN_CONTACT_INFO_EMAIL';
  25.     public const CONF_CODE_IS_WORKER_ALLOW_TO_CANCEL_SIGNUP_BY_THEMSELVES '
  26.     CONF_CODE_IS_WORKER_ALLOW_TO_CANCEL_SIGNUP_BY_THEMSELVES';
  27.     public const CONF_CODE_SIGNUP_HOURS_EXPIRATION 'CONF_CODE_SIGNUP_HOURS_EXPIRATION';
  28.     public const CONF_RECORD_PER_PAGE 'CONF_RECORD_PER_PAGE';
  29.     // USIO CONFIGS ...
  30.     public const CONF_USIOPAY_GET_PREFUNDING_BALANCE_URL 'CONF_USIOPAY_GET_PREFUNDING_BALANCE_URL';
  31.     public const CONF_USIOPAY_VOID_ACHPAYMENT_URL 'CONF_USIOPAY_VOID_ACHPAYMENT_URL';
  32.     public const CONF_USIOPAY_SUBMIT_ACHPAYMENT_URL 'CONF_USIOPAY_SUBMIT_ACHPAYMENT_URL';
  33.     public const CONF_USIOPAY_CREATE_MERCHANT_URL 'CONF_USIOPAY_CREATE_MERCHANT_URL';
  34.     public const CONF_USIOPAY_VERIFY_ACH_ACCOUNT_URL 'CONF_USIOPAY_VERIFY_ACH_ACCOUNT_URL';
  35.     // https://enroll.securepds.com/documentation/#enrollment
  36.     public const CONF_USIO_DWC_DEBIT_MERCHANT_ID 'CONF_USIO_DWC_DEBIT_MERCHANT_ID';
  37.     public const CONF_USIO_DWC_DEBIT_USERNAME 'CONF_USIO_DWC_DEBIT_USERNAME';
  38.     public const CONF_USIO_DWC_DEBIT_PASSWORD 'CONF_USIO_DWC_DEBIT_PASSWORD';
  39.     public const CONF_USIO_DWC_CREDIT_MERCHANT_ID 'CONF_USIO_DWC_CREDIT_MERCHANT_ID';
  40.     public const CONF_USIO_DWC_CREDIT_USERNAME 'CONF_USIO_DWC_CREDIT_USERNAME';
  41.     public const CONF_USIO_DWC_CREDIT_PASSWORD 'CONF_USIO_DWC_CREDIT_PASSWORD';
  42.     public const CONF_GEN_SETTINGS_ALLOW_MULTIPLE_WORKER_PER_EVENT '
  43.     CONF_GEN_SETTINGS_ALLOW_MULTIPLE_WORKER_PER_EVENT';
  44.     // EW API Credentials
  45.     public const CONF_EW_API_ADMIN_USERNAME 'CONF_EW_API_ADMIN_USERNAME';
  46.     public const CONF_EW_API_ADMIN_PASSWORD 'CONF_EW_API_ADMIN_PASSWORD';
  47.     // REDIS CONFIGS...
  48.     public const CONF_REDIS_HOST 'CONF_REDIS_HOST';
  49.     public const CONF_REDIS_PORT 'CONF_REDIS_PORT';
  50.     // AWS S3 CONFIGS...
  51.     public const CONF_AWS_S3_BUCKET_NAME 'CONF_AWS_S3_BUCKET_NAME';
  52.     public const CONF_AWS_S3_AWS_PUBLIC_DOMAIN 'CONF_AWS_S3_AWS_PUBLIC_DOMAIN';
  53.     public const CONF_AWS_S3_AWS_REGION 'CONF_AWS_S3_AWS_REGION';
  54.     public const CONF_AWS_S3_AWS_SECRET 'CONF_AWS_S3_AWS_SECRET';
  55.     public const CONF_AWS_S3_AWS_KEY 'CONF_AWS_S3_AWS_KEY';
  56.     // EMAIL SENDER CONFIG...
  57.     public const CONF_EMAIL_SENDER 'CONF_EMAIL_SENDER';
  58.     /**
  59.      * @ORM\Id
  60.      * @ORM\GeneratedValue
  61.      * @ORM\Column(type="integer")
  62.      */
  63.     private $id;
  64.     /**
  65.      * @ORM\Column(type="string", length=64)
  66.      */
  67.     private $conf_code;
  68.     /**
  69.      * @ORM\Column(type="string", length=255, nullable=true)
  70.      */
  71.     private $conf_value;
  72.     /**
  73.      * @ORM\Column(type="string", length=255, nullable=true)
  74.      */
  75.     private $conf_description;
  76.     /**
  77.      * @ORM\Column(type="integer")
  78.      */
  79.     private $conf_updated_by_id;
  80.     /**
  81.      * @ORM\Column(type="datetime")
  82.      */
  83.     private $conf_updated_on;
  84.     public function getId(): ?int
  85.     {
  86.         return $this->id;
  87.     }
  88.     public function getConfCode(): ?string
  89.     {
  90.         return $this->conf_code;
  91.     }
  92.     public function setConfCode(string $conf_code): self
  93.     {
  94.         $this->conf_code $conf_code;
  95.         return $this;
  96.     }
  97.     public function getConfValue(): ?string
  98.     {
  99.         return $this->conf_value;
  100.     }
  101.     public function setConfValue(?string $conf_value): self
  102.     {
  103.         $this->conf_value $conf_value;
  104.         return $this;
  105.     }
  106.     public function getConfDescription(): ?string
  107.     {
  108.         return $this->conf_description;
  109.     }
  110.     public function setConfDescription(?string $conf_description): self
  111.     {
  112.         $this->conf_description $conf_description;
  113.         return $this;
  114.     }
  115.     public function getConfUpdatedById(): ?int
  116.     {
  117.         return $this->conf_updated_by_id;
  118.     }
  119.     public function setConfUpdatedById(int $conf_updated_by_id): self
  120.     {
  121.         $this->conf_updated_by_id $conf_updated_by_id;
  122.         return $this;
  123.     }
  124.     public function getConfUpdatedOn(): ?\DateTimeInterface
  125.     {
  126.         return $this->conf_updated_on;
  127.     }
  128.     public function setConfUpdatedOn(\DateTimeInterface $conf_updated_on): self
  129.     {
  130.         $this->conf_updated_on $conf_updated_on;
  131.         return $this;
  132.     }
  133. }