forked from LiveCarta/PayPal-PHP-Server-SDK
2.0.0 Release (#58)
* Automated commit message * Automated commit message * add changelog --------- Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
This commit is contained in:
36
doc/models/vault-apple-pay-request.md
Normal file
36
doc/models/vault-apple-pay-request.md
Normal file
@@ -0,0 +1,36 @@
|
||||
|
||||
# Vault Apple Pay Request
|
||||
|
||||
A resource representing a request to vault Apple Pay.
|
||||
|
||||
## Structure
|
||||
|
||||
`VaultApplePayRequest`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `token` | `?string` | Optional | Encrypted Apple Pay token, containing card information. This token would be base64 encoded.<br><br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `10000`, *Pattern*: `^.*$` | getToken(): ?string | setToken(?string token): void |
|
||||
| `card` | [`?ApplePayRequestCard`](../../doc/models/apple-pay-request-card.md) | Optional | The payment card to be used to fund a payment. Can be a credit or debit card. | getCard(): ?ApplePayRequestCard | setCard(?ApplePayRequestCard card): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"token": "token4",
|
||||
"card": {
|
||||
"type": "UNKNOWN",
|
||||
"brand": "CB_NATIONALE",
|
||||
"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"
|
||||
}
|
||||
}
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user