PurchaseResults PurchaseResults PurchaseResults PurchaseResults Class

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

Syntax

Declaration

public sealed class PurchaseResultspublic sealed class PurchaseResultsPublic NotInheritable Class PurchaseResultspublic sealed class PurchaseResults

Properties summary

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

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

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

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

Properties

  • OfferId
    OfferId
    OfferId
    OfferId

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

    public string OfferId { get; }public string OfferId { get; }Public ReadOnly Property OfferId As stringpublic string OfferId { get; }

    Property Value

    • 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 string ReceiptXml { get; }public string ReceiptXml { get; }Public ReadOnly Property ReceiptXml As stringpublic string ReceiptXml { get; }

    Property Value

    • 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 ProductPurchaseStatuspublic ProductPurchaseStatus Status { get; }

    Property Value

  • TransactionId
    TransactionId
    TransactionId
    TransactionId

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

    public Guid TransactionId { get; }public Guid TransactionId { get; }Public ReadOnly Property TransactionId As Guidpublic Guid TransactionId { get; }

    Property Value

    • System.Guid
      System.Guid
      System.Guid
      System.Guid

      A unique ID associated with a transaction.

Device family

Windows 10 (introduced v10.0.10240.0)

API contract

Windows.Foundation.UniversalApiContract (introduced v1)

Attributes

Windows.Foundation.Metadata.ContractVersionAttribute
Windows.Foundation.Metadata.MarshalingBehaviorAttribute
Windows.Foundation.Metadata.ThreadingAttribute

Details

Assembly

Windows.ApplicationModel.Store.dll