forked from LiveCarta/PayPal-PHP-Server-SDK
* Automated commit message * Automated commit message * Automated commit message * Automated commit message --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
1.6 KiB
1.6 KiB
Payee Base
The details for the merchant who receives the funds and fulfills the order. The merchant is also known as the payee.
Structure
PayeeBase
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
emailAddress |
?string |
Optional | The internationalized email address.Note: Up to 64 characters are allowed before and 255 characters are allowed after the Constraints: Minimum Length: 3, Maximum Length: 254, Pattern: (?:[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*|(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?\.)+[a-zA-Z0-9](?:[a-zA-Z0-9-]*[a-zA-Z0-9])?|\[(?:(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9]))\.){3}(?:(2(5[0-5]|[0-4][0-9])|1[0-9][0-9]|[1-9]?[0-9])|[a-zA-Z0-9-]*[a-zA-Z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\]) |
getEmailAddress(): ?string | setEmailAddress(?string emailAddress): void |
merchantId |
?string |
Optional | The account identifier for a PayPal account. Constraints: Minimum Length: 13, Maximum Length: 13, Pattern: ^[2-9A-HJ-NP-Z]{13}$ |
getMerchantId(): ?string | setMerchantId(?string merchantId): void |
Example (as JSON)
{
"email_address": "email_address0",
"merchant_id": "merchant_id2"
}