Class TmaConsumptionCounterWsDto
java.lang.Object
de.hybris.platform.b2ctelcotmfwebservices.dto.subscription.usage.TmaConsumptionCounterWsDto
- All Implemented Interfaces:
Serializable
The consumption counters detail for example the different kind of consumption done on the bucket
- Since:
- 1810
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncounterType(String counterType) booleanType of the consumption counter.getLevel()Counter level.@Valid TmaProductRefWsDtoGet productLink to the schema describing the REST resourcegetType()Indicates the (class) type of consumption countergetUnit()Unit of the counter@Valid TmaRelatedPartyWsDtogetUser()Get user@Valid TmaTimePeriodWsDtoGet validForgetValue()Numeric value of the bucket counter in the given unitValue of the counter in a formatted string used for display needs for exampleinthashCode()product(TmaProductRefWsDto product) schemaLocation(String schemaLocation) voidsetCounterType(String counterType) voidvoidsetProduct(TmaProductRefWsDto product) voidsetSchemaLocation(String schemaLocation) voidvoidvoidsetUser(TmaRelatedPartyWsDto user) voidsetValidFor(TmaTimePeriodWsDto validFor) voidvoidsetValueLabel(String valueLabel) toString()user(TmaRelatedPartyWsDto user) validFor(TmaTimePeriodWsDto validFor) valueLabel(String valueLabel)
-
Constructor Details
-
TmaConsumptionCounterWsDto
public TmaConsumptionCounterWsDto()
-
-
Method Details
-
counterType
-
getCounterType
Type of the consumption counter. We can give for example a counter of the used value- Returns:
- counterType
-
setCounterType
-
level
-
getLevel
Counter level. The given counter can be given globally for the bucket or detailed by user or by product for example in case of shared bucket- Returns:
- level
-
setLevel
-
unit
-
getUnit
Unit of the counter- Returns:
- unit
-
setUnit
-
value
-
getValue
Numeric value of the bucket counter in the given unit- Returns:
- value
-
setValue
-
valueLabel
-
getValueLabel
Value of the counter in a formatted string used for display needs for example- Returns:
- valueLabel
-
setValueLabel
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
type
-
getType
Indicates the (class) type of consumption counter- Returns:
- type
-
setType
-
schemaLocation
-
getSchemaLocation
Link to the schema describing the REST resource- Returns:
- schemaLocation
-
setSchemaLocation
-
product
-
getProduct
Get product- Returns:
- product
-
setProduct
-
user
-
getUser
Get user- Returns:
- user
-
setUser
-
equals
-
hashCode
public int hashCode() -
toString
-