Interface IOrderInfo
The model encapsulating additional information about an order.
Namespace: UnityEngine.Purchasing
Assembly: Unity.Purchasing.dll
Syntax
public interface IOrderInfo
Properties
Apple
Apple specific OrderInfo class
Declaration
IAppleOrderInfo? Apple { get; }
Property Value
| Type | Description |
|---|---|
| IAppleOrderInfo |
Google specific OrderInfo class
Declaration
IGoogleOrderInfo? Google { get; }
Property Value
| Type | Description |
|---|---|
| IGoogleOrderInfo |
PurchasedProductInfo
Additional information for purchased products found in a ConfirmedOrder.
Declaration
List<IPurchasedProductInfo> PurchasedProductInfo { get; set; }
Property Value
| Type | Description |
|---|---|
| List<IPurchasedProductInfo> |
Receipt
The receipt, in JSON format. Read only.
For an order containing only consumable products, the Receipt will be only be available if it is
a PendingOrder.
Once it has been confirmed (ConfirmedOrder), the Receipt is empty as it is no longer returned
from the store.
The receipt provided while on the Apple App Store will be the full receipt of every purchase so far.
Declaration
string Receipt { get; }
Property Value
| Type | Description |
|---|---|
| string |
TransactionID
The transaction ID of the purchase. Read only.
Consumable's transactionID are not set between app restarts unless it is a PendingOrder.
Once it has been confirmed (ConfirmedOrder), the TransactionID is empty as it is no longer returned
from the store.
Declaration
string TransactionID { get; }
Property Value
| Type | Description |
|---|---|
| string |