diff --git a/Gateway/Http/Client/OrderUpdateTransaction.php b/Gateway/Http/Client/OrderUpdateTransaction.php index 9a31f07..285eddc 100644 --- a/Gateway/Http/Client/OrderUpdateTransaction.php +++ b/Gateway/Http/Client/OrderUpdateTransaction.php @@ -28,6 +28,11 @@ class OrderUpdateTransaction implements ClientInterface */ private $transformService; + /** + * @var OrderService + */ + private $orderService; + /** * @param SeQuraTranslationProvider $translationProvider * @param TransformEntityService $transformService diff --git a/Model/Api/SequraPaymentMethodsService.php b/Model/Api/SequraPaymentMethodsService.php index 407fcfc..55524d0 100644 --- a/Model/Api/SequraPaymentMethodsService.php +++ b/Model/Api/SequraPaymentMethodsService.php @@ -11,6 +11,10 @@ */ class SequraPaymentMethodsService implements SequraPaymentMethodsInterface { + /** + * @var FormValidationSequraPaymentMethodsService + */ + private $paymentMethodsService; /** * SequraPaymentMethodsService constructor. diff --git a/Model/Ui/ConfigProvider.php b/Model/Ui/ConfigProvider.php index 85fd530..356dd7a 100644 --- a/Model/Ui/ConfigProvider.php +++ b/Model/Ui/ConfigProvider.php @@ -38,6 +38,10 @@ class ConfigProvider implements ConfigProviderInterface * @var UrlInterface */ private $urlBuilder; + /** + * @var \NumberFormatter + */ + private $formatter; public function __construct( \Magento\Framework\App\ScopeResolverInterface $scopeResolver, diff --git a/Observer/OrderAddressObserver.php b/Observer/OrderAddressObserver.php index 26ac604..02b5556 100644 --- a/Observer/OrderAddressObserver.php +++ b/Observer/OrderAddressObserver.php @@ -34,6 +34,11 @@ class OrderAddressObserver implements ObserverInterface */ private $transformService; + /** + * @var OrderService + */ + private $orderService; + /** * @param SeQuraTranslationProvider $translationProvider * @param TransformEntityService $transformService diff --git a/Observer/OrderCancellationObserver.php b/Observer/OrderCancellationObserver.php index 1b83b22..4bca4ba 100644 --- a/Observer/OrderCancellationObserver.php +++ b/Observer/OrderCancellationObserver.php @@ -29,6 +29,11 @@ class OrderCancellationObserver implements ObserverInterface */ private $translationProvider; + /** + * @var OrderService + */ + private $orderService; + /** * @param SeQuraTranslationProvider $translationProvider */ diff --git a/Observer/OrderShipmentObserver.php b/Observer/OrderShipmentObserver.php index 7bee797..0eb36e8 100644 --- a/Observer/OrderShipmentObserver.php +++ b/Observer/OrderShipmentObserver.php @@ -33,6 +33,11 @@ class OrderShipmentObserver implements ObserverInterface */ private $transformService; + /** + * @var OrderService + */ + private $orderService; + /** * @param SeQuraTranslationProvider $translationProvider * @param TransformEntityService $transformService diff --git a/Plugin/OrderDetails.php b/Plugin/OrderDetails.php index 49c601c..e646e67 100644 --- a/Plugin/OrderDetails.php +++ b/Plugin/OrderDetails.php @@ -35,6 +35,11 @@ class OrderDetails */ protected $translation; + /** + * @var OrderService + */ + private $orderService; + private const statusMap = [ OrderRequestStates::CONFIRMED => 'sequra.status.paid', OrderRequestStates::ON_HOLD => 'sequra.status.pendingReview', diff --git a/Services/BusinessLogic/OrderService.php b/Services/BusinessLogic/OrderService.php index b4d8980..c4a19ee 100644 --- a/Services/BusinessLogic/OrderService.php +++ b/Services/BusinessLogic/OrderService.php @@ -60,6 +60,10 @@ class OrderService implements ShopOrderService * @var SeQuraTranslationProvider */ private $translationProvider; + /** + * @var SeQuraOrderService + */ + private $sequraOrderService; public function __construct( SearchCriteriaBuilder $searchOrderCriteriaBuilder,