BillingAddressConfig class

Billing address collection config for Google Pay.

Annotations
  • @freezed

Constructors

BillingAddressConfig({bool? isRequired, BillingAddressFormat? format, bool? isPhoneNumberRequired})
const
factory
BillingAddressConfig.fromJson(Map<String, dynamic> json)
factory

Properties

copyWith → $BillingAddressConfigCopyWith<BillingAddressConfig>
no setterinherited
format → BillingAddressFormat?
Desired format
no setterinherited
hashCode → int
The hash code for this object.
no setterinherited
isPhoneNumberRequired → bool?
If true customer needs to provide a phonenummer in order to process the transaction.
no setterinherited
isRequired → bool?
If true Google pay requires a Billing address in order to process the payment.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited