Class UsageVolumeBalance
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageVolumeBalance
@Validated
@Generated(value="de.hybris.platform.tuawebservicesresources.swagger.TmaCodegen",
date="2022-10-21T20:35:04.698Z")
public class UsageVolumeBalance
extends Object
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 QuantityNumeric remaining value for the bucket given in the unit (for example 1.9).Remaining value in a formatted string for the bucket given in the balance unit (for example 1.9 Gb).@Valid TimePeriodBalance period between a start date time and an end date time.inthashCode()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
Numeric remaining value for the bucket given in the unit (for example 1.9). This numeric value could be used for calculation for example- Returns:
- remainingValue
-
setRemainingValue
-
validFor
-
getValidFor
Balance period between a start date time and an end date time. For prepaid bucket, the period of the balance is between the effective date of the usage consumption report generation and the end date of the bucket. For postpaid bucket, the period of the balance is between the effective date of the usage consumption report generation and the next bill date.- 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
-