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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Cache()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
effectiveTaxRate
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal effectiveTaxRate
The percentage of the final total that should be tax.
-
effectiveTaxRateSpecified
protected boolean effectiveTaxRateSpecified
-
failureMessage
@ApiProperty(canBeNullOrNotSet=true) protected String failureMessage
-
failureMessageSpecified
protected boolean failureMessageSpecified
-
items
@ApiProperty(canBeNullOrNotSet=true) protected List<Item> items
The container that holds the four actual tax rates, one for each fee type.
-
itemsSpecified
protected boolean itemsSpecified
-
status
@ApiProperty(canBeNullOrNotSet=true) protected String status
The status of the tax request. This should be PENDING, FAILED, or COMPLETED.
-
statusSpecified
protected boolean statusSpecified
-
totalTaxAmount
@ApiProperty(canBeNullOrNotSet=true) protected BigDecimal totalTaxAmount
The final amount of tax for the order.
-
totalTaxAmountSpecified
protected boolean totalTaxAmountSpecified
-
-
Method Detail
-
getEffectiveTaxRate
public BigDecimal getEffectiveTaxRate()
-
setEffectiveTaxRate
public void setEffectiveTaxRate(BigDecimal effectiveTaxRate)
-
isEffectiveTaxRateSpecified
public boolean isEffectiveTaxRateSpecified()
-
unsetEffectiveTaxRate
public void unsetEffectiveTaxRate()
-
getFailureMessage
public String getFailureMessage()
-
setFailureMessage
public void setFailureMessage(String failureMessage)
-
isFailureMessageSpecified
public boolean isFailureMessageSpecified()
-
unsetFailureMessage
public void unsetFailureMessage()
-
isItemsSpecified
public boolean isItemsSpecified()
-
unsetItems
public void unsetItems()
-
getStatus
public String getStatus()
-
setStatus
public void setStatus(String status)
-
isStatusSpecified
public boolean isStatusSpecified()
-
unsetStatus
public void unsetStatus()
-
getTotalTaxAmount
public BigDecimal getTotalTaxAmount()
-
setTotalTaxAmount
public void setTotalTaxAmount(BigDecimal totalTaxAmount)
-
isTotalTaxAmountSpecified
public boolean isTotalTaxAmountSpecified()
-
unsetTotalTaxAmount
public void unsetTotalTaxAmount()
-
-