Class Payout
Class Payout
This object represents a set of payouts that includes status data for the payouts. This object enables you to create a payout using a POST request.
- PayPal\Common\PayPalModel
-
PayPal\Common\PayPalResourceModel
implements
PayPal\Rest\IResource
-
PayPal\Api\Payout
Methods summary
public
|
#
setSenderBatchHeader(
The original batch header as provided by the payment sender. |
public
|
|
public
|
#
setItems(
An array of payout items (that is, a set of individual payouts). |
public
|
|
public
|
|
public
|
|
public
|
#
create( array $params = array(),
Create a payout batch resource by passing a sender_batch_header and an items array to the request URI. The sender_batch_header contains payout parameters that describe the handling of a batch resource while the items array conatins payout items. |
public
|
#
createSynchronous(
You can submit a payout with a synchronous API call, which immediately returns the results of a PayPal payment. |
public static
|
#
get( string $payoutBatchId,
Obtain the status of a specific batch resource by passing the payout batch ID to the request URI. You can issue this call multiple times to get the current status. |
Methods inherited from PayPal\Common\PayPalResourceModel
addLink(),
executeCall(),
getLink(),
getLinks(),
removeLink(),
setLinks(),
updateAccessToken()
Methods inherited from PayPal\Common\PayPalModel
__construct(),
__get(),
__isset(),
__set(),
__toString(),
__unset(),
fromArray(),
fromJson(),
getList(),
setCredential(),
toArray(),
toJSON()