class SkippCheckoutStepException extends AlligatorCheckOutStepException

Exception thrown when user selected pick up in the store

Class SkippCheckoutStepException

Properties

protected int $statusCode from AlligatorException
protected array $headers from AlligatorCheckOutStepException
protected RedirectResponse $redirectResponse from AlligatorCheckOutStepException

Methods

JsonResponse
getResponse()

No description

__construct(int|string $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = 'You can not go to this step', Exception $previous = null, array $headers = array(), int $code = 0, RedirectResponse $redirectResponse = null)

No description

array
getHeaders()

No description

int
getStatusCode()

Returns the status code.

setRedirectResponse(RedirectResponse $redirectResponse)

No description

Details

JsonResponse getResponse()

Return Value

JsonResponse

__construct(int|string $statusCode = Response::HTTP_FAILED_DEPENDENCY, string $message = 'You can not go to this step', Exception $previous = null, array $headers = array(), int $code = 0, RedirectResponse $redirectResponse = null)

Parameters

int|string $statusCode
string $message
Exception $previous
array $headers
int $code
RedirectResponse $redirectResponse

array getHeaders()

Return Value

array

int getStatusCode()

Returns the status code.

Return Value

int An HTTP response status code

AlligatorCheckOutStepException setRedirectResponse(RedirectResponse $redirectResponse)

Parameters

RedirectResponse $redirectResponse

Return Value

AlligatorCheckOutStepException