Class Cache
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.tax.Cache
@ApiType("SoftLayer_Container_Tax_Cache") public class Cache extends Entity
These are the results of a tax calculation. The tax calculation was kicked off but allowed to run in the background. This type stores the results so that an interface can be updated with up-to-date information.
- See Also:
- SoftLayer_Container_Tax_Cache
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Cache.Mask
-
Field Summary
Fields Modifier and Type Field Description protected BigDecimal
effectiveTaxRate
The percentage of the final total that should be tax.protected boolean
effectiveTaxRateSpecified
protected String
failureMessage
protected boolean
failureMessageSpecified
protected List<Item>
items
The container that holds the four actual tax rates, one for each fee type.protected boolean
itemsSpecified
protected String
status
The status of the tax request.protected boolean
statusSpecified
protected BigDecimal
totalTaxAmount
The final amount of tax for the order.protected boolean
totalTaxAmountSpecified
-
Constructor Summary
Constructors Constructor Description Cache()
-
Method Summary
Modifier and Type Method Description BigDecimal
getEffectiveTaxRate()
String
getFailureMessage()
List<Item>
getItems()
String
getStatus()
BigDecimal
getTotalTaxAmount()
boolean
isEffectiveTaxRateSpecified()
boolean
isFailureMessageSpecified()
boolean
isItemsSpecified()
boolean
isStatusSpecified()
boolean
isTotalTaxAmountSpecified()
void
setEffectiveTaxRate(BigDecimal effectiveTaxRate)
void
setFailureMessage(String failureMessage)
void
setStatus(String status)
void
setTotalTaxAmount(BigDecimal totalTaxAmount)
void
unsetEffectiveTaxRate()
void
unsetFailureMessage()
void
unsetItems()
void
unsetStatus()
void
unsetTotalTaxAmount()
-
Field Details
-
effectiveTaxRate
The percentage of the final total that should be tax. -
effectiveTaxRateSpecified
protected boolean effectiveTaxRateSpecified -
failureMessage
-
failureMessageSpecified
protected boolean failureMessageSpecified -
items
The container that holds the four actual tax rates, one for each fee type. -
itemsSpecified
protected boolean itemsSpecified -
status
The status of the tax request. This should be PENDING, FAILED, or COMPLETED. -
statusSpecified
protected boolean statusSpecified -
totalTaxAmount
The final amount of tax for the order. -
totalTaxAmountSpecified
protected boolean totalTaxAmountSpecified
-
-
Constructor Details
-
Cache
public Cache()
-
-
Method Details
-
getEffectiveTaxRate
-
setEffectiveTaxRate
-
isEffectiveTaxRateSpecified
public boolean isEffectiveTaxRateSpecified() -
unsetEffectiveTaxRate
public void unsetEffectiveTaxRate() -
getFailureMessage
-
setFailureMessage
-
isFailureMessageSpecified
public boolean isFailureMessageSpecified() -
unsetFailureMessage
public void unsetFailureMessage() -
getItems
-
isItemsSpecified
public boolean isItemsSpecified() -
unsetItems
public void unsetItems() -
getStatus
-
setStatus
-
isStatusSpecified
public boolean isStatusSpecified() -
unsetStatus
public void unsetStatus() -
getTotalTaxAmount
-
setTotalTaxAmount
-
isTotalTaxAmountSpecified
public boolean isTotalTaxAmountSpecified() -
unsetTotalTaxAmount
public void unsetTotalTaxAmount()
-