Interface ChangePaymentStateChange

All Superinterfaces:
Change
All Known Implementing Classes:
ChangePaymentStateChangeImpl

public interface ChangePaymentStateChange extends Change

Change triggered by the following update actions:

  • Change PaymentState on Orders.
  • Change PaymentState on Staged Orders.

Example to create an instance using the builder pattern

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