Initializers
init(enabled:defaultCurrency:allowedMethods:)
Creates the fiat payment settings.init(from:)
Inherited fromDecodable.init(from:).
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Swift Structure
struct CheckoutFiatPayment
init(enabled: Bool, defaultCurrency: String? = nil, allowedMethods: CheckoutAllowedMethods? = nil)
Decodable.init(from:).
init(from decoder: any Decoder) throws
| Property | Type | Description |
|---|---|---|
allowedMethods | CheckoutAllowedMethods? | The fiat payment methods the checkout offers. |
defaultCurrency | String? | The currency the checkout selects first, for example "usd" or "eur". |
enabled | Bool | A Boolean value that shows whether the buyer can pay with fiat currency. |
Was this page helpful?
