data class CapturePaymentParams(val foragePinEditText: ForagePINEditText, val paymentRef: String)

A model that represents the parameters that Forage requires to capture a payment. CapturePaymentParams are passed to the capturePayment method.


Link copied to clipboard
constructor(foragePinEditText: ForagePINEditText, paymentRef: String)


Link copied to clipboard

A reference to a ForagePINEditText instance. setForageConfig must be called on the instance before it can be passed.

Link copied to clipboard

A unique string identifier for a previously created Payment in Forage's database, returned by the Create a Payment endpoint.