1
0
Files
PayPal-PHP-Server-SDK/doc/models/vault-customer.md
2025-05-27 17:46:31 +00:00

29 lines
794 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# Vault Customer
This object represents a merchants customer, allowing them to store contact details, and track all payments associated with the same customer.
## Structure
`VaultCustomer`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `id` | `?string` | Optional | The unique ID for a customer generated by PayPal.<br><br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `22`, *Pattern*: `^[0-9a-zA-Z_-]+$` | getId(): ?string | setId(?string id): void |
| `name` | [`?Name`](../../doc/models/name.md) | Optional | The name of the party. | getName(): ?Name | setName(?Name name): void |
## Example (as JSON)
```json
{
"id": "id2",
"name": {
"given_name": "given_name2",
"surname": "surname8"
}
}
```