PaymentCredentialsStore

Class for managing and storing payment credentials.

Constructors

Link copied to clipboard
constructor()

Types

Link copied to clipboard
interface Callback
Interface for getting notified when payment credentials are changed
Link copied to clipboard
Interface for getting notified when payment credentials are added

Functions

Link copied to clipboard
open fun add(credentials: PaymentCredentials)
Add and persist payment credentials
Link copied to clipboard
Adds a callback to the payment credentials store
Link copied to clipboard
open fun clear()
Removes all payment credentials
Link copied to clipboard
Validate and get list of all payment credentials stored by the user.
Link copied to clipboard
open fun getCountForProject(project: Project): Int
Get the number of payment credentials of a given project
Link copied to clipboard
Get the number of payment credentials that are usable
Link copied to clipboard
Link copied to clipboard
open fun id(): String
The unique identifier of this storage
Link copied to clipboard
open fun init(context: Context, environment: Environment)
Link copied to clipboard
Link copied to clipboard
open fun remove(credentials: PaymentCredentials)
Remove and persist payment credentials
Link copied to clipboard
Removes a callback to the payment credentials store
Link copied to clipboard
Remove all credentials that are not valid anymore (e.g.