|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.zeroexchange.mcredit.read.DefaultCreditLineReader
public class DefaultCreditLineReader
Constructor Summary | |
---|---|
DefaultCreditLineReader()
|
Method Summary | |
---|---|
BigDecimal |
getAvailableAmount(Collection<CreditLine> path)
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. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DefaultCreditLineReader()
Method Detail |
---|
public CreditLine getComplemetaryCreditLine(CreditLine creditLine)
getComplemetaryCreditLine
in interface CreditLineReader
public BigDecimal getAvailableAmount(CreditLine creditLine)
getAvailableAmount
in interface CreditLineReader
public BigDecimal getAvailableAmount(Collection<CreditLine> path)
getAvailableAmount
in interface CreditLineReader
public BigDecimal getMutualBalance(User user)
getMutualBalance
in interface CreditLineReader
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |