Class ComposedExchange


  • public final class ComposedExchange
    extends java.lang.Object
    Record containing result of the compose exchange method on Wallet object.
    • Constructor Detail

      • ComposedExchange

        public ComposedExchange​(Account debitAccount,
                                Account creditAccount,
                                Quote quote)
    • Method Detail

      • getDebitAccount

        public Account getDebitAccount()
        Debit account.
      • getCreditAccount

        public Account getCreditAccount()
        Credit account.
      • getQuote

        public Quote getQuote()
        Exchange rate quote used when composing exchange.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object