Package-level declarations

Types

Link copied to clipboard
data class CapturePaymentParams(val forageVaultElement: ForageVaultElement<ElementState>, val paymentRef: String, val interaction: CardholderInteraction)

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

Link copied to clipboard
data class CheckBalanceParams(val forageVaultElement: ForageVaultElement<ElementState>, val paymentMethodRef: String, val interaction: CardholderInteraction)

A model that represents the parameters that Forage requires to check a card's balance. CheckBalanceParams are passed to the checkBalance method.

Link copied to clipboard
data class DeferPaymentCaptureParams(val forageVaultElement: ForageVaultElement<ElementState>, val paymentRef: String, val interaction: CardholderInteraction)

A model that represents the parameters that Forage requires to collect a card PIN and defer the capture of the payment to the server. DeferPaymentCaptureParams are passed to the deferPaymentCapture method.

Link copied to clipboard
data class DeferPaymentRefundParams(val forageVaultElement: ForageVaultElement<ElementState>, val paymentRef: String, val interaction: CardholderInteraction)

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

Link copied to clipboard

The entry point for in-store POS Terminal transactions.

Link copied to clipboard
data class RefundPaymentParams(val forageVaultElement: ForageVaultElement<ElementState>, val paymentRef: String, val amount: Float, val reason: String, val metadata: Map<String, String>? = null, val interaction: CardholderInteraction)

A model that represents the parameters that ForageTerminalSDK requires to refund a Payment. RefundPaymentParams are passed to the refundPayment method.