ShippingAddressParameters class
This object is used to set shipping restrictions.
Constructors
-
ShippingAddressParameters({List<
String> ? allowedCountryCodes, bool? phoneNumberRequired}) - This object is used to set shipping restrictions.
Properties
-
allowedCountryCodes
↔ List<
String> ? -
ISO 3166-1 alpha-2 country code values of the countries where shipping is allowed.
If this object isn't specified, all shipping address countries are allowed.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- phoneNumberRequired ↔ bool?
-
Set to true if a phone number is required for the provided shipping address.
getter/setter pair
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited