Pos Refund Payment Params
data class PosRefundPaymentParams(val foragePinEditText: ForagePINEditText, val paymentRef: String, val amount: Float, val reason: String, val metadata: Map<String, String>? = null)
A model that represents the parameters that ForageTerminalSDK requires to refund a Payment. PosRefundPaymentParams are passed to the refundPayment method.
Properties
Link copied to clipboard
Required. A reference to the ForagePINEditText instance that collected the card PIN for the refund. setForageConfig must be called on the instance before it can be passed.
Link copied to clipboard
Required. A unique string identifier for a previously created Payment
in Forage's database, returned by the Create a Payment
endpoint.