Class UnitPrice
- java.lang.Object
-
- com.ellucian.generated.eedm.purchase_orders.v11_2_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 classUnitPrice.CurrencyCurrency
-
Field Summary
Fields Modifier and Type Field Description private UnitPrice.CurrencycurrencyCurrencyprivate DoublevalueValue
-
Constructor Summary
Constructors Constructor Description UnitPrice()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object other)UnitPrice.CurrencygetCurrency()CurrencyDoublegetValue()ValueinthashCode()voidsetCurrency(UnitPrice.Currency currency)CurrencyvoidsetValue(Double value)ValueStringtoString()UnitPricewithCurrency(UnitPrice.Currency currency)UnitPricewithValue(Double value)
-
-
-
Field Detail
-
value
@JsonPropertyDescription("The monetary value") private Double valueValueThe monetary value (Required)
-
currency
@JsonPropertyDescription("The ISO 4217 currency code") private UnitPrice.Currency currencyCurrencyThe 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)
-
-