Show / Hide Table of Contents

Class LfpInventory

Local Inventory for the merchant.

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

Constructors

LfpInventory()

Declaration
public LfpInventory()

LfpInventory(LfpInventory)

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

Properties

Availability

Required. Availability of the product at this store. For accepted attribute values, see the local product inventory data specification

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

CollectionTime

Optional. The time when the inventory is collected. If not set, it will be set to the time when the inventory is submitted.

Declaration
public Timestamp CollectionTime { get; set; }
Property Value
Type Description
Timestamp

ContentLanguage

Required. The two-letter ISO 639-1 language code for the item.

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

Gtin

Optional. The Global Trade Item Number of the product.

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

HasFeedLabel

Gets whether the "feed_label" field is set

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

HasGtin

Gets whether the "gtin" field is set

Declaration
public bool HasGtin { 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

LfpInventoryName

LfpInventoryName-typed view over the Name resource name property.

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

Name

Output only. Identifier. The name for the LfpInventory resource. Format: accounts/{account}/lfpInventories/{target_merchant}~{store_code}~{offer}

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

Price

Optional. The current price of the product.

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

RegionCode

Required. The CLDR territory code for the country where the product is sold.

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

TargetAccount

Required. The Merchant Center ID of the merchant to submit the inventory for.

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