commercetools-sdk-php-v2
The commercetools platform, import-api and PHP sdks generated from our api reference.
lib
commercetools-api
src
Models
Cart
Cart.php
1
<?php
2
3
declare(strict_types=1);
9
namespace
Commercetools\Api\Models\Cart
;
10
11
use
Commercetools\Api\Models\BusinessUnit\BusinessUnitKeyReference
;
12
use
Commercetools\Api\Models\CartDiscount\CartDiscountReferenceCollection
;
13
use
Commercetools\Api\Models\Common\Address
;
14
use
Commercetools\Api\Models\Common\AddressCollection
;
15
use
Commercetools\Api\Models\Common\BaseResource
;
16
use
Commercetools\Api\Models\Common\CentPrecisionMoney
;
17
use
Commercetools\Api\Models\Common\CreatedBy
;
18
use
Commercetools\Api\Models\Common\LastModifiedBy
;
19
use
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
;
20
use
Commercetools\Api\Models\Order\PaymentInfo
;
21
use
Commercetools\Api\Models\Store\StoreKeyReference
;
22
use
Commercetools\Api\Models\Type\CustomFields
;
23
use
Commercetools\Base\DateTimeImmutableCollection
;
24
use
Commercetools\Base\JsonObject
;
25
use DateTimeImmutable;
26
27
interface
Cart
extends
BaseResource
28
{
29
public
const
FIELD_KEY
=
'key'
;
30
public
const
FIELD_CUSTOMER_ID
=
'customerId'
;
31
public
const
FIELD_CUSTOMER_EMAIL
=
'customerEmail'
;
32
public
const
FIELD_CUSTOMER_GROUP
=
'customerGroup'
;
33
public
const
FIELD_ANONYMOUS_ID
=
'anonymousId'
;
34
public
const
FIELD_BUSINESS_UNIT
=
'businessUnit'
;
35
public
const
FIELD_STORE
=
'store'
;
36
public
const
FIELD_LINE_ITEMS
=
'lineItems'
;
37
public
const
FIELD_CUSTOM_LINE_ITEMS
=
'customLineItems'
;
38
public
const
FIELD_TOTAL_LINE_ITEM_QUANTITY
=
'totalLineItemQuantity'
;
39
public
const
FIELD_TOTAL_PRICE
=
'totalPrice'
;
40
public
const
FIELD_TAXED_PRICE
=
'taxedPrice'
;
41
public
const
FIELD_TAXED_SHIPPING_PRICE
=
'taxedShippingPrice'
;
42
public
const
FIELD_DISCOUNT_ON_TOTAL_PRICE
=
'discountOnTotalPrice'
;
43
public
const
FIELD_TAX_MODE
=
'taxMode'
;
44
public
const
FIELD_TAX_ROUNDING_MODE
=
'taxRoundingMode'
;
45
public
const
FIELD_TAX_CALCULATION_MODE
=
'taxCalculationMode'
;
46
public
const
FIELD_INVENTORY_MODE
=
'inventoryMode'
;
47
public
const
FIELD_CART_STATE
=
'cartState'
;
48
public
const
FIELD_BILLING_ADDRESS
=
'billingAddress'
;
49
public
const
FIELD_SHIPPING_ADDRESS
=
'shippingAddress'
;
50
public
const
FIELD_SHIPPING_MODE
=
'shippingMode'
;
51
public
const
FIELD_SHIPPING_KEY
=
'shippingKey'
;
52
public
const
FIELD_SHIPPING_INFO
=
'shippingInfo'
;
53
public
const
FIELD_SHIPPING_RATE_INPUT
=
'shippingRateInput'
;
54
public
const
FIELD_SHIPPING_CUSTOM_FIELDS
=
'shippingCustomFields'
;
55
public
const
FIELD_SHIPPING
=
'shipping'
;
56
public
const
FIELD_ITEM_SHIPPING_ADDRESSES
=
'itemShippingAddresses'
;
57
public
const
FIELD_DISCOUNT_CODES
=
'discountCodes'
;
58
public
const
FIELD_DIRECT_DISCOUNTS
=
'directDiscounts'
;
59
public
const
FIELD_REFUSED_GIFTS
=
'refusedGifts'
;
60
public
const
FIELD_PAYMENT_INFO
=
'paymentInfo'
;
61
public
const
FIELD_COUNTRY
=
'country'
;
62
public
const
FIELD_LOCALE
=
'locale'
;
63
public
const
FIELD_ORIGIN
=
'origin'
;
64
public
const
FIELD_CUSTOM
=
'custom'
;
65
public
const
FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION
=
'deleteDaysAfterLastModification'
;
66
public
const
FIELD_LAST_MODIFIED_BY
=
'lastModifiedBy'
;
67
public
const
FIELD_CREATED_BY
=
'createdBy'
;
68
75
public
function
getId
();
76
83
public
function
getVersion
();
84
91
public
function
getKey
();
92
99
public
function
getCustomerId
();
100
107
public
function
getCustomerEmail
();
108
115
public
function
getCustomerGroup
();
116
123
public
function
getAnonymousId
();
124
131
public
function
getBusinessUnit
();
132
139
public
function
getStore
();
140
147
public
function
getLineItems
();
148
155
public
function
getCustomLineItems
();
156
163
public
function
getTotalLineItemQuantity
();
164
173
public
function
getTotalPrice
();
174
185
public
function
getTaxedPrice
();
186
193
public
function
getTaxedShippingPrice
();
194
201
public
function
getDiscountOnTotalPrice
();
202
209
public
function
getTaxMode
();
210
217
public
function
getTaxRoundingMode
();
218
225
public
function
getTaxCalculationMode
();
226
233
public
function
getInventoryMode
();
234
241
public
function
getCartState
();
242
249
public
function
getBillingAddress
();
250
257
public
function
getShippingAddress
();
258
265
public
function
getShippingMode
();
266
273
public
function
getShippingKey
();
274
281
public
function
getShippingInfo
();
282
295
public
function
getShippingRateInput
();
296
303
public
function
getShippingCustomFields
();
304
311
public
function
getShipping
();
312
320
public
function
getItemShippingAddresses
();
321
328
public
function
getDiscountCodes
();
329
336
public
function
getDirectDiscounts
();
337
344
public
function
getRefusedGifts
();
345
352
public
function
getPaymentInfo
();
353
360
public
function
getCountry
();
361
368
public
function
getLocale
();
369
376
public
function
getOrigin
();
377
384
public
function
getCustom
();
385
392
public
function
getDeleteDaysAfterLastModification
();
393
400
public
function
getCreatedAt
();
401
408
public
function
getLastModifiedAt
();
409
416
public
function
getLastModifiedBy
();
417
424
public
function
getCreatedBy
();
425
429
public
function
setId
(?
string
$id): void;
430
434
public
function
setVersion
(?
int
$version): void;
435
439
public
function
setKey
(?
string
$key): void;
440
444
public
function
setCustomerId
(?
string
$customerId): void;
445
449
public
function
setCustomerEmail
(?
string
$customerEmail): void;
450
454
public
function
setCustomerGroup
(?
CustomerGroupReference
$customerGroup): void;
455
459
public
function
setAnonymousId
(?
string
$anonymousId): void;
460
464
public
function
setBusinessUnit
(?
BusinessUnitKeyReference
$businessUnit): void;
465
469
public
function
setStore
(?
StoreKeyReference
$store): void;
470
474
public
function
setLineItems
(?
LineItemCollection
$lineItems): void;
475
479
public
function
setCustomLineItems
(?
CustomLineItemCollection
$customLineItems): void;
480
484
public
function
setTotalLineItemQuantity
(?
int
$totalLineItemQuantity): void;
485
489
public
function
setTotalPrice
(?
CentPrecisionMoney
$totalPrice): void;
490
494
public
function
setTaxedPrice
(?
TaxedPrice
$taxedPrice): void;
495
499
public
function
setTaxedShippingPrice
(?
TaxedPrice
$taxedShippingPrice): void;
500
504
public
function
setDiscountOnTotalPrice
(?
DiscountOnTotalPrice
$discountOnTotalPrice): void;
505
509
public
function
setTaxMode
(?
string
$taxMode): void;
510
514
public
function
setTaxRoundingMode
(?
string
$taxRoundingMode): void;
515
519
public
function
setTaxCalculationMode
(?
string
$taxCalculationMode): void;
520
524
public
function
setInventoryMode
(?
string
$inventoryMode): void;
525
529
public
function
setCartState
(?
string
$cartState): void;
530
534
public
function
setBillingAddress
(?
Address
$billingAddress): void;
535
539
public
function
setShippingAddress
(?
Address
$shippingAddress): void;
540
544
public
function
setShippingMode
(?
string
$shippingMode): void;
545
549
public
function
setShippingKey
(?
string
$shippingKey): void;
550
554
public
function
setShippingInfo
(?
ShippingInfo
$shippingInfo): void;
555
559
public
function
setShippingRateInput
(?
ShippingRateInput
$shippingRateInput): void;
560
564
public
function
setShippingCustomFields
(?
CustomFields
$shippingCustomFields): void;
565
569
public
function
setShipping
(?
ShippingCollection
$shipping): void;
570
574
public
function
setItemShippingAddresses
(?
AddressCollection
$itemShippingAddresses): void;
575
579
public
function
setDiscountCodes
(?
DiscountCodeInfoCollection
$discountCodes): void;
580
584
public
function
setDirectDiscounts
(?
DirectDiscountCollection
$directDiscounts): void;
585
589
public
function
setRefusedGifts
(?
CartDiscountReferenceCollection
$refusedGifts): void;
590
594
public
function
setPaymentInfo
(?
PaymentInfo
$paymentInfo): void;
595
599
public
function
setCountry
(?
string
$country): void;
600
604
public
function
setLocale
(?
string
$locale): void;
605
609
public
function
setOrigin
(?
string
$origin): void;
610
614
public
function
setCustom
(?
CustomFields
$custom): void;
615
619
public
function
setDeleteDaysAfterLastModification
(?
int
$deleteDaysAfterLastModification): void;
620
624
public
function
setCreatedAt
(?DateTimeImmutable $createdAt): void;
625
629
public
function
setLastModifiedAt
(?DateTimeImmutable $lastModifiedAt): void;
630
634
public
function
setLastModifiedBy
(?
LastModifiedBy
$lastModifiedBy): void;
635
639
public
function
setCreatedBy
(?
CreatedBy
$createdBy): void;
640
}
Commercetools\Api\Models\Cart\CustomLineItemCollection
Definition:
CustomLineItemCollection.php:22
Commercetools\Api\Models\Cart\DirectDiscountCollection
Definition:
DirectDiscountCollection.php:22
Commercetools\Api\Models\Cart\DiscountCodeInfoCollection
Definition:
DiscountCodeInfoCollection.php:22
Commercetools\Api\Models\Cart\LineItemCollection
Definition:
LineItemCollection.php:22
Commercetools\Api\Models\Cart\ShippingCollection
Definition:
ShippingCollection.php:22
Commercetools\Api\Models\CartDiscount\CartDiscountReferenceCollection
Definition:
CartDiscountReferenceCollection.php:22
Commercetools\Api\Models\Common\AddressCollection
Definition:
AddressCollection.php:22
Commercetools\Base\DateTimeImmutableCollection
Definition:
DateTimeImmutableCollection.php:21
Commercetools\Api\Models\BusinessUnit\BusinessUnitKeyReference
Definition:
BusinessUnitKeyReference.php:16
Commercetools\Api\Models\Cart\Cart
Definition:
Cart.php:28
Commercetools\Api\Models\Cart\Cart\getLineItems
getLineItems()
Commercetools\Api\Models\Cart\Cart\getInventoryMode
getInventoryMode()
Commercetools\Api\Models\Cart\Cart\setVersion
setVersion(?int $version)
Commercetools\Api\Models\Cart\Cart\setTaxRoundingMode
setTaxRoundingMode(?string $taxRoundingMode)
Commercetools\Api\Models\Cart\Cart\getShippingKey
getShippingKey()
Commercetools\Api\Models\Cart\Cart\setPaymentInfo
setPaymentInfo(?PaymentInfo $paymentInfo)
Commercetools\Api\Models\Cart\Cart\getRefusedGifts
getRefusedGifts()
Commercetools\Api\Models\Cart\Cart\getCountry
getCountry()
Commercetools\Api\Models\Cart\Cart\setShippingCustomFields
setShippingCustomFields(?CustomFields $shippingCustomFields)
Commercetools\Api\Models\Cart\Cart\FIELD_DIRECT_DISCOUNTS
const FIELD_DIRECT_DISCOUNTS
Definition:
Cart.php:58
Commercetools\Api\Models\Cart\Cart\setShippingRateInput
setShippingRateInput(?ShippingRateInput $shippingRateInput)
Commercetools\Api\Models\Cart\Cart\getVersion
getVersion()
Commercetools\Api\Models\Cart\Cart\FIELD_CUSTOM_LINE_ITEMS
const FIELD_CUSTOM_LINE_ITEMS
Definition:
Cart.php:37
Commercetools\Api\Models\Cart\Cart\setCustomLineItems
setCustomLineItems(?CustomLineItemCollection $customLineItems)
Commercetools\Api\Models\Cart\Cart\getPaymentInfo
getPaymentInfo()
Commercetools\Api\Models\Cart\Cart\FIELD_SHIPPING
const FIELD_SHIPPING
Definition:
Cart.php:55
Commercetools\Api\Models\Cart\Cart\setDiscountCodes
setDiscountCodes(?DiscountCodeInfoCollection $discountCodes)
Commercetools\Api\Models\Cart\Cart\FIELD_REFUSED_GIFTS
const FIELD_REFUSED_GIFTS
Definition:
Cart.php:59
Commercetools\Api\Models\Cart\Cart\setLineItems
setLineItems(?LineItemCollection $lineItems)
Commercetools\Api\Models\Cart\Cart\FIELD_TAX_MODE
const FIELD_TAX_MODE
Definition:
Cart.php:43
Commercetools\Api\Models\Cart\Cart\getBillingAddress
getBillingAddress()
Commercetools\Api\Models\Cart\Cart\FIELD_TAX_CALCULATION_MODE
const FIELD_TAX_CALCULATION_MODE
Definition:
Cart.php:45
Commercetools\Api\Models\Cart\Cart\setCreatedBy
setCreatedBy(?CreatedBy $createdBy)
Commercetools\Api\Models\Cart\Cart\setAnonymousId
setAnonymousId(?string $anonymousId)
Commercetools\Api\Models\Cart\Cart\FIELD_BUSINESS_UNIT
const FIELD_BUSINESS_UNIT
Definition:
Cart.php:34
Commercetools\Api\Models\Cart\Cart\getShippingCustomFields
getShippingCustomFields()
Commercetools\Api\Models\Cart\Cart\setShippingAddress
setShippingAddress(?Address $shippingAddress)
Commercetools\Api\Models\Cart\Cart\getTaxedPrice
getTaxedPrice()
Commercetools\Api\Models\Cart\Cart\FIELD_DISCOUNT_CODES
const FIELD_DISCOUNT_CODES
Definition:
Cart.php:57
Commercetools\Api\Models\Cart\Cart\getTaxRoundingMode
getTaxRoundingMode()
Commercetools\Api\Models\Cart\Cart\FIELD_CART_STATE
const FIELD_CART_STATE
Definition:
Cart.php:47
Commercetools\Api\Models\Cart\Cart\setDiscountOnTotalPrice
setDiscountOnTotalPrice(?DiscountOnTotalPrice $discountOnTotalPrice)
Commercetools\Api\Models\Cart\Cart\setCreatedAt
setCreatedAt(?DateTimeImmutable $createdAt)
Commercetools\Api\Models\Cart\Cart\setStore
setStore(?StoreKeyReference $store)
Commercetools\Api\Models\Cart\Cart\getCreatedBy
getCreatedBy()
Commercetools\Api\Models\Cart\Cart\getLastModifiedBy
getLastModifiedBy()
Commercetools\Api\Models\Cart\Cart\setTotalLineItemQuantity
setTotalLineItemQuantity(?int $totalLineItemQuantity)
Commercetools\Api\Models\Cart\Cart\FIELD_SHIPPING_CUSTOM_FIELDS
const FIELD_SHIPPING_CUSTOM_FIELDS
Definition:
Cart.php:54
Commercetools\Api\Models\Cart\Cart\setDeleteDaysAfterLastModification
setDeleteDaysAfterLastModification(?int $deleteDaysAfterLastModification)
Commercetools\Api\Models\Cart\Cart\FIELD_SHIPPING_RATE_INPUT
const FIELD_SHIPPING_RATE_INPUT
Definition:
Cart.php:53
Commercetools\Api\Models\Cart\Cart\getTotalPrice
getTotalPrice()
Commercetools\Api\Models\Cart\Cart\setCustomerGroup
setCustomerGroup(?CustomerGroupReference $customerGroup)
Commercetools\Api\Models\Cart\Cart\getBusinessUnit
getBusinessUnit()
Commercetools\Api\Models\Cart\Cart\setTaxedPrice
setTaxedPrice(?TaxedPrice $taxedPrice)
Commercetools\Api\Models\Cart\Cart\FIELD_DISCOUNT_ON_TOTAL_PRICE
const FIELD_DISCOUNT_ON_TOTAL_PRICE
Definition:
Cart.php:42
Commercetools\Api\Models\Cart\Cart\FIELD_SHIPPING_INFO
const FIELD_SHIPPING_INFO
Definition:
Cart.php:52
Commercetools\Api\Models\Cart\Cart\setId
setId(?string $id)
Commercetools\Api\Models\Cart\Cart\FIELD_SHIPPING_ADDRESS
const FIELD_SHIPPING_ADDRESS
Definition:
Cart.php:49
Commercetools\Api\Models\Cart\Cart\FIELD_SHIPPING_MODE
const FIELD_SHIPPING_MODE
Definition:
Cart.php:50
Commercetools\Api\Models\Cart\Cart\setShippingKey
setShippingKey(?string $shippingKey)
Commercetools\Api\Models\Cart\Cart\getShippingRateInput
getShippingRateInput()
Commercetools\Api\Models\Cart\Cart\FIELD_TAX_ROUNDING_MODE
const FIELD_TAX_ROUNDING_MODE
Definition:
Cart.php:44
Commercetools\Api\Models\Cart\Cart\getCustomerEmail
getCustomerEmail()
Commercetools\Api\Models\Cart\Cart\getKey
getKey()
Commercetools\Api\Models\Cart\Cart\getLocale
getLocale()
Commercetools\Api\Models\Cart\Cart\FIELD_CUSTOMER_GROUP
const FIELD_CUSTOMER_GROUP
Definition:
Cart.php:32
Commercetools\Api\Models\Cart\Cart\setCustom
setCustom(?CustomFields $custom)
Commercetools\Api\Models\Cart\Cart\getDirectDiscounts
getDirectDiscounts()
Commercetools\Api\Models\Cart\Cart\setBusinessUnit
setBusinessUnit(?BusinessUnitKeyReference $businessUnit)
Commercetools\Api\Models\Cart\Cart\FIELD_PAYMENT_INFO
const FIELD_PAYMENT_INFO
Definition:
Cart.php:60
Commercetools\Api\Models\Cart\Cart\setBillingAddress
setBillingAddress(?Address $billingAddress)
Commercetools\Api\Models\Cart\Cart\setTaxedShippingPrice
setTaxedShippingPrice(?TaxedPrice $taxedShippingPrice)
Commercetools\Api\Models\Cart\Cart\setLocale
setLocale(?string $locale)
Commercetools\Api\Models\Cart\Cart\FIELD_TAXED_SHIPPING_PRICE
const FIELD_TAXED_SHIPPING_PRICE
Definition:
Cart.php:41
Commercetools\Api\Models\Cart\Cart\FIELD_INVENTORY_MODE
const FIELD_INVENTORY_MODE
Definition:
Cart.php:46
Commercetools\Api\Models\Cart\Cart\setTaxMode
setTaxMode(?string $taxMode)
Commercetools\Api\Models\Cart\Cart\getLastModifiedAt
getLastModifiedAt()
Commercetools\Api\Models\Cart\Cart\FIELD_TOTAL_LINE_ITEM_QUANTITY
const FIELD_TOTAL_LINE_ITEM_QUANTITY
Definition:
Cart.php:38
Commercetools\Api\Models\Cart\Cart\FIELD_LOCALE
const FIELD_LOCALE
Definition:
Cart.php:62
Commercetools\Api\Models\Cart\Cart\FIELD_CUSTOM
const FIELD_CUSTOM
Definition:
Cart.php:64
Commercetools\Api\Models\Cart\Cart\setCustomerId
setCustomerId(?string $customerId)
Commercetools\Api\Models\Cart\Cart\setOrigin
setOrigin(?string $origin)
Commercetools\Api\Models\Cart\Cart\FIELD_SHIPPING_KEY
const FIELD_SHIPPING_KEY
Definition:
Cart.php:51
Commercetools\Api\Models\Cart\Cart\setCustomerEmail
setCustomerEmail(?string $customerEmail)
Commercetools\Api\Models\Cart\Cart\setRefusedGifts
setRefusedGifts(?CartDiscountReferenceCollection $refusedGifts)
Commercetools\Api\Models\Cart\Cart\FIELD_TOTAL_PRICE
const FIELD_TOTAL_PRICE
Definition:
Cart.php:39
Commercetools\Api\Models\Cart\Cart\FIELD_ITEM_SHIPPING_ADDRESSES
const FIELD_ITEM_SHIPPING_ADDRESSES
Definition:
Cart.php:56
Commercetools\Api\Models\Cart\Cart\setDirectDiscounts
setDirectDiscounts(?DirectDiscountCollection $directDiscounts)
Commercetools\Api\Models\Cart\Cart\getDeleteDaysAfterLastModification
getDeleteDaysAfterLastModification()
Commercetools\Api\Models\Cart\Cart\getTaxMode
getTaxMode()
Commercetools\Api\Models\Cart\Cart\FIELD_CUSTOMER_EMAIL
const FIELD_CUSTOMER_EMAIL
Definition:
Cart.php:31
Commercetools\Api\Models\Cart\Cart\getOrigin
getOrigin()
Commercetools\Api\Models\Cart\Cart\FIELD_ORIGIN
const FIELD_ORIGIN
Definition:
Cart.php:63
Commercetools\Api\Models\Cart\Cart\FIELD_LINE_ITEMS
const FIELD_LINE_ITEMS
Definition:
Cart.php:36
Commercetools\Api\Models\Cart\Cart\getShippingInfo
getShippingInfo()
Commercetools\Api\Models\Cart\Cart\setCountry
setCountry(?string $country)
Commercetools\Api\Models\Cart\Cart\getTaxedShippingPrice
getTaxedShippingPrice()
Commercetools\Api\Models\Cart\Cart\getCartState
getCartState()
Commercetools\Api\Models\Cart\Cart\FIELD_LAST_MODIFIED_BY
const FIELD_LAST_MODIFIED_BY
Definition:
Cart.php:66
Commercetools\Api\Models\Cart\Cart\setTotalPrice
setTotalPrice(?CentPrecisionMoney $totalPrice)
Commercetools\Api\Models\Cart\Cart\getCustomerId
getCustomerId()
Commercetools\Api\Models\Cart\Cart\getTotalLineItemQuantity
getTotalLineItemQuantity()
Commercetools\Api\Models\Cart\Cart\setLastModifiedBy
setLastModifiedBy(?LastModifiedBy $lastModifiedBy)
Commercetools\Api\Models\Cart\Cart\setInventoryMode
setInventoryMode(?string $inventoryMode)
Commercetools\Api\Models\Cart\Cart\getShippingMode
getShippingMode()
Commercetools\Api\Models\Cart\Cart\setShippingMode
setShippingMode(?string $shippingMode)
Commercetools\Api\Models\Cart\Cart\getShippingAddress
getShippingAddress()
Commercetools\Api\Models\Cart\Cart\getCustom
getCustom()
Commercetools\Api\Models\Cart\Cart\setShipping
setShipping(?ShippingCollection $shipping)
Commercetools\Api\Models\Cart\Cart\FIELD_ANONYMOUS_ID
const FIELD_ANONYMOUS_ID
Definition:
Cart.php:33
Commercetools\Api\Models\Cart\Cart\FIELD_BILLING_ADDRESS
const FIELD_BILLING_ADDRESS
Definition:
Cart.php:48
Commercetools\Api\Models\Cart\Cart\getCreatedAt
getCreatedAt()
Commercetools\Api\Models\Cart\Cart\getStore
getStore()
Commercetools\Api\Models\Cart\Cart\getDiscountOnTotalPrice
getDiscountOnTotalPrice()
Commercetools\Api\Models\Cart\Cart\FIELD_KEY
const FIELD_KEY
Definition:
Cart.php:29
Commercetools\Api\Models\Cart\Cart\setCartState
setCartState(?string $cartState)
Commercetools\Api\Models\Cart\Cart\setTaxCalculationMode
setTaxCalculationMode(?string $taxCalculationMode)
Commercetools\Api\Models\Cart\Cart\getAnonymousId
getAnonymousId()
Commercetools\Api\Models\Cart\Cart\setKey
setKey(?string $key)
Commercetools\Api\Models\Cart\Cart\FIELD_STORE
const FIELD_STORE
Definition:
Cart.php:35
Commercetools\Api\Models\Cart\Cart\setItemShippingAddresses
setItemShippingAddresses(?AddressCollection $itemShippingAddresses)
Commercetools\Api\Models\Cart\Cart\getShipping
getShipping()
Commercetools\Api\Models\Cart\Cart\FIELD_COUNTRY
const FIELD_COUNTRY
Definition:
Cart.php:61
Commercetools\Api\Models\Cart\Cart\setLastModifiedAt
setLastModifiedAt(?DateTimeImmutable $lastModifiedAt)
Commercetools\Api\Models\Cart\Cart\FIELD_CREATED_BY
const FIELD_CREATED_BY
Definition:
Cart.php:67
Commercetools\Api\Models\Cart\Cart\getItemShippingAddresses
getItemShippingAddresses()
Commercetools\Api\Models\Cart\Cart\getTaxCalculationMode
getTaxCalculationMode()
Commercetools\Api\Models\Cart\Cart\FIELD_CUSTOMER_ID
const FIELD_CUSTOMER_ID
Definition:
Cart.php:30
Commercetools\Api\Models\Cart\Cart\getDiscountCodes
getDiscountCodes()
Commercetools\Api\Models\Cart\Cart\FIELD_TAXED_PRICE
const FIELD_TAXED_PRICE
Definition:
Cart.php:40
Commercetools\Api\Models\Cart\Cart\getCustomLineItems
getCustomLineItems()
Commercetools\Api\Models\Cart\Cart\setShippingInfo
setShippingInfo(?ShippingInfo $shippingInfo)
Commercetools\Api\Models\Cart\Cart\getId
getId()
Commercetools\Api\Models\Cart\Cart\FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION
const FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION
Definition:
Cart.php:65
Commercetools\Api\Models\Cart\Cart\getCustomerGroup
getCustomerGroup()
Commercetools\Api\Models\Cart\DiscountOnTotalPrice
Definition:
DiscountOnTotalPrice.php:16
Commercetools\Api\Models\Cart\ShippingInfo
Definition:
ShippingInfo.php:21
Commercetools\Api\Models\Cart\ShippingRateInput
Definition:
ShippingRateInput.php:15
Commercetools\Api\Models\Cart\TaxedPrice
Definition:
TaxedPrice.php:16
Commercetools\Api\Models\Common\Address
Definition:
Address.php:16
Commercetools\Api\Models\Common\BaseResource
Definition:
BaseResource.php:249
Commercetools\Api\Models\Common\CentPrecisionMoney
Definition:
CentPrecisionMoney.php:15
Commercetools\Api\Models\Common\CreatedBy
Definition:
CreatedBy.php:16
Commercetools\Api\Models\Common\LastModifiedBy
Definition:
LastModifiedBy.php:16
Commercetools\Api\Models\CustomerGroup\CustomerGroupReference
Definition:
CustomerGroupReference.php:16
Commercetools\Api\Models\Order\PaymentInfo
Definition:
PaymentInfo.php:16
Commercetools\Api\Models\Store\StoreKeyReference
Definition:
StoreKeyReference.php:16
Commercetools\Api\Models\Type\CustomFields
Definition:
CustomFields.php:15
Commercetools\Base\JsonObject
Definition:
JsonObject.php:15
Commercetools\Api\Models\Cart
Definition:
Cart.php:9
Generated by
1.9.1