commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CartChangeLineItemQuantityAction.php
1 <?php
2 
3 declare(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 
29  public function getLineItemId();
30 
37  public function getLineItemKey();
38 
46  public function getQuantity();
47 
56  public function getExternalPrice();
57 
65  public function getExternalTotalPrice();
66 
70  public function setLineItemId(?string $lineItemId): void;
71 
75  public function setLineItemKey(?string $lineItemKey): void;
76 
80  public function setQuantity(?int $quantity): void;
81 
85  public function setExternalPrice(?Money $externalPrice): void;
86 
90  public function setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice): void;
91 }
setExternalTotalPrice(?ExternalLineItemTotalPrice $externalTotalPrice)