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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Item()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
categoryCode
@ApiProperty(canBeNullOrNotSet=true) protected String categoryCode
The category code for the referenced product.
-
categoryCodeSpecified
protected boolean categoryCodeSpecified
-
containerHash
@ApiProperty(canBeNullOrNotSet=true) protected String containerHash
This hash will match to the hash on an order container.
-
containerHashSpecified
protected boolean containerHashSpecified
-
itemPriceId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemPriceId
The reference to the price for this order item.
-
itemPriceIdSpecified
protected boolean itemPriceIdSpecified
-
taxRates
@ApiProperty(canBeNullOrNotSet=true) protected Rates taxRates
This is the container containing the individual tax rates.
-
taxRatesSpecified
protected boolean taxRatesSpecified
-
-
Method Detail
-
getCategoryCode
public String getCategoryCode()
-
setCategoryCode
public void setCategoryCode(String categoryCode)
-
isCategoryCodeSpecified
public boolean isCategoryCodeSpecified()
-
unsetCategoryCode
public void unsetCategoryCode()
-
getContainerHash
public String getContainerHash()
-
setContainerHash
public void setContainerHash(String containerHash)
-
isContainerHashSpecified
public boolean isContainerHashSpecified()
-
unsetContainerHash
public void unsetContainerHash()
-
getItemPriceId
public Long getItemPriceId()
-
setItemPriceId
public void setItemPriceId(Long itemPriceId)
-
isItemPriceIdSpecified
public boolean isItemPriceIdSpecified()
-
unsetItemPriceId
public void unsetItemPriceId()
-
getTaxRates
public Rates getTaxRates()
-
setTaxRates
public void setTaxRates(Rates taxRates)
-
isTaxRatesSpecified
public boolean isTaxRatesSpecified()
-
unsetTaxRates
public void unsetTaxRates()
-
-