Show / Hide Table of Contents

Class GoogleCloudDiscoveryengineV1TransactionInfo

A transaction represents the entire purchase transaction.

Inheritance
object
GoogleCloudDiscoveryengineV1TransactionInfo
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.DiscoveryEngine.v1.Data
Assembly: Google.Apis.DiscoveryEngine.v1.dll
Syntax
public class GoogleCloudDiscoveryengineV1TransactionInfo : 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 = value - tax - cost

Declaration
[JsonProperty("cost")]
public virtual float? Cost { get; set; }
Property Value
Type Description
float?

Currency

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

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

DiscountValue

The total discount(s) value applied to this transaction. This figure should be excluded from TransactionInfo.value For example, if a user paid TransactionInfo.value amount, then nominal (pre-discount) value of the transaction is the sum of TransactionInfo.value and TransactionInfo.discount_value This means that profit is calculated the same way, regardless of the discount value, and that TransactionInfo.discount_value can be larger than TransactionInfo.value: * Profit = value - tax - cost

Declaration
[JsonProperty("discountValue")]
public virtual float? DiscountValue { get; set; }
Property Value
Type Description
float?

ETag

The ETag of the item.

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

Tax

All the taxes associated with the transaction.

Declaration
[JsonProperty("tax")]
public virtual float? Tax { get; set; }
Property Value
Type Description
float?

TransactionId

The transaction ID with a length limit of 128 characters.

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

Value

Required. Total non-zero value associated with the transaction. This value may include shipping, tax, or other adjustments to the total value that you want to include.

Declaration
[JsonProperty("value")]
public virtual float? Value { get; set; }
Property Value
Type Description
float?

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX