public class CardCheck implements CardPaymentRequest, CardCheckRequest
Contains the data for performing a Card Check without payment.
@JvmOverloads public CardCheck(@NotNull CardInteraction type, long value, @NotNull java.lang.String merchantTransactionReference, @Nullable java.lang.String paypointId, boolean isHandledOnline)
Contains the data for performing a Card Check without payment.
type
- The manner in which the payment is to be made (present, keyed or not present).value
- The value of the payment in minor units.merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.paypointId
- Identifier for the paypoint on which the action should or has been performed on.isHandledOnline
- Indicates whether the payment should be performed online or not. Defaults to true if omitted on a payment where it is applicable.Currently, an online/offline choice is only applicable to the check-card and check-card-payment payment types, online/offline processing is determined automatically for all other payments regardless of this indicator.@JvmOverloads public CardCheck(@NotNull CardInteraction type, long value, @NotNull java.lang.String merchantTransactionReference, @Nullable java.lang.String paypointId)
Contains the data for performing a Card Check without payment.
type
- The manner in which the payment is to be made (present, keyed or not present).value
- The value of the payment in minor units.merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.paypointId
- Identifier for the paypoint on which the action should or has been performed on.@JvmOverloads public CardCheck(@NotNull CardInteraction type, long value, @NotNull java.lang.String merchantTransactionReference)
Contains the data for performing a Card Check without payment.
type
- The manner in which the payment is to be made (present, keyed or not present).value
- The value of the payment in minor units.merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.@NotNull public CardInteraction getType()
The manner in which the payment is to be made
(present, keyed or not present).
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 getPaypointId()
Identifier for the paypoint on which the action should or has been performed on.
public boolean isHandledOnline()
Indicates whether the payment should be performed online or not.
Defaults to true if omitted on a payment where it is applicable.Currently, an online/offline choice is only applicable to the check-card and check-card-payment payment types, online/offline processing is determined automatically for all other payments regardless of this indicator.
@NotNull public CardInteraction component1()
The manner in which the payment is to be made
(present, keyed or not present).
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()
Identifier for the paypoint on which the action should or has been performed on.
public boolean component5()
Indicates whether the payment should be performed online or not.
Defaults to true if omitted on a payment where it is applicable.Currently, an online/offline choice is only applicable to the check-card and check-card-payment payment types, online/offline processing is determined automatically for all other payments regardless of this indicator.
@NotNull public CardCheck copy(@NotNull CardInteraction type, long value, @NotNull java.lang.String merchantTransactionReference, @Nullable java.lang.String paypointId, boolean isHandledOnline)
Contains the data for performing a Card Check without payment.
@NotNull public java.lang.String toString()
Contains the data for performing a Card Check without payment.
public int hashCode()
Contains the data for performing a Card Check without payment.
public boolean equals(@Nullable java.lang.Object p)
Contains the data for performing a Card Check without payment.