Class UsageVolumeBalance
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageVolumeBalance
The balance (called UsageVolumeBalance in the SID model) defines the remaining allowed product usage quantity in terms of volume, time, currency or events. It corresponds to the initial allowed usage quantity minus the usage consumed on the bucket.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionatBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) 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 QuantityGet remainingValueRemaining value in a formatted string for the bucket given in the balance unit (for example 1.9 Gb).@Valid TimePeriodGet validForinthashCode()remainingValue(Quantity remainingValue) remainingValueName(String remainingValueName) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetRemainingValue(Quantity remainingValue) voidsetRemainingValueName(String remainingValueName) voidsetValidFor(TimePeriod validFor) toString()validFor(TimePeriod validFor)
-
Constructor Details
-
UsageVolumeBalance
public UsageVolumeBalance()
-
-
Method Details
-
remainingValueName
-
getRemainingValueName
Remaining value in a formatted string for the bucket given in the balance unit (for example 1.9 Gb). This formatted string could be used for display needs for example- Returns:
- remainingValueName
-
setRemainingValueName
-
remainingValue
-
getRemainingValue
Get remainingValue- Returns:
- remainingValue
-
setRemainingValue
-
validFor
-
getValidFor
Get validFor- Returns:
- validFor
-
setValidFor
-
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
-