Class ConsumptionSummary
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.ConsumptionSummary
@Validated
@Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen",
date="2022-10-21T20:35:04.698Z")
public class ConsumptionSummary
extends Object
The consumption counters (called ConsumptionSummary in the SID model) detail for example the different kind of consumption done on the bucket.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatbaseType(String atbaseType) atschemaLocation(String atschemaLocation) consumptionPeriod(TimePeriod consumptionPeriod) counterType(String counterType) 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 TimePeriodConsumption counter period between a start date time and an end date time.Type of the consumption counter.getLevel()Counter level.@Valid NetworkProductRefPublic identifier associated to the product for which the consumption counter is detailed.@Valid RelatedPartygetUser()Reference of the user for which the consumption counter is detailed.@Valid QuantitygetValue()Numeric value of the bucket counter in a given unitValue of the counter in a formatted string used for display needs for exampleinthashCode()product(NetworkProductRef product) voidsetAtbaseType(String atbaseType) voidsetAtschemaLocation(String atschemaLocation) voidvoidsetConsumptionPeriod(TimePeriod consumptionPeriod) voidsetCounterType(String counterType) voidvoidsetProduct(NetworkProductRef product) voidsetUser(RelatedParty user) voidvoidsetValueName(String valueName) toString()user(RelatedParty user)
-
Constructor Details
-
ConsumptionSummary
public ConsumptionSummary()
-
-
Method Details
-
counterType
-
getCounterType
Type of the consumption counter. We can give for example a counter of the used value for a bucket (counterType=used for example) or the value of the consumption done out of the bucket(s) (counterType=outOfBucket for example)- Returns:
- counterType
-
setCounterType
-
level
-
getLevel
Counter level. The counter can be given globally for the bucket or detailed by user or by network product for example in case of shared bucket- Returns:
- level
-
setLevel
-
valueName
-
getValueName
Value of the counter in a formatted string used for display needs for example- Returns:
- valueName
-
setValueName
-
consumptionPeriod
-
getConsumptionPeriod
Consumption counter period between a start date time and an end date time. For prepaid bucket, the period of counters is between the start date of the bucket and the effective date of the usage consumption report generation. For postpaid bucket, the period of counters is between the last bill date and the effective date of the usage consumption report generation.- Returns:
- consumptionPeriod
-
setConsumptionPeriod
-
product
-
getProduct
Public identifier associated to the product for which the consumption counter is detailed. If the level of the counter is global (i.e. concerning all the network products), the list of them is not specified. It can be found through the network products listed in the bucket sub-resource- Returns:
- product
-
setProduct
-
user
-
getUser
Reference of the user for which the consumption counter is detailed. If the level of the counter is global (i.e. concerning all the users), the list of them is not specified. It can be found through the users listed in the network products of the bucket sub-resource- Returns:
- user
-
setUser
-
value
-
getValue
Numeric value of the bucket counter in a given unit- Returns:
- value
-
setValue
-
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
-