Class Price
- java.lang.Object
-
- aero.panasonic.inflight.services.contentdiscovery.v1.data.Price
-
public class Price extends java.lang.ObjectThis class is Price model class. Price consists of the amount, symbol and currency.
The currency is based on the ISO 4217 currency code.
-
-
Constructor Summary
Constructors Constructor Description Price(JSONObject jsonObject)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetAmount()Gets the cost of the item.java.lang.StringgetCurrency()Gets the currency code.java.lang.StringgetSymbol()Gets the currency symbol.
-
-
-
Method Detail
-
getAmount
public java.lang.String getAmount()
Gets the cost of the item.
-
getSymbol
public java.lang.String getSymbol()
Gets the currency symbol. Example: symbol for United States is the dollar sign $, Great Britian is the pound sign £ and the Euro is €
-
getCurrency
public java.lang.String getCurrency()
Gets the currency code. Examples: United States dollar is USD, Japan is JPY and the Euro is EUR.
-
-