PaymentElementDefaultValues constructor

const PaymentElementDefaultValues({
  1. PaymentElementBillingDetails? billingDetails,
  2. PaymentElementPaymentMethodDefaults? paymentMethods,
})

Implementation

const factory PaymentElementDefaultValues({
  /// Specify customer's billing details, which lets you pre-fill a
  /// customer’s name, email, phone number and address if required by
  /// payment method.
  /// Pre-filling as much information as possible streamlines
  /// the checkout process.
  PaymentElementBillingDetails? billingDetails,

  ///  Specify customer's default information for different payment methods.
  /// Pre-filling as much information as possible streamlines the checkout process.
  PaymentElementPaymentMethodDefaults? paymentMethods,
}) = _PaymentElementDefaultValues;