Package org.bgerp.plugin.clb.team.model

# Class PartyBalance

java.lang.Object
org.bgerp.plugin.clb.team.model.PartyBalance

public class PartyBalance extends Object

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `PartyBalance(List<Pair<Integer,BigDecimal>> paymentAmounts)`
  Constructor.

- ## Method Summary

  Modifier and Type
  Method
  Description
  `BigDecimal`
  `get(int fromId, int toId)`
  Returns payment transition from `fromId` to `toId`.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### PartyBalance

    public PartyBalance(List<Pair<Integer,BigDecimal>> paymentAmounts)
    Constructor.
    Parameters:
      `paymentAmounts` - key - member ID, value - given amount.

- ## Method Details

  - ### get

    public BigDecimal get(int fromId, int toId)
    Returns payment transition from `fromId` to `toId`.
    Parameters:
      `fromId` -
      `toId` -
    Returns:
      positive transition or `null` if missing.