commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
OrderLineItemRemovedMessage.php
1 <?php
2 
3 declare(strict_types=1);
10 
18 
20 {
21  public const FIELD_LINE_ITEM_ID = 'lineItemId';
22  public const FIELD_LINE_ITEM_KEY = 'lineItemKey';
23  public const FIELD_REMOVED_QUANTITY = 'removedQuantity';
24  public const FIELD_NEW_QUANTITY = 'newQuantity';
25  public const FIELD_NEW_STATE = 'newState';
26  public const FIELD_NEW_TOTAL_PRICE = 'newTotalPrice';
27  public const FIELD_NEW_TAXED_PRICE = 'newTaxedPrice';
28  public const FIELD_NEW_PRICE = 'newPrice';
29  public const FIELD_NEW_SHIPPING_DETAIL = 'newShippingDetail';
30 
37  public function getLineItemId();
38 
45  public function getLineItemKey();
46 
53  public function getRemovedQuantity();
54 
61  public function getNewQuantity();
62 
69  public function getNewState();
70 
77  public function getNewTotalPrice();
78 
85  public function getNewTaxedPrice();
86 
93  public function getNewPrice();
94 
101  public function getNewShippingDetail();
102 
106  public function setLineItemId(?string $lineItemId): void;
107 
111  public function setLineItemKey(?string $lineItemKey): void;
112 
116  public function setRemovedQuantity(?int $removedQuantity): void;
117 
121  public function setNewQuantity(?int $newQuantity): void;
122 
126  public function setNewState(?ItemStateCollection $newState): void;
127 
131  public function setNewTotalPrice(?CentPrecisionMoney $newTotalPrice): void;
132 
136  public function setNewTaxedPrice(?TaxedItemPrice $newTaxedPrice): void;
137 
141  public function setNewPrice(?Price $newPrice): void;
142 
146  public function setNewShippingDetail(?ItemShippingDetails $newShippingDetail): void;
147 }
setNewTotalPrice(?CentPrecisionMoney $newTotalPrice)
setNewShippingDetail(?ItemShippingDetails $newShippingDetail)