Package money.zumo.zumokit
Class ComposedExchange
- java.lang.Object
-
- money.zumo.zumokit.ComposedExchange
-
public final class ComposedExchange extends java.lang.Object
Record containing result of the compose exchange method onWallet
object.
-
-
Constructor Summary
Constructors Constructor Description ComposedExchange(Account debitAccount, Account creditAccount, Quote quote)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
Account
getCreditAccount()
Credit account.Account
getDebitAccount()
Debit account.Quote
getQuote()
Exchange rate quote used when composing exchange.int
hashCode()
java.lang.String
toString()
-
-
-
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 classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-