Package com.creditcall.chipdnamobile
Class Currency
- java.lang.Object
-
- com.creditcall.chipdnamobile.Currency
-
- All Implemented Interfaces:
android.os.Parcelable,java.io.Serializable
public class Currency extends java.lang.Object implements android.os.Parcelable, java.io.SerializableThis class represents a currency and its attributes.- Author:
- Creditcall Ltd
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()booleanequals(java.lang.Object o)java.lang.StringgetCharCode()Gets the character code for the currency.intgetExponent()Gets the exponent value for the currency.java.lang.StringgetSymbol()Gets the symbol for the currency.inthashCode()voidwriteToParcel(android.os.Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final android.os.Parcelable.Creator<Currency> CREATOR
-
-
Method Detail
-
getSymbol
public java.lang.String getSymbol()
Gets the symbol for the currency.- Returns:
- The currency symbol.
-
getCharCode
public java.lang.String getCharCode()
Gets the character code for the currency.- Returns:
- The currency character code.
-
getExponent
public int getExponent()
Gets the exponent value for the currency.- Returns:
- The exponent.
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceandroid.os.Parcelable
-
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)- Specified by:
writeToParcelin interfaceandroid.os.Parcelable
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-