Method |
Description |
|
cancel ( string $payoutItemId, ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : PayoutItemDetails |
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. |
|
get ( string $payoutItemId, ApiContext $apiContext = null, PayPalRestCall $restCall = null ) : PayoutItemDetails |
Obtain the status of a payout item by passing the item ID to the request URI. |
|
getAmount ( ) : PayPal\Api\Currency |
The amount of money to pay the receiver. |
|
getNote ( ) : string |
Optional. A sender-specified note for notifications. Value is any string value. |
|
getReceiver ( ) : string |
The receiver of the payment. Corresponds to the recipient_type value in the request. |
|
getRecipientType ( ) : string |
The type of ID that identifies the payment receiver. Value is:EMAIL . Unencrypted email. Value is a string of up to 127 single-byte characters.PHONE . Unencrypted phone number.Note: The PayPal sandbox does not support the PHONE recipient 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. |
|
getSenderItemId ( ) : string |
A sender-specified ID number. Tracks the batch payout in an accounting system. |
|
setAmount ( PayPal\Api\Currency $amount ) |
The amount of money to pay the receiver. |
|
setNote ( string $note ) |
Optional. A sender-specified note for notifications. Value is any string value. |
|
setReceiver ( string $receiver ) |
The receiver of the payment. Corresponds to the recipient_type value in the request. |
|
setRecipientType ( string $recipient_type ) |
The type of ID that identifies the payment receiver. Value is:EMAIL . Unencrypted email. Value is a string of up to 127 single-byte characters.PHONE . Unencrypted phone number.Note: The PayPal sandbox does not support the PHONE recipient 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. |
|
setSenderItemId ( string $sender_item_id ) |
A sender-specified ID number. Tracks the batch payout in an accounting system. |
|