Class Item
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.container.tax.cache.Item
@ApiType("SoftLayer_Container_Tax_Cache_Item") public class Item extends Entity
This represents one order item in a tax calculation.
- See Also:
- SoftLayer_Container_Tax_Cache_Item
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Item.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
categoryCode
The category code for the referenced product.protected boolean
categoryCodeSpecified
protected String
containerHash
This hash will match to the hash on an order container.protected boolean
containerHashSpecified
protected Long
itemPriceId
The reference to the price for this order item.protected boolean
itemPriceIdSpecified
protected Rates
taxRates
This is the container containing the individual tax rates.protected boolean
taxRatesSpecified
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
Modifier and Type Method Description String
getCategoryCode()
String
getContainerHash()
Long
getItemPriceId()
Rates
getTaxRates()
boolean
isCategoryCodeSpecified()
boolean
isContainerHashSpecified()
boolean
isItemPriceIdSpecified()
boolean
isTaxRatesSpecified()
void
setCategoryCode(String categoryCode)
void
setContainerHash(String containerHash)
void
setItemPriceId(Long itemPriceId)
void
setTaxRates(Rates taxRates)
void
unsetCategoryCode()
void
unsetContainerHash()
void
unsetItemPriceId()
void
unsetTaxRates()
-
Field Details
-
categoryCode
The category code for the referenced product. -
categoryCodeSpecified
protected boolean categoryCodeSpecified -
containerHash
This hash will match to the hash on an order container. -
containerHashSpecified
protected boolean containerHashSpecified -
itemPriceId
The reference to the price for this order item. -
itemPriceIdSpecified
protected boolean itemPriceIdSpecified -
taxRates
This is the container containing the individual tax rates. -
taxRatesSpecified
protected boolean taxRatesSpecified
-
-
Constructor Details
-
Item
public Item()
-
-
Method Details
-
getCategoryCode
-
setCategoryCode
-
isCategoryCodeSpecified
public boolean isCategoryCodeSpecified() -
unsetCategoryCode
public void unsetCategoryCode() -
getContainerHash
-
setContainerHash
-
isContainerHashSpecified
public boolean isContainerHashSpecified() -
unsetContainerHash
public void unsetContainerHash() -
getItemPriceId
-
setItemPriceId
-
isItemPriceIdSpecified
public boolean isItemPriceIdSpecified() -
unsetItemPriceId
public void unsetItemPriceId() -
getTaxRates
-
setTaxRates
-
isTaxRatesSpecified
public boolean isTaxRatesSpecified() -
unsetTaxRates
public void unsetTaxRates()
-