forked from LiveCarta/PayPal-PHP-Server-SDK
36 lines
950 B
Markdown
36 lines
950 B
Markdown
|
|
# Subscription Payment Source Response
|
|
|
|
The payment source used to fund the payment.
|
|
|
|
## Structure
|
|
|
|
`SubscriptionPaymentSourceResponse`
|
|
|
|
## Fields
|
|
|
|
| Name | Type | Tags | Description | Getter | Setter |
|
|
| --- | --- | --- | --- | --- | --- |
|
|
| `card` | [`?CardResponseWithBillingAddress`](../../doc/models/card-response-with-billing-address.md) | Optional | The payment card used to fund the payment. Card can be a credit or debit card. | getCard(): ?CardResponseWithBillingAddress | setCard(?CardResponseWithBillingAddress card): void |
|
|
|
|
## Example (as JSON)
|
|
|
|
```json
|
|
{
|
|
"card": {
|
|
"name": "name6",
|
|
"billing_address": {
|
|
"address_line_1": "address_line_12",
|
|
"address_line_2": "address_line_28",
|
|
"admin_area_2": "admin_area_28",
|
|
"admin_area_1": "admin_area_14",
|
|
"postal_code": "postal_code0",
|
|
"country_code": "country_code8"
|
|
},
|
|
"expiry": "expiry4",
|
|
"currency_code": "currency_code2"
|
|
}
|
|
}
|
|
```
|
|
|