public class CashbackAmountComplete extends PaymentActionComplete
Contains all the data to be sent when Cashback amount is required during a payment
public CashbackAmountComplete(@NotNull java.lang.String merchantTransactionReference, int cashbackAmount)
Contains all the data to be sent when Cashback amount is required during a payment
merchantTransactionReference
- The transaction reference defined by the merchant to uniquely identify the payment.cashbackAmount
- the amount of cash back to be included in the payment, in minor currency units.@NotNull public ActionType getAction()
@NotNull public java.lang.String getMerchantTransactionReference()
The transaction reference defined by the merchant to uniquely identify the payment.
public int getCashbackAmount()
the amount of cash back to be included in the payment,
in minor currency units.
@NotNull public java.lang.String component1()
The transaction reference defined by the merchant to uniquely identify the payment.
public int component2()
the amount of cash back to be included in the payment,
in minor currency units.
@NotNull public CashbackAmountComplete copy(@NotNull java.lang.String merchantTransactionReference, int cashbackAmount)
Contains all the data to be sent when Cashback amount is required during a payment
@NotNull public java.lang.String toString()
Contains all the data to be sent when Cashback amount is required during a payment
public int hashCode()
Contains all the data to be sent when Cashback amount is required during a payment
public boolean equals(@Nullable java.lang.Object p)
Contains all the data to be sent when Cashback amount is required during a payment