CrossmintCheckoutFiatPayment class final

Fiat payment configuration — credit card, Apple Pay, Google Pay.

Set enabled to false and leave the rest null to hide the fiat tab entirely. When enabled is true, method availability defaults to the merchant / project configuration on the server — override individual methods via allowCard, allowApplePay, allowGooglePay.

Constructors

CrossmintCheckoutFiatPayment({required bool enabled, String? defaultCurrency, bool? allowCard, bool? allowApplePay, bool? allowGooglePay})
Creates a fiat payment config.
const

Properties

allowApplePay bool?
When false, hides Apple Pay. null keeps the project default.
final
allowCard bool?
When false, hides the credit-card payment method. null keeps the project default.
final
allowGooglePay bool?
When false, hides Google Pay. null keeps the project default.
final
defaultCurrency String?
ISO 4217 currency code preselected in the fiat tab (e.g. "USD").
final
enabled bool
Whether fiat payments are enabled.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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