commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CartAddCustomLineItemAction.php
1<?php
2
3declare(strict_types=1);
10
17
19{
20 public const FIELD_MONEY = 'money';
21 public const FIELD_NAME = 'name';
22 public const FIELD_KEY = 'key';
23 public const FIELD_QUANTITY = 'quantity';
24 public const FIELD_SLUG = 'slug';
25 public const FIELD_TAX_CATEGORY = 'taxCategory';
26 public const FIELD_EXTERNAL_TAX_RATE = 'externalTaxRate';
27 public const FIELD_SHIPPING_DETAILS = 'shippingDetails';
28 public const FIELD_CUSTOM = 'custom';
29 public const FIELD_PRICE_MODE = 'priceMode';
30
38 public function getMoney();
39
46 public function getName();
47
54 public function getKey();
55
62 public function getQuantity();
63
71 public function getSlug();
72
80 public function getTaxCategory();
81
88 public function getExternalTaxRate();
89
96 public function getShippingDetails();
97
104 public function getCustom();
105
115 public function getPriceMode();
116
120 public function setMoney(?Money $money): void;
121
125 public function setName(?LocalizedString $name): void;
126
130 public function setKey(?string $key): void;
131
135 public function setQuantity(?int $quantity): void;
136
140 public function setSlug(?string $slug): void;
141
145 public function setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory): void;
146
150 public function setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate): void;
151
155 public function setShippingDetails(?ItemShippingDetailsDraft $shippingDetails): void;
156
160 public function setCustom(?CustomFieldsDraft $custom): void;
161
165 public function setPriceMode(?string $priceMode): void;
166}
setShippingDetails(?ItemShippingDetailsDraft $shippingDetails)
setExternalTaxRate(?ExternalTaxRateDraft $externalTaxRate)
setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory)