public class AlipayPaymentInstrument extends PaymentResultInstrument
Holds data about how the payment was performed.
public AlipayPaymentInstrument(@NotNull java.lang.String barcode, @Nullable PaymentAuthorisation authorisation)
Holds data about how the payment was performed.
barcode
- The barcode value generated by the customer's Alipay app and scanned by the merchant.authorisation
- Data for the authorisation of the payment.@NotNull public PaymentInstrumentType getType()
@NotNull public java.lang.String getBarcode()
The barcode value generated by the customer
's Alipay app and scanned by the merchant.
@Nullable public PaymentAuthorisation getAuthorisation()
Data for the authorisation of the payment.
@NotNull public java.lang.String component1()
The barcode value generated by the customer
's Alipay app and scanned by the merchant.
@Nullable public PaymentAuthorisation component2()
Data for the authorisation of the payment.
@NotNull public AlipayPaymentInstrument copy(@NotNull java.lang.String barcode, @Nullable PaymentAuthorisation authorisation)
Holds data about how the payment was performed.
@NotNull public java.lang.String toString()
Holds data about how the payment was performed.
public int hashCode()
Holds data about how the payment was performed.
public boolean equals(@Nullable java.lang.Object p)
Holds data about how the payment was performed.