docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Interface ICartValidator

    Interface that allows a cart and its contents to be validated for the purposes of ordering products therein via a store.

    Namespace: UnityEngine.Purchasing
    Assembly: Unity.Purchasing.dll
    Syntax
    public interface ICartValidator

    Methods

    Validate(ICart)

    Validates a cart, depending on the implementation. If a cart is invalid, the order is not fit to make purchases for the given store.

    Declaration
    void Validate(ICart cart)
    Parameters
    Type Name Description
    ICart cart

    The cart to be validated.

    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)