public class CardSettlement
Contains the data for settling a pre-auth.
@JvmOverloads public CardSettlement(@NotNull java.lang.String merchantTransactionReference, @NotNull java.lang.String gatewayTransactionReference, @NotNull java.lang.String cardNumber, @NotNull CardDate cardExpiryDate, long value, @Nullable java.lang.String paypointId)
Contains the data for settling a pre-auth.
merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.gatewayTransactionReference
- The Payment Gateway Transaction Reference (PGTR) of the pre-auth payment to settle.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 (MM/YY).value
- Mandatory value of the payment in minor units.paypointId
- Identifier for the paypoint on which the action should or has been performed on.@JvmOverloads public CardSettlement(@NotNull java.lang.String merchantTransactionReference, @NotNull java.lang.String gatewayTransactionReference, @NotNull java.lang.String cardNumber, @NotNull CardDate cardExpiryDate, long value)
Contains the data for settling a pre-auth.
merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.gatewayTransactionReference
- The Payment Gateway Transaction Reference (PGTR) of the pre-auth payment to settle.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 (MM/YY).value
- Mandatory value of the payment in minor units.@NotNull public java.lang.String toString()
@NotNull public java.lang.String getMerchantTransactionReference()
The transaction reference defined by the merchant to uniquely identify the payment.
@NotNull public java.lang.String getGatewayTransactionReference()
The Payment Gateway Transaction Reference
(PGTR) of the pre-auth payment to settle.
@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
(MM/YY).
public long getValue()
Mandatory value of the payment in minor units.
@Nullable public java.lang.String getPaypointId()
Identifier for the paypoint on which the action should or has been performed on.
@NotNull public java.lang.String component1()
The transaction reference defined by the merchant to uniquely identify the payment.
@NotNull public java.lang.String component2()
The Payment Gateway Transaction Reference
(PGTR) of the pre-auth payment to settle.
@NotNull public java.lang.String component3()
The masked card number of the card used in the original payment to check against.
@NotNull public CardDate component4()
The expiry date of the card used in the original payment to check against
(MM/YY).
public long component5()
Mandatory value of the payment in minor units.
@Nullable public java.lang.String component6()
Identifier for the paypoint on which the action should or has been performed on.
@NotNull public CardSettlement copy(@NotNull java.lang.String merchantTransactionReference, @NotNull java.lang.String gatewayTransactionReference, @NotNull java.lang.String cardNumber, @NotNull CardDate cardExpiryDate, long value, @Nullable java.lang.String paypointId)
Contains the data for settling a pre-auth.
public int hashCode()
Contains the data for settling a pre-auth.
public boolean equals(@Nullable java.lang.Object p)
Contains the data for settling a pre-auth.