Class RegionalInventory
Regional inventory information for the product. Represents specific information like price and availability for
a given product in a specific region
. For a list of all accepted attribute values, see the regional product
inventory data specification.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.inventories_v1beta.Data
Assembly: Google.Apis.Merchant.inventories_v1beta.dll
Syntax
public class RegionalInventory : IDirectResponseSchema
Properties
Account
Output only. The account that owns the product. This field will be ignored if set by the client.
Declaration
[JsonProperty("account")]
public virtual long? Account { get; set; }
Property Value
Type | Description |
---|---|
long? |
Availability
Availability of the product in this region. For accepted attribute values, see the regional product inventory data specification
Declaration
[JsonProperty("availability")]
public virtual string Availability { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomAttributes
A list of custom (merchant-provided) attributes. You can also use CustomAttribute
to submit any attribute
of the data specification in its generic form.
Declaration
[JsonProperty("customAttributes")]
public virtual IList<CustomAttribute> CustomAttributes { get; set; }
Property Value
Type | Description |
---|---|
IList<CustomAttribute> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Name
Output only. The name of the RegionalInventory
resource. Format:
{regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
Price
Price of the product in this region.
Declaration
[JsonProperty("price")]
public virtual Price Price { get; set; }
Property Value
Type | Description |
---|---|
Price |
Region
Required. Immutable. ID of the region for this RegionalInventory
resource. See the Regional availability
and pricing for more details.
Declaration
[JsonProperty("region")]
public virtual string Region { get; set; }
Property Value
Type | Description |
---|---|
string |
SalePrice
Sale price of the product in this region. Mandatory if salePriceEffectiveDate
is defined.
Declaration
[JsonProperty("salePrice")]
public virtual Price SalePrice { get; set; }
Property Value
Type | Description |
---|---|
Price |
SalePriceEffectiveDate
The TimePeriod
of the sale price in this region.
Declaration
[JsonProperty("salePriceEffectiveDate")]
public virtual Interval SalePriceEffectiveDate { get; set; }
Property Value
Type | Description |
---|---|
Interval |