Show / Hide Table of Contents

Class LocalInventory

Local inventory information for the product. Represents in-store information for a specific product at the store specified by [storeCode][google.shopping.merchant.inventories.v1beta.LocalInventory.store_code]. For a list of all accepted attribute values, see the local product inventory feed specification.

Inheritance
object
LocalInventory
Implements
IMessage<LocalInventory>
IEquatable<LocalInventory>
IDeepCloneable<LocalInventory>
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 LocalInventory : IMessage<LocalInventory>, IEquatable<LocalInventory>, IDeepCloneable<LocalInventory>, IBufferMessage, IMessage

Constructors

LocalInventory()

Declaration
public LocalInventory()

LocalInventory(LocalInventory)

Declaration
public LocalInventory(LocalInventory other)
Parameters
Type Name Description
LocalInventory 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 at this store. For accepted attribute values, see the local 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

HasInstoreProductLocation

Gets whether the "instore_product_location" field is set

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

HasPickupMethod

Gets whether the "pickup_method" field is set

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

HasPickupSla

Gets whether the "pickup_sla" field is set

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

HasQuantity

Gets whether the "quantity" field is set

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

InstoreProductLocation

Location of the product inside the store. Maximum length is 20 bytes.

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

LocalInventoryName

LocalInventoryName-typed view over the Name resource name property.

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

Name

Output only. The name of the LocalInventory resource. Format: accounts/{account}/products/{product}/localInventories/{store_code}

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

PickupMethod

Supported pickup method for this product. Unless the value is "not supported", this field must be submitted together with pickupSla. For accepted attribute values, see the local product inventory feed specification

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

PickupSla

Relative time period from the order date for an order for this product, from this store, to be ready for pickup. Must be submitted with pickupMethod. For accepted attribute values, see the local product inventory feed specification

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

Price

Price of the product at this store.

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

Quantity

Quantity of the product available at this store. Must be greater than or equal to zero.

Declaration
public long Quantity { get; set; }
Property Value
Type Description
long

SalePrice

Sale price of the product at this store. Mandatory if [salePriceEffectiveDate][google.shopping.merchant.inventories.v1beta.LocalInventory.sale_price_effective_date] is defined.

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

SalePriceEffectiveDate

The TimePeriod of the sale at this store.

Declaration
public Interval SalePriceEffectiveDate { get; set; }
Property Value
Type Description
Interval

StoreCode

Required. Immutable. Store code (the store ID from your Business Profile) of the physical store the product is sold in. See the Local product inventory feed specification for more information.

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