delete setters and getters for DTO models
This commit is contained in:
parent
03faec2fa5
commit
52d53f1194
22 changed files with 88 additions and 1521 deletions
|
@ -26,21 +26,5 @@ class AbstractLoyaltyEvent
|
|||
* @Mapping\Type("integer")
|
||||
* @Mapping\SerializedName("id")
|
||||
*/
|
||||
private $id;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*/
|
||||
public function setId(int $id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public $id;
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("integer")
|
||||
* @Mapping\SerializedName("id")
|
||||
*/
|
||||
private $id;
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* Внешний ID [обычного|корпоративного] клиента
|
||||
|
@ -39,7 +39,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("externalId")
|
||||
*/
|
||||
private $externalId;
|
||||
public $externalId;
|
||||
|
||||
/**
|
||||
* Внешний идентификатор [обычного|корпоративного] клиента в складской системе
|
||||
|
@ -49,7 +49,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("uuid")
|
||||
*/
|
||||
private $uuid;
|
||||
public $uuid;
|
||||
|
||||
/**
|
||||
* Тип клиента (корпоративный или обычный)
|
||||
|
@ -59,7 +59,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("type")
|
||||
*/
|
||||
private $type;
|
||||
public $type;
|
||||
|
||||
/**
|
||||
* Контактное лицо корпоративного клиента является основным
|
||||
|
@ -69,7 +69,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("isMain")
|
||||
*/
|
||||
private $isMain;
|
||||
public $isMain;
|
||||
|
||||
/**
|
||||
* Индикатор подписки на рассылку
|
||||
|
@ -79,7 +79,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("subscribed")
|
||||
*/
|
||||
private $subscribed;
|
||||
public $subscribed;
|
||||
|
||||
/**
|
||||
* Кука Daemon Collector
|
||||
|
@ -89,7 +89,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("browserId")
|
||||
*/
|
||||
private $browserId;
|
||||
public $browserId;
|
||||
|
||||
/**
|
||||
* Является ли клиент контактным лицом корпоративного клиента
|
||||
|
@ -99,7 +99,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("isContact")
|
||||
*/
|
||||
private $isContact;
|
||||
public $isContact;
|
||||
|
||||
/**
|
||||
* Дата создания в системе
|
||||
|
@ -109,7 +109,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @Mapping\SerializedName("createdAt")
|
||||
*/
|
||||
private $createdAt;
|
||||
public $createdAt;
|
||||
|
||||
/**
|
||||
* Имя
|
||||
|
@ -119,7 +119,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("firstName")
|
||||
*/
|
||||
private $firstName;
|
||||
public $firstName;
|
||||
|
||||
/**
|
||||
* Фамилия
|
||||
|
@ -129,7 +129,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("lastName")
|
||||
*/
|
||||
private $lastName;
|
||||
public $lastName;
|
||||
|
||||
/**
|
||||
* Отчество
|
||||
|
@ -139,7 +139,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("patronymic")
|
||||
*/
|
||||
private $patronymic;
|
||||
public $patronymic;
|
||||
|
||||
/**
|
||||
* Адрес электронной почты
|
||||
|
@ -149,7 +149,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("email")
|
||||
*/
|
||||
private $email;
|
||||
public $email;
|
||||
|
||||
/**
|
||||
* Телефоны
|
||||
|
@ -159,7 +159,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\Phone>")
|
||||
* @Mapping\SerializedName("phones")
|
||||
*/
|
||||
private $phones;
|
||||
public $phones;
|
||||
|
||||
/**
|
||||
* Дата рождения
|
||||
|
@ -169,7 +169,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("DateTime<'Y-m-d'>")
|
||||
* @Mapping\SerializedName("birthday")
|
||||
*/
|
||||
private $birthday;
|
||||
public $birthday;
|
||||
|
||||
/**
|
||||
* Пол
|
||||
|
@ -179,7 +179,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("sex")
|
||||
*/
|
||||
private $sex;
|
||||
public $sex;
|
||||
|
||||
/**
|
||||
* ID менеджера, к которому привязан клиент
|
||||
|
@ -189,7 +189,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("integer")
|
||||
* @Mapping\SerializedName("managerId")
|
||||
*/
|
||||
private $managerId;
|
||||
public $managerId;
|
||||
|
||||
/**
|
||||
* Реквизиты
|
||||
|
@ -199,7 +199,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("Intaro\RetailCrm\Model\Api\Contragent")
|
||||
* @Mapping\SerializedName("contragent")
|
||||
*/
|
||||
private $contragent;
|
||||
public $contragent;
|
||||
|
||||
/**
|
||||
* Список пользовательских полей
|
||||
|
@ -209,7 +209,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("array")
|
||||
* @Mapping\SerializedName("customFields")
|
||||
*/
|
||||
private $customFields;
|
||||
public $customFields;
|
||||
|
||||
/**
|
||||
* Магазин, с которого пришел клиент
|
||||
|
@ -219,7 +219,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("site")
|
||||
*/
|
||||
private $site;
|
||||
public $site;
|
||||
|
||||
/**
|
||||
* Наименование
|
||||
|
@ -229,7 +229,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("nickName")
|
||||
*/
|
||||
private $nickName;
|
||||
public $nickName;
|
||||
|
||||
/**
|
||||
* Адрес
|
||||
|
@ -239,7 +239,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("Intaro\RetailCrm\Model\Api\Address")
|
||||
* @Mapping\SerializedName("address")
|
||||
*/
|
||||
private $address;
|
||||
public $address;
|
||||
|
||||
/**
|
||||
* Адреса
|
||||
|
@ -249,7 +249,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\Address>")
|
||||
* @Mapping\SerializedName("addresses")
|
||||
*/
|
||||
private $addresses;
|
||||
public $addresses;
|
||||
|
||||
/**
|
||||
* Основной адрес
|
||||
|
@ -259,7 +259,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("Intaro\RetailCrm\Model\Api\Address")
|
||||
* @Mapping\SerializedName("mainAddress")
|
||||
*/
|
||||
private $mainAddress;
|
||||
public $mainAddress;
|
||||
|
||||
/**
|
||||
* Компании
|
||||
|
@ -269,7 +269,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\Company>")
|
||||
* @Mapping\SerializedName("companies")
|
||||
*/
|
||||
private $companies;
|
||||
public $companies;
|
||||
|
||||
/**
|
||||
* Основная компания
|
||||
|
@ -279,7 +279,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("Intaro\RetailCrm\Model\Api\Company")
|
||||
* @Mapping\SerializedName("mainCompany")
|
||||
*/
|
||||
private $mainCompany;
|
||||
public $mainCompany;
|
||||
|
||||
/**
|
||||
* Контактные лица
|
||||
|
@ -289,7 +289,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\CustomerContact>")
|
||||
* @Mapping\SerializedName("customerContacts")
|
||||
*/
|
||||
private $customerContacts;
|
||||
public $customerContacts;
|
||||
|
||||
/**
|
||||
* Основное контактное лицо
|
||||
|
@ -299,7 +299,7 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("Intaro\RetailCrm\Model\Api\CustomerContact")
|
||||
* @Mapping\SerializedName("mainCustomerContact")
|
||||
*/
|
||||
private $mainCustomerContact;
|
||||
public $mainCustomerContact;
|
||||
|
||||
/**
|
||||
* Персональная скидка
|
||||
|
@ -309,469 +309,5 @@ class Customer extends AbstractApiModel
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("personalDiscount")
|
||||
*/
|
||||
private $personalDiscount;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*/
|
||||
public function setId(int $id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getPersonalDiscount(): float
|
||||
{
|
||||
return $this->personalDiscount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $personalDiscount
|
||||
*/
|
||||
public function setPersonalDiscount(float $personalDiscount): void
|
||||
{
|
||||
$this->personalDiscount = $personalDiscount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\CustomerContact
|
||||
*/
|
||||
public function getMainCustomerContact(): \Intaro\RetailCrm\Model\Api\CustomerContact
|
||||
{
|
||||
return $this->mainCustomerContact;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\CustomerContact $mainCustomerContact
|
||||
*/
|
||||
public function setMainCustomerContact(\Intaro\RetailCrm\Model\Api\CustomerContact $mainCustomerContact): void
|
||||
{
|
||||
$this->mainCustomerContact = $mainCustomerContact;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getCustomerContacts(): array
|
||||
{
|
||||
return $this->customerContacts;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $customerContacts
|
||||
*/
|
||||
public function setCustomerContacts(array $customerContacts): void
|
||||
{
|
||||
$this->customerContacts = $customerContacts;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\Company
|
||||
*/
|
||||
public function getMainCompany(): \Intaro\RetailCrm\Model\Api\Company
|
||||
{
|
||||
return $this->mainCompany;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\Company $mainCompany
|
||||
*/
|
||||
public function setMainCompany(\Intaro\RetailCrm\Model\Api\Company $mainCompany): void
|
||||
{
|
||||
$this->mainCompany = $mainCompany;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getCompanies(): array
|
||||
{
|
||||
return $this->companies;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $companies
|
||||
*/
|
||||
public function setCompanies(array $companies): void
|
||||
{
|
||||
$this->companies = $companies;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\Address
|
||||
*/
|
||||
public function getMainAddress(): \Intaro\RetailCrm\Model\Api\Address
|
||||
{
|
||||
return $this->mainAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\Address $mainAddress
|
||||
*/
|
||||
public function setMainAddress(\Intaro\RetailCrm\Model\Api\Address $mainAddress): void
|
||||
{
|
||||
$this->mainAddress = $mainAddress;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getAddresses(): array
|
||||
{
|
||||
return $this->addresses;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $addresses
|
||||
*/
|
||||
public function setAddresses(array $addresses): void
|
||||
{
|
||||
$this->addresses = $addresses;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\Address
|
||||
*/
|
||||
public function getAddress(): \Intaro\RetailCrm\Model\Api\Address
|
||||
{
|
||||
return $this->address;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\Address $address
|
||||
*/
|
||||
public function setAddress(\Intaro\RetailCrm\Model\Api\Address $address): void
|
||||
{
|
||||
$this->address = $address;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getCustomFields(): array
|
||||
{
|
||||
return $this->customFields;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $customFields
|
||||
*/
|
||||
public function setCustomFields(array $customFields): void
|
||||
{
|
||||
$this->customFields = $customFields;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getNickName(): string
|
||||
{
|
||||
return $this->nickName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $nickName
|
||||
*/
|
||||
public function setNickName(string $nickName): void
|
||||
{
|
||||
$this->nickName = $nickName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSite(): string
|
||||
{
|
||||
return $this->site;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $site
|
||||
*/
|
||||
public function setSite(string $site): void
|
||||
{
|
||||
$this->site = $site;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\Contragent
|
||||
*/
|
||||
public function getContragent(): \Intaro\RetailCrm\Model\Api\Contragent
|
||||
{
|
||||
return $this->contragent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\Contragent $contragent
|
||||
*/
|
||||
public function setContragent(\Intaro\RetailCrm\Model\Api\Contragent $contragent): void
|
||||
{
|
||||
$this->contragent = $contragent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getManagerId(): int
|
||||
{
|
||||
return $this->managerId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $managerId
|
||||
*/
|
||||
public function setManagerId(int $managerId): void
|
||||
{
|
||||
$this->managerId = $managerId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSex(): string
|
||||
{
|
||||
return $this->sex;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $sex
|
||||
*/
|
||||
public function setSex(string $sex): void
|
||||
{
|
||||
$this->sex = $sex;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
*/
|
||||
public function getBirthday(): DateTime
|
||||
{
|
||||
return $this->birthday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \DateTime $birthday
|
||||
*/
|
||||
public function setBirthday(DateTime $birthday): void
|
||||
{
|
||||
$this->birthday = $birthday;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\Phone[]
|
||||
*/
|
||||
public function getPhones(): array
|
||||
{
|
||||
return $this->phones;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\Phone[] $phones
|
||||
*/
|
||||
public function setPhones(array $phones): void
|
||||
{
|
||||
$this->phones = $phones;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getEmail(): string
|
||||
{
|
||||
return $this->email;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $email
|
||||
*/
|
||||
public function setEmail(string $email): void
|
||||
{
|
||||
$this->email = $email;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPatronymic(): string
|
||||
{
|
||||
return $this->patronymic;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $patronymic
|
||||
*/
|
||||
public function setPatronymic(string $patronymic): void
|
||||
{
|
||||
$this->patronymic = $patronymic;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLastName(): string
|
||||
{
|
||||
return $this->lastName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $lastName
|
||||
*/
|
||||
public function setLastName(string $lastName): void
|
||||
{
|
||||
$this->lastName = $lastName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getFirstName(): string
|
||||
{
|
||||
return $this->firstName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $firstName
|
||||
*/
|
||||
public function setFirstName(string $firstName): void
|
||||
{
|
||||
$this->firstName = $firstName;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
*/
|
||||
public function getCreatedAt(): DateTime
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \DateTime $createdAt
|
||||
*/
|
||||
public function setCreatedAt(DateTime $createdAt): void
|
||||
{
|
||||
$this->createdAt = $createdAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isContact(): bool
|
||||
{
|
||||
return $this->isContact;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $isContact
|
||||
*/
|
||||
public function setIsContact(bool $isContact): void
|
||||
{
|
||||
$this->isContact = $isContact;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isBrowserId(): bool
|
||||
{
|
||||
return $this->browserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $browserId
|
||||
*/
|
||||
public function setBrowserId(bool $browserId): void
|
||||
{
|
||||
$this->browserId = $browserId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSubscribed(): bool
|
||||
{
|
||||
return $this->subscribed;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $subscribed
|
||||
*/
|
||||
public function setSubscribed(bool $subscribed): void
|
||||
{
|
||||
$this->subscribed = $subscribed;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isMain(): bool
|
||||
{
|
||||
return $this->isMain;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $isMain
|
||||
*/
|
||||
public function setIsMain(bool $isMain): void
|
||||
{
|
||||
$this->isMain = $isMain;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getType(): string
|
||||
{
|
||||
return $this->type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $type
|
||||
*/
|
||||
public function setType(string $type): void
|
||||
{
|
||||
$this->type = $type;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getUuid(): string
|
||||
{
|
||||
return $this->uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $uuid
|
||||
*/
|
||||
public function setUuid(string $uuid): void
|
||||
{
|
||||
$this->uuid = $uuid;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExternalId(): string
|
||||
{
|
||||
return $this->externalId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $externalId
|
||||
*/
|
||||
public function setExternalId(string $externalId): void
|
||||
{
|
||||
$this->externalId = $externalId;
|
||||
}
|
||||
public $personalDiscount;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("active")
|
||||
*/
|
||||
private $active;
|
||||
public $active;
|
||||
|
||||
/**
|
||||
* Номер телефона
|
||||
|
@ -36,7 +36,7 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("phoneNumber")
|
||||
*/
|
||||
private $phoneNumber;
|
||||
public $phoneNumber;
|
||||
|
||||
/**
|
||||
* Номер карты
|
||||
|
@ -46,7 +46,7 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("cardNumber")
|
||||
*/
|
||||
private $cardNumber;
|
||||
public $cardNumber;
|
||||
|
||||
/**
|
||||
* Id участия в программе лояльности
|
||||
|
@ -56,7 +56,7 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("integer")
|
||||
* @Mapping\SerializedName("id")
|
||||
*/
|
||||
private $id;
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* Количество бонусов
|
||||
|
@ -66,7 +66,7 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("float")
|
||||
* @Mapping\SerializedName("amount")
|
||||
*/
|
||||
private $amount;
|
||||
public $amount;
|
||||
|
||||
/**
|
||||
* Дата создания
|
||||
|
@ -76,7 +76,7 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @Mapping\SerializedName("createdAt")
|
||||
*/
|
||||
private $createdAt;
|
||||
public $createdAt;
|
||||
|
||||
/**
|
||||
* @var \DateTime $activatedAt
|
||||
|
@ -84,7 +84,7 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @Mapping\SerializedName("activatedAt")
|
||||
*/
|
||||
private $activatedAt;
|
||||
public $activatedAt;
|
||||
|
||||
/**
|
||||
* Идентификатор последней смс-верификации
|
||||
|
@ -94,133 +94,5 @@ class LoyaltyAccount
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("lastCheckId")
|
||||
*/
|
||||
private $lastCheckId;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getLastCheckId(): string
|
||||
{
|
||||
return $this->lastCheckId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $lastCheckId
|
||||
*/
|
||||
public function setLastCheckId(string $lastCheckId): void
|
||||
{
|
||||
$this->lastCheckId = $lastCheckId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
*/
|
||||
public function getActivatedAt(): \DateTime
|
||||
{
|
||||
return $this->activatedAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \DateTime $activatedAt
|
||||
*/
|
||||
public function setActivatedAt(\DateTime $activatedAt): void
|
||||
{
|
||||
$this->activatedAt = $activatedAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \DateTime
|
||||
*/
|
||||
public function getCreatedAt(): \DateTime
|
||||
{
|
||||
return $this->createdAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \DateTime $createdAt
|
||||
*/
|
||||
public function setCreatedAt(\DateTime $createdAt): void
|
||||
{
|
||||
$this->createdAt = $createdAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getAmount(): float
|
||||
{
|
||||
return $this->amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $amount
|
||||
*/
|
||||
public function setAmount(float $amount): void
|
||||
{
|
||||
$this->amount = $amount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*/
|
||||
public function setId(int $id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCardNumber(): string
|
||||
{
|
||||
return $this->cardNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $cardNumber
|
||||
*/
|
||||
public function setCardNumber(string $cardNumber): void
|
||||
{
|
||||
$this->cardNumber = $cardNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPhoneNumber(): string
|
||||
{
|
||||
return $this->phoneNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $phoneNumber
|
||||
*/
|
||||
public function setPhoneNumber(string $phoneNumber): void
|
||||
{
|
||||
$this->phoneNumber = $phoneNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isActive(): bool
|
||||
{
|
||||
return $this->active;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $active
|
||||
*/
|
||||
public function setActive(bool $active): void
|
||||
{
|
||||
$this->active = $active;
|
||||
}
|
||||
public $lastCheckId;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ class LoyaltyLevel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("id")
|
||||
*/
|
||||
private $id;
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* Название уровня
|
||||
|
@ -36,37 +36,5 @@ class LoyaltyLevel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("name")
|
||||
*/
|
||||
private $name;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*/
|
||||
public function setId(int $id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getName(): string
|
||||
{
|
||||
return $this->name;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $name
|
||||
*/
|
||||
public function setName(string $name): void
|
||||
{
|
||||
$this->name = $name;
|
||||
}
|
||||
public $name;
|
||||
}
|
||||
|
|
|
@ -29,21 +29,5 @@ class LoyaltyAccountActivateRequest extends AbstractApiModel
|
|||
* @Mapping\Type("integer")
|
||||
* @Mapping\SerializedName("id")
|
||||
*/
|
||||
private $loyaltyId;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getLoyaltyId(): int
|
||||
{
|
||||
return $this->loyaltyId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $loyaltyId
|
||||
*/
|
||||
public function setLoyaltyId(int $loyaltyId): void
|
||||
{
|
||||
$this->loyaltyId = $loyaltyId;
|
||||
}
|
||||
public $loyaltyId;
|
||||
}
|
||||
|
|
|
@ -29,20 +29,4 @@ class LoyaltyAccountCreateRequest extends AbstractApiModel
|
|||
* @Mapping\SerializedName("loyalty_account")
|
||||
*/
|
||||
public $loyaltyAccount;
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedCreateLoyaltyAccount
|
||||
*/
|
||||
public function getLoyaltyAccount(): SerializedCreateLoyaltyAccount
|
||||
{
|
||||
return $this->loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedCreateLoyaltyAccount $loyaltyAccount
|
||||
*/
|
||||
public function setLoyaltyAccount(SerializedCreateLoyaltyAccount $loyaltyAccount): void
|
||||
{
|
||||
$this->loyaltyAccount = $loyaltyAccount;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -28,21 +28,5 @@ class LoyaltyAccountEditRequest extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\LoyaltyAccount")
|
||||
* @Mapping\SerializedName("loyalty_account")
|
||||
*/
|
||||
private $loyaltyAccount;
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
*/
|
||||
public function getLoyaltyAccount(): LoyaltyAccount
|
||||
{
|
||||
return $this->loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\LoyaltyAccount $loyaltyAccount
|
||||
*/
|
||||
public function setLoyaltyAccount(LoyaltyAccount $loyaltyAccount): void
|
||||
{
|
||||
$this->loyaltyAccount = $loyaltyAccount;
|
||||
}
|
||||
public $loyaltyAccount;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ class LoyaltyCalculateRequest extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("site")
|
||||
*/
|
||||
private $site;
|
||||
public $site;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SerializedOrder
|
||||
|
@ -36,38 +36,5 @@ class LoyaltyCalculateRequest extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedOrder")
|
||||
* @Mapping\SerializedName("order")
|
||||
*/
|
||||
private $order;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSite(): string
|
||||
{
|
||||
return $this->site;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $site
|
||||
*/
|
||||
public function setSite(string $site): void
|
||||
{
|
||||
$this->site = $site;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedOrder
|
||||
*/
|
||||
public function getOrder(): SerializedOrder
|
||||
{
|
||||
return $this->order;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedOrder $order
|
||||
*/
|
||||
public function setOrder(SerializedOrder $order): void
|
||||
{
|
||||
$this->order = $order;
|
||||
}
|
||||
public $order;
|
||||
}
|
||||
|
||||
|
|
|
@ -28,21 +28,5 @@ class OrderLoyaltyApplyRequest extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedOrderReference")
|
||||
* @Mapping\SerializedName("order")
|
||||
*/
|
||||
private $order;
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedOrderReference
|
||||
*/
|
||||
public function getOrder(): SerializedOrderReference
|
||||
{
|
||||
return $this->order;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedOrderReference $order
|
||||
*/
|
||||
public function setOrder(SerializedOrderReference $order): void
|
||||
{
|
||||
$this->order = $order;
|
||||
}
|
||||
public $order;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class LoyaltyAccountActivateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("success")
|
||||
*/
|
||||
private $success;
|
||||
public $success;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
|
@ -39,7 +39,7 @@ class LoyaltyAccountActivateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\LoyaltyAccount")
|
||||
* @Mapping\SerializedName("loyalty_account")
|
||||
*/
|
||||
private $loyaltyAccount;
|
||||
public $loyaltyAccount;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SmsVerification
|
||||
|
@ -47,53 +47,5 @@ class LoyaltyAccountActivateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SmsVerification")
|
||||
* @Mapping\SerializedName("verification")
|
||||
*/
|
||||
private $verification;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSuccess(): bool
|
||||
{
|
||||
return $this->success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $success
|
||||
*/
|
||||
public function setSuccess(bool $success): void
|
||||
{
|
||||
$this->success = $success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
*/
|
||||
public function getLoyaltyAccount(): LoyaltyAccount
|
||||
{
|
||||
return $this->loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\LoyaltyAccount $loyaltyAccount
|
||||
*/
|
||||
public function setLoyaltyAccount(LoyaltyAccount $loyaltyAccount): void
|
||||
{
|
||||
$this->loyaltyAccount = $loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SmsVerification
|
||||
*/
|
||||
public function getVerification(): SmsVerification
|
||||
{
|
||||
return $this->verification;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SmsVerification $verification
|
||||
*/
|
||||
public function setVerification(SmsVerification $verification): void
|
||||
{
|
||||
$this->verification = $verification;
|
||||
}
|
||||
public $verification;
|
||||
}
|
||||
|
|
|
@ -29,7 +29,7 @@ class LoyaltyAccountCreateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("success")
|
||||
*/
|
||||
private $success;
|
||||
public $success;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
|
@ -37,7 +37,7 @@ class LoyaltyAccountCreateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\LoyaltyAccount")
|
||||
* @Mapping\SerializedName("loyalty_account")
|
||||
*/
|
||||
private $loyaltyAccount;
|
||||
public $loyaltyAccount;
|
||||
|
||||
/**
|
||||
* @var array $warnings
|
||||
|
@ -45,53 +45,5 @@ class LoyaltyAccountCreateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("array")
|
||||
* @Mapping\SerializedName("warnings")
|
||||
*/
|
||||
private $warnings;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSuccess(): bool
|
||||
{
|
||||
return $this->success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $success
|
||||
*/
|
||||
public function setSuccess(bool $success): void
|
||||
{
|
||||
$this->success = $success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
*/
|
||||
public function getLoyaltyAccount(): LoyaltyAccount
|
||||
{
|
||||
return $this->loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\LoyaltyAccount $loyaltyAccount
|
||||
*/
|
||||
public function setLoyaltyAccount(LoyaltyAccount $loyaltyAccount): void
|
||||
{
|
||||
$this->loyaltyAccount = $loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getWarnings(): array
|
||||
{
|
||||
return $this->warnings;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $warnings
|
||||
*/
|
||||
public function setWarnings(array $warnings): void
|
||||
{
|
||||
$this->warnings = $warnings;
|
||||
}
|
||||
public $warnings;
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ class LoyaltyAccountEditResponse extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("success")
|
||||
*/
|
||||
private $success;
|
||||
public $success;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
|
@ -38,7 +38,7 @@ class LoyaltyAccountEditResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\LoyaltyAccount")
|
||||
* @Mapping\SerializedName("loyalty_account")
|
||||
*/
|
||||
private $loyaltyAccount;
|
||||
public $loyaltyAccount;
|
||||
|
||||
/**
|
||||
* @var array $warnings
|
||||
|
@ -46,53 +46,5 @@ class LoyaltyAccountEditResponse extends AbstractApiModel
|
|||
* @Mapping\Type("array")
|
||||
* @Mapping\SerializedName("warnings")
|
||||
*/
|
||||
private $warnings;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSuccess(): bool
|
||||
{
|
||||
return $this->success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $success
|
||||
*/
|
||||
public function setSuccess(bool $success): void
|
||||
{
|
||||
$this->success = $success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
*/
|
||||
public function getLoyaltyAccount(): LoyaltyAccount
|
||||
{
|
||||
return $this->loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\LoyaltyAccount $loyaltyAccount
|
||||
*/
|
||||
public function setLoyaltyAccount(LoyaltyAccount $loyaltyAccount): void
|
||||
{
|
||||
$this->loyaltyAccount = $loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getWarnings(): array
|
||||
{
|
||||
return $this->warnings;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $warnings
|
||||
*/
|
||||
public function setWarnings(array $warnings): void
|
||||
{
|
||||
$this->warnings = $warnings;
|
||||
}
|
||||
public $warnings;
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ class LoyaltyCalculateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("success")
|
||||
*/
|
||||
private $success;
|
||||
public $success;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder
|
||||
|
@ -38,7 +38,7 @@ class LoyaltyCalculateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder")
|
||||
* @Mapping\SerializedName("order")
|
||||
*/
|
||||
private $order;
|
||||
public $order;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\CalculateMaximum
|
||||
|
@ -46,7 +46,7 @@ class LoyaltyCalculateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\CalculateMaximum")
|
||||
* @Mapping\SerializedName("maximum")
|
||||
*/
|
||||
private $maximum;
|
||||
public $maximum;
|
||||
|
||||
/**
|
||||
* Позиция в заказе
|
||||
|
@ -56,69 +56,5 @@ class LoyaltyCalculateResponse extends AbstractApiModel
|
|||
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\LoyaltyCalculation>")
|
||||
* @Mapping\SerializedName("calculations")
|
||||
*/
|
||||
private $calculations;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSuccess(): bool
|
||||
{
|
||||
return $this->success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $success
|
||||
*/
|
||||
public function setSuccess(bool $success): void
|
||||
{
|
||||
$this->success = $success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder
|
||||
*/
|
||||
public function getOrder(): SerializedLoyaltyOrder
|
||||
{
|
||||
return $this->order;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder $order
|
||||
*/
|
||||
public function setOrder(SerializedLoyaltyOrder $order): void
|
||||
{
|
||||
$this->order = $order;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\CalculateMaximum
|
||||
*/
|
||||
public function getMaximum(): CalculateMaximum
|
||||
{
|
||||
return $this->maximum;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\CalculateMaximum $maximum
|
||||
*/
|
||||
public function setMaximum(CalculateMaximum $maximum): void
|
||||
{
|
||||
$this->maximum = $maximum;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getCalculations(): array
|
||||
{
|
||||
return $this->calculations;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $calculations
|
||||
*/
|
||||
public function setCalculations(array $calculations): void
|
||||
{
|
||||
$this->calculations = $calculations;
|
||||
}
|
||||
public $calculations;
|
||||
}
|
||||
|
|
|
@ -31,7 +31,7 @@ class OrderLoyaltyApplyResponse extends AbstractApiModel
|
|||
* @Mapping\Type("boolean")
|
||||
* @Mapping\SerializedName("success")
|
||||
*/
|
||||
private $success;
|
||||
public $success;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder
|
||||
|
@ -39,7 +39,7 @@ class OrderLoyaltyApplyResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder")
|
||||
* @Mapping\SerializedName("order")
|
||||
*/
|
||||
private $order;
|
||||
public $order;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SmsVerification
|
||||
|
@ -47,53 +47,5 @@ class OrderLoyaltyApplyResponse extends AbstractApiModel
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder")
|
||||
* @Mapping\SerializedName("verification")
|
||||
*/
|
||||
private $verification;
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
public function isSuccess(): bool
|
||||
{
|
||||
return $this->success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param bool $success
|
||||
*/
|
||||
public function setSuccess(bool $success): void
|
||||
{
|
||||
$this->success = $success;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder
|
||||
*/
|
||||
public function getOrder(): SerializedLoyaltyOrder
|
||||
{
|
||||
return $this->order;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedLoyaltyOrder $order
|
||||
*/
|
||||
public function setOrder(SerializedLoyaltyOrder $order): void
|
||||
{
|
||||
$this->order = $order;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SmsVerification
|
||||
*/
|
||||
public function getVerification(): SmsVerification
|
||||
{
|
||||
return $this->verification;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SmsVerification $verification
|
||||
*/
|
||||
public function setVerification(SmsVerification $verification): void
|
||||
{
|
||||
$this->verification = $verification;
|
||||
}
|
||||
public $verification;
|
||||
}
|
||||
|
|
|
@ -57,68 +57,4 @@ class SerializedCreateLoyaltyAccount
|
|||
* @Mapping\SerializedName("customerId")
|
||||
*/
|
||||
public $customerId;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPhoneNumber(): string
|
||||
{
|
||||
return $this->phoneNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $phoneNumber
|
||||
*/
|
||||
public function setPhoneNumber(string $phoneNumber): void
|
||||
{
|
||||
$this->phoneNumber = $phoneNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getCardNumber(): string
|
||||
{
|
||||
return $this->cardNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $cardNumber
|
||||
*/
|
||||
public function setCardNumber(string $cardNumber): void
|
||||
{
|
||||
$this->cardNumber = $cardNumber;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getLoyaltyId(): int
|
||||
{
|
||||
return $this->loyaltyId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $loyaltyId
|
||||
*/
|
||||
public function setLoyaltyId(int $loyaltyId): void
|
||||
{
|
||||
$this->loyaltyId = $loyaltyId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getCustomerId(): int
|
||||
{
|
||||
return $this->customerId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $customerId
|
||||
*/
|
||||
public function setCustomerId(int $customerId): void
|
||||
{
|
||||
$this->customerId = $customerId;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -27,7 +27,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("bonusesCreditTotal")
|
||||
*/
|
||||
private $bonusesCreditTotal;
|
||||
public $bonusesCreditTotal;
|
||||
|
||||
/**
|
||||
* Количество списанных бонусов
|
||||
|
@ -37,7 +37,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("bonusesChargeTotal")
|
||||
*/
|
||||
private $bonusesChargeTotal;
|
||||
public $bonusesChargeTotal;
|
||||
|
||||
/**
|
||||
* Общая сумма с учетом скидки
|
||||
|
@ -47,7 +47,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("totalSumm")
|
||||
*/
|
||||
private $totalSumm;
|
||||
public $totalSumm;
|
||||
|
||||
/**
|
||||
* Персональная скидка на заказ
|
||||
|
@ -57,7 +57,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("personalDiscountPercent")
|
||||
*/
|
||||
private $personalDiscountPercent;
|
||||
public $personalDiscountPercent;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
|
@ -65,7 +65,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\LoyaltyAccount")
|
||||
* @Mapping\SerializedName("loyaltyAccount")
|
||||
*/
|
||||
private $loyaltyAccount;
|
||||
public $loyaltyAccount;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\LoyaltyLevel
|
||||
|
@ -73,7 +73,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\LoyaltyLevel")
|
||||
* @Mapping\SerializedName("loyaltyLevel")
|
||||
*/
|
||||
private $loyaltyLevel;
|
||||
public $loyaltyLevel;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\AbstractLoyaltyEvent
|
||||
|
@ -81,7 +81,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\AbstractLoyaltyEvent")
|
||||
* @Mapping\SerializedName("loyaltyEvent")
|
||||
*/
|
||||
private $loyaltyEvent;
|
||||
public $loyaltyEvent;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\Customer
|
||||
|
@ -89,7 +89,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\Customer")
|
||||
* @Mapping\SerializedName("customer")
|
||||
*/
|
||||
private $customer;
|
||||
public $customer;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery
|
||||
|
@ -97,7 +97,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedOrderDelivery")
|
||||
* @Mapping\SerializedName("delivery")
|
||||
*/
|
||||
private $delivery;
|
||||
public $delivery;
|
||||
|
||||
/**
|
||||
* Магазин
|
||||
|
@ -107,7 +107,7 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("site")
|
||||
*/
|
||||
private $site;
|
||||
public $site;
|
||||
|
||||
/**
|
||||
* Позиция в заказе
|
||||
|
@ -117,181 +117,5 @@ class SerializedLoyaltyOrder
|
|||
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\OrderProduct>")
|
||||
* @Mapping\SerializedName("items")
|
||||
*/
|
||||
private $items;
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getBonusesCreditTotal(): float
|
||||
{
|
||||
return $this->bonusesCreditTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $bonusesCreditTotal
|
||||
*/
|
||||
public function setBonusesCreditTotal(float $bonusesCreditTotal): void
|
||||
{
|
||||
$this->bonusesCreditTotal = $bonusesCreditTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getBonusesChargeTotal(): float
|
||||
{
|
||||
return $this->bonusesChargeTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $bonusesChargeTotal
|
||||
*/
|
||||
public function setBonusesChargeTotal(float $bonusesChargeTotal): void
|
||||
{
|
||||
$this->bonusesChargeTotal = $bonusesChargeTotal;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getTotalSumm(): float
|
||||
{
|
||||
return $this->totalSumm;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $totalSumm
|
||||
*/
|
||||
public function setTotalSumm(float $totalSumm): void
|
||||
{
|
||||
$this->totalSumm = $totalSumm;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getPersonalDiscountPercent(): float
|
||||
{
|
||||
return $this->personalDiscountPercent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $personalDiscountPercent
|
||||
*/
|
||||
public function setPersonalDiscountPercent(float $personalDiscountPercent): void
|
||||
{
|
||||
$this->personalDiscountPercent = $personalDiscountPercent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
*/
|
||||
public function getLoyaltyAccount(): \Intaro\RetailCrm\Model\Api\LoyaltyAccount
|
||||
{
|
||||
return $this->loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\LoyaltyAccount $loyaltyAccount
|
||||
*/
|
||||
public function setLoyaltyAccount(\Intaro\RetailCrm\Model\Api\LoyaltyAccount $loyaltyAccount): void
|
||||
{
|
||||
$this->loyaltyAccount = $loyaltyAccount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\LoyaltyLevel
|
||||
*/
|
||||
public function getLoyaltyLevel(): \Intaro\RetailCrm\Model\Api\LoyaltyLevel
|
||||
{
|
||||
return $this->loyaltyLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\LoyaltyLevel $loyaltyLevel
|
||||
*/
|
||||
public function setLoyaltyLevel(\Intaro\RetailCrm\Model\Api\LoyaltyLevel $loyaltyLevel): void
|
||||
{
|
||||
$this->loyaltyLevel = $loyaltyLevel;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\AbstractLoyaltyEvent
|
||||
*/
|
||||
public function getLoyaltyEvent(): \Intaro\RetailCrm\Model\Api\AbstractLoyaltyEvent
|
||||
{
|
||||
return $this->loyaltyEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\AbstractLoyaltyEvent $loyaltyEvent
|
||||
*/
|
||||
public function setLoyaltyEvent(\Intaro\RetailCrm\Model\Api\AbstractLoyaltyEvent $loyaltyEvent): void
|
||||
{
|
||||
$this->loyaltyEvent = $loyaltyEvent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\Customer
|
||||
*/
|
||||
public function getCustomer(): \Intaro\RetailCrm\Model\Api\Customer
|
||||
{
|
||||
return $this->customer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\Customer $customer
|
||||
*/
|
||||
public function setCustomer(\Intaro\RetailCrm\Model\Api\Customer $customer): void
|
||||
{
|
||||
$this->customer = $customer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery
|
||||
*/
|
||||
public function getDelivery(): \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery
|
||||
{
|
||||
return $this->delivery;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery $delivery
|
||||
*/
|
||||
public function setDelivery(\Intaro\RetailCrm\Model\Api\SerializedOrderDelivery $delivery): void
|
||||
{
|
||||
$this->delivery = $delivery;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getItems(): array
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $items
|
||||
*/
|
||||
public function setItems(array $items): void
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSite(): string
|
||||
{
|
||||
return $this->site;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $site
|
||||
*/
|
||||
public function setSite(string $site): void
|
||||
{
|
||||
$this->site = $site;
|
||||
}
|
||||
public $items;
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@ class SerializedOrder
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("discountManualAmount")
|
||||
*/
|
||||
private $discountManualAmount;
|
||||
public $discountManualAmount;
|
||||
|
||||
/**
|
||||
* Процентная скидка на весь заказ. Система округляет это значение до 2 знаков после запятой
|
||||
|
@ -36,7 +36,7 @@ class SerializedOrder
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("discountManualPercent")
|
||||
*/
|
||||
private $discountManualPercent;
|
||||
public $discountManualPercent;
|
||||
|
||||
/**
|
||||
* Клиент
|
||||
|
@ -46,7 +46,7 @@ class SerializedOrder
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedRelationCustomer")
|
||||
* @Mapping\SerializedName("customer")
|
||||
*/
|
||||
private $customer;
|
||||
public $customer;
|
||||
|
||||
/**
|
||||
* @var array $items
|
||||
|
@ -54,7 +54,7 @@ class SerializedOrder
|
|||
* @Mapping\Type("array<Intaro\RetailCrm\Model\Api\SerializedOrderProduct>")
|
||||
* @Mapping\SerializedName("items")
|
||||
*/
|
||||
private $items;
|
||||
public $items;
|
||||
|
||||
/**
|
||||
* @var \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery
|
||||
|
@ -62,85 +62,5 @@ class SerializedOrder
|
|||
* @Mapping\Type("\Intaro\RetailCrm\Model\Api\SerializedOrderDelivery")
|
||||
* @Mapping\SerializedName("delivery")
|
||||
*/
|
||||
private $delivery;
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery
|
||||
*/
|
||||
public function getDelivery(): \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery
|
||||
{
|
||||
return $this->delivery;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedOrderDelivery $delivery
|
||||
*/
|
||||
public function setDelivery(\Intaro\RetailCrm\Model\Api\SerializedOrderDelivery $delivery): void
|
||||
{
|
||||
$this->delivery = $delivery;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return array
|
||||
*/
|
||||
public function getItems(): array
|
||||
{
|
||||
return $this->items;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param array $items
|
||||
*/
|
||||
public function setItems(array $items): void
|
||||
{
|
||||
$this->items = $items;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return \Intaro\RetailCrm\Model\Api\SerializedRelationCustomer
|
||||
*/
|
||||
public function getCustomer(): \Intaro\RetailCrm\Model\Api\SerializedRelationCustomer
|
||||
{
|
||||
return $this->customer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \Intaro\RetailCrm\Model\Api\SerializedRelationCustomer $customer
|
||||
*/
|
||||
public function setCustomer(\Intaro\RetailCrm\Model\Api\SerializedRelationCustomer $customer): void
|
||||
{
|
||||
$this->customer = $customer;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getDiscountManualPercent(): float
|
||||
{
|
||||
return $this->discountManualPercent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $discountManualPercent
|
||||
*/
|
||||
public function setDiscountManualPercent(float $discountManualPercent): void
|
||||
{
|
||||
$this->discountManualPercent = $discountManualPercent;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getDiscountManualAmount(): float
|
||||
{
|
||||
return $this->discountManualAmount;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $discountManualAmount
|
||||
*/
|
||||
public function setDiscountManualAmount(float $discountManualAmount): void
|
||||
{
|
||||
$this->discountManualAmount = $discountManualAmount;
|
||||
}
|
||||
public $delivery;
|
||||
}
|
||||
|
|
|
@ -26,21 +26,5 @@ class SerializedOrderDelivery
|
|||
* @Mapping\Type("double")
|
||||
* @Mapping\SerializedName("cost")
|
||||
*/
|
||||
private $cost;
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getCost(): float
|
||||
{
|
||||
return $this->cost;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $cost
|
||||
*/
|
||||
public function setCost(float $cost): void
|
||||
{
|
||||
$this->cost = $cost;
|
||||
}
|
||||
public $cost;
|
||||
}
|
||||
|
|
|
@ -24,7 +24,7 @@ class SerializedOrderReference
|
|||
* @Mapping\Type("integer")
|
||||
* @Mapping\SerializedName("id")
|
||||
*/
|
||||
private $id;
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* @var float $bonuses
|
||||
|
@ -32,37 +32,5 @@ class SerializedOrderReference
|
|||
* @Mapping\Type("float")
|
||||
* @Mapping\SerializedName("bonuses")
|
||||
*/
|
||||
private $bonuses;
|
||||
|
||||
/**
|
||||
* @return float
|
||||
*/
|
||||
public function getBonuses(): float
|
||||
{
|
||||
return $this->bonuses;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param float $bonuses
|
||||
*/
|
||||
public function setBonuses(float $bonuses): void
|
||||
{
|
||||
$this->bonuses = $bonuses;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*/
|
||||
public function setId(int $id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
public $bonuses;
|
||||
}
|
|
@ -26,7 +26,7 @@ class SerializedRelationCustomer
|
|||
* @Mapping\Type("integer")
|
||||
* @Mapping\SerializedName("id")
|
||||
*/
|
||||
private $id;
|
||||
public $id;
|
||||
|
||||
/**
|
||||
* Процентная скидка на весь заказ. Система округляет это значение до 2 знаков после запятой
|
||||
|
@ -36,37 +36,5 @@ class SerializedRelationCustomer
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("externalId")
|
||||
*/
|
||||
private $externalId;
|
||||
|
||||
/**
|
||||
* @return int
|
||||
*/
|
||||
public function getId(): int
|
||||
{
|
||||
return $this->id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param int $id
|
||||
*/
|
||||
public function setId(int $id): void
|
||||
{
|
||||
$this->id = $id;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getExternalId(): string
|
||||
{
|
||||
return $this->externalId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $externalId
|
||||
*/
|
||||
public function setExternalId(string $externalId): void
|
||||
{
|
||||
$this->externalId = $externalId;
|
||||
}
|
||||
public $externalId;
|
||||
}
|
||||
|
|
|
@ -28,7 +28,7 @@ class SmsVerification extends AbstractApiModel
|
|||
* @Mapping\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @Mapping\SerializedName("createdAt")
|
||||
*/
|
||||
private $createdAt;
|
||||
public $createdAt;
|
||||
|
||||
/**
|
||||
* Дата окончания срока жизни. (Y-m-d H:i:s)
|
||||
|
@ -38,7 +38,7 @@ class SmsVerification extends AbstractApiModel
|
|||
* @Mapping\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @Mapping\SerializedName("expiredAt")
|
||||
*/
|
||||
private $expiredAt;
|
||||
public $expiredAt;
|
||||
|
||||
/**
|
||||
* Дата успешной верификации. (Y-m-d H:i:s)
|
||||
|
@ -48,7 +48,7 @@ class SmsVerification extends AbstractApiModel
|
|||
* @Mapping\Type("DateTime<'Y-m-d H:i:s'>")
|
||||
* @Mapping\SerializedName("verifiedAt")
|
||||
*/
|
||||
private $verifiedAt;
|
||||
public $verifiedAt;
|
||||
|
||||
/**
|
||||
* Идентификатор для проверки кода
|
||||
|
@ -58,7 +58,7 @@ class SmsVerification extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("checkId")
|
||||
*/
|
||||
private $checkId;
|
||||
public $checkId;
|
||||
|
||||
/**
|
||||
* Тип действия
|
||||
|
@ -68,45 +68,5 @@ class SmsVerification extends AbstractApiModel
|
|||
* @Mapping\Type("string")
|
||||
* @Mapping\SerializedName("actionType")
|
||||
*/
|
||||
private $actionType;
|
||||
|
||||
/**
|
||||
* @param \DateTime $createdAt
|
||||
*/
|
||||
public function setCreatedAt(DateTime $createdAt): void
|
||||
{
|
||||
$this->createdAt = $createdAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $actionType
|
||||
*/
|
||||
public function setActionType(string $actionType): void
|
||||
{
|
||||
$this->actionType = $actionType;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $checkId
|
||||
*/
|
||||
public function setCheckId(string $checkId): void
|
||||
{
|
||||
$this->checkId = $checkId;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \DateTime $verifiedAt
|
||||
*/
|
||||
public function setVerifiedAt(DateTime $verifiedAt): void
|
||||
{
|
||||
$this->verifiedAt = $verifiedAt;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param \DateTime $expiredAt
|
||||
*/
|
||||
public function setExpiredAt(DateTime $expiredAt): void
|
||||
{
|
||||
$this->expiredAt = $expiredAt;
|
||||
}
|
||||
public $actionType;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue