docs.unity3d.com
    Show / Hide Table of Contents

    Class PurchaseFailureDescription

    Represents a failed purchase as described by a purchasing service.

    Inheritance
    Object
    PurchaseFailureDescription
    Namespace: UnityEngine.Purchasing.Extension
    Syntax
    public class PurchaseFailureDescription

    Constructors

    PurchaseFailureDescription(String, PurchaseFailureReason, String)

    Parametrized Constructor.

    Declaration
    public PurchaseFailureDescription(string productId, PurchaseFailureReason reason, string message)
    Parameters
    Type Name Description
    String productId

    The id of the product.

    PurchaseFailureReason reason

    The reason for the purchase failure

    String message

    The message containing details about the failed purchase.

    Properties

    message

    The message containing details about the failed purchase.

    Declaration
    public string message { get; }
    Property Value
    Type Description
    String

    productId

    The store specific product ID.

    Declaration
    public string productId { get; }
    Property Value
    Type Description
    String

    reason

    The reason for the failure.

    Declaration
    public PurchaseFailureReason reason { get; }
    Property Value
    Type Description
    PurchaseFailureReason
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023