commercetools-sdk-php-v2  master
The platform, import-api and ml-api PHP sdks generated from our api reference.
Public Member Functions | Public Attributes | List of all members
Commercetools\Api\Models\Cart\CartDraft Interface Reference
Inheritance diagram for Commercetools\Api\Models\Cart\CartDraft:
Commercetools\Base\JsonObject Commercetools\Api\Models\Cart\CartDraftModel

Public Member Functions

 getCurrency ()
 
 getKey ()
 
 getCustomerId ()
 
 getCustomerEmail ()
 
 getCustomerGroup ()
 
 getAnonymousId ()
 
 getBusinessUnit ()
 
 getStore ()
 
 getLineItems ()
 
 getCustomLineItems ()
 
 getTaxMode ()
 
 getExternalTaxRateForShippingMethod ()
 
 getTaxRoundingMode ()
 
 getTaxCalculationMode ()
 
 getInventoryMode ()
 
 getBillingAddress ()
 
 getShippingAddress ()
 
 getShippingMethod ()
 
 getShippingRateInput ()
 
 getShippingMode ()
 
 getCustomShipping ()
 
 getShipping ()
 
 getItemShippingAddresses ()
 
 getDiscountCodes ()
 
 getCountry ()
 
 getLocale ()
 
 getOrigin ()
 
 getDeleteDaysAfterLastModification ()
 
 getCustom ()
 
 setCurrency (?string $currency)
 
 setKey (?string $key)
 
 setCustomerId (?string $customerId)
 
 setCustomerEmail (?string $customerEmail)
 
 setCustomerGroup (?CustomerGroupResourceIdentifier $customerGroup)
 
 setAnonymousId (?string $anonymousId)
 
 setBusinessUnit (?BusinessUnitResourceIdentifier $businessUnit)
 
 setStore (?StoreResourceIdentifier $store)
 
 setLineItems (?LineItemDraftCollection $lineItems)
 
 setCustomLineItems (?CustomLineItemDraftCollection $customLineItems)
 
 setTaxMode (?string $taxMode)
 
 setExternalTaxRateForShippingMethod (?ExternalTaxRateDraft $externalTaxRateForShippingMethod)
 
 setTaxRoundingMode (?string $taxRoundingMode)
 
 setTaxCalculationMode (?string $taxCalculationMode)
 
 setInventoryMode (?string $inventoryMode)
 
 setBillingAddress (?BaseAddress $billingAddress)
 
 setShippingAddress (?BaseAddress $shippingAddress)
 
 setShippingMethod (?ShippingMethodResourceIdentifier $shippingMethod)
 
 setShippingRateInput (?ShippingRateInputDraft $shippingRateInput)
 
 setShippingMode (?string $shippingMode)
 
 setCustomShipping (?CustomShippingDraftCollection $customShipping)
 
 setShipping (?ShippingDraftCollection $shipping)
 
 setItemShippingAddresses (?BaseAddressCollection $itemShippingAddresses)
 
 setDiscountCodes (?array $discountCodes)
 
 setCountry (?string $country)
 
 setLocale (?string $locale)
 
 setOrigin (?string $origin)
 
 setDeleteDaysAfterLastModification (?int $deleteDaysAfterLastModification)
 
 setCustom (?CustomFieldsDraft $custom)
 
- Public Member Functions inherited from Commercetools\Base\JsonObject
 get (string $field)
 
 with (callable $callable=null)
 

Public Attributes

const FIELD_CURRENCY = 'currency'
 
const FIELD_KEY = 'key'
 
const FIELD_CUSTOMER_ID = 'customerId'
 
const FIELD_CUSTOMER_EMAIL = 'customerEmail'
 
const FIELD_CUSTOMER_GROUP = 'customerGroup'
 
const FIELD_ANONYMOUS_ID = 'anonymousId'
 
const FIELD_BUSINESS_UNIT = 'businessUnit'
 
const FIELD_STORE = 'store'
 
const FIELD_LINE_ITEMS = 'lineItems'
 
const FIELD_CUSTOM_LINE_ITEMS = 'customLineItems'
 
