| java.lang.Object | |
| ↳ | com.google.api.gbase.client.Tax |
Tax information
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| country | Destination country, optional. | ||||||||||
| rate | The tax rate in percentage, always set. | ||||||||||
| regions | The region, optional and repeatable. | ||||||||||
| taxShip | A boolean indicating whether the shipping is taxed. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Creates a tax object.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Gets the destination country, or null.
| |||||||||||
Gets the tax rate.
| |||||||||||
Gets the regions.
| |||||||||||
Gets the taxShip, or null.
| |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
Destination country, optional.
The tax rate in percentage, always set.
The region, optional and repeatable.
A boolean indicating whether the shipping is taxed. Optional. Default is false.
Creates a tax object.
| country | Destination country (ISO 3312 2-letter code), can be null |
|---|---|
| regions | A list of shipping regions within the destination country, can be null. |
| rate | The tax percentage rate. For example, for 6% tax rate, rate should be set to 6. |
| taxShip | A boolean indicating whether the shipping is taxed, can be null. |
Gets the destination country, or null. This should be a ISO 3312 2-letter code.
Gets the tax rate.
Gets the regions. This method never returns null, but the returned list can be empty.
Gets the taxShip, or null.