Class MyCartUpdateAction.Builder
java.lang.Object
com.commercetools.graphql.api.types.MyCartUpdateAction.Builder
- Enclosing class:
- MyCartUpdateAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddDiscountCode(AddCartDiscountCode addDiscountCode) addItemShippingAddress(AddCartItemShippingAddress addItemShippingAddress) addLineItem(AddMyCartLineItem addLineItem) addPayment(AddCartPayment addPayment) addShoppingList(AddCartShoppingList addShoppingList) applyDeltaToLineItemShippingDetailsTargets(ApplyCartDeltaToLineItemShippingDetailsTargets applyDeltaToLineItemShippingDetailsTargets) build()changeLineItemQuantity(ChangeCartLineItemQuantity changeLineItemQuantity) changeTaxMode(ChangeMyCartTaxMode changeTaxMode) recalculate(RecalculateCart recalculate) removeDiscountCode(RemoveCartDiscountCode removeDiscountCode) removeItemShippingAddress(RemoveCartItemShippingAddress removeItemShippingAddress) removeLineItem(RemoveCartLineItem removeLineItem) removePayment(RemoveCartPayment removePayment) setBillingAddress(SetCartBillingAddress setBillingAddress) setBillingAddressCustomField(SetCartBillingAddressCustomField setBillingAddressCustomField) setBillingAddressCustomType(SetCartBillingAddressCustomType setBillingAddressCustomType) setBusinessUnit(SetCartBusinessUnit setBusinessUnit) setCountry(SetCartCountry setCountry) setCustomerEmail(SetCartCustomerEmail setCustomerEmail) setCustomField(SetCartCustomField setCustomField) setCustomType(SetCartCustomType setCustomType) setDeleteDaysAfterLastModification(SetCartDeleteDaysAfterLastModification setDeleteDaysAfterLastModification) setItemShippingAddressCustomField(SetCartItemShippingAddressCustomField setItemShippingAddressCustomField) setItemShippingAddressCustomType(SetCartItemShippingAddressCustomType setItemShippingAddressCustomType) setLineItemCustomField(SetCartLineItemCustomField setLineItemCustomField) setLineItemCustomType(SetCartLineItemCustomType setLineItemCustomType) setLineItemDistributionChannel(SetCartLineItemDistributionChannel setLineItemDistributionChannel) setLineItemShippingDetails(SetCartLineItemShippingDetails setLineItemShippingDetails) setLineItemSupplyChannel(SetCartLineItemSupplyChannel setLineItemSupplyChannel) setLocale(SetCartLocale setLocale) setShippingAddress(SetCartShippingAddress setShippingAddress) setShippingAddressCustomField(SetCartShippingAddressCustomField setShippingAddressCustomField) setShippingAddressCustomType(SetCartShippingAddressCustomType setShippingAddressCustomType) setShippingCustomField(SetCartShippingCustomField setShippingCustomField) setShippingCustomType(SetCartShippingCustomType setShippingCustomType) setShippingMethod(SetMyCartShippingMethod setShippingMethod) updateItemShippingAddress(UpdateCartItemShippingAddress updateItemShippingAddress)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
addDiscountCode
-
addItemShippingAddress
public MyCartUpdateAction.Builder addItemShippingAddress(AddCartItemShippingAddress addItemShippingAddress) -
addLineItem
-
addPayment
-
addShoppingList
-
applyDeltaToLineItemShippingDetailsTargets
public MyCartUpdateAction.Builder applyDeltaToLineItemShippingDetailsTargets(ApplyCartDeltaToLineItemShippingDetailsTargets applyDeltaToLineItemShippingDetailsTargets) -
changeTaxMode
-
recalculate
-
removeDiscountCode
-
removeItemShippingAddress
public MyCartUpdateAction.Builder removeItemShippingAddress(RemoveCartItemShippingAddress removeItemShippingAddress) -
removeLineItem
-
removePayment
-
setBillingAddress
-
setBillingAddressCustomField
public MyCartUpdateAction.Builder setBillingAddressCustomField(SetCartBillingAddressCustomField setBillingAddressCustomField) -
setBillingAddressCustomType
public MyCartUpdateAction.Builder setBillingAddressCustomType(SetCartBillingAddressCustomType setBillingAddressCustomType) -
setBusinessUnit
-
setCountry
-
setCustomField
-
setCustomType
-
setCustomerEmail
-
setDeleteDaysAfterLastModification
public MyCartUpdateAction.Builder setDeleteDaysAfterLastModification(SetCartDeleteDaysAfterLastModification setDeleteDaysAfterLastModification) -
setItemShippingAddressCustomField
public MyCartUpdateAction.Builder setItemShippingAddressCustomField(SetCartItemShippingAddressCustomField setItemShippingAddressCustomField) -
setItemShippingAddressCustomType
public MyCartUpdateAction.Builder setItemShippingAddressCustomType(SetCartItemShippingAddressCustomType setItemShippingAddressCustomType) -
setLineItemCustomField
public MyCartUpdateAction.Builder setLineItemCustomField(SetCartLineItemCustomField setLineItemCustomField) -
setLineItemCustomType
public MyCartUpdateAction.Builder setLineItemCustomType(SetCartLineItemCustomType setLineItemCustomType) -
setLineItemDistributionChannel
public MyCartUpdateAction.Builder setLineItemDistributionChannel(SetCartLineItemDistributionChannel setLineItemDistributionChannel) -
setLineItemShippingDetails
public MyCartUpdateAction.Builder setLineItemShippingDetails(SetCartLineItemShippingDetails setLineItemShippingDetails) -
setLineItemSupplyChannel
public MyCartUpdateAction.Builder setLineItemSupplyChannel(SetCartLineItemSupplyChannel setLineItemSupplyChannel) -
setLocale
-
setShippingMethod
-
setShippingAddress
-
setShippingAddressCustomField
public MyCartUpdateAction.Builder setShippingAddressCustomField(SetCartShippingAddressCustomField setShippingAddressCustomField) -
setShippingAddressCustomType
public MyCartUpdateAction.Builder setShippingAddressCustomType(SetCartShippingAddressCustomType setShippingAddressCustomType) -
setShippingCustomField
public MyCartUpdateAction.Builder setShippingCustomField(SetCartShippingCustomField setShippingCustomField) -
setShippingCustomType
public MyCartUpdateAction.Builder setShippingCustomType(SetCartShippingCustomType setShippingCustomType) -
updateItemShippingAddress
public MyCartUpdateAction.Builder updateItemShippingAddress(UpdateCartItemShippingAddress updateItemShippingAddress) -
changeLineItemQuantity
public MyCartUpdateAction.Builder changeLineItemQuantity(ChangeCartLineItemQuantity changeLineItemQuantity)
-