Class GoogleCloudRetailV2betaPurchaseTransaction
A transaction represents the entire purchase transaction.
Implements
Inherited Members
Namespace: Google.Apis.CloudRetail.v2beta.Data
Assembly: Google.Apis.CloudRetail.v2beta.dll
Syntax
public class GoogleCloudRetailV2betaPurchaseTransaction : IDirectResponseSchema
Properties
Cost
All the costs associated with the products. These can be manufacturing costs, shipping expenses not borne by the end user, or any other costs, such that: * Profit = revenue - tax - cost
Declaration
[JsonProperty("cost")]
public virtual float? Cost { get; set; }
Property Value
Type | Description |
---|---|
float? |
CurrencyCode
Required. Currency code. Use three-character ISO-4217 code.
Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { 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 |
Id
The transaction ID with a length limit of 128 characters.
Declaration
[JsonProperty("id")]
public virtual string Id { get; set; }
Property Value
Type | Description |
---|---|
string |
Revenue
Required. Total non-zero revenue or grand total associated with the transaction. This value include shipping, tax, or other adjustments to total revenue that you want to include as part of your revenue calculations.
Declaration
[JsonProperty("revenue")]
public virtual float? Revenue { get; set; }
Property Value
Type | Description |
---|---|
float? |
Tax
All the taxes associated with the transaction.
Declaration
[JsonProperty("tax")]
public virtual float? Tax { get; set; }
Property Value
Type | Description |
---|---|
float? |