IntentConfiguration
Parameters
mode
Whether PaymentSheet should present a payment or setup flow.
constructor(mode: PaymentSheet.IntentConfiguration.Mode, paymentMethodTypes: List<String> = emptyList(), paymentMethodConfigurationId: String? = null, onBehalfOf: String? = null, requireCvcRecollection: Boolean = false)
Deprecated
Use the required-argument constructor and the builder methods instead.
Replace with
IntentConfiguration(mode).paymentMethodTypes(paymentMethodTypes).paymentMethodConfigurationId(paymentMethodConfigurationId).onBehalfOf(onBehalfOf).requireCvcRecollection(requireCvcRecollection)Content copied to clipboard
Deprecated
Use the required-argument constructor and the builder methods instead.
Replace with
IntentConfiguration(mode).paymentMethodTypes(paymentMethodTypes)Content copied to clipboard
constructor(mode: PaymentSheet.IntentConfiguration.Mode, paymentMethodTypes: List<String>, paymentMethodConfigurationId: String?)
Deprecated
Use the required-argument constructor and the builder methods instead.
Replace with
IntentConfiguration(mode).paymentMethodTypes(paymentMethodTypes).paymentMethodConfigurationId(paymentMethodConfigurationId)Content copied to clipboard
constructor(mode: PaymentSheet.IntentConfiguration.Mode, paymentMethodTypes: List<String>, paymentMethodConfigurationId: String?, onBehalfOf: String?)
Deprecated
Use the required-argument constructor and the builder methods instead.
Replace with
IntentConfiguration(mode).paymentMethodTypes(paymentMethodTypes).paymentMethodConfigurationId(paymentMethodConfigurationId).onBehalfOf(onBehalfOf)Content copied to clipboard
constructor(sharedPaymentTokenSessionWithMode: PaymentSheet.IntentConfiguration.Mode, sellerDetails: PaymentSheet.IntentConfiguration.SellerDetails?, paymentMethodTypes: List<String> = emptyList(), paymentMethodConfigurationId: String? = null, onBehalfOf: String? = null, requireCvcRecollection: Boolean = false)
Deprecated
Use the required-argument constructor and the builder methods instead.
Replace with
IntentConfiguration(sharedPaymentTokenSessionWithMode).sharedPaymentTokenSession(sellerDetails).paymentMethodTypes(paymentMethodTypes).paymentMethodConfigurationId(paymentMethodConfigurationId).onBehalfOf(onBehalfOf).requireCvcRecollection(requireCvcRecollection)Content copied to clipboard