public sealed class TransactionData.Types.Item : IMessage<TransactionData.Types.Item>, IEquatable<TransactionData.Types.Item>, IDeepCloneable<TransactionData.Types.Item>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud reCAPTCHA Enterprise v1 API class TransactionData.Types.Item.
Line items being purchased in this transaction.
Implements
IMessageTransactionDataTypesItem, IEquatableTransactionDataTypesItem, IDeepCloneableTransactionDataTypesItem, IBufferMessage, IMessageNamespace
Google.Cloud.RecaptchaEnterprise.V1Assembly
Google.Cloud.RecaptchaEnterprise.V1.dll
Constructors
Item()
public Item()
Item(Item)
public Item(TransactionData.Types.Item other)
Parameter | |
---|---|
Name | Description |
other | TransactionDataTypesItem |
Properties
MerchantAccountId
public string MerchantAccountId { get; set; }
When a merchant is specified, its corresponding account_id. Necessary to populate marketplace-style transactions.
Property Value | |
---|---|
Type | Description |
string |
Name
public string Name { get; set; }
The full name of the item.
Property Value | |
---|---|
Type | Description |
string |
Quantity
public long Quantity { get; set; }
The quantity of this item that is being purchased.
Property Value | |
---|---|
Type | Description |
long |
Value
public double Value { get; set; }
The value per item that the user is paying, in the transaction currency, after discounts.
Property Value | |
---|---|
Type | Description |
double |