1
0

Automated commit message (#9)

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
This commit is contained in:
Dani Kirby
2024-10-22 09:41:42 -05:00
committed by GitHub
parent 4bc534dfec
commit de24c9e488
525 changed files with 2800 additions and 2800 deletions

View File

@@ -3,16 +3,16 @@
declare(strict_types=1);
/*
* PaypalServerSDKLib
* PaypalServerSdkLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
namespace PaypalServerSDKLib\Exceptions;
namespace PaypalServerSdkLib\Exceptions;
use CoreInterfaces\Sdk\ExceptionInterface;
use PaypalServerSDKLib\Http\HttpResponse;
use PaypalServerSDKLib\Http\HttpRequest;
use PaypalServerSdkLib\Http\HttpResponse;
use PaypalServerSdkLib\Http\HttpRequest;
/**
* Thrown when there is a network error or HTTP response status code is not okay.

View File

@@ -3,12 +3,12 @@
declare(strict_types=1);
/*
* PaypalServerSDKLib
* PaypalServerSdkLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
namespace PaypalServerSDKLib\Exceptions;
namespace PaypalServerSdkLib\Exceptions;
/**
* The error details.
@@ -31,27 +31,27 @@ class ErrorException extends ApiException
private $debugId;
/**
* @var \PaypalServerSDKLib\Models\ErrorDetails[]|null
* @var \PaypalServerSdkLib\Models\ErrorDetails[]|null
*/
private $details;
/**
* @var \PaypalServerSDKLib\Models\LinkDescription[]|null
* @var \PaypalServerSdkLib\Models\LinkDescription[]|null
*/
private $links;
/**
* @param string $reason
* @param \PaypalServerSDKLib\Http\HttpRequest $request
* @param \PaypalServerSDKLib\Http\HttpResponse $response
* @param \PaypalServerSdkLib\Http\HttpRequest $request
* @param \PaypalServerSdkLib\Http\HttpResponse $response
* @param string $name
* @param string $messageProperty
* @param string $debugId
*/
public function __construct(
string $reason,
\PaypalServerSDKLib\Http\HttpRequest $request,
\PaypalServerSDKLib\Http\HttpResponse $response,
\PaypalServerSdkLib\Http\HttpRequest $request,
\PaypalServerSdkLib\Http\HttpResponse $response,
string $name,
string $messageProperty,
string $debugId
@@ -129,7 +129,7 @@ class ErrorException extends ApiException
* Returns Details.
* An array of additional details about the error.
*
* @return \PaypalServerSDKLib\Models\ErrorDetails[]|null
* @return \PaypalServerSdkLib\Models\ErrorDetails[]|null
*/
public function getDetails(): ?array
{
@@ -142,7 +142,7 @@ class ErrorException extends ApiException
*
* @maps details
*
* @param \PaypalServerSDKLib\Models\ErrorDetails[]|null $details
* @param \PaypalServerSdkLib\Models\ErrorDetails[]|null $details
*/
public function setDetails(?array $details): void
{
@@ -153,7 +153,7 @@ class ErrorException extends ApiException
* Returns Links.
* An array of request-related [HATEOAS links](/api/rest/responses/#hateoas-links).
*
* @return \PaypalServerSDKLib\Models\LinkDescription[]|null
* @return \PaypalServerSdkLib\Models\LinkDescription[]|null
*/
public function getLinks(): ?array
{
@@ -166,7 +166,7 @@ class ErrorException extends ApiException
*
* @maps links
*
* @param \PaypalServerSDKLib\Models\LinkDescription[]|null $links
* @param \PaypalServerSdkLib\Models\LinkDescription[]|null $links
*/
public function setLinks(?array $links): void
{

View File

@@ -3,12 +3,12 @@
declare(strict_types=1);
/*
* PaypalServerSDKLib
* PaypalServerSdkLib
*
* This file was automatically generated by APIMATIC v3.0 ( https://www.apimatic.io ).
*/
namespace PaypalServerSDKLib\Exceptions;
namespace PaypalServerSdkLib\Exceptions;
/**
* OAuth 2 Authorization endpoint exception.
@@ -32,14 +32,14 @@ class OAuthProviderException extends ApiException
/**
* @param string $reason
* @param \PaypalServerSDKLib\Http\HttpRequest $request
* @param \PaypalServerSDKLib\Http\HttpResponse $response
* @param \PaypalServerSdkLib\Http\HttpRequest $request
* @param \PaypalServerSdkLib\Http\HttpResponse $response
* @param string $error
*/
public function __construct(
string $reason,
\PaypalServerSDKLib\Http\HttpRequest $request,
\PaypalServerSDKLib\Http\HttpResponse $response,
\PaypalServerSdkLib\Http\HttpRequest $request,
\PaypalServerSdkLib\Http\HttpResponse $response,
string $error
) {
parent::__construct($reason, $request, $response);
@@ -61,7 +61,7 @@ class OAuthProviderException extends ApiException
*
* @required
* @maps error
* @factory \PaypalServerSDKLib\Models\OAuthProviderError::checkValue
* @factory \PaypalServerSdkLib\Models\OAuthProviderError::checkValue
*/
public function setError(string $error): void
{