Package | Description |
---|---|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
Class and Description |
---|
AddCustomLineItem
Adds a CustomLineItem to the cart.
|
AddDiscountCode
Adds a discount code to the cart.
|
AddItemShippingAddress
Updates the
itemShippingAddresses property of a Cart . |
AddLineItem
Adds a product variant in the given quantity to the cart.
|
AddPayment
This action adds a payment to the PaymentInfo.
|
AddShoppingList
Adds all line items of a shopping list to the cart.
|
ApplyDeltaToCustomLineItemShippingDetailsTargets
Updates the
customLineItems property of a Cart . |
ApplyDeltaToLineItemShippingDetailsTargets
Updates the
lineItems property of a Cart . |
ChangeCustomLineItemMoney
Sets the monetary amount of the given custom line item.
|
ChangeCustomLineItemQuantity
Sets the quantity of the given custom line item.
|
ChangeLineItemQuantity
Sets the quantity of the given line item.
|
ChangeTaxCalculationMode
Updates the
taxCalculationMode property of a Cart . |
ChangeTaxMode
Changes the
tax mode of a cart. |
ChangeTaxRoundingMode
Changes the
CartLike.getTaxRoundingMode() () tax rounding mode} of a cart. |
FreezeCart |
Recalculate
Updates tax rates and prices.
|
RemoveCustomLineItem
Removes the custom line item from the cart.
|
RemoveDiscountCode
Removes a discount code.
|
RemoveItemShippingAddress
Updates the
itemShippingAddresses property of a Cart . |
RemoveLineItem
Decreases the quantity of the given line item.
|
RemovePayment
This action removes a payment from the PaymentInfo.
|
SetAnonymousId
Updates the
anonymousId property of a Cart . |
SetBillingAddress
Sets the billing address.
|
SetBillingAddressCustomField
Updates a custom field in a custom line item.
|
SetBillingAddressCustomType
Sets or removes a custom type in a custom line item.
|
SetCartTotalTax
The total tax amount of the cart can be set if it has the
TaxMode.EXTERNAL_AMOUNT set. |
SetCountry
Sets the country of the cart.
|
SetCustomerEmail
Sets the customer email.
|
SetCustomerGroup
Sets the customer group.
|
SetCustomerId
Sets an existing customer ID for a cart.
|
SetCustomField
Updates a custom field.
|
SetCustomLineItemCustomField
Updates a custom field in a custom line item.
|
SetCustomLineItemCustomType
Sets or removes a custom type in a custom line item.
|
SetCustomLineItemShippingDetails
Updates the
customLineItems property of a Cart . |
SetCustomLineItemTaxAmount
A custom line item tax amount can be set if the cart has the
TaxMode.EXTERNAL_AMOUNT set. |
SetCustomLineItemTaxRate
Sets a tax rate for a line item if the cart has the tax mode
TaxMode.EXTERNAL . |
SetCustomShippingMethod
Sets a custom shipping method (independent of the shipping methods defined in the project).
|
SetCustomType
Sets or removes a custom type.
|
SetDeleteDaysAfterLastModification
Sets the TTL
Cart.getDeleteDaysAfterLastModification() of the cart. |
SetDeliveryAddressCustomField
Updates a custom field in a custom line item.
|
SetDeliveryAddressCustomType
Sets or removes a custom type in a custom line item.
|
SetItemShippingAddressCustomField
Updates a custom field in a custom line item.
|
SetItemShippingAddressCustomType
Sets or removes a custom type in a custom line item.
|
SetKey
Sets the key.
|
SetLineItemCustomField
Updates a custom field in a line item.
|
SetLineItemCustomType
Sets or removes a custom type in a line item.
|
SetLineItemDistributionChannel
Sets the distribution channel of the given LineItem.
|
SetLineItemPrice
Sets the price of a line item and changes the priceMode of the line item to ExternalPrice.
|
SetLineItemShippingDetails
Updates the
lineItems property of a Cart . |
SetLineItemSupplyChannel
Sets the supply channel of the given LineItem.
|
SetLineItemTaxAmount
A line item tax amount can be set if the cart has the
TaxMode.EXTERNAL_AMOUNT set. |
SetLineItemTaxRate
Sets a new tax rate that overrides the tax rate selected by default.
|
SetLineItemTotalPrice
Sets the totalPrice and price of the line item and
changes the priceMode of the line item to ExternalTotal.
|
SetLocale
Sets the locale.
|
SetShippingAddress
Sets the shipping address of the cart.
|
SetShippingAddressCustomField
Updates a custom field in a custom line item.
|
SetShippingAddressCustomType
Sets or removes a custom type in a custom line item.
|
SetShippingMethod
Sets the shipping method.
|
SetShippingMethodTaxAmount
A shipping method tax amount can be set if the cart has the
TaxMode.EXTERNAL_AMOUNT set. |
SetShippingMethodTaxRate
Sets a new tax rate that overrides the tax rate selected by default.
|
SetShippingRateInput
Updates the
shippingRateInput property of a Cart . |
UnfreezeCart |
UpdateItemShippingAddress
Updates the
itemShippingAddresses property of a Cart . |