forked from LiveCarta/PayPal-PHP-Server-SDK
1.3 KiB
1.3 KiB
Paypal Wallet Attributes
Additional attributes associated with the use of this PayPal Wallet.
Structure
PaypalWalletAttributes
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
customer |
?PaypalWalletCustomerRequest |
Optional | - | getCustomer(): ?PaypalWalletCustomerRequest | setCustomer(?PaypalWalletCustomerRequest customer): void |
vault |
?PaypalWalletVaultInstruction |
Optional | - | getVault(): ?PaypalWalletVaultInstruction | setVault(?PaypalWalletVaultInstruction vault): void |
Example (as 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": {
"store_in_vault": "ON_SUCCESS",
"description": "description6",
"usage_pattern": "THRESHOLD_PREPAID",
"usage_type": "MERCHANT",
"customer_type": "CONSUMER",
"permit_multiple_payment_tokens": false
}
}