Class ChangePaymentStateChangeBuilder

java.lang.Object
com.commercetools.history.models.change.ChangePaymentStateChangeBuilder
All Implemented Interfaces:
Builder<ChangePaymentStateChange>

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

     ChangePaymentStateChange changePaymentStateChange = ChangePaymentStateChange.builder()
             .change("{change}")
             .previousValue(PaymentState.BALANCE_DUE)
             .nextValue(PaymentState.BALANCE_DUE)
             .build()
 
  • Constructor Details

    • ChangePaymentStateChangeBuilder

      public ChangePaymentStateChangeBuilder()
  • Method Details