GoogleApi.Content.V21.Model.Region (google_api_content v0.52.0) View Source

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.

Attributes

  • displayName (type: String.t, default: nil) - The display name of the region.
  • geotargetArea (type: GoogleApi.Content.V21.Model.RegionGeoTargetArea.t, default: nil) - A list of geotargets that defines the region area.
  • merchantId (type: String.t, default: nil) - Output only. Immutable. Merchant that owns the region.
  • postalCodeArea (type: GoogleApi.Content.V21.Model.RegionPostalCodeArea.t, default: nil) - A list of postal codes that defines the region area.
  • regionId (type: String.t, default: nil) - Output only. Immutable. The ID uniquely identifying each region.
  • regionalInventoryEligible (type: boolean(), default: nil) - Output only. Indicates if the region is eligible to use in the Regional Inventory configuration.
  • shippingEligible (type: boolean(), default: nil) - Output only. Indicates if the region is eligible to use in the Shipping Services configuration.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.Content.V21.Model.Region{
  displayName: String.t(),
  geotargetArea: GoogleApi.Content.V21.Model.RegionGeoTargetArea.t(),
  merchantId: String.t(),
  postalCodeArea: GoogleApi.Content.V21.Model.RegionPostalCodeArea.t(),
  regionId: String.t(),
  regionalInventoryEligible: boolean(),
  shippingEligible: boolean()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.