forked from LiveCarta/PayPal-PHP-Server-SDK
* Automated commit message * Automated commit message * add changelog --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
46 lines
1.3 KiB
Markdown
46 lines
1.3 KiB
Markdown
|
|
# Paypal Wallet Attributes
|
|
|
|
Additional attributes associated with the use of this PayPal Wallet.
|
|
|
|
## Structure
|
|
|
|
`PaypalWalletAttributes`
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Tags | Description | Getter | Setter |
|
|
| --- | --- | --- | --- | --- | --- |
|
|
| `customer` | [`?PaypalWalletCustomerRequest`](../../doc/models/paypal-wallet-customer-request.md) | Optional | - | getCustomer(): ?PaypalWalletCustomerRequest | setCustomer(?PaypalWalletCustomerRequest customer): void |
|
|
| `vault` | [`?PaypalWalletVaultInstruction`](../../doc/models/paypal-wallet-vault-instruction.md) | Optional | Resource consolidating common request and response attributes for vaulting PayPal Wallet. | getVault(): ?PaypalWalletVaultInstruction | setVault(?PaypalWalletVaultInstruction vault): void |
|
|
|
|
## Example (as JSON)
|
|
|
|
```json
|
|
{
|
|
"customer": {
|
|
"id": "id0",
|
|
"email_address": "email_address2",
|
|
"phone": {
|
|
"phone_type": "OTHER",
|
|
"phone_number": {
|
|
"national_number": "national_number6"
|
|
}
|
|
},
|
|
"name": {
|
|
"given_name": "given_name2",
|
|
"surname": "surname8"
|
|
},
|
|
"merchant_customer_id": "merchant_customer_id2"
|
|
},
|
|
"vault": {
|
|
"description": "description6",
|
|
"usage_pattern": "THRESHOLD_PREPAID",
|
|
"usage_type": "MERCHANT",
|
|
"customer_type": "CONSUMER",
|
|
"permit_multiple_payment_tokens": false
|
|
}
|
|
}
|
|
```
|
|
|