paymentMethodOrder property

List<String>? get paymentMethodOrder
inherited

By default, PaymentSheet will use a dynamic ordering that optimizes payment method display for the customer. You can override the default order in which payment methods are displayed in PaymentSheet with a list of payment method types. See https://stripe.com/docs/api/payment_methods/object#payment_method_object-type for the list of valid types. You may also pass external payment methods. Example: "card", "external_paypal", "klarna" If you omit payment methods from this list, they’ll be automatically ordered by Stripe after the ones you provide. Invalid payment methods are ignored.

Implementation

List<String>? get paymentMethodOrder => throw _privateConstructorUsedError;