BitPay PHP SDK

PayoutRecipients
in package

Tags
author

BitPay Integrations integrations@bitpay.com

license

http://www.opensource.org/licenses/mit-license.php MIT

see
https://bitpay.readme.io/reference/payouts

REST API Payouts

Table of Contents

Properties

$guid  : string|null
$recipients  : array<string|int, mixed>
$token  : string|null

Methods

__construct()  : mixed
Constructor, create an recipient-full request PayoutBatch object.
getGuid()  : string|null
Gets guid.
getRecipients()  : array<string|int, PayoutRecipient>
Gets an array with all recipients.
getToken()  : string|null
Gets token.
setGuid()  : void
Sets guid.
setRecipients()  : void
Sets array with all recipients.
setToken()  : void
Sets token.
toArray()  : array<string|int, mixed>
Return an array with paid and unpaid value.

Properties

Methods

__construct()

Constructor, create an recipient-full request PayoutBatch object.

public __construct([mixed $recipients = [] ]) : mixed
Parameters
$recipients : mixed = []

array array of JSON objects, with containing the following parameters.

getGuid()

Gets guid.

public getGuid() : string|null
Return values
string|null

getToken()

Gets token.

public getToken() : string|null
Return values
string|null

setGuid()

Sets guid.

public setGuid(string $guid) : void
Parameters
$guid : string

setToken()

Sets token.

public setToken(string $token) : void
Parameters
$token : string

toArray()

Return an array with paid and unpaid value.

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

        
On this page

Search results