Class LfpInventory
Local Inventory for the merchant.
Implements
Inherited Members
Namespace: Google.Apis.Merchant.lfp_v1beta.Data
Assembly: Google.Apis.Merchant.lfp_v1beta.dll
Syntax
public class LfpInventory : IDirectResponseSchema
Properties
Availability
Required. Availability of the product at this store. For accepted attribute values, see the local product inventory data specification
Declaration
[JsonProperty("availability")]
public virtual string Availability { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
CollectionTime
object representation of CollectionTimeRaw.
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CollectionTimeDateTimeOffset instead.")]
public virtual object CollectionTime { get; set; }
Property Value
| Type | Description |
|---|---|
| object |
CollectionTimeDateTimeOffset
DateTimeOffset representation of CollectionTimeRaw.
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CollectionTimeDateTimeOffset { get; set; }
Property Value
| Type | Description |
|---|---|
| DateTimeOffset? |
CollectionTimeRaw
Optional. The time when the inventory is collected. If not set, it will be set to the time when the inventory is submitted.
Declaration
[JsonProperty("collectionTime")]
public virtual string CollectionTimeRaw { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ContentLanguage
Required. The two-letter ISO 639-1 language code for the item.
Declaration
[JsonProperty("contentLanguage")]
public virtual string ContentLanguage { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
FeedLabel
Optional. The feed label for
the product. If this is not set, it will default to regionCode.
Declaration
[JsonProperty("feedLabel")]
public virtual string FeedLabel { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Gtin
Optional. The Global Trade Item Number of the product.
Declaration
[JsonProperty("gtin")]
public virtual string Gtin { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Name
Output only. Identifier. The name for the LfpInventory resource. Format:
accounts/{account}/lfpInventories/{target_merchant}~{store_code}~{offer}
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
OfferId
Required. Immutable. A unique identifier for the product. If both inventories and sales are submitted for a merchant, this id should match for the same product. Note: if the merchant sells the same product new and used, they should have different IDs.
Declaration
[JsonProperty("offerId")]
public virtual string OfferId { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PickupMethod
Optional. 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 data
specification.
Declaration
[JsonProperty("pickupMethod")]
public virtual string PickupMethod { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
PickupSla
Optional. 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 data
specification.
Declaration
[JsonProperty("pickupSla")]
public virtual string PickupSla { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
Price
Optional. The current price of the product.
Declaration
[JsonProperty("price")]
public virtual Price Price { get; set; }
Property Value
| Type | Description |
|---|---|
| Price |
Quantity
Optional. Quantity of the product available at this store. Must be greater than or equal to zero.
Declaration
[JsonProperty("quantity")]
public virtual long? Quantity { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |
RegionCode
Required. The CLDR territory code for the country where the product is sold.
Declaration
[JsonProperty("regionCode")]
public virtual string RegionCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
StoreCode
Required. The identifier of the merchant's store. Either the store code inserted through InsertLfpStore or
the store code in the Business Profile.
Declaration
[JsonProperty("storeCode")]
public virtual string StoreCode { get; set; }
Property Value
| Type | Description |
|---|---|
| string |
TargetAccount
Required. The Merchant Center ID of the merchant to submit the inventory for.
Declaration
[JsonProperty("targetAccount")]
public virtual long? TargetAccount { get; set; }
Property Value
| Type | Description |
|---|---|
| long? |