Class TaxCategorySetKeyActionBuilder

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

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

     TaxCategorySetKeyAction taxCategorySetKeyAction = TaxCategorySetKeyAction.builder()
             .build()
 
  • Constructor Details

    • TaxCategorySetKeyActionBuilder

      public TaxCategorySetKeyActionBuilder()
  • Method Details

    • key

      Value to set. If empty, any existing value will be removed.

      Parameters:
      key - value to be set
      Returns:
      Builder
    • getKey

      @Nullable public String getKey()

      Value to set. If empty, any existing value will be removed.

      Returns:
      key
    • build

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

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

      public static TaxCategorySetKeyActionBuilder of()
      factory method for an instance of TaxCategorySetKeyActionBuilder
      Returns:
      builder
    • of

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