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:
25
doc/models/mobile-web-context.md
Normal file
25
doc/models/mobile-web-context.md
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
# Mobile Web Context
|
||||
|
||||
Buyer's mobile web browser context to app switch to the PayPal consumer app.
|
||||
|
||||
## Structure
|
||||
|
||||
`MobileWebContext`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `returnFlow` | [`?string(MobileReturnFlow)`](../../doc/models/mobile-return-flow.md) | Optional | Merchant preference on how the buyer can navigate back to merchant website post approving the transaction on the PayPal App.<br><br>**Default**: `MobileReturnFlow::AUTO`<br><br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `6`, *Pattern*: `^[A-Z_]+$` | getReturnFlow(): ?string | setReturnFlow(?string returnFlow): void |
|
||||
| `buyerUserAgent` | `?string` | Optional | User agent from the request originating from the buyer's device. This will be used to identify the buyer's operating system and browser versions. NOTE: Merchants must not alter or modify the buyer's device user agent.<br><br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `512`, *Pattern*: `^.*$` | getBuyerUserAgent(): ?string | setBuyerUserAgent(?string buyerUserAgent): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"return_flow": "AUTO",
|
||||
"buyer_user_agent": "buyer_user_agent8"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user