Class ProductDiscountUpdateAction.Builder
java.lang.Object
com.commercetools.graphql.api.types.ProductDiscountUpdateAction.Builder
- Enclosing class:
- ProductDiscountUpdateAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()changeIsActive(ChangeProductDiscountIsActive changeIsActive) changeName(ChangeProductDiscountName changeName) changePredicate(ChangeProductDiscountPredicate changePredicate) changeSortOrder(ChangeProductDiscountSortOrder changeSortOrder) changeValue(ChangeProductDiscountValue changeValue) setDescription(SetProductDiscountDescription setDescription) setKey(SetProductDiscountKey setKey) setValidFrom(SetProductDiscountValidFrom setValidFrom) setValidFromAndUntil(SetProductDiscountValidFromAndUntil setValidFromAndUntil) setValidUntil(SetProductDiscountValidUntil setValidUntil)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
changeIsActive
public ProductDiscountUpdateAction.Builder changeIsActive(ChangeProductDiscountIsActive changeIsActive) -
changeName
-
changePredicate
public ProductDiscountUpdateAction.Builder changePredicate(ChangeProductDiscountPredicate changePredicate) -
changeSortOrder
public ProductDiscountUpdateAction.Builder changeSortOrder(ChangeProductDiscountSortOrder changeSortOrder) -
changeValue
-
setDescription
public ProductDiscountUpdateAction.Builder setDescription(SetProductDiscountDescription setDescription) -
setKey
-
setValidFrom
-
setValidFromAndUntil
public ProductDiscountUpdateAction.Builder setValidFromAndUntil(SetProductDiscountValidFromAndUntil setValidFromAndUntil) -
setValidUntil
public ProductDiscountUpdateAction.Builder setValidUntil(SetProductDiscountValidUntil setValidUntil)
-