const FIELD_TAX_MODE = 'taxMode'
 
const FIELD_EXTERNAL_TAX_RATE_FOR_SHIPPING_METHOD = 'externalTaxRateForShippingMethod'
 
const FIELD_TAX_ROUNDING_MODE = 'taxRoundingMode'
 
const FIELD_TAX_CALCULATION_MODE = 'taxCalculationMode'
 
const FIELD_INVENTORY_MODE = 'inventoryMode'
 
const FIELD_BILLING_ADDRESS = 'billingAddress'
 
const FIELD_SHIPPING_ADDRESS = 'shippingAddress'
 
const FIELD_SHIPPING_METHOD = 'shippingMethod'
 
const FIELD_SHIPPING_RATE_INPUT = 'shippingRateInput'
 
const FIELD_SHIPPING_MODE = 'shippingMode'
 
const FIELD_CUSTOM_SHIPPING = 'customShipping'
 
const FIELD_SHIPPING = 'shipping'
 
const FIELD_ITEM_SHIPPING_ADDRESSES = 'itemShippingAddresses'
 
const FIELD_DISCOUNT_CODES = 'discountCodes'
 
const FIELD_COUNTRY = 'country'
 
const FIELD_LOCALE = 'locale'
 
const FIELD_ORIGIN = 'origin'
 
const FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION = 'deleteDaysAfterLastModification'
 
const FIELD_CUSTOM = 'custom'
 

Additional Inherited Members

- Static Public Member Functions inherited from Commercetools\Base\JsonObject
static of ($data=null)
 
static fromArray (array $data=[])
 
static fromStdClass (stdClass $data=null)
 

Detailed Description

Definition at line 21 of file CartDraft.php.

Member Function Documentation

◆ getAnonymousId()

Commercetools\Api\Models\Cart\CartDraft::getAnonymousId ( )

Anonymous session associated with the Cart.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getBillingAddress()

Commercetools\Api\Models\Cart\CartDraft::getBillingAddress ( )

Billing address associated with the Cart.

Returns
null|BaseAddress

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getBusinessUnit()

Commercetools\Api\Models\Cart\CartDraft::getBusinessUnit ( )

ResourceIdentifier to the Business Unit the Cart should belong to. When the customerId of the Cart is also set, the Customer must be an Associate of the Business Unit.

Returns
null|BusinessUnitResourceIdentifier

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCountry()

Commercetools\Api\Models\Cart\CartDraft::getCountry ( )

Used for LineItem Price selection. If used for Create Cart in Store, the provided country must be one of the Store's countries.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCurrency()

Commercetools\Api\Models\Cart\CartDraft::getCurrency ( )

Currency the Cart uses.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCustom()

Commercetools\Api\Models\Cart\CartDraft::getCustom ( )

Custom Fields for the Cart.

Returns
null|CustomFieldsDraft

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCustomerEmail()

Commercetools\Api\Models\Cart\CartDraft::getCustomerEmail ( )

Email address of the Customer that the Cart belongs to.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCustomerGroup()

Commercetools\Api\Models\Cart\CartDraft::getCustomerGroup ( )

ResourceIdentifier to the Customer Group of the Customer that the Cart belongs to. Used for LineItem Price selection.

It is automatically set if the Customer referenced in customerId belongs to a Customer Group. It can also be set explicitly when no customerId is present.

Returns
null|CustomerGroupResourceIdentifier

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCustomerId()

Commercetools\Api\Models\Cart\CartDraft::getCustomerId ( )

id of the Customer that the Cart belongs to.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCustomLineItems()

Commercetools\Api\Models\Cart\CartDraft::getCustomLineItems ( )

Custom Line Items to add to the Cart.

Returns
null|CustomLineItemDraftCollection

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getCustomShipping()

Commercetools\Api\Models\Cart\CartDraft::getCustomShipping ( )

Custom Shipping Methods for a Cart with Multiple ShippingMode.

Returns
null|CustomShippingDraftCollection

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getDeleteDaysAfterLastModification()

Commercetools\Api\Models\Cart\CartDraft::getDeleteDaysAfterLastModification ( )

