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.2 KiB
1.2 KiB
Pay Pal 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"
}
},
"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
}
}