Class CustomerSetVatIdActionBuilder

java.lang.Object
com.commercetools.api.models.customer.CustomerSetVatIdActionBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<CustomerSetVatIdAction>

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

     CustomerSetVatIdAction customerSetVatIdAction = CustomerSetVatIdAction.builder()
             .build()
 
  • Constructor Details

    • CustomerSetVatIdActionBuilder

      public CustomerSetVatIdActionBuilder()
  • Method Details

    • vatId

      Value to set. If empty, any existing value is removed.

      Parameters:
      vatId - value to be set
      Returns:
      Builder
    • getVatId

      @Nullable public String getVatId()

      Value to set. If empty, any existing value is removed.

      Returns:
      vatId
    • build

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

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

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

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