public class TokenisedCardRefund implements TokenisedCardPaymentRequest
Contains the data for performing a tokenised Card refund.
@JvmOverloads public TokenisedCardRefund(@NotNull java.lang.String tokenId, long value, @NotNull java.lang.String merchantTransactionReference, @Nullable java.lang.String originalMerchantCode, @Nullable java.lang.String originalTransactionReference, @Nullable java.lang.String originalGatewayTransactionReference, @Nullable java.lang.String paypointId)
Contains the data for performing a tokenised Card refund.
tokenId
- The card token to be used for the payment.value
- The value of the payment in minor units.merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.originalMerchantCode
- provide the merchant code used in the original sale being refunded.originalTransactionReference
- provide the transaction reference from the original sale being refunded.originalGatewayTransactionReference
- For refunding card sales, optionally provide the Payment Gateway Transaction Reference of the original sale being refunded.paypointId
- Identifier for the paypoint on which the action should or has been performed on.@JvmOverloads public TokenisedCardRefund(@NotNull java.lang.String tokenId, long value, @NotNull java.lang.String merchantTransactionReference, @Nullable java.lang.String originalMerchantCode, @Nullable java.lang.String originalTransactionReference, @Nullable java.lang.String originalGatewayTransactionReference)
Contains the data for performing a tokenised Card refund.
tokenId
- The card token to be used for the payment.value
- The value of the payment in minor units.merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.originalMerchantCode
- provide the merchant code used in the original sale being refunded.originalTransactionReference
- provide the transaction reference from the original sale being refunded.originalGatewayTransactionReference
- For refunding card sales, optionally provide the Payment Gateway Transaction Reference of the original sale being refunded.@NotNull public java.lang.String getTokenId()
The card token to be used for the payment.
public long getValue()
The value of the payment in minor units.
@NotNull public java.lang.String getMerchantTransactionReference()
The transaction reference defined by the merchant to uniquely identify the payment.
@Nullable public java.lang.String getOriginalMerchantCode()
provide the merchant code used in the original sale being refunded.
@Nullable public java.lang.String getOriginalTransactionReference()
provide the transaction reference from the original sale being refunded.
@Nullable public java.lang.String getOriginalGatewayTransactionReference()
For refunding card sales,
optionally provide the Payment Gateway Transaction Reference of the original sale being refunded.
@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 card token to be used for the payment.
public long component2()
The value of the payment in minor units.
@NotNull public java.lang.String component3()
The transaction reference defined by the merchant to uniquely identify the payment.
@Nullable public java.lang.String component4()
provide the merchant code used in the original sale being refunded.
@Nullable public java.lang.String component5()
provide the transaction reference from the original sale being refunded.
@Nullable public java.lang.String component6()
For refunding card sales,
optionally provide the Payment Gateway Transaction Reference of the original sale being refunded.
@Nullable public java.lang.String component7()
Identifier for the paypoint on which the action should or has been performed on.
@NotNull public TokenisedCardRefund copy(@NotNull java.lang.String tokenId, long value, @NotNull java.lang.String merchantTransactionReference, @Nullable java.lang.String originalMerchantCode, @Nullable java.lang.String originalTransactionReference, @Nullable java.lang.String originalGatewayTransactionReference, @Nullable java.lang.String paypointId)
Contains the data for performing a tokenised Card refund.
@NotNull public java.lang.String toString()
Contains the data for performing a tokenised Card refund.
public int hashCode()
Contains the data for performing a tokenised Card refund.
public boolean equals(@Nullable java.lang.Object p)
Contains the data for performing a tokenised Card refund.