| 1 | <?php |
||
| 18 | class UpdateCart implements CommandInterface |
||
| 19 | { |
||
| 20 | /** @var string|null */ |
||
| 21 | protected $token; |
||
| 22 | |||
| 23 | /** @var string|null */ |
||
| 24 | protected $cartId; |
||
| 25 | |||
| 26 | /** @var string */ |
||
| 27 | protected $orderItemUuid; |
||
| 28 | |||
| 29 | /** @var CartItem */ |
||
| 30 | protected $cartItem; |
||
| 31 | |||
| 32 | public function __construct(?string $token, ?string $cartId, CartItem $cartItem) |
||
| 38 | |||
| 39 | public function token(): ?string |
||
| 43 | |||
| 44 | public function cartId(): ?string |
||
| 48 | |||
| 49 | public function cartItem(): CartItem |
||
| 53 | |||
| 54 | public function productOptions(): array |
||
| 58 | |||
| 59 | public function getOrderItemUuid(): string |
||
| 63 | |||
| 64 | public function setOrderItemUuid(string $orderItemUuid): void |
||
| 68 | } |
||
| 69 |