public class Card
Details to validate against a previous card-based pre-auth
public Card(@NotNull CardInteraction type, @NotNull java.lang.String cardNumber, @NotNull CardDate cardExpiryDate)
Details to validate against a previous card-based pre-auth
type
- The manner in which the payment is to be made (present, keyed or not present).cardNumber
- The masked card number of the card used in the original payment to check against.cardExpiryDate
- The expiry date of the card used in the original payment to check against.@NotNull public java.lang.String toString()
@NotNull public CardInteraction getType()
The manner in which the payment is to be made
(present, keyed or not present).
@NotNull public java.lang.String getCardNumber()
The masked card number of the card used in the original payment to check against.
@NotNull public CardDate getCardExpiryDate()
The expiry date of the card used in the original payment to check against.
@NotNull public CardInteraction component1()
The manner in which the payment is to be made
(present, keyed or not present).
@NotNull public java.lang.String component2()
The masked card number of the card used in the original payment to check against.
@NotNull public CardDate component3()
The expiry date of the card used in the original payment to check against.
@NotNull public Card copy(@NotNull CardInteraction type, @NotNull java.lang.String cardNumber, @NotNull CardDate cardExpiryDate)
Details to validate against a previous card-based pre-auth
public int hashCode()
Details to validate against a previous card-based pre-auth
public boolean equals(@Nullable java.lang.Object p)
Details to validate against a previous card-based pre-auth