GooglePayBillingAddressConfig constructor
- @JsonSerializable(explicitToJson: true)
const
GooglePayBillingAddressConfig(
{ - bool? isRequired,
- bool? isPhoneNumberRequired,
- BillingAddressFormat? format,
})
Implementation
@JsonSerializable(explicitToJson: true)
const factory GooglePayBillingAddressConfig({
/// Set to true if billing address is required for payment.
///
/// Defaults to false.
bool? isRequired,
/// Set to true if phone number is required for payment.
///
/// Defaults to false.
bool? isPhoneNumberRequired,
/// Defines what address fields to collect.
///
/// Defaults to [BillingAddressFormat.MIN]
BillingAddressFormat? format,
}) = _GooglePayBillingAddressConfig;