-
-
Notifications
You must be signed in to change notification settings - Fork 33
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
def8c95
commit 382b036
Showing
82 changed files
with
1,200 additions
and
52 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
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
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
19 changes: 19 additions & 0 deletions
19
src/Plaid/Entity/CreditPayrollIncomeRefreshRequestOptions.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,19 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>An optional object for <c>/credit/payroll_income/refresh</c> request options.</para> | ||
/// </summary> | ||
public class CreditPayrollIncomeRefreshRequestOptions | ||
{ | ||
/// <summary> | ||
/// <para>An array of <c>item_id</c>s to be refreshed. Each <c>item_id</c> should uniquely identify a payroll income item.</para> | ||
/// </summary> | ||
[JsonPropertyName("item_ids")] | ||
public IReadOnlyList<string> ItemIds { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// <para>The URL where Plaid will send the payroll income refresh webhook.</para> | ||
/// </summary> | ||
[JsonPropertyName("webhook")] | ||
public string Webhook { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>The details of a bank employment verification in Link.</para> | ||
/// </summary> | ||
public record CreditSessionBankEmploymentResult | ||
{ | ||
/// <summary> | ||
/// <para>The terminal status of the bank employment verification.</para> | ||
/// </summary> | ||
[JsonPropertyName("status")] | ||
public Entity.CreditSessionBankEmploymentStatus Status { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>The Plaid Item ID. The <c>item_id</c> is always unique; linking the same account at the same institution twice will result in two Items with different <c>item_id</c> values. Like all Plaid identifiers, the <c>item_id</c> is case-sensitive.</para> | ||
/// </summary> | ||
[JsonPropertyName("item_id")] | ||
public string ItemId { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>The Plaid Institution ID associated with the Item.</para> | ||
/// </summary> | ||
[JsonPropertyName("institution_id")] | ||
public string InstitutionId { 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,31 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>The terminal status of the bank employment verification.</para> | ||
/// </summary> | ||
public enum CreditSessionBankEmploymentStatus | ||
{ | ||
/// <summary> | ||
/// <para>User has approved and verified their employment.</para> | ||
/// </summary> | ||
[EnumMember(Value = "APPROVED")] | ||
Approved, | ||
|
||
/// <summary> | ||
/// | ||
/// </summary> | ||
[EnumMember(Value = "NO_EMPLOYERS_FOUND")] | ||
NoEmployersFound, | ||
|
||
/// <summary> | ||
/// <para>The user explicitly indicated that they did not see their current or previous employer in the list of employer names found.</para> | ||
/// </summary> | ||
[EnumMember(Value = "EMPLOYER_NOT_LISTED")] | ||
EmployerNotListed, | ||
|
||
/// <summary> | ||
/// <para>Catch-all for unknown values returned by Plaid. If you encounter this, please check if there is a later version of the Going.Plaid library.</para> | ||
/// </summary> | ||
[EnumMember(Value = "undefined")] | ||
Undefined, | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>You can use this field to pre-populate the user's legal name; if it is provided here, they will not be prompted to enter their name in the identity verification attempt.</para> | ||
/// </summary> | ||
public class IdentityVerificationRequestUserName | ||
{ | ||
/// <summary> | ||
/// <para>A string with at least one non-whitespace character, with a max length of 100 characters.</para> | ||
/// </summary> | ||
[JsonPropertyName("given_name")] | ||
public string GivenName { get; set; } = default!; | ||
|
||
/// <summary> | ||
/// <para>A string with at least one non-whitespace character, with a max length of 100 characters.</para> | ||
/// </summary> | ||
[JsonPropertyName("family_name")] | ||
public string FamilyName { 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
namespace Going.Plaid.Entity; | ||
|
||
/// <summary> | ||
/// <para>The full name provided by the user. If the user has not submitted their name, this field will be null. Otherwise, both fields are guaranteed to be filled.</para> | ||
/// </summary> | ||
public record IdentityVerificationResponseUserName | ||
{ | ||
/// <summary> | ||
/// <para>A string with at least one non-whitespace character, with a max length of 100 characters.</para> | ||
/// </summary> | ||
[JsonPropertyName("given_name")] | ||
public string GivenName { get; init; } = default!; | ||
|
||
/// <summary> | ||
/// <para>A string with at least one non-whitespace character, with a max length of 100 characters.</para> | ||
/// </summary> | ||
[JsonPropertyName("family_name")] | ||
public string FamilyName { 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
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
Oops, something went wrong.