using System; namespace Unity.Services.Analytics { public struct TransactionFailedParameters { /// /// (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 engagement ID relating to this transaction. /// public long? EngagementID; /// /// (Optional) /// public bool? IsInitiator; /// /// (Optional) The store where the transaction is taking place /// public string StoreID; /// /// (Optional) Identifies the source of the IAP /// public string StoreSourceID; /// /// (Optional) An ID that uniquely identifies the transaction /// public string TransactionID; /// /// (Optional) A unique ID for the purchased item /// public string StoreItemID; /// /// (Optional) The amazon user ID linked to this transaction /// public string AmazonUserID; /// /// (Optional) A unique ID for the SKU, linked to the store SKU ID /// public string StoreItemSkuID; /// /// (Optional) The product identifier (known as a SKU) found in the store /// public string ProductID; /// /// (Optional) The game store ID /// public string GameStoreID; /// /// (Optional) The transaction server where the transaction can be verified /// public TransactionServer? TransactionServer; /// /// (Optional) Parameter used by the IAP validation service /// public long? RevenueValidated; /// /// (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; /// /// (Required) The reason this transaction failed. /// public string FailureReason; } }