Number of days after which an active Cart is deleted since its last modification. If not provided, the default value for this field configured in Project settings is assigned.

Create a ChangeSubscription for Carts to receive a ResourceDeletedDeliveryPayload upon deletion of the Cart.

Returns
null|int

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getDiscountCodes()

Commercetools\Api\Models\Cart\CartDraft::getDiscountCodes ( )

code of the existing DiscountCodes to add to the Cart.

Returns
null|array

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getExternalTaxRateForShippingMethod()

Commercetools\Api\Models\Cart\CartDraft::getExternalTaxRateForShippingMethod ( )

External Tax Rate for the shippingMethod if the Cart has External TaxMode.

Returns
null|ExternalTaxRateDraft

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getInventoryMode()

Commercetools\Api\Models\Cart\CartDraft::getInventoryMode ( )

Determines how stock quantities are tracked for Line Items in the Cart.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getItemShippingAddresses()

Commercetools\Api\Models\Cart\CartDraft::getItemShippingAddresses ( )

Multiple shipping addresses of the Cart. Each address must contain a key that is unique in this Cart. The keys are used by LineItems to reference these addresses under their shippingDetails.

For Carts with Single ShippingMode: eligible Shipping Methods or applicable Tax Rates are determined by the address shippingAddress, and not itemShippingAddresses.

Returns
null|BaseAddressCollection

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getKey()

Commercetools\Api\Models\Cart\CartDraft::getKey ( )

User-defined unique identifier for the Cart.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getLineItems()

Commercetools\Api\Models\Cart\CartDraft::getLineItems ( )

Line Items to add to the Cart.

Returns
null|LineItemDraftCollection

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getLocale()

Commercetools\Api\Models\Cart\CartDraft::getLocale ( )

Languages of the Cart. Can only contain languages supported by the Project.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getOrigin()

Commercetools\Api\Models\Cart\CartDraft::getOrigin ( )

Indicates how the Cart was created.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getShipping()

Commercetools\Api\Models\Cart\CartDraft::getShipping ( )

Shipping Methods for a Cart with Multiple ShippingMode.

Returns
null|ShippingDraftCollection

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getShippingAddress()

Commercetools\Api\Models\Cart\CartDraft::getShippingAddress ( )

Shipping address for a Cart with Single ShippingMode. Determines eligible ShippingMethod rates and Tax Rates of Line Items. Must be one of the itemShippingAddresses when that field is also provided.

Returns
null|BaseAddress

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getShippingMethod()

Commercetools\Api\Models\Cart\CartDraft::getShippingMethod ( )

Shipping Method for a Cart with Single ShippingMode. If the referenced ShippingMethod has a predicate that does not match the Cart, an InvalidOperation error is returned when creating a Cart.

Returns
null|ShippingMethodResourceIdentifier

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getShippingMode()

Commercetools\Api\Models\Cart\CartDraft::getShippingMode ( )
  • If set to Single, only a single Shipping Method can be added to the Cart.
  • If set to Multiple, multiple Shipping Methods can be added to the Cart.
Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getShippingRateInput()

Commercetools\Api\Models\Cart\CartDraft::getShippingRateInput ( )

Used as an input to select a ShippingRatePriceTier. The data type of this field depends on the shippingRateInputType.type configured in the Project:

Returns
null|ShippingRateInputDraft

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getStore()

Commercetools\Api\Models\Cart\CartDraft::getStore ( )

ResourceIdentifier to the Store the Cart should belong to. Once set, it cannot be updated.

Returns
null|StoreResourceIdentifier

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getTaxCalculationMode()

Commercetools\Api\Models\Cart\CartDraft::getTaxCalculationMode ( )

Determines how taxes are calculated for taxedPrice.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getTaxMode()

Commercetools\Api\Models\Cart\CartDraft::getTaxMode ( )

Determines how Tax Rates are set.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ getTaxRoundingMode()

Commercetools\Api\Models\Cart\CartDraft::getTaxRoundingMode ( )

Determines how monetary values are rounded when calculating taxes for taxedPrice.

