Class RegionalInventoryAttributes
Regional inventory attributes.
Implements
Namespace: Google.Shopping.Merchant.Inventories.V1
Assembly: Google.Shopping.Merchant.Inventories.V1.dll
Syntax
public sealed class RegionalInventoryAttributes : IMessage<RegionalInventoryAttributes>, IEquatable<RegionalInventoryAttributes>, IDeepCloneable<RegionalInventoryAttributes>, IBufferMessage, IMessage
Constructors
RegionalInventoryAttributes()
Declaration
public RegionalInventoryAttributes()
RegionalInventoryAttributes(RegionalInventoryAttributes)
Declaration
public RegionalInventoryAttributes(RegionalInventoryAttributes other)
Parameters
| Type | Name | Description |
|---|---|---|
| RegionalInventoryAttributes | other |
Properties
Availability
Optional. Availability of the product in this region.
Declaration
public RegionalInventoryAttributes.Types.Availability Availability { get; set; }
Property Value
| Type | Description |
|---|---|
| RegionalInventoryAttributes.Types.Availability |
HasAvailability
Gets whether the "availability" field is set
Declaration
public bool HasAvailability { get; }
Property Value
| Type | Description |
|---|---|
| bool |
LoyaltyPrograms
Optional. An optional list of loyalty programs containing applicable loyalty member prices for this product in this region.
This field is used to show region-specific member prices on Product Listing Ads (PLA).
To use this, the loyalty program must be configured in Google Merchant Center, and the merchant must be using the Regional Availability and Pricing (RAAP) feature. The benefits provided must match the merchant's website and be clear to members. This is only applicable for merchants in supported countries.
See Loyalty program for details on supported countries and loyalty program configuration. Also see Regional availability and pricing and How to set up regional member pricing for more information.
Declaration
public RepeatedField<InventoryLoyaltyProgram> LoyaltyPrograms { get; }
Property Value
| Type | Description |
|---|---|
| RepeatedField<InventoryLoyaltyProgram> |
Price
Optional. Price of the product in this region.
Declaration
public Price Price { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
SalePrice
Optional. Sale price of the product in this region. Mandatory if
[salePriceEffectiveDate][RegionalInventory.sale_price_effective_date] is
defined.
Declaration
public Price SalePrice { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
SalePriceEffectiveDate
Optional. The TimePeriod of the
sale price in this region.
Declaration
public Interval SalePriceEffectiveDate { get; set; }
Property Value
| Type | Description |
|---|---|
| Interval |