using System;
namespace Unity.Services.Analytics
{
public struct TransactionParameters
{
///
/// (Optional) The country where the transaction is taking place.
/// If this is left null or empty, the machine's locale will be used.
///
public string PaymentCountry;
///
/// (Optional) The product identifier (known as a SKU) found in the store
///
public string ProductID;
///
/// (Optional) Parameter used by the IAP validation service
///
public Int64? RevenueValidated;
///
/// (Optional) An ID that uniquely identifies the transaction
///
public string TransactionID;
///
/// (Optional) Transaction receipt data as provided by the IAP store, used for validation
///
public string TransactionReceipt;
///
/// (Optional) The receipt signature from a Google store IAP
///
public string TransactionReceiptSignature;
///
/// (Optional) The server to use for receipt verification, if applicable
///
public TransactionServer? TransactionServer;
///
/// (Optional) The ID of the person or entity who is being transacted with
///
public string TransactorID;
///
/// (Optional) A unique ID for the SKU, linked to the store SKU ID
///
public string StoreItemSkuID;
///
/// (Optional) A unique ID for the purchased item
///
public string StoreItemID;
///
/// (Optional) The store where the transaction is taking place
///
public string StoreID;
///
/// (Optional) Identifies the source of the IAP
///
public string StoreSourceID;
///
/// (Required) A name that identifies the transaction
///
public string TransactionName;
///
/// (Required) The type of transaction
///
public TransactionType TransactionType;
///
/// (Required) The products received as part of this transaction
///
public Product ProductsReceived;
///
/// (Required) The products spent as part of this transaction
///
public Product ProductsSpent;
}
}