docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class Order

    The base Model encapsulating an order to purchase a cart.

    Inheritance
    object
    Order
    ConfirmedOrder
    DeferredOrder
    FailedOrder
    PendingOrder
    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
    public abstract class Order

    Constructors

    Order(ICart, IOrderInfo)

    Constructs the base order object.

    Declaration
    protected Order(ICart cart, IOrderInfo info)
    Parameters
    Type Name Description
    ICart cart

    The cart ordered.

    IOrderInfo info

    Additional information concerning this order.

    Properties

    CartOrdered

    The product ordered. Read only.

    Declaration
    public ICart CartOrdered { get; }
    Property Value
    Type Description
    ICart

    Info

    Additional information about the order

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