Class UsageConsumptionReportRequest
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageConsumptionReportRequest
An UsageConsumptionReportRequest allows to manage the calculation request of an usage consumption report
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBucketItem(UsageVolumeProductRef bucketItem) addRelatedPartyItem(RelatedParty relatedPartyItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) bucket(List<UsageVolumeProductRef> bucket) creationDate(Date creationDate) 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<UsageVolumeProductRef>Reference of the buckets for which the usage consumption report is requested@Valid DateDate and time of the request creationgetHref()Reference of the usage consumption report requestgetId()Unique identifier of the usage consumption report request given by the server@Valid DateDate when the status was last changed@Valid NetworkProductRefGet product@Valid List<RelatedParty>Reference and role of the related parties for which the usage consumption report is requestedStatus of the usage consumption report request (InProgress or done)@Valid UsageConsumptionReportRefGet usageConsumptionReport@Valid TimePeriodGet validPeriodinthashCode()lastUpdate(Date lastUpdate) product(NetworkProductRef product) relatedParty(List<RelatedParty> relatedParty) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBucket(List<UsageVolumeProductRef> bucket) voidsetCreationDate(Date creationDate) voidvoidvoidsetLastUpdate(Date lastUpdate) voidsetProduct(NetworkProductRef product) voidsetRelatedParty(List<RelatedParty> relatedParty) voidvoidsetUsageConsumptionReport(UsageConsumptionReportRef usageConsumptionReport) voidsetValidPeriod(TimePeriod validPeriod) toString()usageConsumptionReport(UsageConsumptionReportRef usageConsumptionReport) validPeriod(TimePeriod validPeriod)
-
Constructor Details
-
UsageConsumptionReportRequest
public UsageConsumptionReportRequest()
-
-
Method Details
-
id
-
getId
Unique identifier of the usage consumption report request given by the server- Returns:
- id
-
setId
-
href
-
getHref
Reference of the usage consumption report request- Returns:
- href
-
setHref
-
creationDate
-
getCreationDate
Date and time of the request creation- Returns:
- creationDate
-
setCreationDate
-
lastUpdate
-
getLastUpdate
Date when the status was last changed- Returns:
- lastUpdate
-
setLastUpdate
-
status
-
getStatus
Status of the usage consumption report request (InProgress or done)- Returns:
- status
-
setStatus
-
bucket
-
addBucketItem
-
getBucket
Reference of the buckets for which the usage consumption report is requested- Returns:
- bucket
-
setBucket
-
product
-
getProduct
Get product- Returns:
- product
-
setProduct
-
addRelatedPartyItem
-
getRelatedParty
Reference and role of the related parties for which the usage consumption report is requested- Returns:
- relatedParty
-
setRelatedParty
-
usageConsumptionReport
public UsageConsumptionReportRequest usageConsumptionReport(UsageConsumptionReportRef usageConsumptionReport) -
getUsageConsumptionReport
Get usageConsumptionReport- Returns:
- usageConsumptionReport
-
setUsageConsumptionReport
-
validPeriod
-
getValidPeriod
Get validPeriod- Returns:
- validPeriod
-
setValidPeriod
-
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
-