TransactionOptions

class TransactionOptions

This class can be used to specify miscellaneous options related to the transaction.

Constructors

TransactionOptions
Link copied to clipboard
fun TransactionOptions()

Properties

appCallbackScheme
Link copied to clipboard
var appCallbackScheme: String? = null
Your unique callback scheme to be used by the external web process (for example PayPal) to return to the merchant app.
boncardConfig
Link copied to clipboard
var boncardConfig: BoncardConfig? = null
Specify the BoncardConfig object here.
cardLabelType
Link copied to clipboard
var cardLabelType: CardLabelType
Use this setting to choose which label to display for the card option in the payment method selection: "Credit card", "Debit card", or "Credit or debit card".
customInitialLoader
Link copied to clipboard
var customInitialLoader: InitialLoader? = null
Sometimes, apps display a loading animation before starting the SDK.
googlePayConfig
Link copied to clipboard
var googlePayConfig: GooglePayConfig? = null
Specify the GooglePayConfig object here.
isTesting
Link copied to clipboard
var isTesting: Boolean = false
Use this setting to switch from production to sandbox.
klarnaConfig
Link copied to clipboard
var klarnaConfig: KlarnaConfig? = null
Specify the KlarnaConfig object here for customizing the Klarna payment option.
samsungPayConfig
Link copied to clipboard
var samsungPayConfig: SamsungPayConfig? = null
Specify the SamsungPayConfig object here.
savedCardDCCShowMode
Link copied to clipboard
var savedCardDCCShowMode: DCCShowMode
Specify this option to control when the DCC (Dynamic Currency Conversion) screen is presented for payments with saved cards (alias/tokenized payments).
suppressCriticalErrorDialog
Link copied to clipboard
var suppressCriticalErrorDialog: Boolean = false
Use this setting to display or hide critical errors.
useCertificatePinning
Link copied to clipboard
var useCertificatePinning: Boolean = false
Whether secure connections to Datatrans servers require a certificate chain signed with a specific CA private key.