PEGooglePayShippingAddressParameters class

Defines the shipping address parameters for Google Pay.

This includes allowed country codes and whether a phone number is required.

Constructors

PEGooglePayShippingAddressParameters({List<String>? allowedCountryCodes, bool phoneNumberRequired = false})
Creates an instance of PEGooglePayShippingAddressParameters.

Properties

allowedCountryCodes List<String>?
A list of country codes that are allowed for shipping (e.g., ["US", "CA"]).
final
hashCode int
The hash code for this object.
no setterinherited
phoneNumberRequired bool
Whether a phone number is required in the shipping address.
final
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>
Converts this instance to a JSON map.
toString() String
A string representation of this object.
inherited

Operators

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