Skip to content

Commit

Permalink
📦 Update Orders API
Browse files Browse the repository at this point in the history
  • Loading branch information
magik092 committed May 22, 2023
1 parent c412b3a commit 6c0629c
Show file tree
Hide file tree
Showing 62 changed files with 5,552 additions and 1,004 deletions.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "magik092/amazon-selling-partner-api-php",
"description": "Amazon Selling Partner API PHP Client",
"version": "1.38",
"version": "1.39",
"autoload": {
"psr-4": {
"Webcom\\Amazon\\Rest\\": "src"
Expand Down
40 changes: 20 additions & 20 deletions src/EasyShip20220323/Api/EasyShipApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public function getConfig()
*/
public function createScheduledPackage($createScheduledPackageRequest)
{
list($response) = $this->createScheduledPackageWithHttpInfo($createScheduledPackageRequest);
[$response] = $this->createScheduledPackageWithHttpInfo($createScheduledPackageRequest);
return $response;
}

Expand Down Expand Up @@ -381,10 +381,10 @@ public function createScheduledPackageWithHttpInfo($createScheduledPackageReques
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackageRequest20220323 $createScheduledPackageRequest (required)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackageRequest20220323 $createScheduledPackageRequest (required)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
* @throws \InvalidArgumentException
*/
public function createScheduledPackageAsync($createScheduledPackageRequest)
{
Expand All @@ -401,10 +401,10 @@ function ($response) {
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackageRequest20220323 $createScheduledPackageRequest (required)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackageRequest20220323 $createScheduledPackageRequest (required)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
* @throws \InvalidArgumentException
*/
public function createScheduledPackageAsyncWithHttpInfo($createScheduledPackageRequest)
{
Expand Down Expand Up @@ -547,7 +547,7 @@ public function createScheduledPackageRequest($createScheduledPackageRequest)
*/
public function createScheduledPackageBulk($createScheduledPackagesRequest)
{
list($response) = $this->createScheduledPackageBulkWithHttpInfo($createScheduledPackagesRequest);
[$response] = $this->createScheduledPackageBulkWithHttpInfo($createScheduledPackagesRequest);
return $response;
}

Expand Down Expand Up @@ -802,10 +802,10 @@ public function createScheduledPackageBulkWithHttpInfo($createScheduledPackagesR
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackagesRequest20220323 $createScheduledPackagesRequest (required)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackagesRequest20220323 $createScheduledPackagesRequest (required)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
* @throws \InvalidArgumentException
*/
public function createScheduledPackageBulkAsync($createScheduledPackagesRequest)
{
Expand All @@ -822,7 +822,7 @@ function ($response) {
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackagesRequest20220323 $createScheduledPackagesRequest (required)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\CreateScheduledPackagesRequest20220323 $createScheduledPackagesRequest (required)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
Expand Down Expand Up @@ -969,7 +969,7 @@ public function createScheduledPackageBulkRequest($createScheduledPackagesReques
*/
public function getScheduledPackage($amazonOrderId, $marketplaceId)
{
list($response) = $this->getScheduledPackageWithHttpInfo($amazonOrderId, $marketplaceId);
[$response] = $this->getScheduledPackageWithHttpInfo($amazonOrderId, $marketplaceId);
return $response;
}

Expand Down Expand Up @@ -1225,8 +1225,8 @@ public function getScheduledPackageWithHttpInfo($amazonOrderId, $marketplaceId)
*
*
*
* @param string $amazonOrderId An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship. (required)
* @param string $marketplaceId An identifier for the marketplace in which the seller is selling. (required)
* @param string $amazonOrderId An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship. (required)
* @param string $marketplaceId An identifier for the marketplace in which the seller is selling. (required)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
Expand All @@ -1246,8 +1246,8 @@ function ($response) {
*
*
*
* @param string $amazonOrderId An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship. (required)
* @param string $marketplaceId An identifier for the marketplace in which the seller is selling. (required)
* @param string $amazonOrderId An Amazon-defined order identifier. Identifies the order that the seller wants to deliver using Amazon Easy Ship. (required)
* @param string $marketplaceId An identifier for the marketplace in which the seller is selling. (required)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
Expand Down Expand Up @@ -1422,7 +1422,7 @@ public function getScheduledPackageRequest($amazonOrderId, $marketplaceId)
*/
public function listHandoverSlots($listHandoverSlotsRequest = null)
{
list($response) = $this->listHandoverSlotsWithHttpInfo($listHandoverSlotsRequest);
[$response] = $this->listHandoverSlotsWithHttpInfo($listHandoverSlotsRequest);
return $response;
}

Expand Down Expand Up @@ -1677,7 +1677,7 @@ public function listHandoverSlotsWithHttpInfo($listHandoverSlotsRequest = null)
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\ListHandoverSlotsRequest20220323 $listHandoverSlotsRequest (optional)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\ListHandoverSlotsRequest20220323 $listHandoverSlotsRequest (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
Expand All @@ -1697,7 +1697,7 @@ function ($response) {
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\ListHandoverSlotsRequest20220323 $listHandoverSlotsRequest (optional)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\ListHandoverSlotsRequest20220323 $listHandoverSlotsRequest (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
Expand Down Expand Up @@ -1837,7 +1837,7 @@ public function listHandoverSlotsRequest($listHandoverSlotsRequest = null)
*/
public function updateScheduledPackages($updateScheduledPackagesRequest = null)
{
list($response) = $this->updateScheduledPackagesWithHttpInfo($updateScheduledPackagesRequest);
[$response] = $this->updateScheduledPackagesWithHttpInfo($updateScheduledPackagesRequest);
return $response;
}

Expand Down Expand Up @@ -2092,7 +2092,7 @@ public function updateScheduledPackagesWithHttpInfo($updateScheduledPackagesRequ
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\UpdateScheduledPackagesRequest20220323 $updateScheduledPackagesRequest (optional)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\UpdateScheduledPackagesRequest20220323 $updateScheduledPackagesRequest (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
Expand All @@ -2112,7 +2112,7 @@ function ($response) {
*
*
*
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\UpdateScheduledPackagesRequest20220323 $updateScheduledPackagesRequest (optional)
* @param \Webcom\Amazon\Rest\EasyShip20220323\Model\UpdateScheduledPackagesRequest20220323 $updateScheduledPackagesRequest (optional)
*
* @throws \InvalidArgumentException
* @return \GuzzleHttp\Promise\PromiseInterface
Expand Down
Loading

0 comments on commit 6c0629c

Please sign in to comment.