PayoutRecipients
in package
Tags
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
$guid
protected
string|null
$guid
= null
$recipients
protected
array<string|int, mixed>
$recipients
= []
$token
protected
string|null
$token
= null
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|nullgetRecipients()
Gets an array with all recipients.
public
getRecipients() : array<string|int, PayoutRecipient>
Return values
array<string|int, PayoutRecipient>getToken()
Gets token.
public
getToken() : string|null
Return values
string|nullsetGuid()
Sets guid.
public
setGuid(string $guid) : void
Parameters
- $guid : string
setRecipients()
Sets array with all recipients.
public
setRecipients(array<string|int, PayoutRecipient> $recipients) : void
Parameters
- $recipients : array<string|int, PayoutRecipient>
Tags
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>