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>
76 lines
2.0 KiB
Markdown
76 lines
2.0 KiB
Markdown
|
|
# Pay Pal Wallet Attributes Response
|
|
|
|
Additional attributes associated with the use of a PayPal Wallet.
|
|
|
|
## Structure
|
|
|
|
`PayPalWalletAttributesResponse`
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Tags | Description | Getter | Setter |
|
|
| --- | --- | --- | --- | --- | --- |
|
|
| `vault` | [`?PayPalWalletVaultResponse`](../../doc/models/pay-pal-wallet-vault-response.md) | Optional | The details about a saved PayPal Wallet payment source. | getVault(): ?PayPalWalletVaultResponse | setVault(?PayPalWalletVaultResponse vault): void |
|
|
| `cobrandedCards` | [`?(CobrandedCard[])`](../../doc/models/cobranded-card.md) | Optional | An array of merchant cobranded cards used by buyer to complete an order. This array will be present if a merchant has onboarded their cobranded card with PayPal and provided corresponding label(s).<br>**Constraints**: *Minimum Items*: `0`, *Maximum Items*: `25` | getCobrandedCards(): ?array | setCobrandedCards(?array cobrandedCards): void |
|
|
|
|
## Example (as JSON)
|
|
|
|
```json
|
|
{
|
|
"vault": {
|
|
"id": "id6",
|
|
"status": "APPROVED",
|
|
"links": [
|
|
{
|
|
"href": "href6",
|
|
"rel": "rel0",
|
|
"method": "HEAD"
|
|
}
|
|
],
|
|
"customer": {
|
|
"id": "id0",
|
|
"email_address": "email_address2",
|
|
"phone": {
|
|
"phone_type": "OTHER",
|
|
"phone_number": {
|
|
"national_number": "national_number6"
|
|
}
|
|
},
|
|
"merchant_customer_id": "merchant_customer_id2"
|
|
}
|
|
},
|
|
"cobranded_cards": [
|
|
{
|
|
"labels": [
|
|
"labels4",
|
|
"labels3"
|
|
],
|
|
"payee": {
|
|
"email_address": "email_address4",
|
|
"merchant_id": "merchant_id6"
|
|
},
|
|
"amount": {
|
|
"currency_code": "currency_code6",
|
|
"value": "value0"
|
|
}
|
|
},
|
|
{
|
|
"labels": [
|
|
"labels4",
|
|
"labels3"
|
|
],
|
|
"payee": {
|
|
"email_address": "email_address4",
|
|
"merchant_id": "merchant_id6"
|
|
},
|
|
"amount": {
|
|
"currency_code": "currency_code6",
|
|
"value": "value0"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
```
|
|
|