Tax Amount
August 21, 2026 ยท View on GitHub
The tax levied by a government on the purchase of goods or services.
Structure
TaxAmount
Fields
| Name | Type | Tags | Description | Getter | Setter |
|---|---|---|---|---|---|
TaxAmount | Money | Optional | The currency and amount for a financial transaction, such as a balance or payment due. | Money getTaxAmount() | setTaxAmount(Money taxAmount) |
Example
import com.paypal.sdk.models.Money;
import com.paypal.sdk.models.TaxAmount;
TaxAmount taxAmount = new TaxAmount.Builder()
.taxAmount(new Money.Builder(
"currency_code2",
"value8"
)
.build())
.build();