PaymentMethodParams.payPal constructor
- @JsonSerializable(explicitToJson: true)
- @FreezedUnionValue('PayPal')
- required PaymentMethodData paymentMethodData,
Paypal is in private beta make sure to request access at Stripe to try it out.
Implementation
@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('PayPal')
/// Paypal is in private beta make sure to request access at Stripe to try it out.
const factory PaymentMethodParams.payPal({
/// Paymentmethod data for this paymentmethod.
///
/// Make sure to add an email and country (part of the address) in the
/// billingdetails which is required for using Klarna.
required PaymentMethodData paymentMethodData,
}) = _PaymentMethodParamsPayPal;