Class AmountFinal

    • 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.
      • AmountFinal

        public AmountFinal​(com.six.timapi.internal.TimSavedState savedState)
        For internal use only.
    • Method Detail

      • getAdjustmentResult

        public AdjustmentResult getAdjustmentResult()
        Adjustment result.
      • setAdjustmentResult

        public void setAdjustmentResult​(AdjustmentResult adjustmentResult)
        Set adjustment result.
      • toString

        public String toString()
        String representation for debugging purpose.
        Overrides:
        toString in class Amount
      • createSavedState

        public com.six.timapi.internal.TimSavedState createSavedState​(String name)
        For internal use only.
        Overrides:
        createSavedState in class Amount