forked from LiveCarta/PayPal-PHP-Server-SDK
Automated commit message
This commit is contained in:
25
doc/models/merchant-preferences.md
Normal file
25
doc/models/merchant-preferences.md
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
# Merchant Preferences
|
||||
|
||||
The merchant preferences for a subscription.
|
||||
|
||||
## Structure
|
||||
|
||||
`MerchantPreferences`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `returnUrl` | `?string` | Optional | The URL where the customer is redirected after the customer approves the payment.<br><br>**Constraints**: *Minimum Length*: `10`, *Maximum Length*: `4000` | getReturnUrl(): ?string | setReturnUrl(?string returnUrl): void |
|
||||
| `cancelUrl` | `?string` | Optional | The URL where the customer is redirected after the customer cancels the payment.<br><br>**Constraints**: *Minimum Length*: `10`, *Maximum Length*: `4000` | getCancelUrl(): ?string | setCancelUrl(?string cancelUrl): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"return_url": "return_url8",
|
||||
"cancel_url": "cancel_url0"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user