1
0
Files
Patrick Powers 1fc2cf1e07 2.0.0 Release (#58)
* Automated commit message

* Automated commit message

* add changelog

---------

Co-authored-by: PayPalServerSDKs <server-sdks@paypal.com>
2025-11-13 16:32:53 -06:00

741 B

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.

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.

Default: true
getInclusive(): ?bool setInclusive(?bool inclusive): void

Example (as JSON)

{
  "percentage": "percentage6",
  "inclusive": true
}