public class PaymentReceipt
extends PaymentEvent
The message to receive a payment receipt.
public PaymentReceipt(@NotNull ReceiptType type, @NotNull java.lang.String content, @NotNull java.lang.String merchantTransactionReference)
The message to receive a payment receipt.
type
- The type of receiptcontent
- The content of the receipt.merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.@NotNull public ReceiptType getType()
The type of receipt
@NotNull public java.lang.String getContent()
The content of the receipt.
@NotNull public java.lang.String getMerchantTransactionReference()
The transaction reference defined by the merchant to uniquely identify the payment.
@NotNull public ReceiptType component1()
The type of receipt
@NotNull public java.lang.String component2()
The content of the receipt.
@NotNull public java.lang.String component3()
The transaction reference defined by the merchant to uniquely identify the payment.
@NotNull public PaymentReceipt copy(@NotNull ReceiptType type, @NotNull java.lang.String content, @NotNull java.lang.String merchantTransactionReference)
The message to receive a payment receipt.
@NotNull public java.lang.String toString()
The message to receive a payment receipt.
public int hashCode()
The message to receive a payment receipt.
public boolean equals(@Nullable java.lang.Object p)
The message to receive a payment receipt.