java.lang.Object
de.hybris.platform.usageconsumptiontmfwebservices.v1.dto.ConsumptionSummary

@Deprecated(since="2208") public class ConsumptionSummary extends Object
Deprecated.
The consumption counters (called ConsumptionSummary in the SID model) detail for example the different kind of consumption done on the bucket.
  • Constructor Details

    • ConsumptionSummary

      public ConsumptionSummary()
      Deprecated.
  • Method Details

    • id

      public ConsumptionSummary id(String id)
      Deprecated.
    • getId

      public String getId()
      Deprecated.
      When sub-classing, this defines the super-class
      Returns:
      id
    • setId

      public void setId(String id)
      Deprecated.
    • counterType

      public ConsumptionSummary counterType(String counterType)
      Deprecated.
    • getCounterType

      public String getCounterType()
      Deprecated.
      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

      public void setCounterType(String counterType)
      Deprecated.
    • level

      public ConsumptionSummary level(String level)
      Deprecated.
    • getLevel

      public String getLevel()
      Deprecated.
      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

      public void setLevel(String level)
      Deprecated.
    • valueName

      public ConsumptionSummary valueName(String valueName)
      Deprecated.
    • getValueName

      public String getValueName()
      Deprecated.
      Value of the counter in a formatted string used for display needs for example
      Returns:
      valueName
    • setValueName

      public void setValueName(String valueName)
      Deprecated.
    • consumptionPeriod

      public ConsumptionSummary consumptionPeriod(TimePeriod consumptionPeriod)
      Deprecated.
    • getConsumptionPeriod

      @Valid public @Valid TimePeriod getConsumptionPeriod()
      Deprecated.
      Get consumptionPeriod
      Returns:
      consumptionPeriod
    • setConsumptionPeriod

      public void setConsumptionPeriod(TimePeriod consumptionPeriod)
      Deprecated.
    • product

      public ConsumptionSummary product(NetworkProductRef product)
      Deprecated.
    • getProduct

      @Valid public @Valid NetworkProductRef getProduct()
      Deprecated.
      Get product
      Returns:
      product
    • setProduct

      public void setProduct(NetworkProductRef product)
      Deprecated.
    • user

      public ConsumptionSummary user(RelatedParty user)
      Deprecated.
    • getUser

      @Valid public @Valid RelatedParty getUser()
      Deprecated.
      Get user
      Returns:
      user
    • setUser

      public void setUser(RelatedParty user)
      Deprecated.
    • value

      public ConsumptionSummary value(Quantity value)
      Deprecated.
    • getValue

      @Valid public @Valid Quantity getValue()
      Deprecated.
      Get value
      Returns:
      value
    • setValue

      public void setValue(Quantity value)
      Deprecated.
    • _atBaseType

      public ConsumptionSummary _atBaseType(String _atBaseType)
      Deprecated.
    • getAtBaseType

      public String getAtBaseType()
      Deprecated.
      When sub-classing, this defines the super-class
      Returns:
      _atBaseType
    • setAtBaseType

      public void setAtBaseType(String _atBaseType)
      Deprecated.
    • _atSchemaLocation

      public ConsumptionSummary _atSchemaLocation(String _atSchemaLocation)
      Deprecated.
    • getAtSchemaLocation

      public String getAtSchemaLocation()
      Deprecated.
      A URI to a JSON-Schema file that defines additional attributes and relationships
      Returns:
      _atSchemaLocation
    • setAtSchemaLocation

      public void setAtSchemaLocation(String _atSchemaLocation)
      Deprecated.
    • _atType

      public ConsumptionSummary _atType(String _atType)
      Deprecated.
    • getAtType

      public String getAtType()
      Deprecated.
      When sub-classing, this defines the sub-class entity name
      Returns:
      _atType
    • setAtType

      public void setAtType(String _atType)
      Deprecated.
    • equals

      public boolean equals(Object o)
      Deprecated.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Deprecated.
      Overrides:
      toString in class Object