data class TokenizeEBTCardParams(val foragePanEditText: ForagePANEditText, val customerId: String? = null, val reusable: Boolean = true)

A model that represents the parameters that Forage requires to tokenize an EBT Card. TokenizeEBTCardParams are passed to the tokenizeEBTCard method.


Link copied to clipboard
constructor(foragePanEditText: ForagePANEditText, customerId: String? = null, reusable: Boolean = true)


Link copied to clipboard
val customerId: String? = null

A unique ID for the customer making the payment. If using your internal customer ID, then we recommend that you hash the value before sending it on the payload.

Link copied to clipboard

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

Link copied to clipboard
val reusable: Boolean = true

An optional boolean value that indicates whether the same card can be used to create multiple payments, set to true by default.