lithic 0.1.0.pre.alpha.52 → 0.1.0.pre.alpha.54
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 +24 -0
- data/README.md +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +36 -26
- data/lib/lithic/internal/type/union.rb +15 -3
- data/lib/lithic/models/account_activity_list_response.rb +48 -1141
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +48 -1151
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +3 -0
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +7 -0
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +4 -0
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +7 -0
- data/lib/lithic/models/auth_rules/v2_create_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -0
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +14 -0
- data/lib/lithic/models/auth_rules/v2_update_response.rb +14 -0
- data/lib/lithic/models/book_transfer_response.rb +51 -48
- data/lib/lithic/models/card_provision_response.rb +25 -3
- data/lib/lithic/models/event.rb +0 -1
- data/lib/lithic/models/event_list_params.rb +0 -1
- data/lib/lithic/models/event_subscription.rb +0 -1
- data/lib/lithic/models/events/subscription_create_params.rb +0 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +0 -1
- data/lib/lithic/models/events/subscription_update_params.rb +0 -1
- data/lib/lithic/models/external_bank_account_create_params.rb +1 -8
- data/lib/lithic/models/external_payment.rb +21 -23
- data/lib/lithic/models/financial_account.rb +48 -39
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +32 -23
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +1 -0
- data/lib/lithic/models/financial_transaction.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +21 -23
- data/lib/lithic/models/payment.rb +269 -140
- data/lib/lithic/models/payment_create_response.rb +2 -0
- data/lib/lithic/models/payment_retry_response.rb +2 -0
- data/lib/lithic/models/provision_response.rb +30 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +32 -1
- data/lib/lithic/models/tokenization.rb +1 -0
- data/lib/lithic/models/transaction.rb +4 -0
- data/lib/lithic/models/transfer.rb +1 -0
- data/lib/lithic/models/verification_method.rb +0 -1
- data/lib/lithic/models.rb +2 -0
- data/lib/lithic/resources/account_activity.rb +2 -2
- data/lib/lithic/resources/auth_rules/v2.rb +0 -72
- data/lib/lithic/resources/external_bank_accounts.rb +1 -3
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -2
- data/manifest.yaml +1 -0
- data/rbi/lithic/internal/transport/base_client.rbi +5 -0
- data/rbi/lithic/internal/transport/pooled_net_requester.rbi +6 -2
- data/rbi/lithic/internal/type/base_model.rbi +8 -4
- data/rbi/lithic/models/account_activity_list_response.rbi +158 -2629
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +158 -2629
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +6 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +14 -0
- data/rbi/lithic/models/auth_rules/conditional_attribute.rbi +8 -0
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +14 -0
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +14 -0
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +28 -0
- data/rbi/lithic/models/book_transfer_response.rbi +67 -68
- data/rbi/lithic/models/card_provision_response.rbi +50 -5
- data/rbi/lithic/models/event.rbi +0 -5
- data/rbi/lithic/models/event_list_params.rbi +0 -5
- data/rbi/lithic/models/event_subscription.rbi +0 -5
- data/rbi/lithic/models/events/subscription_create_params.rbi +0 -5
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +0 -5
- data/rbi/lithic/models/events/subscription_update_params.rbi +0 -5
- data/rbi/lithic/models/external_bank_account_create_params.rbi +0 -6
- data/rbi/lithic/models/external_payment.rbi +34 -39
- data/rbi/lithic/models/financial_account.rbi +74 -73
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +46 -33
- data/rbi/lithic/models/financial_accounts/statements/statement_line_items.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +49 -60
- data/rbi/lithic/models/payment.rbi +425 -182
- data/rbi/lithic/models/payment_create_response.rbi +1 -0
- data/rbi/lithic/models/payment_retry_response.rbi +1 -0
- data/rbi/lithic/models/provision_response.rbi +58 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +83 -0
- data/rbi/lithic/models/tokenization.rbi +5 -0
- data/rbi/lithic/models/transaction.rbi +20 -0
- data/rbi/lithic/models/transfer.rbi +5 -0
- data/rbi/lithic/models/verification_method.rbi +0 -1
- data/rbi/lithic/models.rbi +2 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +0 -64
- data/rbi/lithic/resources/external_bank_accounts.rbi +0 -2
- data/sig/lithic/internal/transport/base_client.rbs +2 -0
- data/sig/lithic/internal/transport/pooled_net_requester.rbs +4 -1
- data/sig/lithic/models/account_activity_list_response.rbs +50 -1036
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +50 -1036
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +2 -0
- data/sig/lithic/models/auth_rules/conditional_attribute.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +4 -0
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +4 -0
- data/sig/lithic/models/book_transfer_response.rbs +26 -19
- data/sig/lithic/models/card_provision_response.rbs +22 -5
- data/sig/lithic/models/event.rbs +0 -2
- data/sig/lithic/models/event_list_params.rbs +0 -2
- data/sig/lithic/models/event_subscription.rbs +0 -2
- data/sig/lithic/models/events/subscription_create_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +0 -2
- data/sig/lithic/models/events/subscription_update_params.rbs +0 -2
- data/sig/lithic/models/external_bank_account_create_params.rbs +1 -6
- data/sig/lithic/models/external_payment.rbs +19 -26
- data/sig/lithic/models/financial_account.rbs +28 -30
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +21 -15
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +2 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +19 -26
- data/sig/lithic/models/payment.rbs +199 -76
- data/sig/lithic/models/provision_response.rbs +36 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +28 -0
- data/sig/lithic/models/tokenization.rbs +2 -0
- data/sig/lithic/models/transaction.rbs +8 -0
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/models/verification_method.rbs +1 -7
- data/sig/lithic/models.rbs +2 -0
- data/sig/lithic/resources/auth_rules/v2.rbs +0 -5
- data/sig/lithic/resources/external_bank_accounts.rbs +0 -1
- metadata +5 -8
- data/lib/lithic/models/auth_rules/v2_report_params.rb +0 -16
- data/lib/lithic/models/auth_rules/v2_report_response.rb +0 -18
- data/rbi/lithic/models/auth_rules/v2_report_params.rbi +0 -29
- data/rbi/lithic/models/auth_rules/v2_report_response.rbi +0 -31
- data/sig/lithic/models/auth_rules/v2_report_params.rbs +0 -16
- data/sig/lithic/models/auth_rules/v2_report_response.rbs +0 -17
|
@@ -4,12 +4,12 @@ module Lithic
|
|
|
4
4
|
{
|
|
5
5
|
token: String,
|
|
6
6
|
created: Time,
|
|
7
|
-
family: Lithic::Models::ExternalPayment::family,
|
|
8
7
|
status: Lithic::Models::ExternalPayment::status,
|
|
9
8
|
updated: Time,
|
|
10
9
|
category: Lithic::Models::ExternalPayment::category,
|
|
11
10
|
currency: String,
|
|
12
11
|
events: ::Array[Lithic::ExternalPayment::Event],
|
|
12
|
+
family: Lithic::Models::ExternalPayment::family,
|
|
13
13
|
financial_account_token: String,
|
|
14
14
|
payment_type: Lithic::Models::ExternalPayment::payment_type,
|
|
15
15
|
pending_amount: Integer,
|
|
@@ -23,8 +23,6 @@ module Lithic
|
|
|
23
23
|
|
|
24
24
|
attr_accessor created: Time
|
|
25
25
|
|
|
26
|
-
attr_accessor family: Lithic::Models::ExternalPayment::family
|
|
27
|
-
|
|
28
26
|
attr_accessor status: Lithic::Models::ExternalPayment::status
|
|
29
27
|
|
|
30
28
|
attr_accessor updated: Time
|
|
@@ -45,6 +43,12 @@ module Lithic
|
|
|
45
43
|
::Array[Lithic::ExternalPayment::Event]
|
|
46
44
|
) -> ::Array[Lithic::ExternalPayment::Event]
|
|
47
45
|
|
|
46
|
+
attr_reader family: Lithic::Models::ExternalPayment::family?
|
|
47
|
+
|
|
48
|
+
def family=: (
|
|
49
|
+
Lithic::Models::ExternalPayment::family
|
|
50
|
+
) -> Lithic::Models::ExternalPayment::family
|
|
51
|
+
|
|
48
52
|
attr_reader financial_account_token: String?
|
|
49
53
|
|
|
50
54
|
def financial_account_token=: (String) -> String
|
|
@@ -76,12 +80,12 @@ module Lithic
|
|
|
76
80
|
def initialize: (
|
|
77
81
|
token: String,
|
|
78
82
|
created: Time,
|
|
79
|
-
family: Lithic::Models::ExternalPayment::family,
|
|
80
83
|
status: Lithic::Models::ExternalPayment::status,
|
|
81
84
|
updated: Time,
|
|
82
85
|
?category: Lithic::Models::ExternalPayment::category,
|
|
83
86
|
?currency: String,
|
|
84
87
|
?events: ::Array[Lithic::ExternalPayment::Event],
|
|
88
|
+
?family: Lithic::Models::ExternalPayment::family,
|
|
85
89
|
?financial_account_token: String,
|
|
86
90
|
?payment_type: Lithic::Models::ExternalPayment::payment_type,
|
|
87
91
|
?pending_amount: Integer,
|
|
@@ -93,12 +97,12 @@ module Lithic
|
|
|
93
97
|
def to_hash: -> {
|
|
94
98
|
token: String,
|
|
95
99
|
created: Time,
|
|
96
|
-
family: Lithic::Models::ExternalPayment::family,
|
|
97
100
|
status: Lithic::Models::ExternalPayment::status,
|
|
98
101
|
updated: Time,
|
|
99
102
|
category: Lithic::Models::ExternalPayment::category,
|
|
100
103
|
currency: String,
|
|
101
104
|
events: ::Array[Lithic::ExternalPayment::Event],
|
|
105
|
+
family: Lithic::Models::ExternalPayment::family,
|
|
102
106
|
financial_account_token: String,
|
|
103
107
|
payment_type: Lithic::Models::ExternalPayment::payment_type,
|
|
104
108
|
pending_amount: Integer,
|
|
@@ -107,27 +111,6 @@ module Lithic
|
|
|
107
111
|
user_defined_id: String
|
|
108
112
|
}
|
|
109
113
|
|
|
110
|
-
type family =
|
|
111
|
-
:CARD
|
|
112
|
-
| :PAYMENT
|
|
113
|
-
| :TRANSFER
|
|
114
|
-
| :INTERNAL
|
|
115
|
-
| :EXTERNAL_PAYMENT
|
|
116
|
-
| :MANAGEMENT_OPERATION
|
|
117
|
-
|
|
118
|
-
module Family
|
|
119
|
-
extend Lithic::Internal::Type::Enum
|
|
120
|
-
|
|
121
|
-
CARD: :CARD
|
|
122
|
-
PAYMENT: :PAYMENT
|
|
123
|
-
TRANSFER: :TRANSFER
|
|
124
|
-
INTERNAL: :INTERNAL
|
|
125
|
-
EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
|
|
126
|
-
MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
|
|
127
|
-
|
|
128
|
-
def self?.values: -> ::Array[Lithic::Models::ExternalPayment::family]
|
|
129
|
-
end
|
|
130
|
-
|
|
131
114
|
type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
|
|
132
115
|
|
|
133
116
|
module Status
|
|
@@ -279,6 +262,16 @@ module Lithic
|
|
|
279
262
|
end
|
|
280
263
|
end
|
|
281
264
|
|
|
265
|
+
type family = :EXTERNAL_PAYMENT
|
|
266
|
+
|
|
267
|
+
module Family
|
|
268
|
+
extend Lithic::Internal::Type::Enum
|
|
269
|
+
|
|
270
|
+
EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
|
|
271
|
+
|
|
272
|
+
def self?.values: -> ::Array[Lithic::Models::ExternalPayment::family]
|
|
273
|
+
end
|
|
274
|
+
|
|
282
275
|
type payment_type = :DEPOSIT | :WITHDRAWAL
|
|
283
276
|
|
|
284
277
|
module PaymentType
|
|
@@ -73,18 +73,18 @@ module Lithic
|
|
|
73
73
|
|
|
74
74
|
type credit_configuration =
|
|
75
75
|
{
|
|
76
|
-
|
|
76
|
+
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration,
|
|
77
77
|
credit_limit: Integer?,
|
|
78
78
|
credit_product_token: String?,
|
|
79
79
|
external_bank_account_token: String?,
|
|
80
|
-
financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
81
|
-
is_spend_blocked: bool,
|
|
82
80
|
tier: String?,
|
|
83
|
-
|
|
81
|
+
charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?,
|
|
82
|
+
financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
83
|
+
is_spend_blocked: bool
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
class CreditConfiguration < Lithic::Internal::Type::BaseModel
|
|
87
|
-
attr_accessor
|
|
87
|
+
attr_accessor auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
88
88
|
|
|
89
89
|
attr_accessor credit_limit: Integer?
|
|
90
90
|
|
|
@@ -92,40 +92,48 @@ module Lithic
|
|
|
92
92
|
|
|
93
93
|
attr_accessor external_bank_account_token: String?
|
|
94
94
|
|
|
95
|
-
attr_accessor
|
|
95
|
+
attr_accessor tier: String?
|
|
96
96
|
|
|
97
|
-
attr_accessor
|
|
97
|
+
attr_accessor charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?
|
|
98
98
|
|
|
99
|
-
attr_accessor
|
|
99
|
+
attr_accessor financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?
|
|
100
100
|
|
|
101
|
-
attr_reader
|
|
101
|
+
attr_reader is_spend_blocked: bool?
|
|
102
102
|
|
|
103
|
-
def
|
|
104
|
-
Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
105
|
-
) -> Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration
|
|
103
|
+
def is_spend_blocked=: (bool) -> bool
|
|
106
104
|
|
|
107
105
|
def initialize: (
|
|
108
|
-
|
|
106
|
+
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration,
|
|
109
107
|
credit_limit: Integer?,
|
|
110
108
|
credit_product_token: String?,
|
|
111
109
|
external_bank_account_token: String?,
|
|
112
|
-
financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
113
|
-
is_spend_blocked: bool,
|
|
114
110
|
tier: String?,
|
|
115
|
-
?
|
|
111
|
+
?charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?,
|
|
112
|
+
?financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
113
|
+
?is_spend_blocked: bool
|
|
116
114
|
) -> void
|
|
117
115
|
|
|
118
116
|
def to_hash: -> {
|
|
119
|
-
|
|
117
|
+
auto_collection_configuration: Lithic::FinancialAccount::CreditConfiguration::AutoCollectionConfiguration,
|
|
120
118
|
credit_limit: Integer?,
|
|
121
119
|
credit_product_token: String?,
|
|
122
120
|
external_bank_account_token: String?,
|
|
123
|
-
financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
124
|
-
is_spend_blocked: bool,
|
|
125
121
|
tier: String?,
|
|
126
|
-
|
|
122
|
+
charged_off_reason: Lithic::Models::FinancialAccount::CreditConfiguration::charged_off_reason?,
|
|
123
|
+
financial_account_state: Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state?,
|
|
124
|
+
is_spend_blocked: bool
|
|
127
125
|
}
|
|
128
126
|
|
|
127
|
+
type auto_collection_configuration = { auto_collection_enabled: bool }
|
|
128
|
+
|
|
129
|
+
class AutoCollectionConfiguration < Lithic::Internal::Type::BaseModel
|
|
130
|
+
attr_accessor auto_collection_enabled: bool
|
|
131
|
+
|
|
132
|
+
def initialize: (auto_collection_enabled: bool) -> void
|
|
133
|
+
|
|
134
|
+
def to_hash: -> { auto_collection_enabled: bool }
|
|
135
|
+
end
|
|
136
|
+
|
|
129
137
|
type charged_off_reason = :DELINQUENT | :FRAUD
|
|
130
138
|
|
|
131
139
|
module ChargedOffReason
|
|
@@ -150,16 +158,6 @@ module Lithic
|
|
|
150
158
|
|
|
151
159
|
def self?.values: -> ::Array[Lithic::Models::FinancialAccount::CreditConfiguration::financial_account_state]
|
|
152
160
|
end
|
|
153
|
-
|
|
154
|
-
type auto_collection_configuration = { auto_collection_enabled: bool }
|
|
155
|
-
|
|
156
|
-
class AutoCollectionConfiguration < Lithic::Internal::Type::BaseModel
|
|
157
|
-
attr_accessor auto_collection_enabled: bool
|
|
158
|
-
|
|
159
|
-
def initialize: (auto_collection_enabled: bool) -> void
|
|
160
|
-
|
|
161
|
-
def to_hash: -> { auto_collection_enabled: bool }
|
|
162
|
-
end
|
|
163
161
|
end
|
|
164
162
|
|
|
165
163
|
type status = :OPEN | :CLOSED | :SUSPENDED | :PENDING
|
|
@@ -7,13 +7,13 @@ module Lithic
|
|
|
7
7
|
{
|
|
8
8
|
account_token: String,
|
|
9
9
|
auto_collection_configuration: Lithic::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration,
|
|
10
|
-
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
11
10
|
credit_limit: Integer?,
|
|
12
11
|
credit_product_token: String?,
|
|
13
12
|
external_bank_account_token: String?,
|
|
13
|
+
tier: String?,
|
|
14
|
+
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
14
15
|
financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
15
|
-
is_spend_blocked: bool
|
|
16
|
-
tier: String?
|
|
16
|
+
is_spend_blocked: bool
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
class FinancialAccountCreditConfig < Lithic::Internal::Type::BaseModel
|
|
@@ -21,42 +21,48 @@ module Lithic
|
|
|
21
21
|
|
|
22
22
|
attr_accessor auto_collection_configuration: Lithic::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration
|
|
23
23
|
|
|
24
|
-
attr_accessor charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?
|
|
25
|
-
|
|
26
24
|
attr_accessor credit_limit: Integer?
|
|
27
25
|
|
|
28
26
|
attr_accessor credit_product_token: String?
|
|
29
27
|
|
|
30
28
|
attr_accessor external_bank_account_token: String?
|
|
31
29
|
|
|
32
|
-
attr_accessor
|
|
30
|
+
attr_accessor tier: String?
|
|
33
31
|
|
|
34
|
-
attr_accessor
|
|
32
|
+
attr_accessor charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?
|
|
35
33
|
|
|
36
|
-
|
|
34
|
+
attr_reader financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state?
|
|
35
|
+
|
|
36
|
+
def financial_account_state=: (
|
|
37
|
+
Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state
|
|
38
|
+
) -> Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state
|
|
39
|
+
|
|
40
|
+
attr_reader is_spend_blocked: bool?
|
|
41
|
+
|
|
42
|
+
def is_spend_blocked=: (bool) -> bool
|
|
37
43
|
|
|
38
44
|
def initialize: (
|
|
39
45
|
account_token: String,
|
|
40
46
|
auto_collection_configuration: Lithic::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration,
|
|
41
|
-
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
42
47
|
credit_limit: Integer?,
|
|
43
48
|
credit_product_token: String?,
|
|
44
49
|
external_bank_account_token: String?,
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
50
|
+
tier: String?,
|
|
51
|
+
?charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
52
|
+
?financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
53
|
+
?is_spend_blocked: bool
|
|
48
54
|
) -> void
|
|
49
55
|
|
|
50
56
|
def to_hash: -> {
|
|
51
57
|
account_token: String,
|
|
52
58
|
auto_collection_configuration: Lithic::FinancialAccounts::FinancialAccountCreditConfig::AutoCollectionConfiguration,
|
|
53
|
-
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
54
59
|
credit_limit: Integer?,
|
|
55
60
|
credit_product_token: String?,
|
|
56
61
|
external_bank_account_token: String?,
|
|
62
|
+
tier: String?,
|
|
63
|
+
charged_off_reason: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::charged_off_reason?,
|
|
57
64
|
financial_account_state: Lithic::Models::FinancialAccounts::FinancialAccountCreditConfig::financial_account_state,
|
|
58
|
-
is_spend_blocked: bool
|
|
59
|
-
tier: String?
|
|
65
|
+
is_spend_blocked: bool
|
|
60
66
|
}
|
|
61
67
|
|
|
62
68
|
type auto_collection_configuration = { auto_collection_enabled: bool }
|
|
@@ -154,6 +154,7 @@ module Lithic
|
|
|
154
154
|
| :ACH_ORIGINATION_REVIEWED
|
|
155
155
|
| :ACH_ORIGINATION_SETTLED
|
|
156
156
|
| :ACH_RECEIPT_PROCESSED
|
|
157
|
+
| :ACH_RECEIPT_RELEASED
|
|
157
158
|
| :ACH_RECEIPT_SETTLED
|
|
158
159
|
| :ACH_RETURN_INITIATED
|
|
159
160
|
| :ACH_RETURN_PROCESSED
|
|
@@ -228,6 +229,7 @@ module Lithic
|
|
|
228
229
|
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
|
229
230
|
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
|
230
231
|
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
|
232
|
+
ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
|
|
231
233
|
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
|
232
234
|
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
|
233
235
|
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
|
@@ -149,6 +149,7 @@ module Lithic
|
|
|
149
149
|
| :ACH_ORIGINATION_REVIEWED
|
|
150
150
|
| :ACH_ORIGINATION_SETTLED
|
|
151
151
|
| :ACH_RECEIPT_PROCESSED
|
|
152
|
+
| :ACH_RECEIPT_RELEASED
|
|
152
153
|
| :ACH_RECEIPT_SETTLED
|
|
153
154
|
| :ACH_RETURN_INITIATED
|
|
154
155
|
| :ACH_RETURN_PROCESSED
|
|
@@ -223,6 +224,7 @@ module Lithic
|
|
|
223
224
|
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
|
224
225
|
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
|
225
226
|
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
|
227
|
+
ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
|
|
226
228
|
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
|
227
229
|
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
|
228
230
|
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
|
@@ -4,7 +4,6 @@ module Lithic
|
|
|
4
4
|
{
|
|
5
5
|
token: String,
|
|
6
6
|
created: Time,
|
|
7
|
-
family: Lithic::Models::ManagementOperationTransaction::family,
|
|
8
7
|
status: Lithic::Models::ManagementOperationTransaction::status,
|
|
9
8
|
updated: Time,
|
|
10
9
|
category: Lithic::Models::ManagementOperationTransaction::category,
|
|
@@ -12,6 +11,7 @@ module Lithic
|
|
|
12
11
|
direction: Lithic::Models::ManagementOperationTransaction::direction,
|
|
13
12
|
events: ::Array[Lithic::ManagementOperationTransaction::Event],
|
|
14
13
|
external_resource: Lithic::ExternalResource?,
|
|
14
|
+
family: Lithic::Models::ManagementOperationTransaction::family,
|
|
15
15
|
financial_account_token: String,
|
|
16
16
|
pending_amount: Integer,
|
|
17
17
|
result: Lithic::Models::ManagementOperationTransaction::result,
|
|
@@ -25,8 +25,6 @@ module Lithic
|
|
|
25
25
|
|
|
26
26
|
attr_accessor created: Time
|
|
27
27
|
|
|
28
|
-
attr_accessor family: Lithic::Models::ManagementOperationTransaction::family
|
|
29
|
-
|
|
30
28
|
attr_accessor status: Lithic::Models::ManagementOperationTransaction::status
|
|
31
29
|
|
|
32
30
|
attr_accessor updated: Time
|
|
@@ -55,6 +53,12 @@ module Lithic
|
|
|
55
53
|
|
|
56
54
|
attr_accessor external_resource: Lithic::ExternalResource?
|
|
57
55
|
|
|
56
|
+
attr_reader family: Lithic::Models::ManagementOperationTransaction::family?
|
|
57
|
+
|
|
58
|
+
def family=: (
|
|
59
|
+
Lithic::Models::ManagementOperationTransaction::family
|
|
60
|
+
) -> Lithic::Models::ManagementOperationTransaction::family
|
|
61
|
+
|
|
58
62
|
attr_reader financial_account_token: String?
|
|
59
63
|
|
|
60
64
|
def financial_account_token=: (String) -> String
|
|
@@ -82,7 +86,6 @@ module Lithic
|
|
|
82
86
|
def initialize: (
|
|
83
87
|
token: String,
|
|
84
88
|
created: Time,
|
|
85
|
-
family: Lithic::Models::ManagementOperationTransaction::family,
|
|
86
89
|
status: Lithic::Models::ManagementOperationTransaction::status,
|
|
87
90
|
updated: Time,
|
|
88
91
|
?category: Lithic::Models::ManagementOperationTransaction::category,
|
|
@@ -90,6 +93,7 @@ module Lithic
|
|
|
90
93
|
?direction: Lithic::Models::ManagementOperationTransaction::direction,
|
|
91
94
|
?events: ::Array[Lithic::ManagementOperationTransaction::Event],
|
|
92
95
|
?external_resource: Lithic::ExternalResource?,
|
|
96
|
+
?family: Lithic::Models::ManagementOperationTransaction::family,
|
|
93
97
|
?financial_account_token: String,
|
|
94
98
|
?pending_amount: Integer,
|
|
95
99
|
?result: Lithic::Models::ManagementOperationTransaction::result,
|
|
@@ -101,7 +105,6 @@ module Lithic
|
|
|
101
105
|
def to_hash: -> {
|
|
102
106
|
token: String,
|
|
103
107
|
created: Time,
|
|
104
|
-
family: Lithic::Models::ManagementOperationTransaction::family,
|
|
105
108
|
status: Lithic::Models::ManagementOperationTransaction::status,
|
|
106
109
|
updated: Time,
|
|
107
110
|
category: Lithic::Models::ManagementOperationTransaction::category,
|
|
@@ -109,6 +112,7 @@ module Lithic
|
|
|
109
112
|
direction: Lithic::Models::ManagementOperationTransaction::direction,
|
|
110
113
|
events: ::Array[Lithic::ManagementOperationTransaction::Event],
|
|
111
114
|
external_resource: Lithic::ExternalResource?,
|
|
115
|
+
family: Lithic::Models::ManagementOperationTransaction::family,
|
|
112
116
|
financial_account_token: String,
|
|
113
117
|
pending_amount: Integer,
|
|
114
118
|
result: Lithic::Models::ManagementOperationTransaction::result,
|
|
@@ -117,27 +121,6 @@ module Lithic
|
|
|
117
121
|
user_defined_id: String
|
|
118
122
|
}
|
|
119
123
|
|
|
120
|
-
type family =
|
|
121
|
-
:CARD
|
|
122
|
-
| :PAYMENT
|
|
123
|
-
| :TRANSFER
|
|
124
|
-
| :INTERNAL
|
|
125
|
-
| :EXTERNAL_PAYMENT
|
|
126
|
-
| :MANAGEMENT_OPERATION
|
|
127
|
-
|
|
128
|
-
module Family
|
|
129
|
-
extend Lithic::Internal::Type::Enum
|
|
130
|
-
|
|
131
|
-
CARD: :CARD
|
|
132
|
-
PAYMENT: :PAYMENT
|
|
133
|
-
TRANSFER: :TRANSFER
|
|
134
|
-
INTERNAL: :INTERNAL
|
|
135
|
-
EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
|
|
136
|
-
MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
|
|
137
|
-
|
|
138
|
-
def self?.values: -> ::Array[Lithic::Models::ManagementOperationTransaction::family]
|
|
139
|
-
end
|
|
140
|
-
|
|
141
124
|
type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
|
|
142
125
|
|
|
143
126
|
module Status
|
|
@@ -310,6 +293,16 @@ module Lithic
|
|
|
310
293
|
end
|
|
311
294
|
end
|
|
312
295
|
|
|
296
|
+
type family = :MANAGEMENT_OPERATION
|
|
297
|
+
|
|
298
|
+
module Family
|
|
299
|
+
extend Lithic::Internal::Type::Enum
|
|
300
|
+
|
|
301
|
+
MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
|
|
302
|
+
|
|
303
|
+
def self?.values: -> ::Array[Lithic::Models::ManagementOperationTransaction::family]
|
|
304
|
+
end
|
|
305
|
+
|
|
313
306
|
type result = :APPROVED | :DECLINED
|
|
314
307
|
|
|
315
308
|
module Result
|