Menu

## PayoutRecipients
in package

PayoutRecipients.php : 24

##### 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
$recipients : array<string|int, mixed>
$token : string

#### Methods

__construct() : mixed
  Constructor, create an recipient-full request PayoutBatch object.
getGuid() : string
  Gets guid.
getRecipients() : array<string|int, PayoutRecipient>
  Gets an array with all recipients.
getToken() : string
  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

#### $guid

PayoutRecipients.php : 27
`protected string $guid = ''`

#### $recipients

PayoutRecipients.php : 26
`protected array<string|int, mixed> $recipients = []`

#### $token

PayoutRecipients.php : 28
`protected string $token = ''`

### Methods

#### __construct()

PayoutRecipients.php : 35

Constructor, create an recipient-full request PayoutBatch object.

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

##### Parameters

$recipients : = []

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

#### getGuid()

PayoutRecipients.php : 48

Gets guid.

`public getGuid() : string`

##### Return values

string

#### getRecipients()

PayoutRecipients.php : 91

Gets an array with all recipients.

`public getRecipients() : array<string|int, PayoutRecipient>`

##### Return values

array<string|int, PayoutRecipient>

#### getToken()

PayoutRecipients.php : 68

Gets token.

`public getToken() : string`

##### Return values

string

#### setGuid()

PayoutRecipients.php : 58

Sets guid.

`public setGuid(string $guid) : void`

##### Parameters

$guid : string

#### setRecipients()

PayoutRecipients.php : 102

Sets array with all recipients.

`public setRecipients(array<string|int, PayoutRecipient> $recipients) : void`

##### Parameters

$recipients : array<string|int, PayoutRecipient>

##### Tags

throws
  PayoutRecipientException

#### setToken()

PayoutRecipients.php : 78

Sets token.

`public setToken(string $token) : void`

##### Parameters

$token : string

#### toArray()

PayoutRecipients.php : 118

Return an array with paid and unpaid value.

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

##### Return values

array<string|int, mixed>

## Search results