Returns
null|string

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setAnonymousId()

Commercetools\Api\Models\Cart\CartDraft::setAnonymousId ( ?string  $anonymousId)
Parameters
?string$anonymousId

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setBillingAddress()

Commercetools\Api\Models\Cart\CartDraft::setBillingAddress ( ?BaseAddress  $billingAddress)
Parameters
?BaseAddress$billingAddress

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setBusinessUnit()

Commercetools\Api\Models\Cart\CartDraft::setBusinessUnit ( ?BusinessUnitResourceIdentifier  $businessUnit)
Parameters
?BusinessUnitResourceIdentifier$businessUnit

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCountry()

Commercetools\Api\Models\Cart\CartDraft::setCountry ( ?string  $country)
Parameters
?string$country

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCurrency()

Commercetools\Api\Models\Cart\CartDraft::setCurrency ( ?string  $currency)
Parameters
?string$currency

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCustom()

Commercetools\Api\Models\Cart\CartDraft::setCustom ( ?CustomFieldsDraft  $custom)
Parameters
?CustomFieldsDraft$custom

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCustomerEmail()

Commercetools\Api\Models\Cart\CartDraft::setCustomerEmail ( ?string  $customerEmail)
Parameters
?string$customerEmail

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCustomerGroup()

Commercetools\Api\Models\Cart\CartDraft::setCustomerGroup ( ?CustomerGroupResourceIdentifier  $customerGroup)
Parameters
?CustomerGroupResourceIdentifier$customerGroup

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCustomerId()

Commercetools\Api\Models\Cart\CartDraft::setCustomerId ( ?string  $customerId)
Parameters
?string$customerId

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCustomLineItems()

Commercetools\Api\Models\Cart\CartDraft::setCustomLineItems ( ?CustomLineItemDraftCollection  $customLineItems)
Parameters
?CustomLineItemDraftCollection$customLineItems

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setCustomShipping()

Commercetools\Api\Models\Cart\CartDraft::setCustomShipping ( ?CustomShippingDraftCollection  $customShipping)
Parameters
?CustomShippingDraftCollection$customShipping

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setDeleteDaysAfterLastModification()

Commercetools\Api\Models\Cart\CartDraft::setDeleteDaysAfterLastModification ( ?int  $deleteDaysAfterLastModification)
Parameters
?int$deleteDaysAfterLastModification

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setDiscountCodes()

Commercetools\Api\Models\Cart\CartDraft::setDiscountCodes ( ?array  $discountCodes)
Parameters
?array$discountCodes

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setExternalTaxRateForShippingMethod()

Commercetools\Api\Models\Cart\CartDraft::setExternalTaxRateForShippingMethod ( ?ExternalTaxRateDraft  $externalTaxRateForShippingMethod)
Parameters
?ExternalTaxRateDraft$externalTaxRateForShippingMethod

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setInventoryMode()

Commercetools\Api\Models\Cart\CartDraft::setInventoryMode ( ?string  $inventoryMode)
Parameters
?string$inventoryMode

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setItemShippingAddresses()

Commercetools\Api\Models\Cart\CartDraft::setItemShippingAddresses ( ?BaseAddressCollection  $itemShippingAddresses)
Parameters
?BaseAddressCollection$itemShippingAddresses

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setKey()

Commercetools\Api\Models\Cart\CartDraft::setKey ( ?string  $key)
Parameters
?string$key

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setLineItems()

Commercetools\Api\Models\Cart\CartDraft::setLineItems ( ?LineItemDraftCollection  $lineItems)
Parameters
?LineItemDraftCollection$lineItems

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setLocale()

Commercetools\Api\Models\Cart\CartDraft::setLocale ( ?string  $locale)
Parameters
?string$locale

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setOrigin()

Commercetools\Api\Models\Cart\CartDraft::setOrigin ( ?string  $origin)
Parameters
?string$origin

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setShipping()

Commercetools\Api\Models\Cart\CartDraft::setShipping ( ?ShippingDraftCollection  $shipping)
Parameters
?ShippingDraftCollection$shipping

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setShippingAddress()

