Class Pricing
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.location.Group
-
- com.softlayer.api.service.location.group.Pricing
-
@ApiType("SoftLayer_Location_Group_Pricing") public class Pricing extends Group
A pricing location group relates a set of [[SoftLayer_Product_Item_Price|prices]] to only be available to a set of [[SoftLayer_Location|locations]] when used for [[SoftLayer_Product_Order|ordering]].- See Also:
- SoftLayer_Location_Group_Pricing
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Pricing.Mask
static interface
Pricing.Service
A pricing location group relates a set of [[SoftLayer_Product_Item_Price|prices]] to only be available to a set of [[SoftLayer_Location|locations]] when used for [[SoftLayer_Product_Order|ordering]].static interface
Pricing.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
priceCount
A count of the prices that this pricing location group limits.protected List<Price>
prices
The prices that this pricing location group limits.-
Fields inherited from class com.softlayer.api.service.location.Group
description, descriptionSpecified, id, idSpecified, locationCount, locationGroupType, locationGroupTypeId, locationGroupTypeIdSpecified, locations, name, nameSpecified, securityLevelId, securityLevelIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Pricing()
-
Method Summary
Modifier and Type Method Description Pricing.Service
asService(ApiClient client)
Long
getPriceCount()
List<Price>
getPrices()
static Pricing.Service
service(ApiClient client)
static Pricing.Service
service(ApiClient client, Long id)
void
setPriceCount(Long priceCount)
-
Methods inherited from class com.softlayer.api.service.location.Group
getDescription, getId, getLocationCount, getLocationGroupType, getLocationGroupTypeId, getLocations, getName, getSecurityLevelId, isDescriptionSpecified, isIdSpecified, isLocationGroupTypeIdSpecified, isNameSpecified, isSecurityLevelIdSpecified, setDescription, setId, setLocationCount, setLocationGroupType, setLocationGroupTypeId, setName, setSecurityLevelId, unsetDescription, unsetId, unsetLocationGroupTypeId, unsetName, unsetSecurityLevelId
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
prices
@ApiProperty protected List<Price> prices
The prices that this pricing location group limits. All of these prices will only be available in the locations defined by this pricing location group.
-
priceCount
@ApiProperty protected Long priceCount
A count of the prices that this pricing location group limits. All of these prices will only be available in the locations defined by this pricing location group.
-
-
Method Detail
-
getPriceCount
public Long getPriceCount()
-
setPriceCount
public void setPriceCount(Long priceCount)
-
asService
public Pricing.Service asService(ApiClient client)
-
service
public static Pricing.Service service(ApiClient client)
-
service
public static Pricing.Service service(ApiClient client, Long id)
-
-