Class ProductSelectionUpdateAction.Builder
java.lang.Object
com.commercetools.graphql.api.types.ProductSelectionUpdateAction.Builder
- Enclosing class:
- ProductSelectionUpdateAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddProduct(AddProductSelectionProduct addProduct) build()changeName(ChangeProductSelectionName changeName) excludeProduct(ExcludeProductSelectionProduct excludeProduct) BETA: This feature can be subject to change and should be used carefully in production.removeProduct(RemoveProductSelectionProduct removeProduct) setCustomField(SetProductSelectionCustomField setCustomField) setCustomType(SetProductSelectionCustomType setCustomType) setKey(SetProductSelectionKey setKey) setVariantExclusion(SetProductSelectionVariantExclusion setVariantExclusion) BETA: This feature can be subject to change and should be used carefully in production.setVariantSelection(SetProductSelectionVariantSelection setVariantSelection)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
build
-
addProduct
-
changeName
-
excludeProduct
public ProductSelectionUpdateAction.Builder excludeProduct(ExcludeProductSelectionProduct excludeProduct) BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
removeProduct
public ProductSelectionUpdateAction.Builder removeProduct(RemoveProductSelectionProduct removeProduct) -
setCustomField
public ProductSelectionUpdateAction.Builder setCustomField(SetProductSelectionCustomField setCustomField) -
setCustomType
public ProductSelectionUpdateAction.Builder setCustomType(SetProductSelectionCustomType setCustomType) -
setKey
-
setVariantExclusion
public ProductSelectionUpdateAction.Builder setVariantExclusion(SetProductSelectionVariantExclusion setVariantExclusion) BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta -
setVariantSelection
public ProductSelectionUpdateAction.Builder setVariantSelection(SetProductSelectionVariantSelection setVariantSelection)
-