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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Price()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
catalog
@ApiProperty protected Catalog catalog
Catalog being assigned
-
price
@ApiProperty protected Price price
Price being assigned
-
catalogId
@ApiProperty(canBeNullOrNotSet=true) protected Long catalogId
The id of the Catalog the Item Price is part of.
-
catalogIdSpecified
protected boolean catalogIdSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The time the Item Price was defined in the Catalog
-
createDateSpecified
protected boolean createDateSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The time the Item Price was changed for the Catalog
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
priceId
@ApiProperty(canBeNullOrNotSet=true) protected Long priceId
The id of the Item Price that is part of the Catalog.
-
priceIdSpecified
protected boolean priceIdSpecified
-
-
Method Detail
-
getCatalog
public Catalog getCatalog()
-
setCatalog
public void setCatalog(Catalog catalog)
-
getPrice
public Price getPrice()
-
setPrice
public void setPrice(Price price)
-
getCatalogId
public Long getCatalogId()
-
setCatalogId
public void setCatalogId(Long catalogId)
-
isCatalogIdSpecified
public boolean isCatalogIdSpecified()
-
unsetCatalogId
public void unsetCatalogId()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getPriceId
public Long getPriceId()
-
setPriceId
public void setPriceId(Long priceId)
-
isPriceIdSpecified
public boolean isPriceIdSpecified()
-
unsetPriceId
public void unsetPriceId()
-
-