Commercetools\Api\Models\Cart\CartDraft::setShippingAddress ( ?BaseAddress  $shippingAddress)
Parameters
?BaseAddress$shippingAddress

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setShippingMethod()

Commercetools\Api\Models\Cart\CartDraft::setShippingMethod ( ?ShippingMethodResourceIdentifier  $shippingMethod)
Parameters
?ShippingMethodResourceIdentifier$shippingMethod

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setShippingMode()

Commercetools\Api\Models\Cart\CartDraft::setShippingMode ( ?string  $shippingMode)
Parameters
?string$shippingMode

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setShippingRateInput()

Commercetools\Api\Models\Cart\CartDraft::setShippingRateInput ( ?ShippingRateInputDraft  $shippingRateInput)
Parameters
?ShippingRateInputDraft$shippingRateInput

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setStore()

Commercetools\Api\Models\Cart\CartDraft::setStore ( ?StoreResourceIdentifier  $store)
Parameters
?StoreResourceIdentifier$store

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setTaxCalculationMode()

Commercetools\Api\Models\Cart\CartDraft::setTaxCalculationMode ( ?string  $taxCalculationMode)
Parameters
?string$taxCalculationMode

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setTaxMode()

Commercetools\Api\Models\Cart\CartDraft::setTaxMode ( ?string  $taxMode)
Parameters
?string$taxMode

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

◆ setTaxRoundingMode()

Commercetools\Api\Models\Cart\CartDraft::setTaxRoundingMode ( ?string  $taxRoundingMode)
Parameters
?string$taxRoundingMode

Implemented in Commercetools\Api\Models\Cart\CartDraftModel.

Member Data Documentation

◆ FIELD_ANONYMOUS_ID

const Commercetools\Api\Models\Cart\CartDraft::FIELD_ANONYMOUS_ID = 'anonymousId'

Definition at line 28 of file CartDraft.php.

◆ FIELD_BILLING_ADDRESS

const Commercetools\Api\Models\Cart\CartDraft::FIELD_BILLING_ADDRESS = 'billingAddress'

Definition at line 38 of file CartDraft.php.

◆ FIELD_BUSINESS_UNIT

const Commercetools\Api\Models\Cart\CartDraft::FIELD_BUSINESS_UNIT = 'businessUnit'

Definition at line 29 of file CartDraft.php.

◆ FIELD_COUNTRY

const Commercetools\Api\Models\Cart\CartDraft::FIELD_COUNTRY = 'country'

Definition at line 47 of file CartDraft.php.

◆ FIELD_CURRENCY

const Commercetools\Api\Models\Cart\CartDraft::FIELD_CURRENCY = 'currency'

Definition at line 23 of file CartDraft.php.

◆ FIELD_CUSTOM

const Commercetools\Api\Models\Cart\CartDraft::FIELD_CUSTOM = 'custom'

Definition at line 51 of file CartDraft.php.

◆ FIELD_CUSTOM_LINE_ITEMS

const Commercetools\Api\Models\Cart\CartDraft::FIELD_CUSTOM_LINE_ITEMS = 'customLineItems'

Definition at line 32 of file CartDraft.php.

◆ FIELD_CUSTOM_SHIPPING

const Commercetools\Api\Models\Cart\CartDraft::FIELD_CUSTOM_SHIPPING = 'customShipping'

Definition at line 43 of file CartDraft.php.

◆ FIELD_CUSTOMER_EMAIL

const Commercetools\Api\Models\Cart\CartDraft::FIELD_CUSTOMER_EMAIL = 'customerEmail'

Definition at line 26 of file CartDraft.php.

◆ FIELD_CUSTOMER_GROUP

const Commercetools\Api\Models\Cart\CartDraft::FIELD_CUSTOMER_GROUP = 'customerGroup'

Definition at line 27 of file CartDraft.php.

◆ FIELD_CUSTOMER_ID

const Commercetools\Api\Models\Cart\CartDraft::FIELD_CUSTOMER_ID = 'customerId'

Definition at line 25 of file CartDraft.php.

