lithic 0.1.0.pre.alpha.40 → 0.1.0.pre.alpha.42
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 +22 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/internal/transport/base_client.rb +1 -1
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -9
- data/lib/lithic/internal/type/array_of.rb +1 -0
- data/lib/lithic/internal/type/base_model.rb +3 -1
- data/lib/lithic/internal/type/converter.rb +27 -0
- data/lib/lithic/internal/type/hash_of.rb +1 -0
- data/lib/lithic/internal/type/union.rb +9 -7
- data/lib/lithic/internal/util.rb +1 -1
- data/lib/lithic/models/account_activity_list_params.rb +158 -0
- data/lib/lithic/models/account_activity_list_response.rb +1435 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_params.rb +14 -0
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +1451 -0
- data/lib/lithic/models/account_holder.rb +16 -19
- data/lib/lithic/models/account_holder_create_params.rb +41 -47
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +1 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +25 -20
- data/lib/lithic/models/account_holder_update_params.rb +2 -6
- data/lib/lithic/models/account_holder_update_response.rb +25 -20
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +5 -1
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -12
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +13 -5
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_create_params.rb +283 -16
- data/lib/lithic/models/auth_rules/v2_create_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +239 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_list_params.rb +11 -1
- data/lib/lithic/models/auth_rules/v2_list_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +510 -18
- data/lib/lithic/models/auth_rules/v2_update_params.rb +1 -9
- data/lib/lithic/models/auth_rules/v2_update_response.rb +510 -18
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +4 -16
- data/lib/lithic/models/book_transfer_create_params.rb +34 -6
- data/lib/lithic/models/book_transfer_response.rb +124 -28
- data/lib/lithic/models/document.rb +1 -3
- data/lib/lithic/models/event.rb +6 -0
- data/lib/lithic/models/event_list_params.rb +2 -0
- data/lib/lithic/models/event_subscription.rb +2 -0
- data/lib/lithic/models/events/subscription_create_params.rb +3 -3
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -0
- data/lib/lithic/models/events/subscription_update_params.rb +3 -3
- data/lib/lithic/models/external_bank_account_list_params.rb +2 -6
- data/lib/lithic/models/external_payment.rb +89 -48
- data/lib/lithic/models/financial_account.rb +1 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +5 -18
- data/lib/lithic/models/financial_accounts/statement.rb +3 -10
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +2 -7
- data/lib/lithic/models/financial_transaction.rb +2 -0
- data/lib/lithic/models/instance_financial_account_type.rb +1 -0
- data/lib/lithic/models/kyb.rb +2 -2
- data/lib/lithic/models/management_operation_transaction.rb +90 -63
- data/lib/lithic/models/payment.rb +60 -1
- data/lib/lithic/models/reports/settlement_list_details_params.rb +2 -2
- data/lib/lithic/models/settlement_detail.rb +1 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +173 -38
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +1 -4
- data/lib/lithic/models/tokenization.rb +1 -1
- data/lib/lithic/models/transaction.rb +4 -0
- data/lib/lithic/models/transactions/events/enhanced_data.rb +3 -11
- data/lib/lithic/models/transfer.rb +2 -0
- data/lib/lithic/models/wire_party_details.rb +40 -0
- data/lib/lithic/models.rb +6 -0
- data/lib/lithic/resources/account_activity.rb +80 -0
- data/lib/lithic/resources/account_holders.rb +9 -9
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -3
- data/lib/lithic/resources/auth_rules/v2.rb +19 -13
- data/lib/lithic/resources/book_transfers.rb +7 -3
- data/lib/lithic/resources/reports/settlement.rb +1 -1
- data/lib/lithic/resources/tokenizations.rb +2 -2
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +7 -2
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/errors.rbi +2 -2
- data/rbi/lithic/internal/transport/base_client.rbi +1 -1
- data/rbi/lithic/internal/type/converter.rbi +46 -0
- data/rbi/lithic/internal/type/union.rbi +7 -2
- data/rbi/lithic/models/account_activity_list_params.rbi +347 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +3367 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_params.rbi +30 -0
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +3369 -0
- data/rbi/lithic/models/account_holder.rbi +21 -23
- data/rbi/lithic/models/account_holder_create_params.rbi +87 -65
- data/rbi/lithic/models/account_holder_simulate_enrollment_review_response.rbi +36 -30
- data/rbi/lithic/models/account_holder_update_response.rbi +36 -30
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +20 -0
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +20 -0
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +19 -5
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +646 -21
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +554 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +18 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +1128 -18
- data/rbi/lithic/models/auth_rules/v2_update_params.rbi +0 -11
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +1128 -18
- data/rbi/lithic/models/book_transfer_create_params.rbi +75 -5
- data/rbi/lithic/models/book_transfer_response.rbi +320 -38
- data/rbi/lithic/models/event.rbi +16 -0
- data/rbi/lithic/models/event_list_params.rbi +10 -0
- data/rbi/lithic/models/event_subscription.rbi +10 -0
- data/rbi/lithic/models/events/subscription_create_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +10 -0
- data/rbi/lithic/models/events/subscription_update_params.rbi +10 -0
- data/rbi/lithic/models/external_payment.rbi +147 -60
- data/rbi/lithic/models/financial_account.rbi +5 -0
- data/rbi/lithic/models/financial_transaction.rbi +1 -0
- data/rbi/lithic/models/instance_financial_account_type.rbi +5 -0
- data/rbi/lithic/models/kyb.rbi +2 -2
- data/rbi/lithic/models/management_operation_transaction.rbi +226 -95
- data/rbi/lithic/models/payment.rbi +103 -3
- data/rbi/lithic/models/reports/settlement_list_details_params.rbi +2 -2
- data/rbi/lithic/models/settlement_detail.rbi +2 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +267 -60
- data/rbi/lithic/models/transaction.rbi +17 -0
- data/rbi/lithic/models/transfer.rbi +1 -0
- data/rbi/lithic/models/wire_party_details.rbi +61 -0
- data/rbi/lithic/models.rbi +7 -0
- data/rbi/lithic/resources/account_activity.rbi +80 -0
- data/rbi/lithic/resources/account_holders.rbi +28 -29
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +3 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +28 -14
- data/rbi/lithic/resources/book_transfers.rbi +9 -2
- data/rbi/lithic/resources/reports/settlement.rbi +1 -1
- data/rbi/lithic/resources/tokenizations.rbi +1 -1
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/internal/transport/base_client.rbs +1 -1
- data/sig/lithic/internal/type/converter.rbs +17 -0
- data/sig/lithic/internal/type/union.rbs +2 -2
- data/sig/lithic/models/account_activity_list_params.rbs +173 -0
- data/sig/lithic/models/account_activity_list_response.rbs +1353 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_params.rbs +15 -0
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +1353 -0
- data/sig/lithic/models/account_holder_create_params.rbs +33 -19
- data/sig/lithic/models/account_holder_simulate_enrollment_review_response.rbs +10 -3
- data/sig/lithic/models/account_holder_update_response.rbs +10 -3
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +8 -0
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +8 -0
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +11 -2
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +188 -4
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +155 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +10 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +317 -2
- data/sig/lithic/models/auth_rules/v2_update_params.rbs +0 -7
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +317 -2
- data/sig/lithic/models/book_transfer_create_params.rbs +30 -1
- data/sig/lithic/models/book_transfer_response.rbs +134 -15
- data/sig/lithic/models/event.rbs +4 -0
- data/sig/lithic/models/event_list_params.rbs +4 -0
- data/sig/lithic/models/event_subscription.rbs +4 -0
- data/sig/lithic/models/events/subscription_create_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +4 -0
- data/sig/lithic/models/events/subscription_update_params.rbs +4 -0
- data/sig/lithic/models/external_payment.rbs +91 -40
- data/sig/lithic/models/financial_account.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +95 -44
- data/sig/lithic/models/payment.rbs +61 -3
- data/sig/lithic/models/settlement_detail.rbs +2 -0
- data/sig/lithic/models/three_ds/authentication_retrieve_response.rbs +110 -23
- data/sig/lithic/models/transaction.rbs +10 -2
- data/sig/lithic/models/wire_party_details.rbs +35 -0
- data/sig/lithic/models.rbs +6 -0
- data/sig/lithic/resources/account_activity.rbs +27 -0
- data/sig/lithic/resources/account_holders.rbs +3 -3
- data/sig/lithic/resources/auth_rules/v2.rbs +6 -3
- data/sig/lithic/resources/book_transfers.rbs +2 -0
- data/sig/lithic/resources/tokenizations.rbs +1 -1
- metadata +20 -5
- data/lib/lithic/models/tokenization_retrieve_response.rb +0 -16
- data/rbi/lithic/models/tokenization_retrieve_response.rbi +0 -31
- data/sig/lithic/models/tokenization_retrieve_response.rbs +0 -15
@@ -0,0 +1,1353 @@
|
|
1
|
+
module Lithic
|
2
|
+
module Models
|
3
|
+
type account_activity_list_response =
|
4
|
+
Lithic::Models::AccountActivityListResponse::FinancialTransaction
|
5
|
+
| Lithic::Models::AccountActivityListResponse::BookTransferTransaction
|
6
|
+
| Lithic::Models::AccountActivityListResponse::CardTransaction
|
7
|
+
| Lithic::Models::AccountActivityListResponse::PaymentTransaction
|
8
|
+
| Lithic::ExternalPayment
|
9
|
+
| Lithic::ManagementOperationTransaction
|
10
|
+
|
11
|
+
module AccountActivityListResponse
|
12
|
+
extend Lithic::Internal::Type::Union
|
13
|
+
|
14
|
+
type financial_transaction =
|
15
|
+
{
|
16
|
+
token: String,
|
17
|
+
category: Lithic::Models::AccountActivityListResponse::FinancialTransaction::category,
|
18
|
+
created: Time,
|
19
|
+
currency: String,
|
20
|
+
descriptor: String,
|
21
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event],
|
22
|
+
family: Lithic::Models::AccountActivityListResponse::FinancialTransaction::family,
|
23
|
+
financial_account_token: String,
|
24
|
+
pending_amount: Integer,
|
25
|
+
result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::result,
|
26
|
+
settled_amount: Integer,
|
27
|
+
status: Lithic::Models::AccountActivityListResponse::FinancialTransaction::status,
|
28
|
+
updated: Time
|
29
|
+
}
|
30
|
+
|
31
|
+
class FinancialTransaction < Lithic::Internal::Type::BaseModel
|
32
|
+
attr_accessor token: String
|
33
|
+
|
34
|
+
attr_accessor category: Lithic::Models::AccountActivityListResponse::FinancialTransaction::category
|
35
|
+
|
36
|
+
attr_accessor created: Time
|
37
|
+
|
38
|
+
attr_accessor currency: String
|
39
|
+
|
40
|
+
attr_accessor descriptor: String
|
41
|
+
|
42
|
+
attr_accessor events: ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event]
|
43
|
+
|
44
|
+
attr_accessor family: Lithic::Models::AccountActivityListResponse::FinancialTransaction::family
|
45
|
+
|
46
|
+
attr_accessor financial_account_token: String
|
47
|
+
|
48
|
+
attr_accessor pending_amount: Integer
|
49
|
+
|
50
|
+
attr_accessor result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::result
|
51
|
+
|
52
|
+
attr_accessor settled_amount: Integer
|
53
|
+
|
54
|
+
attr_accessor status: Lithic::Models::AccountActivityListResponse::FinancialTransaction::status
|
55
|
+
|
56
|
+
attr_accessor updated: Time
|
57
|
+
|
58
|
+
def initialize: (
|
59
|
+
token: String,
|
60
|
+
category: Lithic::Models::AccountActivityListResponse::FinancialTransaction::category,
|
61
|
+
created: Time,
|
62
|
+
currency: String,
|
63
|
+
descriptor: String,
|
64
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event],
|
65
|
+
family: Lithic::Models::AccountActivityListResponse::FinancialTransaction::family,
|
66
|
+
financial_account_token: String,
|
67
|
+
pending_amount: Integer,
|
68
|
+
result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::result,
|
69
|
+
settled_amount: Integer,
|
70
|
+
status: Lithic::Models::AccountActivityListResponse::FinancialTransaction::status,
|
71
|
+
updated: Time
|
72
|
+
) -> void
|
73
|
+
|
74
|
+
def to_hash: -> {
|
75
|
+
token: String,
|
76
|
+
category: Lithic::Models::AccountActivityListResponse::FinancialTransaction::category,
|
77
|
+
created: Time,
|
78
|
+
currency: String,
|
79
|
+
descriptor: String,
|
80
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event],
|
81
|
+
family: Lithic::Models::AccountActivityListResponse::FinancialTransaction::family,
|
82
|
+
financial_account_token: String,
|
83
|
+
pending_amount: Integer,
|
84
|
+
result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::result,
|
85
|
+
settled_amount: Integer,
|
86
|
+
status: Lithic::Models::AccountActivityListResponse::FinancialTransaction::status,
|
87
|
+
updated: Time
|
88
|
+
}
|
89
|
+
|
90
|
+
type category =
|
91
|
+
:ACH
|
92
|
+
| :BALANCE_OR_FUNDING
|
93
|
+
| :CARD
|
94
|
+
| :EXTERNAL_ACH
|
95
|
+
| :EXTERNAL_CHECK
|
96
|
+
| :EXTERNAL_TRANSFER
|
97
|
+
| :EXTERNAL_WIRE
|
98
|
+
| :MANAGEMENT_ADJUSTMENT
|
99
|
+
| :MANAGEMENT_DISPUTE
|
100
|
+
| :MANAGEMENT_FEE
|
101
|
+
| :MANAGEMENT_REWARD
|
102
|
+
| :MANAGEMENT_DISBURSEMENT
|
103
|
+
| :PROGRAM_FUNDING
|
104
|
+
|
105
|
+
module Category
|
106
|
+
extend Lithic::Internal::Type::Enum
|
107
|
+
|
108
|
+
ACH: :ACH
|
109
|
+
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
110
|
+
CARD: :CARD
|
111
|
+
EXTERNAL_ACH: :EXTERNAL_ACH
|
112
|
+
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
113
|
+
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
114
|
+
EXTERNAL_WIRE: :EXTERNAL_WIRE
|
115
|
+
MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
|
116
|
+
MANAGEMENT_DISPUTE: :MANAGEMENT_DISPUTE
|
117
|
+
MANAGEMENT_FEE: :MANAGEMENT_FEE
|
118
|
+
MANAGEMENT_REWARD: :MANAGEMENT_REWARD
|
119
|
+
MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
|
120
|
+
PROGRAM_FUNDING: :PROGRAM_FUNDING
|
121
|
+
|
122
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::category]
|
123
|
+
end
|
124
|
+
|
125
|
+
type event =
|
126
|
+
{
|
127
|
+
token: String,
|
128
|
+
amount: Integer,
|
129
|
+
created: Time,
|
130
|
+
result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::result,
|
131
|
+
type: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::type_
|
132
|
+
}
|
133
|
+
|
134
|
+
class Event < Lithic::Internal::Type::BaseModel
|
135
|
+
attr_reader token: String?
|
136
|
+
|
137
|
+
def token=: (String) -> String
|
138
|
+
|
139
|
+
attr_reader amount: Integer?
|
140
|
+
|
141
|
+
def amount=: (Integer) -> Integer
|
142
|
+
|
143
|
+
attr_reader created: Time?
|
144
|
+
|
145
|
+
def created=: (Time) -> Time
|
146
|
+
|
147
|
+
attr_reader result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::result?
|
148
|
+
|
149
|
+
def result=: (
|
150
|
+
Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::result
|
151
|
+
) -> Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::result
|
152
|
+
|
153
|
+
attr_reader type: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::type_?
|
154
|
+
|
155
|
+
def type=: (
|
156
|
+
Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::type_
|
157
|
+
) -> Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::type_
|
158
|
+
|
159
|
+
def initialize: (
|
160
|
+
?token: String,
|
161
|
+
?amount: Integer,
|
162
|
+
?created: Time,
|
163
|
+
?result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::result,
|
164
|
+
?type: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::type_
|
165
|
+
) -> void
|
166
|
+
|
167
|
+
def to_hash: -> {
|
168
|
+
token: String,
|
169
|
+
amount: Integer,
|
170
|
+
created: Time,
|
171
|
+
result: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::result,
|
172
|
+
type: Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::type_
|
173
|
+
}
|
174
|
+
|
175
|
+
type result = :APPROVED | :DECLINED
|
176
|
+
|
177
|
+
module Result
|
178
|
+
extend Lithic::Internal::Type::Enum
|
179
|
+
|
180
|
+
APPROVED: :APPROVED
|
181
|
+
DECLINED: :DECLINED
|
182
|
+
|
183
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::result]
|
184
|
+
end
|
185
|
+
|
186
|
+
type type_ =
|
187
|
+
:ACH_ORIGINATION_CANCELLED
|
188
|
+
| :ACH_ORIGINATION_INITIATED
|
189
|
+
| :ACH_ORIGINATION_PROCESSED
|
190
|
+
| :ACH_ORIGINATION_RELEASED
|
191
|
+
| :ACH_ORIGINATION_REVIEWED
|
192
|
+
| :ACH_ORIGINATION_SETTLED
|
193
|
+
| :ACH_RECEIPT_PROCESSED
|
194
|
+
| :ACH_RECEIPT_SETTLED
|
195
|
+
| :ACH_RETURN_INITIATED
|
196
|
+
| :ACH_RETURN_PROCESSED
|
197
|
+
| :ACH_RETURN_SETTLED
|
198
|
+
| :AUTHORIZATION
|
199
|
+
| :AUTHORIZATION_ADVICE
|
200
|
+
| :AUTHORIZATION_EXPIRY
|
201
|
+
| :AUTHORIZATION_REVERSAL
|
202
|
+
| :BALANCE_INQUIRY
|
203
|
+
| :BILLING_ERROR
|
204
|
+
| :BILLING_ERROR_REVERSAL
|
205
|
+
| :CARD_TO_CARD
|
206
|
+
| :CASH_BACK
|
207
|
+
| :CASH_BACK_REVERSAL
|
208
|
+
| :CLEARING
|
209
|
+
| :COLLECTION
|
210
|
+
| :CORRECTION_CREDIT
|
211
|
+
| :CORRECTION_DEBIT
|
212
|
+
| :CREDIT_AUTHORIZATION
|
213
|
+
| :CREDIT_AUTHORIZATION_ADVICE
|
214
|
+
| :CURRENCY_CONVERSION
|
215
|
+
| :CURRENCY_CONVERSION_REVERSAL
|
216
|
+
| :DISPUTE_WON
|
217
|
+
| :EXTERNAL_ACH_CANCELED
|
218
|
+
| :EXTERNAL_ACH_INITIATED
|
219
|
+
| :EXTERNAL_ACH_RELEASED
|
220
|
+
| :EXTERNAL_ACH_REVERSED
|
221
|
+
| :EXTERNAL_ACH_SETTLED
|
222
|
+
| :EXTERNAL_CHECK_CANCELED
|
223
|
+
| :EXTERNAL_CHECK_INITIATED
|
224
|
+
| :EXTERNAL_CHECK_RELEASED
|
225
|
+
| :EXTERNAL_CHECK_REVERSED
|
226
|
+
| :EXTERNAL_CHECK_SETTLED
|
227
|
+
| :EXTERNAL_TRANSFER_CANCELED
|
228
|
+
| :EXTERNAL_TRANSFER_INITIATED
|
229
|
+
| :EXTERNAL_TRANSFER_RELEASED
|
230
|
+
| :EXTERNAL_TRANSFER_REVERSED
|
231
|
+
| :EXTERNAL_TRANSFER_SETTLED
|
232
|
+
| :EXTERNAL_WIRE_CANCELED
|
233
|
+
| :EXTERNAL_WIRE_INITIATED
|
234
|
+
| :EXTERNAL_WIRE_RELEASED
|
235
|
+
| :EXTERNAL_WIRE_REVERSED
|
236
|
+
| :EXTERNAL_WIRE_SETTLED
|
237
|
+
| :FINANCIAL_AUTHORIZATION
|
238
|
+
| :FINANCIAL_CREDIT_AUTHORIZATION
|
239
|
+
| :INTEREST
|
240
|
+
| :INTEREST_REVERSAL
|
241
|
+
| :INTERNAL_ADJUSTMENT
|
242
|
+
| :LATE_PAYMENT
|
243
|
+
| :LATE_PAYMENT_REVERSAL
|
244
|
+
| :LOSS_WRITE_OFF
|
245
|
+
| :PROVISIONAL_CREDIT
|
246
|
+
| :PROVISIONAL_CREDIT_REVERSAL
|
247
|
+
| :SERVICE
|
248
|
+
| :RETURN
|
249
|
+
| :RETURN_REVERSAL
|
250
|
+
| :TRANSFER
|
251
|
+
| :TRANSFER_INSUFFICIENT_FUNDS
|
252
|
+
| :RETURNED_PAYMENT
|
253
|
+
| :RETURNED_PAYMENT_REVERSAL
|
254
|
+
| :LITHIC_NETWORK_PAYMENT
|
255
|
+
|
256
|
+
module Type
|
257
|
+
extend Lithic::Internal::Type::Enum
|
258
|
+
|
259
|
+
ACH_ORIGINATION_CANCELLED: :ACH_ORIGINATION_CANCELLED
|
260
|
+
ACH_ORIGINATION_INITIATED: :ACH_ORIGINATION_INITIATED
|
261
|
+
ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
|
262
|
+
ACH_ORIGINATION_RELEASED: :ACH_ORIGINATION_RELEASED
|
263
|
+
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
264
|
+
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
265
|
+
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
266
|
+
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
267
|
+
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
268
|
+
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
269
|
+
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
270
|
+
AUTHORIZATION: :AUTHORIZATION
|
271
|
+
AUTHORIZATION_ADVICE: :AUTHORIZATION_ADVICE
|
272
|
+
AUTHORIZATION_EXPIRY: :AUTHORIZATION_EXPIRY
|
273
|
+
AUTHORIZATION_REVERSAL: :AUTHORIZATION_REVERSAL
|
274
|
+
BALANCE_INQUIRY: :BALANCE_INQUIRY
|
275
|
+
BILLING_ERROR: :BILLING_ERROR
|
276
|
+
BILLING_ERROR_REVERSAL: :BILLING_ERROR_REVERSAL
|
277
|
+
CARD_TO_CARD: :CARD_TO_CARD
|
278
|
+
CASH_BACK: :CASH_BACK
|
279
|
+
CASH_BACK_REVERSAL: :CASH_BACK_REVERSAL
|
280
|
+
CLEARING: :CLEARING
|
281
|
+
COLLECTION: :COLLECTION
|
282
|
+
CORRECTION_CREDIT: :CORRECTION_CREDIT
|
283
|
+
CORRECTION_DEBIT: :CORRECTION_DEBIT
|
284
|
+
CREDIT_AUTHORIZATION: :CREDIT_AUTHORIZATION
|
285
|
+
CREDIT_AUTHORIZATION_ADVICE: :CREDIT_AUTHORIZATION_ADVICE
|
286
|
+
CURRENCY_CONVERSION: :CURRENCY_CONVERSION
|
287
|
+
CURRENCY_CONVERSION_REVERSAL: :CURRENCY_CONVERSION_REVERSAL
|
288
|
+
DISPUTE_WON: :DISPUTE_WON
|
289
|
+
EXTERNAL_ACH_CANCELED: :EXTERNAL_ACH_CANCELED
|
290
|
+
EXTERNAL_ACH_INITIATED: :EXTERNAL_ACH_INITIATED
|
291
|
+
EXTERNAL_ACH_RELEASED: :EXTERNAL_ACH_RELEASED
|
292
|
+
EXTERNAL_ACH_REVERSED: :EXTERNAL_ACH_REVERSED
|
293
|
+
EXTERNAL_ACH_SETTLED: :EXTERNAL_ACH_SETTLED
|
294
|
+
EXTERNAL_CHECK_CANCELED: :EXTERNAL_CHECK_CANCELED
|
295
|
+
EXTERNAL_CHECK_INITIATED: :EXTERNAL_CHECK_INITIATED
|
296
|
+
EXTERNAL_CHECK_RELEASED: :EXTERNAL_CHECK_RELEASED
|
297
|
+
EXTERNAL_CHECK_REVERSED: :EXTERNAL_CHECK_REVERSED
|
298
|
+
EXTERNAL_CHECK_SETTLED: :EXTERNAL_CHECK_SETTLED
|
299
|
+
EXTERNAL_TRANSFER_CANCELED: :EXTERNAL_TRANSFER_CANCELED
|
300
|
+
EXTERNAL_TRANSFER_INITIATED: :EXTERNAL_TRANSFER_INITIATED
|
301
|
+
EXTERNAL_TRANSFER_RELEASED: :EXTERNAL_TRANSFER_RELEASED
|
302
|
+
EXTERNAL_TRANSFER_REVERSED: :EXTERNAL_TRANSFER_REVERSED
|
303
|
+
EXTERNAL_TRANSFER_SETTLED: :EXTERNAL_TRANSFER_SETTLED
|
304
|
+
EXTERNAL_WIRE_CANCELED: :EXTERNAL_WIRE_CANCELED
|
305
|
+
EXTERNAL_WIRE_INITIATED: :EXTERNAL_WIRE_INITIATED
|
306
|
+
EXTERNAL_WIRE_RELEASED: :EXTERNAL_WIRE_RELEASED
|
307
|
+
EXTERNAL_WIRE_REVERSED: :EXTERNAL_WIRE_REVERSED
|
308
|
+
EXTERNAL_WIRE_SETTLED: :EXTERNAL_WIRE_SETTLED
|
309
|
+
FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
|
310
|
+
FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
|
311
|
+
INTEREST: :INTEREST
|
312
|
+
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
313
|
+
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
314
|
+
LATE_PAYMENT: :LATE_PAYMENT
|
315
|
+
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
316
|
+
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
317
|
+
PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
|
318
|
+
PROVISIONAL_CREDIT_REVERSAL: :PROVISIONAL_CREDIT_REVERSAL
|
319
|
+
SERVICE: :SERVICE
|
320
|
+
RETURN: :RETURN
|
321
|
+
RETURN_REVERSAL: :RETURN_REVERSAL
|
322
|
+
TRANSFER: :TRANSFER
|
323
|
+
TRANSFER_INSUFFICIENT_FUNDS: :TRANSFER_INSUFFICIENT_FUNDS
|
324
|
+
RETURNED_PAYMENT: :RETURNED_PAYMENT
|
325
|
+
RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
|
326
|
+
LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
|
327
|
+
|
328
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::Event::type_]
|
329
|
+
end
|
330
|
+
end
|
331
|
+
|
332
|
+
type family =
|
333
|
+
:CARD
|
334
|
+
| :PAYMENT
|
335
|
+
| :TRANSFER
|
336
|
+
| :INTERNAL
|
337
|
+
| :EXTERNAL_PAYMENT
|
338
|
+
| :MANAGEMENT_OPERATION
|
339
|
+
|
340
|
+
module Family
|
341
|
+
extend Lithic::Internal::Type::Enum
|
342
|
+
|
343
|
+
CARD: :CARD
|
344
|
+
PAYMENT: :PAYMENT
|
345
|
+
TRANSFER: :TRANSFER
|
346
|
+
INTERNAL: :INTERNAL
|
347
|
+
EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
|
348
|
+
MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
|
349
|
+
|
350
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::family]
|
351
|
+
end
|
352
|
+
|
353
|
+
type result = :APPROVED | :DECLINED
|
354
|
+
|
355
|
+
module Result
|
356
|
+
extend Lithic::Internal::Type::Enum
|
357
|
+
|
358
|
+
APPROVED: :APPROVED
|
359
|
+
DECLINED: :DECLINED
|
360
|
+
|
361
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::result]
|
362
|
+
end
|
363
|
+
|
364
|
+
type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
|
365
|
+
|
366
|
+
module Status
|
367
|
+
extend Lithic::Internal::Type::Enum
|
368
|
+
|
369
|
+
PENDING: :PENDING
|
370
|
+
SETTLED: :SETTLED
|
371
|
+
DECLINED: :DECLINED
|
372
|
+
REVERSED: :REVERSED
|
373
|
+
CANCELED: :CANCELED
|
374
|
+
|
375
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::FinancialTransaction::status]
|
376
|
+
end
|
377
|
+
end
|
378
|
+
|
379
|
+
type book_transfer_transaction =
|
380
|
+
{
|
381
|
+
token: String,
|
382
|
+
category: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::category,
|
383
|
+
created: Time,
|
384
|
+
currency: String,
|
385
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event],
|
386
|
+
family: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::family,
|
387
|
+
from_financial_account_token: String,
|
388
|
+
pending_amount: Integer,
|
389
|
+
result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::result,
|
390
|
+
settled_amount: Integer,
|
391
|
+
status: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::status,
|
392
|
+
to_financial_account_token: String,
|
393
|
+
updated: Time,
|
394
|
+
external_id: String,
|
395
|
+
external_resource: Lithic::ExternalResource?,
|
396
|
+
transaction_series: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries?
|
397
|
+
}
|
398
|
+
|
399
|
+
class BookTransferTransaction < Lithic::Internal::Type::BaseModel
|
400
|
+
attr_accessor token: String
|
401
|
+
|
402
|
+
attr_accessor category: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::category
|
403
|
+
|
404
|
+
attr_accessor created: Time
|
405
|
+
|
406
|
+
attr_accessor currency: String
|
407
|
+
|
408
|
+
attr_accessor events: ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event]
|
409
|
+
|
410
|
+
attr_accessor family: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::family
|
411
|
+
|
412
|
+
attr_accessor from_financial_account_token: String
|
413
|
+
|
414
|
+
attr_accessor pending_amount: Integer
|
415
|
+
|
416
|
+
attr_accessor result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::result
|
417
|
+
|
418
|
+
attr_accessor settled_amount: Integer
|
419
|
+
|
420
|
+
attr_accessor status: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::status
|
421
|
+
|
422
|
+
attr_accessor to_financial_account_token: String
|
423
|
+
|
424
|
+
attr_accessor updated: Time
|
425
|
+
|
426
|
+
attr_reader external_id: String?
|
427
|
+
|
428
|
+
def external_id=: (String) -> String
|
429
|
+
|
430
|
+
attr_accessor external_resource: Lithic::ExternalResource?
|
431
|
+
|
432
|
+
attr_accessor transaction_series: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries?
|
433
|
+
|
434
|
+
def initialize: (
|
435
|
+
token: String,
|
436
|
+
category: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::category,
|
437
|
+
created: Time,
|
438
|
+
currency: String,
|
439
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event],
|
440
|
+
family: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::family,
|
441
|
+
from_financial_account_token: String,
|
442
|
+
pending_amount: Integer,
|
443
|
+
result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::result,
|
444
|
+
settled_amount: Integer,
|
445
|
+
status: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::status,
|
446
|
+
to_financial_account_token: String,
|
447
|
+
updated: Time,
|
448
|
+
?external_id: String,
|
449
|
+
?external_resource: Lithic::ExternalResource?,
|
450
|
+
?transaction_series: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries?
|
451
|
+
) -> void
|
452
|
+
|
453
|
+
def to_hash: -> {
|
454
|
+
token: String,
|
455
|
+
category: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::category,
|
456
|
+
created: Time,
|
457
|
+
currency: String,
|
458
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event],
|
459
|
+
family: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::family,
|
460
|
+
from_financial_account_token: String,
|
461
|
+
pending_amount: Integer,
|
462
|
+
result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::result,
|
463
|
+
settled_amount: Integer,
|
464
|
+
status: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::status,
|
465
|
+
to_financial_account_token: String,
|
466
|
+
updated: Time,
|
467
|
+
external_id: String,
|
468
|
+
external_resource: Lithic::ExternalResource?,
|
469
|
+
transaction_series: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::TransactionSeries?
|
470
|
+
}
|
471
|
+
|
472
|
+
type category =
|
473
|
+
:ACH
|
474
|
+
| :BALANCE_OR_FUNDING
|
475
|
+
| :CARD
|
476
|
+
| :EXTERNAL_ACH
|
477
|
+
| :EXTERNAL_CHECK
|
478
|
+
| :EXTERNAL_TRANSFER
|
479
|
+
| :EXTERNAL_WIRE
|
480
|
+
| :MANAGEMENT_ADJUSTMENT
|
481
|
+
| :MANAGEMENT_DISPUTE
|
482
|
+
| :MANAGEMENT_FEE
|
483
|
+
| :MANAGEMENT_REWARD
|
484
|
+
| :MANAGEMENT_DISBURSEMENT
|
485
|
+
| :PROGRAM_FUNDING
|
486
|
+
|
487
|
+
module Category
|
488
|
+
extend Lithic::Internal::Type::Enum
|
489
|
+
|
490
|
+
ACH: :ACH
|
491
|
+
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
492
|
+
CARD: :CARD
|
493
|
+
EXTERNAL_ACH: :EXTERNAL_ACH
|
494
|
+
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
495
|
+
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
496
|
+
EXTERNAL_WIRE: :EXTERNAL_WIRE
|
497
|
+
MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
|
498
|
+
MANAGEMENT_DISPUTE: :MANAGEMENT_DISPUTE
|
499
|
+
MANAGEMENT_FEE: :MANAGEMENT_FEE
|
500
|
+
MANAGEMENT_REWARD: :MANAGEMENT_REWARD
|
501
|
+
MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
|
502
|
+
PROGRAM_FUNDING: :PROGRAM_FUNDING
|
503
|
+
|
504
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::category]
|
505
|
+
end
|
506
|
+
|
507
|
+
type event =
|
508
|
+
{
|
509
|
+
token: String,
|
510
|
+
amount: Integer,
|
511
|
+
created: Time,
|
512
|
+
detailed_results: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::detailed_results,
|
513
|
+
memo: String,
|
514
|
+
result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::result,
|
515
|
+
subtype: String,
|
516
|
+
type: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::type_
|
517
|
+
}
|
518
|
+
|
519
|
+
class Event < Lithic::Internal::Type::BaseModel
|
520
|
+
attr_accessor token: String
|
521
|
+
|
522
|
+
attr_accessor amount: Integer
|
523
|
+
|
524
|
+
attr_accessor created: Time
|
525
|
+
|
526
|
+
attr_accessor detailed_results: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::detailed_results
|
527
|
+
|
528
|
+
attr_accessor memo: String
|
529
|
+
|
530
|
+
attr_accessor result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::result
|
531
|
+
|
532
|
+
attr_accessor subtype: String
|
533
|
+
|
534
|
+
attr_accessor type: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::type_
|
535
|
+
|
536
|
+
def initialize: (
|
537
|
+
token: String,
|
538
|
+
amount: Integer,
|
539
|
+
created: Time,
|
540
|
+
detailed_results: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::detailed_results,
|
541
|
+
memo: String,
|
542
|
+
result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::result,
|
543
|
+
subtype: String,
|
544
|
+
type: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::type_
|
545
|
+
) -> void
|
546
|
+
|
547
|
+
def to_hash: -> {
|
548
|
+
token: String,
|
549
|
+
amount: Integer,
|
550
|
+
created: Time,
|
551
|
+
detailed_results: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::detailed_results,
|
552
|
+
memo: String,
|
553
|
+
result: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::result,
|
554
|
+
subtype: String,
|
555
|
+
type: Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::type_
|
556
|
+
}
|
557
|
+
|
558
|
+
type detailed_results = :APPROVED | :FUNDS_INSUFFICIENT
|
559
|
+
|
560
|
+
module DetailedResults
|
561
|
+
extend Lithic::Internal::Type::Enum
|
562
|
+
|
563
|
+
APPROVED: :APPROVED
|
564
|
+
FUNDS_INSUFFICIENT: :FUNDS_INSUFFICIENT
|
565
|
+
|
566
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::detailed_results]
|
567
|
+
end
|
568
|
+
|
569
|
+
type result = :APPROVED | :DECLINED
|
570
|
+
|
571
|
+
module Result
|
572
|
+
extend Lithic::Internal::Type::Enum
|
573
|
+
|
574
|
+
APPROVED: :APPROVED
|
575
|
+
DECLINED: :DECLINED
|
576
|
+
|
577
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::result]
|
578
|
+
end
|
579
|
+
|
580
|
+
type type_ =
|
581
|
+
:ATM_WITHDRAWAL
|
582
|
+
| :ATM_DECLINE
|
583
|
+
| :INTERNATIONAL_ATM_WITHDRAWAL
|
584
|
+
| :INACTIVITY
|
585
|
+
| :STATEMENT
|
586
|
+
| :MONTHLY
|
587
|
+
| :QUARTERLY
|
588
|
+
| :ANNUAL
|
589
|
+
| :CUSTOMER_SERVICE
|
590
|
+
| :ACCOUNT_MAINTENANCE
|
591
|
+
| :ACCOUNT_ACTIVATION
|
592
|
+
| :ACCOUNT_CLOSURE
|
593
|
+
| :CARD_REPLACEMENT
|
594
|
+
| :CARD_DELIVERY
|
595
|
+
| :CARD_CREATE
|
596
|
+
| :CURRENCY_CONVERSION
|
597
|
+
| :INTEREST
|
598
|
+
| :LATE_PAYMENT
|
599
|
+
| :BILL_PAYMENT
|
600
|
+
| :CASH_BACK
|
601
|
+
| :ACCOUNT_TO_ACCOUNT
|
602
|
+
| :CARD_TO_CARD
|
603
|
+
| :DISBURSE
|
604
|
+
| :BILLING_ERROR
|
605
|
+
| :LOSS_WRITE_OFF
|
606
|
+
| :EXPIRED_CARD
|
607
|
+
| :EARLY_DERECOGNITION
|
608
|
+
| :ESCHEATMENT
|
609
|
+
| :INACTIVITY_FEE_DOWN
|
610
|
+
| :PROVISIONAL_CREDIT
|
611
|
+
| :DISPUTE_WON
|
612
|
+
| :SERVICE
|
613
|
+
| :TRANSFER
|
614
|
+
| :COLLECTION
|
615
|
+
|
616
|
+
module Type
|
617
|
+
extend Lithic::Internal::Type::Enum
|
618
|
+
|
619
|
+
ATM_WITHDRAWAL: :ATM_WITHDRAWAL
|
620
|
+
ATM_DECLINE: :ATM_DECLINE
|
621
|
+
INTERNATIONAL_ATM_WITHDRAWAL: :INTERNATIONAL_ATM_WITHDRAWAL
|
622
|
+
INACTIVITY: :INACTIVITY
|
623
|
+
STATEMENT: :STATEMENT
|
624
|
+
MONTHLY: :MONTHLY
|
625
|
+
QUARTERLY: :QUARTERLY
|
626
|
+
ANNUAL: :ANNUAL
|
627
|
+
CUSTOMER_SERVICE: :CUSTOMER_SERVICE
|
628
|
+
ACCOUNT_MAINTENANCE: :ACCOUNT_MAINTENANCE
|
629
|
+
ACCOUNT_ACTIVATION: :ACCOUNT_ACTIVATION
|
630
|
+
ACCOUNT_CLOSURE: :ACCOUNT_CLOSURE
|
631
|
+
CARD_REPLACEMENT: :CARD_REPLACEMENT
|
632
|
+
CARD_DELIVERY: :CARD_DELIVERY
|
633
|
+
CARD_CREATE: :CARD_CREATE
|
634
|
+
CURRENCY_CONVERSION: :CURRENCY_CONVERSION
|
635
|
+
INTEREST: :INTEREST
|
636
|
+
LATE_PAYMENT: :LATE_PAYMENT
|
637
|
+
BILL_PAYMENT: :BILL_PAYMENT
|
638
|
+
CASH_BACK: :CASH_BACK
|
639
|
+
ACCOUNT_TO_ACCOUNT: :ACCOUNT_TO_ACCOUNT
|
640
|
+
CARD_TO_CARD: :CARD_TO_CARD
|
641
|
+
DISBURSE: :DISBURSE
|
642
|
+
BILLING_ERROR: :BILLING_ERROR
|
643
|
+
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
644
|
+
EXPIRED_CARD: :EXPIRED_CARD
|
645
|
+
EARLY_DERECOGNITION: :EARLY_DERECOGNITION
|
646
|
+
ESCHEATMENT: :ESCHEATMENT
|
647
|
+
INACTIVITY_FEE_DOWN: :INACTIVITY_FEE_DOWN
|
648
|
+
PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
|
649
|
+
DISPUTE_WON: :DISPUTE_WON
|
650
|
+
SERVICE: :SERVICE
|
651
|
+
TRANSFER: :TRANSFER
|
652
|
+
COLLECTION: :COLLECTION
|
653
|
+
|
654
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::Event::type_]
|
655
|
+
end
|
656
|
+
end
|
657
|
+
|
658
|
+
type family =
|
659
|
+
:CARD
|
660
|
+
| :PAYMENT
|
661
|
+
| :TRANSFER
|
662
|
+
| :INTERNAL
|
663
|
+
| :EXTERNAL_PAYMENT
|
664
|
+
| :MANAGEMENT_OPERATION
|
665
|
+
|
666
|
+
module Family
|
667
|
+
extend Lithic::Internal::Type::Enum
|
668
|
+
|
669
|
+
CARD: :CARD
|
670
|
+
PAYMENT: :PAYMENT
|
671
|
+
TRANSFER: :TRANSFER
|
672
|
+
INTERNAL: :INTERNAL
|
673
|
+
EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
|
674
|
+
MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
|
675
|
+
|
676
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::family]
|
677
|
+
end
|
678
|
+
|
679
|
+
type result = :APPROVED | :DECLINED
|
680
|
+
|
681
|
+
module Result
|
682
|
+
extend Lithic::Internal::Type::Enum
|
683
|
+
|
684
|
+
APPROVED: :APPROVED
|
685
|
+
DECLINED: :DECLINED
|
686
|
+
|
687
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::result]
|
688
|
+
end
|
689
|
+
|
690
|
+
type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
|
691
|
+
|
692
|
+
module Status
|
693
|
+
extend Lithic::Internal::Type::Enum
|
694
|
+
|
695
|
+
PENDING: :PENDING
|
696
|
+
SETTLED: :SETTLED
|
697
|
+
DECLINED: :DECLINED
|
698
|
+
REVERSED: :REVERSED
|
699
|
+
CANCELED: :CANCELED
|
700
|
+
|
701
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::BookTransferTransaction::status]
|
702
|
+
end
|
703
|
+
|
704
|
+
type transaction_series =
|
705
|
+
{
|
706
|
+
related_transaction_event_token: String?,
|
707
|
+
related_transaction_token: String?,
|
708
|
+
type: String
|
709
|
+
}
|
710
|
+
|
711
|
+
class TransactionSeries < Lithic::Internal::Type::BaseModel
|
712
|
+
attr_accessor related_transaction_event_token: String?
|
713
|
+
|
714
|
+
attr_accessor related_transaction_token: String?
|
715
|
+
|
716
|
+
attr_accessor type: String
|
717
|
+
|
718
|
+
def initialize: (
|
719
|
+
related_transaction_event_token: String?,
|
720
|
+
related_transaction_token: String?,
|
721
|
+
type: String
|
722
|
+
) -> void
|
723
|
+
|
724
|
+
def to_hash: -> {
|
725
|
+
related_transaction_event_token: String?,
|
726
|
+
related_transaction_token: String?,
|
727
|
+
type: String
|
728
|
+
}
|
729
|
+
end
|
730
|
+
end
|
731
|
+
|
732
|
+
type card_transaction =
|
733
|
+
{
|
734
|
+
token: String,
|
735
|
+
created: Time,
|
736
|
+
family: Lithic::Models::AccountActivityListResponse::CardTransaction::family,
|
737
|
+
status: Lithic::Models::AccountActivityListResponse::CardTransaction::status,
|
738
|
+
updated: Time
|
739
|
+
}
|
740
|
+
|
741
|
+
class CardTransaction < Lithic::Models::Transaction
|
742
|
+
def token: -> String
|
743
|
+
|
744
|
+
def token=: (String _) -> String
|
745
|
+
|
746
|
+
def created: -> Time
|
747
|
+
|
748
|
+
def created=: (Time _) -> Time
|
749
|
+
|
750
|
+
def family: -> Lithic::Models::AccountActivityListResponse::CardTransaction::family
|
751
|
+
|
752
|
+
def family=: (
|
753
|
+
Lithic::Models::AccountActivityListResponse::CardTransaction::family _
|
754
|
+
) -> Lithic::Models::AccountActivityListResponse::CardTransaction::family
|
755
|
+
|
756
|
+
def status: -> Lithic::Models::AccountActivityListResponse::CardTransaction::status
|
757
|
+
|
758
|
+
def status=: (
|
759
|
+
Lithic::Models::AccountActivityListResponse::CardTransaction::status _
|
760
|
+
) -> Lithic::Models::AccountActivityListResponse::CardTransaction::status
|
761
|
+
|
762
|
+
def updated: -> Time
|
763
|
+
|
764
|
+
def updated=: (Time _) -> Time
|
765
|
+
|
766
|
+
def initialize: (
|
767
|
+
token: String,
|
768
|
+
created: Time,
|
769
|
+
family: Lithic::Models::AccountActivityListResponse::CardTransaction::family,
|
770
|
+
status: Lithic::Models::AccountActivityListResponse::CardTransaction::status,
|
771
|
+
updated: Time
|
772
|
+
) -> void
|
773
|
+
|
774
|
+
def to_hash: -> {
|
775
|
+
token: String,
|
776
|
+
created: Time,
|
777
|
+
family: Lithic::Models::AccountActivityListResponse::CardTransaction::family,
|
778
|
+
status: Lithic::Models::AccountActivityListResponse::CardTransaction::status,
|
779
|
+
updated: Time
|
780
|
+
}
|
781
|
+
|
782
|
+
type family =
|
783
|
+
:CARD
|
784
|
+
| :PAYMENT
|
785
|
+
| :TRANSFER
|
786
|
+
| :INTERNAL
|
787
|
+
| :EXTERNAL_PAYMENT
|
788
|
+
| :MANAGEMENT_OPERATION
|
789
|
+
|
790
|
+
module Family
|
791
|
+
extend Lithic::Internal::Type::Enum
|
792
|
+
|
793
|
+
CARD: :CARD
|
794
|
+
PAYMENT: :PAYMENT
|
795
|
+
TRANSFER: :TRANSFER
|
796
|
+
INTERNAL: :INTERNAL
|
797
|
+
EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
|
798
|
+
MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
|
799
|
+
|
800
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::CardTransaction::family]
|
801
|
+
end
|
802
|
+
|
803
|
+
type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
|
804
|
+
|
805
|
+
module Status
|
806
|
+
extend Lithic::Internal::Type::Enum
|
807
|
+
|
808
|
+
PENDING: :PENDING
|
809
|
+
SETTLED: :SETTLED
|
810
|
+
DECLINED: :DECLINED
|
811
|
+
REVERSED: :REVERSED
|
812
|
+
CANCELED: :CANCELED
|
813
|
+
|
814
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::CardTransaction::status]
|
815
|
+
end
|
816
|
+
end
|
817
|
+
|
818
|
+
type payment_transaction =
|
819
|
+
{
|
820
|
+
token: String,
|
821
|
+
category: Lithic::Models::AccountActivityListResponse::PaymentTransaction::category,
|
822
|
+
created: Time,
|
823
|
+
descriptor: String,
|
824
|
+
direction: Lithic::Models::AccountActivityListResponse::PaymentTransaction::direction,
|
825
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event],
|
826
|
+
family: Lithic::Models::AccountActivityListResponse::PaymentTransaction::family,
|
827
|
+
financial_account_token: String,
|
828
|
+
method_: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_,
|
829
|
+
method_attributes: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_attributes,
|
830
|
+
pending_amount: Integer,
|
831
|
+
related_account_tokens: Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens,
|
832
|
+
result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::result,
|
833
|
+
settled_amount: Integer,
|
834
|
+
source: Lithic::Models::AccountActivityListResponse::PaymentTransaction::source,
|
835
|
+
status: Lithic::Models::AccountActivityListResponse::PaymentTransaction::status,
|
836
|
+
updated: Time,
|
837
|
+
currency: String,
|
838
|
+
expected_release_date: Date?,
|
839
|
+
external_bank_account_token: String?,
|
840
|
+
type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::type_,
|
841
|
+
user_defined_id: String?
|
842
|
+
}
|
843
|
+
|
844
|
+
class PaymentTransaction < Lithic::Internal::Type::BaseModel
|
845
|
+
attr_accessor token: String
|
846
|
+
|
847
|
+
attr_accessor category: Lithic::Models::AccountActivityListResponse::PaymentTransaction::category
|
848
|
+
|
849
|
+
attr_accessor created: Time
|
850
|
+
|
851
|
+
attr_accessor descriptor: String
|
852
|
+
|
853
|
+
attr_accessor direction: Lithic::Models::AccountActivityListResponse::PaymentTransaction::direction
|
854
|
+
|
855
|
+
attr_accessor events: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event]
|
856
|
+
|
857
|
+
attr_accessor family: Lithic::Models::AccountActivityListResponse::PaymentTransaction::family
|
858
|
+
|
859
|
+
attr_accessor financial_account_token: String
|
860
|
+
|
861
|
+
attr_accessor method_: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_
|
862
|
+
|
863
|
+
attr_accessor method_attributes: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_attributes
|
864
|
+
|
865
|
+
attr_accessor pending_amount: Integer
|
866
|
+
|
867
|
+
attr_accessor related_account_tokens: Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens
|
868
|
+
|
869
|
+
attr_accessor result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::result
|
870
|
+
|
871
|
+
attr_accessor settled_amount: Integer
|
872
|
+
|
873
|
+
attr_accessor source: Lithic::Models::AccountActivityListResponse::PaymentTransaction::source
|
874
|
+
|
875
|
+
attr_accessor status: Lithic::Models::AccountActivityListResponse::PaymentTransaction::status
|
876
|
+
|
877
|
+
attr_accessor updated: Time
|
878
|
+
|
879
|
+
attr_reader currency: String?
|
880
|
+
|
881
|
+
def currency=: (String) -> String
|
882
|
+
|
883
|
+
attr_accessor expected_release_date: Date?
|
884
|
+
|
885
|
+
attr_accessor external_bank_account_token: String?
|
886
|
+
|
887
|
+
attr_reader type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::type_?
|
888
|
+
|
889
|
+
def type=: (
|
890
|
+
Lithic::Models::AccountActivityListResponse::PaymentTransaction::type_
|
891
|
+
) -> Lithic::Models::AccountActivityListResponse::PaymentTransaction::type_
|
892
|
+
|
893
|
+
attr_accessor user_defined_id: String?
|
894
|
+
|
895
|
+
def initialize: (
|
896
|
+
token: String,
|
897
|
+
category: Lithic::Models::AccountActivityListResponse::PaymentTransaction::category,
|
898
|
+
created: Time,
|
899
|
+
descriptor: String,
|
900
|
+
direction: Lithic::Models::AccountActivityListResponse::PaymentTransaction::direction,
|
901
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event],
|
902
|
+
family: Lithic::Models::AccountActivityListResponse::PaymentTransaction::family,
|
903
|
+
financial_account_token: String,
|
904
|
+
method_: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_,
|
905
|
+
method_attributes: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_attributes,
|
906
|
+
pending_amount: Integer,
|
907
|
+
related_account_tokens: Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens,
|
908
|
+
result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::result,
|
909
|
+
settled_amount: Integer,
|
910
|
+
source: Lithic::Models::AccountActivityListResponse::PaymentTransaction::source,
|
911
|
+
status: Lithic::Models::AccountActivityListResponse::PaymentTransaction::status,
|
912
|
+
updated: Time,
|
913
|
+
?currency: String,
|
914
|
+
?expected_release_date: Date?,
|
915
|
+
?external_bank_account_token: String?,
|
916
|
+
?type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::type_,
|
917
|
+
?user_defined_id: String?
|
918
|
+
) -> void
|
919
|
+
|
920
|
+
def to_hash: -> {
|
921
|
+
token: String,
|
922
|
+
category: Lithic::Models::AccountActivityListResponse::PaymentTransaction::category,
|
923
|
+
created: Time,
|
924
|
+
descriptor: String,
|
925
|
+
direction: Lithic::Models::AccountActivityListResponse::PaymentTransaction::direction,
|
926
|
+
events: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event],
|
927
|
+
family: Lithic::Models::AccountActivityListResponse::PaymentTransaction::family,
|
928
|
+
financial_account_token: String,
|
929
|
+
method_: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_,
|
930
|
+
method_attributes: Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_attributes,
|
931
|
+
pending_amount: Integer,
|
932
|
+
related_account_tokens: Lithic::Models::AccountActivityListResponse::PaymentTransaction::RelatedAccountTokens,
|
933
|
+
result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::result,
|
934
|
+
settled_amount: Integer,
|
935
|
+
source: Lithic::Models::AccountActivityListResponse::PaymentTransaction::source,
|
936
|
+
status: Lithic::Models::AccountActivityListResponse::PaymentTransaction::status,
|
937
|
+
updated: Time,
|
938
|
+
currency: String,
|
939
|
+
expected_release_date: Date?,
|
940
|
+
external_bank_account_token: String?,
|
941
|
+
type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::type_,
|
942
|
+
user_defined_id: String?
|
943
|
+
}
|
944
|
+
|
945
|
+
type category =
|
946
|
+
:ACH
|
947
|
+
| :BALANCE_OR_FUNDING
|
948
|
+
| :CARD
|
949
|
+
| :EXTERNAL_ACH
|
950
|
+
| :EXTERNAL_CHECK
|
951
|
+
| :EXTERNAL_TRANSFER
|
952
|
+
| :EXTERNAL_WIRE
|
953
|
+
| :MANAGEMENT_ADJUSTMENT
|
954
|
+
| :MANAGEMENT_DISPUTE
|
955
|
+
| :MANAGEMENT_FEE
|
956
|
+
| :MANAGEMENT_REWARD
|
957
|
+
| :MANAGEMENT_DISBURSEMENT
|
958
|
+
| :PROGRAM_FUNDING
|
959
|
+
|
960
|
+
module Category
|
961
|
+
extend Lithic::Internal::Type::Enum
|
962
|
+
|
963
|
+
ACH: :ACH
|
964
|
+
BALANCE_OR_FUNDING: :BALANCE_OR_FUNDING
|
965
|
+
CARD: :CARD
|
966
|
+
EXTERNAL_ACH: :EXTERNAL_ACH
|
967
|
+
EXTERNAL_CHECK: :EXTERNAL_CHECK
|
968
|
+
EXTERNAL_TRANSFER: :EXTERNAL_TRANSFER
|
969
|
+
EXTERNAL_WIRE: :EXTERNAL_WIRE
|
970
|
+
MANAGEMENT_ADJUSTMENT: :MANAGEMENT_ADJUSTMENT
|
971
|
+
MANAGEMENT_DISPUTE: :MANAGEMENT_DISPUTE
|
972
|
+
MANAGEMENT_FEE: :MANAGEMENT_FEE
|
973
|
+
MANAGEMENT_REWARD: :MANAGEMENT_REWARD
|
974
|
+
MANAGEMENT_DISBURSEMENT: :MANAGEMENT_DISBURSEMENT
|
975
|
+
PROGRAM_FUNDING: :PROGRAM_FUNDING
|
976
|
+
|
977
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::category]
|
978
|
+
end
|
979
|
+
|
980
|
+
type direction = :CREDIT | :DEBIT
|
981
|
+
|
982
|
+
module Direction
|
983
|
+
extend Lithic::Internal::Type::Enum
|
984
|
+
|
985
|
+
CREDIT: :CREDIT
|
986
|
+
DEBIT: :DEBIT
|
987
|
+
|
988
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::direction]
|
989
|
+
end
|
990
|
+
|
991
|
+
type event =
|
992
|
+
{
|
993
|
+
token: String,
|
994
|
+
amount: Integer,
|
995
|
+
created: Time,
|
996
|
+
result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::result,
|
997
|
+
type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::type_,
|
998
|
+
detailed_results: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::detailed_result]
|
999
|
+
}
|
1000
|
+
|
1001
|
+
class Event < Lithic::Internal::Type::BaseModel
|
1002
|
+
attr_accessor token: String
|
1003
|
+
|
1004
|
+
attr_accessor amount: Integer
|
1005
|
+
|
1006
|
+
attr_accessor created: Time
|
1007
|
+
|
1008
|
+
attr_accessor result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::result
|
1009
|
+
|
1010
|
+
attr_accessor type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::type_
|
1011
|
+
|
1012
|
+
attr_reader detailed_results: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::detailed_result]?
|
1013
|
+
|
1014
|
+
def detailed_results=: (
|
1015
|
+
::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::detailed_result]
|
1016
|
+
) -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::detailed_result]
|
1017
|
+
|
1018
|
+
def initialize: (
|
1019
|
+
token: String,
|
1020
|
+
amount: Integer,
|
1021
|
+
created: Time,
|
1022
|
+
result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::result,
|
1023
|
+
type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::type_,
|
1024
|
+
?detailed_results: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::detailed_result]
|
1025
|
+
) -> void
|
1026
|
+
|
1027
|
+
def to_hash: -> {
|
1028
|
+
token: String,
|
1029
|
+
amount: Integer,
|
1030
|
+
created: Time,
|
1031
|
+
result: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::result,
|
1032
|
+
type: Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::type_,
|
1033
|
+
detailed_results: ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::detailed_result]
|
1034
|
+
}
|
1035
|
+
|
1036
|
+
type result = :APPROVED | :DECLINED
|
1037
|
+
|
1038
|
+
module Result
|
1039
|
+
extend Lithic::Internal::Type::Enum
|
1040
|
+
|
1041
|
+
APPROVED: :APPROVED
|
1042
|
+
DECLINED: :DECLINED
|
1043
|
+
|
1044
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::result]
|
1045
|
+
end
|
1046
|
+
|
1047
|
+
type type_ =
|
1048
|
+
:ACH_ORIGINATION_CANCELLED
|
1049
|
+
| :ACH_ORIGINATION_INITIATED
|
1050
|
+
| :ACH_ORIGINATION_PROCESSED
|
1051
|
+
| :ACH_ORIGINATION_SETTLED
|
1052
|
+
| :ACH_ORIGINATION_RELEASED
|
1053
|
+
| :ACH_ORIGINATION_REVIEWED
|
1054
|
+
| :ACH_RECEIPT_PROCESSED
|
1055
|
+
| :ACH_RECEIPT_SETTLED
|
1056
|
+
| :ACH_RETURN_INITIATED
|
1057
|
+
| :ACH_RETURN_PROCESSED
|
1058
|
+
| :ACH_RETURN_SETTLED
|
1059
|
+
|
1060
|
+
module Type
|
1061
|
+
extend Lithic::Internal::Type::Enum
|
1062
|
+
|
1063
|
+
ACH_ORIGINATION_CANCELLED: :ACH_ORIGINATION_CANCELLED
|
1064
|
+
ACH_ORIGINATION_INITIATED: :ACH_ORIGINATION_INITIATED
|
1065
|
+
ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
|
1066
|
+
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
1067
|
+
ACH_ORIGINATION_RELEASED: :ACH_ORIGINATION_RELEASED
|
1068
|
+
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
1069
|
+
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
1070
|
+
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
1071
|
+
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
1072
|
+
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
1073
|
+
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
1074
|
+
|
1075
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::type_]
|
1076
|
+
end
|
1077
|
+
|
1078
|
+
type detailed_result =
|
1079
|
+
:APPROVED
|
1080
|
+
| :FUNDS_INSUFFICIENT
|
1081
|
+
| :ACCOUNT_INVALID
|
1082
|
+
| :PROGRAM_TRANSACTION_LIMIT_EXCEEDED
|
1083
|
+
| :PROGRAM_DAILY_LIMIT_EXCEEDED
|
1084
|
+
| :PROGRAM_MONTHLY_LIMIT_EXCEEDED
|
1085
|
+
|
1086
|
+
module DetailedResult
|
1087
|
+
extend Lithic::Internal::Type::Enum
|
1088
|
+
|
1089
|
+
APPROVED: :APPROVED
|
1090
|
+
FUNDS_INSUFFICIENT: :FUNDS_INSUFFICIENT
|
1091
|
+
ACCOUNT_INVALID: :ACCOUNT_INVALID
|
1092
|
+
PROGRAM_TRANSACTION_LIMIT_EXCEEDED: :PROGRAM_TRANSACTION_LIMIT_EXCEEDED
|
1093
|
+
PROGRAM_DAILY_LIMIT_EXCEEDED: :PROGRAM_DAILY_LIMIT_EXCEEDED
|
1094
|
+
PROGRAM_MONTHLY_LIMIT_EXCEEDED: :PROGRAM_MONTHLY_LIMIT_EXCEEDED
|
1095
|
+
|
1096
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::Event::detailed_result]
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
type family =
|
1101
|
+
:CARD
|
1102
|
+
| :PAYMENT
|
1103
|
+
| :TRANSFER
|
1104
|
+
| :INTERNAL
|
1105
|
+
| :EXTERNAL_PAYMENT
|
1106
|
+
| :MANAGEMENT_OPERATION
|
1107
|
+
|
1108
|
+
module Family
|
1109
|
+
extend Lithic::Internal::Type::Enum
|
1110
|
+
|
1111
|
+
CARD: :CARD
|
1112
|
+
PAYMENT: :PAYMENT
|
1113
|
+
TRANSFER: :TRANSFER
|
1114
|
+
INTERNAL: :INTERNAL
|
1115
|
+
EXTERNAL_PAYMENT: :EXTERNAL_PAYMENT
|
1116
|
+
MANAGEMENT_OPERATION: :MANAGEMENT_OPERATION
|
1117
|
+
|
1118
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::family]
|
1119
|
+
end
|
1120
|
+
|
1121
|
+
type method_ = :ACH_NEXT_DAY | :ACH_SAME_DAY | :WIRE
|
1122
|
+
|
1123
|
+
module Method
|
1124
|
+
extend Lithic::Internal::Type::Enum
|
1125
|
+
|
1126
|
+
ACH_NEXT_DAY: :ACH_NEXT_DAY
|
1127
|
+
ACH_SAME_DAY: :ACH_SAME_DAY
|
1128
|
+
WIRE: :WIRE
|
1129
|
+
|
1130
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_]
|
1131
|
+
end
|
1132
|
+
|
1133
|
+
type method_attributes =
|
1134
|
+
Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes
|
1135
|
+
| Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes
|
1136
|
+
|
1137
|
+
module MethodAttributes
|
1138
|
+
extend Lithic::Internal::Type::Union
|
1139
|
+
|
1140
|
+
type ach_method_attributes =
|
1141
|
+
{
|
1142
|
+
sec_code: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code,
|
1143
|
+
addenda: String?,
|
1144
|
+
company_id: String?,
|
1145
|
+
receipt_routing_number: String?,
|
1146
|
+
retries: Integer?,
|
1147
|
+
return_reason_code: String?,
|
1148
|
+
trace_numbers: ::Array[String]
|
1149
|
+
}
|
1150
|
+
|
1151
|
+
class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
|
1152
|
+
attr_accessor sec_code: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code
|
1153
|
+
|
1154
|
+
attr_accessor addenda: String?
|
1155
|
+
|
1156
|
+
attr_accessor company_id: String?
|
1157
|
+
|
1158
|
+
attr_accessor receipt_routing_number: String?
|
1159
|
+
|
1160
|
+
attr_accessor retries: Integer?
|
1161
|
+
|
1162
|
+
attr_accessor return_reason_code: String?
|
1163
|
+
|
1164
|
+
attr_reader trace_numbers: ::Array[String]?
|
1165
|
+
|
1166
|
+
def trace_numbers=: (::Array[String]) -> ::Array[String]
|
1167
|
+
|
1168
|
+
def initialize: (
|
1169
|
+
sec_code: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code,
|
1170
|
+
?addenda: String?,
|
1171
|
+
?company_id: String?,
|
1172
|
+
?receipt_routing_number: String?,
|
1173
|
+
?retries: Integer?,
|
1174
|
+
?return_reason_code: String?,
|
1175
|
+
?trace_numbers: ::Array[String]
|
1176
|
+
) -> void
|
1177
|
+
|
1178
|
+
def to_hash: -> {
|
1179
|
+
sec_code: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code,
|
1180
|
+
addenda: String?,
|
1181
|
+
company_id: String?,
|
1182
|
+
receipt_routing_number: String?,
|
1183
|
+
retries: Integer?,
|
1184
|
+
return_reason_code: String?,
|
1185
|
+
trace_numbers: ::Array[String]
|
1186
|
+
}
|
1187
|
+
|
1188
|
+
type sec_code = :CCD | :PPD | :WEB | :TEL | :CIE | :CTX
|
1189
|
+
|
1190
|
+
module SecCode
|
1191
|
+
extend Lithic::Internal::Type::Enum
|
1192
|
+
|
1193
|
+
CCD: :CCD
|
1194
|
+
PPD: :PPD
|
1195
|
+
WEB: :WEB
|
1196
|
+
TEL: :TEL
|
1197
|
+
CIE: :CIE
|
1198
|
+
CTX: :CTX
|
1199
|
+
|
1200
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::sec_code]
|
1201
|
+
end
|
1202
|
+
end
|
1203
|
+
|
1204
|
+
type wire_method_attributes =
|
1205
|
+
{
|
1206
|
+
wire_network: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network,
|
1207
|
+
creditor: Lithic::WirePartyDetails,
|
1208
|
+
debtor: Lithic::WirePartyDetails,
|
1209
|
+
message_id: String?,
|
1210
|
+
remittance_information: String?,
|
1211
|
+
wire_message_type: String
|
1212
|
+
}
|
1213
|
+
|
1214
|
+
class WireMethodAttributes < Lithic::Internal::Type::BaseModel
|
1215
|
+
attr_accessor wire_network: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network
|
1216
|
+
|
1217
|
+
attr_reader creditor: Lithic::WirePartyDetails?
|
1218
|
+
|
1219
|
+
def creditor=: (
|
1220
|
+
Lithic::WirePartyDetails
|
1221
|
+
) -> Lithic::WirePartyDetails
|
1222
|
+
|
1223
|
+
attr_reader debtor: Lithic::WirePartyDetails?
|
1224
|
+
|
1225
|
+
def debtor=: (Lithic::WirePartyDetails) -> Lithic::WirePartyDetails
|
1226
|
+
|
1227
|
+
attr_accessor message_id: String?
|
1228
|
+
|
1229
|
+
attr_accessor remittance_information: String?
|
1230
|
+
|
1231
|
+
attr_reader wire_message_type: String?
|
1232
|
+
|
1233
|
+
def wire_message_type=: (String) -> String
|
1234
|
+
|
1235
|
+
def initialize: (
|
1236
|
+
wire_network: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network,
|
1237
|
+
?creditor: Lithic::WirePartyDetails,
|
1238
|
+
?debtor: Lithic::WirePartyDetails,
|
1239
|
+
?message_id: String?,
|
1240
|
+
?remittance_information: String?,
|
1241
|
+
?wire_message_type: String
|
1242
|
+
) -> void
|
1243
|
+
|
1244
|
+
def to_hash: -> {
|
1245
|
+
wire_network: Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network,
|
1246
|
+
creditor: Lithic::WirePartyDetails,
|
1247
|
+
debtor: Lithic::WirePartyDetails,
|
1248
|
+
message_id: String?,
|
1249
|
+
remittance_information: String?,
|
1250
|
+
wire_message_type: String
|
1251
|
+
}
|
1252
|
+
|
1253
|
+
type wire_network = :FEDWIRE | :SWIFT
|
1254
|
+
|
1255
|
+
module WireNetwork
|
1256
|
+
extend Lithic::Internal::Type::Enum
|
1257
|
+
|
1258
|
+
FEDWIRE: :FEDWIRE
|
1259
|
+
SWIFT: :SWIFT
|
1260
|
+
|
1261
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::wire_network]
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
def self?.variants: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::method_attributes]
|
1266
|
+
end
|
1267
|
+
|
1268
|
+
type related_account_tokens =
|
1269
|
+
{ account_token: String?, business_account_token: String? }
|
1270
|
+
|
1271
|
+
class RelatedAccountTokens < Lithic::Internal::Type::BaseModel
|
1272
|
+
attr_accessor account_token: String?
|
1273
|
+
|
1274
|
+
attr_accessor business_account_token: String?
|
1275
|
+
|
1276
|
+
def initialize: (
|
1277
|
+
account_token: String?,
|
1278
|
+
business_account_token: String?
|
1279
|
+
) -> void
|
1280
|
+
|
1281
|
+
def to_hash: -> {
|
1282
|
+
account_token: String?,
|
1283
|
+
business_account_token: String?
|
1284
|
+
}
|
1285
|
+
end
|
1286
|
+
|
1287
|
+
type result = :APPROVED | :DECLINED
|
1288
|
+
|
1289
|
+
module Result
|
1290
|
+
extend Lithic::Internal::Type::Enum
|
1291
|
+
|
1292
|
+
APPROVED: :APPROVED
|
1293
|
+
DECLINED: :DECLINED
|
1294
|
+
|
1295
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::result]
|
1296
|
+
end
|
1297
|
+
|
1298
|
+
type source = :LITHIC | :EXTERNAL | :CUSTOMER
|
1299
|
+
|
1300
|
+
module Source
|
1301
|
+
extend Lithic::Internal::Type::Enum
|
1302
|
+
|
1303
|
+
LITHIC: :LITHIC
|
1304
|
+
EXTERNAL: :EXTERNAL
|
1305
|
+
CUSTOMER: :CUSTOMER
|
1306
|
+
|
1307
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::source]
|
1308
|
+
end
|
1309
|
+
|
1310
|
+
type status = :PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED
|
1311
|
+
|
1312
|
+
module Status
|
1313
|
+
extend Lithic::Internal::Type::Enum
|
1314
|
+
|
1315
|
+
PENDING: :PENDING
|
1316
|
+
SETTLED: :SETTLED
|
1317
|
+
DECLINED: :DECLINED
|
1318
|
+
REVERSED: :REVERSED
|
1319
|
+
CANCELED: :CANCELED
|
1320
|
+
|
1321
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::status]
|
1322
|
+
end
|
1323
|
+
|
1324
|
+
type type_ =
|
1325
|
+
:ORIGINATION_CREDIT
|
1326
|
+
| :ORIGINATION_DEBIT
|
1327
|
+
| :RECEIPT_CREDIT
|
1328
|
+
| :RECEIPT_DEBIT
|
1329
|
+
| :WIRE_INBOUND_PAYMENT
|
1330
|
+
| :WIRE_INBOUND_ADMIN
|
1331
|
+
| :WIRE_OUTBOUND_PAYMENT
|
1332
|
+
| :WIRE_OUTBOUND_ADMIN
|
1333
|
+
|
1334
|
+
module Type
|
1335
|
+
extend Lithic::Internal::Type::Enum
|
1336
|
+
|
1337
|
+
ORIGINATION_CREDIT: :ORIGINATION_CREDIT
|
1338
|
+
ORIGINATION_DEBIT: :ORIGINATION_DEBIT
|
1339
|
+
RECEIPT_CREDIT: :RECEIPT_CREDIT
|
1340
|
+
RECEIPT_DEBIT: :RECEIPT_DEBIT
|
1341
|
+
WIRE_INBOUND_PAYMENT: :WIRE_INBOUND_PAYMENT
|
1342
|
+
WIRE_INBOUND_ADMIN: :WIRE_INBOUND_ADMIN
|
1343
|
+
WIRE_OUTBOUND_PAYMENT: :WIRE_OUTBOUND_PAYMENT
|
1344
|
+
WIRE_OUTBOUND_ADMIN: :WIRE_OUTBOUND_ADMIN
|
1345
|
+
|
1346
|
+
def self?.values: -> ::Array[Lithic::Models::AccountActivityListResponse::PaymentTransaction::type_]
|
1347
|
+
end
|
1348
|
+
end
|
1349
|
+
|
1350
|
+
def self?.variants: -> ::Array[Lithic::Models::account_activity_list_response]
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
end
|