Class OrderSetOrderNumberActionBuilder

java.lang.Object
com.commercetools.api.models.order.OrderSetOrderNumberActionBuilder
All Implemented Interfaces:
Builder<OrderSetOrderNumberAction>

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

     OrderSetOrderNumberAction orderSetOrderNumberAction = OrderSetOrderNumberAction.builder()
             .build()
 
  • Constructor Details

    • OrderSetOrderNumberActionBuilder

      public OrderSetOrderNumberActionBuilder()
  • Method Details

    • orderNumber

      public OrderSetOrderNumberActionBuilder orderNumber(@Nullable String orderNumber)

      Value to set. Must be unique across a Project. Once set, the value cannot be changed.

      Parameters:
      orderNumber - value to be set
      Returns:
      Builder
    • getOrderNumber

      @Nullable public String getOrderNumber()

      Value to set. Must be unique across a Project. Once set, the value cannot be changed.

      Returns:
      orderNumber
    • build

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

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

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

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