commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
MyCartRemoveLineItemAction.php
1<?php
2
3declare(strict_types=1);
10
16
18{
19 public const FIELD_LINE_ITEM_ID = 'lineItemId';
20 public const FIELD_LINE_ITEM_KEY = 'lineItemKey';
21 public const FIELD_QUANTITY = 'quantity';
22 public const FIELD_EXTERNAL_PRICE = 'externalPrice';
23 public const FIELD_EXTERNAL_TOTAL_PRICE = 'externalTotalPrice';
24 public const FIELD_SHIPPING_DETAILS_TO_REMOVE = 'shippingDetailsToRemove';
25
32 public function getLineItemId();
33
40 public function getLineItemKey();
41
49 public function getQuantity();
50
57 public function getExternalPrice();
58
65 public function getExternalTotalPrice();
66
73 public function getShippingDetailsToRemove();
74
78 public function setLineItemId(?string $lineItemId): void;
79
83 public function setLineItemKey(?string $lineItemKey): void;
84
88 public function setQuantity(?int $quantity): void;
89
93 public function setExternalPrice(?Money $externalPrice): void;
94
98 public function setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice): void;
99
103 public function setShippingDetailsToRemove(?ItemShippingDetailsDraft $shippingDetailsToRemove): void;
104}
setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice)
setShippingDetailsToRemove(?ItemShippingDetailsDraft $shippingDetailsToRemove)