Class UsageConsumption
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageConsumption
UsageConsumption
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddBucketRefOrValueItem(BucketRefOrValue bucketRefOrValueItem) addLogicalResourceItem(UsageConsumptionLogicalResourceRef logicalResourceItem) addProductItem(UsageConsumptionProductRef productItem) addRelatedPartyItem(RelatedParty relatedPartyItem) addServiceItem(UsageConsumptionServiceRef serviceItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) bucketRefOrValue(List<BucketRefOrValue> bucketRefOrValue) creationDate(Date creationDate) description(String description) 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<BucketRefOrValue>Get bucketRefOrValue@Valid DateDate and time of the request creation.DescriptiongetHref()Hyperlink reference of the bucket.getId()Unique identifier of the bucket.@Valid DateDate and time of the last update.Get logicalResourcegetName()Usage consumption name.@Valid List<UsageConsumptionProductRef>Get product@Valid List<RelatedParty>Reference and role of the related parties for which the usage consumption is requested.@Valid List<UsageConsumptionServiceRef>Get servicegetState()State of the report report defined in the state engine.@Valid TimePeriodGet validPeriodinthashCode()lastUpdate(Date lastUpdate) logicalResource(List<UsageConsumptionLogicalResourceRef> logicalResource) product(List<UsageConsumptionProductRef> product) relatedParty(List<RelatedParty> relatedParty) service(List<UsageConsumptionServiceRef> service) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetBucketRefOrValue(List<BucketRefOrValue> bucketRefOrValue) voidsetCreationDate(Date creationDate) voidsetDescription(String description) voidvoidvoidsetLastUpdate(Date lastUpdate) voidsetLogicalResource(List<UsageConsumptionLogicalResourceRef> logicalResource) voidvoidsetProduct(List<UsageConsumptionProductRef> product) voidsetRelatedParty(List<RelatedParty> relatedParty) voidsetService(List<UsageConsumptionServiceRef> service) voidvoidsetValidPeriod(TimePeriod validPeriod) toString()validPeriod(TimePeriod validPeriod)
-
Constructor Details
-
UsageConsumption
public UsageConsumption()
-
-
Method Details
-
id
-
getId
Unique identifier of the bucket.- Returns:
- id
-
setId
-
href
-
getHref
Hyperlink reference of the bucket.- Returns:
- href
-
setHref
-
bucketRefOrValue
-
addBucketRefOrValueItem
-
getBucketRefOrValue
Get bucketRefOrValue- Returns:
- bucketRefOrValue
-
setBucketRefOrValue
-
creationDate
-
getCreationDate
Date and time of the request creation.- Returns:
- creationDate
-
setCreationDate
-
description
-
getDescription
Description- Returns:
- description
-
setDescription
-
lastUpdate
-
getLastUpdate
Date and time of the last update.- Returns:
- lastUpdate
-
setLastUpdate
-
logicalResource
-
addLogicalResourceItem
public UsageConsumption addLogicalResourceItem(UsageConsumptionLogicalResourceRef logicalResourceItem) -
getLogicalResource
Get logicalResource- Returns:
- logicalResource
-
setLogicalResource
-
name
-
getName
Usage consumption name.- Returns:
- name
-
setName
-
product
-
addProductItem
-
getProduct
Get product- Returns:
- product
-
setProduct
-
addRelatedPartyItem
-
getRelatedParty
Reference and role of the related parties for which the usage consumption is requested.- Returns:
- relatedParty
-
setRelatedParty
-
service
-
addServiceItem
-
getService
Get service- Returns:
- service
-
setService
-
state
-
getState
State of the report report defined in the state engine.- Returns:
- state
-
setState
-
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
-