docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PurchasesFetchFailureDescription

    A model representing the failure to fetch preexisting purchases.

    Inheritance
    object
    PurchasesFetchFailureDescription
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    [Serializable]
    public class PurchasesFetchFailureDescription

    Constructors

    PurchasesFetchFailureDescription(PurchasesFetchFailureReason, string)

    Constructs the fetch failed object

    Declaration
    public PurchasesFetchFailureDescription(PurchasesFetchFailureReason reason, string message)
    Parameters
    Type Name Description
    PurchasesFetchFailureReason reason

    The reason the fetch failed.

    string message

    The message describing why the fetch failed.

    Fields

    failureReason

    The reason why fetching purchases from the store failed. Indicates the specific type of failure that occurred during the fetch operation.

    Declaration
    public PurchasesFetchFailureReason failureReason
    Field Value
    Type Description
    PurchasesFetchFailureReason

    message

    A detailed error message describing the failure. Provides additional context and information about what went wrong during the fetch operation.

    Declaration
    public string message
    Field Value
    Type Description
    string

    Properties

    FailureReason

    The reason the fetch failed. Read only.

    Declaration
    public PurchasesFetchFailureReason FailureReason { get; }
    Property Value
    Type Description
    PurchasesFetchFailureReason

    Message

    The message describing why fetch failed. Read only.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    string
    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)