commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
Loading...
Searching...
No Matches
CustomLineItemImportDraft.php
1<?php
2
3declare(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
99 public function getPriceMode();
100
107 public function getShippingDetails();
108
115 public function getState();
116
123 public function getCustom();
124
128 public function setName(?LocalizedString $name): void;
129
133 public function setKey(?string $key): void;
134
138 public function setSlug(?string $slug): void;
139
143 public function setQuantity(?int $quantity): void;
144
148 public function setMoney(?Money $money): void;
149
153 public function setTaxRate(?TaxRate $taxRate): void;
154
158 public function setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory): void;
159
163 public function setPriceMode(?string $priceMode): void;
164
168 public function setShippingDetails(?ItemShippingDetailsDraft $shippingDetails): void;
169
173 public function setState(?ItemStateCollection $state): void;
174
178 public function setCustom(?CustomFieldsDraft $custom): void;
179}
setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory)
setShippingDetails(?ItemShippingDetailsDraft $shippingDetails)