Class UnitPrice
- java.lang.Object
-
- com.ellucian.generated.eedm.requisitions.v11_0.UnitPrice
-
@Generated("jsonschema2pojo") public class UnitPrice extends Object
Unit PriceThe price per unit for the commodity specified for the line item.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
UnitPrice.Currency
Currency
-
Field Summary
Fields Modifier and Type Field Description private UnitPrice.Currency
currency
Currencyprivate Double
value
Value
-
Constructor Summary
Constructors Constructor Description UnitPrice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object other)
UnitPrice.Currency
getCurrency()
CurrencyDouble
getValue()
Valueint
hashCode()
void
setCurrency(UnitPrice.Currency currency)
Currencyvoid
setValue(Double value)
ValueString
toString()
UnitPrice
withCurrency(UnitPrice.Currency currency)
UnitPrice
withValue(Double value)
-
-
-
Field Detail
-
value
@JsonPropertyDescription("The monetary value") private Double value
ValueThe monetary value (Required)
-
currency
@JsonPropertyDescription("The ISO 4217 currency code") private UnitPrice.Currency currency
CurrencyThe ISO 4217 currency code (Required)
-
-
Method Detail
-
getValue
public Double getValue()
ValueThe monetary value (Required)
-
setValue
public void setValue(Double value)
ValueThe monetary value (Required)
-
getCurrency
public UnitPrice.Currency getCurrency()
CurrencyThe ISO 4217 currency code (Required)
-
setCurrency
public void setCurrency(UnitPrice.Currency currency)
CurrencyThe ISO 4217 currency code (Required)
-
withCurrency
public UnitPrice withCurrency(UnitPrice.Currency currency)
-
-