Class UsageConsumptionReport
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageConsumptionReport
An usage consumption report enables to know at a given point the balances and the consumption counters related to various buckets (SMS, Voice, Data for example). It could be calculated for a device identified by a public key (msisdn number for a mobile device for example or PSTN or VOIP number for a fix device), for a subscribed offer or option or for an user.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBucketItem(UsageVolumeProduct bucketItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) bucket(List<UsageVolumeProduct> bucket) description(String description) effectiveDate(Date effectiveDate) 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 List<UsageVolumeProduct>Bucket(s) included in the offer or option subscribed.Free short text describing the usage consumption report content@Valid DateDate and time when the usage consumption report was calculated and generatedgetHref()Hyperlink to access the usage consumption report.getId()The report is calculated at the time of the request by the server.getName()Usage consumption report name@Valid RelatedPartyGet relatedPartyinthashCode()relatedParty(RelatedParty relatedParty) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBucket(List<UsageVolumeProduct> bucket) voidsetDescription(String description) voidsetEffectiveDate(Date effectiveDate) voidvoidvoidvoidsetRelatedParty(RelatedParty relatedParty) toString()
-
Constructor Details
-
UsageConsumptionReport
public UsageConsumptionReport()
-
-
Method Details
-
id
-
getId
The report is calculated at the time of the request by the server. Generally, this report is not recorded by the server. If it is, an unique identifier of the usage consumption report is given by the server- Returns:
- id
-
setId
-
href
-
getHref
Hyperlink to access the usage consumption report. The report is calculated at the time of the request by the server. Generally, this report is not recorded by the server. If it is, an unique identifier of the usage consumption report is given by the server- Returns:
- href
-
setHref
-
description
-
getDescription
Free short text describing the usage consumption report content- Returns:
- description
-
setDescription
-
effectiveDate
-
getEffectiveDate
Date and time when the usage consumption report was calculated and generated- Returns:
- effectiveDate
-
setEffectiveDate
-
name
-
getName
Usage consumption report name- Returns:
- name
-
setName
-
bucket
-
addBucketItem
-
getBucket
Bucket(s) included in the offer or option subscribed.- Returns:
- bucket
-
setBucket
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
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
-