Show / Hide Table of Contents

Class LfpSale

A sale for the merchant.

Inheritance
object
LfpSale
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Merchant.lfp_v1beta.Data
Assembly: Google.Apis.Merchant.lfp_v1beta.dll
Syntax
public class LfpSale : IDirectResponseSchema

Properties

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

Required. The Global Trade Item Number of the sold product.

Declaration
[JsonProperty("gtin")]
public virtual string Gtin { get; set; }
Property Value
Type Description
string

Name

Output only. Identifier. The name of the LfpSale resource. Format: accounts/{account}/lfpSales/{sale}

Declaration
[JsonProperty("name")]
public virtual 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
[JsonProperty("offerId")]
public virtual string OfferId { get; set; }
Property Value
Type Description
string

Price

Required. The unit price of the product.

Declaration
[JsonProperty("price")]
public virtual Price Price { get; set; }
Property Value
Type Description
Price

Quantity

Required. The relative change of the available quantity. Negative for items returned.

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

SaleTime

object representation of SaleTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use SaleTimeDateTimeOffset instead.")]
public virtual object SaleTime { get; set; }
Property Value
Type Description
object

SaleTimeDateTimeOffset

DateTimeOffset representation of SaleTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? SaleTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

SaleTimeRaw

Required. The timestamp for the sale.

Declaration
[JsonProperty("saleTime")]
public virtual string SaleTimeRaw { get; set; }
Property Value
Type Description
string

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
[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 sale for.

Declaration
[JsonProperty("targetAccount")]
public virtual long? TargetAccount { get; set; }
Property Value
Type Description
long?

Uid

Output only. System generated globally unique ID for the LfpSale.

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX