PaymentMethodParams.klarna constructor
- @JsonSerializable(explicitToJson: true)
- @FreezedUnionValue('Klarna')
const
PaymentMethodParams.klarna(
{ - required PaymentMethodData paymentMethodData,
})
Implementation
@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('Klarna')
const factory PaymentMethodParams.klarna({
/// 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,
}) = _PaymentMethodParamsKlarna;