Class DiscountCodeUpdateAction.Builder
java.lang.Object
com.commercetools.graphql.api.types.DiscountCodeUpdateAction.Builder
- Enclosing class:
- DiscountCodeUpdateAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()changeCartDiscounts(ChangeDiscountCodeCartDiscounts changeCartDiscounts) changeGroups(ChangeDiscountCodeGroups changeGroups) changeIsActive(ChangeDiscountCodeIsActive changeIsActive) setCartPredicate(SetDiscountCodeCartPredicate setCartPredicate) setCustomField(SetDiscountCodeCustomField setCustomField) setCustomType(SetDiscountCodeCustomType setCustomType) setDescription(SetDiscountCodeDescription setDescription) setMaxApplications(SetDiscountCodeMaxApplications setMaxApplications) setMaxApplicationsPerCustomer(SetDiscountCodeMaxApplicationsPerCustomer setMaxApplicationsPerCustomer) setName(SetDiscountCodeName setName) setValidFrom(SetDiscountCodeValidFrom setValidFrom) setValidFromAndUntil(SetDiscountCodeValidFromAndUntil setValidFromAndUntil) setValidUntil(SetDiscountCodeValidUntil setValidUntil)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
changeCartDiscounts
public DiscountCodeUpdateAction.Builder changeCartDiscounts(ChangeDiscountCodeCartDiscounts changeCartDiscounts) -
changeGroups
-
changeIsActive
-
setCartPredicate
public DiscountCodeUpdateAction.Builder setCartPredicate(SetDiscountCodeCartPredicate setCartPredicate) -
setCustomField
-
setCustomType
-
setDescription
-
setMaxApplications
public DiscountCodeUpdateAction.Builder setMaxApplications(SetDiscountCodeMaxApplications setMaxApplications) -
setMaxApplicationsPerCustomer
public DiscountCodeUpdateAction.Builder setMaxApplicationsPerCustomer(SetDiscountCodeMaxApplicationsPerCustomer setMaxApplicationsPerCustomer) -
setName
-
setValidFrom
-
setValidFromAndUntil
public DiscountCodeUpdateAction.Builder setValidFromAndUntil(SetDiscountCodeValidFromAndUntil setValidFromAndUntil) -
setValidUntil
-