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
Modifier and TypeFieldDescriptionstatic final String
discriminator value for TaxCategoryRemoveTaxRateAction -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
builder factory method for TaxCategoryRemoveTaxRateActionbuilder
(TaxCategoryRemoveTaxRateAction template) create builder for TaxCategoryRemoveTaxRateAction instancedeepCopy
(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 TaxCategoryRemoveTaxRateActionvoid
setTaxRateId
(String taxRateId) ID of the TaxRate to remove.void
setTaxRateKey
(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> T
accessor map functionMethods inherited from interface com.commercetools.api.models.ResourceUpdateAction
get
Methods 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
taxRateId
ortaxRateKey
is required for this update action.- Returns:
- taxRateId
-
getTaxRateKey
String getTaxRateKey()Key of the TaxRate to remove. Either
taxRateId
ortaxRateKey
is required for this update action.- Returns:
- taxRateKey
-
setTaxRateId
ID of the TaxRate to remove. Either
taxRateId
ortaxRateKey
is required for this update action.- Parameters:
taxRateId
- value to be set
-
setTaxRateKey
Key of the TaxRate to remove. Either
taxRateId
ortaxRateKey
is 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
-
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
-