public class CardPaymentInstrument extends PaymentResultInstrument
Holds data about how the payment was performed.
public CardPaymentInstrument(@NotNull PaymentInstrumentType type, @Nullable java.lang.String posEntryMode, @Nullable java.lang.String cardVerificationMethod, @Nullable java.lang.Boolean isHandledOnline, @Nullable PaymentCard card, @Nullable PaymentAuthorisation authorisation, @Nullable CardPaymentDebug debug)
Holds data about how the payment was performed.
type
- The type of payment instrument. This will also dictate which other payment instrument fields are required to fulfil the payment.posEntryMode
- The 2-digit code representing the PAN Entry Mode of the POS Entry Mode.cardVerificationMethod
- The numeric code representing the verification method of the card.isHandledOnline
- Indicates whether the payment request was handled online or not. Currently, this is only applicable to check-card and check-card-payment payment types.card
- Data for the card used in the payment.authorisation
- Data for the authorisation of the payment.debug
- Debug information.@NotNull public PaymentInstrumentType getType()
The type of payment instrument.
This will also dictate which other payment instrument fields are required to fulfil the payment.
@Nullable public java.lang.String getPosEntryMode()
The 2-digit code representing the PAN Entry Mode of the POS Entry Mode.
@Nullable public java.lang.String getCardVerificationMethod()
The numeric code representing the verification method of the card.
@Nullable public java.lang.Boolean isHandledOnline()
Indicates whether the payment request was handled online or not.
Currently, this is only applicable to check-card and check-card-payment payment types.
@Nullable public PaymentCard getCard()
Data for the card used in the payment.
@Nullable public PaymentAuthorisation getAuthorisation()
Data for the authorisation of the payment.
@Nullable public CardPaymentDebug getDebug()
Debug information.
@NotNull public PaymentInstrumentType component1()
The type of payment instrument.
This will also dictate which other payment instrument fields are required to fulfil the payment.
@Nullable public java.lang.String component2()
The 2-digit code representing the PAN Entry Mode of the POS Entry Mode.
@Nullable public java.lang.String component3()
The numeric code representing the verification method of the card.
@Nullable public java.lang.Boolean component4()
Indicates whether the payment request was handled online or not.
Currently, this is only applicable to check-card and check-card-payment payment types.
@Nullable public PaymentCard component5()
Data for the card used in the payment.
@Nullable public PaymentAuthorisation component6()
Data for the authorisation of the payment.
@Nullable public CardPaymentDebug component7()
Debug information.
@NotNull public CardPaymentInstrument copy(@NotNull PaymentInstrumentType type, @Nullable java.lang.String posEntryMode, @Nullable java.lang.String cardVerificationMethod, @Nullable java.lang.Boolean isHandledOnline, @Nullable PaymentCard card, @Nullable PaymentAuthorisation authorisation, @Nullable CardPaymentDebug debug)
Holds data about how the payment was performed.
type
- The type of payment instrument. This will also dictate which other payment instrument fields are required to fulfil the payment.posEntryMode
- The 2-digit code representing the PAN Entry Mode of the POS Entry Mode.cardVerificationMethod
- The numeric code representing the verification method of the card.isHandledOnline
- Indicates whether the payment request was handled online or not. Currently, this is only applicable to check-card and check-card-payment payment types.card
- Data for the card used in the payment.authorisation
- Data for the authorisation of the payment.debug
- Debug information.@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.