Class PayoutItem
Class PayoutItem
A sender-created definition of a payout to a single recipient.
- PayPal\Common\PayPalModel
- PayPal\Common\PayPalResourceModel implements PayPal\Rest\IResource
- PayPal\Api\PayoutItem
Methods summary
public
|
#
setRecipientType( string $recipient_type )
The type of ID that identifies the payment receiver. Value is: PHONE. Unencrypted phone number. Note: The PayPal sandbox does not support thePHONErecipient type. PAYPAL_ID. Encrypted PayPal account number. If the sender_batch_header includes the recipient_type attribute, any payout item without its own recipient_type attribute uses the recipient_type value from sender_batch_header . If the sender_batch_header omits the recipient_type attribute, each payout item must include its own recipient_type value. |
public
string
|
#
getRecipientType( )
The type of ID that identifies the payment receiver. Value is: PHONE. Unencrypted phone number. Note: The PayPal sandbox does not support thePHONErecipient type. PAYPAL_ID. Encrypted PayPal account number. If the sender_batch_header includes the recipient_type attribute, any payout item without its own recipient_type attribute uses the recipient_type value from sender_batch_header . If the sender_batch_header omits the recipient_type attribute, each payout item must include its own recipient_type value. |
public
|
|
public
|
|
public
|
|
public
string
|
|
public
|
#
setReceiver( string $receiver )
The receiver of the payment. Corresponds to the |
public
string
|
#
getReceiver( )
The receiver of the payment. Corresponds to the |
public
|
#
setSenderItemId( string $sender_item_id )
A sender-specified ID number. Tracks the batch payout in an accounting system. |
public
string
|
|
public static
|
#
get( string $payoutItemId,
Obtain the status of a payout item by passing the item ID to the request URI. |
public static
|
#
cancel( string $payoutItemId,
Cancels the unclaimed payment using the items id passed in the request URI. If an unclaimed item is not claimed within 30 days, the funds will be automatically returned to the sender. This call can be used to cancel the unclaimed item prior to the automatic 30-day return. |
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()