CrossmintCheckoutPayment constructor
const
CrossmintCheckoutPayment({
- CrossmintCheckoutFiatPayment? fiat,
- CrossmintCheckoutCryptoPayment? crypto,
- String? defaultMethod,
- CrossmintCheckoutDefaultMethod? defaultMethodType,
- String? receiptEmail,
Creates a payment configuration.
Use defaultMethodType for compile-time-safe default method selection.
The raw defaultMethod string remains for forward compatibility — when
both are set, defaultMethodType takes precedence.
Implementation
const CrossmintCheckoutPayment({
this.fiat,
this.crypto,
this.defaultMethod,
this.defaultMethodType,
this.receiptEmail,
});