class AlligatorPayPalAccountException extends AlligatorCheckOutException implements HttpExceptionInterface

Exception thrown when there is error in working with pay-pal

Class AlligatorPayPalAccountException

Properties

protected int $statusCode from AlligatorException

Methods

JsonResponse
getResponse()

No description

__construct(int $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = "Pay pal is disabled.", Exception $previous = null, array $headers = array(), int $code = 0)

No description

array
getHeaders()

No description

int
getStatusCode()

Returns the status code.

Details

in AlligatorException at line 28
JsonResponse getResponse()

Return Value

JsonResponse

at line 35
__construct(int $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = "Pay pal is disabled.", Exception $previous = null, array $headers = array(), int $code = 0)

Parameters

int $statusCode
string $message
Exception $previous
array $headers
int $code

at line 48
array getHeaders()

Return Value

array

at line 59
int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code