| 123456789101112131415161718192021222324252627282930313233343536 |
- <?php defined('BX_DOL') or die('hack attempt');
- /**
- * Copyright (c) UNA, Inc - https://una.io
- * MIT License - https://opensource.org/licenses/MIT
- *
- * @defgroup UnaCore UNA Core
- * @{
- */
- /**
- * System services related to Payments.
- */
- class BxBasePaymentsServices extends BxDol
- {
- public function __construct()
- {
- parent::__construct();
- }
- public function serviceGetPayments()
- {
- return BxDolPayments::getInstance()->getPayments();
- }
- public function serviceGetCartItemsCount()
- {
- return BxDolPayments::getInstance()->getCartItemsCount();
- }
- public function serviceGetOrdersCount($sType)
- {
- return BxDolPayments::getInstance()->getOrdersCount($sType);
- }
- }
- /** @} */
|