CashbackAmountComplete
@objcMembers
public class CashbackAmountComplete : PaymentAction
Contains all the data to be sent when Cashback amount is required during a payment
-
Contains all the data to be sent when Cashback amount is required during a payment
Declaration
Swift
public init(merchantTransactionReference: String, cashbackAmount: Int)
Parameters
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.
-
Used to parse the request to the server.
Declaration
Swift
override public func encode(to encoder: Encoder) throws
-
Used to print the debug content of the object
Declaration
Swift
override public var debugDescription: String { get }