Class CartDraft.Builder
java.lang.Object
com.commercetools.graphql.api.types.CartDraft.Builder
- Enclosing class:
- CartDraft
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionanonymousId(String anonymousId) billingAddress(AddressInput billingAddress) build()businessUnit(ResourceIdentifierInput businessUnit) custom(CustomFieldsDraft custom) customerEmail(String customerEmail) customerGroup(ResourceIdentifierInput customerGroup) customerId(String customerId) customLineItems(List<CustomLineItemDraft> customLineItems) customShipping(List<CustomShippingDraft> customShipping) deleteDaysAfterLastModification(Integer deleteDaysAfterLastModification) discountCodes(List<String> discountCodes) externalTaxRateForShippingMethod(ExternalTaxRateDraft externalTaxRateForShippingMethod) inventoryMode(InventoryMode inventoryMode) itemShippingAddresses(List<AddressInput> itemShippingAddresses) lineItems(List<LineItemDraft> lineItems) origin(CartOrigin origin) shipping(List<ShippingDraft> shipping) shippingAddress(AddressInput shippingAddress) shippingMethod(ResourceIdentifierInput shippingMethod) shippingMode(ShippingMode shippingMode) shippingRateInput(ShippingRateInputDraft shippingRateInput) store(ResourceIdentifierInput store) taxCalculationMode(TaxCalculationMode taxCalculationMode) taxRoundingMode(RoundingMode taxRoundingMode)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
currency
-
country
-
inventoryMode
-
custom
-
customerEmail
-
shippingAddress
-
billingAddress
-
shippingMethod
-
taxMode
-
locale
-
deleteDaysAfterLastModification
-
itemShippingAddresses
-
discountCodes
-
store
-
businessUnit
-
shippingMode
-
customShipping
-
shipping
-
key
-
lineItems
-
customLineItems
-
customerId
-
externalTaxRateForShippingMethod
public CartDraft.Builder externalTaxRateForShippingMethod(ExternalTaxRateDraft externalTaxRateForShippingMethod) -
anonymousId
-
taxRoundingMode
-
taxCalculationMode
-
customerGroup
-
shippingRateInput
-
origin
-