PaymentMethodParams.klarna constructor

  1. @JsonSerializable(explicitToJson: true)
  2. @FreezedUnionValue('Klarna')
const PaymentMethodParams.klarna({
  1. 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;