public class XPFTaxRecord extends XPFEntity
Modifier and Type | Field and Description |
---|---|
static String |
NO_TAX_RATE_TAX_NAME
Tax name that should be returned by TaxRecord implementations when queried for their name if it indicates that
no tax rate has been matched (either because none are applicable or because the tax cannot yet be calculated may because of incomplete
information, ie no address for taxation has currently been supplied).
|
Constructor and Description |
---|
XPFTaxRecord(@NonNull String taxCode,
@NonNull String taxName,
@NonNull BigDecimal taxRate,
@NonNull String taxJurisdiction,
@NonNull String taxRegion,
@NonNull BigDecimal taxValue,
@NonNull String taxProviderName) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
canEqual(Object other) |
boolean |
equals(Object o) |
@NonNull String |
getTaxCode()
The tax code.
|
@NonNull String |
getTaxJurisdiction()
The tax jurisdiction.
|
@NonNull String |
getTaxName()
The tax name.
|
@NonNull String |
getTaxProviderName()
The tax provider name.
|
@NonNull BigDecimal |
getTaxRate()
The tax rate.
|
@NonNull String |
getTaxRegion()
The tax region.
|
@NonNull BigDecimal |
getTaxValue()
The tax value.
|
int |
hashCode() |
String |
toString() |
getCustomData
public static final String NO_TAX_RATE_TAX_NAME
public XPFTaxRecord(@NonNull @NonNull String taxCode, @NonNull @NonNull String taxName, @NonNull @NonNull BigDecimal taxRate, @NonNull @NonNull String taxJurisdiction, @NonNull @NonNull String taxRegion, @NonNull @NonNull BigDecimal taxValue, @NonNull @NonNull String taxProviderName)
@NonNull public @NonNull String getTaxCode()
@NonNull public @NonNull String getTaxName()
@NonNull public @NonNull BigDecimal getTaxRate()
@NonNull public @NonNull String getTaxJurisdiction()
@NonNull public @NonNull String getTaxRegion()
@NonNull public @NonNull BigDecimal getTaxValue()
@NonNull public @NonNull String getTaxProviderName()
Copyright © 2024. All rights reserved.