public class Payment
Holds payment result information return from the remote host
public Payment(@NotNull PaymentType paymentType, @NotNull java.lang.String transactionDateTime, @NotNull PaymentOutcome outcome, @NotNull PaymentResultCode result, @NotNull Paypoint paypoint, @NotNull java.lang.String merchantTransactionReference, @Nullable Transaction value, @Nullable PaymentResultInstrument paymentInstrument, @Nullable Merchant merchant, @Nullable java.lang.String gatewayTransactionReference, @Nullable java.lang.Long eftSequenceNumber, @Nullable java.lang.Long retrievalReferenceNumber, @Nullable java.lang.Long receiptNumber, @Nullable java.lang.String receiptRetentionReminder, @Nullable java.lang.String receiptCustomerDeclaration, @Nullable java.lang.String taxFreeVoucher)
Holds payment result information return from the remote host
paymentType
- the type of the payment (see PaymentType).transactionDateTime
- The date-time at which the transaction was processed. Represented as a date-time according to RFC 3339, section 5.6, including the relevant time zone.paypoint
- The paypoint the request has been performed on.merchantTransactionReference
- the transaction reference of the payment.value
- Details of the payments value and currency (see Transaction), if available.paymentInstrument
- details of how the transaction was performed.merchant
- Details about the merchant who did the transaction.gatewayTransactionReference
- The transaction reference generated by the payment gateway to uniquely identify the payment.eftSequenceNumber
- the eft sequence number.retrievalReferenceNumber
- The retrieval reference number for the transaction.receiptNumber
- the number of the receipt.receiptRetentionReminder
- A retention reminder to include on receipts.receiptCustomerDeclaration
- A customer declaration to include on receipts.taxFreeVoucher
- The content of the voucher. The first 2 characters of each line a print command, followed by the text to print.@NotNull public PaymentType getPaymentType()
@NotNull public java.lang.String getTransactionDateTime()
@NotNull public PaymentOutcome getOutcome()
@NotNull public PaymentResultCode getResult()
@NotNull public Paypoint getPaypoint()
@NotNull public java.lang.String getMerchantTransactionReference()
@Nullable public Transaction getValue()
@Nullable public PaymentResultInstrument getPaymentInstrument()
@Nullable public Merchant getMerchant()
@Nullable public java.lang.String getGatewayTransactionReference()
@Nullable public java.lang.Long getEftSequenceNumber()
@Nullable public java.lang.Long getRetrievalReferenceNumber()
@Nullable public java.lang.Long getReceiptNumber()
@Nullable public java.lang.String getReceiptRetentionReminder()
@Nullable public java.lang.String getReceiptCustomerDeclaration()
@Nullable public java.lang.String getTaxFreeVoucher()
@NotNull public PaymentType component1()
@NotNull public java.lang.String component2()
@NotNull public PaymentOutcome component3()
@NotNull public PaymentResultCode component4()
@NotNull public Paypoint component5()
@NotNull public java.lang.String component6()
@Nullable public Transaction component7()
@Nullable public PaymentResultInstrument component8()
@Nullable public Merchant component9()
@Nullable public java.lang.String component10()
@Nullable public java.lang.Long component11()
@Nullable public java.lang.Long component12()
@Nullable public java.lang.Long component13()
@Nullable public java.lang.String component14()
@Nullable public java.lang.String component15()
@Nullable public java.lang.String component16()
@NotNull public Payment copy(@NotNull PaymentType paymentType, @NotNull java.lang.String transactionDateTime, @NotNull PaymentOutcome outcome, @NotNull PaymentResultCode result, @NotNull Paypoint paypoint, @NotNull java.lang.String merchantTransactionReference, @Nullable Transaction value, @Nullable PaymentResultInstrument paymentInstrument, @Nullable Merchant merchant, @Nullable java.lang.String gatewayTransactionReference, @Nullable java.lang.Long eftSequenceNumber, @Nullable java.lang.Long retrievalReferenceNumber, @Nullable java.lang.Long receiptNumber, @Nullable java.lang.String receiptRetentionReminder, @Nullable java.lang.String receiptCustomerDeclaration, @Nullable java.lang.String taxFreeVoucher)
Holds payment result information return from the remote host
paymentType
- the type of the payment (see PaymentType).transactionDateTime
- The date-time at which the transaction was processed. Represented as a date-time according to RFC 3339, section 5.6, including the relevant time zone.paypoint
- The paypoint the request has been performed on.merchantTransactionReference
- the transaction reference of the payment.value
- Details of the payments value and currency (see Transaction), if available.paymentInstrument
- details of how the transaction was performed.merchant
- Details about the merchant who did the transaction.gatewayTransactionReference
- The transaction reference generated by the payment gateway to uniquely identify the payment.eftSequenceNumber
- the eft sequence number.retrievalReferenceNumber
- The retrieval reference number for the transaction.receiptNumber
- the number of the receipt.receiptRetentionReminder
- A retention reminder to include on receipts.receiptCustomerDeclaration
- A customer declaration to include on receipts.taxFreeVoucher
- The content of the voucher. The first 2 characters of each line a print command, followed by the text to print.@NotNull public java.lang.String toString()
Holds payment result information return from the remote host
public int hashCode()
Holds payment result information return from the remote host
public boolean equals(@Nullable java.lang.Object p)
Holds payment result information return from the remote host