Interface PaymentTransactionStateChangedMessage

All Superinterfaces:
BaseResource, DomainResource<Message>, Identifiable<Message>, Message, Versioned<Message>

public interface PaymentTransactionStateChangedMessage extends Message

Generated after a successful Change TransactionState update action.


Example to create an instance using the builder pattern

     PaymentTransactionStateChangedMessage paymentTransactionStateChangedMessage = PaymentTransactionStateChangedMessage.builder()
             .id("{id}")
             .version(0.3)
             .createdAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .lastModifiedAt(ZonedDateTime.parse("2022-01-01T12:00:00.301Z"))
             .sequenceNumber(0.3)
             .resource(resourceBuilder -> resourceBuilder)
             .resourceVersion(0.3)
             .transactionId("{transactionId}")
             .state(TransactionState.INITIAL)
             .build()
 
  • Field Details

    • PAYMENT_TRANSACTION_STATE_CHANGED

      static final String PAYMENT_TRANSACTION_STATE_CHANGED
      discriminator value for PaymentTransactionStateChangedMessage
      See Also:
  • Method Details