Class Cost
java.lang.Object
org.springframework.cloud.servicebroker.autoconfigure.web.Cost
Internal class for marshaling
ServiceBrokerProperties
configuration properties
that describes a service offered by this broker.- Author:
- Roy Clarkson
- See Also:
-
Constructor Details
-
Cost
public Cost()
-
-
Method Details
-
getAmount
-
setAmount
Set a single amount key-value pair.- Parameters:
amount
- currency codevalue
- currency amount
-
setAmount
-
getUnit
-
setUnit
-
toModel
Converts this object into its corresponding model.- Returns:
- a Map model
- See Also:
-