DropInClient
Used to launch Drop-in and handle results
Constructors
Link copied to clipboard
Link copied to clipboard
open fun DropInClient(activity: FragmentActivity, dropInRequest: DropInRequest, authorization: String)
Link copied to clipboard
Create a new instance of DropInClient from within an Activity using a Tokenization Key authorization.
Link copied to clipboard
Link copied to clipboard
Create a new instance of DropInClient from within a Fragment using a Tokenization Key authorization.
Link copied to clipboard
open fun DropInClient(activity: FragmentActivity, dropInRequest: DropInRequest, clientTokenProvider: ClientTokenProvider)
Link copied to clipboard
Create a new instance of DropInClient from within an Activity using a ClientTokenProvider to fetch authorization.
Link copied to clipboard
open fun DropInClient(fragment: Fragment, dropInRequest: DropInRequest, clientTokenProvider: ClientTokenProvider)
Link copied to clipboard
Create a new instance of DropInClient from within a Fragment using a ClientTokenProvider to fetch authorization.
Functions
Link copied to clipboard
open fun fetchMostRecentPaymentMethod(activity: FragmentActivity, callback: FetchMostRecentPaymentMethodCallback)
Called to get a user's existing payment method, if any.
Link copied to clipboard
For clients using a ClientTokenProvider, call this method to invalidate the existing, cached client token.
Link copied to clipboard
Called to launch a DropInActivity.
Link copied to clipboard
Link copied to clipboard
Add a DropInListener to your client to receive results or errors from DropIn.