forked from LiveCarta/PayPal-PHP-Server-SDK
43 lines
1.2 KiB
Markdown
43 lines
1.2 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 | - | 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"
|
|
}
|
|
},
|
|
"merchant_customer_id": "merchant_customer_id2"
|
|
},
|
|
"vault": {
|
|
"store_in_vault": "ON_SUCCESS",
|
|
"description": "description6",
|
|
"usage_pattern": "THRESHOLD_PREPAID",
|
|
"usage_type": "MERCHANT",
|
|
"customer_type": "CONSUMER",
|
|
"permit_multiple_payment_tokens": false
|
|
}
|
|
}
|
|
```
|
|
|