Class Price
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.item.Price
@ApiType("SoftLayer_Product_Item_Price") public class Price extends Entity
The SoftLayer_Product_Item_Price data type contains general information relating to a single SoftLayer product item price. You can find out what packages each price is in as well as which category under which this price is sold. All prices are returned in floating point values measured in US Dollars ($USD).
- See Also:
- SoftLayer_Product_Item_Price
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Price.Mask
static interface
Price.Service
The SoftLayer_Product_Item_Price contains general information relating to a single SoftLayer product item price.static interface
Price.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
accountRestrictionCount
A count of the account that the item price is restricted to.protected List<Restriction>
accountRestrictions
The account that the item price is restricted to.protected Long
attributeCount
A count ofprotected List<Attribute>
attributes
protected Boolean
bareMetalReservedCapacityFlag
Signifies pricing that is only available on a bare metal reserved capacity order.protected Boolean
bigDataOsJournalDiskFlag
Whether the price is for Big Data OS/Journal disks only.protected Long
bundleReferenceCount
A count of cross reference for bundlesprotected List<Bundles>
bundleReferences
cross reference for bundlesprotected String
capacityRestrictionMaximum
The maximum capacity value for which this price is suitable.protected String
capacityRestrictionMinimum
The minimum capacity value for which this price is suitable.protected String
capacityRestrictionType
The type of capacity restriction by which this price must abide.protected List<Category>
categories
All categories which this item is a member.protected Long
categoryCount
A count of all categories which this item is a member.protected Boolean
currentPriceFlag
This flag is used by the getUpgradeItemPrices methods available on various resources to indicate if a product price is used for the current billing item.protected boolean
currentPriceFlagSpecified
protected Boolean
dedicatedHostInstanceFlag
Signifies pricing that is only available on a dedicated host virtual server order.protected Boolean
definedSoftwareLicenseFlag
Whether this price defines a software license for its product item.protected String
eligibilityStrategy
Eligibility strategy to assess if a customer can order using this price.protected BigDecimal
hourlyRecurringFee
The hourly price for this item, should this item be part of an hourly pricing package.protected boolean
hourlyRecurringFeeSpecified
protected Long
id
The unique identifier of a Product Item Price.protected boolean
idSpecified
protected Item
item
The product item a price is tied to.protected Long
itemId
The unique identifier for a product Itemprotected boolean
itemIdSpecified
protected BigDecimal
laborFee
The labor fee for a product item price.protected boolean
laborFeeSpecified
protected Long
locationGroupId
The id of the [[SoftLayer_Location_Group_Pricing]] that this price is part of.protected boolean
locationGroupIdSpecified
protected BigDecimal
oneTimeFee
The one time fee for a product item price.protected boolean
oneTimeFeeSpecified
protected BigDecimal
oneTimeFeeTax
A price's total tax amount of the one time fees (oneTimeFee, laborFee, and setupFee).protected boolean
oneTimeFeeTaxSpecified
protected Boolean
onSaleFlag
On sale flag.protected boolean
onSaleFlagSpecified
protected List<Type>
orderOptions
Order options for the category that this price is associated with.protected boolean
orderOptionsSpecified
protected Long
orderPremiumCount
A count ofprotected List<Premium>
orderPremiums
protected Long
packageCount
A count of a price's packages under which this item is sold.protected Long
packageReferenceCount
A count of cross reference for packagesprotected List<Prices>
packageReferences
cross reference for packagesprotected List<Package>
packages
A price's packages under which this item is sold.protected Long
presetConfigurationCount
A count of a list of preset configurations this price is used in.'protected List<Configuration>
presetConfigurations
A list of preset configurations this price is used in.'protected String
priceType
The type keyname of this price which can be STANDARD, TIERED, or TERM.protected Pricing
pricingLocationGroup
The pricing location group that this price is applicable for.protected BigDecimal
proratedRecurringFee
A recurring fee is a fee that happens every billing period.protected boolean
proratedRecurringFeeSpecified
protected BigDecimal
proratedRecurringFeeTax
A price's tax amount of the recurring fee.protected boolean
proratedRecurringFeeTaxSpecified
protected Long
quantity
protected boolean
quantitySpecified
protected BigDecimal
recurringFee
A recurring fee is a fee that happens every billing period.protected boolean
recurringFeeSpecified
protected BigDecimal
recurringFeeTax
A price's tax amount of the recurring fee.protected boolean
recurringFeeTaxSpecified
protected Long
requiredCoreCount
The number of server cores required to order this item.protected Boolean
reservedCapacityInstanceFlag
Signifies pricing that is only available on a reserved capacity virtual server order.protected BigDecimal
setupFee
The setup fee associated with a product item price.protected boolean
setupFeeSpecified
protected Long
sort
Used for ordering items on sales orders.protected boolean
sortSpecified
protected Long
termLength
The number of months a term lasts for a term-based priceprotected boolean
termLengthSpecified
protected Long
tierMinimumThreshold
The minimum threshold for which this tiered usage price begins to apply.protected boolean
tierMinimumThresholdSpecified
protected BigDecimal
usageRate
The rate for a usage based itemprotected boolean
usageRateSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Price()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
accountRestrictions
The account that the item price is restricted to. -
attributes
-
bareMetalReservedCapacityFlag
Signifies pricing that is only available on a bare metal reserved capacity order. -
bigDataOsJournalDiskFlag
Whether the price is for Big Data OS/Journal disks only. (Deprecated) -
bundleReferences
cross reference for bundles -
capacityRestrictionMaximum
The maximum capacity value for which this price is suitable. -
capacityRestrictionMinimum
The minimum capacity value for which this price is suitable. -
capacityRestrictionType
The type of capacity restriction by which this price must abide. -
categories
All categories which this item is a member. -
dedicatedHostInstanceFlag
Signifies pricing that is only available on a dedicated host virtual server order. -
definedSoftwareLicenseFlag
Whether this price defines a software license for its product item. -
eligibilityStrategy
Eligibility strategy to assess if a customer can order using this price. -
item
The product item a price is tied to. -
orderPremiums
-
packageReferences
cross reference for packages -
packages
A price's packages under which this item is sold. -
presetConfigurations
A list of preset configurations this price is used in.' -
priceType
The type keyname of this price which can be STANDARD, TIERED, or TERM. -
pricingLocationGroup
The pricing location group that this price is applicable for. Prices that have a pricing location group will only be available for ordering with the locations specified on the location group. -
requiredCoreCount
The number of server cores required to order this item. This is deprecated. Use [[SoftLayer_Product_Item_Price/getCapacityRestrictionMinimum|getCapacityRestrictionMinimum]] and [[SoftLayer_Product_Item_Price/getCapacityRestrictionMaximum|getCapacityRestrictionMaximum]] -
reservedCapacityInstanceFlag
Signifies pricing that is only available on a reserved capacity virtual server order. -
currentPriceFlag
This flag is used by the getUpgradeItemPrices methods available on various resources to indicate if a product price is used for the current billing item. -
currentPriceFlagSpecified
protected boolean currentPriceFlagSpecified -
hourlyRecurringFee
The hourly price for this item, should this item be part of an hourly pricing package. -
hourlyRecurringFeeSpecified
protected boolean hourlyRecurringFeeSpecified -
id
The unique identifier of a Product Item Price. -
idSpecified
protected boolean idSpecified -
itemId
The unique identifier for a product Item -
itemIdSpecified
protected boolean itemIdSpecified -
laborFee
The labor fee for a product item price. -
laborFeeSpecified
protected boolean laborFeeSpecified -
locationGroupId
The id of the [[SoftLayer_Location_Group_Pricing]] that this price is part of. If set to null, the price is considered a standard price, which can be used with any location when ordering.
During order [[SoftLayer_Product_Order/verifyOrder|verification]] and [[SoftLayer_Product_Order/placeOrder|placement]], if a standard price is used, that price may be replaced with a location based price, which does not have this property set to null. The location based price must be part of a [[SoftLayer_Location_Group_Pricing]] that has the location being ordered in order for this to happen. -
locationGroupIdSpecified
protected boolean locationGroupIdSpecified -
onSaleFlag
On sale flag. -
onSaleFlagSpecified
protected boolean onSaleFlagSpecified -
oneTimeFee
The one time fee for a product item price. -
oneTimeFeeSpecified
protected boolean oneTimeFeeSpecified -
oneTimeFeeTax
A price's total tax amount of the one time fees (oneTimeFee, laborFee, and setupFee). This is only populated after the order is verified via SoftLayer_Product_Order::verifyOrder() -
oneTimeFeeTaxSpecified
protected boolean oneTimeFeeTaxSpecified -
orderOptions
Order options for the category that this price is associated with. -
orderOptionsSpecified
protected boolean orderOptionsSpecified -
proratedRecurringFee
A recurring fee is a fee that happens every billing period. This fee is represented as a floating point decimal in US dollars ($USD). -
proratedRecurringFeeSpecified
protected boolean proratedRecurringFeeSpecified -
proratedRecurringFeeTax
A price's tax amount of the recurring fee. This is only populated after the order is verified via SoftLayer_Product_Order::verifyOrder() -
proratedRecurringFeeTaxSpecified
protected boolean proratedRecurringFeeTaxSpecified -
quantity
-
quantitySpecified
protected boolean quantitySpecified -
recurringFee
A recurring fee is a fee that happens every billing period. This fee is represented as a floating point decimal in US dollars ($USD). -
recurringFeeSpecified
protected boolean recurringFeeSpecified -
recurringFeeTax
A price's tax amount of the recurring fee. This is only populated after the order is verified via SoftLayer_Product_Order::verifyOrder() -
recurringFeeTaxSpecified
protected boolean recurringFeeTaxSpecified -
setupFee
The setup fee associated with a product item price. -
setupFeeSpecified
protected boolean setupFeeSpecified -
sort
Used for ordering items on sales orders. -
sortSpecified
protected boolean sortSpecified -
termLength
The number of months a term lasts for a term-based price -
termLengthSpecified
protected boolean termLengthSpecified -
tierMinimumThreshold
The minimum threshold for which this tiered usage price begins to apply. The unit for the price is defined by the item to which this belongs, see [[SoftLayer_Product_Item::$units]]. -
tierMinimumThresholdSpecified
protected boolean tierMinimumThresholdSpecified -
usageRate
The rate for a usage based item -
usageRateSpecified
protected boolean usageRateSpecified -
accountRestrictionCount
A count of the account that the item price is restricted to. -
attributeCount
A count of -
bundleReferenceCount
A count of cross reference for bundles -
categoryCount
A count of all categories which this item is a member. -
orderPremiumCount
A count of -
packageCount
A count of a price's packages under which this item is sold. -
packageReferenceCount
A count of cross reference for packages -
presetConfigurationCount
A count of a list of preset configurations this price is used in.'
-
-
Constructor Details
-
Price
public Price()
-
-
Method Details
-
getAccountRestrictions
-
getAttributes
-
getBareMetalReservedCapacityFlag
-
setBareMetalReservedCapacityFlag
-
getBigDataOsJournalDiskFlag
-
setBigDataOsJournalDiskFlag
-
getBundleReferences
-
getCapacityRestrictionMaximum
-
setCapacityRestrictionMaximum
-
getCapacityRestrictionMinimum
-
setCapacityRestrictionMinimum
-
getCapacityRestrictionType
-
setCapacityRestrictionType
-
getCategories
-
getDedicatedHostInstanceFlag
-
setDedicatedHostInstanceFlag
-
getDefinedSoftwareLicenseFlag
-
setDefinedSoftwareLicenseFlag
-
getEligibilityStrategy
-
setEligibilityStrategy
-
getItem
-
setItem
-
getOrderPremiums
-
getPackageReferences
-
getPackages
-
getPresetConfigurations
-
getPriceType
-
setPriceType
-
getPricingLocationGroup
-
setPricingLocationGroup
-
getRequiredCoreCount
-
setRequiredCoreCount
-
getReservedCapacityInstanceFlag
-
setReservedCapacityInstanceFlag
-
getCurrentPriceFlag
-
setCurrentPriceFlag
-
isCurrentPriceFlagSpecified
public boolean isCurrentPriceFlagSpecified() -
unsetCurrentPriceFlag
public void unsetCurrentPriceFlag() -
getHourlyRecurringFee
-
setHourlyRecurringFee
-
isHourlyRecurringFeeSpecified
public boolean isHourlyRecurringFeeSpecified() -
unsetHourlyRecurringFee
public void unsetHourlyRecurringFee() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getItemId
-
setItemId
-
isItemIdSpecified
public boolean isItemIdSpecified() -
unsetItemId
public void unsetItemId() -
getLaborFee
-
setLaborFee
-
isLaborFeeSpecified
public boolean isLaborFeeSpecified() -
unsetLaborFee
public void unsetLaborFee() -
getLocationGroupId
-
setLocationGroupId
-
isLocationGroupIdSpecified
public boolean isLocationGroupIdSpecified() -
unsetLocationGroupId
public void unsetLocationGroupId() -
getOnSaleFlag
-
setOnSaleFlag
-
isOnSaleFlagSpecified
public boolean isOnSaleFlagSpecified() -
unsetOnSaleFlag
public void unsetOnSaleFlag() -
getOneTimeFee
-
setOneTimeFee
-
isOneTimeFeeSpecified
public boolean isOneTimeFeeSpecified() -
unsetOneTimeFee
public void unsetOneTimeFee() -
getOneTimeFeeTax
-
setOneTimeFeeTax
-
isOneTimeFeeTaxSpecified
public boolean isOneTimeFeeTaxSpecified() -
unsetOneTimeFeeTax
public void unsetOneTimeFeeTax() -
getOrderOptions
-
isOrderOptionsSpecified
public boolean isOrderOptionsSpecified() -
unsetOrderOptions
public void unsetOrderOptions() -
getProratedRecurringFee
-
setProratedRecurringFee
-
isProratedRecurringFeeSpecified
public boolean isProratedRecurringFeeSpecified() -
unsetProratedRecurringFee
public void unsetProratedRecurringFee() -
getProratedRecurringFeeTax
-
setProratedRecurringFeeTax
-
isProratedRecurringFeeTaxSpecified
public boolean isProratedRecurringFeeTaxSpecified() -
unsetProratedRecurringFeeTax
public void unsetProratedRecurringFeeTax() -
getQuantity
-
setQuantity
-
isQuantitySpecified
public boolean isQuantitySpecified() -
unsetQuantity
public void unsetQuantity() -
getRecurringFee
-
setRecurringFee
-
isRecurringFeeSpecified
public boolean isRecurringFeeSpecified() -
unsetRecurringFee
public void unsetRecurringFee() -
getRecurringFeeTax
-
setRecurringFeeTax
-
isRecurringFeeTaxSpecified
public boolean isRecurringFeeTaxSpecified() -
unsetRecurringFeeTax
public void unsetRecurringFeeTax() -
getSetupFee
-
setSetupFee
-
isSetupFeeSpecified
public boolean isSetupFeeSpecified() -
unsetSetupFee
public void unsetSetupFee() -
getSort
-
setSort
-
isSortSpecified
public boolean isSortSpecified() -
unsetSort
public void unsetSort() -
getTermLength
-
setTermLength
-
isTermLengthSpecified
public boolean isTermLengthSpecified() -
unsetTermLength
public void unsetTermLength() -
getTierMinimumThreshold
-
setTierMinimumThreshold
-
isTierMinimumThresholdSpecified
public boolean isTierMinimumThresholdSpecified() -
unsetTierMinimumThreshold
public void unsetTierMinimumThreshold() -
getUsageRate
-
setUsageRate
-
isUsageRateSpecified
public boolean isUsageRateSpecified() -
unsetUsageRate
public void unsetUsageRate() -
getAccountRestrictionCount
-
setAccountRestrictionCount
-
getAttributeCount
-
setAttributeCount
-
getBundleReferenceCount
-
setBundleReferenceCount
-
getCategoryCount
-
setCategoryCount
-
getOrderPremiumCount
-
setOrderPremiumCount
-
getPackageCount
-
setPackageCount
-
getPackageReferenceCount
-
setPackageReferenceCount
-
getPresetConfigurationCount
-
setPresetConfigurationCount
-
asService
-
service
-
service
-