Skip to content

Commit

Permalink
Add extra fields to payout model for batch payout authorisations. (#235)
Browse files Browse the repository at this point in the history
  • Loading branch information
sipsorcery authored Nov 17, 2023
1 parent c4c7545 commit 3b40ef8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions src/NoFrixion.MoneyMoov/Models/Payouts/Payout.cs
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,20 @@ public string? DestinationAccountName
/// </summary>
public string? SourceAccountSortcode { get; set; } = string.Empty;

public AccountIdentifier? SourceAccountIdentifier
{
get
{
var srcAccountIdentifier = new AccountIdentifier
{
IBAN = SourceAccountIban,
SortCode = SourceAccountSortcode,
AccountNumber = SourceAccountNumber
};
return srcAccountIdentifier;
}
}

/// <summary>
/// The available balance of the account the payout is being made from.
/// </summary>
Expand Down

0 comments on commit 3b40ef8

Please sign in to comment.