com.taxjar.model.taxes.Tax Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of taxjar-java Show documentation
Show all versions of taxjar-java Show documentation
TaxJar Java Sales Tax API Client
package com.taxjar.model.taxes;
import com.google.gson.annotations.SerializedName;
public class Tax {
@SerializedName("order_total_amount")
Float orderTotalAmount;
@SerializedName("shipping")
Float shipping;
@SerializedName("taxable_amount")
Float taxableAmount;
@SerializedName("amount_to_collect")
Float amountToCollect;
@SerializedName("rate")
Float rate;
@SerializedName("has_nexus")
Boolean hasNexus;
@SerializedName("freight_taxable")
Boolean freightTaxable;
@SerializedName("tax_source")
String taxSource;
// ---
@SerializedName("jurisdictions")
Jurisdictions jurisdictions;
@SerializedName("breakdown")
Breakdown breakdown;
public Float getOrderTotalAmount() {
return orderTotalAmount;
}
public Float getShipping() {
return shipping;
}
public Float getTaxableAmount() {
return taxableAmount;
}
public Float getAmountToCollect() {
return amountToCollect;
}
public Float getRate() {
return rate;
}
public Boolean getHasNexus() {
return hasNexus;
}
public Boolean getFreightTaxable() {
return freightTaxable;
}
public String getTaxSource() {
return taxSource;
}
public Jurisdictions getJurisdictions() { return jurisdictions; }
public Breakdown getBreakdown() {
return breakdown;
}
}