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

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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.