Class Amount

    • Constructor Detail

      • Amount

        public Amount()
    • Method Detail

      • currency

        public String currency()
        Get the currency property: Amount currency.
        Returns:
        the currency value.
      • value

        public BigDecimal value()
        Get the value property: Amount.
        Returns:
        the value value.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.