Interface TaxCategoryRemoveTaxRateAction

All Superinterfaces:
ResourceUpdateAction<TaxCategoryUpdateAction>, TaxCategoryUpdateAction

public interface TaxCategoryRemoveTaxRateAction extends TaxCategoryUpdateAction
TaxCategoryRemoveTaxRateAction
Example to create an instance using the builder pattern

     TaxCategoryRemoveTaxRateAction taxCategoryRemoveTaxRateAction = TaxCategoryRemoveTaxRateAction.builder()
             .build()
 
  • Field Details

    • REMOVE_TAX_RATE

      static final String REMOVE_TAX_RATE
      discriminator value for TaxCategoryRemoveTaxRateAction
      See Also:
  • Method Details

    • getTaxRateId

      String getTaxRateId()

      ID of the TaxRate to remove. Either taxRateId or taxRateKey is required for this update action.

      Returns:
      taxRateId
    • getTaxRateKey

      String getTaxRateKey()

      Key of the TaxRate to remove. Either taxRateId or taxRateKey is required for this update action.

      Returns:
      taxRateKey
    • setTaxRateId

      void setTaxRateId(String taxRateId)

      ID of the TaxRate to remove. Either taxRateId or taxRateKey is required for this update action.

      Parameters:
      taxRateId - value to be set
    • setTaxRateKey

      void setTaxRateKey(String taxRateKey)

      Key of the TaxRate to remove. Either taxRateId or taxRateKey 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

      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

      default <T> T withTaxCategoryRemoveTaxRateAction(Function<TaxCategoryRemoveTaxRateAction,T> helper)
      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