Share via


PurchaseResults Class

Definition

Contains information detailing the results of an in-app product purchase transaction.

public ref class PurchaseResults sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class PurchaseResults final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class PurchaseResults
Public NotInheritable Class PurchaseResults
Inheritance
Object Platform::Object IInspectable PurchaseResults
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Properties

OfferId

A unique ID used to identify a specific in-app product within a large catalog.

ReceiptXml

A full receipt that provides a transaction history for the purchase of an in-app product.

Status

The current state of the purchase transaction for an in-app product.

TransactionId

A unique transaction ID associated with the purchase of a consumable in-app product.

Applies to