class HubtelException extends Exception (View source)

Class HubtelException throws OVAC\HubtelPayment\Exception\HubtelException

Properties

protected string $errorCode The error code returned by Hubtel.
protected string $errorType The error type returned by Hubtel.
protected string $missingParameter The missing parameter returned by Hubtel.
protected string $rawOutput The raw output returned by Hubtel in case of exception.

Methods

string
getErrorCode()

Returns the error type returned by Hubtel.

setErrorCode(string $errorCode)

Sets the error type returned by Hubtel.

string
getErrorType()

Returns the error type returned by Hubtel.

setErrorType(string $errorType)

Sets the error type returned by Hubtel.

string
getMissingParameter()

Returns missing parameter returned by Hubtel with the error.

setMissingParameter(string $missingParameter)

Sets the missing parameter returned by Hubtel with the error.

string
getRawOutput()

Returns raw output returned by Hubtel in case of exception.

setRawOutput(string $rawOutput)

Sets the raw output parameter returned by Hubtel in case of exception.

Details

string getErrorCode()

Returns the error type returned by Hubtel.

Return Value

string

HubtelException setErrorCode(string $errorCode)

Sets the error type returned by Hubtel.

Parameters

string $errorCode

Return Value

HubtelException

string getErrorType()

Returns the error type returned by Hubtel.

Return Value

string

HubtelException setErrorType(string $errorType)

Sets the error type returned by Hubtel.

Parameters

string $errorType

Return Value

HubtelException

string getMissingParameter()

Returns missing parameter returned by Hubtel with the error.

Return Value

string

HubtelException setMissingParameter(string $missingParameter)

Sets the missing parameter returned by Hubtel with the error.

Parameters

string $missingParameter

Return Value

HubtelException

string getRawOutput()

Returns raw output returned by Hubtel in case of exception.

Return Value

string

HubtelException setRawOutput(string $rawOutput)

Sets the raw output parameter returned by Hubtel in case of exception.

Parameters

string $rawOutput

Return Value

HubtelException