Region class
Represents a geographic region that you can use as a target with both the
RegionalInventory
and ShippingSettings
services.
You can define regions as collections of either postal codes or, in some countries, using predefined geotargets. For more information, see Set up regions for more information.
Constructors
- Region.new({String? displayName, GeoTargetArea? geotargetArea, String? name, PostalCodeArea? postalCodeArea, bool? regionalInventoryEligible, bool? shippingEligible})
- Region.fromJson(Map json_)
Properties
- displayName ↔ String?
-
The display name of the region.
getter/setter pair
- geotargetArea ↔ GeoTargetArea?
-
A list of geotargets that defines the region area.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- name ↔ String?
-
Identifier.
getter/setter pair
- postalCodeArea ↔ PostalCodeArea?
-
A list of postal codes that defines the region area.
getter/setter pair
- regionalInventoryEligible ↔ bool?
-
Indicates if the region is eligible for use in the Regional Inventory
configuration.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shippingEligible ↔ bool?
-
Indicates if the region is eligible for use in the Shipping Services
configuration.
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited