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
  • Field Details

    • 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
  • Constructor Details

    • Cache

      public Cache()
  • Method Details

    • 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()
    • getItems

      public List<Item> getItems()
    • 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()