private decimal GetMaximumTransferrableAmount(TripMember sender, TripMember receiver) { return Math.Min(Math.Abs(GetBalance(sender)), GetBalance(receiver)); }
private decimal GetBalance(TripMember member) { return member.AmountOwed + member.AmountTransferred; }