BillingAddressConfig constructor

  1. @JsonSerializable(explicitToJson: true)
const BillingAddressConfig({
  1. bool? isRequired,
  2. BillingAddressFormat? format,
  3. bool? isPhoneNumberRequired,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory BillingAddressConfig({
  /// If `true` Google pay requires a Billing address in order to process the
  /// payment.
  bool? isRequired,

  /// Desired format
  BillingAddressFormat? format,

  /// If `true` customer needs to provide a phonenummer in order to process
  /// the transaction.

  bool? isPhoneNumberRequired,
}) = _BillingAddressConfig;