Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
100 commits
Select commit Hold shift + click to select a range
0928c74
Namespace
iszederyesi-plenty Jun 20, 2022
59fbdba
PHP 7.3 compatibility
iszederyesi-plenty Jun 21, 2022
164131f
Require PHP ^7.3
iszederyesi-plenty Jun 21, 2022
f0433d1
More namespaces
iszederyesi-plenty Jun 21, 2022
5463ba9
Namespaces again
iszederyesi-plenty Jun 21, 2022
6b51ddd
Namespaces again
iszederyesi-plenty Jun 21, 2022
1d1d16d
What? Namespaces!
iszederyesi-plenty Jun 22, 2022
98f0141
Namespaces
iszederyesi-plenty Jun 22, 2022
3236ee5
added new value
hmalicha Jul 29, 2022
4a846f6
Merge pull request #1 from hmalicha/patch-1
hmalicha Aug 1, 2022
5f50e2e
Update LabelFormat.php
hmalicha Aug 1, 2022
6b8df5a
Merge pull request #2 from plentymarkets/hmalicha-patch-1
hmalicha Aug 1, 2022
7d8c9cd
added EUR currency
ClaudiuArdelean Aug 11, 2022
79334a4
added CM to UnitOfWeight
ClaudiuArdelean Aug 23, 2022
c669b8c
Update Address.php
Aug 23, 2022
aec209e
Merge pull request #5 from plentymarkets/fix_amazon_returns_bigger_va…
Aug 23, 2022
518085e
Merge remote-tracking branch 'origin/4.x' into add/changes
Aug 23, 2022
8709d88
Merge pull request #6 from plentymarkets/add/changes
Aug 23, 2022
3546e8c
FIX values not matching documentation
Aug 24, 2022
32b4bd7
Merge pull request #7 from plentymarkets/fix/values_not_matching_docu…
Aug 24, 2022
df4bc6a
FIX disable lenght check for city
Aug 25, 2022
fa5f093
Merge pull request #8 from plentymarkets/fix_disable_length_check
Aug 25, 2022
789e19b
Merge branch 'PHP7.3' into fix/added-eur-in-currency-code-model
vcarstea-plenty Sep 26, 2022
27629c3
Merge pull request #4 from plentymarkets/fix/added-eur-in-currency-co…
vcarstea-plenty Sep 26, 2022
f562389
changed Fulfillment inbound models
ClaudiuArdelean Oct 27, 2022
7888260
code fix
ClaudiuArdelean Oct 28, 2022
e21083c
Merge pull request #10 from plentymarkets/fulfi/fix/amazon-sinbound-m…
ClaudiuArdelean Oct 28, 2022
973d9c6
changed PrepDetails setters and getters
ClaudiuArdelean Oct 31, 2022
8059879
Merge pull request #11 from plentymarkets/change/amazon-fba-inbound-m…
ClaudiuArdelean Oct 31, 2022
ed3156e
allow null return for getFreightReadyDate()
vcarstea-plenty Nov 7, 2022
b8932e1
allow null for carrierName and proNumber
vcarstea-plenty Nov 7, 2022
50af08e
allow null for palletList, totalWeight, previewPickupDate, previewDel…
vcarstea-plenty Nov 7, 2022
e4c567e
allow null weight for partnered SP packages
vcarstea-plenty Nov 9, 2022
b827ee3
allow return type null for dimensions
vcarstea-plenty Nov 10, 2022
ab12f77
Merge pull request #12 from plentymarkets/fix/30748-optional-partnere…
vcarstea-plenty Nov 10, 2022
a953480
allow READY_TO_SHIP status
vcarstea-plenty Nov 15, 2022
e83ffad
Merge pull request #13 from plentymarkets/34841-allow-new-shipment-st…
vcarstea-plenty Nov 22, 2022
dffeb97
catching and throwing guzzle client exceptions
vcarstea-plenty Jan 5, 2023
57661bf
Merge pull request #15 from plentymarkets/fulfi/39777-throw-guzzle-cl…
vcarstea-plenty Jan 5, 2023
e3cd0c0
ADD undocumented values to avoid exceptions
Jan 20, 2023
cd17b0e
throw api exception with complete message
vcarstea-plenty Feb 6, 2023
f84fe5d
no str_replace on null
vcarstea-plenty Feb 6, 2023
7d15455
fallback error message
vcarstea-plenty Feb 7, 2023
ddfedcb
Merge pull request #16 from plentymarkets/fulfi/feature/44295-full-er…
vcarstea-plenty Feb 13, 2023
37c9fe4
add "Boxing" as allowed value for PrepInstruction
vcarstea-plenty Feb 16, 2023
f878116
Merge pull request #17 from plentymarkets/fulfi/fix/45619-boxing-prep…
vcarstea-plenty Feb 17, 2023
5a79f29
Credentials handler
iszederyesi-plenty Feb 19, 2023
8531655
ConfigurationExt -> Configuration
iszederyesi-plenty Feb 20, 2023
feebf48
Changed function name
iszederyesi-plenty Feb 20, 2023
d47116e
Changes after code review
iszederyesi-plenty Feb 20, 2023
cdd9baa
Merge pull request #18 from plentymarkets/feat/session-token-handler
iszederyesi-plenty Feb 20, 2023
d8c107a
model changes
ClaudiuArdelean Mar 3, 2023
95b0248
Merge pull request #19 from plentymarkets/oms/fulfi/fix-outbound-models
Mar 3, 2023
5ddc1b6
added new currencies
ClaudiuArdelean Mar 15, 2023
58c420d
Merge pull request #20 from plentymarkets/oms/fulfi/fba-inbound-model…
ClaudiuArdelean Mar 15, 2023
3c0c525
fix php8.2
ggottwald Apr 6, 2023
11420fb
try to load message from response if method available
MKanitz May 5, 2023
362b281
Merge pull request #21 from plentymarkets/app-core/php8.2
juri-plenty May 11, 2023
4376995
Merge pull request #22 from plentymarkets/oms/load_not_truncated_message
ClaudiuArdelean May 22, 2023
ca1f965
Fixed missing attributes which caused exception on PHP 8.2
mariusbippig Jan 11, 2024
efc2b73
Merge pull request #23 from plentymarkets/php8.2_compatibility
mariusbippig Feb 1, 2024
6ff9106
improve logging
Feb 5, 2024
14289fe
improve message for ClientExceptionInterface
Feb 5, 2024
b8dc83f
improve logging for MerchantFulfillmentSDK
Feb 7, 2024
c4791a6
Merge pull request #24 from plentymarkets/fulfi/improve_logging
ClaudiuArdelean Mar 14, 2024
ff0fca8
changes on sp- api sdk 2024 version
Jul 23, 2024
9b50499
Fix product type definition list response model
juri-plenty Sep 19, 2024
f96b8e8
Merge pull request #27 from plentymarkets/Fix/productTypeDefinitionList
juri-plenty Sep 19, 2024
46231ea
Merge branch 'PHP7.3' into feature/fulfillment_inbound_api_2024
Sep 24, 2024
04709e8
use sandbox endpoints
Sep 24, 2024
7f08fe3
use minimum stability
Sep 24, 2024
dddb5f3
added missing interface
Sep 24, 2024
84a480c
use different model interface for fulfilment inbound
Sep 24, 2024
2db5b28
change to models
Sep 25, 2024
0b66c4a
correct namespace
Sep 25, 2024
134de27
fix models
Sep 25, 2024
f0ae172
change
Sep 27, 2024
c4f1730
remove sandbox hosts
Oct 23, 2024
aade992
trying to log from this repo
Oct 23, 2024
99dd0a9
add log
Oct 24, 2024
b395640
add more logs
Oct 24, 2024
714b1af
change logs
Oct 28, 2024
0ac8336
Merge pull request #28 from plentymarkets/oms/fulfi/log_inbound_requests
nopceal Oct 28, 2024
7dead14
use sdk2024
Oct 30, 2024
982c3b3
added missing models
Oct 30, 2024
a3b194b
add operation listPrepDetails
Oct 31, 2024
6b8a71a
exception message was truncated
Nov 4, 2024
8474d4f
add new operation setPrepDetails
Nov 18, 2024
236d6c7
add report logs for some operations
Nov 20, 2024
a92de8d
change on start date of window input
Nov 25, 2024
19a0de9
changes to amazon inbound api
Dec 2, 2024
61f0907
fix Window input
Dec 5, 2024
de38a4e
change construct
Dec 10, 2024
a935b2c
redone readonly constructor parameters
Dec 11, 2024
3a4fce5
can not use "final" as constant modifier
Dec 11, 2024
1482438
Merge branch 'PHP7.3' into feature/fulfillment_inbound_api_2024
Dec 11, 2024
35335fe
add log for get labels
Dec 11, 2024
4ddbeb9
remove unnecessary code
Dec 18, 2024
72c8390
Merge pull request #26 from plentymarkets/feature/fulfillment_inbound…
nopceal Dec 18, 2024
4c36f44
added missing attributes in product type definitions request and resp…
mariusbippig Apr 25, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 11 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ Example of changing refresh token into access token.
```
<?php

use AmazonPHP\SellingPartner\OAuth;
use AmazonPHP\SellingPartner\Configuration;
use AmazonPHP\SellingPartner\HttpFactory;
use Plenty\AmazonPHP\SellingPartner\OAuth;
use Plenty\AmazonPHP\SellingPartner\Configuration;
use Plenty\AmazonPHP\SellingPartner\HttpFactory;
use Buzz\Client\Curl;
use Nyholm\Psr7\Factory\Psr17Factory;

Expand All @@ -158,9 +158,9 @@ $accessToken = $oauth->exchangeRefreshToken('seller_oauth_refresh_token');
```
<?php

