Class CartDiscountUpdateAction.Builder
java.lang.Object
com.commercetools.graphql.api.types.CartDiscountUpdateAction.Builder
- Enclosing class:
- CartDiscountUpdateAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddStore(AddCartDiscountStore addStore) BETA: This feature can be subject to change and should be used carefully in production.build()changeCartPredicate(ChangeCartDiscountCartPredicate changeCartPredicate) changeIsActive(ChangeCartDiscountIsActive changeIsActive) changeName(ChangeCartDiscountName changeName) changeRequiresDiscountCode(ChangeCartDiscountRequiresDiscountCode changeRequiresDiscountCode) changeSortOrder(ChangeCartDiscountSortOrder changeSortOrder) changeStackingMode(ChangeCartDiscountStackingMode changeStackingMode) changeTarget(ChangeCartDiscountTarget changeTarget) changeValue(ChangeCartDiscountValue changeValue) removeStore(RemoveCartDiscountStore removeStore) BETA: This feature can be subject to change and should be used carefully in production.setCustomField(SetCartDiscountCustomField setCustomField) setCustomType(SetCartDiscountCustomType setCustomType) setDescription(SetCartDiscountDescription setDescription) setKey(SetCartDiscountKey setKey) setStores(SetCartDiscountStores setStores) BETA: This feature can be subject to change and should be used carefully in production.setValidFrom(SetCartDiscountValidFrom setValidFrom) setValidFromAndUntil(SetCartDiscountValidFromAndUntil setValidFromAndUntil) setValidUntil(SetCartDiscountValidUntil setValidUntil)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
setStores
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
addStore
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
removeStore
BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
changeCartPredicate
public CartDiscountUpdateAction.Builder changeCartPredicate(ChangeCartDiscountCartPredicate changeCartPredicate) -
changeIsActive
-
changeName
-
changeRequiresDiscountCode
public CartDiscountUpdateAction.Builder changeRequiresDiscountCode(ChangeCartDiscountRequiresDiscountCode changeRequiresDiscountCode) -
changeSortOrder
public CartDiscountUpdateAction.Builder changeSortOrder(ChangeCartDiscountSortOrder changeSortOrder) -
changeStackingMode
public CartDiscountUpdateAction.Builder changeStackingMode(ChangeCartDiscountStackingMode changeStackingMode) -
changeTarget
-
changeValue
-
setCustomField
-
setCustomType
-
setDescription
-
setKey
-
setValidFrom
-
setValidFromAndUntil
public CartDiscountUpdateAction.Builder setValidFromAndUntil(SetCartDiscountValidFromAndUntil setValidFromAndUntil) -
setValidUntil
-