src/Entity/AccountLicense.php line 15

Open in your IDE?
  1. <?php
  2. namespace App\Entity;
  3. use Doctrine\ORM\Mapping as ORM;
  4. use Symfony\Component\Validator\Constraints as Assert;
  5. use App\Entity\NotificationInLicensorBell;
  6. /**
  7.  * AccountLicense
  8.  * @ORM\Table(name="account_license", indexes={@ORM\Index(name="al_user_creator_id", columns={"al_user_creator_id"}), @ORM\Index(name="al_account_license_id", columns={"al_account_license_id"}), @ORM\Index(name="al_zip_code_id", columns={"al_zip_code_id"}), @ORM\Index(name="al_city_id", columns={"al_city_id"})})
  9.  * @ORM\Entity(repositoryClass="App\Repository\AccountLicenseRepository")
  10.  */
  11. class AccountLicense {
  12.     const LICENSE_STATUS_PENDING 0;
  13.     const LICENSE_STATUS_ACTIVE 1;
  14.     const LICENSE_STATUS_INACTIVE 2;
  15.     const DEVICE_ANDROID_TYPE 0;
  16.     const DEVICE_LITE_TYPE 1;
  17.     const DEVICE_HYBRID_TYPE 2;
  18.     const OMT_STATUS_SEARCH_ALL 2;
  19.     const OMT_STATUS_SEARCH_INACTIVE 0;
  20.     const OMT_STATUS_SEARCH_ACTIVE 1;
  21.     const OMT_STATUS_SEARCH_CACHE_ACTIVE 3;
  22.     /**
  23.      * Constantes para verificar si el menu de un restaurante es para clonar o ya fue clonado
  24.      */
  25.     const NO_COPY_MENU 0;
  26.     const COPY_OF_PENDING_MENU 1;
  27.     const COPY_OF_THE_MENU_DONE 2;
  28.     const COPY_IMAGES_S3_PENDING 3;
  29.     /**
  30.      * COnstantes para validar por que plataforma esta logueado el usuario
  31.      */
  32.     CONST LOGGED_OUT 0;
  33.     CONST LOGGED_BY_LEVEL_ANDROID 1;
  34.     CONST LOGGED_BY_LEVEL_LITE 2;
  35.     CONST LOGGED_BY_LEVEL_LITE_AND_ANDROID 3;
  36.     /**
  37.      * Constante que define la licencia parasita
  38.      */
  39.     const IDENT_LICENSE_NOT_PARASITE 0;
  40.     const IDENT_LICENSE_PARASITE 1;
  41.     /**
  42.      * Constante que define la licencia parasita
  43.      */
  44.     const DUPLICATE_REGISTACTION_NOT_RUNNING 0;
  45.     const DUPLICATE_REGISTACTION_RUNNING 1;
  46.     const DUPLICATE_REGISTACTION_FORBIDDEN 2;
  47.     /**
  48.      * Constante que define hasta que version de Android esta implementado
  49.      * la unificacion de usuarios para phone order
  50.      */
  51.     const ANDROID_VERSION_UNIFICATION_USERS_PHONE_ORDER '3.4.28';
  52.     /**
  53.      * Constante que define desde que version de Android esta implementado
  54.      * la backup en S3
  55.      */
  56.     const ANDROID_VERSION_HAS_DB_S3_BACKUP '3.4.31';
  57.     /**
  58.      * Constante que define la verificacion de cliente por defecto
  59.      */
  60.     const DEFAULT_CUSTOMER_NOT_CHECKED 0;
  61.     const DEFAULT_CUSTOMER_CHECKED 1;
  62.     /**
  63.      * Constante que define la verificacion de cliente por defecto
  64.      */
  65.     const PAYMENT_GATEWAY_POSLINK 0;
  66.     const PAYMENT_GATEWAY_EPX 1;
  67.     /** Constantes que aplican para Itemized Card Price  */
  68.     const DEFAULT_INACTIVATE_ITEMIZED_OR_CUSTOM 0;
  69.     const DEFAULT_ACTIVATE_ITEMIZED_OR_CUSTOM 1;
  70.     // Constantes para saber el estado de la licencia con respecto a otras, licencias hermanas que comparten la cuenta, campo en comun -> al_owner_status
  71.     const OWNER_STATUS_LOCATION_TYPE 0;
  72.     const OWNER_STATUS_ADDITIONAL_LOCATION 1;
  73.     const OWNER_STATUS_CORPORATE_OWNED 2;
  74.     const OWNER_STATUS_FRANCHISE 3;
  75.     const OWNER_STATUS_MAIN_LOCATION 4;
  76.     // Constantes que indica si la licencia es paga.
  77.     const LICENCE_IS_PAID 1;
  78.     const LICENCE_IS_UNPAID 2;
  79.     const TYPE_PRICE_DISCOUNT_NONE 0;
  80.     const TYPE_PRICE_DISCOUNT_DAILY 1;
  81.     const TYPE_PRICE_DISCOUNT_MONTHLY 2;
  82.     // Constantes para tax exempt
  83.     const TAX_NOT_EXEMPT 0;
  84.     const TAX_EXEMPT 1;
  85.     /**
  86.      * @var integer
  87.      * @ORM\Column(name="al_id", type="integer")
  88.      * @ORM\Id
  89.      * @ORM\GeneratedValue(strategy="IDENTITY")
  90.      */
  91.     private $id;
  92.     /**
  93.      * @var string
  94.      * @ORM\Column(name="al_restaurant_name", type="string", length=100, nullable=false)
  95.      */
  96.     private $alRestaurantName;
  97.     /**
  98.      * @var \DateTime
  99.      * @ORM\Column(name="al_date_created", type="datetime", nullable=false)
  100.      */
  101.     private $alDateCreated;
  102.     /**
  103.      * @var integer
  104.      * @ORM\Column(name="al_license_status", type="integer", nullable=false)
  105.      */
  106.     private $alLicenseStatus;
  107.     /**
  108.      * @var string
  109.      * @ORM\Column(name="al_license_username", type="string", length=50, nullable=true)
  110.      */
  111.     private $alLicenseUsername;
  112.     /**
  113.      * @var string
  114.      * @ORM\Column(name="al_contac_name", type="string", length=50, nullable=true)
  115.      */
  116.     private $alContacName;
  117.     /**
  118.      * @var string
  119.      * @ORM\Column(name="al_license_email", type="string", length=200, nullable=true)
  120.      * @Assert\Email(message = "The email '{{ value }}' is not valid")
  121.      */
  122.     private $alLicenseEmail;
  123.     /**
  124.      * @var string
  125.      * @ORM\Column(name="al_addres", type="string", length=100, nullable=false)
  126.      */
  127.     private $alAddres;
  128.     /**
  129.      * @var string
  130.      * @ORM\Column(name="al_suit_po_box", type="string", length=50, nullable=true)
  131.      */
  132.     private $alSuitPoBox;
  133.     /**
  134.      * @var string
  135.      * @ORM\Column(name="al_longitude", type="decimal", precision=16, scale=10, nullable=true)
  136.      */
  137.     private $alLongitude;
  138.     /**
  139.      * @var string
  140.      * @ORM\Column(name="al_latitude", type="decimal", precision=16, scale=10, nullable=true)
  141.      */
  142.     private $alLatitude;
  143.     /**
  144.      * @var string
  145.      * @ORM\Column(name="al_phone_number", type="string", length=50, nullable=true)
  146.      */
  147.     private $alPhoneNumber;
  148.     /**
  149.      * @var \App\Entity\User
  150.      * @ORM\ManyToOne(targetEntity="App\Entity\User")
  151.      * @ORM\JoinColumns({
  152.      *   @ORM\JoinColumn(name="al_user_creator_id", referencedColumnName="us_id", nullable=true)
  153.      * })
  154.      */
  155.     private $alUserCreator;
  156.     /**
  157.      * @var \App\Entity\Account
  158.      * @ORM\ManyToOne(targetEntity="App\Entity\Account")
  159.      * @ORM\JoinColumns({
  160.      *   @ORM\JoinColumn(name="al_account_license_id", referencedColumnName="ac_id", onDelete="CASCADE")
  161.      * })
  162.      */
  163.     private $alAccountLicense;
  164.     /**
  165.      * @var \App\Entity\Zipcode
  166.      * @ORM\ManyToOne(targetEntity="App\Entity\Zipcode")
  167.      * @ORM\JoinColumns({
  168.      *   @ORM\JoinColumn(name="al_zip_code_id", referencedColumnName="zc_id", nullable=true)
  169.      * })
  170.      */
  171.     private $zipcode;
  172.     /**
  173.      * @var \App\Entity\City
  174.      * @ORM\ManyToOne(targetEntity="App\Entity\City")
  175.      * @ORM\JoinColumns({
  176.      *   @ORM\JoinColumn(name="al_city_id", referencedColumnName="ci_id", nullable=true)
  177.      * })
  178.      */
  179.     private $city;
  180.     /**
  181.      * @var string
  182.      * @ORM\Column(name="al_license_key", type="string", length=255, nullable=true, unique=true)
  183.      */
  184.     private $alLicenseKey;
  185.     /**
  186.      * @var string
  187.      * @ORM\Column(name="al_has_android", type="boolean", nullable=true)
  188.      */
  189.     private $hasAndroid;
  190.     /**
  191.      * @var string
  192.      * @ORM\Column(name="al_android_vname", type="string", length=8, nullable=true)
  193.      */
  194.     private $androidVersionName;
  195.     /**
  196.      * @var string
  197.      * @ORM\Column(name="al_device_uid", type="string", length=500, nullable=true, unique=true)
  198.      */
  199.     private $deviceUid;
  200.     /**
  201.      * @var boolean
  202.      * @ORM\Column(name="al_is_callcenter", type="boolean", nullable=true)
  203.      */
  204.     private $isCallCenter;
  205.     /**
  206.      * @var string
  207.      * @ORM\Column(name="al_pushy_key", type="string", length=48, nullable=true)
  208.      */
  209.     private $pushyKey;
  210.     /**
  211.      * @var string
  212.      * @ORM\Column(name="al_gcm_key", type="string", length=48, nullable=true)
  213.      */
  214.     private $gcmKey;
  215.     /**
  216.      * @var boolean
  217.      * @ORM\Column(name="al_is_testing", type="boolean", nullable=true)
  218.      */
  219.     private $isTesting;
  220.     /**
  221.      * @var boolean
  222.      * @ORM\Column(name="al_is_demo",  type="boolean", options={"default": "0"}, nullable=true)
  223.      */
  224.     private $isDemo 0;
  225.     /**
  226.      * @var string
  227.      * @ORM\Column(name="al_android_ip", type="string", length=16, nullable=true)
  228.      */
  229.     private $androidIP;
  230.     /**
  231.      * @var integer
  232.      * @ORM\Column(name="al_times_checked_ip", type="integer", length=4, nullable=true, options={"default":"0"})
  233.      */
  234.     private $timesCheckedIP;
  235.     /**
  236.      * @var string
  237.      * @ORM\Column(name="al_apk_install_code", type="string", length=64, nullable=true, options={"default":"Standard"})
  238.      */
  239.     private $apkInstallCode;
  240.     /**
  241.      * @var string
  242.      * @ORM\Column(name="al_has_loged_omt", type="boolean", nullable=true)
  243.      */
  244.     private $hasLogedOMT;
  245.     /**
  246.      * @var integer
  247.      * @ORM\Column(name="al_type_test_license", type="integer", length=1, nullable=true)
  248.      */
  249.     private $typeTestLicense;
  250.     /**
  251.      * @var string
  252.      * @ORM\Column(name="auth_seed", type="string", length=64, nullable=true)
  253.      */
  254.     private $authSeed;
  255.     /**
  256.      * @var integer
  257.      * @ORM\Column(name="is_plus_license", type="boolean", nullable=true, options={"default":true})
  258.      */
  259.     private $isPlusLicense true;
  260.     /**
  261.      * @var \DateTime
  262.      * @ORM\Column(name="al_consecutive_android_drying", type="datetime", nullable=true)
  263.      */
  264.     private $lastConsecutiveAndroidDryingDB;
  265.     /**
  266.      * @var \DateTime
  267.      * @ORM\Column(name="al_last_s3_dbupload", type="datetime", nullable=true)
  268.      */
  269.     private $lastDateS3DBUpload;
  270.     /**
  271.      * @var \DateTime
  272.      * @ORM\Column(name="al_last_auto_cleanse_date", type="datetime", nullable=true)
  273.      */
  274.     private $lastDateAutoCleanseMade;
  275.     /**
  276.      * @var \DateTime
  277.      * @ORM\Column(name="al_last_duplicated_invoice_check", type="datetime", nullable=true)
  278.      */
  279.     private $lastDuplicatedInvoiceCheck;
  280.     /**
  281.      * @var \DateTime
  282.      * @ORM\Column(name="al_last_timeclock_out_check", type="datetime", nullable=true)
  283.      */
  284.     private $lastTimeClockOutCheck;
  285.     /**
  286.      * @var \DateTime
  287.      * @ORM\Column(name="al_last_device_expiration_check", type="datetime", nullable=true)
  288.      */
  289.     private $lastDeviceExpirationCheck;
  290.     /**
  291.      * @var boolean
  292.      * @ORM\Column(name="al_zipcodes_are_needed", type="boolean", nullable=true, options={"default":"0"})
  293.      */
  294.     private $needZipcodes false;
  295.     /**
  296.      * @var boolean
  297.      * @ORM\Column(name="has_level_zero", type="boolean", nullable=true, options={"default":false})
  298.      */
  299.     private $hasLevelZero false;
  300.     /**
  301.      * @var string
  302.      * @ORM\Column(name="al_level_zero_percentage", type="decimal", precision=8, scale=4, nullable=true)
  303.      */
  304.     private $levelZeroPercentage;
  305.     
  306.     /**
  307.      * @var boolean
  308.      * @ORM\Column(name="al_has_cash_discount", type="boolean", nullable=true, options={"default":false})
  309.      */
  310.     private $hasCashDiscount false;
  311.     /**
  312.      * @var string
  313.      * @ORM\Column(name="al_cash_discount_percentage", type="decimal", precision=8, scale=4, nullable=true)
  314.      */
  315.     private $cashDiscountPercentage;
  316.     /**
  317.      * @var string
  318.      * @ORM\Column(name="al_level_zero_gateway_percentage", type="decimal", precision=8, scale=4, nullable=true)
  319.      */
  320.     private $levelZeroGatewayPercentage;
  321.     /**
  322.      * @var string
  323.      * @ORM\Column(name="omt_sync", type="guid", nullable=true)
  324.      */
  325.     private $omtSync;
  326.     /**
  327.      * @var integer
  328.      * @ORM\Column(name="al_android_database_size", type="integer", nullable=true)
  329.      */
  330.     private $androidDatabaseSize;
  331.     /**
  332.      * @var integer
  333.      * @ORM\Column(name="al_is_level_light", type="boolean", nullable=true, options={"default":false})
  334.      */
  335.     private $isLevelLight false;
  336.     /**
  337.      * @var array
  338.      * @ORM\Column(name="al_levellight_user", type="json", nullable=true)
  339.      */
  340.     private $levelLightUser;
  341.     /**
  342.      * @var \DateTime
  343.      * @ORM\Column(name="al_last_s3_web_dbupload", type="datetime", nullable=true)
  344.      */
  345.     private $lastDateS3WebDBUpload;
  346.     /**
  347.      * @var array
  348.      * @ORM\Column(name="al_last_logued_device_kind", type="integer", nullable=true, options={"default":"1"})
  349.      */
  350.     private $lastloguedDeviceKind 1;
  351.     /**
  352.      * @var int
  353.      * @ORM\Column(name="al_service_prices_already_run", type="datetime", nullable=true)
  354.      */
  355.     private $servicePricesAlreadyRun;
  356.     /**
  357.      * @var \DateTime
  358.      * @ORM\Column(name="al_nonsynced_brandservice", type="datetime", nullable=true)
  359.      */
  360.     private $nonSyncedBrandAndServiceCheck;
  361.     /**
  362.      * @var integer
  363.      * @ORM\Column(name="al_lastCleanseLeftDays", type="integer", nullable=true)
  364.      */
  365.     private $androidLastCleanseLeftDays;
  366.     /**
  367.      * @var int
  368.      * @ORM\Column(name="al_registaction_already_cleaned", type="datetime", nullable=true)
  369.      */
  370.     private $registActionGarbageAlreadyCleanedDT;
  371.     /**
  372.      * @var \DateTime
  373.      * @ORM\Column(name="al_updated_date", type="datetime", nullable=true)
  374.      */
  375.     private $versionUpdatedDate;
  376.     /**
  377.      * @var \DateTime
  378.      * @ORM\Column(name="al_consecutive_android_drying_second_stage", type="datetime", nullable=true)
  379.      */
  380.     private $lastConsecutiveAndroidDryingDBSecondStage;
  381.     /**
  382.      * @var integer
  383.      * @ORM\Column(name="al_last_login_was_ok", type="boolean", nullable=true, options={"default":"1"})
  384.      */
  385.     private $lastLoginWasOk true;
  386.     /**
  387.      * @var \DateTime
  388.      * @ORM\Column(name="al_last_login_date", type="datetime", nullable=true)
  389.      */
  390.     private $lastLoginDate;
  391.     /**
  392.      * @var \DateTime
  393.      * @ORM\Column(name="al_last_validated_login_date", type="datetime", nullable=true)
  394.      */
  395.     private $lastValidatedLoginDate;
  396.     /**
  397.      * @var \DateTime
  398.      * @ORM\Column(name="al_last_cleaning_of_licensor_database", type="datetime", nullable=true)
  399.      */
  400.     private $lastCleaningOfLicensorDatabase;
  401.     /**
  402.      * @var \DateTime
  403.      * @ORM\Column(name="al_schedule_menu_checked", type="datetime", nullable=true)
  404.      */
  405.     private $scheduleMenuChecked;
  406.     /**
  407.      * @var integer
  408.      * @ORM\Column(name="al_active_zipcodes", type="integer", nullable=true, options={"default":"0"})
  409.      */
  410.     private $activeZipcodes;
  411.     /**
  412.      * @var string
  413.      * @ORM\Column(name="al_time_zone_restaurant", type="string", length=50, nullable=true)
  414.      */
  415.     private $timeZoneRes;
  416.     /**
  417.      * @var \DateTime
  418.      * @ORM\Column(name="al_checked_delete_notify", type="datetime", nullable=true)
  419.      */
  420.     private $checkedDeleteNotify;
  421.     /**
  422.      * @var \DateTime
  423.      * @ORM\Column(name="al_checked_scanned_dir", type="datetime", nullable=true)
  424.      */
  425.     private $checkedScannedDir;
  426.     /**
  427.      * @var string
  428.      * @ORM\Column(name="al_copy_menu_of_restaurant", type="integer", nullable=true)
  429.      */
  430.     private $copyMenuOfRest;
  431.     /**
  432.      * @var integer
  433.      * @ORM\Column(name="al_menu_copy_done", type="integer", nullable=true, options={"default":"0"})
  434.      */
  435.     private $menuCopyDone 0;
  436.     /**
  437.      * @var integer
  438.      * @ORM\Column(name="al_is_franquise", type="integer", nullable=true, options={"default":"0"})
  439.      */
  440.     private $isFranquise 0;
  441.     /**
  442.      * @var integer
  443.      * @ORM\Column(name="al_login_type", type="integer", nullable=true, options={"default":"0"})
  444.      */
  445.     private $loginType 0;
  446.     /**
  447.      * @var string
  448.      * @ORM\Column(name="al_public_address", type="string", length=200, nullable=true)
  449.      */
  450.     private $publicAddress;
  451.     /**
  452.      * @var \DateTime
  453.      * @ORM\Column(name="al_consecutive_record_checked", type="datetime", nullable=true)
  454.      */
  455.     private $badConsecutiveRecordChecked;
  456.     /**
  457.      * @var \DateTime
  458.      * @ORM\Column(name="al_single_menu_sizes_checked", type="datetime", nullable=true)
  459.      */
  460.     private $singleMenuSizesChecked;
  461.     /**
  462.      * @var \DateTime
  463.      * @ORM\Column(name="al_user_property_and_roles_checked", type="datetime", nullable=true)
  464.      */
  465.     private $userPropertyAndRolesChecked;
  466.     /**
  467.      * @var \DateTime
  468.      * @ORM\Column(name="al_sync_record_checked", type="datetime", nullable=true)
  469.      */
  470.     private $syncRecordChecked;
  471.     /**
  472.      * @var Boolean
  473.      * @ORM\Column(name="al_lic_parasite", type="boolean", options={"default":false})
  474.      */
  475.     private $alLicParasite false;
  476.     /**
  477.      * @var boolean
  478.      * @ORM\Column(name="al_licensor_cleanse_checked", type="boolean", nullable=true)
  479.      */
  480.     private $licensorDatabaseCleanseIsRunning;
  481.     /**
  482.      * @var \DateTime
  483.      * @ORM\Column(name="al_last_resync_cleanse_checked", type="datetime", nullable=true)
  484.      */
  485.     private $lastResyncDatabaseCleanse;
  486.     /**
  487.      * @var \DateTime
  488.      * @ORM\Column(name="al_send_allowed_autocleanse", type="datetime", nullable=true)
  489.      */
  490.     private $lastAutoSendBasedInAllowedHoursCleanse;
  491.     /**
  492.      * @var \DateTime
  493.      * @ORM\Column(name="al_date_created_cleaning_configuration", type="datetime", nullable=true)
  494.      */
  495.     private $dateCreatedCleaningConfiguration;
  496.     /**
  497.      * @var \DateTime
  498.      * @ORM\Column(name="al_record_quantity_for_cleaning", type="integer", nullable=true,  options={"default":"0"})
  499.      */
  500.     private $recordQuantityForCleaning 0;
  501.     /**
  502.      * @var \DateTime
  503.      * @ORM\Column(name="al_duplicated_regist_action_checking", type="datetime", nullable=true)
  504.      */
  505.     private $checkForDuplicatedRegistActionRecords;
  506.     /**
  507.      * @var \DateTime
  508.      * @ORM\Column(name="al_duplicated_regist_action_free", type="datetime", nullable=true)
  509.      */
  510.     private $duplicatedRegistActionRecordsFree;
  511.     /**
  512.      * @var boolean
  513.      * @ORM\Column(name="al_duplicated_registaction_check", type="integer", nullable=true, options={"default":"0"})
  514.      */
  515.     private $checkDuplicatedRegistActionsIsRunning 0;
  516.     /**
  517.      * @var boolean
  518.      * @ORM\Column(name="al_last_update_of_database_size", type="datetime", nullable=true)
  519.      */
  520.     private $lastUpdateOfDatabaseSize;
  521.     /**
  522.      * @var \DateTime
  523.      * @ORM\Column(name="al_consecutive_android_drying_third_stage", type="datetime", nullable=true)
  524.      */
  525.     private $lastConsecutiveAndroidDryingDBThirdStage;
  526.     /**
  527.      * @var \DateTime
  528.      * @ORM\Column(name="al_last_quantity_cleanse_update", type="datetime", nullable=true)
  529.      */
  530.     private $lastRegistActionCleanseQuantityUpdated;
  531.     /**
  532.      * @var integer
  533.      * @ORM\Column(name="al_locked_by_infinite_sync", type="integer", options={"default":"0"})
  534.      */
  535.     private $alLockedByInfiniteSync 0;
  536.     /**
  537.      * @var integer
  538.      * @ORM\Column(name="al_number_syncdata_records", type="integer", options={"default":"0"})
  539.      */
  540.     private $numberOfSyncDataRecords 0;
  541.     /**
  542.      * @var integer
  543.      * @ORM\Column(name="conf_status_stock", type="integer", options={"default":"0"})
  544.      */
  545.     private $statusStock 0;
  546.     /**
  547.      * @var integer
  548.      * @ORM\Column(name="default_customer_checked", type="integer", options={"default":"0"})
  549.      */
  550.     private $defaultCustomerChecked 0;
  551.     /**
  552.      * @var integer
  553.      * @ORM\Column(name="no_data_file_flag", type="integer", options={"default":"0"})
  554.      */
  555.     private $noDataFileDetected 0;
  556.     /**
  557.      * @var integer
  558.      * @ORM\Column(name="payment_gateway", type="integer", options={"default":"0"})
  559.      */
  560.     private $paymentGateway 0;
  561.     /**
  562.      * @var \DateTime
  563.      * @ORM\Column(name="time_to_next_epx_batch", type="datetime", nullable=true)
  564.      */
  565.     private $timeToNextEPXBatch;
  566.     /**
  567.      * @var string
  568.      * @ORM\Column(name="aws_push_endpoint", type="string", nullable=true)
  569.      */
  570.     private $awsPushEndPoint;
  571.     /**
  572.      * @var string
  573.      * @ORM\Column(name="aws_topic_arn", type="string", nullable=true)
  574.      */
  575.     private $awsTopicARN;
  576.     /**
  577.      * @var string
  578.      * @ORM\Column(name="aws_subscription_arn", type="string", nullable=true)
  579.      */
  580.     private $awsSubscriptionARN;
  581.     /**
  582.      * @var string
  583.      * @ORM\Column(name="aws_device_token", type="string", nullable=true)
  584.      */
  585.     private $awsDeviceToken;
  586.     /**
  587.      * @var boolean
  588.      * @ORM\Column(name="al_itemized_card_price", type="boolean", nullable=true, options={"default":false})
  589.      */
  590.     private $itemizedCardPrice false;
  591.     /**
  592.      * @var boolean
  593.      * @ORM\Column(name="al_missmatch_invoice_check_running", type="boolean", nullable=true, options={"default":false})
  594.      */
  595.     private $missmatchInvoiceCheckRunning false;
  596.     /**
  597.      * @var \DateTime
  598.      * @ORM\Column(name="mismmatch_invoices_checked_until", type="datetime", nullable=true)
  599.      */
  600.     private $checkedMissMatchInvoicesUntilDateTime;
  601.     /**
  602.      * @var \DateTime
  603.      * @ORM\Column(name="checked_prices_by_levelzero_status_date", type="datetime", nullable=true)
  604.      */
  605.     private $checkedPricesBasedOnLevelZeroChangedStatus;
  606.     /**
  607.      * @var boolean
  608.      * @ORM\Column(name="checked_prices_by_levelzero_status", type="boolean", nullable=true, options={"default":false})
  609.      */
  610.     private $wasCheckedPricesBasedOnLevelZeroChangedStatus false;
  611.     /**
  612.      * @var string
  613.      * @ORM\Column(name="pusher_own_verification_token", type="string", nullable=true)
  614.      */
  615.     private $pusherOwnVerificationToken;
  616.     /**
  617.      * @var boolean
  618.      * @ORM\Column(name="pusher_verified", type="boolean", nullable=true, options={"default":false})
  619.      */
  620.     private $pusherVerified false;
  621.     /**
  622.      * @var integer
  623.      * @ORM\Column(name="ws_resource_id", type="integer", unique=true, nullable=true)
  624.      */
  625.     private $wsResourceId;
  626.     /**
  627.      * @var integer
  628.      * @ORM\Column(name="ws_resource_id_verified", type="integer", nullable=true)
  629.      */
  630.     private $wsResourceIdVerifiedAfterLogin 0;
  631.     /**
  632.      * @var string
  633.      * @ORM\Column(name="cloud_package_name", type="string", nullable=true, options={"default":"com.kijho.level"})
  634.      */
  635.     private $innerWhiteLabelPackageName "com.kijho.level";
  636.     /**
  637.      * @var string
  638.      * @ORM\Column(name="whitelabel_package_name", type="string", nullable=true, options={"default":"kijho-level-data"})
  639.      */
  640.     private $cloudWhiteLabelPackageName "kijho-level-data";
  641.     /**
  642.      * @var boolean
  643.      * @ORM\Column(name="al_nonprocedent_registaction_check", type="integer", nullable=true, options={"default":"0"})
  644.      */
  645.     private $checkNonProcedentRegistActionsIsRunning 0;
  646.     /**
  647.      * @var \DateTime
  648.      * @ORM\Column(name="al_last_nonprocedent_cleanse_update", type="datetime", nullable=true)
  649.      */
  650.     private $lastRegistActionNonProcendetCleanseQuantityUpdated;
  651.     /**
  652.      * @var integer
  653.      * @ORM\Column(name="al_last_cleaned_nonprocedent_registaction", type="integer", options={"default":"0"})
  654.      */
  655.     private $lastQuantityNonProcedentRegistActionsCleaned 0;
  656.     /**
  657.      * @var \DateTime
  658.      * @ORM\Column(name="al_database_update_date", type="datetime", nullable=true)
  659.      */
  660.     private $alDatabaseUpdateDate;
  661.     /**
  662.      * @var string
  663.      * @ORM\Column(name="al_place_id", type="string", nullable=true)
  664.      */
  665.     private $placeId;
  666.     /**
  667.      * @var integer
  668.      * @ORM\Column(name="al_owner_status", type="integer", nullable=false, options={"default":0})
  669.      */
  670.     private $ownerStatus 0;
  671.     /**
  672.      * @var integer
  673.      * @ORM\Column(name="dbugflag_forceinfiniteloop", type="integer", nullable=false, options={"default":0})
  674.      */
  675.     private $dFlagForceInfiniteLoopError 0;
  676.     /**
  677.      * @var integer
  678.      * @ORM\Column(name="fix_needs_one_updaown_sync", type="integer", nullable=false, options={"default":0})
  679.      */
  680.     private $needsOneUpdaownSync 0;
  681.     /**
  682.      * @var boolean
  683.      * @ORM\Column(name="al_captive_portal_status", type="boolean", nullable=false, options={"default":false})
  684.      */
  685.     private $captivePortalStatus false;
  686.     /**
  687.      * @var integer
  688.      * @ORM\Column(name="omada_controller_id", type="string", nullable=true)
  689.      */
  690.     private $omadaControllerId null;
  691.     /**
  692.      * @var integer
  693.      * @ORM\Column(name="operator_name", type="string", nullable=true)
  694.      */
  695.     private $operatorName null;
  696.     /**
  697.      * @var integer
  698.      * @ORM\Column(name="operator_pass", type="string", nullable=true)
  699.      */
  700.     private $operatorPass null;
  701.     /**
  702.      * @var integer
  703.      * @ORM\Column(name="portal_redirection_url", type="string", nullable=true)
  704.      */
  705.     private $redirectionURL null;
  706.     /**
  707.      * @var integer
  708.      * @ORM\Column(name="allowed_navigation_time", type="string", nullable=true)
  709.      */
  710.     private $allowedNavigationTime '3600000';
  711.     /**
  712.      * @var integer
  713.      * @ORM\Column(name="omada_port", type="string", nullable=true)
  714.      */
  715.     private $omadaPort '443';
  716.     /**
  717.     * @var boolean
  718.     * @ORM\Column(name="in_house_delivery_status", type="boolean", nullable=false, options={"default":false})
  719.     */
  720.     private $inHouseDeliveryStatus false;
  721.     /**
  722.      * @var \DateTime
  723.      * @ORM\Column(name="al_date_paid", type="datetime", nullable=true)
  724.      */
  725.     private $datePaid;
  726.     
  727.     /**
  728.      * @var \DateTime
  729.      * @ORM\Column(name="al_date_unpaid", type="datetime", nullable=true)
  730.      */
  731.     private $dateUnpaid;
  732.     /**
  733.      * @var \App\Entity\Company
  734.      * @ORM\ManyToOne(targetEntity="App\Entity\Company")
  735.      * @ORM\JoinColumns({
  736.      *   @ORM\JoinColumn(name="al_company_id", referencedColumnName="co_id", nullable=true)
  737.      * })
  738.      */
  739.     private $alCompanyId;
  740.     /**
  741.      * @var \DateTime
  742.      * @ORM\Column(name="al_last_daterelease", type="datetime", nullable=true)
  743.      */
  744.     private $lastDateRelease;
  745.     /**
  746.      * @var integer
  747.      * @ORM\Column(name="al_giftcard_status", type="integer", nullable=false)
  748.      */
  749.     private $alGiftCardStatus 0;
  750.     /**
  751.      * @var \DateTime
  752.      * @ORM\Column(name="al_has_active_caller_id", type="datetime", nullable=true)
  753.      */
  754.     private $hasActiveCallerId;
  755.     /**
  756.      * @var integer
  757.      * @ORM\Column(name="al_type_price_discount", type="integer", length=2, nullable=true, options={"default":"0"})
  758.      */
  759.     private $typePriceDiscount self::TYPE_PRICE_DISCOUNT_NONE;
  760.     /**
  761.      * @var \DateTime
  762.      * @ORM\Column(name="al_last_execute_stock_command", type="datetime", nullable=true)
  763.      */
  764.     private $lastExecuteStockCommand;
  765.     /**
  766.      * @var boolean
  767.      * @ORM\Column(name="al_tax_exempt", type="integer", nullable=false, options={"default":0})
  768.      */
  769.     private $alTaxExempt 0;
  770.     /**
  771.      * Get the value of lastDateRelease
  772.      *
  773.      * @return  \DateTime
  774.      */ 
  775.     public function getLastDateRelease()
  776.     {
  777.         return $this->lastDateRelease;
  778.     }
  779.     /**
  780.      * Set the value of lastDateRelease
  781.      * @param  \DateTime  $lastDateRelease
  782.      */ 
  783.     public function setLastDateRelease($lastDateRelease)
  784.     {
  785.         $this->lastDateRelease $lastDateRelease;
  786.     }
  787.     /**
  788.      * 
  789.      *
  790.      * @return  string
  791.      */
  792.     public function getOmadaPort()
  793.     {
  794.         return $this->omadaPort;
  795.     }
  796.     /**
  797.      * 
  798.      *
  799.      * @param  int  $omadaPort
  800.      *
  801.      * @return  self
  802.      */
  803.     public function setOmadaPort($omadaPort)
  804.     {
  805.         $this->omadaPort $omadaPort;
  806.         return $this;
  807.     }
  808.     /**
  809.      * Get the value of omadaControllerId
  810.      *
  811.      * @return  string
  812.      */
  813.     public function getOmadaControllerId()
  814.     {
  815.         return $this->omadaControllerId;
  816.     }
  817.     /**
  818.      * Set the value of omadaControllerId
  819.      *
  820.      * @param  string  $omadaControllerId
  821.      *
  822.      * @return  self
  823.      */
  824.     public function setOmadaControllerId($omadaControllerId)
  825.     {
  826.         $this->omadaControllerId $omadaControllerId;
  827.         return $this;
  828.     }
  829.     /**
  830.      * Get the value of operatorName
  831.      *
  832.      * @return  integer
  833.      */
  834.     public function getOperatorName()
  835.     {
  836.         return $this->operatorName;
  837.     }
  838.     /**
  839.      * Set the value of operatorName
  840.      *
  841.      * @param  integer  $operatorName
  842.      *
  843.      * @return  self
  844.      */
  845.     public function setOperatorName($operatorName)
  846.     {
  847.         $this->operatorName $operatorName;
  848.         return $this;
  849.     }
  850.     /**
  851.      * Get the value of operatorPass
  852.      *
  853.      * @return  integer
  854.      */
  855.     public function getOperatorPass()
  856.     {
  857.         return $this->operatorPass;
  858.     }
  859.     /**
  860.      * Set the value of operatorPass
  861.      *
  862.      * @param  integer  $operatorPass
  863.      *
  864.      * @return  self
  865.      */
  866.     public function setOperatorPass($operatorPass)
  867.     {
  868.         $this->operatorPass $operatorPass;
  869.         return $this;
  870.     }
  871.     /**
  872.      * Get the value of redirectionURL
  873.      *
  874.      * @return  integer
  875.      */
  876.     public function getRedirectionURL()
  877.     {
  878.         return $this->redirectionURL;
  879.     }
  880.     /**
  881.      * Set the value of redirectionURL
  882.      *
  883.      * @param  integer  $redirectionURL
  884.      *
  885.      * @return  self
  886.      */
  887.     public function setRedirectionURL($redirectionURL)
  888.     {
  889.         $this->redirectionURL $redirectionURL;
  890.         return $this;
  891.     }
  892.     /**
  893.      * Get the value of allowedNavigationTime
  894.      *
  895.      * @return  integer
  896.      */
  897.     public function getAllowedNavigationTime()
  898.     {
  899.         return $this->allowedNavigationTime;
  900.     }
  901.     /**
  902.      * Set the value of allowedNavigationTime
  903.      *
  904.      * @param  integer  $allowedNavigationTime
  905.      *
  906.      * @return  self
  907.      */
  908.     public function setAllowedNavigationTime($allowedNavigationTime)
  909.     {
  910.         $this->allowedNavigationTime $allowedNavigationTime;
  911.         return $this;
  912.     }
  913.     /**
  914.      * Get the value of dFlagForceInfiniteLoopError
  915.      * @return  integer
  916.      */ 
  917.     public function getNeedsOneUpdaownSync(){
  918.         return $this->needsOneUpdaownSync;
  919.     }
  920.     /**
  921.      * Set the value of needsOneUpdaownSync
  922.      * @param  integer  $needsOneUpdaownSync
  923.      */ 
  924.     public function setNeedsOneUpdaownSync($needsOneUpdaownSync){
  925.         $this->needsOneUpdaownSync $needsOneUpdaownSync;
  926.     }
  927.     /**
  928.      * Get the value of dFlagForceInfiniteLoopError
  929.      * @return  integer
  930.      */ 
  931.     public function getDFlagForceInfiniteLoopError(){
  932.         return $this->dFlagForceInfiniteLoopError;
  933.     }
  934.     /**
  935.      * Set the value of dFlagForceInfiniteLoopError
  936.      * @param  integer  $dFlagForceInfiniteLoopError
  937.      */ 
  938.     public function setDFlagForceInfiniteLoopError($dFlagForceInfiniteLoopError){
  939.         $this->dFlagForceInfiniteLoopError $dFlagForceInfiniteLoopError;
  940.     }
  941.     /**
  942.      * Get the value of awsDeviceToken
  943.      *
  944.      * @return string|null
  945.      */
  946.     public function getAwsDeviceToken()
  947.     {
  948.         return $this->awsDeviceToken;
  949.     }
  950.     /**
  951.      * Set the value of awsDeviceToken
  952.      *
  953.      * @param  string  $awsDeviceToken
  954.      *
  955.      * @return  self
  956.      */
  957.     public function setAwsDeviceToken($awsDeviceToken)
  958.     {
  959.         $this->awsDeviceToken $awsDeviceToken;
  960.         return $this;
  961.     }
  962.     /**
  963.      * Get the value of awsSubscriptionARN
  964.      *
  965.      * @return string|null
  966.      */
  967.     public function getAwsSubscriptionARN()
  968.     {
  969.         return $this->awsSubscriptionARN;
  970.     }
  971.     /**
  972.      * Set the value of awsSubscriptionARN
  973.      *
  974.      * @param  string  $awsSubscriptionARN
  975.      *
  976.      * @return  self
  977.      */
  978.     public function setAwsSubscriptionARN($awsSubscriptionARN)
  979.     {
  980.         $this->awsSubscriptionARN $awsSubscriptionARN;
  981.         return $this;
  982.     }
  983.     /**
  984.      * Get the value of awsTopicARN
  985.      *
  986.      * @return string|null
  987.      */
  988.     public function getAwsTopicARN()
  989.     {
  990.         return $this->awsTopicARN;
  991.     }
  992.     /**
  993.      * Set the value of awsTopicARN
  994.      *
  995.      * @param  string  $awsTopicARN
  996.      *
  997.      * @return  self
  998.      */
  999.     public function setAwsTopicARN($awsTopicARN)
  1000.     {
  1001.         $this->awsTopicARN $awsTopicARN;
  1002.         return $this;
  1003.     }
  1004.     /**
  1005.      * Get the value of awsPushEndPoint
  1006.      *
  1007.      * @return string|null
  1008.      */
  1009.     public function getAwsPushEndPoint()
  1010.     {
  1011.         return $this->awsPushEndPoint;
  1012.     }
  1013.     /**
  1014.      * Set the value of awsPushEndPoint
  1015.      *
  1016.      * @param  string  $awsPushEndPoint
  1017.      *
  1018.      * @return  self
  1019.      */
  1020.     public function setAwsPushEndPoint($awsPushEndPoint)
  1021.     {
  1022.         $this->awsPushEndPoint $awsPushEndPoint;
  1023.         return $this;
  1024.     }
  1025.     /**
  1026.      * Get the value of timeToNextEPXBatch
  1027.      *
  1028.      * @return DateTime|null
  1029.      */
  1030.     public function getTimeToNextEPXBatch()
  1031.     {
  1032.         return $this->timeToNextEPXBatch;
  1033.     }
  1034.     /**
  1035.      * Set the value of timeToNextEPXBatch
  1036.      *
  1037.      * @param  integer  $timeToNextEPXBatch
  1038.      *
  1039.      * @return  self
  1040.      */
  1041.     public function setTimeToNextEPXBatch($timeToNextEPXBatch)
  1042.     {
  1043.         $this->timeToNextEPXBatch $timeToNextEPXBatch;
  1044.         return $this;
  1045.     }
  1046.     /**
  1047.      * Get the value of paymentGateway
  1048.      *
  1049.      * @return  integer
  1050.      */
  1051.     public function getPaymentGateway()
  1052.     {
  1053.         return $this->paymentGateway;
  1054.     }
  1055.     /**
  1056.      * Set the value of paymentGateway
  1057.      *
  1058.      * @param  integer  $paymentGateway
  1059.      *
  1060.      * @return  self
  1061.      */
  1062.     public function setPaymentGateway($paymentGateway)
  1063.     {
  1064.         $this->paymentGateway $paymentGateway;
  1065.         return $this;
  1066.     }
  1067.     /**
  1068.      * Get the value of noDataFileDetected
  1069.      *
  1070.      * @return  integer
  1071.      */
  1072.     public function getNoDataFileDetected()
  1073.     {
  1074.         return $this->noDataFileDetected;
  1075.     }
  1076.     /**
  1077.      * Set the value of noDataFileDetected
  1078.      *
  1079.      * @param  integer  $noDataFileDetected
  1080.      *
  1081.      * @return  self
  1082.      */
  1083.     public function setNoDataFileDetected($noDataFileDetected)
  1084.     {
  1085.         $this->noDataFileDetected $noDataFileDetected;
  1086.         return $this;
  1087.     }
  1088.     /**
  1089.      * Get the value of numberOfSyncDataRecords
  1090.      *
  1091.      * @return  integer
  1092.      */
  1093.     public function getNumberOfSyncDataRecords()
  1094.     {
  1095.         return $this->numberOfSyncDataRecords;
  1096.     }
  1097.     /**
  1098.      * Set the value of numberOfSyncDataRecords
  1099.      *
  1100.      * @param  integer  $numberOfSyncDataRecords
  1101.      *
  1102.      * @return  self
  1103.      */
  1104.     public function setNumberOfSyncDataRecords($numberOfSyncDataRecords)
  1105.     {
  1106.         $this->numberOfSyncDataRecords $numberOfSyncDataRecords;
  1107.         return $this;
  1108.     }
  1109.     /**
  1110.      * @return type
  1111.      */
  1112.     public function getAlLockedByInfiniteSync() {
  1113.         return $this->alLockedByInfiniteSync;
  1114.     }
  1115.     /**
  1116.      * @param type $alInfiniteSync
  1117.      */
  1118.     public function setALLockedByInfiniteSync($alLockedByInfiniteSync) {
  1119.         $this->alLockedByInfiniteSync $alLockedByInfiniteSync;
  1120.     }
  1121.     /**
  1122.      * @return type
  1123.      */
  1124.     public function getLastRegistActionCleanseQuantityUpdated() {
  1125.         return $this->lastRegistActionCleanseQuantityUpdated;
  1126.     }
  1127.     /**
  1128.      * @param \DateTime $lastRegistActionCleanseQuantityUpdated
  1129.      */
  1130.     public function setLastRegistActionCleanseQuantityUpdated(\DateTime $lastRegistActionCleanseQuantityUpdated null) {
  1131.         $this->lastRegistActionCleanseQuantityUpdated $lastRegistActionCleanseQuantityUpdated;
  1132.     }
  1133.     /**
  1134.      * @return \DateTime
  1135.      */
  1136.     public function getLastConsecutiveAndroidDryingDBThirdStage() {
  1137.         return $this->lastConsecutiveAndroidDryingDBThirdStage;
  1138.     }
  1139.     /**
  1140.      * @param \DateTime $lastConsecutiveAndroidDryingDBThirdStage
  1141.      */
  1142.     public function setLastConsecutiveAndroidDryingDBThirdStage(\DateTime $lastConsecutiveAndroidDryingDBThirdStage null) {
  1143.         $this->lastConsecutiveAndroidDryingDBThirdStage $lastConsecutiveAndroidDryingDBThirdStage;
  1144.     }
  1145.     /**
  1146.      * @return type
  1147.      */
  1148.     public function getLastUpdateOfDatabaseSize() {
  1149.         return $this->lastUpdateOfDatabaseSize;
  1150.     }
  1151.     /**
  1152.      * @param type $lastUpdateOfDatabaseSize
  1153.      */
  1154.     public function setLastUpdateOfDatabaseSize($lastUpdateOfDatabaseSize) {
  1155.         $this->lastUpdateOfDatabaseSize $lastUpdateOfDatabaseSize;
  1156.     }
  1157.     /**
  1158.      * @return type
  1159.      */
  1160.     public function getCheckDuplicatedRegistActionsIsRunning() {
  1161.         return $this->checkDuplicatedRegistActionsIsRunning;
  1162.     }
  1163.     /**
  1164.      * @param type $checkDuplicatedRegistActionsIsRunning
  1165.      */
  1166.     public function setCheckDuplicatedRegistActionsIsRunning($checkDuplicatedRegistActionsIsRunning) {
  1167.         $this->checkDuplicatedRegistActionsIsRunning $checkDuplicatedRegistActionsIsRunning;
  1168.     }
  1169.     /**
  1170.      * @return type
  1171.      */
  1172.     public function getDuplicatedRegistActionRecordsFree() {
  1173.         return $this->duplicatedRegistActionRecordsFree;
  1174.     }
  1175.     /**
  1176.      * @param \DateTime $duplicatedRegistActionRecordsFree
  1177.      */
  1178.     public function setDuplicatedRegistActionRecordsFree(\DateTime $duplicatedRegistActionRecordsFree null) {
  1179.         $this->duplicatedRegistActionRecordsFree $duplicatedRegistActionRecordsFree;
  1180.     }
  1181.     /**
  1182.      * @return type
  1183.      */
  1184.     public function getCheckForDuplicatedRegistActionRecords() {
  1185.         return $this->checkForDuplicatedRegistActionRecords;
  1186.     }
  1187.     /**
  1188.      * @param \DateTime $checkForDuplicatedRegistActionRecords
  1189.      */
  1190.     public function setCheckForDuplicatedRegistActionRecords(\DateTime $checkForDuplicatedRegistActionRecords null) {
  1191.         $this->checkForDuplicatedRegistActionRecords $checkForDuplicatedRegistActionRecords;
  1192.     }
  1193.     /**
  1194.      * @return type
  1195.      */
  1196.     public function getRecordQuantityForCleaning() {
  1197.         return $this->recordQuantityForCleaning;
  1198.     }
  1199.     /**
  1200.      * @param \DateTime $recordQuantityForCleaning
  1201.      */
  1202.     public function setRecordQuantityForCleaning($recordQuantityForCleaning) {
  1203.         $this->recordQuantityForCleaning $recordQuantityForCleaning;
  1204.     }
  1205.     /**
  1206.      * @return type
  1207.      */
  1208.     public function getDateCreatedCleaningConfiguration() {
  1209.         return $this->dateCreatedCleaningConfiguration;
  1210.     }
  1211.     /**
  1212.      * @param \DateTime $dateCreatedCleaningConfiguration
  1213.      */
  1214.     public function setDateCreatedCleaningConfiguration(\DateTime $dateCreatedCleaningConfiguration null) {
  1215.         $this->dateCreatedCleaningConfiguration $dateCreatedCleaningConfiguration;
  1216.     }
  1217.     /**
  1218.      * @return type
  1219.      */
  1220.     public function getLastAutoSendBasedInAllowedHoursCleanse() {
  1221.         return $this->lastAutoSendBasedInAllowedHoursCleanse;
  1222.     }
  1223.     /**
  1224.      * @param \DateTime $lastAutoSendBasedInAllowedHoursCleanse
  1225.      */
  1226.     public function setLastAutoSendBasedInAllowedHoursCleanse(\DateTime $lastAutoSendBasedInAllowedHoursCleanse null) {
  1227.         $this->lastAutoSendBasedInAllowedHoursCleanse $lastAutoSendBasedInAllowedHoursCleanse;
  1228.     }
  1229.     /**
  1230.      * @return type
  1231.      */
  1232.     public function getLastResyncDatabaseCleanse() {
  1233.         return $this->lastResyncDatabaseCleanse;
  1234.     }
  1235.     /**
  1236.      * @param type $licensorDatabaseCleanseIsRunning
  1237.      */
  1238.     public function setLastResyncDatabaseCleanse($lastResyncDatabaseCleanse) {
  1239.         $this->lastResyncDatabaseCleanse $lastResyncDatabaseCleanse;
  1240.     }
  1241.     /**
  1242.      * @return type
  1243.      */
  1244.     public function getLicensorDatabaseCleanseIsRunning() {
  1245.         return $this->licensorDatabaseCleanseIsRunning;
  1246.     }
  1247.     /**
  1248.      * @param type $licensorDatabaseCleanseIsRunning
  1249.      */
  1250.     public function setLicensorDatabaseCleanseIsRunning($licensorDatabaseCleanseIsRunning) {
  1251.         $this->licensorDatabaseCleanseIsRunning $licensorDatabaseCleanseIsRunning;
  1252.     }
  1253.     /**
  1254.      * @return type
  1255.      */
  1256.     public function getSyncRecordChecked() {
  1257.         return $this->syncRecordChecked;
  1258.     }
  1259.     /**
  1260.      * @param \DateTime $syncRecordChecked
  1261.      */
  1262.     public function setSyncRecordChecked(\DateTime $syncRecordChecked null) {
  1263.         $this->syncRecordChecked $syncRecordChecked;
  1264.     }
  1265.     /**
  1266.      * @return type
  1267.      */
  1268.     public function getUserPropertyAndRolesChecked() {
  1269.         return $this->userPropertyAndRolesChecked;
  1270.     }
  1271.     /**
  1272.      * @param \DateTime $userPropertyAndRolesChecked
  1273.      */
  1274.     public function setUserPropertyAndRolesChecked(\DateTime $userPropertyAndRolesChecked null) {
  1275.         $this->userPropertyAndRolesChecked $userPropertyAndRolesChecked;
  1276.     }
  1277.     /**
  1278.      * @return Boolean
  1279.      */
  1280.     public function getAlLicParasite() {
  1281.         return $this->alLicParasite;
  1282.     }
  1283.     /**
  1284.      * @param Boolean $alLicParasite
  1285.      */
  1286.     public function setAlLicParasite($alLicParasite) {
  1287.         $this->alLicParasite $alLicParasite;
  1288.     }
  1289.     /**
  1290.      * @return \DateTime
  1291.      */
  1292.     public function getSingleMenuSizesChecked() {
  1293.         return $this->singleMenuSizesChecked;
  1294.     }
  1295.     /**
  1296.      * @param \DateTime $singleMenuSizesChecked
  1297.      */
  1298.     public function setSingleMenuSizesChecked(\DateTime $singleMenuSizesChecked null) {
  1299.         $this->singleMenuSizesChecked $singleMenuSizesChecked;
  1300.     }
  1301.     /**
  1302.      * @return \DateTime
  1303.      */
  1304.     public function getBadConsecutiveRecordChecked() {
  1305.         return $this->badConsecutiveRecordChecked;
  1306.     }
  1307.     /**
  1308.      * @param \DateTime $badConsecutiveRecordChecked
  1309.      */
  1310.     public function setBadConsecutiveRecordChecked(\DateTime $badConsecutiveRecordChecked null) {
  1311.         $this->badConsecutiveRecordChecked $badConsecutiveRecordChecked;
  1312.     }
  1313.     /**
  1314.      * @return type
  1315.      */
  1316.     public function getPublicAddress() {
  1317.         return $this->publicAddress;
  1318.     }
  1319.     /**
  1320.      * @param type $publicAddress
  1321.      */
  1322.     public function setPublicAddress($publicAddress) {
  1323.         $this->publicAddress $publicAddress;
  1324.     }
  1325.     /**
  1326.      * @return integer
  1327.      */
  1328.     public function getLoginType() {
  1329.         return $this->loginType;
  1330.     }
  1331.     /**
  1332.      * @param integer $loginType
  1333.      */
  1334.     public function setLoginType($loginType) {
  1335.         $this->loginType $loginType;
  1336.     }
  1337.     /**
  1338.      * @return integer
  1339.      */
  1340.     public function getIsFranquise() {
  1341.         return $this->isFranquise;
  1342.     }
  1343.     /**
  1344.      * @param integer $isFranquise
  1345.      */
  1346.     public function setIsFranquise($isFranquise) {
  1347.         $this->isFranquise $isFranquise;
  1348.     }
  1349.     /**
  1350.      * @return integer
  1351.      */
  1352.     public function getCopyMenuOfRest() {
  1353.         return $this->copyMenuOfRest;
  1354.     }
  1355.     /**
  1356.      * @param integer $copyMenuOfRest
  1357.      */
  1358.     public function setCopyMenuOfRest($copyMenuOfRest) {
  1359.         $this->copyMenuOfRest $copyMenuOfRest;
  1360.     }
  1361.     /**
  1362.      * @return integer
  1363.      */
  1364.     public function getMenuCopyDone() {
  1365.         return $this->menuCopyDone;
  1366.     }
  1367.     /**
  1368.      * @param integer $menuCopyDone
  1369.      */
  1370.     public function setMenuCopyDone($menuCopyDone) {
  1371.         $this->menuCopyDone $menuCopyDone;
  1372.     }
  1373.     /**
  1374.      * @return \DateTime
  1375.      */
  1376.     public function getCheckedScannedDir(): \DateTime {
  1377.         return $this->checkedScannedDir;
  1378.     }
  1379.     /**
  1380.      * @param \DateTime $checkedScannedDir
  1381.      */
  1382.     public function setCheckedScannedDir(\DateTime $checkedScannedDir null) {
  1383.         $this->checkedScannedDir $checkedScannedDir;
  1384.     }
  1385.     /**
  1386.      * @return \DateTime
  1387.      */
  1388.     public function getCheckedDeleteNotify(): \DateTime {
  1389.         return $this->checkedDeleteNotify;
  1390.     }
  1391.     /**
  1392.      * @param \DateTime $checkedDeleteNotify
  1393.      */
  1394.     public function setCheckedDeleteNotify(\DateTime $checkedDeleteNotify null) {
  1395.         $this->checkedDeleteNotify $checkedDeleteNotify;
  1396.     }
  1397.     /**
  1398.      * @return type $timeZoneRes
  1399.      */
  1400.     public function getTimeZoneRes() {
  1401.         return $this->timeZoneRes;
  1402.     }
  1403.     /**
  1404.      * @param type $timeZoneRes
  1405.      */
  1406.     public function setTimeZoneRes($timeZoneRes) {
  1407.         $this->timeZoneRes $timeZoneRes;
  1408.     }
  1409.     /**
  1410.      * @return integer
  1411.      */
  1412.     public function getActiveZipcodes() {
  1413.         return $this->activeZipcodes;
  1414.     }
  1415.     /**
  1416.      * @param integer $activeZipcodes
  1417.      */
  1418.     public function setActiveZipcodes($activeZipcodes) {
  1419.         $this->activeZipcodes $activeZipcodes;
  1420.     }
  1421.     /**
  1422.      * @return \DateTime
  1423.      */
  1424.     public function getScheduleMenuChecked(): \DateTime {
  1425.         return $this->scheduleMenuChecked;
  1426.     }
  1427.     /**
  1428.      * @param \DateTime $scheduleMenuChecked
  1429.      */
  1430.     public function setScheduleMenuChecked(\DateTime $scheduleMenuChecked null) {
  1431.         $this->scheduleMenuChecked $scheduleMenuChecked;
  1432.     }
  1433.     /**
  1434.      * @return \DateTime
  1435.      */
  1436.     public function getLastCleaningOfLicensorDatabase() {
  1437.         return $this->lastCleaningOfLicensorDatabase;
  1438.     }
  1439.     /**
  1440.      * @param \DateTime $lastCleaningOfLicensorDatabase
  1441.      */
  1442.     public function setLastCleaningOfLicensorDatabase(\DateTime $lastCleaningOfLicensorDatabase null) {
  1443.         $this->lastCleaningOfLicensorDatabase $lastCleaningOfLicensorDatabase;
  1444.     }
  1445.     /**
  1446.      * @return \DateTime
  1447.      */
  1448.     public function getLastLoginDate() {
  1449.         return $this->lastLoginDate;
  1450.     }
  1451.     /**
  1452.      * @return \DateTime
  1453.      */
  1454.     public function getLastValidatedLoginDate(): \DateTime {
  1455.         return $this->lastValidatedLoginDate;
  1456.     }
  1457.     /**
  1458.      * @param \DateTime $lastLoginDate
  1459.      */
  1460.     public function setLastLoginDate(\DateTime $lastLoginDate null) {
  1461.         $this->lastLoginDate $lastLoginDate;
  1462.     }
  1463.     /**
  1464.      * @param \DateTime $lastValidatedLoginDate
  1465.      */
  1466.     public function setLastValidatedLoginDate(\DateTime $lastValidatedLoginDate null) {
  1467.         $this->lastValidatedLoginDate $lastValidatedLoginDate;
  1468.     }
  1469.     /**
  1470.      * @return type
  1471.      */
  1472.     public function getLastLoginWasOk() {
  1473.         return $this->lastLoginWasOk;
  1474.     }
  1475.     /**
  1476.      * @param type $lastLoginWasOk
  1477.      */
  1478.     public function setLastLoginWasOk($lastLoginWasOk) {
  1479.         $this->lastLoginWasOk $lastLoginWasOk;
  1480.     }
  1481.     /**
  1482.      * @return \DateTime
  1483.      */
  1484.     public function getLastConsecutiveAndroidDryingDBSecondStage() {
  1485.         return $this->lastConsecutiveAndroidDryingDBSecondStage;
  1486.     }
  1487.     /**
  1488.      * @param \DateTime $lastConsecutiveAndroidDryingDBSecondStage
  1489.      */
  1490.     public function setLastConsecutiveAndroidDryingDBSecondStage(\DateTime $lastConsecutiveAndroidDryingDBSecondStage null) {
  1491.         $this->lastConsecutiveAndroidDryingDBSecondStage $lastConsecutiveAndroidDryingDBSecondStage;
  1492.     }
  1493.     /**
  1494.      * @return \DateTime
  1495.      */
  1496.     public function getVersionUpdatedDate(): \DateTime {
  1497.         return $this->versionUpdatedDate;
  1498.     }
  1499.     /**
  1500.      * @param \DateTime $versionUpdatedDate
  1501.      */
  1502.     public function setVersionUpdatedDate(\DateTime $versionUpdatedDate null) {
  1503.         $this->versionUpdatedDate $versionUpdatedDate;
  1504.     }
  1505.     /**
  1506.      * @return type
  1507.      */
  1508.     public function getRegistActionGarbageAlreadyCleanedDT() {
  1509.         return $this->registActionGarbageAlreadyCleanedDT;
  1510.     }
  1511.     /**
  1512.      * @param type $registActionGarbageAlreadyCleanedDT
  1513.      */
  1514.     public function setRegistActionGarbageAlreadyCleanedDT(\DateTime $registActionGarbageAlreadyCleanedDT null) {
  1515.         $this->registActionGarbageAlreadyCleanedDT $registActionGarbageAlreadyCleanedDT;
  1516.     }
  1517.     /**
  1518.      * @return type
  1519.      */
  1520.     public function getAndroidLastCleanseLeftDays() {
  1521.         return $this->androidLastCleanseLeftDays;
  1522.     }
  1523.     /**
  1524.      * @param type $androidLastCleanseLeftDays
  1525.      */
  1526.     public function setAndroidLastCleanseLeftDays($androidLastCleanseLeftDays) {
  1527.         $this->androidLastCleanseLeftDays $androidLastCleanseLeftDays;
  1528.     }
  1529.     /**
  1530.      * @return type
  1531.      */
  1532.     public function getNonSyncedBrandAndServiceCheck() {
  1533.         return $this->nonSyncedBrandAndServiceCheck;
  1534.     }
  1535.     /**
  1536.      * @param \DateTime $nonSyncedBrandAndServiceCheck
  1537.      */
  1538.     public function setNonSyncedBrandAndServiceCheck(\DateTime $nonSyncedBrandAndServiceCheck null) {
  1539.         $this->nonSyncedBrandAndServiceCheck $nonSyncedBrandAndServiceCheck;
  1540.     }
  1541.     /**
  1542.      * @return type
  1543.      */
  1544.     public function getServicePricesAlreadyRun() {
  1545.         return $this->servicePricesAlreadyRun;
  1546.     }
  1547.     /**
  1548.      * @param type $servicePricesAlreadyRun
  1549.      */
  1550.     public function setServicePricesAlreadyRun(\DateTime $servicePricesAlreadyRun null) {
  1551.         $this->servicePricesAlreadyRun $servicePricesAlreadyRun;
  1552.     }
  1553.     /**
  1554.      * @return type
  1555.      */
  1556.     public function getLastloguedDeviceKind() {
  1557.         return $this->lastloguedDeviceKind;
  1558.     }
  1559.     /**
  1560.      * @param type $lastloguedDeviceKind
  1561.      */
  1562.     public function setLastloguedDeviceKind($lastloguedDeviceKind) {
  1563.         $this->lastloguedDeviceKind $lastloguedDeviceKind;
  1564.     }
  1565.     /**
  1566.      * @return type
  1567.      */
  1568.     public function getLastDateS3WebDBUpload() {
  1569.         return $this->lastDateS3WebDBUpload;
  1570.     }
  1571.     /**
  1572.      * @param \DateTime $lastDateS3WebDBUpload
  1573.      */
  1574.     public function setLastDateS3WebDBUpload(\DateTime $lastDateS3WebDBUpload null) {
  1575.         $this->lastDateS3WebDBUpload $lastDateS3WebDBUpload;
  1576.     }
  1577.     /**
  1578.      * @return type
  1579.      */
  1580.     public function getLevelLightUser() {
  1581.         return $this->levelLightUser;
  1582.     }
  1583.     /**
  1584.      * @param type $levelLightUser
  1585.      */
  1586.     public function setLevelLightUser($levelLightUser) {
  1587.         $this->levelLightUser $levelLightUser;
  1588.     }
  1589.     /**
  1590.      * @return type
  1591.      */
  1592.     public function getAndroidDatabaseSize() {
  1593.         return $this->androidDatabaseSize;
  1594.     }
  1595.     /**
  1596.      * @return type
  1597.      */
  1598.     public function getIsLevelLight() {
  1599.         return $this->isLevelLight;
  1600.     }
  1601.     /**
  1602.      * @param type $isLevelLight
  1603.      */
  1604.     public function setIsLevelLight($isLevelLight) {
  1605.         $this->isLevelLight $isLevelLight;
  1606.     }
  1607.     /**
  1608.      * @param type $androidDatabaseSize
  1609.      */
  1610.     public function setAndroidDatabaseSize($androidDatabaseSize) {
  1611.         $this->androidDatabaseSize $androidDatabaseSize;
  1612.     }
  1613.     /**
  1614.      * @return type
  1615.      */
  1616.     public function getOmtSync() {
  1617.         return $this->omtSync;
  1618.     }
  1619.     /**
  1620.      * @param type $omtSync
  1621.      */
  1622.     public function setOmtSync($omtSync) {
  1623.         $this->omtSync $omtSync;
  1624.     }
  1625.     /**
  1626.      * @return type
  1627.      */
  1628.     public function getId() {
  1629.         return $this->id;
  1630.     }
  1631.     /**
  1632.      * @return type
  1633.      */
  1634.     public function getLevelZeroGatewayPercentage() {
  1635.         return $this->levelZeroGatewayPercentage;
  1636.     }
  1637.     /**
  1638.      * @param type $levelZeroGatewayPercentage
  1639.      */
  1640.     public function setLevelZeroGatewayPercentage($levelZeroGatewayPercentage) {
  1641.         $this->levelZeroGatewayPercentage $levelZeroGatewayPercentage;
  1642.     }
  1643.     /**
  1644.      * @return type
  1645.      */
  1646.     public function getLevelZeroPercentage() {
  1647.         return $this->levelZeroPercentage;
  1648.     }
  1649.     /**
  1650.      * @param type $levelZeroPercentage
  1651.      */
  1652.     public function setLevelZeroPercentage($levelZeroPercentage) {
  1653.         $this->levelZeroPercentage $levelZeroPercentage;
  1654.     }
  1655.     /**
  1656.      * @return type
  1657.      */
  1658.     public function getHasLevelZero() {
  1659.         return $this->hasLevelZero;
  1660.     }
  1661.     /**
  1662.      * @param type $hasLevelZero
  1663.      */
  1664.     public function setHasLevelZero($hasLevelZero) {
  1665.         $this->hasLevelZero $hasLevelZero;
  1666.     }
  1667.     /**
  1668.      * @return \DateTime
  1669.      */
  1670.     public function getNeedZipcodes() {
  1671.         return $this->needZipcodes;
  1672.     }
  1673.     /**
  1674.      * @param \DateTime $needZipcodes
  1675.      */
  1676.     public function setNeedZipcodes($needZipcodes null) {
  1677.         $this->needZipcodes $needZipcodes;
  1678.     }
  1679.     /**
  1680.      * @return type
  1681.      */
  1682.     public function getLastDeviceExpirationCheck() {
  1683.         return $this->lastDeviceExpirationCheck;
  1684.     }
  1685.     /**
  1686.      * @param \DateTime $lastDeviceExpirationCheck
  1687.      */
  1688.     public function setLastDeviceExpirationCheck(\DateTime $lastDeviceExpirationCheck null) {
  1689.         $this->lastDeviceExpirationCheck $lastDeviceExpirationCheck;
  1690.     }
  1691.     /**
  1692.      * @return type
  1693.      */
  1694.     public function getLastTimeClockOutCheck() {
  1695.         return $this->lastTimeClockOutCheck;
  1696.     }
  1697.     /**
  1698.      * @param \DateTime $lastTimeClockOutCheck
  1699.      */
  1700.     public function setLastTimeClockOutCheck(\DateTime $lastTimeClockOutCheck null) {
  1701.         $this->lastTimeClockOutCheck $lastTimeClockOutCheck;
  1702.     }
  1703.     /**
  1704.      * @return \DateTime
  1705.      */
  1706.     public function getLastDuplicatedInvoiceCheck() {
  1707.         return $this->lastDuplicatedInvoiceCheck;
  1708.     }
  1709.     /**
  1710.      * @param \DateTime $lastDuplicatedInvoiceCheck
  1711.      */
  1712.     function setLastDuplicatedInvoiceCheck(\DateTime $lastDuplicatedInvoiceCheck null) {
  1713.         $this->lastDuplicatedInvoiceCheck $lastDuplicatedInvoiceCheck;
  1714.     }
  1715.     /**
  1716.      * @return \DateTime
  1717.      */
  1718.     public function getLastDateS3DBUpload() {
  1719.         return $this->lastDateS3DBUpload;
  1720.     }
  1721.     /**
  1722.      * @return \DateTime
  1723.      */
  1724.     public function getLastDateAutoCleanseMade() {
  1725.         return $this->lastDateAutoCleanseMade;
  1726.     }
  1727.     /**
  1728.      * @param \DateTime $lastDateAutoCleanseMade
  1729.      */
  1730.     public function setLastDateAutoCleanseMade(\DateTime $lastDateAutoCleanseMade null) {
  1731.         $this->lastDateAutoCleanseMade $lastDateAutoCleanseMade;
  1732.     }
  1733.     /**
  1734.      * @param \DateTime $lastDateS3DBUpload
  1735.      */
  1736.     public function setLastDateS3DBUpload(\DateTime $lastDateS3DBUpload null) {
  1737.         $this->lastDateS3DBUpload $lastDateS3DBUpload;
  1738.     }
  1739.     /**
  1740.      * @return type
  1741.      */
  1742.     public function getAndroidVersionName() {
  1743.         return $this->androidVersionName;
  1744.     }
  1745.     /**
  1746.      * @param type $androidVersionName
  1747.      */
  1748.     public function setAndroidVersionName($androidVersionName) {
  1749.         $this->androidVersionName $androidVersionName;
  1750.     }
  1751.     /**
  1752.      * @return type
  1753.      */
  1754.     public function getAlRestaurantName() {
  1755.         return $this->alRestaurantName;
  1756.     }
  1757.     /**
  1758.      * @return type
  1759.      */
  1760.     public function getAlDateCreated() {
  1761.         return $this->alDateCreated;
  1762.     }
  1763.     /**
  1764.      * @return type
  1765.      */
  1766.     public function getAlLicenseStatus() {
  1767.         return $this->alLicenseStatus;
  1768.     }
  1769.     /**
  1770.      * @return string
  1771.      */
  1772.     public function getAlLicenseUsername() {
  1773.         return $this->alLicenseUsername;
  1774.     }
  1775.     /**
  1776.      * @return type
  1777.      */
  1778.     public function getAlContacName() {
  1779.         return $this->alContacName;
  1780.     }
  1781.     /**
  1782.      * @return type
  1783.      */
  1784.     public function getAlLicenseEmail() {
  1785.         return $this->alLicenseEmail;
  1786.     }
  1787.     /**
  1788.      * @return type
  1789.      */
  1790.     public function getAlAddres() {
  1791.         return $this->alAddres;
  1792.     }
  1793.     /**
  1794.      * @return type
  1795.      */
  1796.     public function getAlSuitPoBox() {
  1797.         return $this->alSuitPoBox;
  1798.     }
  1799.     /**
  1800.      * @return type
  1801.      */
  1802.     public function getAlLongitude() {
  1803.         return $this->alLongitude;
  1804.     }
  1805.     /**
  1806.      * @return type
  1807.      */
  1808.     public function getAlLatitude() {
  1809.         return $this->alLatitude;
  1810.     }
  1811.     /**
  1812.      * @return type
  1813.      */
  1814.     public function getAlPhoneNumber() {
  1815.         return $this->alPhoneNumber;
  1816.     }
  1817.     /**
  1818.      * @return type
  1819.      */
  1820.     public function getAlUserCreator() {
  1821.         return $this->alUserCreator;
  1822.     }
  1823.     /**
  1824.      * @return type
  1825.      */
  1826.     public function getAlAccountLicense() {
  1827.         return $this->alAccountLicense;
  1828.     }
  1829.     /**
  1830.      * @return type
  1831.      */
  1832.     public function getZipcode() {
  1833.         return $this->zipcode;
  1834.     }
  1835.     /**
  1836.      * @return type
  1837.      */
  1838.     public function getCity() {
  1839.         return $this->city;
  1840.     }
  1841.     /**
  1842.      * @return type
  1843.      */
  1844.     public function getAlLicenseKey() {
  1845.         return $this->alLicenseKey;
  1846.     }
  1847.     /**
  1848.      * @return type
  1849.      */
  1850.     public function getGiftCardStatus() {
  1851.         return $this->alGiftCardStatus;
  1852.     }
  1853.     /**
  1854.      * @param type $id
  1855.      */
  1856.     public function setId($id) {
  1857.         $this->id $id;
  1858.     }
  1859.     /**
  1860.      * @param type $alRestaurantName
  1861.      */
  1862.     public function setAlRestaurantName($alRestaurantName) {
  1863.         $this->alRestaurantName $alRestaurantName;
  1864.     }
  1865.     /**
  1866.      * @param \DateTime $alDateCreated
  1867.      */
  1868.     public function setAlDateCreated(\DateTime $alDateCreated null) {
  1869.         $this->alDateCreated $alDateCreated;
  1870.     }
  1871.     /**
  1872.      * @param type $alLicenseStatus
  1873.      */
  1874.     public function setAlLicenseStatus($alLicenseStatus) {
  1875.         $this->alLicenseStatus $alLicenseStatus;
  1876.     }
  1877.     /**
  1878.      * @param type $alLicenseUsername
  1879.      */
  1880.     public function setAlLicenseUsername($alLicenseUsername) {
  1881.         $this->alLicenseUsername $alLicenseUsername;
  1882.     }
  1883.     /**
  1884.      * @param type $alContacName
  1885.      */
  1886.     public function setAlContacName($alContacName) {
  1887.         $this->alContacName $alContacName;
  1888.     }
  1889.     /**
  1890.      * @param type $alLicenseEmail
  1891.      */
  1892.     public function setAlLicenseEmail($alLicenseEmail) {
  1893.         $this->alLicenseEmail $alLicenseEmail;
  1894.     }
  1895.     /**
  1896.      * @param type $alAddres
  1897.      */
  1898.     public function setAlAddres($alAddres) {
  1899.         $this->alAddres $alAddres;
  1900.     }
  1901.     /**
  1902.      * @param type $alSuitPoBox
  1903.      */
  1904.     public function setAlSuitPoBox($alSuitPoBox null) {
  1905.         $this->alSuitPoBox $alSuitPoBox;
  1906.     }
  1907.     /**
  1908.      * @param type $alLongitude
  1909.      */
  1910.     public function setAlLongitude($alLongitude null) {
  1911.         $this->alLongitude $alLongitude;
  1912.     }
  1913.     /**
  1914.      * @param type $alLatitude
  1915.      */
  1916.     public function setAlLatitude($alLatitude null) {
  1917.         $this->alLatitude $alLatitude;
  1918.     }
  1919.     /**
  1920.      * @param type $alPhoneNumber
  1921.      */
  1922.     public function setAlPhoneNumber($alPhoneNumber) {
  1923.         $this->alPhoneNumber $alPhoneNumber;
  1924.     }
  1925.     /**
  1926.      * @param \App\Entity\User $alUserCreator
  1927.      */
  1928.     public function setAlUserCreator(\App\Entity\User $alUserCreator null) {
  1929.         $this->alUserCreator $alUserCreator;
  1930.     }
  1931.     /**
  1932.      * @param \App\Entity\Account $alAccountLicense
  1933.      */
  1934.     public function setAlAccountLicense(\App\Entity\Account $alAccountLicense null) {
  1935.         $this->alAccountLicense $alAccountLicense;
  1936.     }
  1937.     /**
  1938.      * @param \App\Entity\Zipcode $alZipCode
  1939.      */
  1940.     public function setZipcode(\App\Entity\Zipcode $alZipCode null) {
  1941.         $this->zipcode $alZipCode;
  1942.     }
  1943.     /**
  1944.      * @param \App\Entity\City $alCity
  1945.      */
  1946.     public function setCity(\App\Entity\City $alCity null) {
  1947.         $this->city $alCity;
  1948.     }
  1949.     /**
  1950.      * @param type $alLicenseKey
  1951.      */
  1952.     public function setAlLicenseKey($alLicenseKey) {
  1953.         $this->alLicenseKey $alLicenseKey;
  1954.     }
  1955.     /**
  1956.      * @return type
  1957.      */
  1958.     public function getHasAndroid() {
  1959.         return $this->hasAndroid;
  1960.     }
  1961.     /**
  1962.      * @param type $hasAndroid
  1963.      */
  1964.     public function setHasAndroid($hasAndroid) {
  1965.         $this->hasAndroid $hasAndroid;
  1966.     }
  1967.     /**
  1968.      * @return type
  1969.      */
  1970.     public function getDeviceUid() {
  1971.         return $this->deviceUid;
  1972.     }
  1973.     /**
  1974.      * @param type $deviceUid
  1975.      */
  1976.     public function setDeviceUid($deviceUid) {
  1977.         $this->deviceUid $deviceUid;
  1978.     }
  1979.     /**
  1980.      * @return type
  1981.      */
  1982.     public function getIsCallCenter() {
  1983.         return $this->isCallCenter;
  1984.     }
  1985.     /**
  1986.      * @param type $isCallCenter
  1987.      */
  1988.     public function setIsCallCenter($isCallCenter) {
  1989.         $this->isCallCenter $isCallCenter;
  1990.     }
  1991.     /**
  1992.      * @return type
  1993.      */
  1994.     public function getPushyKey() {
  1995.         return $this->pushyKey;
  1996.     }
  1997.     /**
  1998.      * @param type $pushyKey
  1999.      */
  2000.     public function setPushyKey($pushyKey) {
  2001.         $this->pushyKey $pushyKey;
  2002.     }
  2003.     /**
  2004.      * @return type
  2005.      */
  2006.     public function getGcmKey() {
  2007.         return $this->gcmKey;
  2008.     }
  2009.     /**
  2010.      * @param type $gcmKey
  2011.      */
  2012.     public function setGcmKey($gcmKey) {
  2013.         $this->gcmKey $gcmKey;
  2014.     }
  2015.     /**
  2016.      * @return type
  2017.      */
  2018.     public function getIsTesting() {
  2019.         return $this->isTesting;
  2020.     }
  2021.     /**
  2022.      * @param type $isTesting
  2023.      */
  2024.     public function setIsTesting($isTesting) {
  2025.         $this->isTesting $isTesting;
  2026.     }
  2027.     /**
  2028.      * @return type
  2029.      */
  2030.     public function getTimesCheckedIP() {
  2031.         return $this->timesCheckedIP;
  2032.     }
  2033.     /**
  2034.      * @param type $timesCheckedIP
  2035.      */
  2036.     public function setTimesCheckedIP($timesCheckedIP) {
  2037.         $this->timesCheckedIP $timesCheckedIP;
  2038.     }
  2039.     /**
  2040.      * @return type
  2041.      */
  2042.     public function getAndroidIP() {
  2043.         return $this->androidIP;
  2044.     }
  2045.     /**
  2046.      * @param type $androidIP
  2047.      */
  2048.     public function setAndroidIP($androidIP) {
  2049.         $this->androidIP $androidIP;
  2050.     }
  2051.     /**
  2052.      * @return type
  2053.      */
  2054.     public function getApkInstallCode() {
  2055.         return $this->apkInstallCode;
  2056.     }
  2057.     /**
  2058.      * @param type $apkInstallCode
  2059.      */
  2060.     public function setApkInstallCode($apkInstallCode) {
  2061.         $this->apkInstallCode $apkInstallCode;
  2062.     }
  2063.     /**
  2064.      * @return type
  2065.      */
  2066.     public function getHasLogedOMT() {
  2067.         return $this->hasLogedOMT;
  2068.     }
  2069.     /**
  2070.      * @param type $hasLogedOMT
  2071.      */
  2072.     public function setHasLogedOMT($hasLogedOMT) {
  2073.         $this->hasLogedOMT $hasLogedOMT;
  2074.     }
  2075.     /**
  2076.      * @return type
  2077.      */
  2078.     public function getTypeTestLicense() {
  2079.         return $this->typeTestLicense;
  2080.     }
  2081.     /**
  2082.      * @param type $typeTestLicense
  2083.      */
  2084.     public function setTypeTestLicense($typeTestLicense) {
  2085.         $this->typeTestLicense $typeTestLicense;
  2086.     }
  2087.     /**
  2088.      * @return type
  2089.      */
  2090.     public function getAuthSeed() {
  2091.         return $this->authSeed;
  2092.     }
  2093.     /**
  2094.      * @param type $authSeed
  2095.      */
  2096.     public function setAuthSeed($authSeed) {
  2097.         $this->authSeed $authSeed;
  2098.     }
  2099.     /**
  2100.      * @return type
  2101.      */
  2102.     public function getIsPlusLicense() {
  2103.         return $this->isPlusLicense;
  2104.     }
  2105.     /**
  2106.      * @param type $isPlusLicense
  2107.      */
  2108.     public function setIsPlusLicense($isPlusLicense) {
  2109.         $this->isPlusLicense $isPlusLicense;
  2110.     }
  2111.     /**
  2112.      * @return type
  2113.      */
  2114.     public function getLastConsecutiveAndroidDryingDB() {
  2115.         return $this->lastConsecutiveAndroidDryingDB;
  2116.     }
  2117.     /**
  2118.      * @param type $lastConsecutiveAndroidDryingDB
  2119.      */
  2120.     public function setLastConsecutiveAndroidDryingDB(\DateTime $lastConsecutiveAndroidDryingDB null) {
  2121.         $this->lastConsecutiveAndroidDryingDB $lastConsecutiveAndroidDryingDB;
  2122.     }
  2123.     /**
  2124.      * @return type
  2125.      */
  2126.     public function getDefaultCustomerChecked() {
  2127.         return $this->defaultCustomerChecked;
  2128.     }
  2129.     /**
  2130.      * @param type $defaultCustomerChecked
  2131.      */
  2132.     public function setDefaultCustomerChecked($defaultCustomerChecked) {
  2133.         $this->defaultCustomerChecked $defaultCustomerChecked;
  2134.     }
  2135.     /**
  2136.      * @param type $alGiftCardStatus
  2137.      */
  2138.     public function setGiftCardStatus($alGiftCardStatus) {
  2139.         $this->alGiftCardStatus $alGiftCardStatus;
  2140.     }
  2141.     /**
  2142.      * @return string
  2143.      */
  2144.     public function getTextLicenseStatus() {
  2145.         $text '';
  2146.         switch ($this->alLicenseStatus) {
  2147.             case static::LICENSE_STATUS_PENDING$text 'Pendig';
  2148.                 break;
  2149.             case static::LICENSE_STATUS_ACTIVE$text 'Active';
  2150.                 break;
  2151.             case static::LICENSE_STATUS_INACTIVE$text 'Inactive';
  2152.                 break;
  2153.             default:
  2154.                 break;
  2155.         }
  2156.         return $text;
  2157.     }
  2158.     /**
  2159.      * @return type
  2160.      */
  2161.     public function showEverything() {
  2162.         return get_object_vars($this);
  2163.     }
  2164.     /**
  2165.      * @return type
  2166.      */
  2167.     public function __toString() {
  2168.         return $this->alRestaurantName ' (' $this->alLicenseUsername ')';
  2169.     }
  2170.     /**
  2171.      * @return string
  2172.      */
  2173.     public function generateTopicName() {
  2174.         return $this->alLicenseUsername;
  2175.     }
  2176.     /**
  2177.      * Funcion para realizar el filtrado de parametros de busqueda
  2178.      * correspondientes a esta entidad
  2179.      * @author Aealan Z <lrobledo@kijho.com> 29/07/2016
  2180.      * @param type $alias salchichas y mucho mas
  2181.      * @param type $search arreglo con los parametros de busqueda a filtrar
  2182.      * correspondientes a la entidad
  2183.      * @return type un arreglo con un arreglo que contiene los parametros de
  2184.      * busqueda filtrados para una consulta y un string que sera parte del DQL
  2185.      * que realizara la busqueda correspondiente de las entidades en la base
  2186.      * de datos
  2187.      */
  2188.     public static function filterSearchParameters($alias$search$dataSize ""$em null) {
  2189.         $textParameters '';
  2190.         $parameters = [];
  2191.         $join '';
  2192.         if (isset($search ['alContacName']) && $search ['alContacName'] != '') {
  2193.             $textParameters .= " AND " $alias ".alContacName LIKE :alContacName";
  2194.             $parameters ['alContacName'] = "%" $search ['alContacName'] . "%";
  2195.         }
  2196.         if (isset($search ['alLicenseEmail']) && $search ['alLicenseEmail'] != '') {
  2197.             $textParameters .= " AND " $alias ".alLicenseEmail LIKE :alLicenseEmail";
  2198.             $parameters ['alLicenseEmail'] = "%" $search ['alLicenseEmail'] . "%";
  2199.         }
  2200.         if (isset($search ['alRestaurantName']) && $search ['alRestaurantName'] != '') {
  2201.             $textParameters .= " AND " $alias ".alRestaurantName LIKE :alRestaurantName";
  2202.             $parameters ['alRestaurantName'] = "%" $search ['alRestaurantName'] . "%";
  2203.         }
  2204.         if (isset($search ['restaurantName']) && $search ['restaurantName'] != '') {
  2205.             $textParameters .= " AND " $alias ".alRestaurantName LIKE :restaurantName";
  2206.             $parameters ['restaurantName'] = "%" $search ['restaurantName'] . "%";
  2207.         }
  2208.         if (isset($search ['alAccountLicense']) && $search ['alAccountLicense'] != '') {
  2209.             $textParameters .= " AND " $alias ".alAccountLicense = :alAccountLicense";
  2210.             $parameters ['alAccountLicense'] = $search ['alAccountLicense'];
  2211.         }
  2212.         if (isset($search ['alLicenseUsername']) && $search ['alLicenseUsername'] != '') {
  2213.             $textParameters .= " AND " $alias ".alLicenseUsername LIKE :alLicenseUsername";
  2214.             $parameters ['alLicenseUsername'] = "%" $search ['alLicenseUsername'] . "%";
  2215.         }
  2216.         if (isset($search['alUserCreator']) && $search['alUserCreator'] instanceof User && $search['alUserCreator']->getUsType() != User::USER_SUPER_ADMIN && $search['alUserCreator']->getUsType() != User::USER_INTERNAL_SUPPORT) {
  2217.             if ($search['alUserCreator']->getUsType() == User::USER_ADMINISTRATOR) {
  2218.                 // $join .= " LEFT JOIN App\Entity\User U WITH $alias.alUserCreator = U.id ";
  2219.                 $textParameters .= " AND $alias.alCompanyId = :USER_COMPANY ";
  2220.                 $parameters['USER_COMPANY'] = $search['alUserCreator']->getUsCompany()->getId();
  2221.             } else {
  2222.                 $textParameters .= " AND " $alias ".alUserCreator = :USERCREATOR";
  2223.                 $parameters['USERCREATOR'] = $search['alUserCreator']->getId();
  2224.             }
  2225.         }
  2226.         if (isset($search ['deviceUid']) && $search ['deviceUid'] != '') {
  2227.             $textParameters .= " AND " $alias ".deviceUid LIKE :deviceUid";
  2228.             $parameters ['deviceUid'] = "%" $search ['deviceUid'] . "%";
  2229.         }
  2230.         if (isset($search ['apkVersion']) && $search ['apkVersion'] != '') {
  2231.             $textParameters .= " AND " $alias ".androidVersionName LIKE :apkVersion";
  2232.             $parameters ['apkVersion'] = "%" $search ['apkVersion'] . "%";
  2233.         }
  2234.         if (isset($search ['scheduleConfig']) && $search ['scheduleConfig'] != '') {
  2235.             if ($search ['scheduleConfig'] == "1") {
  2236.                 $textParameters .= " AND " $alias ".dateCreatedCleaningConfiguration IS NOT NULL";
  2237.             } else {
  2238.                 $textParameters .= " AND " $alias ".dateCreatedCleaningConfiguration IS NULL";
  2239.             }
  2240.         }
  2241.         if (isset($search['androidLastCleanseLeftDays']) && $search['androidLastCleanseLeftDays'] != '') {
  2242.             $dateNow = new \DateTime('now');
  2243.             if ($search['androidLastCleanseLeftDays'] == 1) {
  2244.                 $textParameters .= " AND " $alias ".lastConsecutiveAndroidDryingDB <= :androidClean"
  2245.                         " AND " $alias ".androidDatabaseSize > " $dataSize;
  2246.                 $parameters ['androidClean'] = $dateNow;
  2247.             } else {
  2248.                 $textParameters .= " AND " $alias ".androidDatabaseSize <= " $dataSize;
  2249.             }
  2250.         }
  2251.         if (isset($search['lastCleanseCallMade']) && $search['lastCleanseCallMade'] != '') {
  2252.             $dateNow = new \DateTime('now');
  2253.             $baselineDate null;
  2254.             $join .= " JOIN App\Entity\ConfigAndroidCleanseDatabasesAllowedHours CCL WITH CCL.license = " $alias ".id ";
  2255.             if ((int) $search['lastCleanseCallMade'] == 0) {
  2256.                 $baselineDate $dateNow->modify('-1 day');
  2257.             } else if ((int) $search['lastCleanseCallMade'] == 1) {
  2258.                 $baselineDate $dateNow->modify('-5 day');
  2259.             }
  2260.             
  2261.             if (!is_null($baselineDate)) {
  2262.                 $textParameters .= " AND CCL.dateNotifyCleanseAndroid > :BASELINEDATE";
  2263.                 $parameters['BASELINEDATE'] = $baselineDate;
  2264.             }
  2265.         }
  2266.         if(isset($search['criticalLicense']) && $search['criticalLicense']){
  2267.             $join .= " JOIN App\Entity\NotificationInLicensorBell NILB WITH NILB.license = " $alias ".id ";
  2268.             $contextDetermCritical = [
  2269.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_SYNC,
  2270.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_UPDATE,
  2271.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_CLEANSE,
  2272.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_PUSH_EXPIRED,
  2273.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_NEW_PUSH,
  2274.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_UPDATE_NEEDED,
  2275.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_DATABASE_CLEANSE_NEEDED,
  2276.                 NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_LAST_SYNC
  2277.             ];
  2278.             if (isset($search['criticalContext']) && $search['criticalContext'] != '') {
  2279.                 $stringContext = (int) $search['criticalContext'];
  2280.                 if ($stringContext === NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_DATABASE_CLEANSE_NEEDED) {
  2281.                     $textParameters .= " AND "$alias .".androidDatabaseSize > 0 ";
  2282.                 }
  2283.                 if ($stringContext === NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_UPDATE_NEEDED) {
  2284.                     $apkVersions $em->getRepository('App\Entity\AccountLicense')->getDistinctVersionsByLicense();
  2285.                     $textParameters .= " AND ("$alias .".isTesting = 0 OR "$alias .".isTesting IS NULL)";
  2286.                     if (!empty($apkVersions)) {
  2287.                         $stringVersions '';
  2288.                         
  2289.                         foreach ($apkVersions as $key => $versions) {
  2290.                             if ($key <= 4) {
  2291.                                 $stringVersions .= "'"$versions['version'] ."',";
  2292.                             }
  2293.                         }
  2294.                         $textParameters .= " AND "$alias .".androidVersionName NOT IN("trim($stringVersions',') .") ";
  2295.                     }
  2296.                 }
  2297.                 
  2298.                 if($stringContext === NotificationInLicensorBell::CONTEXT_NOTIFICATION_ANDROID_LAST_SYNC) {
  2299.                     $dataLastSync $em->getRepository('App\Entity\MasterSync')->getDataSearchOfLastSync();
  2300.                     $join .= " JOIN App\Entity\MasterSync MS WITH MS.msLicense = " $alias ".id ";
  2301.                     if($dataLastSync[0] != '' && $dataLastSync[1] != ''){
  2302.                         $textParameters .= " AND "$alias .".id IN (" $dataLastSync[0] . ") AND MS.id IN (" $dataLastSync[1] . ")";
  2303.                     }else{
  2304.                         $textParameters .= " AND "$alias .".alLicenseStatus = "AccountLicense::LICENSE_STATUS_ACTIVE;
  2305.                     }
  2306.                 }
  2307.             }else{
  2308.                 $stringContext implode(', '$contextDetermCritical);
  2309.             }
  2310.             $textParameters .= " AND NILB.pickedtByValidatingCronDate IS NOT NULL AND NILB.context IN("$stringContext .") AND (NILB.notificationLabel = :WARNINGLABEL OR NILB.notificationLabel = :ERRORLABEL) ";
  2311.             
  2312.             $parameters['WARNINGLABEL'] = NotificationInLicensorBell::NOTIFICATION_TYPE_WARNING;
  2313.             $parameters['ERRORLABEL'] = NotificationInLicensorBell::NOTIFICATION_TYPE_ALERT;
  2314.         }
  2315.         if (isset($search['paymentStatus']) && $search['paymentStatus'] != '') {
  2316.             if ($search['paymentStatus'] == self::LICENCE_IS_PAID) {
  2317.                 $textParameters .= " AND (({$alias}.datePaid IS NOT NULL AND {$alias}.dateUnpaid IS NOT NULL AND {$alias}.datePaid > {$alias}.dateUnpaid) OR ({$alias}.datePaid IS NOT NULL AND {$alias}.dateUnpaid IS NULL))";
  2318.                 
  2319.             } else if ($search['paymentStatus'] == self::LICENCE_IS_UNPAID) {
  2320.                 $textParameters .= " AND (({$alias}.datePaid IS NOT NULL AND {$alias}.dateUnpaid IS NOT NULL AND {$alias}.datePaid < {$alias}.dateUnpaid) OR ({$alias}.datePaid IS NULL))";
  2321.             }
  2322.         }
  2323.         return ['text' => $textParameters'parameters' => $parameters'join' => $join];
  2324.     }
  2325.     /**
  2326.      * Funcion que permite filtrar los parametros de ordenamiento para la
  2327.      * entidad y retornar un DQL para realizar la consulta pertienete en la
  2328.      * base de datos
  2329.      * @author Aealan Z <lrobledo@kijho.com> 29/07/2016
  2330.      * @param type $alias salchichas y mucho mas
  2331.      * @param type $order array que contiene los parametros de ordenamiento
  2332.      * para la entidad
  2333.      * @return string que contiene el DQL con los parametros de ordenamiento
  2334.      * filtrados para esta entidad
  2335.      */
  2336.     public static function filterOrderParameters($alias$order) {
  2337.         $orderBy ' ORDER BY ' $alias '.id DESC';
  2338.         if (isset($order ['order_by_contac_name']) && $order ['order_by_contac_name'] != '') {
  2339.             if ($order ['order_by_contac_name'] % 2) {
  2340.                 $orderBy " ORDER BY " $alias ".alContacName DESC";
  2341.             } else {
  2342.                 $orderBy " ORDER BY " $alias ".alContacName ASC";
  2343.             }
  2344.         } elseif (isset($order ['order_by_license_email']) && $order ['order_by_license_email'] != '') {
  2345.             if ($order ['order_by_license_email'] % 2) {
  2346.                 $orderBy " ORDER BY " $alias ".alLicenseEmail DESC";
  2347.             } else {
  2348.                 $orderBy " ORDER BY " $alias ".alLicenseEmail ASC";
  2349.             }
  2350.         } elseif (isset($order ['order_by_restaurant_name']) && $order ['order_by_restaurant_name'] != '') {
  2351.             if ($order ['order_by_restaurant_name'] % 2) {
  2352.                 $orderBy " ORDER BY " $alias ".alRestaurantName DESC";
  2353.             } else {
  2354.                 $orderBy " ORDER BY " $alias ".alRestaurantName ASC";
  2355.             }
  2356.         } elseif (isset($order ['order_by_nickname']) && $order ['order_by_nickname'] != '') {
  2357.             if ($order ['order_by_nickname'] % 2) {
  2358.                 $orderBy " ORDER BY " $alias ".alLicenseUsername DESC";
  2359.             } else {
  2360.                 $orderBy " ORDER BY " $alias ".alLicenseUsername ASC";
  2361.             }
  2362.         } elseif (isset($order ['order_by_license_created_date']) && $order ['order_by_license_created_date'] != '') {
  2363.             if ($order ['order_by_license_created_date'] % 2) {
  2364.                 $orderBy " ORDER BY " $alias ".alDateCreated DESC";
  2365.             } else {
  2366.                 $orderBy " ORDER BY " $alias ".alDateCreated ASC";
  2367.             }
  2368.         } elseif (isset($order['order_by_license_deactivation_date']) && !empty($order['order_by_license_deactivation_date'])) {
  2369.             $orderBy " ORDER BY ah.changedAt " . ($order['order_by_license_deactivation_date'] % "DESC" "ASC");
  2370.         }
  2371.         return $orderBy;
  2372.     }
  2373.     public function isLicensePaid(){
  2374.         if ($this->datePaid !== null && $this->dateUnpaid !== null) {
  2375.             return $this->datePaid $this->dateUnpaid;
  2376.         } elseif ($this->datePaid !== null && $this->dateUnpaid === null) {
  2377.             return true;
  2378.         } else {
  2379.             return false;
  2380.         }
  2381.     }
  2382.     public function getStatusStock()
  2383.     {
  2384.         return $this->statusStock;
  2385.     }
  2386.     public function setStatusStock($statusStock)
  2387.     {
  2388.         $this->statusStock $statusStock;
  2389.         return $this;
  2390.     }
  2391.     /**
  2392.      * Get the value of itemizedCardPrice
  2393.      */ 
  2394.     public function getItemizedCardPrice(){
  2395.         return $this->itemizedCardPrice;
  2396.     }
  2397.     /**
  2398.      * Set the value of itemizedCardPrice
  2399.      */ 
  2400.     public function setItemizedCardPrice($itemizedCardPrice){
  2401.         $this->itemizedCardPrice $itemizedCardPrice;
  2402.     }
  2403.     /**
  2404.      * Get the value of missmatchInvoiceCheckRunning
  2405.      *
  2406.      * @return  boolean
  2407.      */ 
  2408.     public function getMissmatchInvoiceCheckRunning()
  2409.     {
  2410.         return $this->missmatchInvoiceCheckRunning;
  2411.     }
  2412.     /**
  2413.      * Set the value of missmatchInvoiceCheckRunning
  2414.      *
  2415.      * @param  boolean  $missmatchInvoiceCheckRunning
  2416.      *
  2417.      * @return  self
  2418.      */ 
  2419.     public function setMissmatchInvoiceCheckRunning($missmatchInvoiceCheckRunning)
  2420.     {
  2421.         $this->missmatchInvoiceCheckRunning $missmatchInvoiceCheckRunning;
  2422.         return $this;
  2423.     }
  2424.     /**
  2425.      * Get the value of checkedMissMatchInvoicesUntilDateTime
  2426.      *
  2427.      * @return  \DateTime
  2428.      */ 
  2429.     public function getCheckedMissMatchInvoicesUntilDateTime()
  2430.     {
  2431.         return $this->checkedMissMatchInvoicesUntilDateTime;
  2432.     }
  2433.     /**
  2434.      * Set the value of checkedMissMatchInvoicesUntilDateTime
  2435.      *
  2436.      * @param  \DateTime  $checkedMissMatchInvoicesUntilDateTime
  2437.      *
  2438.      * @return  self
  2439.      */ 
  2440.     public function setCheckedMissMatchInvoicesUntilDateTime(\DateTime $checkedMissMatchInvoicesUntilDateTime null)
  2441.     {
  2442.         $this->checkedMissMatchInvoicesUntilDateTime $checkedMissMatchInvoicesUntilDateTime;
  2443.         return $this;
  2444.     }
  2445.     /**
  2446.      * Get the value of checkedPricesBasedOnLevelZeroChangedStatus
  2447.      *
  2448.      * @return  \DateTime
  2449.      */ 
  2450.     public function getCheckedPricesBasedOnLevelZeroChangedStatus()
  2451.     {
  2452.         return $this->checkedPricesBasedOnLevelZeroChangedStatus;
  2453.     }
  2454.     /**
  2455.      * Set the value of checkedPricesBasedOnLevelZeroChangedStatus
  2456.      *
  2457.      * @param  \DateTime  $checkedPricesBasedOnLevelZeroChangedStatus
  2458.      *
  2459.      * @return  self
  2460.      */ 
  2461.     public function setCheckedPricesBasedOnLevelZeroChangedStatus(\DateTime $checkedPricesBasedOnLevelZeroChangedStatus)
  2462.     {
  2463.         $this->checkedPricesBasedOnLevelZeroChangedStatus $checkedPricesBasedOnLevelZeroChangedStatus;
  2464.         return $this;
  2465.     }
  2466.     /**
  2467.      * Get the value of wasCheckedPricesBasedOnLevelZeroChangedStatus
  2468.      *
  2469.      * @return  boolean
  2470.      */ 
  2471.     public function getWasCheckedPricesBasedOnLevelZeroChangedStatus()
  2472.     {
  2473.         return $this->wasCheckedPricesBasedOnLevelZeroChangedStatus;
  2474.     }
  2475.     /**
  2476.      * Set the value of wasCheckedPricesBasedOnLevelZeroChangedStatus
  2477.      *
  2478.      * @param  boolean  $wasCheckedPricesBasedOnLevelZeroChangedStatus
  2479.      *
  2480.      * @return  self
  2481.      */ 
  2482.     public function setWasCheckedPricesBasedOnLevelZeroChangedStatus($wasCheckedPricesBasedOnLevelZeroChangedStatus)
  2483.     {
  2484.         $this->wasCheckedPricesBasedOnLevelZeroChangedStatus $wasCheckedPricesBasedOnLevelZeroChangedStatus;
  2485.         return $this;
  2486.     }
  2487.     /**
  2488.      * Get the value of pusherOwnVerificationToken
  2489.      *
  2490.      * @return  string
  2491.      */ 
  2492.     public function getPusherOwnVerificationToken()
  2493.     {
  2494.         return $this->pusherOwnVerificationToken;
  2495.     }
  2496.     /**
  2497.      * Set the value of pusherOwnVerificationToken
  2498.      *
  2499.      * @param  string  $pusherOwnVerificationToken
  2500.      *
  2501.      * @return  self
  2502.      */ 
  2503.     public function setPusherOwnVerificationToken(string $pusherOwnVerificationToken)
  2504.     {
  2505.         $this->pusherOwnVerificationToken $pusherOwnVerificationToken;
  2506.         return $this;
  2507.     }
  2508.     /**
  2509.      * Get the value of pusherVerified
  2510.      *
  2511.      * @return  boolean
  2512.      */ 
  2513.     public function getPusherVerified()
  2514.     {
  2515.         return $this->pusherVerified;
  2516.     }
  2517.     /**
  2518.      * Set the value of pusherVerified
  2519.      *
  2520.      * @param  boolean  $pusherVerified
  2521.      *
  2522.      * @return  self
  2523.      */ 
  2524.     public function setPusherVerified($pusherVerified)
  2525.     {
  2526.         $this->pusherVerified $pusherVerified;
  2527.         return $this;
  2528.     }
  2529.     /**
  2530.      * Get the value of wsResourceId
  2531.      */
  2532.     public function getWsResourceId(){
  2533.         return $this->wsResourceId;
  2534.     }
  2535.     /**
  2536.      * Set the value of wsResourceId
  2537.      */
  2538.     public function setWsResourceId($wsResourceId){
  2539.         $this->wsResourceId $wsResourceId;
  2540.     }
  2541.     /**
  2542.      * Get the value of innerWhiteLabelPackageName
  2543.      *
  2544.      * @return  string
  2545.      */ 
  2546.     public function getInnerWhiteLabelPackageName()
  2547.     {
  2548.         return $this->innerWhiteLabelPackageName;
  2549.     }
  2550.     /**
  2551.      * Set the value of innerWhiteLabelPackageName
  2552.      *
  2553.      * @param  string  $innerWhiteLabelPackageName
  2554.      *
  2555.      * @return  self
  2556.      */ 
  2557.     public function setInnerWhiteLabelPackageName(string $innerWhiteLabelPackageName)
  2558.     {
  2559.         $this->innerWhiteLabelPackageName $innerWhiteLabelPackageName;
  2560.         return $this;
  2561.     }
  2562.     /**
  2563.      * Get the value of cloudWhiteLabelPackageName
  2564.      *
  2565.      * @return  string
  2566.      */ 
  2567.     public function getCloudWhiteLabelPackageName()
  2568.     {
  2569.         return $this->cloudWhiteLabelPackageName;
  2570.     }
  2571.     /**
  2572.      * Set the value of cloudWhiteLabelPackageName
  2573.      *
  2574.      * @param  string  $cloudWhiteLabelPackageName
  2575.      *
  2576.      * @return  self
  2577.      */ 
  2578.     public function setCloudWhiteLabelPackageName(string $cloudWhiteLabelPackageName)
  2579.     {
  2580.         $this->cloudWhiteLabelPackageName $cloudWhiteLabelPackageName;
  2581.         return $this;
  2582.     }
  2583.     /**
  2584.      * Get the value of checkNonProcedentRegistActionsIsRunning
  2585.      *
  2586.      * @return  boolean
  2587.      */ 
  2588.     public function getCheckNonProcedentRegistActionsIsRunning()
  2589.     {
  2590.         return $this->checkNonProcedentRegistActionsIsRunning;
  2591.     }
  2592.     /**
  2593.      * Set the value of checkNonProcedentRegistActionsIsRunning
  2594.      *
  2595.      * @param  bool  $checkNonProcedentRegistActionsIsRunning
  2596.      *
  2597.      * @return  self
  2598.      */ 
  2599.     public function setCheckNonProcedentRegistActionsIsRunning($checkNonProcedentRegistActionsIsRunning)
  2600.     {
  2601.         $this->checkNonProcedentRegistActionsIsRunning $checkNonProcedentRegistActionsIsRunning;
  2602.         return $this;
  2603.     }
  2604.     /**
  2605.      * Get the value of lastRegistActionNonProcendetCleanseQuantityUpdated
  2606.      *
  2607.      * @return  \DateTime
  2608.      */ 
  2609.     public function getLastRegistActionNonProcendetCleanseQuantityUpdated()
  2610.     {
  2611.         return $this->lastRegistActionNonProcendetCleanseQuantityUpdated;
  2612.     }
  2613.     /**
  2614.      * Set the value of lastRegistActionNonProcendetCleanseQuantityUpdated
  2615.      *
  2616.      * @param  \DateTime  $lastRegistActionNonProcendetCleanseQuantityUpdated
  2617.      *
  2618.      * @return  self
  2619.      */ 
  2620.     public function setLastRegistActionNonProcendetCleanseQuantityUpdated(\DateTime $lastRegistActionNonProcendetCleanseQuantityUpdated null)
  2621.     {
  2622.         $this->lastRegistActionNonProcendetCleanseQuantityUpdated $lastRegistActionNonProcendetCleanseQuantityUpdated;
  2623.         return $this;
  2624.     }
  2625.     /**
  2626.      * Get the value of lastQuantityNonProcedentRegistActionsCleaned
  2627.      *
  2628.      * @return  integer
  2629.      */ 
  2630.     public function getLastQuantityNonProcedentRegistActionsCleaned()
  2631.     {
  2632.         return $this->lastQuantityNonProcedentRegistActionsCleaned;
  2633.     }
  2634.     /**
  2635.      * Set the value of lastQuantityNonProcedentRegistActionsCleaned
  2636.      *
  2637.      * @param  integer  $lastQuantityNonProcedentRegistActionsCleaned
  2638.      *
  2639.      * @return  self
  2640.      */ 
  2641.     public function setLastQuantityNonProcedentRegistActionsCleaned($lastQuantityNonProcedentRegistActionsCleaned)
  2642.     {
  2643.         $this->lastQuantityNonProcedentRegistActionsCleaned $lastQuantityNonProcedentRegistActionsCleaned;
  2644.         return $this;
  2645.     }
  2646.     /**
  2647.      * Get the value of alDatabaseUpdateDate
  2648.      *
  2649.      * @return  
  2650.      */ 
  2651.     public function getAlDatabaseUpdateDate()
  2652.     {
  2653.         return $this->alDatabaseUpdateDate;
  2654.     }
  2655.     /**
  2656.      * Set the value of alDatabaseUpdateDate
  2657.      *
  2658.      * @param  $alDatabaseUpdateDate
  2659.      *
  2660.      * @return  self
  2661.      */ 
  2662.     public function setAlDatabaseUpdateDate($alDatabaseUpdateDate)
  2663.     {
  2664.         $this->alDatabaseUpdateDate $alDatabaseUpdateDate;
  2665.         return $this;
  2666.     }
  2667.     /**
  2668.      * Get the value of wsResourceIdVerifiedAfterLogin
  2669.      *
  2670.      * @return  integer
  2671.      */ 
  2672.     public function getWsResourceIdVerifiedAfterLogin()
  2673.     {
  2674.         return $this->wsResourceIdVerifiedAfterLogin;
  2675.     }
  2676.     /**
  2677.      * Set the value of wsResourceIdVerifiedAfterLogin
  2678.      *
  2679.      * @param  integer  $wsResourceIdVerifiedAfterLogin
  2680.      *
  2681.      * @return  self
  2682.      */ 
  2683.     public function setWsResourceIdVerifiedAfterLogin($wsResourceIdVerifiedAfterLogin)
  2684.     {
  2685.         $this->wsResourceIdVerifiedAfterLogin $wsResourceIdVerifiedAfterLogin;
  2686.         return $this;
  2687.     }
  2688.     /**
  2689.      * Get the value of placeId
  2690.      */
  2691.     public function getPlaceId(){
  2692.         return $this->placeId;
  2693.     }
  2694.     /**
  2695.      * Set the value of placeId
  2696.      */
  2697.     public function setPlaceId(string $placeId){
  2698.         $this->placeId $placeId;
  2699.     }
  2700.     /**
  2701.      * Get the value of ownerStatus
  2702.      * @return  integer
  2703.      */ 
  2704.     public function getOwnerStatus(){
  2705.         return $this->ownerStatus;
  2706.     }
  2707.     /**
  2708.      * Set the value of ownerStatus
  2709.      * @param  integer  $ownerStatus
  2710.      */ 
  2711.     public function setOwnerStatus($ownerStatus){
  2712.         $this->ownerStatus $ownerStatus;
  2713.     }
  2714.     /**
  2715.      * Get the value of captivePortalStatus
  2716.      */ 
  2717.     public function getCaptivePortalStatus(){
  2718.         return $this->captivePortalStatus;
  2719.     }
  2720.     /**
  2721.      * Set the value of captivePortalStatus
  2722.      */ 
  2723.     public function setCaptivePortalStatus($captivePortalStatus){
  2724.         $this->captivePortalStatus $captivePortalStatus;
  2725.     }
  2726.     /**
  2727.      * Get the value of inHouseDeliveryStatus
  2728.      */ 
  2729.     public function getInHouseDeliveryStatus(){
  2730.         return $this->inHouseDeliveryStatus;
  2731.     }
  2732.     /**
  2733.      * Set the value of inHouseDeliveryStatus
  2734.      */ 
  2735.     public function setInHouseDeliveryStatus($inHouseDeliveryStatus){
  2736.         $this->inHouseDeliveryStatus $inHouseDeliveryStatus;
  2737.     }
  2738.     /**
  2739.      * Get the value of datePaid
  2740.      *
  2741.      * @return  \DateTime
  2742.      */ 
  2743.     public function getDatePaid()
  2744.     {
  2745.         return $this->datePaid;
  2746.     }
  2747.     /**
  2748.      * Set the value of datePaid
  2749.      * @param  \DateTime  $datePaid
  2750.      */ 
  2751.     public function setDatePaid($datePaid)
  2752.     {
  2753.         $this->datePaid $datePaid;
  2754.     }
  2755.     /**
  2756.      * Get the value of dateUnpaid
  2757.      *
  2758.      * @return  \DateTime
  2759.      */ 
  2760.     public function getDateUnpaid()
  2761.     {
  2762.         return $this->dateUnpaid;
  2763.     }
  2764.     /**
  2765.      * Set the value of dateUnpaid
  2766.      * @param  \DateTime  $dateUnpaid
  2767.      */ 
  2768.     public function setDateUnpaid($dateUnpaid)
  2769.     {
  2770.         $this->dateUnpaid $dateUnpaid;
  2771.     }
  2772.     /**
  2773.      * Get the value of isDemo
  2774.      *
  2775.      * @return  boolean
  2776.      */ 
  2777.     public function getIsDemo()
  2778.     {
  2779.         return $this->isDemo;
  2780.     }
  2781.     /**
  2782.      * Set the value of isDemo
  2783.      *
  2784.      * @param  boolean  $isDemo
  2785.      *
  2786.      * @return  self
  2787.      */ 
  2788.     public function setIsDemo($isDemo)
  2789.     {
  2790.         $this->isDemo $isDemo;
  2791.         return $this;
  2792.     }
  2793.     /**
  2794.      * Get the value of hasActiveCallerId
  2795.      *
  2796.      * @return  \DateTime|null
  2797.      */ 
  2798.     public function getHasActiveCallerId()
  2799.     {
  2800.         return $this->hasActiveCallerId;
  2801.     }
  2802.     /**
  2803.      * Set the value of hasActiveCallerId
  2804.      *
  2805.      * @param  \DateTime  $hasActiveCallerId
  2806.      *
  2807.      * @return  self
  2808.      */ 
  2809.     public function setHasActiveCallerId(?\DateTime $hasActiveCallerId null)
  2810.     {
  2811.         $this->hasActiveCallerId $hasActiveCallerId;
  2812.     }
  2813.     /**
  2814.      * Get Company
  2815.      */ 
  2816.     public function getAlCompanyId(){
  2817.         return $this->alCompanyId;
  2818.     }
  2819.     /**
  2820.      * Set Company
  2821.      */ 
  2822.     public function setAlCompanyId($alCompanyId){
  2823.         $this->alCompanyId $alCompanyId;
  2824.     }
  2825.     /**
  2826.      * @return  boolean
  2827.      */ 
  2828.     public function getHasCashDiscount()
  2829.     {
  2830.         return $this->hasCashDiscount;
  2831.     }
  2832.     /**
  2833.      * @param  boolean  $hasCashDiscount
  2834.      */ 
  2835.     public function setHasCashDiscount($hasCashDiscount)
  2836.     {
  2837.         $this->hasCashDiscount $hasCashDiscount;
  2838.     }
  2839.     /**
  2840.      * @return  double
  2841.      */ 
  2842.     public function getCashDiscountPercentage()
  2843.     {
  2844.         return $this->cashDiscountPercentage;
  2845.     }
  2846.     /**
  2847.      * @param  double  $cashDiscountPercentage
  2848.      */ 
  2849.     public function setCashDiscountPercentage($cashDiscountPercentage)
  2850.     {
  2851.         $this->cashDiscountPercentage $cashDiscountPercentage;
  2852.     }
  2853.     /**
  2854.      * @return  integer
  2855.      */ 
  2856.     public function getTypePriceDiscount()
  2857.     {
  2858.         return $this->typePriceDiscount;
  2859.     }
  2860.     /**
  2861.      * @param  integer  $typePriceDiscount
  2862.      */ 
  2863.     public function setTypePriceDiscount($typePriceDiscount)
  2864.     {
  2865.         $this->typePriceDiscount $typePriceDiscount;
  2866.     }
  2867.     /**
  2868.      * Get the value of lastExecuteStockCommand
  2869.      *
  2870.      * @return  \DateTime
  2871.      */ 
  2872.     public function getLastExecuteStockCommand(): ?\DateTime
  2873.     {
  2874.         return $this->lastExecuteStockCommand;
  2875.     }
  2876.     /**
  2877.      * Set the value of lastExecuteStockCommand
  2878.      *
  2879.      * @param  \DateTime  $lastExecuteStockCommand
  2880.      *
  2881.      * @return  self
  2882.      */ 
  2883.     public function setLastExecuteStockCommand(?\DateTime $lastExecuteStockCommand): self
  2884.     {
  2885.         $this->lastExecuteStockCommand $lastExecuteStockCommand;
  2886.         return $this;
  2887.     }
  2888.     /**
  2889.      * Get the value of alTaxExempt
  2890.      *
  2891.      * @return  integer
  2892.      */ 
  2893.     public function getAlTaxExempt()
  2894.     {
  2895.         return $this->alTaxExempt;
  2896.     }
  2897.     /**
  2898.      * Set the value of alTaxExempt
  2899.      *
  2900.      * @param  integer  $alTaxExempt
  2901.      *
  2902.      * @return  self
  2903.      */ 
  2904.     public function setAlTaxExempt(int $alTaxExempt)
  2905.     {
  2906.         $this->alTaxExempt $alTaxExempt;
  2907.         return $this;
  2908.     }
  2909. }