Package | Description |
---|---|
io.sphere.sdk.carts.commands.updateactions |
Provides the possible operations which can be performed on update commands for carts.
|
Modifier and Type | Method and Description |
---|---|
static AddLineItem |
AddLineItem.of(LineItemDraft template) |
static AddLineItem |
AddLineItem.of(ProductIdentifiable product,
int variantId,
long quantity) |
static AddLineItem |
AddLineItem.of(String productId,
int variantId,
long quantity) |
AddLineItem |
AddLineItem.withCustom(CustomFieldsDraft custom) |
AddLineItem |
AddLineItem.withDistributionChannel(Referenceable<Channel> distributionChannel) |
AddLineItem |
AddLineItem.withExternalPrice(javax.money.MonetaryAmount externalPrice) |
AddLineItem |
AddLineItem.withExternalTaxRate(ExternalTaxRateDraft externalTaxRate) |
AddLineItem |
AddLineItem.withExternalTotalPrice(ExternalLineItemTotalPrice externalTotalPrice) |
AddLineItem |
AddLineItem.withSupplyChannel(Referenceable<Channel> supplyChannel) |