Class LfpSale
A sale for the merchant.
Namespace: Google.Shopping.Merchant.Lfp.V1Beta
Assembly: Google.Shopping.Merchant.Lfp.V1Beta.dll
Syntax
public sealed class LfpSale : IMessage<LfpSale>, IEquatable<LfpSale>, IDeepCloneable<LfpSale>, IBufferMessage, IMessage
Constructors
LfpSale()
Declaration
public LfpSale()
LfpSale(LfpSale)
Declaration
public LfpSale(LfpSale other)
Parameters
Type | Name | Description |
---|---|---|
LfpSale | other |
Properties
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
Required. The Global Trade Item Number of the sold 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 |
HasUid
Gets whether the "uid" field is set
Declaration
public bool HasUid { get; }
Property Value
Type | Description |
---|---|
bool |
LfpSaleName
LfpSaleName-typed view over the Name resource name property.
Declaration
public LfpSaleName LfpSaleName { get; set; }
Property Value
Type | Description |
---|---|
LfpSaleName |
Name
Output only. Identifier. The name of the LfpSale
resource.
Format:
accounts/{account}/lfpSales/{sale}
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OfferId
Required. 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 |
Price
Required. The unit price of the product.
Declaration
public Price Price { get; set; }
Property Value
Type | Description |
---|---|
Price |
Quantity
Required. The relative change of the available quantity. Negative for items returned.
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 |
SaleTime
Required. The timestamp for the sale.
Declaration
public Timestamp SaleTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
StoreCode
Required. The identifier of the merchant's store. Either a storeCode
inserted through the API or the code of the store 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 sale for.
Declaration
public long TargetAccount { get; set; }
Property Value
Type | Description |
---|---|
long |
Uid
Output only. System generated globally unique ID for the LfpSale
.
Declaration
public string Uid { get; set; }
Property Value
Type | Description |
---|---|
string |