-
-
Notifications
You must be signed in to change notification settings - Fork 35
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
438d9cc
commit 04f6d90
Showing
12 changed files
with
148 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
src/Plaid/Entity/InvestmentsAuth401kContributionDetails.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>Object containing information on contribution transactions for the 401k account.</para> | ||
/// </summary> | ||
public record InvestmentsAuth401kContributionDetails | ||
{ | ||
/// <summary> | ||
/// <para>A list of the most recent contribution transactions for the 401k account. Includes all contributions made on the same day.</para> | ||
/// </summary> | ||
[JsonPropertyName("last_contribution_transactions")] | ||
public IReadOnlyList<Entity.InvestmentTransaction> LastContributionTransactions { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Number of contribution transactions on this account, for the past month.</para> | ||
/// </summary> | ||
[JsonPropertyName("contribution_count_1m")] | ||
public int ContributionCount1m { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Sum of the contribution transactions on this account, for the past month.</para> | ||
/// </summary> | ||
[JsonPropertyName("contribution_amount_1m")] | ||
public decimal ContributionAmount1m { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Number of contribution transactions on this account, for the past 6 months.</para> | ||
/// </summary> | ||
[JsonPropertyName("contribution_count_6m")] | ||
public int ContributionCount6m { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Sum of the contribution transactions on this account, for the past 6 months.</para> | ||
/// </summary> | ||
[JsonPropertyName("contribution_amount_6m")] | ||
public decimal ContributionAmount6m { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Number of contribution transactions on this account, for the past 12 months.</para> | ||
/// </summary> | ||
[JsonPropertyName("contribution_count_12m")] | ||
public int ContributionCount12m { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Sum of the contribution transactions on this account, for the past 12 months.</para> | ||
/// </summary> | ||
[JsonPropertyName("contribution_amount_12m")] | ||
public decimal ContributionAmount12m { get; init; } = default!; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>Object containing information on account fee transactions for the 401k account.</para> | ||
/// </summary> | ||
public record InvestmentsAuth401kFeeDetails | ||
{ | ||
/// <summary> | ||
/// <para>Number of account fee transactions on this account, for the past 12 months.</para> | ||
/// </summary> | ||
[JsonPropertyName("account_fee_count_12m")] | ||
public int AccountFeeCount12m { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Sum of account fee transactions on this account, for the past 12 months.</para> | ||
/// </summary> | ||
[JsonPropertyName("account_fee_amount_12m")] | ||
public decimal AccountFeeAmount12m { get; init; } = default!; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>Additional account fee and contribution information for 401k type accounts.</para> | ||
/// </summary> | ||
public record InvestmentsAuthAccountDetails401k | ||
{ | ||
/// <summary> | ||
/// <para>The ID of the 401k account.</para> | ||
/// </summary> | ||
[JsonPropertyName("account_id")] | ||
public string? AccountId { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Object containing information on account fee transactions for the 401k account.</para> | ||
/// </summary> | ||
[JsonPropertyName("fee_details")] | ||
public Entity.InvestmentsAuth401kFeeDetails? FeeDetails { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>Object containing information on contribution transactions for the 401k account.</para> | ||
/// </summary> | ||
[JsonPropertyName("contribution_details")] | ||
public Entity.InvestmentsAuth401kContributionDetails? ContributionDetails { get; init; } = default!; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>The original source of the funds. This field is required by local regulation for certain businesses (e.g. money remittance) to send payouts to recipients in the EU and UK.</para> | ||
/// </summary> | ||
public class OriginatingFundSource | ||
{ | ||
/// <summary> | ||
/// <para>The full name associated with the source of the funds.</para> | ||
/// </summary> | ||
[JsonPropertyName("full_name")] | ||
public string FullName { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// <para>The optional address of the payment recipient's bank account. Required by most institutions outside of the UK.</para> | ||
/// </summary> | ||
[JsonPropertyName("address")] | ||
public Entity.PaymentInitiationAddress? Address { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// <para>The account number from which the funds are sourced.</para> | ||
/// </summary> | ||
[JsonPropertyName("account_number")] | ||
public string AccountNumber { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// <para>The Business Identifier Code, also known as SWIFT code, for this bank account.</para> | ||
/// </summary> | ||
[JsonPropertyName("bic")] | ||
public string Bic { get; set; } = default!; | ||
|
||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters