Skip to content

Commit

Permalink
Namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
iszederyesi-plenty committed Jun 20, 2022
1 parent d99f40f commit 0928c74
Show file tree
Hide file tree
Showing 917 changed files with 919 additions and 919 deletions.
6 changes: 3 additions & 3 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 Down Expand Up @@ -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
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/AccessToken.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

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

final class AccessToken
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\AplusContentApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\AplusContentApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\AuthorizationApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\AuthorizationApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\CatalogApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\CatalogApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\DefaultApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\DefaultApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\DefinitionsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\DefinitionsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\FbaInboundApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\FbaInboundApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\FbaInboundApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\FbaInboundApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\FbaInventoryApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\FbaInventoryApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\FbaOutboundApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\FbaOutboundApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/FeedsApi/FeedsSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\FeedsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\FeedsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\FeesApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\FeesApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\ListingsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\ListingsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\MerchantFulfillmentApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\MerchantFulfillmentApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\MessagingApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\MessagingApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\NotificationsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\NotificationsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/OrdersV0Api/OrdersSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\OrdersV0Api;
namespace Plenty\AmazonPHP\SellingPartner\Api\OrdersV0Api;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\ProductPricingApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\ProductPricingApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/ReportsApi/ReportsSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\ReportsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\ReportsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/SalesApi/SalesSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\SalesApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\SalesApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/SellersApi/SellersSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\SellersApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\SellersApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\ServiceApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\ServiceApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/ShipmentApi/OrdersSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\ShipmentApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\ShipmentApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\ShipmentInvoiceApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\ShipmentInvoiceApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\ShippingApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\ShippingApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\SmallAndLightApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\SmallAndLightApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\SolicitationsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\SolicitationsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/TokensApi/TokensSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\TokensApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\TokensApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\UpdateInventoryApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\UpdateInventoryApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Api/UploadsApi/UploadsSDK.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\UploadsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\UploadsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorInvoiceApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorInvoiceApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorOrdersApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorOrdersApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorOrdersApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorOrdersApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorPaymentsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorPaymentsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorShippingApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorShippingApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorShippingLabelsApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorShippingLabelsApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorTransactionApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorTransactionApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

namespace AmazonPHP\SellingPartner\Api\VendorTransactionApi;
namespace Plenty\AmazonPHP\SellingPartner\Api\VendorTransactionApi;

use AmazonPHP\SellingPartner\AccessToken;
use AmazonPHP\SellingPartner\Configuration;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Configuration.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

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

use AmazonPHP\SellingPartner\Configuration\LoggerConfiguration;
use AmazonPHP\SellingPartner\Exception\InvalidArgumentException;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

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

use Psr\Log\LogLevel;

Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Exception/ApiException.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

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

final class ApiException extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Exception/Exception.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

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

class Exception extends \Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

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

class InvalidArgumentException extends Exception
{
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Extension.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php declare(strict_types=1);

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

use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/Extensions.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

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

use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/AmazonPHP/SellingPartner/HttpFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

declare(strict_types=1);

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

use Psr\Http\Message\RequestFactoryInterface;
use Psr\Http\Message\RequestInterface;
Expand Down
Loading

0 comments on commit 0928c74

Please sign in to comment.