false does not appear in the checkout.
Initializers
init(from:)
Inherited fromDecodable.init(from:).
init(googlePay:applePay:card:)
Creates the allowed methods. Every method defaults totrue.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Swift Structure
struct CheckoutAllowedMethods
false does not appear in the checkout.
Decodable.init(from:).
init(from decoder: any Decoder) throws
true.
init(googlePay: Bool? = true, applePay: Bool? = true, card: Bool? = true)
| Property | Type | Description |
|---|---|---|
applePay | Bool? | A Boolean value that shows whether the checkout offers Apple Pay. |
card | Bool? | A Boolean value that shows whether the checkout offers card payment. |
googlePay | Bool? | A Boolean value that shows whether the checkout offers Google Pay. |
Was this page helpful?
