docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ProductFetchFailureDescription

    Represents a failed product fetch as described by a product service.

    Inheritance
    object
    ProductFetchFailureDescription
    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 ProductFetchFailureDescription

    Constructors

    ProductFetchFailureDescription(ProductFetchFailureReason, string, bool)

    Parametrized Constructor.

    Declaration
    public ProductFetchFailureDescription(ProductFetchFailureReason reason, string message, bool isRetryable = false)
    Parameters
    Type Name Description
    ProductFetchFailureReason reason

    The reason for the product fetch failure

    string message

    The message containing details about the product fetch failure.

    bool isRetryable

    Specifies if the query can be retried.

    Fields

    isRetryable

    Specifies if the request can be retried.

    Declaration
    public bool isRetryable
    Field Value
    Type Description
    bool

    message

    The message containing details about the failed product fetch.

    Declaration
    public string message
    Field Value
    Type Description
    string

    reason

    The reason for the failure of the product fetch.

    Declaration
    public ProductFetchFailureReason reason
    Field Value
    Type Description
    ProductFetchFailureReason

    Properties

    IsRetryable

    Specifies if the request is retryable.

    Declaration
    public bool IsRetryable { get; }
    Property Value
    Type Description
    bool

    Message

    The message containing details about the failed product fetch.

    Declaration
    public string Message { get; }
    Property Value
    Type Description
    string

    Reason

    The reason for the failure.

    Declaration
    public ProductFetchFailureReason Reason { get; }
    Property Value
    Type Description
    ProductFetchFailureReason
    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)