CardClient

Use this client to approve an order with a Card.

Constructors

Link copied to clipboard
constructor(context: Context, configuration: CoreConfig)

CardClient constructor

Properties

Link copied to clipboard

Capture instance state for later restoration. This can be useful for recovery during a process kill.

Functions

Link copied to clipboard

Confirm Card payment source for an order.

Link copied to clipboard

After a merchant app has re-entered the foreground following an auth challenge (@see CardClient.approveOrder), call this method to see if a user has successfully approved their Credit (or Debit) card as a payment source.

Link copied to clipboard

After a merchant app has re-entered the foreground following an auth challenge (@see CardClient.vault), call this method to see if a user has successfully authorized their Credit (or Debit) card for vaulting.

Link copied to clipboard

Present an auth challenge received from a CardClient.approveOrder or CardClient.vault result.

Link copied to clipboard
fun restore(instanceState: String)

Restore a feature client using instance state. @see instanceState