change namespace vendor to WooCommerce

This commit is contained in:
David Remer 2020-09-11 14:11:10 +03:00
parent c5899d915c
commit c788341887
162 changed files with 707 additions and 708 deletions

View file

@ -2,11 +2,11 @@
/**
* The extensions of the api client module.
*
* @package Inpsyde\PayPalCommerce\ApiClient
* @package WooCommerce\PayPalCommerce\ApiClient
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient;
namespace WooCommerce\PayPalCommerce\ApiClient;
return array();

View file

@ -2,12 +2,12 @@
/**
* The api client module.
*
* @package Inpsyde\PayPalCommerce\ApiClient
* @package WooCommerce\PayPalCommerce\ApiClient
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient;
namespace WooCommerce\PayPalCommerce\ApiClient;
use Dhii\Modular\Module\ModuleInterface;

View file

@ -2,46 +2,46 @@
/**
* The services of the API client.
*
* @package Inpsyde\PayPalCommerce\ApiClient
* @package WooCommerce\PayPalCommerce\ApiClient
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient;
namespace WooCommerce\PayPalCommerce\ApiClient;
use Dhii\Data\Container\ContainerInterface;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\Bearer;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\PayPalBearer;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\IdentityToken;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\LoginSeller;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\PartnerReferrals;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\PaymentsEndpoint;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\PaymentTokenEndpoint;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\WebhookEndpoint;
use Inpsyde\PayPalCommerce\ApiClient\Factory\AddressFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\AmountFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\ApplicationContextFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\AuthorizationFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\ItemFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\OrderFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PatchCollectionFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PayeeFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PayerFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PaymentsFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PaymentSourceFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PaymentTokenFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\ShippingFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\WebhookFactory;
use Inpsyde\PayPalCommerce\ApiClient\Helper\Cache;
use Inpsyde\PayPalCommerce\ApiClient\Helper\DccApplies;
use Inpsyde\PayPalCommerce\ApiClient\Repository\ApplicationContextRepository;
use Inpsyde\PayPalCommerce\ApiClient\Repository\CartRepository;
use Inpsyde\PayPalCommerce\ApiClient\Repository\PartnerReferralsData;
use Inpsyde\PayPalCommerce\ApiClient\Repository\PayeeRepository;
use Inpsyde\PayPalCommerce\ApiClient\Repository\PayPalRequestIdRepository;
use Inpsyde\PayPalCommerce\WcGateway\Settings\Settings;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\PayPalBearer;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\IdentityToken;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\LoginSeller;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\OrderEndpoint;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\PartnerReferrals;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\PaymentsEndpoint;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\PaymentTokenEndpoint;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\WebhookEndpoint;
use WooCommerce\PayPalCommerce\ApiClient\Factory\AddressFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\AmountFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\ApplicationContextFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\AuthorizationFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\ItemFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\OrderFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PatchCollectionFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PayeeFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PayerFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PaymentsFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PaymentSourceFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PaymentTokenFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\ShippingFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\WebhookFactory;
use WooCommerce\PayPalCommerce\ApiClient\Helper\Cache;
use WooCommerce\PayPalCommerce\ApiClient\Helper\DccApplies;
use WooCommerce\PayPalCommerce\ApiClient\Repository\ApplicationContextRepository;
use WooCommerce\PayPalCommerce\ApiClient\Repository\CartRepository;
use WooCommerce\PayPalCommerce\ApiClient\Repository\PartnerReferralsData;
use WooCommerce\PayPalCommerce\ApiClient\Repository\PayeeRepository;
use WooCommerce\PayPalCommerce\ApiClient\Repository\PayPalRequestIdRepository;
use WooCommerce\PayPalCommerce\WcGateway\Settings\Settings;
use WpOop\TransientCache\CachePoolFactory;
return array(

View file

@ -2,14 +2,14 @@
/**
* The bearer interface.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Authentication
* @package WooCommerce\PayPalCommerce\ApiClient\Authentication
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Authentication;
namespace WooCommerce\PayPalCommerce\ApiClient\Authentication;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Token;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Token;
/**
* Interface Bearer

View file

@ -2,14 +2,14 @@
/**
* The connect dummy bearer.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Authentication
* @package WooCommerce\PayPalCommerce\ApiClient\Authentication
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Authentication;
namespace WooCommerce\PayPalCommerce\ApiClient\Authentication;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Token;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Token;
/**
* Class ConnectBearer

View file

@ -2,17 +2,17 @@
/**
* The PayPal bearer.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Authentication
* @package WooCommerce\PayPalCommerce\ApiClient\Authentication
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Authentication;
namespace WooCommerce\PayPalCommerce\ApiClient\Authentication;
use Inpsyde\PayPalCommerce\ApiClient\Endpoint\RequestTrait;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Token;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Helper\Cache;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\RequestTrait;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Token;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Helper\Cache;
use Psr\Log\LoggerInterface;
use Psr\SimpleCache\CacheInterface;

View file

@ -2,17 +2,17 @@
/**
* Fetches identity tokens.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\Bearer;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Token;
use Inpsyde\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Token;
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Psr\Log\LoggerInterface;
/**

View file

@ -2,15 +2,15 @@
/**
* Fetches credentials for an instance.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
use Inpsyde\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Psr\Log\LoggerInterface;
/**

View file

@ -2,28 +2,28 @@
/**
* The order endpoint.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\Bearer;
use Inpsyde\PayPalCommerce\ApiClient\Entity\ApplicationContext;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Order;
use Inpsyde\PayPalCommerce\ApiClient\Entity\OrderStatus;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Payer;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PaymentMethod;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PaymentToken;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use Inpsyde\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Factory\OrderFactory;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PatchCollectionFactory;
use Inpsyde\PayPalCommerce\ApiClient\Helper\ErrorResponse;
use Inpsyde\PayPalCommerce\ApiClient\Repository\ApplicationContextRepository;
use Inpsyde\PayPalCommerce\ApiClient\Repository\PayPalRequestIdRepository;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
use WooCommerce\PayPalCommerce\ApiClient\Entity\ApplicationContext;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Order;
use WooCommerce\PayPalCommerce\ApiClient\Entity\OrderStatus;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Payer;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentMethod;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentToken;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Factory\OrderFactory;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PatchCollectionFactory;
use WooCommerce\PayPalCommerce\ApiClient\Helper\ErrorResponse;
use WooCommerce\PayPalCommerce\ApiClient\Repository\ApplicationContextRepository;
use WooCommerce\PayPalCommerce\ApiClient\Repository\PayPalRequestIdRepository;
use Psr\Log\LoggerInterface;
/**

View file

@ -2,17 +2,17 @@
/**
* The partner referrals endpoint.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\Bearer;
use Inpsyde\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Repository\PartnerReferralsData;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Repository\PartnerReferralsData;
use Psr\Log\LoggerInterface;
/**

View file

@ -2,18 +2,18 @@
/**
* The payments endpoint.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\Bearer;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Authorization;
use Inpsyde\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Factory\AuthorizationFactory;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Authorization;
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Factory\AuthorizationFactory;
use Psr\Log\LoggerInterface;
/**

View file

@ -2,18 +2,18 @@
/**
* The payment token endpoint.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\Bearer;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PaymentToken;
use Inpsyde\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PaymentTokenFactory;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentToken;
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PaymentTokenFactory;
use Psr\Log\LoggerInterface;
/**

View file

@ -2,12 +2,12 @@
/**
* The RequestTrait wraps the wp_remote_get functionality for the API client.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
/**
* Trait RequestTrait

View file

@ -2,18 +2,18 @@
/**
* The webhook endpoint.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Endpoint
* @package WooCommerce\PayPalCommerce\ApiClient\Endpoint
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Endpoint;
namespace WooCommerce\PayPalCommerce\ApiClient\Endpoint;
use Inpsyde\PayPalCommerce\ApiClient\Authentication\Bearer;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Webhook;
use Inpsyde\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Factory\WebhookFactory;
use WooCommerce\PayPalCommerce\ApiClient\Authentication\Bearer;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Webhook;
use WooCommerce\PayPalCommerce\ApiClient\Exception\PayPalApiException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Factory\WebhookFactory;
use Psr\Log\LoggerInterface;
/**

View file

@ -2,12 +2,12 @@
/**
* The address object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Address

View file

@ -2,12 +2,12 @@
/**
* The amount object
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Amount

View file

@ -2,12 +2,12 @@
/**
* The Amount Breakdown object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class AmountBreakdown

View file

@ -2,14 +2,14 @@
/**
* The application context object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class ApplicationContext

View file

@ -2,12 +2,12 @@
/**
* The Authorization object
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Authorization

View file

@ -2,14 +2,14 @@
/**
* The AuthorizationStatus object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class AuthorizationStatus

View file

@ -2,12 +2,12 @@
/**
* The CardauthenticationResult object
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class CardAuthenticationResult

View file

@ -2,12 +2,12 @@
/**
* The item object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Item

View file

@ -2,12 +2,12 @@
/**
* The money object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Money

View file

@ -2,12 +2,12 @@
/**
* The order object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Order

View file

@ -2,14 +2,14 @@
/**
* The OrderStatus object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class OrderStatus

View file

@ -2,12 +2,12 @@
/**
* The Patch object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Patch

View file

@ -2,12 +2,12 @@
/**
* The Patch collection object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PatchCollection

View file

@ -2,12 +2,12 @@
/**
* The payee object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Payee

View file

@ -2,12 +2,12 @@
/**
* The payer object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Payer

View file

@ -2,12 +2,12 @@
/**
* The PayerName object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PayerName

View file

@ -2,14 +2,14 @@
/**
* The PayerTaxInfo object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class PayerTaxInfo

View file

@ -2,12 +2,12 @@
/**
* The PaymentMethod object
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PaymentMethod

View file

@ -2,12 +2,12 @@
/**
* The Payments object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Payments

View file

@ -2,12 +2,12 @@
/**
* The PaymentSource object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PaymentSource

View file

@ -2,12 +2,12 @@
/**
* The PaymentSourceCard object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PaymentSourceCard

View file

@ -2,12 +2,12 @@
/**
* The PaymentSourcewallet.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PaymentSourceWallet

View file

@ -2,14 +2,14 @@
/**
* The PaymentToken object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class PaymentToken

View file

@ -2,12 +2,12 @@
/**
* The Phone object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Phone

View file

@ -2,12 +2,12 @@
/**
* The PhoneWithType object
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PhoneWithType

View file

@ -2,12 +2,12 @@
/**
* The purchase unit object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class PurchaseUnit

View file

@ -2,12 +2,12 @@
/**
* The Shipping object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Shipping

View file

@ -2,14 +2,14 @@
/**
* The Token object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class Token

View file

@ -2,12 +2,12 @@
/**
* The Webhook object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Entity
* @package WooCommerce\PayPalCommerce\ApiClient\Entity
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Entity;
namespace WooCommerce\PayPalCommerce\ApiClient\Entity;
/**
* Class Webhook

View file

@ -2,12 +2,12 @@
/**
* The modules Not Found exception.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Exception
* @package WooCommerce\PayPalCommerce\ApiClient\Exception
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Exception;
namespace WooCommerce\PayPalCommerce\ApiClient\Exception;
use Psr\Container\NotFoundExceptionInterface;
use Exception;

View file

@ -2,12 +2,12 @@
/**
* The PayPal API Exception.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Exception
* @package WooCommerce\PayPalCommerce\ApiClient\Exception
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Exception;
namespace WooCommerce\PayPalCommerce\ApiClient\Exception;
/**
* Class PayPalApiException

View file

@ -2,12 +2,12 @@
/**
* The modules runtime exception.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Exception
* @package WooCommerce\PayPalCommerce\ApiClient\Exception
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Exception;
namespace WooCommerce\PayPalCommerce\ApiClient\Exception;
/**
* Class RuntimeException

View file

@ -2,15 +2,15 @@
/**
* The Address factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Address;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Address;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class AddressFactory

View file

@ -2,18 +2,18 @@
/**
* The Amount factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Amount;
use Inpsyde\PayPalCommerce\ApiClient\Entity\AmountBreakdown;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Item;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Money;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Amount;
use WooCommerce\PayPalCommerce\ApiClient\Entity\AmountBreakdown;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Item;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Money;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class AmountFactory

View file

@ -2,14 +2,14 @@
/**
* The ApplicationContext factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\ApplicationContext;
use WooCommerce\PayPalCommerce\ApiClient\Entity\ApplicationContext;
/**
* Class ApplicationContextFactory

View file

@ -2,16 +2,16 @@
/**
* The Authorization factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Authorization;
use Inpsyde\PayPalCommerce\ApiClient\Entity\AuthorizationStatus;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Authorization;
use WooCommerce\PayPalCommerce\ApiClient\Entity\AuthorizationStatus;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class AuthorizationFactory

View file

@ -2,16 +2,16 @@
/**
* The Item factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Item;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Money;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Item;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Money;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class ItemFactory

View file

@ -2,18 +2,18 @@
/**
* The Order factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Order;
use Inpsyde\PayPalCommerce\ApiClient\Entity\OrderStatus;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Repository\ApplicationContextRepository;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Order;
use WooCommerce\PayPalCommerce\ApiClient\Entity\OrderStatus;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Repository\ApplicationContextRepository;
/**
* Class OrderFactory

View file

@ -2,17 +2,17 @@
/**
* The PatchCollection factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Order;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Patch;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PatchCollection;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Order;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Patch;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PatchCollection;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
/**
* Class PatchCollectionFactory

View file

@ -2,15 +2,15 @@
/**
* The Payee Factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Payee;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Payee;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class PayeeFactory

View file

@ -2,18 +2,18 @@
/**
* The Payer factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Payer;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PayerName;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PayerTaxInfo;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Phone;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PhoneWithType;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Payer;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PayerName;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PayerTaxInfo;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Phone;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PhoneWithType;
/**
* Class PayerFactory

View file

@ -2,15 +2,15 @@
/**
* The Payments factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Authorization;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Payments;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Authorization;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Payments;
/**
* Class PaymentsFactory

View file

@ -2,16 +2,16 @@
/**
* The PaymentSource factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\CardAuthenticationResult;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PaymentSource;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PaymentSourceCard;
use WooCommerce\PayPalCommerce\ApiClient\Entity\CardAuthenticationResult;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSource;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentSourceCard;
/**
* Class PaymentSourceFactory

View file

@ -2,15 +2,15 @@
/**
* The PaymentToken Factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PaymentToken;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PaymentToken;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class PaymentTokenFactory

View file

@ -2,17 +2,17 @@
/**
* The PurchaseUnit factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Item;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use Inpsyde\PayPalCommerce\ApiClient\Repository\PayeeRepository;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Item;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Repository\PayeeRepository;
/**
* Class PurchaseUnitFactory

View file

@ -2,15 +2,15 @@
/**
* The shipping factory.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Shipping;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Shipping;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class ShippingFactory

View file

@ -2,15 +2,15 @@
/**
* Creates Webhooks.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Factory
* @package WooCommerce\PayPalCommerce\ApiClient\Factory
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Factory;
namespace WooCommerce\PayPalCommerce\ApiClient\Factory;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Webhook;
use Inpsyde\PayPalCommerce\ApiClient\Exception\RuntimeException;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Webhook;
use WooCommerce\PayPalCommerce\ApiClient\Exception\RuntimeException;
/**
* Class WebhookFactory

View file

@ -2,11 +2,11 @@
/**
* Manages caching of values.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Helper
* @package WooCommerce\PayPalCommerce\ApiClient\Helper
*/
declare( strict_types=1 );
namespace Inpsyde\PayPalCommerce\ApiClient\Helper;
namespace WooCommerce\PayPalCommerce\ApiClient\Helper;
/**
* Class Cache

View file

@ -2,12 +2,12 @@
/**
* The DCC Applies helper checks if the current installation can use DCC or not.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Helper
* @package WooCommerce\PayPalCommerce\ApiClient\Helper
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Helper;
namespace WooCommerce\PayPalCommerce\ApiClient\Helper;
/**
* Class DccApplies

View file

@ -2,12 +2,12 @@
/**
* A Collection of all error responses for the order endpoint.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Helper
* @package WooCommerce\PayPalCommerce\ApiClient\Helper
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Helper;
namespace WooCommerce\PayPalCommerce\ApiClient\Helper;
/**
* Class ErrorResponse

View file

@ -2,15 +2,15 @@
/**
* Returns the current application context.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Repository
* @package WooCommerce\PayPalCommerce\ApiClient\Repository
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Repository;
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
use Inpsyde\PayPalCommerce\ApiClient\Entity\ApplicationContext;
use Inpsyde\PayPalCommerce\WcGateway\Endpoint\ReturnUrlEndpoint;
use WooCommerce\PayPalCommerce\ApiClient\Entity\ApplicationContext;
use WooCommerce\PayPalCommerce\WcGateway\Endpoint\ReturnUrlEndpoint;
use Psr\Container\ContainerInterface;
/**

View file

@ -2,16 +2,16 @@
/**
* The cart repository returns the purchase units from the current \WC_Cart.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Repository
* @package WooCommerce\PayPalCommerce\ApiClient\Repository
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Repository;
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Item;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use Inpsyde\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Item;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use WooCommerce\PayPalCommerce\ApiClient\Factory\PurchaseUnitFactory;
/**
* Class CartRepository

View file

@ -2,14 +2,14 @@
/**
* The partner referrals data object.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Repository
* @package WooCommerce\PayPalCommerce\ApiClient\Repository
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Repository;
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
use Inpsyde\PayPalCommerce\ApiClient\Helper\DccApplies;
use WooCommerce\PayPalCommerce\ApiClient\Helper\DccApplies;
/**
* Class PartnerReferralsData

View file

@ -2,14 +2,14 @@
/**
* The Payee Repository.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Repository
* @package WooCommerce\PayPalCommerce\ApiClient\Repository
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Repository;
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Payee;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Payee;
/**
* Class PayeeRepository

View file

@ -2,14 +2,14 @@
/**
* The repository for the request IDs.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Repository
* @package WooCommerce\PayPalCommerce\ApiClient\Repository
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Repository;
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
use Inpsyde\PayPalCommerce\ApiClient\Entity\Order;
use WooCommerce\PayPalCommerce\ApiClient\Entity\Order;
/**
* Class PayPalRequestIdRepository

View file

@ -2,14 +2,14 @@
/**
* The Purchase Unit Repository interface.
*
* @package Inpsyde\PayPalCommerce\ApiClient\Repository
* @package WooCommerce\PayPalCommerce\ApiClient\Repository
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient\Repository;
namespace WooCommerce\PayPalCommerce\ApiClient\Repository;
use Inpsyde\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
use WooCommerce\PayPalCommerce\ApiClient\Entity\PurchaseUnit;
/**
* Interface PurchaseUnitRepositoryInterface

View file

@ -2,12 +2,12 @@
/**
* The API module.
*
* @package Inpsyde\PayPalCommerce\ApiClient
* @package WooCommerce\PayPalCommerce\ApiClient
*/
declare(strict_types=1);
namespace Inpsyde\PayPalCommerce\ApiClient;
namespace WooCommerce\PayPalCommerce\ApiClient;
use Dhii\Container\ServiceProvider;
use Dhii\Modular\Module\Exception\ModuleExceptionInterface;