Skip to content
This repository was archived by the owner on Oct 24, 2023. It is now read-only.

Commit a0e8461

Browse files
author
Barbara Palumbo
committed
WIP: delete builder and action for setlineitemprice already existing in cart and stagedOrder
1 parent 7f2f5ba commit a0e8461

File tree

2 files changed

+0
-47
lines changed

2 files changed

+0
-47
lines changed

src/Core/Builder/Update/OrderEditsActionBuilder.php

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
use Commercetools\Core\Request\OrderEdits\Command\OrderEditSetCustomFieldAction;
1010
use Commercetools\Core\Request\OrderEdits\Command\OrderEditSetCustomTypeAction;
1111
use Commercetools\Core\Request\OrderEdits\Command\OrderEditSetKeyAction;
12-
use Commercetools\Core\Request\OrderEdits\Command\OrderEditSetLineItemPriceAction;
1312
use Commercetools\Core\Request\OrderEdits\Command\OrderEditSetStagedActionsAction;
1413

1514
class OrderEditsActionBuilder
@@ -71,17 +70,6 @@ public function setKey($action = null)
7170
return $this;
7271
}
7372

74-
/**
75-
* @link https://docs.commercetools.com/http-api-projects-order-edits.html#set-lineitem-price
76-
* @param OrderEditSetLineItemPriceAction|callable $action
77-
* @return $this
78-
*/
79-
public function setLineItemPrice($action = null)
80-
{
81-
$this->addAction($this->resolveAction(OrderEditSetLineItemPriceAction::class, $action));
82-
return $this;
83-
}
84-
8573
/**
8674
*
8775
* @param OrderEditSetStagedActionsAction|callable $action

src/Core/Request/OrderEdits/Command/OrderEditSetLineItemPriceAction.php

Lines changed: 0 additions & 35 deletions
This file was deleted.

0 commit comments

Comments
 (0)