Show / Hide Table of Contents

Class RegionalInventory

Regional inventory information for the product. Represents specific information like price and availability for a given product in a specific [region][google.shopping.merchant.inventories.v1beta.RegionalInventory.region]. For a list of all accepted attribute values, see the regional product inventory feed specification.

Inheritance
object
RegionalInventory
Implements
IMessage<RegionalInventory>
IEquatable<RegionalInventory>
IDeepCloneable<RegionalInventory>
IBufferMessage
IMessage
Inherited Members
object.GetHashCode()
object.GetType()
object.ToString()
Namespace: Google.Shopping.Merchant.Inventories.V1Beta
Assembly: Google.Shopping.Merchant.Inventories.V1Beta.dll
Syntax
public sealed class RegionalInventory : IMessage<RegionalInventory>, IEquatable<RegionalInventory>, IDeepCloneable<RegionalInventory>, IBufferMessage, IMessage

Constructors

RegionalInventory()

Declaration
public RegionalInventory()

RegionalInventory(RegionalInventory)

Declaration
public RegionalInventory(RegionalInventory other)
Parameters
Type Name Description
RegionalInventory other

Properties

Account

Output only. The account that owns the product. This field will be ignored if set by the client.

Declaration
public 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 feed specification

Declaration
public 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 feed specification in its generic form.

Declaration
public RepeatedField<CustomAttribute> CustomAttributes { get; }
Property Value
Type Description
RepeatedField<CustomAttribute>

HasAvailability

Gets whether the "availability" field is set

Declaration
public bool HasAvailability { get; }
Property Value
Type Description
bool

Name

Output only. The name of the RegionalInventory resource. Format: {regional_inventory.name=accounts/{account}/products/{product}/regionalInventories/{region}

Declaration
public string Name { get; set; }
Property Value
Type Description
string

Price

Price of the product in this region.

Declaration
public 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
public string Region { get; set; }
Property Value
Type Description
string

RegionalInventoryName

RegionalInventoryName-typed view over the Name resource name property.

Declaration
public RegionalInventoryName RegionalInventoryName { get; set; }
Property Value
Type Description
RegionalInventoryName

SalePrice

Sale price of the product in this region. Mandatory if [salePriceEffectiveDate][google.shopping.merchant.inventories.v1beta.RegionalInventory.sale_price_effective_date] is defined.

Declaration
public Price SalePrice { get; set; }
Property Value
Type Description
Price

SalePriceEffectiveDate

The TimePeriod of the sale price in this region.

Declaration
public Interval SalePriceEffectiveDate { get; set; }
Property Value
Type Description
Interval
In this article
Back to top Generated by DocFX