commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
CustomLineItemImportDraft.php
1 <?php
2 
3 declare(strict_types=1);
10 
19 
21 {
22  public const FIELD_NAME = 'name';
23  public const FIELD_KEY = 'key';
24  public const FIELD_SLUG = 'slug';
25  public const FIELD_QUANTITY = 'quantity';
26  public const FIELD_MONEY = 'money';
27  public const FIELD_TAX_RATE = 'taxRate';
28  public const FIELD_TAX_CATEGORY = 'taxCategory';
29  public const FIELD_PRICE_MODE = 'priceMode';
30  public const FIELD_SHIPPING_DETAILS = 'shippingDetails';
31  public const FIELD_STATE = 'state';
32  public const FIELD_CUSTOM = 'custom';
33 
40  public function getName();
41 
48  public function getKey();
49 
56  public function getSlug();
57 
64  public function getQuantity();
65 
72  public function getMoney();
73 
80  public function getTaxRate();
81 
88  public function getTaxCategory();
89 
100  public function getPriceMode();
101 
108  public function getShippingDetails();
109 
116  public function getState();
117 
124  public function getCustom();
125 
129  public function setName(?LocalizedString $name): void;
130 
134  public function setKey(?string $key): void;
135 
139  public function setSlug(?string $slug): void;
140 
144  public function setQuantity(?int $quantity): void;
145 
149  public function setMoney(?Money $money): void;
150 
154  public function setTaxRate(?TaxRate $taxRate): void;
155 
159  public function setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory): void;
160 
164  public function setPriceMode(?string $priceMode): void;
165 
169  public function setShippingDetails(?ItemShippingDetailsDraft $shippingDetails): void;
170 
174  public function setState(?ItemStateCollection $state): void;
175 
179  public function setCustom(?CustomFieldsDraft $custom): void;
180 }
setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory)
setShippingDetails(?ItemShippingDetailsDraft $shippingDetails)