public interface CartDraft extends CustomDraft
Draft for Cart
creation.
CartCreateCommand
,
CartDraftBuilder
javax.money.CurrencyUnit getCurrency()
@Nullable com.neovisionaries.i18n.CountryCode getCountry()
@Nullable InventoryMode getInventoryMode()
@Nullable ResourceIdentifier<CustomerGroup> getCustomerGroup()
@Nullable List<CustomLineItemDraft> getCustomLineItems()
@Nullable List<LineItemDraft> getLineItems()
@Nullable ResourceIdentifier<ShippingMethod> getShippingMethod()
@Nullable CustomFieldsDraft getCustom()
getCustom
in interface CustomDraft
@Nullable RoundingMode getTaxRoundingMode()
@Nullable ShippingRateInputDraft getShippingRateInput()
@Nullable TaxCalculationMode getTaxCalculationMode()
@Nullable CartOrigin getOrigin()
@Nullable List<Address> getItemShippingAddresses()
@Nullable ResourceIdentifier<Store> getStore()
@Nullable ExternalTaxRateDraft getExternalTaxRateForShippingMethod()
static CartDraftDsl of(javax.money.CurrencyUnit currency)