Class LocalInventory
Local inventory resource. For accepted attribute values, see the local product inventory feed specification.
Implements
Inherited Members
Namespace: Google.Apis.ShoppingContent.v2_1.Data
Assembly: Google.Apis.ShoppingContent.v2_1.dll
Syntax
public class LocalInventory : IDirectResponseSchema
Properties
Availability
The availability of the product. For accepted attribute values, see the local product inventory feed specification.
Declaration
[JsonProperty("availability")]
public virtual string Availability { get; set; }
Property Value
Type | Description |
---|---|
string |
CustomAttributes
A list of custom (merchant-provided) attributes. Can also be used to submit any attribute of the feed
specification in its generic form, for example, { "name": "size type", "value": "regular" }
.
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 |
InstoreProductLocation
The in-store product location.
Declaration
[JsonProperty("instoreProductLocation")]
public virtual string InstoreProductLocation { get; set; }
Property Value
Type | Description |
---|---|
string |
Kind
Identifies what kind of resource this is. Value: the fixed string "content#localInventory
"
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
PickupMethod
The supported pickup method for this offer. 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
[JsonProperty("pickupMethod")]
public virtual string PickupMethod { get; set; }
Property Value
Type | Description |
---|---|
string |
PickupSla
The expected date that an order will be ready for pickup relative to the order date. Must be submitted
together with pickupMethod
. For accepted attribute values, see the local product inventory feed
specification.
Declaration
[JsonProperty("pickupSla")]
public virtual string PickupSla { get; set; }
Property Value
Type | Description |
---|---|
string |
Price
The price of the product.
Declaration
[JsonProperty("price")]
public virtual Price Price { get; set; }
Property Value
Type | Description |
---|---|
Price |
Quantity
The quantity of the product. Must be nonnegative.
Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
Type | Description |
---|---|
long? |
SalePrice
The sale price of the product. Mandatory if sale_price_effective_date
is defined.
Declaration
[JsonProperty("salePrice")]
public virtual Price SalePrice { get; set; }
Property Value
Type | Description |
---|---|
Price |
SalePriceEffectiveDate
A date range represented by a pair of ISO 8601 dates separated by a space, comma, or slash. Both dates may be specified as 'null' if undecided.
Declaration
[JsonProperty("salePriceEffectiveDate")]
public virtual string SalePriceEffectiveDate { get; set; }
Property Value
Type | Description |
---|---|
string |
StoreCode
Required. The store code of this local inventory resource.
Declaration
[JsonProperty("storeCode")]
public virtual string StoreCode { get; set; }
Property Value
Type | Description |
---|---|
string |