DropInClient

open fun DropInClient(activity: FragmentActivity, authorization: String)

Create a new instance of DropInClient from within an Activity using a Tokenization Key authorization.

Parameters

authorization

a Tokenization Key authorization string


open fun DropInClient(fragment: Fragment, authorization: String)

Create a new instance of DropInClient from within a Fragment using a Tokenization Key authorization.

Parameters

fragment
authorization

a Tokenization Key authorization string


open fun DropInClient(activity: FragmentActivity, clientTokenProvider: ClientTokenProvider)

Create a new instance of DropInClient from within an Activity using a ClientTokenProvider to fetch authorization.

Parameters

clientTokenProvider

open fun DropInClient(fragment: Fragment, clientTokenProvider: ClientTokenProvider)

Create a new instance of DropInClient from within a Fragment using a ClientTokenProvider to fetch authorization.

Parameters

fragment
clientTokenProvider

open fun DropInClient(context: Context, authorization: String, dropInRequest: DropInRequest)

Deprecated

Deprecated

use DropInClient or DropInClient instead.

Create a new instance of DropInClient.

Parameters

context
authorization

a Tokenization Key or Client Token authorization String.

dropInRequest

a DropInRequest configured with options for launching Drop-in


open fun DropInClient(activity: FragmentActivity, dropInRequest: DropInRequest, authorization: String)

Deprecated

Deprecated

use DropInClient instead.

Create a new instance of DropInClient from within an Activity using a Tokenization Key authorization.

Parameters

dropInRequest

a DropInRequest configured with options for launching Drop-in

authorization

a Tokenization Key authorization string


open fun DropInClient(fragment: Fragment, dropInRequest: DropInRequest, authorization: String)

Deprecated

Deprecated

use DropInClient instead.

Create a new instance of DropInClient from within a Fragment using a Tokenization Key authorization.

Parameters

fragment
dropInRequest

a DropInRequest configured with options for launching Drop-in

authorization

a Tokenization Key authorization string


open fun DropInClient(activity: FragmentActivity, dropInRequest: DropInRequest, clientTokenProvider: ClientTokenProvider)

Deprecated

Deprecated

use DropInClient instead.

Create a new instance of DropInClient from within an Activity using a ClientTokenProvider to fetch authorization.

Parameters

dropInRequest

a DropInRequest configured with options for launching Drop-in

clientTokenProvider

open fun DropInClient(fragment: Fragment, dropInRequest: DropInRequest, clientTokenProvider: ClientTokenProvider)

Deprecated

Deprecated

use DropInClient instead.

Create a new instance of DropInClient from within a Fragment using a ClientTokenProvider to fetch authorization.

Parameters

fragment
dropInRequest

a DropInRequest configured with options for launching Drop-in

clientTokenProvider