Configuration class

A class representing configuration parameters for the payment sheet.

Constructors

Configuration({Appearance? appearance, bool? allowsDelayedPaymentMethods, bool? allowsPaymentMethodsRequiringShippingAddress, String? merchantDisplayName, String? primaryButtonLabel, Customer? customer, BillingDetails? defaultBillingDetails, ShippingDetails? shippingDetails, Placeholder? placeholder, bool? displaySavedPaymentMethodsCheckbox, bool? displaySavedPaymentMethods, bool? displayAddNewPaymentMethod, String? paymentSheetHeaderLabel, String? savedPaymentSheetHeaderLabel, bool? displayDefaultSavedPaymentIcon, String? netceteraSDKApiKey, bool? defaultView, bool? disableBranding, bool? debugLogging})

Properties

allowsDelayedPaymentMethods ↔ bool?
getter/setter pair
allowsPaymentMethodsRequiringShippingAddress ↔ bool?
getter/setter pair
appearance ↔ Appearance?
getter/setter pair
customer ↔ Customer?
Ignored by the native SDK — see Customer. Set PaymentMethodParams.ephemeralKey instead.
getter/setter pair
debugLogging ↔ bool?
Logs the parameters handed to the native payment sheet, on both platforms.
getter/setter pair
defaultBillingDetails ↔ BillingDetails?
Prefills nothing and hides nothing.
getter/setter pair
defaultView ↔ bool?
Opens the sheet directly on the card form instead of the payment-method list.
getter/setter pair
disableBranding ↔ bool?
Hides the SDK's branding footer.
getter/setter pair
displayAddNewPaymentMethod ↔ bool?
Hides the "Add new payment method" link on the saved-methods screen.
getter/setter pair
displayDefaultSavedPaymentIcon ↔ bool?
getter/setter pair
displaySavedPaymentMethods ↔ bool?
getter/setter pair
displaySavedPaymentMethodsCheckbox ↔ bool?
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
merchantDisplayName ↔ String?
getter/setter pair
netceteraSDKApiKey ↔ String?
getter/setter pair
paymentSheetHeaderLabel ↔ String?
getter/setter pair
placeholder ↔ Placeholder?
getter/setter pair
primaryButtonLabel ↔ String?
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
savedPaymentSheetHeaderLabel ↔ String?
getter/setter pair
shippingDetails ↔ ShippingDetails?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited