public class

SCMoneyAmount

extends IMoneyAmount.Stub
java.lang.Object
   ↳ android.os.Binder
     ↳ com.c2call.sdk.lib.common.aidl.IMoneyAmount.Stub
       ↳ com.c2call.sdk.pub.common.SCMoneyAmount

Summary

Constants
double DEFAULT_SCALE_FACTOR
[Expand]
Inherited Constants
From interface android.os.IBinder
Public Constructors
SCMoneyAmount(int amount, SCMoneyAmount ref)
SCMoneyAmount(int amount, double scaleFactor, SCCurrency currency)
SCMoneyAmount(double amount, int precision, double scaleFactor, SCCurrency currency)
SCMoneyAmount(int amount, SCCurrency currency)
Public Methods
int getAmount()
String getAmountString(String formatPattern)
String getAmountString()
SCCurrency getCurrency()
double getScaleFactor()
double getScaledAmount()
void setAmount(int _amount)
void setCurrency(SCCurrency _currency)
void setScaleFactor(double scaleFactor)
String toCompactString(String formatPattern)
String toCompactString()
String toString()
String toString(String formatPattern)
[Expand]
Inherited Methods
From class com.c2call.sdk.lib.common.aidl.IMoneyAmount.Stub
From class android.os.Binder
From class java.lang.Object
From interface android.os.IBinder
From interface android.os.IInterface

Constants

public static final double DEFAULT_SCALE_FACTOR

Constant Value: 1.0E-4

Public Constructors

public SCMoneyAmount (int amount, SCMoneyAmount ref)

public SCMoneyAmount (int amount, double scaleFactor, SCCurrency currency)

public SCMoneyAmount (double amount, int precision, double scaleFactor, SCCurrency currency)

public SCMoneyAmount (int amount, SCCurrency currency)

Public Methods

public int getAmount ()

public String getAmountString (String formatPattern)

public String getAmountString ()

public SCCurrency getCurrency ()

public double getScaleFactor ()

public double getScaledAmount ()

public void setAmount (int _amount)

public void setCurrency (SCCurrency _currency)

public void setScaleFactor (double scaleFactor)

public String toCompactString (String formatPattern)

public String toCompactString ()

public String toString ()

public String toString (String formatPattern)