| @@ 9-70 (lines=62) @@ | ||
| 6 | ||
| 7 | use DateTimeInterface; |
|
| 8 | ||
| 9 | final class CreateOrderForEmissionICRequestLp extends CreateOrderForEmissionICRequest |
|
| 10 | { |
|
| 11 | /** |
|
| 12 | * @var string Контактное лицо |
|
| 13 | */ |
|
| 14 | private $contactPerson; |
|
| 15 | /** |
|
| 16 | * @var string Способ выпуска товаров в оборот |
|
| 17 | */ |
|
| 18 | private $releaseMethodType; |
|
| 19 | /** |
|
| 20 | * @var string Способ изготовления СИ |
|
| 21 | */ |
|
| 22 | private $createMethodType; |
|
| 23 | /** |
|
| 24 | * @var string Идентификатор производственного заказа |
|
| 25 | */ |
|
| 26 | private $productionOrderId; |
|
| 27 | ||
| 28 | /** |
|
| 29 | * CreateOrderForEmissionICRequestLight constructor. |
|
| 30 | * @param string $contactPerson |
|
| 31 | * @param string $releaseMethodType |
|
| 32 | * @param string $createMethodType |
|
| 33 | * @param string $productionOrderId |
|
| 34 | * @param OrderProduct[] $products |
|
| 35 | */ |
|
| 36 | public function __construct( |
|
| 37 | string $contactPerson, |
|
| 38 | string $releaseMethodType, |
|
| 39 | string $createMethodType, |
|
| 40 | string $productionOrderId, |
|
| 41 | array $products |
|
| 42 | ) { |
|
| 43 | parent::__construct($products); |
|
| 44 | ||
| 45 | $this->contactPerson = $contactPerson; |
|
| 46 | $this->releaseMethodType = $releaseMethodType; |
|
| 47 | $this->createMethodType = $createMethodType; |
|
| 48 | $this->productionOrderId = $productionOrderId; |
|
| 49 | } |
|
| 50 | ||
| 51 | public function getContactPerson(): string |
|
| 52 | { |
|
| 53 | return $this->contactPerson; |
|
| 54 | } |
|
| 55 | ||
| 56 | public function getReleaseMethodType(): string |
|
| 57 | { |
|
| 58 | return $this->releaseMethodType; |
|
| 59 | } |
|
| 60 | ||
| 61 | public function getCreateMethodType(): string |
|
| 62 | { |
|
| 63 | return $this->createMethodType; |
|
| 64 | } |
|
| 65 | ||
| 66 | public function getProductionOrderId(): string |
|
| 67 | { |
|
| 68 | return $this->productionOrderId; |
|
| 69 | } |
|
| 70 | } |
|
| @@ 9-70 (lines=62) @@ | ||
| 6 | ||
| 7 | use DateTimeInterface; |
|
| 8 | ||
| 9 | final class CreateOrderForEmissionICRequestPerfum extends CreateOrderForEmissionICRequest |
|
| 10 | { |
|
| 11 | /** |
|
| 12 | * @var string Контактное лицо |
|
| 13 | */ |
|
| 14 | private $contactPerson; |
|
| 15 | /** |
|
| 16 | * @var string Способ выпуска товаров в оборот |
|
| 17 | */ |
|
| 18 | private $releaseMethodType; |
|
| 19 | /** |
|
| 20 | * @var string Способ изготовления СИ |
|
| 21 | */ |
|
| 22 | private $createMethodType; |
|
| 23 | /** |
|
| 24 | * @var string Идентификатор производственного заказа |
|
| 25 | */ |
|
| 26 | private $productionOrderId; |
|
| 27 | ||
| 28 | /** |
|
| 29 | * CreateOrderForEmissionICRequestLight constructor. |
|
| 30 | * @param string $contactPerson |
|
| 31 | * @param string $releaseMethodType |
|
| 32 | * @param string $createMethodType |
|
| 33 | * @param string $productionOrderId |
|
| 34 | * @param OrderProduct[] $products |
|
| 35 | */ |
|
| 36 | public function __construct( |
|
| 37 | string $contactPerson, |
|
| 38 | string $releaseMethodType, |
|
| 39 | string $createMethodType, |
|
| 40 | string $productionOrderId, |
|
| 41 | array $products |
|
| 42 | ) { |
|
| 43 | parent::__construct($products); |
|
| 44 | ||
| 45 | $this->contactPerson = $contactPerson; |
|
| 46 | $this->releaseMethodType = $releaseMethodType; |
|
| 47 | $this->createMethodType = $createMethodType; |
|
| 48 | $this->productionOrderId = $productionOrderId; |
|
| 49 | } |
|
| 50 | ||
| 51 | public function getContactPerson(): string |
|
| 52 | { |
|
| 53 | return $this->contactPerson; |
|
| 54 | } |
|
| 55 | ||
| 56 | public function getReleaseMethodType(): string |
|
| 57 | { |
|
| 58 | return $this->releaseMethodType; |
|
| 59 | } |
|
| 60 | ||
| 61 | public function getCreateMethodType(): string |
|
| 62 | { |
|
| 63 | return $this->createMethodType; |
|
| 64 | } |
|
| 65 | ||
| 66 | public function getProductionOrderId(): string |
|
| 67 | { |
|
| 68 | return $this->productionOrderId; |
|
| 69 | } |
|
| 70 | } |
|
| @@ 9-70 (lines=62) @@ | ||
| 6 | ||
| 7 | use DateTimeInterface; |
|
| 8 | ||
| 9 | final class CreateOrderForEmissionICRequestShoes extends CreateOrderForEmissionICRequest |
|
| 10 | { |
|
| 11 | /** |
|
| 12 | * @var string Контактное лицо |
|
| 13 | */ |
|
| 14 | private $contactPerson; |
|
| 15 | /** |
|
| 16 | * @var string Способ выпуска товаров в оборот |
|
| 17 | */ |
|
| 18 | private $releaseMethodType; |
|
| 19 | /** |
|
| 20 | * @var string Способ изготовления СИ |
|
| 21 | */ |
|
| 22 | private $createMethodType; |
|
| 23 | /** |
|
| 24 | * @var string Идентификатор производственного заказа |
|
| 25 | */ |
|
| 26 | private $productionOrderId; |
|
| 27 | ||
| 28 | /** |
|
| 29 | * CreateOrderForEmissionICRequestLight constructor. |
|
| 30 | * @param string $contactPerson |
|
| 31 | * @param string $releaseMethodType |
|
| 32 | * @param string $createMethodType |
|
| 33 | * @param string $productionOrderId |
|
| 34 | * @param OrderProduct[] $products |
|
| 35 | */ |
|
| 36 | public function __construct( |
|
| 37 | string $contactPerson, |
|
| 38 | string $releaseMethodType, |
|
| 39 | string $createMethodType, |
|
| 40 | string $productionOrderId, |
|
| 41 | array $products |
|
| 42 | ) { |
|
| 43 | parent::__construct($products); |
|
| 44 | ||
| 45 | $this->contactPerson = $contactPerson; |
|
| 46 | $this->releaseMethodType = $releaseMethodType; |
|
| 47 | $this->createMethodType = $createMethodType; |
|
| 48 | $this->productionOrderId = $productionOrderId; |
|
| 49 | } |
|
| 50 | ||
| 51 | public function getContactPerson(): string |
|
| 52 | { |
|
| 53 | return $this->contactPerson; |
|
| 54 | } |
|
| 55 | ||
| 56 | public function getReleaseMethodType(): string |
|
| 57 | { |
|
| 58 | return $this->releaseMethodType; |
|
| 59 | } |
|
| 60 | ||
| 61 | public function getCreateMethodType(): string |
|
| 62 | { |
|
| 63 | return $this->createMethodType; |
|
| 64 | } |
|
| 65 | ||
| 66 | public function getProductionOrderId(): string |
|
| 67 | { |
|
| 68 | return $this->productionOrderId; |
|
| 69 | } |
|
| 70 | } |
|