%PDF- %GIF98; %PNG;
Server : ApacheSystem : Linux host.digitalbabaji.in 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64 User : addictionfreeind ( 1003) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Directory : /home/addictionfreeind/www/admin1/vendor/square/square/doc/models/ |
Upload File : |
# V1 Payment Tax
V1PaymentTax
## Structure
`V1PaymentTax`
## Fields
| Name | Type | Tags | Description | Getter | Setter |
| --- | --- | --- | --- | --- | --- |
| `errors` | [`?(Error[])`](/doc/models/error.md) | Optional | Any errors that occurred during the request. | getErrors(): ?array | setErrors(?array errors): void |
| `name` | `?string` | Optional | The merchant-defined name of the tax. | getName(): ?string | setName(?string name): void |
| `appliedMoney` | [`?V1Money`](/doc/models/v1-money.md) | Optional | - | getAppliedMoney(): ?V1Money | setAppliedMoney(?V1Money appliedMoney): void |
| `rate` | `?string` | Optional | The rate of the tax, as a string representation of a decimal number. A value of 0.07 corresponds to a rate of 7%. | getRate(): ?string | setRate(?string rate): void |
| `inclusionType` | [`?string (V1PaymentTaxInclusionType)`](/doc/models/v1-payment-tax-inclusion-type.md) | Optional | - | getInclusionType(): ?string | setInclusionType(?string inclusionType): void |
| `feeId` | `?string` | Optional | The ID of the tax, if available. Taxes applied in older versions of Square Register might not have an ID. | getFeeId(): ?string | setFeeId(?string feeId): void |
## Example (as JSON)
```json
{
"errors": [
{
"category": "AUTHENTICATION_ERROR",
"code": "MISSING_PIN",
"detail": "detail1",
"field": "field9"
},
{
"category": "INVALID_REQUEST_ERROR",
"code": "MISSING_ACCOUNT_TYPE",
"detail": "detail2",
"field": "field0"
},
{
"category": "RATE_LIMIT_ERROR",
"code": "INVALID_POSTAL_CODE",
"detail": "detail3",
"field": "field1"
}
],
"name": "name0",
"applied_money": {
"amount": 196,
"currency_code": "LYD"
},
"rate": "rate0",
"inclusion_type": "ADDITIVE"
}
```