public class PayoutSenderBatchHeader extends PayPalModel
| Constructor and Description |
|---|
PayoutSenderBatchHeader()
Default Constructor
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canEqual(java.lang.Object other) |
boolean |
equals(java.lang.Object o) |
java.lang.String |
getEmailSubject()
The subject line text for the email that PayPal sends when a payout item completes.
|
java.lang.String |
getRecipientType()
The type of ID that identifies the payment receiver.
|
java.lang.String |
getSenderBatchId()
A sender-specified ID number.
|
int |
hashCode() |
PayoutSenderBatchHeader |
setEmailSubject(java.lang.String emailSubject)
The subject line text for the email that PayPal sends when a payout item completes.
|
PayoutSenderBatchHeader |
setRecipientType(java.lang.String recipientType)
The type of ID that identifies the payment receiver.
|
PayoutSenderBatchHeader |
setSenderBatchId(java.lang.String senderBatchId)
A sender-specified ID number.
|
toJSON, toStringpublic java.lang.String getSenderBatchId()
Note: PayPal prevents duplicate batches from being processed. If you specify a `sender_batch_id` that was used in the last 30 days, the API rejects the request and returns an error message that indicates the duplicate `sender_batch_id` and includes a HATEOAS link to the original batch payout with the same `sender_batch_id`. If you receive a HTTP `5nn` status code, you can safely retry the request with the same `sender_batch_id`. In any case, the API completes a payment only once for a specific `sender_batch_id` that is used within 30 days.
public java.lang.String getEmailSubject()
public java.lang.String getRecipientType()
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.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 PayoutSenderBatchHeader setSenderBatchId(java.lang.String senderBatchId)
Note: PayPal prevents duplicate batches from being processed. If you specify a `sender_batch_id` that was used in the last 30 days, the API rejects the request and returns an error message that indicates the duplicate `sender_batch_id` and includes a HATEOAS link to the original batch payout with the same `sender_batch_id`. If you receive a HTTP `5nn` status code, you can safely retry the request with the same `sender_batch_id`. In any case, the API completes a payment only once for a specific `sender_batch_id` that is used within 30 days.
public PayoutSenderBatchHeader setEmailSubject(java.lang.String emailSubject)
public PayoutSenderBatchHeader setRecipientType(java.lang.String recipientType)
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.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 boolean equals(java.lang.Object o)
equals in class PayPalModelprotected boolean canEqual(java.lang.Object other)
canEqual in class PayPalModelpublic int hashCode()
hashCode in class PayPalModel