src/Form/Model/ExportApplicationModel.php line 7

Open in your IDE?
  1. <?php
  2. declare(strict_types=1);
  3. namespace App\Form\Model;
  4. class ExportApplicationModel
  5. {
  6.     private ?string $name null;
  7.     /**
  8.      * @var array<string, mixed>
  9.      */
  10.     private array $filters = [];
  11.     private string $type 'applications';
  12.     private string $format 'xlsx';
  13.     private array $columns = [
  14.         "instance_name" => "Instance name",
  15.         "company_trade_name" => "Trade name",
  16.         "company_legal_name" => "Legal name",
  17.         "company_uic" => "UIC",
  18.         "company_legal_form_other_description" => "Legal Form",
  19.         "company_incorporation_date" => "Incorporation date",
  20.         "months_of_doing_business" => "Months of doing business",
  21.         "mcc" => "MCC",
  22.         "business_activity_name" => "Business activity",
  23.         "company_website" => "Website",
  24.         "company_country" => "Country",
  25.         "company_city" => "City",
  26.         "company_county" => "County",
  27.         "company_zip" => "ZIP",
  28.         "company_address1" => "Address line 1",
  29.         "company_address2" => "Address line 2",
  30.         "company_correspondence_address" => "Correspondent address",
  31.         "company_address_of_shop" => "Address of Shop",
  32.         "created_at" => "Application Created at",
  33.         "review_start" => "Review Started date",
  34.         "review_end" => "Review Ended date ",
  35.         "onboarding_date" => "Onboading date",
  36.         "product_name" => "Product Type",
  37.         "channel" => "Processing type",
  38.         "product_status" => "Status",
  39.         "risk_score" => "Risk Score",
  40.         "merchant_jurisdiction" => "PAD or PUK",
  41.         "reviewer" => "Reviewer",
  42.         "token" => "Token",
  43.     ];
  44.     public function getName(): ?string
  45.     {
  46.         return $this->name;
  47.     }
  48.     public function setName(?string $name): void
  49.     {
  50.         $this->name $name;
  51.     }
  52.     /**
  53.      * @return array<string, mixed>
  54.      */
  55.     public function getFilters(): array
  56.     {
  57.         return $this->filters;
  58.     }
  59.     /**
  60.      * @param array<string, mixed> $filters
  61.      */
  62.     public function setFilters(array $filters): void
  63.     {
  64.         $this->filters $filters;
  65.     }
  66.     public function getType(): string
  67.     {
  68.         return $this->type;
  69.     }
  70.     public function setType(string $type): void
  71.     {
  72.         $this->type $type;
  73.     }
  74.     public function getFormat(): string
  75.     {
  76.         return $this->format;
  77.     }
  78.     public function setFormat(string $format): void
  79.     {
  80.         $this->format $format;
  81.     }
  82.     public function getColumns(): array
  83.     {
  84.         return $this->columns;
  85.     }
  86.     public function setColumns(array $columns): void
  87.     {
  88.         $this->columns $columns;
  89.     }
  90. }