From e1aa5bf18acb886df733cd79cba3b9abe06e6e2a Mon Sep 17 00:00:00 2001 From: Dylan Attal Date: Wed, 7 Jul 2021 11:52:51 -0400 Subject: [PATCH 1/6] Adds PhoneNumber and PhoneNumberVerifiedTime to User --- src/Plaid/Entity/User.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Plaid/Entity/User.cs b/src/Plaid/Entity/User.cs index 84ffbba..c843546 100644 --- a/src/Plaid/Entity/User.cs +++ b/src/Plaid/Entity/User.cs @@ -13,5 +13,19 @@ public class User /// The client user id. [JsonProperty("client_user_id")] public string ClientUserId { get; set; } + + /// + /// Gets or sets the client phone number. + /// + /// The client phone number. + [JsonProperty("phone_number")] + public string PhoneNumber { get; set; } + + /// + /// Gets or sets the verification time of the client phone number. + /// + /// The verification time of the client phone number. + [JsonProperty("phone_number_verified_time")] + public string PhoneNumberVerifiedTime { get; set; } } } From 7d3d1bee35f833eb99eb26a73a32515fe95a898a Mon Sep 17 00:00:00 2001 From: Dylan Attal Date: Wed, 7 Jul 2021 11:58:50 -0400 Subject: [PATCH 2/6] updates CreateLinkTokenRequest --- src/Plaid/Management/CreateLinkTokenRequest.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/src/Plaid/Management/CreateLinkTokenRequest.cs b/src/Plaid/Management/CreateLinkTokenRequest.cs index 5c45ecc..522dbe9 100644 --- a/src/Plaid/Management/CreateLinkTokenRequest.cs +++ b/src/Plaid/Management/CreateLinkTokenRequest.cs @@ -106,6 +106,20 @@ public struct UserInfo /// The client user id. [JsonProperty("client_user_id")] public string ClientUserId { get; set; } + + /// + /// Gets or sets the client phone number. + /// + /// The client phone number. + [JsonProperty("phone_number")] + public string PhoneNumber { get; set; } + + /// + /// Gets or sets the verification time of the client phone number. + /// + /// The verification time of the client phone number. + [JsonProperty("phone_number_verified_time")] + public string PhoneNumberVerifiedTime { get; set; } } } } From 7dd754d3887742eb9a8758c5f480448a9b84e573 Mon Sep 17 00:00:00 2001 From: Dylan Attal Date: Wed, 7 Jul 2021 14:22:15 -0400 Subject: [PATCH 3/6] Adds LegalName to User and CreateLinkTokenRequest --- src/Plaid/Entity/User.cs | 17 ++++++++++++----- src/Plaid/Management/CreateLinkTokenRequest.cs | 7 +++++++ 2 files changed, 19 insertions(+), 5 deletions(-) diff --git a/src/Plaid/Entity/User.cs b/src/Plaid/Entity/User.cs index c843546..2dcb270 100644 --- a/src/Plaid/Entity/User.cs +++ b/src/Plaid/Entity/User.cs @@ -14,11 +14,18 @@ public class User [JsonProperty("client_user_id")] public string ClientUserId { get; set; } - /// - /// Gets or sets the client phone number. - /// - /// The client phone number. - [JsonProperty("phone_number")] + /// + /// Gets or sets the client legal name. + /// + /// The client legal name. + [JsonProperty("legal_name")] + public string LegalName { get; set; } + + /// + /// Gets or sets the client phone number. + /// + /// The client phone number. + [JsonProperty("phone_number")] public string PhoneNumber { get; set; } /// diff --git a/src/Plaid/Management/CreateLinkTokenRequest.cs b/src/Plaid/Management/CreateLinkTokenRequest.cs index 522dbe9..34455ac 100644 --- a/src/Plaid/Management/CreateLinkTokenRequest.cs +++ b/src/Plaid/Management/CreateLinkTokenRequest.cs @@ -107,6 +107,13 @@ public struct UserInfo [JsonProperty("client_user_id")] public string ClientUserId { get; set; } + /// + /// Gets or sets the client legal name. + /// + /// The client legal name. + [JsonProperty("legal_name")] + public string LegalName { get; set; } + /// /// Gets or sets the client phone number. /// From 91b3ca4402798d74500d6a4b84102cdd3db7586f Mon Sep 17 00:00:00 2001 From: Dylan Attal Date: Wed, 7 Jul 2021 14:44:05 -0400 Subject: [PATCH 4/6] Adds EmailAddress to User and CreateLinkTokenRequest --- src/Plaid/Entity/User.cs | 9 ++++++++- src/Plaid/Management/CreateLinkTokenRequest.cs | 7 +++++++ 2 files changed, 15 insertions(+), 1 deletion(-) diff --git a/src/Plaid/Entity/User.cs b/src/Plaid/Entity/User.cs index 2dcb270..c6287da 100644 --- a/src/Plaid/Entity/User.cs +++ b/src/Plaid/Entity/User.cs @@ -34,5 +34,12 @@ public class User /// The verification time of the client phone number. [JsonProperty("phone_number_verified_time")] public string PhoneNumberVerifiedTime { get; set; } - } + + /// + /// Gets or sets the client email address. + /// + /// The client email address. + [JsonProperty("email_address")] + public string EmailAddress { get; set; } + } } diff --git a/src/Plaid/Management/CreateLinkTokenRequest.cs b/src/Plaid/Management/CreateLinkTokenRequest.cs index 34455ac..cbaf94e 100644 --- a/src/Plaid/Management/CreateLinkTokenRequest.cs +++ b/src/Plaid/Management/CreateLinkTokenRequest.cs @@ -127,6 +127,13 @@ public struct UserInfo /// The verification time of the client phone number. [JsonProperty("phone_number_verified_time")] public string PhoneNumberVerifiedTime { get; set; } + + /// + /// Gets or sets the client email address. + /// + /// The client email address. + [JsonProperty("email_address")] + public string EmailAddress { get; set; } } } } From 71ebbf0f626d6786cc450168260e34fd1939ed72 Mon Sep 17 00:00:00 2001 From: Dylan Attal Date: Wed, 7 Jul 2021 14:55:07 -0400 Subject: [PATCH 5/6] Adds EmailAddressVerifiedTime to User and CreateLinkTokenRequest --- src/Plaid/Entity/User.cs | 7 +++++++ src/Plaid/Management/CreateLinkTokenRequest.cs | 7 +++++++ 2 files changed, 14 insertions(+) diff --git a/src/Plaid/Entity/User.cs b/src/Plaid/Entity/User.cs index c6287da..874345d 100644 --- a/src/Plaid/Entity/User.cs +++ b/src/Plaid/Entity/User.cs @@ -41,5 +41,12 @@ public class User /// The client email address. [JsonProperty("email_address")] public string EmailAddress { get; set; } + + /// + /// Gets or sets the verification time of the client email address. + /// + /// The verification time of the client email address. + [JsonProperty("email_address_verified_time")] + public string EmailAddressVerifiedTime { get; set; } } } diff --git a/src/Plaid/Management/CreateLinkTokenRequest.cs b/src/Plaid/Management/CreateLinkTokenRequest.cs index cbaf94e..8517eeb 100644 --- a/src/Plaid/Management/CreateLinkTokenRequest.cs +++ b/src/Plaid/Management/CreateLinkTokenRequest.cs @@ -134,6 +134,13 @@ public struct UserInfo /// The client email address. [JsonProperty("email_address")] public string EmailAddress { get; set; } + + /// + /// Gets or sets the verification time of the client email address. + /// + /// The verification time of the client email address. + [JsonProperty("email_address_verified_time")] + public string EmailAddressVerifiedTime { get; set; } } } } From 70fbf40854a67eb77af876692a203e8ce77e82d2 Mon Sep 17 00:00:00 2001 From: Dylan Attal <41970259+DylanAttal@users.noreply.github.com> Date: Wed, 7 Jul 2021 16:32:01 -0400 Subject: [PATCH 6/6] Fixes indentation --- src/Plaid/Entity/User.cs | 62 ++++++++++++++++++++-------------------- 1 file changed, 31 insertions(+), 31 deletions(-) diff --git a/src/Plaid/Entity/User.cs b/src/Plaid/Entity/User.cs index 874345d..41e7b1d 100644 --- a/src/Plaid/Entity/User.cs +++ b/src/Plaid/Entity/User.cs @@ -14,39 +14,39 @@ public class User [JsonProperty("client_user_id")] public string ClientUserId { get; set; } - /// - /// Gets or sets the client legal name. - /// - /// The client legal name. - [JsonProperty("legal_name")] - public string LegalName { get; set; } + /// + /// Gets or sets the client legal name. + /// + /// The client legal name. + [JsonProperty("legal_name")] + public string LegalName { get; set; } - /// - /// Gets or sets the client phone number. - /// - /// The client phone number. - [JsonProperty("phone_number")] - public string PhoneNumber { get; set; } + /// + /// Gets or sets the client phone number. + /// + /// The client phone number. + [JsonProperty("phone_number")] + public string PhoneNumber { get; set; } - /// - /// Gets or sets the verification time of the client phone number. - /// - /// The verification time of the client phone number. - [JsonProperty("phone_number_verified_time")] - public string PhoneNumberVerifiedTime { get; set; } + /// + /// Gets or sets the verification time of the client phone number. + /// + /// The verification time of the client phone number. + [JsonProperty("phone_number_verified_time")] + public string PhoneNumberVerifiedTime { get; set; } - /// - /// Gets or sets the client email address. - /// - /// The client email address. - [JsonProperty("email_address")] - public string EmailAddress { get; set; } + /// + /// Gets or sets the client email address. + /// + /// The client email address. + [JsonProperty("email_address")] + public string EmailAddress { get; set; } - /// - /// Gets or sets the verification time of the client email address. - /// - /// The verification time of the client email address. - [JsonProperty("email_address_verified_time")] - public string EmailAddressVerifiedTime { get; set; } - } + /// + /// Gets or sets the verification time of the client email address. + /// + /// The verification time of the client email address. + [JsonProperty("email_address_verified_time")] + public string EmailAddressVerifiedTime { get; set; } + } }