commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CartRemoveLineItemAction.php
1<?php
2
3declare(strict_types=1);
10
14
16{
17 public const FIELD_LINE_ITEM_ID = 'lineItemId';
18 public const FIELD_LINE_ITEM_KEY = 'lineItemKey';
19 public const FIELD_QUANTITY = 'quantity';
20 public const FIELD_EXTERNAL_PRICE = 'externalPrice';
21 public const FIELD_EXTERNAL_TOTAL_PRICE = 'externalTotalPrice';
22 public const FIELD_SHIPPING_DETAILS_TO_REMOVE = 'shippingDetailsToRemove';
23
30 public function getLineItemId();
31
38 public function getLineItemKey();
39
47 public function getQuantity();
48
55 public function getExternalPrice();
56
63 public function getExternalTotalPrice();
64
71 public function getShippingDetailsToRemove();
72
76 public function setLineItemId(?string $lineItemId): void;
77
81 public function setLineItemKey(?string $lineItemKey): void;
82
86 public function setQuantity(?int $quantity): void;
87
91 public function setExternalPrice(?Money $externalPrice): void;
92
96 public function setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice): void;
97
101 public function setShippingDetailsToRemove(?ItemShippingDetailsDraft $shippingDetailsToRemove): void;
102}
setShippingDetailsToRemove(?ItemShippingDetailsDraft $shippingDetailsToRemove)
setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice)