Class UsageConsumptionServiceRef
java.lang.Object
de.hybris.platform.tuawebservicesresources.v2.dto.UsageConsumptionServiceRef
Service reference, for when Service is used by other entities.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddConsumptionSummaryItem(ConsumptionSummary consumptionSummaryItem) atBaseType(String atBaseType) atReferredType(String atReferredType) atSchemaLocation(String atSchemaLocation) consumptionSummary(List<ConsumptionSummary> consumptionSummary) booleanWhen sub-classing, this defines the super-classThe actual type of the target instance when needed for disambiguation.A URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity name@Valid List<ConsumptionSummary>Get consumptionSummarygetHref()Hyperlink reference of the related entity.getId()Unique identifier of the related entity.getName()Name of the related entity.inthashCode()voidsetAtBaseType(String atBaseType) voidsetAtReferredType(String atReferredType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetConsumptionSummary(List<ConsumptionSummary> consumptionSummary) voidvoidvoidtoString()
-
Constructor Details
-
UsageConsumptionServiceRef
public UsageConsumptionServiceRef()
-
-
Method Details
-
id
-
getId
Unique identifier of the related entity.- Returns:
- id
-
setId
-
href
-
getHref
Hyperlink reference of the related entity.- Returns:
- href
-
setHref
-
name
-
getName
Name of the related entity.- Returns:
- name
-
setName
-
consumptionSummary
-
addConsumptionSummaryItem
public UsageConsumptionServiceRef addConsumptionSummaryItem(ConsumptionSummary consumptionSummaryItem) -
getConsumptionSummary
Get consumptionSummary- Returns:
- consumptionSummary
-
setConsumptionSummary
-
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
-
atReferredType
-
getAtReferredType
The actual type of the target instance when needed for disambiguation.- Returns:
- atReferredType
-
setAtReferredType
-
equals
-
hashCode
public int hashCode() -
toString
-