@@ -17,6 +17,7 @@ constructor(
1717 private val accountHolderToken: String ,
1818 private val email: String? ,
1919 private val phoneNumber: String? ,
20+ private val businessAccountToken: String? ,
2021 private val additionalQueryParams: Map <String , List <String >>,
2122 private val additionalHeaders: Map <String , List <String >>,
2223 private val additionalBodyProperties: Map <String , JsonValue >,
@@ -28,11 +29,14 @@ constructor(
2829
2930 fun phoneNumber (): Optional <String > = Optional .ofNullable(phoneNumber)
3031
32+ fun businessAccountToken (): Optional <String > = Optional .ofNullable(businessAccountToken)
33+
3134 @JvmSynthetic
3235 internal fun getBody (): AccountHolderUpdateBody {
3336 return AccountHolderUpdateBody (
3437 email,
3538 phoneNumber,
39+ businessAccountToken,
3640 additionalBodyProperties,
3741 )
3842 }
@@ -54,6 +58,7 @@ constructor(
5458 internal constructor (
5559 private val email: String? ,
5660 private val phoneNumber: String? ,
61+ private val businessAccountToken: String? ,
5762 private val additionalProperties: Map <String , JsonValue >,
5863 ) {
5964
@@ -72,6 +77,14 @@ constructor(
7277 */
7378 @JsonProperty(" phone_number" ) fun phoneNumber (): String? = phoneNumber
7479
80+ /* *
81+ * Only applicable for customers using the KYC-Exempt workflow to enroll authorized users of
82+ * businesses. Pass the account_token of the enrolled business associated with the
83+ * AUTHORIZED_USER in this field.
84+ */
85+ @JsonProperty(" business_account_token" )
86+ fun businessAccountToken (): String? = businessAccountToken
87+
7588 @JsonAnyGetter
7689 @ExcludeMissing
7790 fun _additionalProperties (): Map <String , JsonValue > = additionalProperties
@@ -86,6 +99,7 @@ constructor(
8699 return other is AccountHolderUpdateBody &&
87100 this .email == other.email &&
88101 this .phoneNumber == other.phoneNumber &&
102+ this .businessAccountToken == other.businessAccountToken &&
89103 this .additionalProperties == other.additionalProperties
90104 }
91105
@@ -95,14 +109,15 @@ constructor(
95109 Objects .hash(
96110 email,
97111 phoneNumber,
112+ businessAccountToken,
98113 additionalProperties,
99114 )
100115 }
101116 return hashCode
102117 }
103118
104119 override fun toString () =
105- " AccountHolderUpdateBody{email=$email , phoneNumber=$phoneNumber , additionalProperties=$additionalProperties }"
120+ " AccountHolderUpdateBody{email=$email , phoneNumber=$phoneNumber , businessAccountToken= $businessAccountToken , additionalProperties=$additionalProperties }"
106121
107122 companion object {
108123
@@ -113,12 +128,14 @@ constructor(
113128
114129 private var email: String? = null
115130 private var phoneNumber: String? = null
131+ private var businessAccountToken: String? = null
116132 private var additionalProperties: MutableMap <String , JsonValue > = mutableMapOf ()
117133
118134 @JvmSynthetic
119135 internal fun from (accountHolderUpdateBody : AccountHolderUpdateBody ) = apply {
120136 this .email = accountHolderUpdateBody.email
121137 this .phoneNumber = accountHolderUpdateBody.phoneNumber
138+ this .businessAccountToken = accountHolderUpdateBody.businessAccountToken
122139 additionalProperties(accountHolderUpdateBody.additionalProperties)
123140 }
124141
@@ -136,6 +153,16 @@ constructor(
136153 @JsonProperty(" phone_number" )
137154 fun phoneNumber (phoneNumber : String ) = apply { this .phoneNumber = phoneNumber }
138155
156+ /* *
157+ * Only applicable for customers using the KYC-Exempt workflow to enroll authorized
158+ * users of businesses. Pass the account_token of the enrolled business associated with
159+ * the AUTHORIZED_USER in this field.
160+ */
161+ @JsonProperty(" business_account_token" )
162+ fun businessAccountToken (businessAccountToken : String ) = apply {
163+ this .businessAccountToken = businessAccountToken
164+ }
165+
139166 fun additionalProperties (additionalProperties : Map <String , JsonValue >) = apply {
140167 this .additionalProperties.clear()
141168 this .additionalProperties.putAll(additionalProperties)
@@ -154,6 +181,7 @@ constructor(
154181 AccountHolderUpdateBody (
155182 email,
156183 phoneNumber,
184+ businessAccountToken,
157185 additionalProperties.toUnmodifiable(),
158186 )
159187 }
@@ -174,6 +202,7 @@ constructor(
174202 this .accountHolderToken == other.accountHolderToken &&
175203 this .email == other.email &&
176204 this .phoneNumber == other.phoneNumber &&
205+ this .businessAccountToken == other.businessAccountToken &&
177206 this .additionalQueryParams == other.additionalQueryParams &&
178207 this .additionalHeaders == other.additionalHeaders &&
179208 this .additionalBodyProperties == other.additionalBodyProperties
@@ -184,14 +213,15 @@ constructor(
184213 accountHolderToken,
185214 email,
186215 phoneNumber,
216+ businessAccountToken,
187217 additionalQueryParams,
188218 additionalHeaders,
189219 additionalBodyProperties,
190220 )
191221 }
192222
193223 override fun toString () =
194- " AccountHolderUpdateParams{accountHolderToken=$accountHolderToken , email=$email , phoneNumber=$phoneNumber , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders , additionalBodyProperties=$additionalBodyProperties }"
224+ " AccountHolderUpdateParams{accountHolderToken=$accountHolderToken , email=$email , phoneNumber=$phoneNumber , businessAccountToken= $businessAccountToken , additionalQueryParams=$additionalQueryParams , additionalHeaders=$additionalHeaders , additionalBodyProperties=$additionalBodyProperties }"
195225
196226 fun toBuilder () = Builder ().from(this )
197227
@@ -206,6 +236,7 @@ constructor(
206236 private var accountHolderToken: String? = null
207237 private var email: String? = null
208238 private var phoneNumber: String? = null
239+ private var businessAccountToken: String? = null
209240 private var additionalQueryParams: MutableMap <String , MutableList <String >> = mutableMapOf ()
210241 private var additionalHeaders: MutableMap <String , MutableList <String >> = mutableMapOf ()
211242 private var additionalBodyProperties: MutableMap <String , JsonValue > = mutableMapOf ()
@@ -215,6 +246,7 @@ constructor(
215246 this .accountHolderToken = accountHolderUpdateParams.accountHolderToken
216247 this .email = accountHolderUpdateParams.email
217248 this .phoneNumber = accountHolderUpdateParams.phoneNumber
249+ this .businessAccountToken = accountHolderUpdateParams.businessAccountToken
218250 additionalQueryParams(accountHolderUpdateParams.additionalQueryParams)
219251 additionalHeaders(accountHolderUpdateParams.additionalHeaders)
220252 additionalBodyProperties(accountHolderUpdateParams.additionalBodyProperties)
@@ -237,6 +269,15 @@ constructor(
237269 */
238270 fun phoneNumber (phoneNumber : String ) = apply { this .phoneNumber = phoneNumber }
239271
272+ /* *
273+ * Only applicable for customers using the KYC-Exempt workflow to enroll authorized users of
274+ * businesses. Pass the account_token of the enrolled business associated with the
275+ * AUTHORIZED_USER in this field.
276+ */
277+ fun businessAccountToken (businessAccountToken : String ) = apply {
278+ this .businessAccountToken = businessAccountToken
279+ }
280+
240281 fun additionalQueryParams (additionalQueryParams : Map <String , List <String >>) = apply {
241282 this .additionalQueryParams.clear()
242283 putAllQueryParams(additionalQueryParams)
@@ -298,6 +339,7 @@ constructor(
298339 },
299340 email,
300341 phoneNumber,
342+ businessAccountToken,
301343 additionalQueryParams.mapValues { it.value.toUnmodifiable() }.toUnmodifiable(),
302344 additionalHeaders.mapValues { it.value.toUnmodifiable() }.toUnmodifiable(),
303345 additionalBodyProperties.toUnmodifiable(),
0 commit comments