feat(infra): added plaid specific metadata and updated context to model account

This commit is contained in:
Stevan Freeborn
2026-02-13 12:38:18 -06:00
parent 2fdb849142
commit a07fd24ee9
7 changed files with 597 additions and 1 deletions
@@ -0,0 +1,21 @@
namespace FiscalOS.Infra.Accounts.Plaid;
public sealed class PlaidAccountMetadata : AccountMetadata
{
public const string TypeValue = Providers.Plaid;
public string PlaidId { get; init; } = string.Empty;
public string PlaidName { get; init; } = string.Empty;
private PlaidAccountMetadata() : base(TypeValue)
{
}
public static PlaidAccountMetadata From(string plaidId, string plaidName)
{
return new()
{
PlaidId = plaidId,
PlaidName = plaidName,
};
}
}