public class AmountBase extends Entity
| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
currency
Moneda acorde al ISO 4217
|
protected double |
total
Valor total
|
| Constructor and Description |
|---|
AmountBase(double total) |
AmountBase(org.json.JSONObject object) |
AmountBase(java.lang.String currency,
double total)
Crea instancia de
AmountBase |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getCurrency()
Devuele el parámetro currency
|
double |
getTotal()
Devuelve el parámetro total
|
org.json.JSONObject |
toJsonObject() |
checkMissingFields, filterJSONObject, getValidator, isValid, isValid, setValidatorprotected java.lang.String currency
protected double total
public AmountBase(org.json.JSONObject object)
public AmountBase(java.lang.String currency,
double total)
AmountBasepublic AmountBase(double total)
public java.lang.String getCurrency()
currencypublic double getTotal()
totalpublic org.json.JSONObject toJsonObject()
toJsonObject in class Entity