use AmazonPHP\SellingPartner\OAuth;
use AmazonPHP\SellingPartner\Configuration;
use AmazonPHP\SellingPartner\HttpFactory;
use Plenty\AmazonPHP\SellingPartner\OAuth;
use Plenty\AmazonPHP\SellingPartner\Configuration;
use Plenty\AmazonPHP\SellingPartner\HttpFactory;
use Buzz\Client\Curl;
use Nyholm\Psr7\Factory\Psr17Factory;

Expand Down Expand Up @@ -215,12 +215,12 @@ composer generate
```php
<?php

use AmazonPHP\SellingPartner\Marketplace;
use AmazonPHP\SellingPartner\Regions;
use AmazonPHP\SellingPartner\SellingPartnerSDK;
use Plenty\AmazonPHP\SellingPartner\Marketplace;
use Plenty\AmazonPHP\SellingPartner\Regions;
use Plenty\AmazonPHP\SellingPartner\SellingPartnerSDK;
use Buzz\Client\Curl;
use AmazonPHP\SellingPartner\Exception\ApiException;
use AmazonPHP\SellingPartner\Configuration;
use Plenty\AmazonPHP\SellingPartner\Exception\ApiException;
use Plenty\AmazonPHP\SellingPartner\Configuration;
use Monolog\Handler\StreamHandler;
use Monolog\Logger;
use Nyholm\Psr7\Factory\Psr17Factory;
Expand Down
8 changes: 4 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "amazon-php/sp-api-sdk",
"name": "plentymarkets/amazon-sp-api-sdk",
"description": "Amazon Selling Partner API - PHP SDK",
"keywords": ["amazon", "selling-partner-api", "php", "sdk", "rest", "api"],
"homepage": "https://openapi-generator.tech",
Expand All @@ -15,7 +15,7 @@
}
],
"require": {
"php": "^7.4 || ~8.0 || ~8.1",
"php": "^7.3 || ~8.0 || ~8.1",
"ext-curl": "*",
"ext-json": "*",
"ext-mbstring": "*",
Expand All @@ -31,10 +31,10 @@
"monolog/monolog": "^2.2"
},
"autoload": {
"psr-4": { "AmazonPHP\\" : "src/AmazonPHP/" }
"psr-4": { "Plenty\\AmazonPHP\\" : "src/AmazonPHP/" }
},
"autoload-dev": {
"psr-4": { "AmazonPHP\\Test\\" : "tests/" }
"psr-4": { "Plenty\\AmazonPHP\\Test\\" : "tests/" }
},
"scripts": {
"clean": [
Expand Down
10 changes: 5 additions & 5 deletions rector.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

declare(strict_types=1);

use AmazonPHP\SellingPartner\Api\VendorOrdersApi\VendorDirectFulfillmentOrdersSDK;
use AmazonPHP\SellingPartner\Model\CatalogItem\Item;
use AmazonPHP\SellingPartner\Model\Messaging\GetSchemaResponse;
use AmazonPHP\SellingPartner\Model\Orders\Address;
use AmazonPHP\SellingPartner\Model\Uploads\UploadDestination;
use Plenty\AmazonPHP\SellingPartner\Api\VendorOrdersApi\VendorDirectFulfillmentOrdersSDK;
use Plenty\AmazonPHP\SellingPartner\Model\CatalogItem\Item;
use Plenty\AmazonPHP\SellingPartner\Model\Messaging\GetSchemaResponse;
use Plenty\AmazonPHP\SellingPartner\Model\Orders\Address;
use Plenty\AmazonPHP\SellingPartner\Model\Uploads\UploadDestination;
use PHPStan\Type\ArrayType;
use PHPStan\Type\BooleanType;
use PHPStan\Type\MixedType;
Expand Down
12 changes: 6 additions & 6 deletions src/AmazonPHP/SellingPartner/AccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,19 @@

declare(strict_types=1);

namespace AmazonPHP\SellingPartner;
namespace Plenty\AmazonPHP\SellingPartner;

final class AccessToken
{
private string $accessToken;
private /** [COMPAT] string */ $accessToken;

private string $refreshToken;
private /** [COMPAT] string */ $refreshToken;

private string $type;
private /** [COMPAT] string */ $type;

private int $expiresIn;
private /** [COMPAT] int */ $expiresIn;

private string $grantType;
private /** [COMPAT] string */ $grantType;

public function __construct(string $accessToken, string $refreshToken, string $type, int $expiresIn, string $grantType)
{
Expand Down
150 changes: 75 additions & 75 deletions src/AmazonPHP/SellingPartner/Api/AplusContentApi/APlusSDK.php

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\AuthorizationApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
use AmazonPHP\SellingPartner\Exception\ApiException;
use AmazonPHP\SellingPartner\Exception\InvalidArgumentException;
use AmazonPHP\SellingPartner\HttpFactory;
use AmazonPHP\SellingPartner\HttpSignatureHeaders;
use AmazonPHP\SellingPartner\ObjectSerializer;
namespace Plenty\AmazonPHP\SellingPartner\Api\AuthorizationApi;

use Plenty\AmazonPHP\SellingPartner\AccessToken;
use Plenty\AmazonPHP\SellingPartner\Configuration;
use Plenty\AmazonPHP\SellingPartner\Exception\ApiException;
use Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException;
use Plenty\AmazonPHP\SellingPartner\HttpFactory;
use Plenty\AmazonPHP\SellingPartner\HttpSignatureHeaders;
use Plenty\AmazonPHP\SellingPartner\ObjectSerializer;
use Psr\Http\Client\ClientExceptionInterface;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestInterface;
Expand All @@ -26,13 +26,13 @@ final class AuthorizationSDK

public const OPERATION_GETAUTHORIZATIONCODE_PATH = '/authorization/v1/authorizationCode';

private ClientInterface $client;
private /** [COMPAT] ClientInterface */ $client;

private HttpFactory $httpFactory;
private /** [COMPAT] HttpFactory */ $httpFactory;

private Configuration $configuration;
private /** [COMPAT] Configuration */ $configuration;

private LoggerInterface $logger;
private /** [COMPAT] LoggerInterface */ $logger;

public function __construct(ClientInterface $client, HttpFactory $requestFactory, Configuration $configuration, LoggerInterface $logger)
{
Expand All @@ -52,10 +52,10 @@ public function __construct(ClientInterface $client, HttpFactory $requestFactory
* @param string $developer_id Your developer ID. This must be one of the developer ID values that you provided when you registered your application in Developer Central. (required)
* @param string $mws_auth_token The MWS Auth Token that was generated when the seller authorized your application on the Marketplace Appstore. (required)
*
* @throws \AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
* @throws \AmazonPHP\SellingPartner\Exception\InvalidArgumentException
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException
*/
public function getAuthorizationCode(AccessToken $accessToken, string $region, string $selling_partner_id, string $developer_id, string $mws_auth_token) : \AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse
public function getAuthorizationCode(AccessToken $accessToken, string $region, string $selling_partner_id, string $developer_id, string $mws_auth_token) : \Plenty\AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse
{
$request = $this->getAuthorizationCodeRequest($accessToken, $region, $selling_partner_id, $developer_id, $mws_auth_token);

Expand Down Expand Up @@ -137,7 +137,7 @@ public function getAuthorizationCode(AccessToken $accessToken, string $region, s
return ObjectSerializer::deserialize(
$this->configuration,
(string) $response->getBody(),
'\AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse',
'\Plenty\AmazonPHP\SellingPartner\Model\Authorization\GetAuthorizationCodeResponse',
[]
);
}
Expand All @@ -150,7 +150,7 @@ public function getAuthorizationCode(AccessToken $accessToken, string $region, s
* @param string $developer_id Your developer ID. This must be one of the developer ID values that you provided when you registered your application in Developer Central. (required)
* @param string $mws_auth_token The MWS Auth Token that was generated when the seller authorized your application on the Marketplace Appstore. (required)
*
* @throws \AmazonPHP\SellingPartner\Exception\InvalidArgumentException
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException
*/
public function getAuthorizationCodeRequest(AccessToken $accessToken, string $region, string $selling_partner_id, string $developer_id, string $mws_auth_token) : RequestInterface
{
Expand Down
46 changes: 23 additions & 23 deletions src/AmazonPHP/SellingPartner/Api/CatalogApi/CatalogItemSDK.php
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\CatalogApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
use AmazonPHP\SellingPartner\Exception\ApiException;
use AmazonPHP\SellingPartner\Exception\InvalidArgumentException;
use AmazonPHP\SellingPartner\HttpFactory;
use AmazonPHP\SellingPartner\HttpSignatureHeaders;
use AmazonPHP\SellingPartner\ObjectSerializer;
namespace Plenty\AmazonPHP\SellingPartner\Api\CatalogApi;

use Plenty\AmazonPHP\SellingPartner\AccessToken;
use Plenty\AmazonPHP\SellingPartner\Configuration;
use Plenty\AmazonPHP\SellingPartner\Exception\ApiException;
use Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException;
use Plenty\AmazonPHP\SellingPartner\HttpFactory;
use Plenty\AmazonPHP\SellingPartner\HttpSignatureHeaders;
use Plenty\AmazonPHP\SellingPartner\ObjectSerializer;
use Psr\Http\Client\ClientExceptionInterface;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestInterface;
Expand All @@ -30,13 +30,13 @@ final class CatalogItemSDK

public const OPERATION_SEARCHCATALOGITEMS_PATH = '/catalog/2020-12-01/items';

private ClientInterface $client;
private /** [COMPAT] ClientInterface */ $client;

private HttpFactory $httpFactory;
private /** [COMPAT] HttpFactory */ $httpFactory;

private Configuration $configuration;
private /** [COMPAT] Configuration */ $configuration;

private LoggerInterface $logger;
private /** [COMPAT] LoggerInterface */ $logger;

public function __construct(ClientInterface $client, HttpFactory $requestFactory, Configuration $configuration, LoggerInterface $logger)
{
Expand All @@ -55,10 +55,10 @@ public function __construct(ClientInterface $client, HttpFactory $requestFactory
* @param string[] $included_data A comma-delimited list of data sets to include in the response. Default: summaries. (optional)
* @param string $locale Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace. (optional)
*
* @throws \AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
* @throws \AmazonPHP\SellingPartner\Exception\InvalidArgumentException
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException
*/
public function getCatalogItem(AccessToken $accessToken, string $region, string $asin, array $marketplace_ids, array $included_data = null, string $locale = null) : \AmazonPHP\SellingPartner\Model\CatalogItem\Item
public function getCatalogItem(AccessToken $accessToken, string $region, string $asin, array $marketplace_ids, array $included_data = null, string $locale = null) : \Plenty\AmazonPHP\SellingPartner\Model\CatalogItem\Item
{
$request = $this->getCatalogItemRequest($accessToken, $region, $asin, $marketplace_ids, $included_data, $locale);

Expand Down Expand Up @@ -140,7 +140,7 @@ public function getCatalogItem(AccessToken $accessToken, string $region, string
return ObjectSerializer::deserialize(
$this->configuration,
(string) $response->getBody(),
'\AmazonPHP\SellingPartner\Model\CatalogItem\Item',
'\Plenty\AmazonPHP\SellingPartner\Model\CatalogItem\Item',
[]
);
}
Expand All @@ -154,7 +154,7 @@ public function getCatalogItem(AccessToken $accessToken, string $region, string
* @param string[] $included_data A comma-delimited list of data sets to include in the response. Default: summaries. (optional)
* @param string $locale Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace. (optional)
*
* @throws \AmazonPHP\SellingPartner\Exception\InvalidArgumentException
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException
*/
public function getCatalogItemRequest(AccessToken $accessToken, string $region, string $asin, array $marketplace_ids, array $included_data = null, string $locale = null) : RequestInterface
{
Expand Down Expand Up @@ -285,10 +285,10 @@ public function getCatalogItemRequest(AccessToken $accessToken, string $region,
* @param string $keywords_locale The language the keywords are provided in. Defaults to the primary locale of the marketplace. (optional)
* @param string $locale Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace. (optional)
*
* @throws \AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
* @throws \AmazonPHP\SellingPartner\Exception\InvalidArgumentException
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\ApiException on non-2xx response
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException
*/
public function searchCatalogItems(AccessToken $accessToken, string $region, array $keywords, array $marketplace_ids, array $included_data = null, array $brand_names = null, array $classification_ids = null, int $page_size = 10, string $page_token = null, string $keywords_locale = null, string $locale = null) : \AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults
public function searchCatalogItems(AccessToken $accessToken, string $region, array $keywords, array $marketplace_ids, array $included_data = null, array $brand_names = null, array $classification_ids = null, int $page_size = 10, string $page_token = null, string $keywords_locale = null, string $locale = null) : \Plenty\AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults
{
$request = $this->searchCatalogItemsRequest($accessToken, $region, $keywords, $marketplace_ids, $included_data, $brand_names, $classification_ids, $page_size, $page_token, $keywords_locale, $locale);

Expand Down Expand Up @@ -370,7 +370,7 @@ public function searchCatalogItems(AccessToken $accessToken, string $region, arr
return ObjectSerializer::deserialize(
$this->configuration,
(string) $response->getBody(),
'\AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults',
'\Plenty\AmazonPHP\SellingPartner\Model\CatalogItem\ItemSearchResults',
[]
);
}
Expand All @@ -389,7 +389,7 @@ public function searchCatalogItems(AccessToken $accessToken, string $region, arr
* @param string $keywords_locale The language the keywords are provided in. Defaults to the primary locale of the marketplace. (optional)
* @param string $locale Locale for retrieving localized summaries. Defaults to the primary locale of the marketplace. (optional)
*
* @throws \AmazonPHP\SellingPartner\Exception\InvalidArgumentException
* @throws \Plenty\AmazonPHP\SellingPartner\Exception\InvalidArgumentException
*/
public function searchCatalogItemsRequest(AccessToken $accessToken, string $region, array $keywords, array $marketplace_ids, array $included_data = null, array $brand_names = null, array $classification_ids = null, int $page_size = 10, string $page_token = null, string $keywords_locale = null, string $locale = null) : RequestInterface
{
Expand Down
Loading