Class MyCustomerEmailVerifyBuilder

java.lang.Object
com.commercetools.api.models.customer.MyCustomerEmailVerifyBuilder
All Implemented Interfaces:
Builder<MyCustomerEmailVerify>

public class MyCustomerEmailVerifyBuilder extends Object implements Builder<MyCustomerEmailVerify>
MyCustomerEmailVerifyBuilder
Example to create an instance using the builder pattern

     MyCustomerEmailVerify myCustomerEmailVerify = MyCustomerEmailVerify.builder()
             .tokenValue("{tokenValue}")
             .build()
 
  • Constructor Details

    • MyCustomerEmailVerifyBuilder

      public MyCustomerEmailVerifyBuilder()
  • Method Details

    • tokenValue

      public MyCustomerEmailVerifyBuilder tokenValue(String tokenValue)

      Value of the token to verify Customer email.

      Parameters:
      tokenValue - value to be set
      Returns:
      Builder
    • getTokenValue

      public String getTokenValue()

      Value of the token to verify Customer email.

      Returns:
      tokenValue
    • build

      public MyCustomerEmailVerify build()
      builds MyCustomerEmailVerify with checking for non-null required values
      Specified by:
      build in interface Builder<MyCustomerEmailVerify>
      Returns:
      MyCustomerEmailVerify
    • buildUnchecked

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

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

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