lithic 0.21.0 → 0.22.0
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/CHANGELOG.md +19 -0
- data/README.md +1 -10
- data/lib/lithic/internal/type/union.rb +21 -7
- data/lib/lithic/models/account_holder_create_params.rb +4 -2
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +120 -66
- data/lib/lithic/models/account_holder_update_params.rb +6 -3
- data/lib/lithic/models/account_holder_update_response.rb +156 -86
- data/lib/lithic/models/account_holder_updated_webhook_event.rb +120 -66
- data/lib/lithic/models/account_holders/account_holder_entity.rb +35 -19
- data/lib/lithic/models/account_holders/entity_create_params.rb +39 -21
- data/lib/lithic/models/address.rb +33 -19
- data/lib/lithic/models/address_update.rb +27 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +55 -27
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +189 -6
- data/lib/lithic/models/auth_rules/auth_rule_entities.rb +47 -0
- data/lib/lithic/models/auth_rules/auth_rule_entities_response.rb +31 -0
- data/lib/lithic/models/auth_rules/auth_rule_entity.rb +150 -0
- data/lib/lithic/models/auth_rules/auth_rule_version.rb +3 -6
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +33 -6
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +101 -5
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +3 -439
- data/lib/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/merchant_lock_parameters.rb +11 -1
- data/lib/lithic/models/auth_rules/v2_create_params.rb +203 -45
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +3 -6
- data/lib/lithic/models/auth_rules/v2_list_params.rb +5 -3
- data/lib/lithic/models/auth_rules/v2_update_entities_params.rb +39 -0
- data/lib/lithic/models/auth_rules/v2_update_params.rb +133 -12
- data/lib/lithic/models/card_authorization.rb +11 -1
- data/lib/lithic/models/card_create_params.rb +11 -1
- data/lib/lithic/models/card_update_params.rb +12 -1
- data/lib/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rb +279 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_list_params.rb +106 -0
- data/lib/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rb +42 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +62 -1
- data/lib/lithic/models/kyb.rb +4 -2
- data/lib/lithic/models/kyb_business_entity.rb +35 -19
- data/lib/lithic/models/kyc.rb +2 -1
- data/lib/lithic/models/non_pci_card.rb +11 -1
- data/lib/lithic/models/parsed_webhook_event.rb +120 -66
- data/lib/lithic/models/payment.rb +2 -1
- data/lib/lithic/models/transaction.rb +2 -1
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +28 -4
- data/lib/lithic/models/transaction_simulate_credit_authorization_advice_params.rb +11 -1
- data/lib/lithic/models/transaction_simulate_return_params.rb +24 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +8 -8
- data/lib/lithic/resources/auth_rules/v2.rb +44 -8
- data/lib/lithic/resources/cards.rb +6 -2
- data/lib/lithic/resources/financial_accounts/installment_plans/statements.rb +107 -0
- data/lib/lithic/resources/financial_accounts/installment_plans.rb +4 -0
- data/lib/lithic/resources/transactions.rb +17 -4
- data/lib/lithic/resources/webhooks.rb +18 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -1
- data/rbi/lithic/models/account_holder_create_params.rbi +8 -4
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +195 -90
- data/rbi/lithic/models/account_holder_update_params.rbi +12 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +254 -117
- data/rbi/lithic/models/account_holder_updated_webhook_event.rbi +195 -90
- data/rbi/lithic/models/account_holders/account_holder_entity.rbi +59 -27
- data/rbi/lithic/models/account_holders/entity_create_params.rbi +65 -30
- data/rbi/lithic/models/address.rbi +57 -29
- data/rbi/lithic/models/address_update.rbi +50 -24
- data/rbi/lithic/models/auth_rules/auth_rule.rbi +53 -19
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +442 -13
- data/rbi/lithic/models/auth_rules/auth_rule_entities.rbi +163 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entities_response.rbi +72 -0
- data/rbi/lithic/models/auth_rules/auth_rule_entity.rbi +199 -0
- data/rbi/lithic/models/auth_rules/auth_rule_version.rbi +0 -2
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +67 -9
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +193 -5
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +3 -939
- data/rbi/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/merchant_lock_parameters.rbi +14 -3
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +325 -50
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +0 -4
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +6 -3
- data/rbi/lithic/models/auth_rules/v2_update_entities_params.rbi +68 -0
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +198 -5
- data/rbi/lithic/models/card_authorization.rbi +12 -0
- data/rbi/lithic/models/card_create_params.rbi +15 -0
- data/rbi/lithic/models/card_update_params.rbi +17 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbi +452 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_list_params.rbi +191 -0
- data/rbi/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbi +66 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +119 -0
- data/rbi/lithic/models/kyb.rbi +8 -4
- data/rbi/lithic/models/kyb_business_entity.rbi +59 -27
- data/rbi/lithic/models/kyc.rbi +4 -2
- data/rbi/lithic/models/non_pci_card.rbi +12 -0
- data/rbi/lithic/models/parsed_webhook_event.rbi +195 -90
- data/rbi/lithic/models/payment.rbi +4 -2
- data/rbi/lithic/models/transaction.rbi +4 -2
- data/rbi/lithic/models/transaction_simulate_authorization_params.rbi +42 -4
- data/rbi/lithic/models/transaction_simulate_credit_authorization_advice_params.rbi +15 -0
- data/rbi/lithic/models/transaction_simulate_return_params.rbi +30 -0
- data/rbi/lithic/resources/account_holders/entities.rbi +2 -1
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +8 -8
- data/rbi/lithic/resources/auth_rules/v2.rbi +43 -8
- data/rbi/lithic/resources/cards.rbi +11 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans/statements.rbi +86 -0
- data/rbi/lithic/resources/financial_accounts/installment_plans.rbi +7 -0
- data/rbi/lithic/resources/transactions.rbi +31 -2
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +39 -39
- data/sig/lithic/models/account_holder_update_response.rbs +52 -52
- data/sig/lithic/models/account_holder_updated_webhook_event.rbs +39 -39
- data/sig/lithic/models/account_holders/account_holder_entity.rbs +13 -13
- data/sig/lithic/models/account_holders/entity_create_params.rbs +13 -13
- data/sig/lithic/models/address.rbs +13 -13
- data/sig/lithic/models/address_update.rbs +8 -12
- data/sig/lithic/models/auth_rules/auth_rule.rbs +8 -7
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +89 -3
- data/sig/lithic/models/auth_rules/auth_rule_entities.rbs +37 -0
- data/sig/lithic/models/auth_rules/auth_rule_entities_response.rbs +29 -0
- data/sig/lithic/models/auth_rules/auth_rule_entity.rbs +80 -0
- data/sig/lithic/models/auth_rules/auth_rule_version.rbs +1 -2
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +46 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +4 -204
- data/sig/lithic/models/auth_rules/conditional_authorization_adjustment_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/merchant_lock_parameters.rbs +10 -3
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +86 -16
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +1 -2
- data/sig/lithic/models/auth_rules/v2_update_entities_params.rbs +46 -0
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +47 -1
- data/sig/lithic/models/card_authorization.rbs +5 -0
- data/sig/lithic/models/card_create_params.rbs +7 -0
- data/sig/lithic/models/card_update_params.rbs +8 -1
- data/sig/lithic/models/financial_accounts/installment_plans/installment_plan_statement.rbs +191 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_list_params.rbs +90 -0
- data/sig/lithic/models/financial_accounts/installment_plans/statement_retrieve_params.rbs +40 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +47 -0
- data/sig/lithic/models/kyb_business_entity.rbs +13 -13
- data/sig/lithic/models/non_pci_card.rbs +5 -0
- data/sig/lithic/models/parsed_webhook_event.rbs +39 -39
- data/sig/lithic/models/transaction_simulate_authorization_params.rbs +14 -0
- data/sig/lithic/models/transaction_simulate_credit_authorization_advice_params.rbs +7 -0
- data/sig/lithic/models/transaction_simulate_return_params.rbs +19 -1
- data/sig/lithic/resources/auth_rules/v2.rbs +7 -0
- data/sig/lithic/resources/cards.rbs +2 -0
- data/sig/lithic/resources/financial_accounts/installment_plans/statements.rbs +30 -0
- data/sig/lithic/resources/financial_accounts/installment_plans.rbs +2 -0
- data/sig/lithic/resources/transactions.rbs +5 -0
- metadata +26 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +0 -20
- data/rbi/lithic/models/auth_rules/conditional_block_parameters.rbi +0 -37
- data/sig/lithic/models/auth_rules/conditional_block_parameters.rbs +0 -20
|
@@ -22,13 +22,92 @@ module Lithic
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
type body =
|
|
25
|
-
Lithic::AuthRules::V2CreateParams::Body::
|
|
25
|
+
Lithic::AuthRules::V2CreateParams::Body::Rule
|
|
26
|
+
| Lithic::AuthRules::V2CreateParams::Body::AccountLevelRule
|
|
26
27
|
| Lithic::AuthRules::V2CreateParams::Body::CardLevelRule
|
|
27
28
|
| Lithic::AuthRules::V2CreateParams::Body::ProgramLevelRule
|
|
28
29
|
|
|
29
30
|
module Body
|
|
30
31
|
extend Lithic::Internal::Type::Union
|
|
31
32
|
|
|
33
|
+
type rule =
|
|
34
|
+
{
|
|
35
|
+
entities: Lithic::AuthRules::AuthRuleEntities,
|
|
36
|
+
parameters: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::parameters,
|
|
37
|
+
type: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::type_,
|
|
38
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
39
|
+
name: String?
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
class Rule < Lithic::Internal::Type::BaseModel
|
|
43
|
+
attr_accessor entities: Lithic::AuthRules::AuthRuleEntities
|
|
44
|
+
|
|
45
|
+
attr_accessor parameters: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::parameters
|
|
46
|
+
|
|
47
|
+
attr_accessor type: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::type_
|
|
48
|
+
|
|
49
|
+
attr_reader event_stream: Lithic::Models::AuthRules::event_stream?
|
|
50
|
+
|
|
51
|
+
def event_stream=: (
|
|
52
|
+
Lithic::Models::AuthRules::event_stream
|
|
53
|
+
) -> Lithic::Models::AuthRules::event_stream
|
|
54
|
+
|
|
55
|
+
attr_accessor name: String?
|
|
56
|
+
|
|
57
|
+
def initialize: (
|
|
58
|
+
entities: Lithic::AuthRules::AuthRuleEntities,
|
|
59
|
+
parameters: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::parameters,
|
|
60
|
+
type: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::type_,
|
|
61
|
+
?event_stream: Lithic::Models::AuthRules::event_stream,
|
|
62
|
+
?name: String?
|
|
63
|
+
) -> void
|
|
64
|
+
|
|
65
|
+
def to_hash: -> {
|
|
66
|
+
entities: Lithic::AuthRules::AuthRuleEntities,
|
|
67
|
+
parameters: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::parameters,
|
|
68
|
+
type: Lithic::Models::AuthRules::V2CreateParams::Body::Rule::type_,
|
|
69
|
+
event_stream: Lithic::Models::AuthRules::event_stream,
|
|
70
|
+
name: String?
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
type parameters =
|
|
74
|
+
Lithic::AuthRules::VelocityLimitParams
|
|
75
|
+
| Lithic::AuthRules::MerchantLockParameters
|
|
76
|
+
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
77
|
+
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
78
|
+
| Lithic::AuthRules::ConditionalACHActionParameters
|
|
79
|
+
| Lithic::AuthRules::ConditionalTokenizationActionParameters
|
|
80
|
+
| Lithic::AuthRules::ConditionalCardTransactionUpdateActionParameters
|
|
81
|
+
| Lithic::AuthRules::ConditionalACHPaymentUpdateActionParameters
|
|
82
|
+
| Lithic::AuthRules::TypescriptCodeParameters
|
|
83
|
+
| Lithic::AuthRules::ConditionalAuthorizationAdjustmentParameters
|
|
84
|
+
|
|
85
|
+
module Parameters
|
|
86
|
+
extend Lithic::Internal::Type::Union
|
|
87
|
+
|
|
88
|
+
def self?.variants: -> ::Array[Lithic::Models::AuthRules::V2CreateParams::Body::Rule::parameters]
|
|
89
|
+
end
|
|
90
|
+
|
|
91
|
+
type type_ =
|
|
92
|
+
:VELOCITY_LIMIT
|
|
93
|
+
| :MERCHANT_LOCK
|
|
94
|
+
| :CONDITIONAL_ACTION
|
|
95
|
+
| :TYPESCRIPT_CODE
|
|
96
|
+
| :OTHER
|
|
97
|
+
|
|
98
|
+
module Type
|
|
99
|
+
extend Lithic::Internal::Type::Enum
|
|
100
|
+
|
|
101
|
+
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
|
102
|
+
MERCHANT_LOCK: :MERCHANT_LOCK
|
|
103
|
+
CONDITIONAL_ACTION: :CONDITIONAL_ACTION
|
|
104
|
+
TYPESCRIPT_CODE: :TYPESCRIPT_CODE
|
|
105
|
+
OTHER: :OTHER
|
|
106
|
+
|
|
107
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2CreateParams::Body::Rule::type_]
|
|
108
|
+
end
|
|
109
|
+
end
|
|
110
|
+
|
|
32
111
|
type account_level_rule =
|
|
33
112
|
{
|
|
34
113
|
parameters: Lithic::Models::AuthRules::V2CreateParams::Body::AccountLevelRule::parameters,
|
|
@@ -79,8 +158,7 @@ module Lithic
|
|
|
79
158
|
}
|
|
80
159
|
|
|
81
160
|
type parameters =
|
|
82
|
-
Lithic::AuthRules::
|
|
83
|
-
| Lithic::AuthRules::VelocityLimitParams
|
|
161
|
+
Lithic::AuthRules::VelocityLimitParams
|
|
84
162
|
| Lithic::AuthRules::MerchantLockParameters
|
|
85
163
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
86
164
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
@@ -98,8 +176,7 @@ module Lithic
|
|
|
98
176
|
end
|
|
99
177
|
|
|
100
178
|
type type_ =
|
|
101
|
-
:
|
|
102
|
-
| :VELOCITY_LIMIT
|
|
179
|
+
:VELOCITY_LIMIT
|
|
103
180
|
| :MERCHANT_LOCK
|
|
104
181
|
| :CONDITIONAL_ACTION
|
|
105
182
|
| :TYPESCRIPT_CODE
|
|
@@ -108,7 +185,6 @@ module Lithic
|
|
|
108
185
|
module Type
|
|
109
186
|
extend Lithic::Internal::Type::Enum
|
|
110
187
|
|
|
111
|
-
CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
|
|
112
188
|
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
|
113
189
|
MERCHANT_LOCK: :MERCHANT_LOCK
|
|
114
190
|
CONDITIONAL_ACTION: :CONDITIONAL_ACTION
|
|
@@ -160,8 +236,7 @@ module Lithic
|
|
|
160
236
|
}
|
|
161
237
|
|
|
162
238
|
type parameters =
|
|
163
|
-
Lithic::AuthRules::
|
|
164
|
-
| Lithic::AuthRules::VelocityLimitParams
|
|
239
|
+
Lithic::AuthRules::VelocityLimitParams
|
|
165
240
|
| Lithic::AuthRules::MerchantLockParameters
|
|
166
241
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
167
242
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
@@ -179,8 +254,7 @@ module Lithic
|
|
|
179
254
|
end
|
|
180
255
|
|
|
181
256
|
type type_ =
|
|
182
|
-
:
|
|
183
|
-
| :VELOCITY_LIMIT
|
|
257
|
+
:VELOCITY_LIMIT
|
|
184
258
|
| :MERCHANT_LOCK
|
|
185
259
|
| :CONDITIONAL_ACTION
|
|
186
260
|
| :TYPESCRIPT_CODE
|
|
@@ -189,7 +263,6 @@ module Lithic
|
|
|
189
263
|
module Type
|
|
190
264
|
extend Lithic::Internal::Type::Enum
|
|
191
265
|
|
|
192
|
-
CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
|
|
193
266
|
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
|
194
267
|
MERCHANT_LOCK: :MERCHANT_LOCK
|
|
195
268
|
CONDITIONAL_ACTION: :CONDITIONAL_ACTION
|
|
@@ -264,8 +337,7 @@ module Lithic
|
|
|
264
337
|
}
|
|
265
338
|
|
|
266
339
|
type parameters =
|
|
267
|
-
Lithic::AuthRules::
|
|
268
|
-
| Lithic::AuthRules::VelocityLimitParams
|
|
340
|
+
Lithic::AuthRules::VelocityLimitParams
|
|
269
341
|
| Lithic::AuthRules::MerchantLockParameters
|
|
270
342
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
271
343
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
@@ -283,8 +355,7 @@ module Lithic
|
|
|
283
355
|
end
|
|
284
356
|
|
|
285
357
|
type type_ =
|
|
286
|
-
:
|
|
287
|
-
| :VELOCITY_LIMIT
|
|
358
|
+
:VELOCITY_LIMIT
|
|
288
359
|
| :MERCHANT_LOCK
|
|
289
360
|
| :CONDITIONAL_ACTION
|
|
290
361
|
| :TYPESCRIPT_CODE
|
|
@@ -293,7 +364,6 @@ module Lithic
|
|
|
293
364
|
module Type
|
|
294
365
|
extend Lithic::Internal::Type::Enum
|
|
295
366
|
|
|
296
|
-
CONDITIONAL_BLOCK: :CONDITIONAL_BLOCK
|
|
297
367
|
VELOCITY_LIMIT: :VELOCITY_LIMIT
|
|
298
368
|
MERCHANT_LOCK: :MERCHANT_LOCK
|
|
299
369
|
CONDITIONAL_ACTION: :CONDITIONAL_ACTION
|
|
@@ -29,8 +29,7 @@ module Lithic
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
type parameters =
|
|
32
|
-
Lithic::AuthRules::
|
|
33
|
-
| Lithic::AuthRules::VelocityLimitParams
|
|
32
|
+
Lithic::AuthRules::VelocityLimitParams
|
|
34
33
|
| Lithic::AuthRules::MerchantLockParameters
|
|
35
34
|
| Lithic::AuthRules::Conditional3DSActionParameters
|
|
36
35
|
| Lithic::AuthRules::ConditionalAuthorizationActionParameters
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module AuthRules
|
|
4
|
+
type v2_update_entities_params =
|
|
5
|
+
{
|
|
6
|
+
auth_rule_token: String,
|
|
7
|
+
add: Lithic::AuthRules::AuthRuleEntities,
|
|
8
|
+
remove: Lithic::AuthRules::AuthRuleEntities
|
|
9
|
+
}
|
|
10
|
+
& Lithic::Internal::Type::request_parameters
|
|
11
|
+
|
|
12
|
+
class V2UpdateEntitiesParams < Lithic::Internal::Type::BaseModel
|
|
13
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
14
|
+
include Lithic::Internal::Type::RequestParameters
|
|
15
|
+
|
|
16
|
+
attr_accessor auth_rule_token: String
|
|
17
|
+
|
|
18
|
+
attr_reader add: Lithic::AuthRules::AuthRuleEntities?
|
|
19
|
+
|
|
20
|
+
def add=: (
|
|
21
|
+
Lithic::AuthRules::AuthRuleEntities
|
|
22
|
+
) -> Lithic::AuthRules::AuthRuleEntities
|
|
23
|
+
|
|
24
|
+
attr_reader remove: Lithic::AuthRules::AuthRuleEntities?
|
|
25
|
+
|
|
26
|
+
def remove=: (
|
|
27
|
+
Lithic::AuthRules::AuthRuleEntities
|
|
28
|
+
) -> Lithic::AuthRules::AuthRuleEntities
|
|
29
|
+
|
|
30
|
+
def initialize: (
|
|
31
|
+
auth_rule_token: String,
|
|
32
|
+
?add: Lithic::AuthRules::AuthRuleEntities,
|
|
33
|
+
?remove: Lithic::AuthRules::AuthRuleEntities,
|
|
34
|
+
?request_options: Lithic::request_opts
|
|
35
|
+
) -> void
|
|
36
|
+
|
|
37
|
+
def to_hash: -> {
|
|
38
|
+
auth_rule_token: String,
|
|
39
|
+
add: Lithic::AuthRules::AuthRuleEntities,
|
|
40
|
+
remove: Lithic::AuthRules::AuthRuleEntities,
|
|
41
|
+
request_options: Lithic::RequestOptions
|
|
42
|
+
}
|
|
43
|
+
end
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -29,13 +29,59 @@ module Lithic
|
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
type body =
|
|
32
|
-
Lithic::AuthRules::V2UpdateParams::Body::
|
|
32
|
+
Lithic::AuthRules::V2UpdateParams::Body::Rule
|
|
33
|
+
| Lithic::AuthRules::V2UpdateParams::Body::AccountLevelRule
|
|
33
34
|
| Lithic::AuthRules::V2UpdateParams::Body::CardLevelRule
|
|
34
35
|
| Lithic::AuthRules::V2UpdateParams::Body::ProgramLevelRule
|
|
35
36
|
|
|
36
37
|
module Body
|
|
37
38
|
extend Lithic::Internal::Type::Union
|
|
38
39
|
|
|
40
|
+
type rule =
|
|
41
|
+
{
|
|
42
|
+
entities: Lithic::AuthRules::AuthRuleEntities,
|
|
43
|
+
name: String?,
|
|
44
|
+
state: Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::state
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
class Rule < Lithic::Internal::Type::BaseModel
|
|
48
|
+
attr_reader entities: Lithic::AuthRules::AuthRuleEntities?
|
|
49
|
+
|
|
50
|
+
def entities=: (
|
|
51
|
+
Lithic::AuthRules::AuthRuleEntities
|
|
52
|
+
) -> Lithic::AuthRules::AuthRuleEntities
|
|
53
|
+
|
|
54
|
+
attr_accessor name: String?
|
|
55
|
+
|
|
56
|
+
attr_reader state: Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::state?
|
|
57
|
+
|
|
58
|
+
def state=: (
|
|
59
|
+
Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::state
|
|
60
|
+
) -> Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::state
|
|
61
|
+
|
|
62
|
+
def initialize: (
|
|
63
|
+
?entities: Lithic::AuthRules::AuthRuleEntities,
|
|
64
|
+
?name: String?,
|
|
65
|
+
?state: Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::state
|
|
66
|
+
) -> void
|
|
67
|
+
|
|
68
|
+
def to_hash: -> {
|
|
69
|
+
entities: Lithic::AuthRules::AuthRuleEntities,
|
|
70
|
+
name: String?,
|
|
71
|
+
state: Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::state
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
type state = :INACTIVE
|
|
75
|
+
|
|
76
|
+
module State
|
|
77
|
+
extend Lithic::Internal::Type::Enum
|
|
78
|
+
|
|
79
|
+
INACTIVE: :INACTIVE
|
|
80
|
+
|
|
81
|
+
def self?.values: -> ::Array[Lithic::Models::AuthRules::V2UpdateParams::Body::Rule::state]
|
|
82
|
+
end
|
|
83
|
+
end
|
|
84
|
+
|
|
39
85
|
type account_level_rule =
|
|
40
86
|
{
|
|
41
87
|
account_tokens: ::Array[String],
|
|
@@ -339,6 +339,7 @@ module Lithic
|
|
|
339
339
|
spend_limit: Integer,
|
|
340
340
|
spend_limit_duration: Lithic::Models::CardAuthorization::Card::spend_limit_duration,
|
|
341
341
|
state: Lithic::Models::CardAuthorization::Card::state,
|
|
342
|
+
tags: ::Hash[Symbol, String],
|
|
342
343
|
type: Lithic::Models::CardAuthorization::Card::type_
|
|
343
344
|
}
|
|
344
345
|
|
|
@@ -355,6 +356,8 @@ module Lithic
|
|
|
355
356
|
|
|
356
357
|
attr_accessor state: Lithic::Models::CardAuthorization::Card::state
|
|
357
358
|
|
|
359
|
+
attr_accessor tags: ::Hash[Symbol, String]
|
|
360
|
+
|
|
358
361
|
attr_accessor type: Lithic::Models::CardAuthorization::Card::type_
|
|
359
362
|
|
|
360
363
|
def initialize: (
|
|
@@ -364,6 +367,7 @@ module Lithic
|
|
|
364
367
|
spend_limit: Integer,
|
|
365
368
|
spend_limit_duration: Lithic::Models::CardAuthorization::Card::spend_limit_duration,
|
|
366
369
|
state: Lithic::Models::CardAuthorization::Card::state,
|
|
370
|
+
tags: ::Hash[Symbol, String],
|
|
367
371
|
type: Lithic::Models::CardAuthorization::Card::type_
|
|
368
372
|
) -> void
|
|
369
373
|
|
|
@@ -374,6 +378,7 @@ module Lithic
|
|
|
374
378
|
spend_limit: Integer,
|
|
375
379
|
spend_limit_duration: Lithic::Models::CardAuthorization::Card::spend_limit_duration,
|
|
376
380
|
state: Lithic::Models::CardAuthorization::Card::state,
|
|
381
|
+
tags: ::Hash[Symbol, String],
|
|
377
382
|
type: Lithic::Models::CardAuthorization::Card::type_
|
|
378
383
|
}
|
|
379
384
|
|
|
@@ -22,6 +22,7 @@ module Lithic
|
|
|
22
22
|
spend_limit: Integer,
|
|
23
23
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
24
24
|
state: Lithic::Models::CardCreateParams::state,
|
|
25
|
+
tags: ::Hash[Symbol, String],
|
|
25
26
|
idempotency_key: String
|
|
26
27
|
}
|
|
27
28
|
& Lithic::Internal::Type::request_parameters
|
|
@@ -118,6 +119,10 @@ module Lithic
|
|
|
118
119
|
Lithic::Models::CardCreateParams::state
|
|
119
120
|
) -> Lithic::Models::CardCreateParams::state
|
|
120
121
|
|
|
122
|
+
attr_reader tags: ::Hash[Symbol, String]?
|
|
123
|
+
|
|
124
|
+
def tags=: (::Hash[Symbol, String]) -> ::Hash[Symbol, String]
|
|
125
|
+
|
|
121
126
|
attr_reader idempotency_key: String?
|
|
122
127
|
|
|
123
128
|
def idempotency_key=: (String) -> String
|
|
@@ -143,6 +148,7 @@ module Lithic
|
|
|
143
148
|
?spend_limit: Integer,
|
|
144
149
|
?spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
145
150
|
?state: Lithic::Models::CardCreateParams::state,
|
|
151
|
+
?tags: ::Hash[Symbol, String],
|
|
146
152
|
?idempotency_key: String,
|
|
147
153
|
?request_options: Lithic::request_opts
|
|
148
154
|
) -> void
|
|
@@ -168,6 +174,7 @@ module Lithic
|
|
|
168
174
|
spend_limit: Integer,
|
|
169
175
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
170
176
|
state: Lithic::Models::CardCreateParams::state,
|
|
177
|
+
tags: ::Hash[Symbol, String],
|
|
171
178
|
idempotency_key: String,
|
|
172
179
|
request_options: Lithic::RequestOptions
|
|
173
180
|
}
|
|
@@ -12,7 +12,8 @@ module Lithic
|
|
|
12
12
|
spend_limit: Integer,
|
|
13
13
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
14
14
|
state: Lithic::Models::CardUpdateParams::state,
|
|
15
|
-
substatus: Lithic::Models::CardUpdateParams::substatus
|
|
15
|
+
substatus: Lithic::Models::CardUpdateParams::substatus,
|
|
16
|
+
tags: ::Hash[Symbol, String?]
|
|
16
17
|
}
|
|
17
18
|
& Lithic::Internal::Type::request_parameters
|
|
18
19
|
|
|
@@ -70,6 +71,10 @@ module Lithic
|
|
|
70
71
|
Lithic::Models::CardUpdateParams::substatus
|
|
71
72
|
) -> Lithic::Models::CardUpdateParams::substatus
|
|
72
73
|
|
|
74
|
+
attr_reader tags: ::Hash[Symbol, String?]?
|
|
75
|
+
|
|
76
|
+
def tags=: (::Hash[Symbol, String?]) -> ::Hash[Symbol, String?]
|
|
77
|
+
|
|
73
78
|
def initialize: (
|
|
74
79
|
card_token: String,
|
|
75
80
|
?comment: String,
|
|
@@ -82,6 +87,7 @@ module Lithic
|
|
|
82
87
|
?spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
83
88
|
?state: Lithic::Models::CardUpdateParams::state,
|
|
84
89
|
?substatus: Lithic::Models::CardUpdateParams::substatus,
|
|
90
|
+
?tags: ::Hash[Symbol, String?],
|
|
85
91
|
?request_options: Lithic::request_opts
|
|
86
92
|
) -> void
|
|
87
93
|
|
|
@@ -97,6 +103,7 @@ module Lithic
|
|
|
97
103
|
spend_limit_duration: Lithic::Models::spend_limit_duration,
|
|
98
104
|
state: Lithic::Models::CardUpdateParams::state,
|
|
99
105
|
substatus: Lithic::Models::CardUpdateParams::substatus,
|
|
106
|
+
tags: ::Hash[Symbol, String?],
|
|
100
107
|
request_options: Lithic::RequestOptions
|
|
101
108
|
}
|
|
102
109
|
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
class InstallmentPlanStatement = InstallmentPlans::InstallmentPlanStatement
|
|
5
|
+
|
|
6
|
+
module InstallmentPlans
|
|
7
|
+
type installment_plan_statement =
|
|
8
|
+
{
|
|
9
|
+
token: String,
|
|
10
|
+
fee_amount: Integer,
|
|
11
|
+
installment_plan_token: String,
|
|
12
|
+
installment_plan_total: Integer,
|
|
13
|
+
installments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment],
|
|
14
|
+
installments_outstanding: Integer,
|
|
15
|
+
installments_paid: Integer,
|
|
16
|
+
num_installments: Integer,
|
|
17
|
+
principal_amount: Integer,
|
|
18
|
+
source_type: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::source_type,
|
|
19
|
+
start_date: Date,
|
|
20
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::state,
|
|
21
|
+
total_paid: Integer
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
class InstallmentPlanStatement < Lithic::Internal::Type::BaseModel
|
|
25
|
+
attr_accessor token: String
|
|
26
|
+
|
|
27
|
+
attr_accessor fee_amount: Integer
|
|
28
|
+
|
|
29
|
+
attr_accessor installment_plan_token: String
|
|
30
|
+
|
|
31
|
+
attr_accessor installment_plan_total: Integer
|
|
32
|
+
|
|
33
|
+
attr_accessor installments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment]
|
|
34
|
+
|
|
35
|
+
attr_accessor installments_outstanding: Integer
|
|
36
|
+
|
|
37
|
+
attr_accessor installments_paid: Integer
|
|
38
|
+
|
|
39
|
+
attr_accessor num_installments: Integer
|
|
40
|
+
|
|
41
|
+
attr_accessor principal_amount: Integer
|
|
42
|
+
|
|
43
|
+
attr_accessor source_type: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::source_type
|
|
44
|
+
|
|
45
|
+
attr_accessor start_date: Date
|
|
46
|
+
|
|
47
|
+
attr_accessor state: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::state
|
|
48
|
+
|
|
49
|
+
attr_accessor total_paid: Integer
|
|
50
|
+
|
|
51
|
+
def initialize: (
|
|
52
|
+
token: String,
|
|
53
|
+
fee_amount: Integer,
|
|
54
|
+
installment_plan_token: String,
|
|
55
|
+
installment_plan_total: Integer,
|
|
56
|
+
installments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment],
|
|
57
|
+
installments_outstanding: Integer,
|
|
58
|
+
installments_paid: Integer,
|
|
59
|
+
num_installments: Integer,
|
|
60
|
+
principal_amount: Integer,
|
|
61
|
+
source_type: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::source_type,
|
|
62
|
+
start_date: Date,
|
|
63
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::state,
|
|
64
|
+
total_paid: Integer
|
|
65
|
+
) -> void
|
|
66
|
+
|
|
67
|
+
def to_hash: -> {
|
|
68
|
+
token: String,
|
|
69
|
+
fee_amount: Integer,
|
|
70
|
+
installment_plan_token: String,
|
|
71
|
+
installment_plan_total: Integer,
|
|
72
|
+
installments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment],
|
|
73
|
+
installments_outstanding: Integer,
|
|
74
|
+
installments_paid: Integer,
|
|
75
|
+
num_installments: Integer,
|
|
76
|
+
principal_amount: Integer,
|
|
77
|
+
source_type: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::source_type,
|
|
78
|
+
start_date: Date,
|
|
79
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::state,
|
|
80
|
+
total_paid: Integer
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
type installment =
|
|
84
|
+
{
|
|
85
|
+
amount_due: Integer,
|
|
86
|
+
amount_due_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
87
|
+
amount_outstanding: Integer,
|
|
88
|
+
amount_outstanding_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
89
|
+
amount_paid: Integer,
|
|
90
|
+
amount_paid_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
91
|
+
date_assessed: Date?,
|
|
92
|
+
due_date: Date,
|
|
93
|
+
installment_num: Integer,
|
|
94
|
+
payment_due_date: Date,
|
|
95
|
+
payments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment::Payment]
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
class Installment < Lithic::Internal::Type::BaseModel
|
|
99
|
+
attr_accessor amount_due: Integer
|
|
100
|
+
|
|
101
|
+
attr_accessor amount_due_details: Lithic::FinancialAccounts::CategoryBalances
|
|
102
|
+
|
|
103
|
+
attr_accessor amount_outstanding: Integer
|
|
104
|
+
|
|
105
|
+
attr_accessor amount_outstanding_details: Lithic::FinancialAccounts::CategoryBalances
|
|
106
|
+
|
|
107
|
+
attr_accessor amount_paid: Integer
|
|
108
|
+
|
|
109
|
+
attr_accessor amount_paid_details: Lithic::FinancialAccounts::CategoryBalances
|
|
110
|
+
|
|
111
|
+
attr_accessor date_assessed: Date?
|
|
112
|
+
|
|
113
|
+
attr_accessor due_date: Date
|
|
114
|
+
|
|
115
|
+
attr_accessor installment_num: Integer
|
|
116
|
+
|
|
117
|
+
attr_accessor payment_due_date: Date
|
|
118
|
+
|
|
119
|
+
attr_accessor payments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment::Payment]
|
|
120
|
+
|
|
121
|
+
def initialize: (
|
|
122
|
+
amount_due: Integer,
|
|
123
|
+
amount_due_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
124
|
+
amount_outstanding: Integer,
|
|
125
|
+
amount_outstanding_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
126
|
+
amount_paid: Integer,
|
|
127
|
+
amount_paid_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
128
|
+
date_assessed: Date?,
|
|
129
|
+
due_date: Date,
|
|
130
|
+
installment_num: Integer,
|
|
131
|
+
payment_due_date: Date,
|
|
132
|
+
payments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment::Payment]
|
|
133
|
+
) -> void
|
|
134
|
+
|
|
135
|
+
def to_hash: -> {
|
|
136
|
+
amount_due: Integer,
|
|
137
|
+
amount_due_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
138
|
+
amount_outstanding: Integer,
|
|
139
|
+
amount_outstanding_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
140
|
+
amount_paid: Integer,
|
|
141
|
+
amount_paid_details: Lithic::FinancialAccounts::CategoryBalances,
|
|
142
|
+
date_assessed: Date?,
|
|
143
|
+
due_date: Date,
|
|
144
|
+
installment_num: Integer,
|
|
145
|
+
payment_due_date: Date,
|
|
146
|
+
payments: ::Array[Lithic::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::Installment::Payment]
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
type payment = { amount: Integer, date: Date }
|
|
150
|
+
|
|
151
|
+
class Payment < Lithic::Internal::Type::BaseModel
|
|
152
|
+
attr_accessor amount: Integer
|
|
153
|
+
|
|
154
|
+
attr_accessor date: Date
|
|
155
|
+
|
|
156
|
+
def initialize: (amount: Integer, date: Date) -> void
|
|
157
|
+
|
|
158
|
+
def to_hash: -> { amount: Integer, date: Date }
|
|
159
|
+
end
|
|
160
|
+
end
|
|
161
|
+
|
|
162
|
+
type source_type = :UNPAID_BALANCE | :TRANSACTION
|
|
163
|
+
|
|
164
|
+
module SourceType
|
|
165
|
+
extend Lithic::Internal::Type::Enum
|
|
166
|
+
|
|
167
|
+
UNPAID_BALANCE: :UNPAID_BALANCE
|
|
168
|
+
TRANSACTION: :TRANSACTION
|
|
169
|
+
|
|
170
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::source_type]
|
|
171
|
+
end
|
|
172
|
+
|
|
173
|
+
type state =
|
|
174
|
+
:PENDING | :ACTIVE | :REBUILD_IN_PROGRESS | :FULLY_PAID | :CANCELLED
|
|
175
|
+
|
|
176
|
+
module State
|
|
177
|
+
extend Lithic::Internal::Type::Enum
|
|
178
|
+
|
|
179
|
+
PENDING: :PENDING
|
|
180
|
+
ACTIVE: :ACTIVE
|
|
181
|
+
REBUILD_IN_PROGRESS: :REBUILD_IN_PROGRESS
|
|
182
|
+
FULLY_PAID: :FULLY_PAID
|
|
183
|
+
CANCELLED: :CANCELLED
|
|
184
|
+
|
|
185
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::InstallmentPlans::InstallmentPlanStatement::state]
|
|
186
|
+
end
|
|
187
|
+
end
|
|
188
|
+
end
|
|
189
|
+
end
|
|
190
|
+
end
|
|
191
|
+
end
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
module FinancialAccounts
|
|
4
|
+
module InstallmentPlans
|
|
5
|
+
type statement_list_params =
|
|
6
|
+
{
|
|
7
|
+
financial_account_token: String,
|
|
8
|
+
installment_plan_token: String,
|
|
9
|
+
begin_: Date,
|
|
10
|
+
end_: Date,
|
|
11
|
+
ending_before: String,
|
|
12
|
+
page_size: Integer,
|
|
13
|
+
starting_after: String,
|
|
14
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?
|
|
15
|
+
}
|
|
16
|
+
& Lithic::Internal::Type::request_parameters
|
|
17
|
+
|
|
18
|
+
class StatementListParams < Lithic::Internal::Type::BaseModel
|
|
19
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
20
|
+
include Lithic::Internal::Type::RequestParameters
|
|
21
|
+
|
|
22
|
+
attr_accessor financial_account_token: String
|
|
23
|
+
|
|
24
|
+
attr_accessor installment_plan_token: String
|
|
25
|
+
|
|
26
|
+
attr_reader begin_: Date?
|
|
27
|
+
|
|
28
|
+
def begin_=: (Date) -> Date
|
|
29
|
+
|
|
30
|
+
attr_reader end_: Date?
|
|
31
|
+
|
|
32
|
+
def end_=: (Date) -> Date
|
|
33
|
+
|
|
34
|
+
attr_reader ending_before: String?
|
|
35
|
+
|
|
36
|
+
def ending_before=: (String) -> String
|
|
37
|
+
|
|
38
|
+
attr_reader page_size: Integer?
|
|
39
|
+
|
|
40
|
+
def page_size=: (Integer) -> Integer
|
|
41
|
+
|
|
42
|
+
attr_reader starting_after: String?
|
|
43
|
+
|
|
44
|
+
def starting_after=: (String) -> String
|
|
45
|
+
|
|
46
|
+
attr_accessor state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?
|
|
47
|
+
|
|
48
|
+
def initialize: (
|
|
49
|
+
financial_account_token: String,
|
|
50
|
+
installment_plan_token: String,
|
|
51
|
+
?begin_: Date,
|
|
52
|
+
?end_: Date,
|
|
53
|
+
?ending_before: String,
|
|
54
|
+
?page_size: Integer,
|
|
55
|
+
?starting_after: String,
|
|
56
|
+
?state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?,
|
|
57
|
+
?request_options: Lithic::request_opts
|
|
58
|
+
) -> void
|
|
59
|
+
|
|
60
|
+
def to_hash: -> {
|
|
61
|
+
financial_account_token: String,
|
|
62
|
+
installment_plan_token: String,
|
|
63
|
+
begin_: Date,
|
|
64
|
+
end_: Date,
|
|
65
|
+
ending_before: String,
|
|
66
|
+
page_size: Integer,
|
|
67
|
+
starting_after: String,
|
|
68
|
+
state: Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state?,
|
|
69
|
+
request_options: Lithic::RequestOptions
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
type state =
|
|
73
|
+
:PENDING | :ACTIVE | :REBUILD_IN_PROGRESS | :FULLY_PAID | :CANCELLED
|
|
74
|
+
|
|
75
|
+
module State
|
|
76
|
+
extend Lithic::Internal::Type::Enum
|
|
77
|
+
|
|
78
|
+
PENDING: :PENDING
|
|
79
|
+
ACTIVE: :ACTIVE
|
|
80
|
+
REBUILD_IN_PROGRESS: :REBUILD_IN_PROGRESS
|
|
81
|
+
FULLY_PAID: :FULLY_PAID
|
|
82
|
+
CANCELLED: :CANCELLED
|
|
83
|
+
|
|
84
|
+
def self?.values: -> ::Array[Lithic::Models::FinancialAccounts::InstallmentPlans::StatementListParams::state]
|
|
85
|
+
end
|
|
86
|
+
end
|
|
87
|
+
end
|
|
88
|
+
end
|
|
89
|
+
end
|
|
90
|
+
end
|