diff --git a/Model/Api/OrderCreditMemo.php b/Model/Api/OrderCreditMemo.php index b5aaf56..8407f88 100644 --- a/Model/Api/OrderCreditMemo.php +++ b/Model/Api/OrderCreditMemo.php @@ -61,18 +61,18 @@ class OrderCreditMemo implements OrderCreditMemoInterface /** * @var CreditmemoSender */ - protected $creditmemoSender; + protected $creditMemoSender; /** * @var CreditmemoLoader */ - protected $creditmemoLoader; + protected $creditMemoLoader; /** * OrderCoupon constructor. * - * @param CreditmemoSender $creditmemoSender - * @param CreditmemoLoader $creditmemoLoader + * @param CreditmemoSender $creditMemoSender + * @param CreditmemoLoader $creditMemoLoader * @param CreditmemoFactory $creditMemoFactory * @param CreditmemoManagementInterface $creditMemoService * @param Invoice $invoice diff --git a/Model/Api/OrderInfo.php b/Model/Api/OrderInfo.php index d38cb4b..a518c50 100644 --- a/Model/Api/OrderInfo.php +++ b/Model/Api/OrderInfo.php @@ -139,7 +139,7 @@ public function getOrderInfoReturnless($incrementId) $orderInfo['id'] = $order->getIncrementId(); $orderInfo['order_id'] = $order->getEntityId(); $orderInfo['create_at']['value'] = $order->getCreatedAt(); - + $payment = $order->getPayment(); $methodTitle = ''; if($payment) { @@ -147,7 +147,7 @@ public function getOrderInfoReturnless($incrementId) $methodTitle = $method->getTitle(); $orderInfo['payment_method']['name'] = $methodTitle; } - + $orderInfo['customer']['id'] = $order->getCustomerId(); $orderInfo['customer']['email'] = $order->getCustomerEmail(); diff --git a/README.md b/README.md index a403196..143b34f 100644 --- a/README.md +++ b/README.md @@ -59,4 +59,4 @@ If you experience problems with the extension installation, setup or whenever yo ## License ## [BSD (Berkeley Software Distribution) License](http://www.opensource.org/licenses/bsd-license.php). -Copyright (c) 2018-2020, Returnless +Copyright (c) 2018-2023, Returnless diff --git a/composer.json b/composer.json index 1d2e538..360533c 100644 --- a/composer.json +++ b/composer.json @@ -17,5 +17,5 @@ "OSL-3.0", "AFL-3.0" ], - "version": "1.2.6" + "version": "1.2.7" } diff --git a/etc/module.xml b/etc/module.xml index 2680810..c3a83ef 100644 --- a/etc/module.xml +++ b/etc/module.xml @@ -1,6 +1,6 @@ - +