PaymentMethod constructor
const
PaymentMethod({
- PaymentMethodAcssDebit? acssDebit,
- PaymentMethodAffirm? affirm,
- PaymentMethodAfterpayClearpay? afterpayClearpay,
- PaymentFlowsPrivatePaymentMethodsAlipay? alipay,
- PaymentMethodAuBecsDebit? auBecsDebit,
- PaymentMethodBacsDebit? bacsDebit,
- PaymentMethodBancontact? bancontact,
- required BillingDetails billingDetails,
- PaymentMethodBlik? blik,
- PaymentMethodBoleto? boleto,
- PaymentMethodCard? card,
- PaymentMethodCardPresent? cardPresent,
- PaymentMethodCashapp? cashapp,
- required DateTime created,
- CustomerOrId? customer,
- PaymentMethodCustomerBalance? customerBalance,
- PaymentMethodEps? eps,
- PaymentMethodFpx? fpx,
- PaymentMethodGiropay? giropay,
- PaymentMethodGrabpay? grabpay,
- required String id,
- PaymentMethodIdeal? ideal,
- PaymentMethodInteracPresent? interacPresent,
- PaymentMethodKlarna? klarna,
- PaymentMethodKonbini? konbini,
- PaymentMethodLink? link,
- required bool livemode,
- Map<
String, String> ? metadata, - PaymentMethodMobilepay? mobilepay,
- PaymentMethodOxxo? oxxo,
- PaymentMethodP24? p24,
- PaymentMethodPaynow? paynow,
- PaymentMethodPaypal? paypal,
- PaymentMethodPix? pix,
- PaymentMethodPromptpay? promptpay,
- RadarRadarOptions? radarOptions,
- PaymentMethodRevolutPay? revolutPay,
- PaymentMethodSepaDebit? sepaDebit,
- PaymentMethodSofort? sofort,
- PaymentMethodSwish? swish,
- required ConfirmationTokenPaymentMethodPreviewType type,
- PaymentMethodUsBankAccount? usBankAccount,
- PaymentMethodWechatPay? wechatPay,
- PaymentMethodZip? zip,
PaymentMethod
PaymentMethod objects represent your customer's payment instruments. You can use them with [PaymentIntents](https://stripe.com/docs/payments/payment-intents) to collect payments or save them to Customer objects to store instrument details for future payments. Related guides: [Payment Methods](https://stripe.com/docs/payments/payment-methods) and [More Payment Scenarios](https://stripe.com/docs/payments/more-payment-scenarios).
Implementation
const PaymentMethod({
this.acssDebit,
this.affirm,
this.afterpayClearpay,
this.alipay,
this.auBecsDebit,
this.bacsDebit,
this.bancontact,
required this.billingDetails,
this.blik,
this.boleto,
this.card,
this.cardPresent,
this.cashapp,
required this.created,
this.customer,
this.customerBalance,
this.eps,
this.fpx,
this.giropay,
this.grabpay,
required this.id,
this.ideal,
this.interacPresent,
this.klarna,
this.konbini,
this.link,
required this.livemode,
this.metadata,
this.mobilepay,
this.oxxo,
this.p24,
this.paynow,
this.paypal,
this.pix,
this.promptpay,
this.radarOptions,
this.revolutPay,
this.sepaDebit,
this.sofort,
this.swish,
required this.type,
this.usBankAccount,
this.wechatPay,
this.zip,
});