IntentBuilder

class IntentBuilder(context: Context)

Constructors

Link copied to clipboard
fun IntentBuilder(context: Context)

Functions

Link copied to clipboard
fun accessToken(accessToken: AccessToken): XPayments.IntentBuilder

Set a Pay Station access token

Link copied to clipboard
fun build(): Intent

Build the intent

Link copied to clipboard
fun isSandbox(isSandbox: Boolean): XPayments.IntentBuilder

Set the sandbox mode

Link copied to clipboard

Set a Pay Station version

Link copied to clipboard
fun setActivityOrientationLock(activityOrientationLock: ActivityOrientationLock?): XPayments.IntentBuilder

Sets the activity orientation lock if supported by the specified ActivityType.

Link copied to clipboard
fun setActivityType(activityType: ActivityType?): XPayments.IntentBuilder

Sets what sort of activity is used to present the PayStation content in.

Link copied to clipboard
fun setForceSystemBrowser(force: Boolean): XPayments.IntentBuilder

Forces the use of an external (system) browser to open Pay Station.

Link copied to clipboard

Sets the function to call after Pay Station closes.

Link copied to clipboard
fun setRedirectUriHost(redirectHost: String): XPayments.IntentBuilder

Set the redirect uri host

Link copied to clipboard
fun setRedirectUriScheme(redirectScheme: String): XPayments.IntentBuilder

Set the redirect uri scheme

Link copied to clipboard
fun setShortPollingTimeout(timeout: Long): XPayments.IntentBuilder

in seconds

Link copied to clipboard

Sets the function to call after order status received.

Link copied to clipboard

Sets trusted web activity's background image via a TrustedWebActivityImageRef.

Link copied to clipboard
fun useWebview(useWebview: Boolean): XPayments.IntentBuilder

Set use WebView instead of a browser

Sources

Link copied to clipboard