Class UsageVolumeProduct
java.lang.Object
de.hybris.platform.usageconsumptiontmfwebservices.v1.dto.UsageVolumeProduct
@Validated
@Generated(value="de.hybris.platform.usageconsumptiontmfwebservices.swagger.UsageConsumptionCodegen",
date="2022-10-21T20:35:49.227Z")
public class UsageVolumeProduct
extends Object
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
-