Package com.six.timapi
Class AmountFinal
- java.lang.Object
-
- com.six.timapi.Amount
-
- com.six.timapi.AmountFinal
-
public class AmountFinal extends Amount
Final amount after aTerminal.amtAdjustment(Amount)
has been process by the terminal.
-
-
Constructor Summary
Constructors Constructor Description AmountFinal(double amount, Currency currency, int exponent, AdjustmentResult adjustmentResult)
Create amount using major units.AmountFinal(double amount, Currency currency, AdjustmentResult adjustmentResult)
Create amount using major units.AmountFinal(int amount, Currency currency, int exponent, AdjustmentResult adjustmentResult)
Create amount using minor units.AmountFinal(int amount, Currency currency, AdjustmentResult adjustmentResult)
Create amount using minor units.AmountFinal(long amount, Currency currency, int exponent, AdjustmentResult adjustmentResult)
Create amount using minor units.AmountFinal(long amount, Currency currency, AdjustmentResult adjustmentResult)
Create amount using minor units.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AdjustmentResult
getAdjustmentResult()
Adjustment result.void
setAdjustmentResult(AdjustmentResult adjustmentResult)
Set adjustment result.String
toString()
String representation for debugging purpose.-
Methods inherited from class com.six.timapi.Amount
getAmount, getCurrency, getDecimalValue, getExponent, getIntAmount, setAmount, setCurrency, setDecimalValue, setExponent, setIntAmount
-
-
-
-
Constructor Detail
-
AmountFinal
public AmountFinal(int amount, Currency currency, AdjustmentResult adjustmentResult)
Create amount using minor units.
-
AmountFinal
public AmountFinal(int amount, Currency currency, int exponent, AdjustmentResult adjustmentResult)
Create amount using minor units.
-
AmountFinal
public AmountFinal(long amount, Currency currency, AdjustmentResult adjustmentResult)
Create amount using minor units.
-
AmountFinal
public AmountFinal(long amount, Currency currency, int exponent, AdjustmentResult adjustmentResult)
Create amount using minor units.
-
AmountFinal
public AmountFinal(double amount, Currency currency, AdjustmentResult adjustmentResult)
Create amount using major units.
-
AmountFinal
public AmountFinal(double amount, Currency currency, int exponent, AdjustmentResult adjustmentResult)
Create amount using major units.
-
-
Method Detail
-
getAdjustmentResult
public AdjustmentResult getAdjustmentResult()
Adjustment result.
-
setAdjustmentResult
public void setAdjustmentResult(AdjustmentResult adjustmentResult)
Set adjustment result.
-
-