Skip to content
Snippets Groups Projects
Commit 1460ad44 authored by Arkadii Chyzhov's avatar Arkadii Chyzhov
Browse files

MAGETWO-35391: Create services for order and orderItem

- fix due to CR's comments
parent 214c16ab
No related merge requests found
...@@ -120,9 +120,10 @@ class OrderRepository implements \Magento\GiftMessage\Api\OrderRepositoryInterfa ...@@ -120,9 +120,10 @@ class OrderRepository implements \Magento\GiftMessage\Api\OrderRepositoryInterfa
$message = []; $message = [];
$message[$orderId] = [ $message[$orderId] = [
'type' => 'order', 'type' => 'order',
'sender' => $giftMessage->getSender(), $giftMessage::CUSTOMER_ID => $giftMessage->getCustomerId(),
'recipient' => $giftMessage->getRecipient(), $giftMessage::SENDER => $giftMessage->getSender(),
'message' => $giftMessage->getMessage(), $giftMessage::RECIPIENT => $giftMessage->getRecipient(),
$giftMessage::MESSAGE => $giftMessage->getMessage(),
]; ];
$this->giftMessageSaveModel->setGiftmessages($message); $this->giftMessageSaveModel->setGiftmessages($message);
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment