PurchaseResults
PurchaseResults
PurchaseResults
PurchaseResults
Class
Definition
Contains information detailing the results of an in-app product purchase transaction.
public : sealed class PurchaseResults : IPurchaseResultspublic sealed class PurchaseResults : IPurchaseResultsPublic NotInheritable Class PurchaseResults Implements IPurchaseResults// You can use this class in JavaScript.
- Attributes
Windows 10 requirements
| Device family |
Windows 10 (introduced v10.0.10240.0)
|
| API contract |
Windows.Foundation.UniversalApiContract (introduced v1)
|
Properties
OfferId OfferId OfferId OfferId
A unique ID used to identify a specific in-app product within a large catalog.
public : PlatForm::String OfferId { get; }public string OfferId { get; }Public ReadOnly Property OfferId As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
Unique string used to identify a particular in-app product with a large catalog.
ReceiptXml ReceiptXml ReceiptXml ReceiptXml
A full receipt that provides a transaction history for the purchase of an in-app product.
public : PlatForm::String ReceiptXml { get; }public string ReceiptXml { get; }Public ReadOnly Property ReceiptXml As string// You can use this property in JavaScript.
- Value
- PlatForm::String string string string
An XML-formatted string.
Remarks
For information about the contents of the receipt, see Using receipts to verify product purchases.
Status Status Status Status
The current state of the purchase transaction for an in-app product.
public : ProductPurchaseStatus Status { get; }public ProductPurchaseStatus Status { get; }Public ReadOnly Property Status As ProductPurchaseStatus// You can use this property in JavaScript.
A purchase state value defined by the ProductPurchaseStatus enumeration.
TransactionId TransactionId TransactionId TransactionId
A unique transaction ID associated with the purchase of a consumable in-app product.
public : PlatForm::Guid TransactionId { get; }public Guid TransactionId { get; }Public ReadOnly Property TransactionId As Guid// You can use this property in JavaScript.
- Value
- PlatForm::Guid Guid Guid Guid
A unique ID associated with a transaction.