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:
23
doc/models/payment-method.md
Normal file
23
doc/models/payment-method.md
Normal file
@@ -0,0 +1,23 @@
|
||||
|
||||
# Payment Method
|
||||
|
||||
The customer and merchant payment preferences.
|
||||
|
||||
## Structure
|
||||
|
||||
`PaymentMethod`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `payeePreferred` | [`?string(PayeePaymentMethodPreference)`](../../doc/models/payee-payment-method-preference.md) | Optional | The merchant-preferred payment methods.<br><br>**Default**: `PayeePaymentMethodPreference::UNRESTRICTED`<br><br>**Constraints**: *Minimum Length*: `1`, *Maximum Length*: `255`, *Pattern*: `^[0-9A-Z_]+$` | getPayeePreferred(): ?string | setPayeePreferred(?string payeePreferred): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"payee_preferred": "UNRESTRICTED"
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user