bool value, ...] */ public static function getCartItemCapabilities(); /** * Method should set primary key and init item object * @param array $data ['id' =>, 'cartId' =>, 'productId' =>, ...] * * @return mixed */ public function setCartItemData(array $data); /** * Prepare item data (from db) * @return array */ public function prepareCartItemData(); public function beforeValidateCart(); /** * @return bool */ public function validateCartItem(); public function completeItemList(array $itemList); public function afterCartItemRemove(); public function getErrors(); public function getData($field = null, $default = null); }