Show / Hide Table of Contents

Class GoogleCloudRetailV2PurchaseTransaction

A transaction represents the entire purchase transaction.

Inheritance
System.Object
GoogleCloudRetailV2PurchaseTransaction
Implements
Google.Apis.Requests.IDirectResponseSchema
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.CloudRetail.v2.Data
Assembly: Google.Apis.CloudRetail.v2.dll
Syntax
public class GoogleCloudRetailV2PurchaseTransaction : 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
System.Nullable<System.Single>

CurrencyCode

Required. Currency code. Use three-character ISO-4217 code.

Declaration
[JsonProperty("currencyCode")]
public virtual string CurrencyCode { get; set; }
Property Value
Type Description
System.String

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
System.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
System.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
System.Nullable<System.Single>

Tax

All the taxes associated with the transaction.

Declaration
[JsonProperty("tax")]
public virtual float? Tax { get; set; }
Property Value
Type Description
System.Nullable<System.Single>

Implements

Google.Apis.Requests.IDirectResponseSchema
In This Article
Back to top