Interface Price.Service
- All Superinterfaces:
Maskable
,ResultLimitable
,Service
- Enclosing class:
- Price
@ApiService("SoftLayer_Product_Item_Price") public static interface Price.Service extends Service
The SoftLayer_Product_Item_Price 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
-
Method Summary
Modifier and Type Method Description Price.ServiceAsync
asAsync()
Get an async version of this serviceList<Restriction>
getAccountRestrictions()
The account that the item price is restricted to.List<Attribute>
getAttributes()
Boolean
getBareMetalReservedCapacityFlag()
Signifies pricing that is only available on a bare metal reserved capacity order.Boolean
getBigDataOsJournalDiskFlag()
Whether the price is for Big Data OS/Journal disks only.List<Bundles>
getBundleReferences()
cross reference for bundlesString
getCapacityRestrictionMaximum()
The maximum capacity value for which this price is suitable.String
getCapacityRestrictionMinimum()
The minimum capacity value for which this price is suitable.String
getCapacityRestrictionType()
The type of capacity restriction by which this price must abide.List<Category>
getCategories()
All categories which this item is a member.Boolean
getDedicatedHostInstanceFlag()
Signifies pricing that is only available on a dedicated host virtual server order.Boolean
getDefinedSoftwareLicenseFlag()
Whether this price defines a software license for its product item.String
getEligibilityStrategy()
Eligibility strategy to assess if a customer can order using this price.Item
getItem()
The product item a price is tied to.Price
getObject()
List<Premium>
getOrderPremiums()
List<Prices>
getPackageReferences()
cross reference for packagesList<Package>
getPackages()
A price's packages under which this item is sold.List<Configuration>
getPresetConfigurations()
A list of preset configurations this price is used in.'String
getPriceType()
The type keyname of this price which can be STANDARD, TIERED, or TERM.Pricing
getPricingLocationGroup()
The pricing location group that this price is applicable for.Long
getRequiredCoreCount()
The number of server cores required to order this item.Boolean
getReservedCapacityInstanceFlag()
Signifies pricing that is only available on a reserved capacity virtual server order.List<Price>
getUsageRatePrices(Location location, List<Item> items)
Returns a collection of rate-based [[SoftLayer_Product_Item_Price]] objects associated with the [[SoftLayer_Product_Item]] objects and the [[SoftLayer_Location]] specified.void
setMask(Price.Mask mask)
Price.Mask
withMask()
Use the existing mask on this service or create it if not presentPrice.Mask
withNewMask()
Overwrite the existing mask on this service with a new one and return itMethods inherited from interface com.softlayer.api.ResultLimitable
getLastResponseTotalItemCount, getResultLimit, setResultLimit
-
Method Details
-
asAsync
Price.ServiceAsync asAsync()Description copied from interface:Service
Get an async version of this service -
withNewMask
Price.Mask withNewMask()Description copied from interface:Maskable
Overwrite the existing mask on this service with a new one and return it- Specified by:
withNewMask
in interfaceMaskable
-
withMask
Price.Mask withMask()Description copied from interface:Maskable
Use the existing mask on this service or create it if not present -
setMask
-
getObject
- See Also:
- SoftLayer_Product_Item_Price::getObject
-
getUsageRatePrices
Returns a collection of rate-based [[SoftLayer_Product_Item_Price]] objects associated with the [[SoftLayer_Product_Item]] objects and the [[SoftLayer_Location]] specified. The location is required to get the appropriate rate-based prices because the usage rates may vary from datacenter to datacenter. -
getAccountRestrictions
The account that the item price is restricted to. -
getAttributes
-
getBareMetalReservedCapacityFlag
Signifies pricing that is only available on a bare metal reserved capacity order. -
getBigDataOsJournalDiskFlag
Whether the price is for Big Data OS/Journal disks only. (Deprecated) -
getBundleReferences
cross reference for bundles -
getCapacityRestrictionMaximum
The maximum capacity value for which this price is suitable. -
getCapacityRestrictionMinimum
The minimum capacity value for which this price is suitable. -
getCapacityRestrictionType
The type of capacity restriction by which this price must abide. -
getCategories
All categories which this item is a member. -
getDedicatedHostInstanceFlag
Signifies pricing that is only available on a dedicated host virtual server order. -
getDefinedSoftwareLicenseFlag
Whether this price defines a software license for its product item. -
getEligibilityStrategy
Eligibility strategy to assess if a customer can order using this price. -
getItem
The product item a price is tied to.- See Also:
- SoftLayer_Product_Item_Price::getItem
-
getOrderPremiums
-
getPackageReferences
cross reference for packages -
getPackages
A price's packages under which this item is sold. -
getPresetConfigurations
A list of preset configurations this price is used in.' -
getPriceType
The type keyname of this price which can be STANDARD, TIERED, or TERM. -
getPricingLocationGroup
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. -
getRequiredCoreCount
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]] -
getReservedCapacityInstanceFlag
Signifies pricing that is only available on a reserved capacity virtual server order.
-