Class TmaBucketWsDto
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.dto.subscription.usage.TmaBucketWsDto
- All Implemented Interfaces:
Serializable
A bucket 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.
- Since:
- 1810
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBucketBalanceItem(TmaBalanceWsDto bucketBalanceItem) addBucketCounterItem(TmaConsumptionCounterWsDto bucketCounterItem) bucketBalance(List<TmaBalanceWsDto> bucketBalance) bucketCounter(List<TmaConsumptionCounterWsDto> bucketCounter) boolean@Valid List<TmaBalanceWsDto>Get bucketBalance@Valid List<TmaConsumptionCounterWsDto>Get bucketCountergetId()Unique identifier of the bucketgetName()Bucket name@Valid TmaProductRefWsDtoGet productLink to the schema describing the REST resourcegetType()Indicates the (class) type of bucketType of usage concerned by the bucket (voice, sms, data,…)inthashCode()True if the bucket is shared between several devices or usersproduct(TmaProductRefWsDto product) schemaLocation(String schemaLocation) voidsetBucketBalance(List<TmaBalanceWsDto> bucketBalance) voidsetBucketCounter(List<TmaConsumptionCounterWsDto> bucketCounter) voidvoidsetIsShared(Boolean isShared) voidvoidsetProduct(TmaProductRefWsDto product) voidsetSchemaLocation(String schemaLocation) voidvoidsetUsageType(String usageType) toString()
-
Constructor Details
-
TmaBucketWsDto
public TmaBucketWsDto()
-
-
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 (voice, sms, data,…)- Returns:
- usageType
-
setUsageType
-
type
-
getType
Indicates the (class) type of bucket- Returns:
- type
-
setType
-
schemaLocation
-
getSchemaLocation
Link to the schema describing the REST resource- Returns:
- schemaLocation
-
setSchemaLocation
-
product
-
getProduct
Get product- Returns:
- product
-
setProduct
-
bucketBalance
-
addBucketBalanceItem
-
getBucketBalance
Get bucketBalance- Returns:
- bucketBalance
-
setBucketBalance
-
bucketCounter
-
addBucketCounterItem
-
getBucketCounter
Get bucketCounter- Returns:
- bucketCounter
-
setBucketCounter
-
equals
-
hashCode
public int hashCode() -
toString
-