forked from LiveCarta/PayPal-PHP-Server-SDK
Automated commit message
This commit is contained in:
25
doc/models/taxes.md
Normal file
25
doc/models/taxes.md
Normal file
@@ -0,0 +1,25 @@
|
||||
|
||||
# Taxes
|
||||
|
||||
The tax details.
|
||||
|
||||
## Structure
|
||||
|
||||
`Taxes`
|
||||
|
||||
## Fields
|
||||
|
||||
| Name | Type | Tags | Description | Getter | Setter |
|
||||
| --- | --- | --- | --- | --- | --- |
|
||||
| `percentage` | `string` | Required | The percentage, as a fixed-point, signed decimal number. For example, define a 19.99% interest rate as `19.99`.<br><br>**Constraints**: *Pattern*: `^((-?[0-9]+)\|(-?([0-9]+)?[.][0-9]+))$` | getPercentage(): string | setPercentage(string percentage): void |
|
||||
| `inclusive` | `?bool` | Optional | Indicates whether the tax was already included in the billing amount.<br><br>**Default**: `true` | getInclusive(): ?bool | setInclusive(?bool inclusive): void |
|
||||
|
||||
## Example (as JSON)
|
||||
|
||||
```json
|
||||
{
|
||||
"percentage": "percentage6",
|
||||
"inclusive": true
|
||||
}
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user