Back to project page RICurrencyConversion-Android.
The source code is released under:
MIT License
If you think the Android project RICurrencyConversion-Android listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package de.rocketinternet.currencyconversion; //ww w . j a v a2 s. c o m /** * Container class to bundle input parameters to a conversion */ public class CurrencyConversionInput { private Double value; private String currencyCode; private String targetCurrencyCode; /** * Convenience constructor to initialize the conversion input container * @param value Input value to be converted * @param currencyCode Origin currency code from which the value is converted * @param targetCurrencyCode Target currency code to which the value is converted */ public CurrencyConversionInput(Double value, String currencyCode, String targetCurrencyCode) { this.value = value; this.currencyCode = currencyCode; this.targetCurrencyCode = targetCurrencyCode; } /** * @return Conversion input value to be converted */ public Double getValue() { return value; } /** * @return Origin currency code from which value is converted */ public String getCurrencyCode() { return currencyCode; } /** * @return Target currency code to which value is converted */ public String getTargetCurrencyCode() { return targetCurrencyCode; } }