GooglePayShippingAddressConfig class

Annotations
  • @freezed

Constructors

GooglePayShippingAddressConfig({bool? isRequired, bool? isPhoneNumberRequired, List<String>? allowedCountryCodes})
const
factory
GooglePayShippingAddressConfig.fromJson(Map<String, dynamic> json)
factory

Properties

allowedCountryCodes List<String>?
List of ISO 3166-1 alpha-2 country code values of the countries where shipping is allowed.
no setterinherited
copyWith → $GooglePayShippingAddressConfigCopyWith<GooglePayShippingAddressConfig>
no setterinherited
hashCode int
The hash code for this object.
no setterinherited
isPhoneNumberRequired bool?
Set to true if phone number is required for payment.
no setterinherited
isRequired bool?
Set to true if shipping address is required for 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