PaymentElementFields constructor

const PaymentElementFields({
  1. @Default(BillingDetailsFields.auto) BillingDetailsFields billingDetails,
})

Implementation

const factory PaymentElementFields({
  /// Specify never to avoid collecting all billing details in the
  /// Payment Element.
  /// If you would like to disable only certain billing details,
  /// pass an BillingDetailsFields specifying which fields you would like
  /// to disable collection for.
  /// The default setting for each field  is auto.
  @Default(BillingDetailsFields.auto) BillingDetailsFields billingDetails,
}) = _PaymentElementFields;