Class PartyBalance

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

public class PartyBalance extends Object
  • 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.