◆ FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION

const Commercetools\Api\Models\Cart\CartDraft::FIELD_DELETE_DAYS_AFTER_LAST_MODIFICATION = 'deleteDaysAfterLastModification'

Definition at line 50 of file CartDraft.php.

◆ FIELD_DISCOUNT_CODES

const Commercetools\Api\Models\Cart\CartDraft::FIELD_DISCOUNT_CODES = 'discountCodes'

Definition at line 46 of file CartDraft.php.

◆ FIELD_EXTERNAL_TAX_RATE_FOR_SHIPPING_METHOD

const Commercetools\Api\Models\Cart\CartDraft::FIELD_EXTERNAL_TAX_RATE_FOR_SHIPPING_METHOD = 'externalTaxRateForShippingMethod'

Definition at line 34 of file CartDraft.php.

◆ FIELD_INVENTORY_MODE

const Commercetools\Api\Models\Cart\CartDraft::FIELD_INVENTORY_MODE = 'inventoryMode'

Definition at line 37 of file CartDraft.php.

◆ FIELD_ITEM_SHIPPING_ADDRESSES

const Commercetools\Api\Models\Cart\CartDraft::FIELD_ITEM_SHIPPING_ADDRESSES = 'itemShippingAddresses'

Definition at line 45 of file CartDraft.php.

◆ FIELD_KEY

const Commercetools\Api\Models\Cart\CartDraft::FIELD_KEY = 'key'

Definition at line 24 of file CartDraft.php.

◆ FIELD_LINE_ITEMS

const Commercetools\Api\Models\Cart\CartDraft::FIELD_LINE_ITEMS = 'lineItems'

Definition at line 31 of file CartDraft.php.

◆ FIELD_LOCALE

const Commercetools\Api\Models\Cart\CartDraft::FIELD_LOCALE = 'locale'

Definition at line 48 of file CartDraft.php.

◆ FIELD_ORIGIN

const Commercetools\Api\Models\Cart\CartDraft::FIELD_ORIGIN = 'origin'

Definition at line 49 of file CartDraft.php.

◆ FIELD_SHIPPING

const Commercetools\Api\Models\Cart\CartDraft::FIELD_SHIPPING = 'shipping'

Definition at line 44 of file CartDraft.php.

◆ FIELD_SHIPPING_ADDRESS

const Commercetools\Api\Models\Cart\CartDraft::FIELD_SHIPPING_ADDRESS = 'shippingAddress'

Definition at line 39 of file CartDraft.php.

◆ FIELD_SHIPPING_METHOD

const Commercetools\Api\Models\Cart\CartDraft::FIELD_SHIPPING_METHOD = 'shippingMethod'

Definition at line 40 of file CartDraft.php.

◆ FIELD_SHIPPING_MODE

const Commercetools\Api\Models\Cart\CartDraft::FIELD_SHIPPING_MODE = 'shippingMode'

Definition at line 42 of file CartDraft.php.

◆ FIELD_SHIPPING_RATE_INPUT

const Commercetools\Api\Models\Cart\CartDraft::FIELD_SHIPPING_RATE_INPUT = 'shippingRateInput'

Definition at line 41 of file CartDraft.php.

◆ FIELD_STORE

const Commercetools\Api\Models\Cart\CartDraft::FIELD_STORE = 'store'

Definition at line 30 of file CartDraft.php.

◆ FIELD_TAX_CALCULATION_MODE

const Commercetools\Api\Models\Cart\CartDraft::FIELD_TAX_CALCULATION_MODE = 'taxCalculationMode'

Definition at line 36 of file CartDraft.php.

◆ FIELD_TAX_MODE

const Commercetools\Api\Models\Cart\CartDraft::FIELD_TAX_MODE = 'taxMode'

Definition at line 33 of file CartDraft.php.

◆ FIELD_TAX_ROUNDING_MODE

const Commercetools\Api\Models\Cart\CartDraft::FIELD_TAX_ROUNDING_MODE = 'taxRoundingMode'

Definition at line 35 of file CartDraft.php.


The documentation for this interface was generated from the following file: