Skip to content

Commit

Permalink
Replace the Order/orderLines type
Browse files Browse the repository at this point in the history
This is the result of generating the API from the schema

Fixes highsidelabs#13, fixes highsidelabs#17, fixes highsidelabs#19
  • Loading branch information
dpash committed Feb 19, 2024
1 parent f5697ee commit d607b3d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion docs/Models/MP/US/Orders/Order.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Name | Type | Description | Notes
**mart** | **string** | Mart information | [optional]
**isGuest** | **bool** | Indicates a guest customer | [optional]
**shippingInfo** | [**\Walmart\Models\MP\US\Orders\ShippingInfoType**](ShippingInfoType.md) | |
**orderLines** | [**\Walmart\Models\MP\US\Orders\RefundLinesType**](RefundLinesType.md) | |
**orderLines** | [**\Walmart\Models\MP\US\Orders\OrderLinesType**](OrderLinesType.md) | |
**paymentTypes** | **string[]** | Payment Types | [optional]
**orderSummary** | [**\Walmart\Models\MP\US\Orders\OrderSummary**](OrderSummary.md) | | [optional]
**pickupPersons** | [**\Walmart\Models\MP\US\Orders\PickupPerson[]**](PickupPerson.md) | List of pickup persons | [optional]
Expand Down
6 changes: 3 additions & 3 deletions src/Models/MP/US/Orders/Order.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class Order extends BaseModel
'mart' => 'string',
'isGuest' => 'bool',
'shippingInfo' => '\Walmart\Models\MP\US\Orders\ShippingInfoType',
'orderLines' => '\Walmart\Models\MP\US\Orders\RefundLinesType',
'orderLines' => '\Walmart\Models\MP\US\Orders\OrderLinesType',
'paymentTypes' => 'string[]',
'orderSummary' => '\Walmart\Models\MP\US\Orders\OrderSummary',
'pickupPersons' => '\Walmart\Models\MP\US\Orders\PickupPerson[]',
Expand Down Expand Up @@ -464,7 +464,7 @@ public function setShippingInfo($shippingInfo)
/**
* Gets orderLines
*
* @return \Walmart\Models\MP\US\Orders\RefundLinesType
* @return \Walmart\Models\MP\US\Orders\OrderLinesType
*/
public function getOrderLines()
Expand All @@ -475,7 +475,7 @@ public function getOrderLines()
/**
* Sets orderLines
*
* @param \Walmart\Models\MP\US\Orders\RefundLinesType $orderLines orderLines
* @param \Walmart\Models\MP\US\Orders\OrderLinesType $orderLines orderLines
*
* @return self
Expand Down

0 comments on commit d607b3d

Please sign in to comment.