Skip to content

Commit a7320c9

Browse files
author
Auto Mation
committed
TASK: Updating SDK
1 parent ef74629 commit a7320c9

23 files changed

+1191
-15
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hash=5f8ea9bdc4aba02a5a0589a94d29e8c89f68daff
1+
hash=c31809605bf3ed9a785ef2e018781ab46c256fd8
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
hash=5f8ea9bdc4aba02a5a0589a94d29e8c89f68daff
1+
hash=c31809605bf3ed9a785ef2e018781ab46c256fd8
Lines changed: 128 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,128 @@
1+
<?php
2+
3+
declare(strict_types=1);
4+
/**
5+
* This file has been auto generated
6+
* Do not change it.
7+
*/
8+
9+
namespace Commercetools\Api\Models\Cart;
10+
11+
use Commercetools\Api\Models\Common\LocalizedString;
12+
use Commercetools\Api\Models\Common\Money;
13+
use Commercetools\Api\Models\Order\ItemStateCollection;
14+
use Commercetools\Api\Models\TaxCategory\TaxCategoryResourceIdentifier;
15+
use Commercetools\Api\Models\TaxCategory\TaxRate;
16+
use Commercetools\Api\Models\Type\CustomFieldsDraft;
17+
use Commercetools\Base\DateTimeImmutableCollection;
18+
use Commercetools\Base\JsonObject;
19+
20+
interface CustomLineItemImportDraft extends JsonObject
21+
{
22+
public const FIELD_NAME = 'name';
23+
public const FIELD_QUANTITY = 'quantity';
24+
public const FIELD_MONEY = 'money';
25+
public const FIELD_SLUG = 'slug';
26+
public const FIELD_STATE = 'state';
27+
public const FIELD_TAX_RATE = 'taxRate';
28+
public const FIELD_TAX_CATEGORY = 'taxCategory';
29+
public const FIELD_CUSTOM = 'custom';
30+
public const FIELD_SHIPPING_DETAILS = 'shippingDetails';
31+
32+
/**
33+
* @return null|LocalizedString
34+
*/
35+
public function getName();
36+
37+
/**
38+
* <p>The amount of a CustomLineItem in the cart.
39+
* Must be a positive integer.</p>
40+
*
41+
* @return null|int
42+
*/
43+
public function getQuantity();
44+
45+
/**
46+
* <p>The cost to add to the cart. The amount can be negative.</p>
47+
*
48+
* @return null|Money
49+
*/
50+
public function getMoney();
51+
52+
/**
53+
* @return null|string
54+
*/
55+
public function getSlug();
56+
57+
/**
58+
* @return null|ItemStateCollection
59+
*/
60+
public function getState();
61+
62+
/**
63+
* @return null|TaxRate
64+
*/
65+
public function getTaxRate();
66+
67+
/**
68+
* @return null|TaxCategoryResourceIdentifier
69+
*/
70+
public function getTaxCategory();
71+
72+
/**
73+
* <p>The custom fields.</p>
74+
*
75+
* @return null|CustomFieldsDraft
76+
*/
77+
public function getCustom();
78+
79+
/**
80+
* @return null|ItemShippingDetailsDraft
81+
*/
82+
public function getShippingDetails();
83+
84+
/**
85+
* @param ?LocalizedString $name
86+
*/
87+
public function setName(?LocalizedString $name): void;
88+
89+
/**
90+
* @param ?int $quantity
91+
*/
92+
public function setQuantity(?int $quantity): void;
93+
94+
/**
95+
* @param ?Money $money
96+
*/
97+
public function setMoney(?Money $money): void;
98+
99+
/**
100+
* @param ?string $slug
101+
*/
102+
public function setSlug(?string $slug): void;
103+
104+
/**
105+
* @param ?ItemStateCollection $state
106+
*/
107+
public function setState(?ItemStateCollection $state): void;
108+
109+
/**
110+
* @param ?TaxRate $taxRate
111+
*/
112+
public function setTaxRate(?TaxRate $taxRate): void;
113+
114+
/**
115+
* @param ?TaxCategoryResourceIdentifier $taxCategory
116+
*/
117+
public function setTaxCategory(?TaxCategoryResourceIdentifier $taxCategory): void;
118+
119+
/**
120+
* @param ?CustomFieldsDraft $custom
121+
*/
122+
public function setCustom(?CustomFieldsDraft $custom): void;
123+
124+
/**
125+
* @param ?ItemShippingDetailsDraft $shippingDetails
126+
*/
127+
public function setShippingDetails(?ItemShippingDetailsDraft $shippingDetails): void;
128+
}

0 commit comments

Comments
 (0)