public function validate(\Magento\Framework\Model\AbstractModel $model)
    {
        $isShopgateOrder = (int) in_array($model->getData(self::CLIENT_ATTRIBUTE), self::APP_CLIENTS);
        // TODO add validation for web checkout
        $model->setData(self::IS_SHOPGATE_ORDER, $isShopgateOrder);

        return parent::validate($model);
    }