Skip to content

Commit fc8e06e

Browse files
Merge pull request #627 from nofrixion/feature/MOOV-4726-accounts-minimal
Added balance fields
2 parents b02f93b + 0e4c153 commit fc8e06e

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

src/NoFrixion.MoneyMoov/Models/Account/PaymentAccountMinimal.cs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,4 +66,14 @@ public class PaymentAccountMinimal
6666
/// Externally connected account can be used to view account balances and transactions.
6767
/// </summary>
6868
public bool IsConnectedAccount { get; set; }
69+
70+
/// <summary>
71+
/// Total of the payouts that have been submitted for processing.
72+
/// </summary>
73+
public decimal SubmittedPayoutsBalance { get; set; }
74+
75+
/// <summary>
76+
/// The current available balance of the account. Calculated by subtracting any submitted payments from the current balance.
77+
/// </summary>
78+
public decimal AvailableBalance => Balance - SubmittedPayoutsBalance;
6979
}

0 commit comments

Comments
 (0)