Class Prices
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.product.pkg.item.Prices
-
@ApiType("SoftLayer_Product_Package_Item_Prices") public class Prices extends Entity
The SoftLayer_Product_Package_Item_Prices contains price to package cross references Relates a category, price and item to a bundle. Match bundle ids to see all items and prices in a particular bundle.- See Also:
- SoftLayer_Product_Package_Item_Prices
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Prices.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
id
The unique identifier for SoftLayer_Product_Package_Item_Price.protected boolean
idSpecified
protected Price
itemPrice
The item price to which this object belongs.protected Long
itemPriceId
The SoftLayer_Product_Item_Price id.protected boolean
itemPriceIdSpecified
protected Long
packageId
The Package ID to which this price reference belongsprotected boolean
packageIdSpecified
protected Package
pricesPackage
The package to which this object belongs.-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Prices()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Long
getId()
Price
getItemPrice()
Long
getItemPriceId()
Long
getPackageId()
Package
getPricesPackage()
boolean
isIdSpecified()
boolean
isItemPriceIdSpecified()
boolean
isPackageIdSpecified()
void
setId(Long id)
void
setItemPrice(Price itemPrice)
void
setItemPriceId(Long itemPriceId)
void
setPackageId(Long packageId)
void
setPricesPackage(Package pricesPackage)
void
unsetId()
void
unsetItemPriceId()
void
unsetPackageId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
itemPrice
@ApiProperty protected Price itemPrice
The item price to which this object belongs. The item price has details regarding cost for the item it belongs to.
-
pricesPackage
@ApiProperty("package") protected Package pricesPackage
The package to which this object belongs.
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
The unique identifier for SoftLayer_Product_Package_Item_Price. This is only needed as a reference. The important data is the itemPriceId property.
-
idSpecified
protected boolean idSpecified
-
itemPriceId
@ApiProperty(canBeNullOrNotSet=true) protected Long itemPriceId
The SoftLayer_Product_Item_Price id. This value is to be used when placing orders. To get more information about this item price, go from the item price to the item description
-
itemPriceIdSpecified
protected boolean itemPriceIdSpecified
-
packageId
@ApiProperty(canBeNullOrNotSet=true) protected Long packageId
The Package ID to which this price reference belongs
-
packageIdSpecified
protected boolean packageIdSpecified
-
-
Method Detail
-
getItemPrice
public Price getItemPrice()
-
setItemPrice
public void setItemPrice(Price itemPrice)
-
getPricesPackage
public Package getPricesPackage()
-
setPricesPackage
public void setPricesPackage(Package pricesPackage)
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getItemPriceId
public Long getItemPriceId()
-
setItemPriceId
public void setItemPriceId(Long itemPriceId)
-
isItemPriceIdSpecified
public boolean isItemPriceIdSpecified()
-
unsetItemPriceId
public void unsetItemPriceId()
-
getPackageId
public Long getPackageId()
-
setPackageId
public void setPackageId(Long packageId)
-
isPackageIdSpecified
public boolean isPackageIdSpecified()
-
unsetPackageId
public void unsetPackageId()
-
-