Skip to content

Commit

Permalink
magento/magento2:magento#19101 - API REST and Reserved Order Id
Browse files Browse the repository at this point in the history
- Fixed issue "Can not update cart with a reserved order number like 000000651"
  • Loading branch information
Vasilii Burlacu authored and saphaljha committed Dec 22, 2018
1 parent 6b109f4 commit e3ec0f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/code/Magento/Quote/Api/Data/CartInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -223,14 +223,14 @@ public function setBillingAddress(\Magento\Quote\Api\Data\AddressInterface $bill
/**
* Returns the reserved order ID for the cart.
*
* @return int|null Reserved order ID. Otherwise, null.
* @return string|null Reserved order ID. Otherwise, null.
*/
public function getReservedOrderId();

/**
* Sets the reserved order ID for the cart.
*
* @param int $reservedOrderId
* @param string $reservedOrderId
* @return $this
*/
public function setReservedOrderId($reservedOrderId);
Expand Down

0 comments on commit e3ec0f6

Please sign in to comment.