docs.unity.cn
    Show / Hide Table of Contents

    Class PurchaseFailedEventArgs

    A purchase that failed including the product under purchase, the reason for the failure and any additional information.

    Inheritance
    Object
    PurchaseFailedEventArgs
    Inherited Members
    Object.ToString()
    Object.Equals(Object)
    Object.Equals(Object, Object)
    Object.ReferenceEquals(Object, Object)
    Object.GetHashCode()
    Object.GetType()
    Object.MemberwiseClone()
    Namespace: UnityEngine.Purchasing
    Syntax
    public class PurchaseFailedEventArgs

    Properties

    message

    A message containing details about the failure.

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

    purchasedProduct

    The product which failed to be purchased.

    Declaration
    public Product purchasedProduct { get; }
    Property Value
    Type Description
    Product

    reason

    The reason for the failure.

    Declaration
    public PurchaseFailureReason reason { get; }
    Property Value
    Type Description
    PurchaseFailureReason
    Back to top Copyright © 2023 Unity Technologies
    Generated by DocFX
    on Friday, April 14, 2023
    Terms of use