Package-level declarations

Types

Link copied to clipboard
class ForageTerminalSDK : ForageSDKInterface

The entry point for in-store POS Terminal transactions.

Link copied to clipboard
data class PosDeferPaymentRefundParams(val foragePinEditText: ForagePINEditText, val paymentRef: String)

A model that represents the parameters that Forage requires to collect a card PIN and defer the refund of the payment to the server. PosDeferPaymentRefundParams are passed to the deferPaymentRefund method.

Link copied to clipboard
data class PosForageConfig(val merchantId: String, val sessionToken: String)

PosForageConfig is only valid for in-store POS Terminal transactions via ForageTerminalSDK.

Link copied to clipboard
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.

Link copied to clipboard
data class PosTokenizeCardParams(val posForageConfig: PosForageConfig, val track2Data: String, val reusable: Boolean = true)

A model that represents the parameters that ForageTerminalSDK requires to tokenize a card via a magnetic swipe from a physical POS Terminal. This data class is not supported for online-only transactions. PosTokenizeCardParams are passed to the tokenizeCard method.