Class InternalTransaction


  • public final class InternalTransaction
    extends java.lang.Object
    Record containing internal transaction details.
    • Constructor Summary

      Constructors 
      Constructor Description
      InternalTransaction​(java.lang.String fromUserId, java.lang.String fromUserIntegratorId, java.lang.String fromAccountId, java.lang.String fromAddress, java.lang.String toUserId, java.lang.String toUserIntegratorId, java.lang.String toAccountId, java.lang.String toAddress, java.math.BigDecimal amount, java.util.HashMap<java.lang.String,​java.lang.Double> fiatAmount)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object obj)  
      java.math.BigDecimal getAmount()
      Transaction amount in transaction currency.
      java.util.HashMap<java.lang.String,​java.lang.Double> getFiatAmount()
      Value in fiat currencies at the time of the transaction submission.
      java.lang.String getFromAccountId()
      Sender account id or null if it is external user.
      java.lang.String getFromAddress()
      Sender address.
      java.lang.String getFromUserId()
      Sender user id or null if it is external user.
      java.lang.String getFromUserIntegratorId()
      Sender user integrator id or null if it is external user.
      java.lang.String getToAccountId()
      Recipient account id or null if it is external user.
      java.lang.String getToAddress()
      Recipient address.
      java.lang.String getToUserId()
      Recipient user id or null if it is external user.
      java.lang.String getToUserIntegratorId()
      Recipient user integrator id or null if it is external user.
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • InternalTransaction

        public InternalTransaction​(java.lang.String fromUserId,
                                   java.lang.String fromUserIntegratorId,
                                   java.lang.String fromAccountId,
                                   java.lang.String fromAddress,
                                   java.lang.String toUserId,
                                   java.lang.String toUserIntegratorId,
                                   java.lang.String toAccountId,
                                   java.lang.String toAddress,
                                   java.math.BigDecimal amount,
                                   java.util.HashMap<java.lang.String,​java.lang.Double> fiatAmount)
    • Method Detail

      • getFromUserId

        public java.lang.String getFromUserId()
        Sender user id or null if it is external user.
      • getFromUserIntegratorId

        public java.lang.String getFromUserIntegratorId()
        Sender user integrator id or null if it is external user.
      • getFromAccountId

        public java.lang.String getFromAccountId()
        Sender account id or null if it is external user.
      • getFromAddress

        public java.lang.String getFromAddress()
        Sender address.
      • getToUserId

        public java.lang.String getToUserId()
        Recipient user id or null if it is external user.
      • getToUserIntegratorId

        public java.lang.String getToUserIntegratorId()
        Recipient user integrator id or null if it is external user.
      • getToAccountId

        public java.lang.String getToAccountId()
        Recipient account id or null if it is external user.
      • getToAddress

        public java.lang.String getToAddress()
        Recipient address.
      • getAmount

        public java.math.BigDecimal getAmount()
        Transaction amount in transaction currency.
      • getFiatAmount

        public java.util.HashMap<java.lang.String,​java.lang.Double> getFiatAmount()
        Value in fiat currencies at the time of the transaction submission.
        See Also:
        CurrencyCode
      • 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