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. |