lithic 0.1.0.pre.alpha.5 → 0.1.0.pre.alpha.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +29 -5
- data/lib/lithic/internal/cursor_page.rb +5 -1
- data/lib/lithic/internal/single_page.rb +5 -1
- data/lib/lithic/internal/transport/base_client.rb +2 -2
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +5 -3
- data/lib/lithic/internal/type/base_model.rb +12 -6
- data/lib/lithic/internal/type/base_page.rb +4 -1
- data/lib/lithic/internal/type/{boolean_model.rb → boolean.rb} +2 -2
- data/lib/lithic/internal/type/converter.rb +6 -1
- data/lib/lithic/internal/type/enum.rb +2 -0
- data/lib/lithic/internal/type/hash_of.rb +3 -1
- data/lib/lithic/internal/util.rb +28 -45
- data/lib/lithic/models/account_holder.rb +1 -2
- data/lib/lithic/models/account_holder_create_params.rb +89 -93
- data/lib/lithic/models/auth_rules/auth_rule.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +2 -2
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_update_params.rb +1 -1
- data/lib/lithic/models/auth_rules/v2_update_response.rb +1 -1
- data/lib/lithic/models/card_convert_physical_params.rb +5 -5
- data/lib/lithic/models/card_reissue_params.rb +5 -5
- data/lib/lithic/models/card_renew_params.rb +5 -5
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +1 -1
- data/lib/lithic/models/digital_card_art.rb +2 -2
- data/lib/lithic/models/event_list_params.rb +1 -1
- data/lib/lithic/models/event_subscription.rb +1 -1
- data/lib/lithic/models/events/event_subscription_resend_params.rb +27 -0
- data/lib/lithic/models/events/subscription_create_params.rb +1 -1
- data/lib/lithic/models/events/subscription_update_params.rb +1 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_account.rb +11 -13
- data/lib/lithic/models/financial_account_create_params.rb +1 -1
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -9
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -1
- data/lib/lithic/models/financial_accounts/loan_tape.rb +11 -11
- data/lib/lithic/models/financial_accounts/statement.rb +11 -11
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +1 -1
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -1
- data/lib/lithic/models/financial_accounts/statements.rb +1 -1
- data/lib/lithic/models/kyb.rb +89 -93
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_status.rb +1 -1
- data/lib/lithic/models/settlement_report.rb +1 -1
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +3 -3
- data/lib/lithic/models/transaction.rb +5 -5
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +1 -1
- data/lib/lithic/resources/account_holders.rb +3 -3
- data/lib/lithic/resources/accounts.rb +1 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +1 -1
- data/lib/lithic/resources/book_transfers.rb +1 -1
- data/lib/lithic/resources/cards/financial_transactions.rb +1 -1
- data/lib/lithic/resources/cards.rb +10 -7
- data/lib/lithic/resources/disputes.rb +2 -2
- data/lib/lithic/resources/events/event_subscriptions.rb +41 -0
- data/lib/lithic/resources/events/subscriptions.rb +3 -3
- data/lib/lithic/resources/events.rb +6 -2
- data/lib/lithic/resources/external_payments.rb +1 -1
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +1 -1
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +1 -1
- data/lib/lithic/resources/financial_accounts/statements.rb +1 -1
- data/lib/lithic/resources/financial_accounts.rb +5 -5
- data/lib/lithic/resources/management_operations.rb +1 -1
- data/lib/lithic/resources/payments.rb +2 -2
- data/lib/lithic/resources/reports/settlement/network_totals.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +1 -1
- data/lib/lithic/resources/transactions.rb +1 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +3 -1
- data/rbi/lib/lithic/internal/type/array_of.rbi +2 -2
- data/rbi/lib/lithic/internal/type/{boolean_model.rbi → boolean.rbi} +1 -1
- data/rbi/lib/lithic/internal/util.rbi +7 -5
- data/rbi/lib/lithic/models/account_holder.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +95 -95
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +5 -5
- data/rbi/lib/lithic/models/card_reissue_params.rbi +5 -5
- data/rbi/lib/lithic/models/card_renew_params.rbi +5 -5
- data/rbi/lib/lithic/models/events/event_subscription_resend_params.rbi +29 -0
- data/rbi/lib/lithic/models/financial_account.rbi +17 -19
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +15 -30
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +18 -18
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +18 -18
- data/rbi/lib/lithic/models/kyb.rbi +95 -95
- data/rbi/lib/lithic/resources/account_holders.rbi +6 -14
- data/rbi/lib/lithic/resources/cards.rbi +15 -12
- data/rbi/lib/lithic/resources/events/event_subscriptions.rbi +26 -0
- data/rbi/lib/lithic/resources/events.rbi +3 -0
- data/rbi/lib/lithic/resources/financial_accounts.rbi +3 -3
- data/rbi/lib/lithic/version.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -2
- data/sig/lithic/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +5 -5
- data/sig/lithic/models/account_holder_create_params.rbs +47 -43
- data/sig/lithic/models/card_convert_physical_params.rbs +2 -2
- data/sig/lithic/models/card_reissue_params.rbs +2 -2
- data/sig/lithic/models/card_renew_params.rbs +2 -2
- data/sig/lithic/models/events/event_subscription_resend_params.rbs +22 -0
- data/sig/lithic/models/financial_account.rbs +6 -6
- data/sig/lithic/models/financial_account_update_status_params.rbs +6 -6
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +6 -6
- data/sig/lithic/models/financial_accounts/statement.rbs +6 -6
- data/sig/lithic/models/kyb.rbs +47 -43
- data/sig/lithic/resources/account_holders.rbs +1 -1
- data/sig/lithic/resources/events/event_subscriptions.rbs +15 -0
- data/sig/lithic/resources/events.rbs +2 -0
- data/sig/lithic/resources/financial_accounts.rbs +1 -1
- data/sig/lithic/version.rbs +1 -1
- metadata +11 -5
@@ -8,27 +8,12 @@ module Lithic
|
|
8
8
|
# extend Lithic::Internal::Type::RequestParameters::Converter
|
9
9
|
include Lithic::Internal::Type::RequestParameters
|
10
10
|
|
11
|
-
# @!attribute beneficial_owner_entities
|
12
|
-
# List of all entities with >25% ownership in the company. If no entity or
|
13
|
-
# individual owns >25% of the company, and the largest shareholder is an entity,
|
14
|
-
# please identify them in this field. See
|
15
|
-
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
16
|
-
# (Section I) for more background. If no business owner is an entity, pass in an
|
17
|
-
# empty list. However, either this parameter or `beneficial_owner_individuals`
|
18
|
-
# must be populated. on entities that should be included.
|
19
|
-
#
|
20
|
-
# @return [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity>]
|
21
|
-
required :beneficial_owner_entities,
|
22
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity] }
|
23
|
-
|
24
11
|
# @!attribute beneficial_owner_individuals
|
25
12
|
# List of all direct and indirect individuals with >25% ownership in the company.
|
26
|
-
# If no
|
27
|
-
#
|
13
|
+
# If no individual owns >25% of the company, please identify the largest
|
14
|
+
# shareholder in this field. See
|
28
15
|
# [FinCEN requirements](https://www.fincen.gov/sites/default/files/shared/CDD_Rev6.7_Sept_2017_Certificate.pdf)
|
29
|
-
# (Section I) for more background on individuals that should be included.
|
30
|
-
# individual is an entity, pass in an empty list. However, either this parameter
|
31
|
-
# or `beneficial_owner_entities` must be populated.
|
16
|
+
# (Section I) for more background on individuals that should be included.
|
32
17
|
#
|
33
18
|
# @return [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual>]
|
34
19
|
required :beneficial_owner_individuals,
|
@@ -75,6 +60,17 @@ module Lithic
|
|
75
60
|
# @return [Symbol, Lithic::Models::AccountHolderCreateParams::Workflow]
|
76
61
|
required :workflow, enum: -> { Lithic::Models::AccountHolderCreateParams::Workflow }
|
77
62
|
|
63
|
+
# @!attribute [r] beneficial_owner_entities
|
64
|
+
# Deprecated.
|
65
|
+
#
|
66
|
+
# @return [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity>, nil]
|
67
|
+
optional :beneficial_owner_entities,
|
68
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity] }
|
69
|
+
|
70
|
+
# @!parse
|
71
|
+
# # @return [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity>]
|
72
|
+
# attr_writer :beneficial_owner_entities
|
73
|
+
|
78
74
|
# @!attribute [r] external_id
|
79
75
|
# A user provided id that can be used to link an account holder with an external
|
80
76
|
# system
|
@@ -179,7 +175,6 @@ module Lithic
|
|
179
175
|
# attr_writer :business_account_token
|
180
176
|
|
181
177
|
# @!parse
|
182
|
-
# # @param beneficial_owner_entities [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity>]
|
183
178
|
# # @param beneficial_owner_individuals [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerIndividual>]
|
184
179
|
# # @param business_entity [Lithic::Models::AccountHolderCreateParams::BusinessEntity]
|
185
180
|
# # @param control_person [Lithic::Models::AccountHolderCreateParams::ControlPerson]
|
@@ -193,6 +188,7 @@ module Lithic
|
|
193
188
|
# # @param kyc_exemption_type [Symbol, Lithic::Models::AccountHolderCreateParams::KYCExemptionType]
|
194
189
|
# # @param last_name [String]
|
195
190
|
# # @param phone_number [String]
|
191
|
+
# # @param beneficial_owner_entities [Array<Lithic::Models::AccountHolderCreateParams::BeneficialOwnerEntity>]
|
196
192
|
# # @param external_id [String]
|
197
193
|
# # @param kyb_passed_timestamp [String]
|
198
194
|
# # @param website_url [String]
|
@@ -201,7 +197,6 @@ module Lithic
|
|
201
197
|
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
202
198
|
# #
|
203
199
|
# def initialize(
|
204
|
-
# beneficial_owner_entities:,
|
205
200
|
# beneficial_owner_individuals:,
|
206
201
|
# business_entity:,
|
207
202
|
# control_person:,
|
@@ -215,6 +210,7 @@ module Lithic
|
|
215
210
|
# kyc_exemption_type:,
|
216
211
|
# last_name:,
|
217
212
|
# phone_number:,
|
213
|
+
# beneficial_owner_entities: nil,
|
218
214
|
# external_id: nil,
|
219
215
|
# kyb_passed_timestamp: nil,
|
220
216
|
# website_url: nil,
|
@@ -228,79 +224,6 @@ module Lithic
|
|
228
224
|
|
229
225
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
230
226
|
|
231
|
-
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
232
|
-
# @!attribute address
|
233
|
-
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
234
|
-
# acceptable; APO/FPO are acceptable.
|
235
|
-
#
|
236
|
-
# @return [Lithic::Models::Address]
|
237
|
-
required :address, -> { Lithic::Models::Address }
|
238
|
-
|
239
|
-
# @!attribute government_id
|
240
|
-
# Government-issued identification number. US Federal Employer Identification
|
241
|
-
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
242
|
-
# without hyphens.
|
243
|
-
#
|
244
|
-
# @return [String]
|
245
|
-
required :government_id, String
|
246
|
-
|
247
|
-
# @!attribute legal_business_name
|
248
|
-
# Legal (formal) business name.
|
249
|
-
#
|
250
|
-
# @return [String]
|
251
|
-
required :legal_business_name, String
|
252
|
-
|
253
|
-
# @!attribute phone_numbers
|
254
|
-
# One or more of the business's phone number(s), entered as a list in E.164
|
255
|
-
# format.
|
256
|
-
#
|
257
|
-
# @return [Array<String>]
|
258
|
-
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
259
|
-
|
260
|
-
# @!attribute [r] dba_business_name
|
261
|
-
# Any name that the business operates under that is not its legal business name
|
262
|
-
# (if applicable).
|
263
|
-
#
|
264
|
-
# @return [String, nil]
|
265
|
-
optional :dba_business_name, String
|
266
|
-
|
267
|
-
# @!parse
|
268
|
-
# # @return [String]
|
269
|
-
# attr_writer :dba_business_name
|
270
|
-
|
271
|
-
# @!attribute [r] parent_company
|
272
|
-
# Parent company name (if applicable).
|
273
|
-
#
|
274
|
-
# @return [String, nil]
|
275
|
-
optional :parent_company, String
|
276
|
-
|
277
|
-
# @!parse
|
278
|
-
# # @return [String]
|
279
|
-
# attr_writer :parent_company
|
280
|
-
|
281
|
-
# @!parse
|
282
|
-
# # @param address [Lithic::Models::Address]
|
283
|
-
# # @param government_id [String]
|
284
|
-
# # @param legal_business_name [String]
|
285
|
-
# # @param phone_numbers [Array<String>]
|
286
|
-
# # @param dba_business_name [String]
|
287
|
-
# # @param parent_company [String]
|
288
|
-
# #
|
289
|
-
# def initialize(
|
290
|
-
# address:,
|
291
|
-
# government_id:,
|
292
|
-
# legal_business_name:,
|
293
|
-
# phone_numbers:,
|
294
|
-
# dba_business_name: nil,
|
295
|
-
# parent_company: nil,
|
296
|
-
# **
|
297
|
-
# )
|
298
|
-
# super
|
299
|
-
# end
|
300
|
-
|
301
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
302
|
-
end
|
303
|
-
|
304
227
|
class BeneficialOwnerIndividual < Lithic::Internal::Type::BaseModel
|
305
228
|
# @!attribute address
|
306
229
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
@@ -533,6 +456,79 @@ module Lithic
|
|
533
456
|
# def self.values; end
|
534
457
|
end
|
535
458
|
|
459
|
+
class BeneficialOwnerEntity < Lithic::Internal::Type::BaseModel
|
460
|
+
# @!attribute address
|
461
|
+
# Business's physical address - PO boxes, UPS drops, and FedEx drops are not
|
462
|
+
# acceptable; APO/FPO are acceptable.
|
463
|
+
#
|
464
|
+
# @return [Lithic::Models::Address]
|
465
|
+
required :address, -> { Lithic::Models::Address }
|
466
|
+
|
467
|
+
# @!attribute government_id
|
468
|
+
# Government-issued identification number. US Federal Employer Identification
|
469
|
+
# Numbers (EIN) are currently supported, entered as full nine-digits, with or
|
470
|
+
# without hyphens.
|
471
|
+
#
|
472
|
+
# @return [String]
|
473
|
+
required :government_id, String
|
474
|
+
|
475
|
+
# @!attribute legal_business_name
|
476
|
+
# Legal (formal) business name.
|
477
|
+
#
|
478
|
+
# @return [String]
|
479
|
+
required :legal_business_name, String
|
480
|
+
|
481
|
+
# @!attribute phone_numbers
|
482
|
+
# One or more of the business's phone number(s), entered as a list in E.164
|
483
|
+
# format.
|
484
|
+
#
|
485
|
+
# @return [Array<String>]
|
486
|
+
required :phone_numbers, Lithic::Internal::Type::ArrayOf[String]
|
487
|
+
|
488
|
+
# @!attribute [r] dba_business_name
|
489
|
+
# Any name that the business operates under that is not its legal business name
|
490
|
+
# (if applicable).
|
491
|
+
#
|
492
|
+
# @return [String, nil]
|
493
|
+
optional :dba_business_name, String
|
494
|
+
|
495
|
+
# @!parse
|
496
|
+
# # @return [String]
|
497
|
+
# attr_writer :dba_business_name
|
498
|
+
|
499
|
+
# @!attribute [r] parent_company
|
500
|
+
# Parent company name (if applicable).
|
501
|
+
#
|
502
|
+
# @return [String, nil]
|
503
|
+
optional :parent_company, String
|
504
|
+
|
505
|
+
# @!parse
|
506
|
+
# # @return [String]
|
507
|
+
# attr_writer :parent_company
|
508
|
+
|
509
|
+
# @!parse
|
510
|
+
# # @param address [Lithic::Models::Address]
|
511
|
+
# # @param government_id [String]
|
512
|
+
# # @param legal_business_name [String]
|
513
|
+
# # @param phone_numbers [Array<String>]
|
514
|
+
# # @param dba_business_name [String]
|
515
|
+
# # @param parent_company [String]
|
516
|
+
# #
|
517
|
+
# def initialize(
|
518
|
+
# address:,
|
519
|
+
# government_id:,
|
520
|
+
# legal_business_name:,
|
521
|
+
# phone_numbers:,
|
522
|
+
# dba_business_name: nil,
|
523
|
+
# parent_company: nil,
|
524
|
+
# **
|
525
|
+
# )
|
526
|
+
# super
|
527
|
+
# end
|
528
|
+
|
529
|
+
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
530
|
+
end
|
531
|
+
|
536
532
|
class Individual < Lithic::Internal::Type::BaseModel
|
537
533
|
# @!attribute address
|
538
534
|
# Individual's current address - PO boxes, UPS drops, and FedEx drops are not
|
@@ -86,7 +86,7 @@ module Lithic
|
|
86
86
|
# Boolean indicating whether the Auth Rule is applied at the program level.
|
87
87
|
#
|
88
88
|
# @return [Boolean, nil]
|
89
|
-
optional :program_level, Lithic::Internal::Type::
|
89
|
+
optional :program_level, Lithic::Internal::Type::Boolean
|
90
90
|
|
91
91
|
# @!parse
|
92
92
|
# # @return [Boolean]
|
@@ -121,7 +121,7 @@ module Lithic
|
|
121
121
|
# Whether the rule would have approved the authorization request.
|
122
122
|
#
|
123
123
|
# @return [Boolean, nil]
|
124
|
-
optional :approved, Lithic::Internal::Type::
|
124
|
+
optional :approved, Lithic::Internal::Type::Boolean
|
125
125
|
|
126
126
|
# @!parse
|
127
127
|
# # @return [Boolean]
|
@@ -223,7 +223,7 @@ module Lithic
|
|
223
223
|
# Whether the rule would have approved the authorization request.
|
224
224
|
#
|
225
225
|
# @return [Boolean, nil]
|
226
|
-
optional :approved, Lithic::Internal::Type::
|
226
|
+
optional :approved, Lithic::Internal::Type::Boolean
|
227
227
|
|
228
228
|
# @!parse
|
229
229
|
# # @return [Boolean]
|
@@ -25,7 +25,7 @@ module Lithic
|
|
25
25
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
26
26
|
#
|
27
27
|
# @return [Boolean]
|
28
|
-
required :program_level, Lithic::Internal::Type::
|
28
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
29
29
|
|
30
30
|
# @!attribute [r] excluded_card_tokens
|
31
31
|
# Card tokens to which the Auth Rule does not apply.
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
44
44
|
#
|
45
45
|
# @return [Boolean]
|
46
|
-
required :program_level, Lithic::Internal::Type::
|
46
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
47
47
|
|
48
48
|
# @!attribute state
|
49
49
|
# The state of the Auth Rule
|
@@ -51,7 +51,7 @@ module Lithic
|
|
51
51
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
52
52
|
#
|
53
53
|
# @return [Boolean]
|
54
|
-
required :program_level, Lithic::Internal::Type::
|
54
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
55
55
|
|
56
56
|
# @!attribute [r] excluded_card_tokens
|
57
57
|
# Card tokens to which the Auth Rule does not apply.
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
44
44
|
#
|
45
45
|
# @return [Boolean]
|
46
|
-
required :program_level, Lithic::Internal::Type::
|
46
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
47
47
|
|
48
48
|
# @!attribute state
|
49
49
|
# The state of the Auth Rule
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
44
44
|
#
|
45
45
|
# @return [Boolean]
|
46
|
-
required :program_level, Lithic::Internal::Type::
|
46
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
47
47
|
|
48
48
|
# @!attribute state
|
49
49
|
# The state of the Auth Rule
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
44
44
|
#
|
45
45
|
# @return [Boolean]
|
46
|
-
required :program_level, Lithic::Internal::Type::
|
46
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
47
47
|
|
48
48
|
# @!attribute state
|
49
49
|
# The state of the Auth Rule
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
44
44
|
#
|
45
45
|
# @return [Boolean]
|
46
|
-
required :program_level, Lithic::Internal::Type::
|
46
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
47
47
|
|
48
48
|
# @!attribute state
|
49
49
|
# The state of the Auth Rule
|
@@ -45,7 +45,7 @@ module Lithic
|
|
45
45
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
46
46
|
#
|
47
47
|
# @return [Boolean]
|
48
|
-
required :program_level, Lithic::Internal::Type::
|
48
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
49
49
|
|
50
50
|
# @!attribute state
|
51
51
|
# The state of the Auth Rule
|
@@ -63,7 +63,7 @@ module Lithic
|
|
63
63
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
64
64
|
#
|
65
65
|
# @return [Boolean, nil]
|
66
|
-
optional :program_level, Lithic::Internal::Type::
|
66
|
+
optional :program_level, Lithic::Internal::Type::Boolean
|
67
67
|
|
68
68
|
# @!parse
|
69
69
|
# # @return [Boolean]
|
@@ -43,7 +43,7 @@ module Lithic
|
|
43
43
|
# Whether the Auth Rule applies to all authorizations on the card program.
|
44
44
|
#
|
45
45
|
# @return [Boolean]
|
46
|
-
required :program_level, Lithic::Internal::Type::
|
46
|
+
required :program_level, Lithic::Internal::Type::Boolean
|
47
47
|
|
48
48
|
# @!attribute state
|
49
49
|
# The state of the Auth Rule
|
@@ -37,8 +37,8 @@ module Lithic
|
|
37
37
|
# attr_writer :product_id
|
38
38
|
|
39
39
|
# @!attribute [r] shipping_method
|
40
|
-
# Shipping method for the card.
|
41
|
-
# additional permissions.
|
40
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
41
|
+
# options besides `STANDARD` require additional permissions.
|
42
42
|
#
|
43
43
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
44
44
|
# tracking
|
@@ -68,8 +68,8 @@ module Lithic
|
|
68
68
|
|
69
69
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
70
70
|
|
71
|
-
# Shipping method for the card.
|
72
|
-
# additional permissions.
|
71
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
72
|
+
# options besides `STANDARD` require additional permissions.
|
73
73
|
#
|
74
74
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
75
75
|
# tracking
|
@@ -83,7 +83,7 @@ module Lithic
|
|
83
83
|
module ShippingMethod
|
84
84
|
extend Lithic::Internal::Type::Enum
|
85
85
|
|
86
|
-
SHIPPING_METHOD_2_DAY = :"
|
86
|
+
SHIPPING_METHOD_2_DAY = :"2_DAY"
|
87
87
|
EXPEDITED = :EXPEDITED
|
88
88
|
EXPRESS = :EXPRESS
|
89
89
|
PRIORITY = :PRIORITY
|
@@ -41,8 +41,8 @@ module Lithic
|
|
41
41
|
# attr_writer :shipping_address
|
42
42
|
|
43
43
|
# @!attribute [r] shipping_method
|
44
|
-
# Shipping method for the card.
|
45
|
-
# additional permissions.
|
44
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
45
|
+
# options besides `STANDARD` require additional permissions.
|
46
46
|
#
|
47
47
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
48
48
|
# tracking
|
@@ -72,8 +72,8 @@ module Lithic
|
|
72
72
|
|
73
73
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
74
74
|
|
75
|
-
# Shipping method for the card.
|
76
|
-
# additional permissions.
|
75
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
76
|
+
# options besides `STANDARD` require additional permissions.
|
77
77
|
#
|
78
78
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
79
79
|
# tracking
|
@@ -87,7 +87,7 @@ module Lithic
|
|
87
87
|
module ShippingMethod
|
88
88
|
extend Lithic::Internal::Type::Enum
|
89
89
|
|
90
|
-
SHIPPING_METHOD_2_DAY = :"
|
90
|
+
SHIPPING_METHOD_2_DAY = :"2_DAY"
|
91
91
|
EXPEDITED = :EXPEDITED
|
92
92
|
EXPRESS = :EXPRESS
|
93
93
|
PRIORITY = :PRIORITY
|
@@ -59,8 +59,8 @@ module Lithic
|
|
59
59
|
# attr_writer :product_id
|
60
60
|
|
61
61
|
# @!attribute [r] shipping_method
|
62
|
-
# Shipping method for the card.
|
63
|
-
# additional permissions.
|
62
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
63
|
+
# options besides `STANDARD` require additional permissions.
|
64
64
|
#
|
65
65
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
66
66
|
# tracking
|
@@ -103,8 +103,8 @@ module Lithic
|
|
103
103
|
|
104
104
|
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
105
105
|
|
106
|
-
# Shipping method for the card.
|
107
|
-
# additional permissions.
|
106
|
+
# Shipping method for the card. Only applies to cards of type PHYSICAL. Use of
|
107
|
+
# options besides `STANDARD` require additional permissions.
|
108
108
|
#
|
109
109
|
# - `STANDARD` - USPS regular mail or similar international option, with no
|
110
110
|
# tracking
|
@@ -118,7 +118,7 @@ module Lithic
|
|
118
118
|
module ShippingMethod
|
119
119
|
extend Lithic::Internal::Type::Enum
|
120
120
|
|
121
|
-
SHIPPING_METHOD_2_DAY = :"
|
121
|
+
SHIPPING_METHOD_2_DAY = :"2_DAY"
|
122
122
|
EXPEDITED = :EXPEDITED
|
123
123
|
EXPRESS = :EXPRESS
|
124
124
|
PRIORITY = :PRIORITY
|
@@ -16,7 +16,7 @@ module Lithic
|
|
16
16
|
# Whether there are more prime rates
|
17
17
|
#
|
18
18
|
# @return [Boolean]
|
19
|
-
required :has_more, Lithic::Internal::Type::
|
19
|
+
required :has_more, Lithic::Internal::Type::Boolean
|
20
20
|
|
21
21
|
# @!parse
|
22
22
|
# # @param data [Array<Lithic::Models::CreditProducts::PrimeRateRetrieveResponse::Data>]
|
@@ -32,7 +32,7 @@ module Lithic
|
|
32
32
|
# Whether the card art is enabled.
|
33
33
|
#
|
34
34
|
# @return [Boolean]
|
35
|
-
required :is_enabled, Lithic::Internal::Type::
|
35
|
+
required :is_enabled, Lithic::Internal::Type::Boolean
|
36
36
|
|
37
37
|
# @!attribute network
|
38
38
|
# Card network.
|
@@ -44,7 +44,7 @@ module Lithic
|
|
44
44
|
# Whether the card art is the default card art to be added upon tokenization.
|
45
45
|
#
|
46
46
|
# @return [Boolean, nil]
|
47
|
-
optional :is_card_program_default, Lithic::Internal::Type::
|
47
|
+
optional :is_card_program_default, Lithic::Internal::Type::Boolean
|
48
48
|
|
49
49
|
# @!parse
|
50
50
|
# # @return [Boolean]
|
@@ -77,7 +77,7 @@ module Lithic
|
|
77
77
|
# Whether to include the event payload content in the response.
|
78
78
|
#
|
79
79
|
# @return [Boolean, nil]
|
80
|
-
optional :with_content, Lithic::Internal::Type::
|
80
|
+
optional :with_content, Lithic::Internal::Type::Boolean
|
81
81
|
|
82
82
|
# @!parse
|
83
83
|
# # @return [Boolean]
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
module Lithic
|
4
|
+
module Models
|
5
|
+
module Events
|
6
|
+
# @see Lithic::Resources::Events::EventSubscriptions#resend
|
7
|
+
class EventSubscriptionResendParams < Lithic::Internal::Type::BaseModel
|
8
|
+
# @!parse
|
9
|
+
# extend Lithic::Internal::Type::RequestParameters::Converter
|
10
|
+
include Lithic::Internal::Type::RequestParameters
|
11
|
+
|
12
|
+
# @!attribute event_token
|
13
|
+
#
|
14
|
+
# @return [String]
|
15
|
+
required :event_token, String
|
16
|
+
|
17
|
+
# @!parse
|
18
|
+
# # @param event_token [String]
|
19
|
+
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
20
|
+
# #
|
21
|
+
# def initialize(event_token:, request_options: {}, **) = super
|
22
|
+
|
23
|
+
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -29,7 +29,7 @@ module Lithic
|
|
29
29
|
# Whether the event subscription is active (false) or inactive (true).
|
30
30
|
#
|
31
31
|
# @return [Boolean, nil]
|
32
|
-
optional :disabled, Lithic::Internal::Type::
|
32
|
+
optional :disabled, Lithic::Internal::Type::Boolean
|
33
33
|
|
34
34
|
# @!parse
|
35
35
|
# # @return [Boolean]
|
@@ -29,7 +29,7 @@ module Lithic
|
|
29
29
|
# Whether the event subscription is active (false) or inactive (true).
|
30
30
|
#
|
31
31
|
# @return [Boolean, nil]
|
32
|
-
optional :disabled, Lithic::Internal::Type::
|
32
|
+
optional :disabled, Lithic::Internal::Type::Boolean
|
33
33
|
|
34
34
|
# @!parse
|
35
35
|
# # @return [Boolean]
|
@@ -140,7 +140,7 @@ module Lithic
|
|
140
140
|
# @!attribute [r] verification_enforcement
|
141
141
|
#
|
142
142
|
# @return [Boolean, nil]
|
143
|
-
optional :verification_enforcement, Lithic::Internal::Type::
|
143
|
+
optional :verification_enforcement, Lithic::Internal::Type::Boolean
|
144
144
|
|
145
145
|
# @!parse
|
146
146
|
# # @return [Boolean]
|
@@ -29,7 +29,7 @@ module Lithic
|
|
29
29
|
# Whether financial account is for the benefit of another entity
|
30
30
|
#
|
31
31
|
# @return [Boolean]
|
32
|
-
required :is_for_benefit_of, Lithic::Internal::Type::
|
32
|
+
required :is_for_benefit_of, Lithic::Internal::Type::Boolean
|
33
33
|
|
34
34
|
# @!attribute nickname
|
35
35
|
#
|
@@ -62,13 +62,11 @@ module Lithic
|
|
62
62
|
# @return [String, nil]
|
63
63
|
optional :routing_number, String, nil?: true
|
64
64
|
|
65
|
-
# @!attribute
|
66
|
-
#
|
65
|
+
# @!attribute substatus
|
66
|
+
# Substatus for the financial account
|
67
67
|
#
|
68
|
-
# @return [Symbol, Lithic::Models::FinancialAccount::
|
69
|
-
optional :
|
70
|
-
enum: -> { Lithic::Models::FinancialAccount::StatusChangeReason },
|
71
|
-
nil?: true
|
68
|
+
# @return [Symbol, Lithic::Models::FinancialAccount::Substatus, nil]
|
69
|
+
optional :substatus, enum: -> { Lithic::Models::FinancialAccount::Substatus }, nil?: true
|
72
70
|
|
73
71
|
# @!parse
|
74
72
|
# # @param token [String]
|
@@ -82,7 +80,7 @@ module Lithic
|
|
82
80
|
# # @param updated [Time]
|
83
81
|
# # @param account_number [String, nil]
|
84
82
|
# # @param routing_number [String, nil]
|
85
|
-
# # @param
|
83
|
+
# # @param substatus [Symbol, Lithic::Models::FinancialAccount::Substatus, nil]
|
86
84
|
# #
|
87
85
|
# def initialize(
|
88
86
|
# token:,
|
@@ -96,7 +94,7 @@ module Lithic
|
|
96
94
|
# updated:,
|
97
95
|
# account_number: nil,
|
98
96
|
# routing_number: nil,
|
99
|
-
#
|
97
|
+
# substatus: nil,
|
100
98
|
# **
|
101
99
|
# )
|
102
100
|
# super
|
@@ -141,7 +139,7 @@ module Lithic
|
|
141
139
|
# @!attribute is_spend_blocked
|
142
140
|
#
|
143
141
|
# @return [Boolean]
|
144
|
-
required :is_spend_blocked, Lithic::Internal::Type::
|
142
|
+
required :is_spend_blocked, Lithic::Internal::Type::Boolean
|
145
143
|
|
146
144
|
# @!attribute tier
|
147
145
|
# Tier assigned to the financial account
|
@@ -244,10 +242,10 @@ module Lithic
|
|
244
242
|
# def self.values; end
|
245
243
|
end
|
246
244
|
|
247
|
-
#
|
245
|
+
# Substatus for the financial account
|
248
246
|
#
|
249
|
-
# @see Lithic::Models::FinancialAccount#
|
250
|
-
module
|
247
|
+
# @see Lithic::Models::FinancialAccount#substatus
|
248
|
+
module Substatus
|
251
249
|
extend Lithic::Internal::Type::Enum
|
252
250
|
|
253
251
|
CHARGED_OFF_DELINQUENT = :CHARGED_OFF_DELINQUENT
|