Purchase​Results Purchase​Results Purchase​Results 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
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Properties

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
Value
PlatForm::String string string

Unique string used to identify a particular in-app product with a large catalog.

Attributes

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
Value
PlatForm::String string string

An XML-formatted string.

Attributes

Remarks

For information about the contents of the receipt, see Using receipts to verify product purchases.

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
Value
ProductPurchaseStatus ProductPurchaseStatus ProductPurchaseStatus

A purchase state value defined by the ProductPurchaseStatus enumeration.

Attributes

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
Value
PlatForm::Guid Guid Guid

A unique ID associated with a transaction.

Attributes