Class TaxCategoryRemoveTaxRateActionBuilder

java.lang.Object
com.commercetools.api.models.tax_category.TaxCategoryRemoveTaxRateActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<TaxCategoryRemoveTaxRateAction>

public class TaxCategoryRemoveTaxRateActionBuilder extends Object implements io.vrap.rmf.base.client.Builder<TaxCategoryRemoveTaxRateAction>
TaxCategoryRemoveTaxRateActionBuilder
Example to create an instance using the builder pattern

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

    • TaxCategoryRemoveTaxRateActionBuilder

      public TaxCategoryRemoveTaxRateActionBuilder()
  • Method Details

    • taxRateId

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

      Parameters:
      taxRateId - value to be set
      Returns:
      Builder
    • taxRateKey

      public TaxCategoryRemoveTaxRateActionBuilder taxRateKey(@Nullable String taxRateKey)

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

      Parameters:
      taxRateKey - value to be set
      Returns:
      Builder
    • getTaxRateId

      @Nullable public String getTaxRateId()

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

      Returns:
      taxRateId
    • getTaxRateKey

      @Nullable public String getTaxRateKey()

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

      Returns:
      taxRateKey
    • build

      builds TaxCategoryRemoveTaxRateAction with checking for non-null required values
      Specified by:
      build in interface io.vrap.rmf.base.client.Builder<TaxCategoryRemoveTaxRateAction>
      Returns:
      TaxCategoryRemoveTaxRateAction
    • buildUnchecked

      public TaxCategoryRemoveTaxRateAction buildUnchecked()
      builds TaxCategoryRemoveTaxRateAction without checking for non-null required values
      Returns:
      TaxCategoryRemoveTaxRateAction
    • of

      factory method for an instance of TaxCategoryRemoveTaxRateActionBuilder
      Returns:
      builder
    • of

      create builder for TaxCategoryRemoveTaxRateAction instance
      Parameters:
      template - instance with prefilled values for the builder
      Returns:
      builder