Interface TaxCategoryRemoveTaxRateAction
- All Superinterfaces:
ResourceUpdateAction<TaxCategoryUpdateAction>,TaxCategoryUpdateAction
TaxCategoryRemoveTaxRateAction
Example to create an instance using the builder pattern
Example to create an instance using the builder pattern
TaxCategoryRemoveTaxRateAction taxCategoryRemoveTaxRateAction = TaxCategoryRemoveTaxRateAction.builder()
.build()
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringdiscriminator value for TaxCategoryRemoveTaxRateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()builder factory method for TaxCategoryRemoveTaxRateActionbuilder(TaxCategoryRemoveTaxRateAction template) create builder for TaxCategoryRemoveTaxRateAction instancecopyDeep()deepCopy(TaxCategoryRemoveTaxRateAction template) factory method to create a deep copy of TaxCategoryRemoveTaxRateActionID of the TaxRate to remove.Key of the TaxRate to remove.of()factory methodof(TaxCategoryRemoveTaxRateAction template) factory method to create a shallow copy TaxCategoryRemoveTaxRateActionvoidsetTaxRateId(String taxRateId) ID of the TaxRate to remove.voidsetTaxRateKey(String taxRateKey) Key of the TaxRate to remove.static com.fasterxml.jackson.core.type.TypeReference<TaxCategoryRemoveTaxRateAction>gives a TypeReference for usage with Jackson DataBinddefault <T> Taccessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
getMethods inherited from interface com.commercetools.api.models.tax_category.TaxCategoryUpdateAction
getAction, withTaxCategoryUpdateAction
-
Field Details
-
REMOVE_TAX_RATE
discriminator value for TaxCategoryRemoveTaxRateAction- See Also:
-
-
Method Details
-
getTaxRateId
String getTaxRateId()ID of the TaxRate to remove. Either
taxRateIdortaxRateKeyis required for this update action.- Returns:
- taxRateId
-
getTaxRateKey
String getTaxRateKey()Key of the TaxRate to remove. Either
taxRateIdortaxRateKeyis required for this update action.- Returns:
- taxRateKey
-
setTaxRateId
ID of the TaxRate to remove. Either
taxRateIdortaxRateKeyis required for this update action.- Parameters:
taxRateId- value to be set
-
setTaxRateKey
Key of the TaxRate to remove. Either
taxRateIdortaxRateKeyis required for this update action.- Parameters:
taxRateKey- value to be set
-
of
factory method- Returns:
- instance of TaxCategoryRemoveTaxRateAction
-
of
factory method to create a shallow copy TaxCategoryRemoveTaxRateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
copyDeep
TaxCategoryRemoveTaxRateAction copyDeep()- Specified by:
copyDeepin interfaceTaxCategoryUpdateAction
-
deepCopy
@Nullable static TaxCategoryRemoveTaxRateAction deepCopy(@Nullable TaxCategoryRemoveTaxRateAction template) factory method to create a deep copy of TaxCategoryRemoveTaxRateAction- Parameters:
template- instance to be copied- Returns:
- copy instance
-
builder
builder factory method for TaxCategoryRemoveTaxRateAction- Returns:
- builder
-
builder
create builder for TaxCategoryRemoveTaxRateAction instance- Parameters:
template- instance with prefilled values for the builder- Returns:
- builder
-
withTaxCategoryRemoveTaxRateAction
accessor map function- Type Parameters:
T- mapped type- Parameters:
helper- function to map the object- Returns:
- mapped value
-
typeReference
static com.fasterxml.jackson.core.type.TypeReference<TaxCategoryRemoveTaxRateAction> typeReference()gives a TypeReference for usage with Jackson DataBind- Returns:
- TypeReference
-