Class UsageVolumeProduct
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageVolumeProduct
A bucket (called UsageVolumeProduct in the SID model) represents a quantity of usage, as 2 hours national calls or 50 sms for example. It could be either a quantity or an amount in a currency (i.e. It could represent a fixed number of SMS, MMS, minutes of calls, quantity of data, number of events as well as a specific amount in a given currency). It requires one or more network products from which usages will debit the bucket.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBucketBalanceItem(UsageVolumeBalance bucketBalanceItem) addBucketCounterItem(ConsumptionSummary bucketCounterItem) addProductItem(NetworkProduct productItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) bucketBalance(List<UsageVolumeBalance> bucketBalance) bucketCounter(List<ConsumptionSummary> bucketCounter) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid List<UsageVolumeBalance>Get bucketBalance@Valid List<ConsumptionSummary>Get bucketCountergetId()Unique identifier of the bucketgetName()Bucket name@Valid List<NetworkProduct>Get productType of usage concerned by the bucket, such as voice, sms, datainthashCode()True if the bucket is shared between several devices or usersproduct(List<NetworkProduct> product) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBucketBalance(List<UsageVolumeBalance> bucketBalance) voidsetBucketCounter(List<ConsumptionSummary> bucketCounter) voidvoidsetIsShared(Boolean isShared) voidvoidsetProduct(List<NetworkProduct> product) voidsetUsageType(String usageType) toString()
-
Constructor Details
-
UsageVolumeProduct
public UsageVolumeProduct()
-
-
Method Details
-
id
-
getId
Unique identifier of the bucket- Returns:
- id
-
setId
-
name
-
getName
Bucket name- Returns:
- name
-
setName
-
usageType
-
getUsageType
Type of usage concerned by the bucket, such as voice, sms, data- Returns:
- usageType
-
setUsageType
-
bucketBalance
-
addBucketBalanceItem
-
getBucketBalance
Get bucketBalance- Returns:
- bucketBalance
-
setBucketBalance
-
bucketCounter
-
addBucketCounterItem
-
getBucketCounter
Get bucketCounter- Returns:
- bucketCounter
-
setBucketCounter
-
product
-
addProductItem
-
getProduct
Get product- Returns:
- product
-
setProduct
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-