public class PaymentNotification
extends PaymentEvent
The message to communicate the real-time status of an in-flight payment.
public PaymentNotification(@NotNull java.lang.String merchantTransactionReference, @NotNull java.lang.String notificationText)
The message to communicate the real-time status of an in-flight payment.
merchantTransactionReference
- The transaction Reference defined by the merchant to uniquely identify the payment.notificationText
- Holds payment status information returned from the remote host@NotNull public java.lang.String getMerchantTransactionReference()
@NotNull public java.lang.String getNotificationText()
@NotNull public java.lang.String component1()
@NotNull public java.lang.String component2()
@NotNull public PaymentNotification copy(@NotNull java.lang.String merchantTransactionReference, @NotNull java.lang.String notificationText)
The message to communicate the real-time status of an in-flight payment.
merchantTransactionReference
- The transaction Reference defined by the merchant to uniquely identify the payment.notificationText
- Holds payment status information returned from the remote host@NotNull public java.lang.String toString()
The message to communicate the real-time status of an in-flight payment.
public int hashCode()
The message to communicate the real-time status of an in-flight payment.
public boolean equals(@Nullable java.lang.Object p)
The message to communicate the real-time status of an in-flight payment.