PayoutRecipientCreationException
extends PayoutRecipientException
in package
Payout recipient creation exception.
Tags
Table of Contents
Properties
- $apiCode : string|null
- $bitPayCode : string
- $bitPayMessage : string
Methods
- __construct() : mixed
- Construct the PayoutRecipientCreationException.
- getApiCode() : string
Properties
$apiCode
protected
string|null
$apiCode
$bitPayCode
private
string
$bitPayCode
= "BITPAY-PAYOUT-RECIPIENT-SUBMIT"
$bitPayMessage
private
string
$bitPayMessage
= "Failed to create payout recipient"
Methods
__construct()
Construct the PayoutRecipientCreationException.
public
__construct([string $message = "" ][, int $code = 192 ][, Exception $previous = null ][, string|null $apiCode = "000000" ]) : mixed
Parameters
- $message : string = ""
-
[optional] The Exception message to throw.
- $code : int = 192
-
[optional] The Exception code to throw.
- $previous : Exception = null
- $apiCode : string|null = "000000"
-
[optional] The API Exception code to throw.
getApiCode()
public
getApiCode() : string
Return values
string —Error code provided by the BitPay REST API