Class: Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual

Inherits:
Internal::Type::BaseModel
  • Object
show all
Defined in:
lib/lithic/models/account_holder_updated_webhook_event.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::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual for more details.

Parameters:

  • address (Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address) (defaults to: nil)

    Individual’s current address - PO boxes, UPS drops, and FedEx drops are not acce

  • dob (String) (defaults to: nil)

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

  • email (String) (defaults to: nil)

    Individual’s email address. If utilizing Lithic for chargeback processing, this

  • first_name (String) (defaults to: nil)

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

  • last_name (String) (defaults to: nil)

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

  • phone_number (String) (defaults to: nil)

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



133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
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
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 133

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::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address, nil]
  optional :address,
           -> { Lithic::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::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::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual}
  #   for more details.
  #
  #   @param address [Lithic::Models::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::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::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::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::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::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::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::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.



139
140
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 139

optional :address,
-> { Lithic::AccountHolderUpdatedWebhookEvent::KYBPayload::UpdateRequest::BeneficialOwnerIndividual::Address }

#dobString?

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

Returns:

  • (String, nil)


146
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 146

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.

Returns:

  • (String, nil)


153
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 153

optional :email, String

#first_nameString?

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

Returns:

  • (String, nil)


159
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 159

optional :first_name, String

#last_nameString?

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

Returns:

  • (String, nil)


165
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 165

optional :last_name, String

#phone_numberString?

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

Returns:

  • (String, nil)


171
# File 'lib/lithic/models/account_holder_updated_webhook_event.rb', line 171

optional :phone_number, String