Class Price
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.catalog.item.Price
@ApiType("SoftLayer_Product_Catalog_Item_Price") public class Price extends Entity
The SoftLayer_Product_Catalog_Item_Price type assigns an Item Price to a Catalog. This relation defines the composition of Item Prices in a Catalog.
- See Also:
- SoftLayer_Product_Catalog_Item_Price
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Price.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Catalog
catalog
Catalog being assignedprotected Long
catalogId
The id of the Catalog the Item Price is part of.protected boolean
catalogIdSpecified
protected GregorianCalendar
createDate
The time the Item Price was defined in the Catalogprotected boolean
createDateSpecified
protected GregorianCalendar
modifyDate
The time the Item Price was changed for the Catalogprotected boolean
modifyDateSpecified
protected Price
price
Price being assignedprotected Long
priceId
The id of the Item Price that is part of the Catalog.protected boolean
priceIdSpecified
-
Constructor Summary
Constructors Constructor Description Price()
-
Method Summary
Modifier and Type Method Description Catalog
getCatalog()
Long
getCatalogId()
GregorianCalendar
getCreateDate()
GregorianCalendar
getModifyDate()
Price
getPrice()
Long
getPriceId()
boolean
isCatalogIdSpecified()
boolean
isCreateDateSpecified()
boolean
isModifyDateSpecified()
boolean
isPriceIdSpecified()
void
setCatalog(Catalog catalog)
void
setCatalogId(Long catalogId)
void
setCreateDate(GregorianCalendar createDate)
void
setModifyDate(GregorianCalendar modifyDate)
void
setPrice(Price price)
void
setPriceId(Long priceId)
void
unsetCatalogId()
void
unsetCreateDate()
void
unsetModifyDate()
void
unsetPriceId()
-
Field Details
-
catalog
Catalog being assigned -
price
Price being assigned -
catalogId
The id of the Catalog the Item Price is part of. -
catalogIdSpecified
protected boolean catalogIdSpecified -
createDate
The time the Item Price was defined in the Catalog -
createDateSpecified
protected boolean createDateSpecified -
modifyDate
The time the Item Price was changed for the Catalog -
modifyDateSpecified
protected boolean modifyDateSpecified -
priceId
The id of the Item Price that is part of the Catalog. -
priceIdSpecified
protected boolean priceIdSpecified
-
-
Constructor Details
-
Price
public Price()
-
-
Method Details
-
getCatalog
-
setCatalog
-
getPrice
-
setPrice
-
getCatalogId
-
setCatalogId
-
isCatalogIdSpecified
public boolean isCatalogIdSpecified() -
unsetCatalogId
public void unsetCatalogId() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getPriceId
-
setPriceId
-
isPriceIdSpecified
public boolean isPriceIdSpecified() -
unsetPriceId
public void unsetPriceId()
-