org.zeroexchange.mcredit.read
Interface CreditLineReader

All Known Implementing Classes:
DefaultCreditLineReader

public interface CreditLineReader

Author:
black

Method Summary
 BigDecimal getAvailableAmount(Collection<CreditLine> lines)
          Returns available amount for the specified path.
 BigDecimal getAvailableAmount(CreditLine creditLine)
          Returns available amount for the specified line.
 CreditLine getComplemetaryCreditLine(CreditLine creditLine)
          Finds the complementary credit line.
 BigDecimal getMutualBalance(User user)
          Returns user's mutual credit status.
 

Method Detail

getComplemetaryCreditLine

CreditLine getComplemetaryCreditLine(CreditLine creditLine)
Finds the complementary credit line.


getAvailableAmount

BigDecimal getAvailableAmount(CreditLine creditLine)
Returns available amount for the specified line.


getAvailableAmount

BigDecimal getAvailableAmount(Collection<CreditLine> lines)
Returns available amount for the specified path.


getMutualBalance

BigDecimal getMutualBalance(User user)
Returns user's mutual credit status.



Copyright © 2013. All Rights Reserved.