Class: Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/lithic/models/account_holder_update_response.rb

Defined Under Namespace

Classes: Address

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Internal::Type::BaseModel

==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml

Methods included from Internal::Type::Converter

#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info

Methods included from Internal::Util::SorbetRuntimeSupport

#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type

Constructor Details

#initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil) ⇒ Object

Some parameter documentations has been truncated, see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual for more details.



222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
# File 'lib/lithic/models/account_holder_update_response.rb', line 222

class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
  # @!attribute address
  #   Individual's current address - PO boxes, UPS drops, and FedEx drops are not
  #   acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
  #
  #   @return [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address, nil]
  optional :address,
           -> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address }

  # @!attribute dob
  #   Individual's date of birth, as an RFC 3339 date.
  #
  #   @return [String, nil]
  optional :dob, String

  # @!attribute email
  #   Individual's email address. If utilizing Lithic for chargeback processing, this
  #   customer email address may be used to communicate dispute status and resolution.
  #
  #   @return [String, nil]
  optional :email, String

  # @!attribute first_name
  #   Individual's first name, as it appears on government-issued identity documents.
  #
  #   @return [String, nil]
  optional :first_name, String

  # @!attribute last_name
  #   Individual's last name, as it appears on government-issued identity documents.
  #
  #   @return [String, nil]
  optional :last_name, String

  # @!attribute phone_number
  #   Individual's phone number, entered in E.164 format.
  #
  #   @return [String, nil]
  optional :phone_number, String

  # @!method initialize(address: nil, dob: nil, email: nil, first_name: nil, last_name: nil, phone_number: nil)
  #   Some parameter documentations has been truncated, see
  #   {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual}
  #   for more details.
  #
  #   @param address [Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address] Individual's current address - PO boxes, UPS drops, and FedEx drops are not acce
  #
  #   @param dob [String] Individual's date of birth, as an RFC 3339 date.
  #
  #   @param email [String] Individual's email address. If utilizing Lithic for chargeback processing, this
  #
  #   @param first_name [String] Individual's first name, as it appears on government-issued identity documents.
  #
  #   @param last_name [String] Individual's last name, as it appears on government-issued identity documents.
  #
  #   @param phone_number [String] Individual's phone number, entered in E.164 format.

  # @see Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual#address
  class Address < Lithic::Internal::Type::BaseModel
    # @!attribute address1
    #   Valid deliverable address (no PO boxes).
    #
    #   @return [String]
    required :address1, String

    # @!attribute city
    #   Name of city.
    #
    #   @return [String]
    required :city, String

    # @!attribute country
    #   Valid country code. Only USA is currently supported, entered in uppercase ISO
    #   3166-1 alpha-3 three-character format.
    #
    #   @return [String]
    required :country, String

    # @!attribute postal_code
    #   Valid postal code. Only USA ZIP codes are currently supported, entered as a
    #   five-digit ZIP or nine-digit ZIP+4.
    #
    #   @return [String]
    required :postal_code, String

    # @!attribute state
    #   Valid state code. Only USA state codes are currently supported, entered in
    #   uppercase ISO 3166-2 two-character format.
    #
    #   @return [String]
    required :state, String

    # @!attribute address2
    #   Unit or apartment number (if applicable).
    #
    #   @return [String, nil]
    optional :address2, String

    # @!method initialize(address1:, city:, country:, postal_code:, state:, address2: nil)
    #   Some parameter documentations has been truncated, see
    #   {Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address}
    #   for more details.
    #
    #   Individual's current address - PO boxes, UPS drops, and FedEx drops are not
    #   acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.
    #
    #   @param address1 [String] Valid deliverable address (no PO boxes).
    #
    #   @param city [String] Name of city.
    #
    #   @param country [String] Valid country code. Only USA is currently supported, entered in uppercase ISO 31
    #
    #   @param postal_code [String] Valid postal code. Only USA ZIP codes are currently supported, entered as a five
    #
    #   @param state [String] Valid state code. Only USA state codes are currently supported, entered in upper
    #
    #   @param address2 [String] Unit or apartment number (if applicable).
  end
end

Instance Attribute Details

#addressLithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address?

Individual’s current address - PO boxes, UPS drops, and FedEx drops are not acceptable; APO/FPO are acceptable. Only USA addresses are currently supported.



228
229
# File 'lib/lithic/models/account_holder_update_response.rb', line 228

optional :address,
-> { Lithic::Models::AccountHolderUpdateResponse::KYBKYCPatchResponse::BeneficialOwnerIndividual::Address }

#dobString?

Individual’s date of birth, as an RFC 3339 date.



235
# File 'lib/lithic/models/account_holder_update_response.rb', line 235

optional :dob, String

#emailString?

Individual’s email address. If utilizing Lithic for chargeback processing, this customer email address may be used to communicate dispute status and resolution.



242
# File 'lib/lithic/models/account_holder_update_response.rb', line 242

optional :email, String

#first_nameString?

Individual’s first name, as it appears on government-issued identity documents.



248
# File 'lib/lithic/models/account_holder_update_response.rb', line 248

optional :first_name, String

#last_nameString?

Individual’s last name, as it appears on government-issued identity documents.



254
# File 'lib/lithic/models/account_holder_update_response.rb', line 254

optional :last_name, String

#phone_numberString?

Individual’s phone number, entered in E.164 format.



260
# File 'lib/lithic/models/account_holder_update_response.rb', line 260

optional :phone_number, String