Class SetShippingRateInputChangeBuilder

java.lang.Object
com.commercetools.history.models.change.SetShippingRateInputChangeBuilder
All Implemented Interfaces:
io.vrap.rmf.base.client.Builder<SetShippingRateInputChange>

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

     SetShippingRateInputChange setShippingRateInputChange = SetShippingRateInputChange.builder()
             .change("{change}")
             .build()
 
  • Constructor Details

    • SetShippingRateInputChangeBuilder

      public SetShippingRateInputChangeBuilder()
  • Method Details

    • change

      public SetShippingRateInputChangeBuilder change(String change)
      set the value to the change
      Parameters:
      change - value to be set
      Returns:
      Builder
    • previousValue

      public SetShippingRateInputChangeBuilder previousValue(Object previousValue)

      Value before the change.

      Parameters:
      previousValue - value to be set
      Returns:
      Builder
    • nextValue

      public SetShippingRateInputChangeBuilder nextValue(Object nextValue)

      Value after the change.

      Parameters:
      nextValue - value to be set
      Returns:
      Builder
    • getChange

      public String getChange()
      value of change}
      Returns:
      change
    • getPreviousValue

      public Object getPreviousValue()

      Value before the change.

      Returns:
      previousValue
    • getNextValue

      public Object getNextValue()

      Value after the change.

      Returns:
      nextValue
    • build

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

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

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

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