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
|
@@ -2,7 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
module Lithic
|
|
4
4
|
module Models
|
|
5
|
-
# Response containing multiple transaction types
|
|
5
|
+
# Response containing multiple transaction types. The `family` field determines
|
|
6
|
+
# which transaction type is returned: INTERNAL returns FinancialTransaction,
|
|
7
|
+
# TRANSFER returns BookTransferTransaction, CARD returns CardTransaction, PAYMENT
|
|
8
|
+
# returns PaymentTransaction, EXTERNAL_PAYMENT returns ExternalPaymentResponse,
|
|
9
|
+
# and MANAGEMENT_OPERATION returns ManagementOperationTransaction
|
|
6
10
|
#
|
|
7
11
|
# @see Lithic::Resources::AccountActivity#retrieve_transaction
|
|
8
12
|
module AccountActivityRetrieveTransactionResponse
|
|
@@ -11,22 +15,22 @@ module Lithic
|
|
|
11
15
|
discriminator :family
|
|
12
16
|
|
|
13
17
|
# Financial transaction with inheritance from unified base transaction
|
|
14
|
-
variant -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
18
|
+
variant :INTERNAL, -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal }
|
|
15
19
|
|
|
16
20
|
# Book transfer transaction
|
|
17
|
-
variant -> { Lithic::
|
|
21
|
+
variant :TRANSFER, -> { Lithic::BookTransferResponse }
|
|
18
22
|
|
|
19
|
-
#
|
|
20
|
-
variant -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
23
|
+
# Card transaction with ledger base properties
|
|
24
|
+
variant :CARD, -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Card }
|
|
21
25
|
|
|
22
26
|
# Payment transaction
|
|
23
|
-
variant -> { Lithic::
|
|
27
|
+
variant :PAYMENT, -> { Lithic::Payment }
|
|
24
28
|
|
|
25
|
-
variant -> { Lithic::ExternalPayment }
|
|
29
|
+
variant :EXTERNAL_PAYMENT, -> { Lithic::ExternalPayment }
|
|
26
30
|
|
|
27
|
-
variant -> { Lithic::ManagementOperationTransaction }
|
|
31
|
+
variant :MANAGEMENT_OPERATION, -> { Lithic::ManagementOperationTransaction }
|
|
28
32
|
|
|
29
|
-
class
|
|
33
|
+
class Internal < Lithic::Internal::Type::BaseModel
|
|
30
34
|
# @!attribute token
|
|
31
35
|
# Unique identifier for the transaction
|
|
32
36
|
#
|
|
@@ -36,9 +40,9 @@ module Lithic
|
|
|
36
40
|
# @!attribute category
|
|
37
41
|
# Transaction category
|
|
38
42
|
#
|
|
39
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
43
|
+
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Category]
|
|
40
44
|
required :category,
|
|
41
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
45
|
+
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Category }
|
|
42
46
|
|
|
43
47
|
# @!attribute created
|
|
44
48
|
# ISO 8601 timestamp of when the transaction was created
|
|
@@ -61,15 +65,15 @@ module Lithic
|
|
|
61
65
|
# @!attribute events
|
|
62
66
|
# List of transaction events
|
|
63
67
|
#
|
|
64
|
-
# @return [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
68
|
+
# @return [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event>]
|
|
65
69
|
required :events,
|
|
66
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
70
|
+
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event] }
|
|
67
71
|
|
|
68
72
|
# @!attribute family
|
|
73
|
+
# INTERNAL - Financial Transaction
|
|
69
74
|
#
|
|
70
|
-
# @return [Symbol,
|
|
71
|
-
required :family,
|
|
72
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Family }
|
|
75
|
+
# @return [Symbol, :INTERNAL]
|
|
76
|
+
required :family, const: :INTERNAL
|
|
73
77
|
|
|
74
78
|
# @!attribute financial_account_token
|
|
75
79
|
# Financial account token associated with the transaction
|
|
@@ -86,9 +90,9 @@ module Lithic
|
|
|
86
90
|
# @!attribute result
|
|
87
91
|
# Transaction result
|
|
88
92
|
#
|
|
89
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
93
|
+
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Result]
|
|
90
94
|
required :result,
|
|
91
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
95
|
+
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Result }
|
|
92
96
|
|
|
93
97
|
# @!attribute settled_amount
|
|
94
98
|
# Settled amount in cents
|
|
@@ -99,9 +103,9 @@ module Lithic
|
|
|
99
103
|
# @!attribute status
|
|
100
104
|
# The status of the transaction
|
|
101
105
|
#
|
|
102
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
106
|
+
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Status]
|
|
103
107
|
required :status,
|
|
104
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
108
|
+
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Status }
|
|
105
109
|
|
|
106
110
|
# @!attribute updated
|
|
107
111
|
# ISO 8601 timestamp of when the transaction was last updated
|
|
@@ -109,12 +113,12 @@ module Lithic
|
|
|
109
113
|
# @return [Time]
|
|
110
114
|
required :updated, Time
|
|
111
115
|
|
|
112
|
-
# @!method initialize(token:, category:, created:, currency:, descriptor:, events:,
|
|
116
|
+
# @!method initialize(token:, category:, created:, currency:, descriptor:, events:, financial_account_token:, pending_amount:, result:, settled_amount:, status:, updated:, family: :INTERNAL)
|
|
113
117
|
# Financial transaction with inheritance from unified base transaction
|
|
114
118
|
#
|
|
115
119
|
# @param token [String] Unique identifier for the transaction
|
|
116
120
|
#
|
|
117
|
-
# @param category [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
121
|
+
# @param category [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Category] Transaction category
|
|
118
122
|
#
|
|
119
123
|
# @param created [Time] ISO 8601 timestamp of when the transaction was created
|
|
120
124
|
#
|
|
@@ -122,25 +126,25 @@ module Lithic
|
|
|
122
126
|
#
|
|
123
127
|
# @param descriptor [String] Transaction descriptor
|
|
124
128
|
#
|
|
125
|
-
# @param events [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
126
|
-
#
|
|
127
|
-
# @param family [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction::Family]
|
|
129
|
+
# @param events [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event>] List of transaction events
|
|
128
130
|
#
|
|
129
131
|
# @param financial_account_token [String] Financial account token associated with the transaction
|
|
130
132
|
#
|
|
131
133
|
# @param pending_amount [Integer] Pending amount in cents
|
|
132
134
|
#
|
|
133
|
-
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
135
|
+
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Result] Transaction result
|
|
134
136
|
#
|
|
135
137
|
# @param settled_amount [Integer] Settled amount in cents
|
|
136
138
|
#
|
|
137
|
-
# @param status [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
139
|
+
# @param status [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Status] The status of the transaction
|
|
138
140
|
#
|
|
139
141
|
# @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
|
|
142
|
+
#
|
|
143
|
+
# @param family [Symbol, :INTERNAL] INTERNAL - Financial Transaction
|
|
140
144
|
|
|
141
145
|
# Transaction category
|
|
142
146
|
#
|
|
143
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
147
|
+
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal#category
|
|
144
148
|
module Category
|
|
145
149
|
extend Lithic::Internal::Type::Enum
|
|
146
150
|
|
|
@@ -191,19 +195,19 @@ module Lithic
|
|
|
191
195
|
# APPROVED financial events were successful while DECLINED financial events were
|
|
192
196
|
# declined by user, Lithic, or the network.
|
|
193
197
|
#
|
|
194
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
198
|
+
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Result, nil]
|
|
195
199
|
optional :result,
|
|
196
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
200
|
+
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Result }
|
|
197
201
|
|
|
198
202
|
# @!attribute type
|
|
199
203
|
#
|
|
200
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
204
|
+
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Type, nil]
|
|
201
205
|
optional :type,
|
|
202
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
206
|
+
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Type }
|
|
203
207
|
|
|
204
208
|
# @!method initialize(token: nil, amount: nil, created: nil, result: nil, type: nil)
|
|
205
209
|
# Some parameter documentations has been truncated, see
|
|
206
|
-
# {Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
210
|
+
# {Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event}
|
|
207
211
|
# for more details.
|
|
208
212
|
#
|
|
209
213
|
# Financial Event
|
|
@@ -214,14 +218,14 @@ module Lithic
|
|
|
214
218
|
#
|
|
215
219
|
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
|
216
220
|
#
|
|
217
|
-
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
221
|
+
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
|
218
222
|
#
|
|
219
|
-
# @param type [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
223
|
+
# @param type [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Type]
|
|
220
224
|
|
|
221
225
|
# APPROVED financial events were successful while DECLINED financial events were
|
|
222
226
|
# declined by user, Lithic, or the network.
|
|
223
227
|
#
|
|
224
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
228
|
+
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event#result
|
|
225
229
|
module Result
|
|
226
230
|
extend Lithic::Internal::Type::Enum
|
|
227
231
|
|
|
@@ -232,7 +236,7 @@ module Lithic
|
|
|
232
236
|
# @return [Array<Symbol>]
|
|
233
237
|
end
|
|
234
238
|
|
|
235
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
239
|
+
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event#type
|
|
236
240
|
module Type
|
|
237
241
|
extend Lithic::Internal::Type::Enum
|
|
238
242
|
|
|
@@ -244,6 +248,7 @@ module Lithic
|
|
|
244
248
|
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
|
245
249
|
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
|
246
250
|
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
|
251
|
+
ACH_RECEIPT_RELEASED = :ACH_RECEIPT_RELEASED
|
|
247
252
|
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
|
248
253
|
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
|
249
254
|
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
|
@@ -312,368 +317,9 @@ module Lithic
|
|
|
312
317
|
end
|
|
313
318
|
end
|
|
314
319
|
|
|
315
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction#family
|
|
316
|
-
module Family
|
|
317
|
-
extend Lithic::Internal::Type::Enum
|
|
318
|
-
|
|
319
|
-
CARD = :CARD
|
|
320
|
-
PAYMENT = :PAYMENT
|
|
321
|
-
TRANSFER = :TRANSFER
|
|
322
|
-
INTERNAL = :INTERNAL
|
|
323
|
-
EXTERNAL_PAYMENT = :EXTERNAL_PAYMENT
|
|
324
|
-
MANAGEMENT_OPERATION = :MANAGEMENT_OPERATION
|
|
325
|
-
|
|
326
|
-
# @!method self.values
|
|
327
|
-
# @return [Array<Symbol>]
|
|
328
|
-
end
|
|
329
|
-
|
|
330
320
|
# Transaction result
|
|
331
321
|
#
|
|
332
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
333
|
-
module Result
|
|
334
|
-
extend Lithic::Internal::Type::Enum
|
|
335
|
-
|
|
336
|
-
APPROVED = :APPROVED
|
|
337
|
-
DECLINED = :DECLINED
|
|
338
|
-
|
|
339
|
-
# @!method self.values
|
|
340
|
-
# @return [Array<Symbol>]
|
|
341
|
-
end
|
|
342
|
-
|
|
343
|
-
# The status of the transaction
|
|
344
|
-
#
|
|
345
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::FinancialTransaction#status
|
|
346
|
-
module Status
|
|
347
|
-
extend Lithic::Internal::Type::Enum
|
|
348
|
-
|
|
349
|
-
PENDING = :PENDING
|
|
350
|
-
SETTLED = :SETTLED
|
|
351
|
-
DECLINED = :DECLINED
|
|
352
|
-
REVERSED = :REVERSED
|
|
353
|
-
CANCELED = :CANCELED
|
|
354
|
-
|
|
355
|
-
# @!method self.values
|
|
356
|
-
# @return [Array<Symbol>]
|
|
357
|
-
end
|
|
358
|
-
end
|
|
359
|
-
|
|
360
|
-
class BookTransferTransaction < Lithic::Internal::Type::BaseModel
|
|
361
|
-
# @!attribute token
|
|
362
|
-
# Unique identifier for the transaction
|
|
363
|
-
#
|
|
364
|
-
# @return [String]
|
|
365
|
-
required :token, String
|
|
366
|
-
|
|
367
|
-
# @!attribute category
|
|
368
|
-
#
|
|
369
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category]
|
|
370
|
-
required :category,
|
|
371
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category }
|
|
372
|
-
|
|
373
|
-
# @!attribute created
|
|
374
|
-
# ISO 8601 timestamp of when the transaction was created
|
|
375
|
-
#
|
|
376
|
-
# @return [Time]
|
|
377
|
-
required :created, Time
|
|
378
|
-
|
|
379
|
-
# @!attribute currency
|
|
380
|
-
# Currency of the transaction in ISO 4217 format
|
|
381
|
-
#
|
|
382
|
-
# @return [String]
|
|
383
|
-
required :currency, String
|
|
384
|
-
|
|
385
|
-
# @!attribute events
|
|
386
|
-
# List of events associated with this book transfer
|
|
387
|
-
#
|
|
388
|
-
# @return [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event>]
|
|
389
|
-
required :events,
|
|
390
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event] }
|
|
391
|
-
|
|
392
|
-
# @!attribute family
|
|
393
|
-
#
|
|
394
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Family]
|
|
395
|
-
required :family,
|
|
396
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Family }
|
|
397
|
-
|
|
398
|
-
# @!attribute from_financial_account_token
|
|
399
|
-
# Source account token
|
|
400
|
-
#
|
|
401
|
-
# @return [String]
|
|
402
|
-
required :from_financial_account_token, String
|
|
403
|
-
|
|
404
|
-
# @!attribute pending_amount
|
|
405
|
-
# The pending amount of the transaction in cents
|
|
406
|
-
#
|
|
407
|
-
# @return [Integer]
|
|
408
|
-
required :pending_amount, Integer
|
|
409
|
-
|
|
410
|
-
# @!attribute result
|
|
411
|
-
#
|
|
412
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Result]
|
|
413
|
-
required :result,
|
|
414
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Result }
|
|
415
|
-
|
|
416
|
-
# @!attribute settled_amount
|
|
417
|
-
# The settled amount of the transaction in cents
|
|
418
|
-
#
|
|
419
|
-
# @return [Integer]
|
|
420
|
-
required :settled_amount, Integer
|
|
421
|
-
|
|
422
|
-
# @!attribute status
|
|
423
|
-
# The status of the transaction
|
|
424
|
-
#
|
|
425
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Status]
|
|
426
|
-
required :status,
|
|
427
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Status }
|
|
428
|
-
|
|
429
|
-
# @!attribute to_financial_account_token
|
|
430
|
-
# Destination account token
|
|
431
|
-
#
|
|
432
|
-
# @return [String]
|
|
433
|
-
required :to_financial_account_token, String
|
|
434
|
-
|
|
435
|
-
# @!attribute updated
|
|
436
|
-
# ISO 8601 timestamp of when the transaction was last updated
|
|
437
|
-
#
|
|
438
|
-
# @return [Time]
|
|
439
|
-
required :updated, Time
|
|
440
|
-
|
|
441
|
-
# @!attribute external_id
|
|
442
|
-
# External identifier for the transaction
|
|
443
|
-
#
|
|
444
|
-
# @return [String, nil]
|
|
445
|
-
optional :external_id, String
|
|
446
|
-
|
|
447
|
-
# @!attribute external_resource
|
|
448
|
-
# External resource associated with the management operation
|
|
449
|
-
#
|
|
450
|
-
# @return [Lithic::Models::ExternalResource, nil]
|
|
451
|
-
optional :external_resource, -> { Lithic::ExternalResource }, nil?: true
|
|
452
|
-
|
|
453
|
-
# @!attribute transaction_series
|
|
454
|
-
#
|
|
455
|
-
# @return [Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::TransactionSeries, nil]
|
|
456
|
-
optional :transaction_series,
|
|
457
|
-
-> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::TransactionSeries },
|
|
458
|
-
nil?: true
|
|
459
|
-
|
|
460
|
-
# @!method initialize(token:, category:, created:, currency:, events:, family:, from_financial_account_token:, pending_amount:, result:, settled_amount:, status:, to_financial_account_token:, updated:, external_id: nil, external_resource: nil, transaction_series: nil)
|
|
461
|
-
# Book transfer transaction
|
|
462
|
-
#
|
|
463
|
-
# @param token [String] Unique identifier for the transaction
|
|
464
|
-
#
|
|
465
|
-
# @param category [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Category]
|
|
466
|
-
#
|
|
467
|
-
# @param created [Time] ISO 8601 timestamp of when the transaction was created
|
|
468
|
-
#
|
|
469
|
-
# @param currency [String] Currency of the transaction in ISO 4217 format
|
|
470
|
-
#
|
|
471
|
-
# @param events [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event>] List of events associated with this book transfer
|
|
472
|
-
#
|
|
473
|
-
# @param family [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Family]
|
|
474
|
-
#
|
|
475
|
-
# @param from_financial_account_token [String] Source account token
|
|
476
|
-
#
|
|
477
|
-
# @param pending_amount [Integer] The pending amount of the transaction in cents
|
|
478
|
-
#
|
|
479
|
-
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Result]
|
|
480
|
-
#
|
|
481
|
-
# @param settled_amount [Integer] The settled amount of the transaction in cents
|
|
482
|
-
#
|
|
483
|
-
# @param status [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Status] The status of the transaction
|
|
484
|
-
#
|
|
485
|
-
# @param to_financial_account_token [String] Destination account token
|
|
486
|
-
#
|
|
487
|
-
# @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
|
|
488
|
-
#
|
|
489
|
-
# @param external_id [String] External identifier for the transaction
|
|
490
|
-
#
|
|
491
|
-
# @param external_resource [Lithic::Models::ExternalResource, nil] External resource associated with the management operation
|
|
492
|
-
#
|
|
493
|
-
# @param transaction_series [Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::TransactionSeries, nil]
|
|
494
|
-
|
|
495
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction#category
|
|
496
|
-
module Category
|
|
497
|
-
extend Lithic::Internal::Type::Enum
|
|
498
|
-
|
|
499
|
-
ADJUSTMENT = :ADJUSTMENT
|
|
500
|
-
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
|
501
|
-
DERECOGNITION = :DERECOGNITION
|
|
502
|
-
DISPUTE = :DISPUTE
|
|
503
|
-
FEE = :FEE
|
|
504
|
-
INTERNAL = :INTERNAL
|
|
505
|
-
REWARD = :REWARD
|
|
506
|
-
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
|
507
|
-
TRANSFER = :TRANSFER
|
|
508
|
-
|
|
509
|
-
# @!method self.values
|
|
510
|
-
# @return [Array<Symbol>]
|
|
511
|
-
end
|
|
512
|
-
|
|
513
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
514
|
-
# @!attribute token
|
|
515
|
-
# Globally unique identifier.
|
|
516
|
-
#
|
|
517
|
-
# @return [String]
|
|
518
|
-
required :token, String
|
|
519
|
-
|
|
520
|
-
# @!attribute amount
|
|
521
|
-
# Amount of the financial event that has been settled in the currency's smallest
|
|
522
|
-
# unit (e.g., cents).
|
|
523
|
-
#
|
|
524
|
-
# @return [Integer]
|
|
525
|
-
required :amount, Integer
|
|
526
|
-
|
|
527
|
-
# @!attribute created
|
|
528
|
-
# Date and time when the financial event occurred. UTC time zone.
|
|
529
|
-
#
|
|
530
|
-
# @return [Time]
|
|
531
|
-
required :created, Time
|
|
532
|
-
|
|
533
|
-
# @!attribute detailed_results
|
|
534
|
-
#
|
|
535
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::DetailedResults]
|
|
536
|
-
required :detailed_results,
|
|
537
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::DetailedResults }
|
|
538
|
-
|
|
539
|
-
# @!attribute memo
|
|
540
|
-
# Memo for the transfer.
|
|
541
|
-
#
|
|
542
|
-
# @return [String]
|
|
543
|
-
required :memo, String
|
|
544
|
-
|
|
545
|
-
# @!attribute result
|
|
546
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
547
|
-
# declined by user, Lithic, or the network.
|
|
548
|
-
#
|
|
549
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::Result]
|
|
550
|
-
required :result,
|
|
551
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::Result }
|
|
552
|
-
|
|
553
|
-
# @!attribute subtype
|
|
554
|
-
# The program specific subtype code for the specified category/type.
|
|
555
|
-
#
|
|
556
|
-
# @return [String]
|
|
557
|
-
required :subtype, String
|
|
558
|
-
|
|
559
|
-
# @!attribute type
|
|
560
|
-
# Type of the book transfer
|
|
561
|
-
#
|
|
562
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::Type]
|
|
563
|
-
required :type,
|
|
564
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::Type }
|
|
565
|
-
|
|
566
|
-
# @!method initialize(token:, amount:, created:, detailed_results:, memo:, result:, subtype:, type:)
|
|
567
|
-
# Some parameter documentations has been truncated, see
|
|
568
|
-
# {Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event}
|
|
569
|
-
# for more details.
|
|
570
|
-
#
|
|
571
|
-
# Book transfer Event
|
|
572
|
-
#
|
|
573
|
-
# @param token [String] Globally unique identifier.
|
|
574
|
-
#
|
|
575
|
-
# @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
|
|
576
|
-
#
|
|
577
|
-
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
|
578
|
-
#
|
|
579
|
-
# @param detailed_results [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::DetailedResults]
|
|
580
|
-
#
|
|
581
|
-
# @param memo [String] Memo for the transfer.
|
|
582
|
-
#
|
|
583
|
-
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
|
584
|
-
#
|
|
585
|
-
# @param subtype [String] The program specific subtype code for the specified category/type.
|
|
586
|
-
#
|
|
587
|
-
# @param type [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event::Type] Type of the book transfer
|
|
588
|
-
|
|
589
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event#detailed_results
|
|
590
|
-
module DetailedResults
|
|
591
|
-
extend Lithic::Internal::Type::Enum
|
|
592
|
-
|
|
593
|
-
APPROVED = :APPROVED
|
|
594
|
-
FUNDS_INSUFFICIENT = :FUNDS_INSUFFICIENT
|
|
595
|
-
|
|
596
|
-
# @!method self.values
|
|
597
|
-
# @return [Array<Symbol>]
|
|
598
|
-
end
|
|
599
|
-
|
|
600
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
601
|
-
# declined by user, Lithic, or the network.
|
|
602
|
-
#
|
|
603
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event#result
|
|
604
|
-
module Result
|
|
605
|
-
extend Lithic::Internal::Type::Enum
|
|
606
|
-
|
|
607
|
-
APPROVED = :APPROVED
|
|
608
|
-
DECLINED = :DECLINED
|
|
609
|
-
|
|
610
|
-
# @!method self.values
|
|
611
|
-
# @return [Array<Symbol>]
|
|
612
|
-
end
|
|
613
|
-
|
|
614
|
-
# Type of the book transfer
|
|
615
|
-
#
|
|
616
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction::Event#type
|
|
617
|
-
module Type
|
|
618
|
-
extend Lithic::Internal::Type::Enum
|
|
619
|
-
|
|
620
|
-
ATM_BALANCE_INQUIRY = :ATM_BALANCE_INQUIRY
|
|
621
|
-
ATM_WITHDRAWAL = :ATM_WITHDRAWAL
|
|
622
|
-
ATM_DECLINE = :ATM_DECLINE
|
|
623
|
-
INTERNATIONAL_ATM_WITHDRAWAL = :INTERNATIONAL_ATM_WITHDRAWAL
|
|
624
|
-
INACTIVITY = :INACTIVITY
|
|
625
|
-
STATEMENT = :STATEMENT
|
|
626
|
-
MONTHLY = :MONTHLY
|
|
627
|
-
QUARTERLY = :QUARTERLY
|
|
628
|
-
ANNUAL = :ANNUAL
|
|
629
|
-
CUSTOMER_SERVICE = :CUSTOMER_SERVICE
|
|
630
|
-
ACCOUNT_MAINTENANCE = :ACCOUNT_MAINTENANCE
|
|
631
|
-
ACCOUNT_ACTIVATION = :ACCOUNT_ACTIVATION
|
|
632
|
-
ACCOUNT_CLOSURE = :ACCOUNT_CLOSURE
|
|
633
|
-
CARD_REPLACEMENT = :CARD_REPLACEMENT
|
|
634
|
-
CARD_DELIVERY = :CARD_DELIVERY
|
|
635
|
-
CARD_CREATE = :CARD_CREATE
|
|
636
|
-
CURRENCY_CONVERSION = :CURRENCY_CONVERSION
|
|
637
|
-
INTEREST = :INTEREST
|
|
638
|
-
LATE_PAYMENT = :LATE_PAYMENT
|
|
639
|
-
BILL_PAYMENT = :BILL_PAYMENT
|
|
640
|
-
CASH_BACK = :CASH_BACK
|
|
641
|
-
ACCOUNT_TO_ACCOUNT = :ACCOUNT_TO_ACCOUNT
|
|
642
|
-
CARD_TO_CARD = :CARD_TO_CARD
|
|
643
|
-
DISBURSE = :DISBURSE
|
|
644
|
-
BILLING_ERROR = :BILLING_ERROR
|
|
645
|
-
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
|
646
|
-
EXPIRED_CARD = :EXPIRED_CARD
|
|
647
|
-
EARLY_DERECOGNITION = :EARLY_DERECOGNITION
|
|
648
|
-
ESCHEATMENT = :ESCHEATMENT
|
|
649
|
-
INACTIVITY_FEE_DOWN = :INACTIVITY_FEE_DOWN
|
|
650
|
-
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
|
651
|
-
DISPUTE_WON = :DISPUTE_WON
|
|
652
|
-
SERVICE = :SERVICE
|
|
653
|
-
TRANSFER = :TRANSFER
|
|
654
|
-
COLLECTION = :COLLECTION
|
|
655
|
-
|
|
656
|
-
# @!method self.values
|
|
657
|
-
# @return [Array<Symbol>]
|
|
658
|
-
end
|
|
659
|
-
end
|
|
660
|
-
|
|
661
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction#family
|
|
662
|
-
module Family
|
|
663
|
-
extend Lithic::Internal::Type::Enum
|
|
664
|
-
|
|
665
|
-
CARD = :CARD
|
|
666
|
-
PAYMENT = :PAYMENT
|
|
667
|
-
TRANSFER = :TRANSFER
|
|
668
|
-
INTERNAL = :INTERNAL
|
|
669
|
-
EXTERNAL_PAYMENT = :EXTERNAL_PAYMENT
|
|
670
|
-
MANAGEMENT_OPERATION = :MANAGEMENT_OPERATION
|
|
671
|
-
|
|
672
|
-
# @!method self.values
|
|
673
|
-
# @return [Array<Symbol>]
|
|
674
|
-
end
|
|
675
|
-
|
|
676
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction#result
|
|
322
|
+
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal#result
|
|
677
323
|
module Result
|
|
678
324
|
extend Lithic::Internal::Type::Enum
|
|
679
325
|
|
|
@@ -686,7 +332,7 @@ module Lithic
|
|
|
686
332
|
|
|
687
333
|
# The status of the transaction
|
|
688
334
|
#
|
|
689
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
335
|
+
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal#status
|
|
690
336
|
module Status
|
|
691
337
|
extend Lithic::Internal::Type::Enum
|
|
692
338
|
|
|
@@ -699,764 +345,15 @@ module Lithic
|
|
|
699
345
|
# @!method self.values
|
|
700
346
|
# @return [Array<Symbol>]
|
|
701
347
|
end
|
|
702
|
-
|
|
703
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::BookTransferTransaction#transaction_series
|
|
704
|
-
class TransactionSeries < Lithic::Internal::Type::BaseModel
|
|
705
|
-
# @!attribute related_transaction_event_token
|
|
706
|
-
#
|
|
707
|
-
# @return [String, nil]
|
|
708
|
-
required :related_transaction_event_token, String, nil?: true
|
|
709
|
-
|
|
710
|
-
# @!attribute related_transaction_token
|
|
711
|
-
#
|
|
712
|
-
# @return [String, nil]
|
|
713
|
-
required :related_transaction_token, String, nil?: true
|
|
714
|
-
|
|
715
|
-
# @!attribute type
|
|
716
|
-
#
|
|
717
|
-
# @return [String]
|
|
718
|
-
required :type, String
|
|
719
|
-
|
|
720
|
-
# @!method initialize(related_transaction_event_token:, related_transaction_token:, type:)
|
|
721
|
-
# @param related_transaction_event_token [String, nil]
|
|
722
|
-
# @param related_transaction_token [String, nil]
|
|
723
|
-
# @param type [String]
|
|
724
|
-
end
|
|
725
348
|
end
|
|
726
349
|
|
|
727
|
-
class
|
|
728
|
-
# @!
|
|
729
|
-
#
|
|
730
|
-
#
|
|
731
|
-
# @return [String]
|
|
732
|
-
required :token, String
|
|
733
|
-
|
|
734
|
-
# @!attribute created
|
|
735
|
-
# ISO 8601 timestamp of when the transaction was created
|
|
736
|
-
#
|
|
737
|
-
# @return [Time]
|
|
738
|
-
required :created, Time
|
|
739
|
-
|
|
740
|
-
# @!attribute family
|
|
741
|
-
#
|
|
742
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::Family]
|
|
743
|
-
required :family,
|
|
744
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::Family }
|
|
745
|
-
|
|
746
|
-
# @!attribute status
|
|
747
|
-
# The status of the transaction
|
|
748
|
-
#
|
|
749
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::Status]
|
|
750
|
-
required :status,
|
|
751
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::Status }
|
|
752
|
-
|
|
753
|
-
# @!attribute updated
|
|
754
|
-
# ISO 8601 timestamp of when the transaction was last updated
|
|
755
|
-
#
|
|
756
|
-
# @return [Time]
|
|
757
|
-
required :updated, Time
|
|
758
|
-
|
|
759
|
-
# @!method initialize(token:, created:, family:, status:, updated:)
|
|
760
|
-
# Base class for all transaction types in the ledger service
|
|
761
|
-
#
|
|
762
|
-
# @param token [String] Unique identifier for the transaction
|
|
763
|
-
#
|
|
764
|
-
# @param created [Time] ISO 8601 timestamp of when the transaction was created
|
|
765
|
-
#
|
|
766
|
-
# @param family [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::Family]
|
|
767
|
-
#
|
|
768
|
-
# @param status [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::CardTransaction::Status] The status of the transaction
|
|
769
|
-
#
|
|
770
|
-
# @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
|
|
771
|
-
|
|
772
|
-
module Family
|
|
773
|
-
extend Lithic::Internal::Type::Enum
|
|
774
|
-
|
|
775
|
-
CARD = :CARD
|
|
776
|
-
PAYMENT = :PAYMENT
|
|
777
|
-
TRANSFER = :TRANSFER
|
|
778
|
-
INTERNAL = :INTERNAL
|
|
779
|
-
EXTERNAL_PAYMENT = :EXTERNAL_PAYMENT
|
|
780
|
-
MANAGEMENT_OPERATION = :MANAGEMENT_OPERATION
|
|
781
|
-
|
|
782
|
-
# @!method self.values
|
|
783
|
-
# @return [Array<Symbol>]
|
|
784
|
-
end
|
|
785
|
-
|
|
786
|
-
# The status of the transaction
|
|
787
|
-
module Status
|
|
788
|
-
extend Lithic::Internal::Type::Enum
|
|
789
|
-
|
|
790
|
-
PENDING = :PENDING
|
|
791
|
-
SETTLED = :SETTLED
|
|
792
|
-
DECLINED = :DECLINED
|
|
793
|
-
REVERSED = :REVERSED
|
|
794
|
-
CANCELED = :CANCELED
|
|
795
|
-
|
|
796
|
-
# @!method self.values
|
|
797
|
-
# @return [Array<Symbol>]
|
|
798
|
-
end
|
|
799
|
-
end
|
|
800
|
-
|
|
801
|
-
class PaymentTransaction < Lithic::Internal::Type::BaseModel
|
|
802
|
-
# @!attribute token
|
|
803
|
-
# Unique identifier for the transaction
|
|
804
|
-
#
|
|
805
|
-
# @return [String]
|
|
806
|
-
required :token, String
|
|
807
|
-
|
|
808
|
-
# @!attribute category
|
|
809
|
-
# Transaction category
|
|
810
|
-
#
|
|
811
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category]
|
|
812
|
-
required :category,
|
|
813
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category }
|
|
814
|
-
|
|
815
|
-
# @!attribute created
|
|
816
|
-
# ISO 8601 timestamp of when the transaction was created
|
|
817
|
-
#
|
|
818
|
-
# @return [Time]
|
|
819
|
-
required :created, Time
|
|
820
|
-
|
|
821
|
-
# @!attribute descriptor
|
|
822
|
-
# Transaction descriptor
|
|
823
|
-
#
|
|
824
|
-
# @return [String]
|
|
825
|
-
required :descriptor, String
|
|
826
|
-
|
|
827
|
-
# @!attribute direction
|
|
828
|
-
# Transfer direction
|
|
829
|
-
#
|
|
830
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Direction]
|
|
831
|
-
required :direction,
|
|
832
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Direction }
|
|
833
|
-
|
|
834
|
-
# @!attribute events
|
|
835
|
-
# List of transaction events
|
|
836
|
-
#
|
|
837
|
-
# @return [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event>]
|
|
838
|
-
required :events,
|
|
839
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event] }
|
|
840
|
-
|
|
841
|
-
# @!attribute family
|
|
842
|
-
#
|
|
843
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Family]
|
|
844
|
-
required :family,
|
|
845
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Family }
|
|
846
|
-
|
|
847
|
-
# @!attribute financial_account_token
|
|
848
|
-
# Financial account token
|
|
849
|
-
#
|
|
850
|
-
# @return [String]
|
|
851
|
-
required :financial_account_token, String
|
|
852
|
-
|
|
853
|
-
# @!attribute method_
|
|
854
|
-
# Transfer method
|
|
855
|
-
#
|
|
856
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Method]
|
|
857
|
-
required :method_,
|
|
858
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Method },
|
|
859
|
-
api_name: :method
|
|
860
|
-
|
|
861
|
-
# @!attribute method_attributes
|
|
862
|
-
# Method-specific attributes
|
|
863
|
-
#
|
|
864
|
-
# @return [Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes]
|
|
865
|
-
required :method_attributes,
|
|
866
|
-
union: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes }
|
|
867
|
-
|
|
868
|
-
# @!attribute pending_amount
|
|
869
|
-
# Pending amount in cents
|
|
870
|
-
#
|
|
871
|
-
# @return [Integer]
|
|
872
|
-
required :pending_amount, Integer
|
|
873
|
-
|
|
874
|
-
# @!attribute related_account_tokens
|
|
875
|
-
# Related account tokens for the transaction
|
|
876
|
-
#
|
|
877
|
-
# @return [Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::RelatedAccountTokens]
|
|
878
|
-
required :related_account_tokens,
|
|
879
|
-
-> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::RelatedAccountTokens }
|
|
880
|
-
|
|
881
|
-
# @!attribute result
|
|
882
|
-
# Transaction result
|
|
883
|
-
#
|
|
884
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Result]
|
|
885
|
-
required :result,
|
|
886
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Result }
|
|
887
|
-
|
|
888
|
-
# @!attribute settled_amount
|
|
889
|
-
# Settled amount in cents
|
|
890
|
-
#
|
|
891
|
-
# @return [Integer]
|
|
892
|
-
required :settled_amount, Integer
|
|
893
|
-
|
|
894
|
-
# @!attribute source
|
|
895
|
-
# Transaction source
|
|
896
|
-
#
|
|
897
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Source]
|
|
898
|
-
required :source,
|
|
899
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Source }
|
|
900
|
-
|
|
901
|
-
# @!attribute status
|
|
902
|
-
# The status of the transaction
|
|
903
|
-
#
|
|
904
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Status]
|
|
905
|
-
required :status,
|
|
906
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Status }
|
|
907
|
-
|
|
908
|
-
# @!attribute updated
|
|
909
|
-
# ISO 8601 timestamp of when the transaction was last updated
|
|
910
|
-
#
|
|
911
|
-
# @return [Time]
|
|
912
|
-
required :updated, Time
|
|
913
|
-
|
|
914
|
-
# @!attribute currency
|
|
915
|
-
# Currency of the transaction in ISO 4217 format
|
|
916
|
-
#
|
|
917
|
-
# @return [String, nil]
|
|
918
|
-
optional :currency, String
|
|
919
|
-
|
|
920
|
-
# @!attribute expected_release_date
|
|
921
|
-
# Expected release date for the transaction
|
|
922
|
-
#
|
|
923
|
-
# @return [Date, nil]
|
|
924
|
-
optional :expected_release_date, Date, nil?: true
|
|
925
|
-
|
|
926
|
-
# @!attribute external_bank_account_token
|
|
927
|
-
# External bank account token
|
|
928
|
-
#
|
|
929
|
-
# @return [String, nil]
|
|
930
|
-
optional :external_bank_account_token, String, nil?: true
|
|
931
|
-
|
|
932
|
-
# @!attribute type
|
|
933
|
-
#
|
|
934
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Type, nil]
|
|
935
|
-
optional :type,
|
|
936
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Type }
|
|
937
|
-
|
|
938
|
-
# @!attribute user_defined_id
|
|
939
|
-
# User-defined identifier
|
|
940
|
-
#
|
|
941
|
-
# @return [String, nil]
|
|
942
|
-
optional :user_defined_id, String, nil?: true
|
|
943
|
-
|
|
944
|
-
# @!method initialize(token:, category:, created:, descriptor:, direction:, events:, family:, financial_account_token:, method_:, method_attributes:, pending_amount:, related_account_tokens:, result:, settled_amount:, source:, status:, updated:, currency: nil, expected_release_date: nil, external_bank_account_token: nil, type: nil, user_defined_id: nil)
|
|
945
|
-
# Payment transaction
|
|
946
|
-
#
|
|
947
|
-
# @param token [String] Unique identifier for the transaction
|
|
948
|
-
#
|
|
949
|
-
# @param category [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Category] Transaction category
|
|
950
|
-
#
|
|
951
|
-
# @param created [Time] ISO 8601 timestamp of when the transaction was created
|
|
952
|
-
#
|
|
953
|
-
# @param descriptor [String] Transaction descriptor
|
|
954
|
-
#
|
|
955
|
-
# @param direction [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Direction] Transfer direction
|
|
956
|
-
#
|
|
957
|
-
# @param events [Array<Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event>] List of transaction events
|
|
958
|
-
#
|
|
959
|
-
# @param family [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Family]
|
|
960
|
-
#
|
|
961
|
-
# @param financial_account_token [String] Financial account token
|
|
962
|
-
#
|
|
963
|
-
# @param method_ [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Method] Transfer method
|
|
964
|
-
#
|
|
965
|
-
# @param method_attributes [Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes] Method-specific attributes
|
|
966
|
-
#
|
|
967
|
-
# @param pending_amount [Integer] Pending amount in cents
|
|
968
|
-
#
|
|
969
|
-
# @param related_account_tokens [Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::RelatedAccountTokens] Related account tokens for the transaction
|
|
970
|
-
#
|
|
971
|
-
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Result] Transaction result
|
|
972
|
-
#
|
|
973
|
-
# @param settled_amount [Integer] Settled amount in cents
|
|
974
|
-
#
|
|
975
|
-
# @param source [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Source] Transaction source
|
|
976
|
-
#
|
|
977
|
-
# @param status [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Status] The status of the transaction
|
|
978
|
-
#
|
|
979
|
-
# @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
|
|
980
|
-
#
|
|
981
|
-
# @param currency [String] Currency of the transaction in ISO 4217 format
|
|
982
|
-
#
|
|
983
|
-
# @param expected_release_date [Date, nil] Expected release date for the transaction
|
|
984
|
-
#
|
|
985
|
-
# @param external_bank_account_token [String, nil] External bank account token
|
|
986
|
-
#
|
|
987
|
-
# @param type [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Type]
|
|
988
|
-
#
|
|
989
|
-
# @param user_defined_id [String, nil] User-defined identifier
|
|
990
|
-
|
|
991
|
-
# Transaction category
|
|
992
|
-
#
|
|
993
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#category
|
|
994
|
-
module Category
|
|
995
|
-
extend Lithic::Internal::Type::Enum
|
|
996
|
-
|
|
997
|
-
ACH = :ACH
|
|
998
|
-
BALANCE_OR_FUNDING = :BALANCE_OR_FUNDING
|
|
999
|
-
FEE = :FEE
|
|
1000
|
-
REWARD = :REWARD
|
|
1001
|
-
ADJUSTMENT = :ADJUSTMENT
|
|
1002
|
-
DERECOGNITION = :DERECOGNITION
|
|
1003
|
-
DISPUTE = :DISPUTE
|
|
1004
|
-
CARD = :CARD
|
|
1005
|
-
EXTERNAL_ACH = :EXTERNAL_ACH
|
|
1006
|
-
EXTERNAL_CHECK = :EXTERNAL_CHECK
|
|
1007
|
-
EXTERNAL_TRANSFER = :EXTERNAL_TRANSFER
|
|
1008
|
-
EXTERNAL_WIRE = :EXTERNAL_WIRE
|
|
1009
|
-
MANAGEMENT_ADJUSTMENT = :MANAGEMENT_ADJUSTMENT
|
|
1010
|
-
MANAGEMENT_DISPUTE = :MANAGEMENT_DISPUTE
|
|
1011
|
-
MANAGEMENT_FEE = :MANAGEMENT_FEE
|
|
1012
|
-
MANAGEMENT_REWARD = :MANAGEMENT_REWARD
|
|
1013
|
-
MANAGEMENT_DISBURSEMENT = :MANAGEMENT_DISBURSEMENT
|
|
1014
|
-
PROGRAM_FUNDING = :PROGRAM_FUNDING
|
|
1015
|
-
|
|
1016
|
-
# @!method self.values
|
|
1017
|
-
# @return [Array<Symbol>]
|
|
1018
|
-
end
|
|
1019
|
-
|
|
1020
|
-
# Transfer direction
|
|
1021
|
-
#
|
|
1022
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#direction
|
|
1023
|
-
module Direction
|
|
1024
|
-
extend Lithic::Internal::Type::Enum
|
|
1025
|
-
|
|
1026
|
-
CREDIT = :CREDIT
|
|
1027
|
-
DEBIT = :DEBIT
|
|
1028
|
-
|
|
1029
|
-
# @!method self.values
|
|
1030
|
-
# @return [Array<Symbol>]
|
|
1031
|
-
end
|
|
1032
|
-
|
|
1033
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
1034
|
-
# @!attribute token
|
|
1035
|
-
# Globally unique identifier.
|
|
1036
|
-
#
|
|
1037
|
-
# @return [String]
|
|
1038
|
-
required :token, String
|
|
1039
|
-
|
|
1040
|
-
# @!attribute amount
|
|
1041
|
-
# Amount of the financial event that has been settled in the currency's smallest
|
|
1042
|
-
# unit (e.g., cents).
|
|
1043
|
-
#
|
|
1044
|
-
# @return [Integer]
|
|
1045
|
-
required :amount, Integer
|
|
1046
|
-
|
|
1047
|
-
# @!attribute created
|
|
1048
|
-
# Date and time when the financial event occurred. UTC time zone.
|
|
1049
|
-
#
|
|
1050
|
-
# @return [Time]
|
|
1051
|
-
required :created, Time
|
|
1052
|
-
|
|
1053
|
-
# @!attribute result
|
|
1054
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
1055
|
-
# declined by user, Lithic, or the network.
|
|
1056
|
-
#
|
|
1057
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::Result]
|
|
1058
|
-
required :result,
|
|
1059
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::Result }
|
|
1060
|
-
|
|
1061
|
-
# @!attribute type
|
|
1062
|
-
# Event types:
|
|
1063
|
-
#
|
|
1064
|
-
# - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
|
|
1065
|
-
# approval/release from an ACH hold.
|
|
1066
|
-
# - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
|
|
1067
|
-
# - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
|
|
1068
|
-
# - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
|
|
1069
|
-
# the Federal Reserve.
|
|
1070
|
-
# - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
|
|
1071
|
-
# - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
|
|
1072
|
-
# available balance.
|
|
1073
|
-
# - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
|
|
1074
|
-
# Financial Institution.
|
|
1075
|
-
# - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
|
|
1076
|
-
# - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
|
|
1077
|
-
# - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
|
|
1078
|
-
# - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
|
|
1079
|
-
# balance.
|
|
1080
|
-
# - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
|
|
1081
|
-
# Financial Institution.
|
|
1082
|
-
#
|
|
1083
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::Type]
|
|
1084
|
-
required :type,
|
|
1085
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::Type }
|
|
1086
|
-
|
|
1087
|
-
# @!attribute detailed_results
|
|
1088
|
-
# More detailed reasons for the event
|
|
1089
|
-
#
|
|
1090
|
-
# @return [Array<Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::DetailedResult>, nil]
|
|
1091
|
-
optional :detailed_results,
|
|
1092
|
-
-> do
|
|
1093
|
-
Lithic::Internal::Type::ArrayOf[
|
|
1094
|
-
enum: Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::DetailedResult
|
|
1095
|
-
]
|
|
1096
|
-
end
|
|
1097
|
-
|
|
1098
|
-
# @!method initialize(token:, amount:, created:, result:, type:, detailed_results: nil)
|
|
1099
|
-
# Some parameter documentations has been truncated, see
|
|
1100
|
-
# {Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event}
|
|
1101
|
-
# for more details.
|
|
1102
|
-
#
|
|
1103
|
-
# Payment Event
|
|
1104
|
-
#
|
|
1105
|
-
# @param token [String] Globally unique identifier.
|
|
1106
|
-
#
|
|
1107
|
-
# @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
|
|
1108
|
-
#
|
|
1109
|
-
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
|
1110
|
-
#
|
|
1111
|
-
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
|
1112
|
-
#
|
|
1113
|
-
# @param type [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::Type] Event types:
|
|
1114
|
-
#
|
|
1115
|
-
# @param detailed_results [Array<Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event::DetailedResult>] More detailed reasons for the event
|
|
1116
|
-
|
|
1117
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
1118
|
-
# declined by user, Lithic, or the network.
|
|
1119
|
-
#
|
|
1120
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event#result
|
|
1121
|
-
module Result
|
|
1122
|
-
extend Lithic::Internal::Type::Enum
|
|
1123
|
-
|
|
1124
|
-
APPROVED = :APPROVED
|
|
1125
|
-
DECLINED = :DECLINED
|
|
1126
|
-
|
|
1127
|
-
# @!method self.values
|
|
1128
|
-
# @return [Array<Symbol>]
|
|
1129
|
-
end
|
|
1130
|
-
|
|
1131
|
-
# Event types:
|
|
1132
|
-
#
|
|
1133
|
-
# - `ACH_ORIGINATION_INITIATED` - ACH origination received and pending
|
|
1134
|
-
# approval/release from an ACH hold.
|
|
1135
|
-
# - `ACH_ORIGINATION_REVIEWED` - ACH origination has completed the review process.
|
|
1136
|
-
# - `ACH_ORIGINATION_CANCELLED` - ACH origination has been cancelled.
|
|
1137
|
-
# - `ACH_ORIGINATION_PROCESSED` - ACH origination has been processed and sent to
|
|
1138
|
-
# the Federal Reserve.
|
|
1139
|
-
# - `ACH_ORIGINATION_SETTLED` - ACH origination has settled.
|
|
1140
|
-
# - `ACH_ORIGINATION_RELEASED` - ACH origination released from pending to
|
|
1141
|
-
# available balance.
|
|
1142
|
-
# - `ACH_RETURN_PROCESSED` - ACH origination returned by the Receiving Depository
|
|
1143
|
-
# Financial Institution.
|
|
1144
|
-
# - `ACH_RECEIPT_PROCESSED` - ACH receipt pending release from an ACH holder.
|
|
1145
|
-
# - `ACH_RETURN_INITIATED` - ACH initiated return for a ACH receipt.
|
|
1146
|
-
# - `ACH_RECEIPT_SETTLED` - ACH receipt funds have settled.
|
|
1147
|
-
# - `ACH_RECEIPT_RELEASED` - ACH receipt released from pending to available
|
|
1148
|
-
# balance.
|
|
1149
|
-
# - `ACH_RETURN_SETTLED` - ACH receipt return settled by the Receiving Depository
|
|
1150
|
-
# Financial Institution.
|
|
1151
|
-
#
|
|
1152
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::Event#type
|
|
1153
|
-
module Type
|
|
1154
|
-
extend Lithic::Internal::Type::Enum
|
|
1155
|
-
|
|
1156
|
-
ACH_ORIGINATION_CANCELLED = :ACH_ORIGINATION_CANCELLED
|
|
1157
|
-
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
|
1158
|
-
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
|
1159
|
-
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
|
1160
|
-
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
|
1161
|
-
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
|
1162
|
-
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
|
1163
|
-
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
|
1164
|
-
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
|
1165
|
-
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
|
1166
|
-
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
|
1167
|
-
|
|
1168
|
-
# @!method self.values
|
|
1169
|
-
# @return [Array<Symbol>]
|
|
1170
|
-
end
|
|
1171
|
-
|
|
1172
|
-
module DetailedResult
|
|
1173
|
-
extend Lithic::Internal::Type::Enum
|
|
1174
|
-
|
|
1175
|
-
APPROVED = :APPROVED
|
|
1176
|
-
FUNDS_INSUFFICIENT = :FUNDS_INSUFFICIENT
|
|
1177
|
-
ACCOUNT_INVALID = :ACCOUNT_INVALID
|
|
1178
|
-
PROGRAM_TRANSACTION_LIMIT_EXCEEDED = :PROGRAM_TRANSACTION_LIMIT_EXCEEDED
|
|
1179
|
-
PROGRAM_DAILY_LIMIT_EXCEEDED = :PROGRAM_DAILY_LIMIT_EXCEEDED
|
|
1180
|
-
PROGRAM_MONTHLY_LIMIT_EXCEEDED = :PROGRAM_MONTHLY_LIMIT_EXCEEDED
|
|
1181
|
-
|
|
1182
|
-
# @!method self.values
|
|
1183
|
-
# @return [Array<Symbol>]
|
|
1184
|
-
end
|
|
1185
|
-
end
|
|
1186
|
-
|
|
1187
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#family
|
|
1188
|
-
module Family
|
|
1189
|
-
extend Lithic::Internal::Type::Enum
|
|
1190
|
-
|
|
1191
|
-
CARD = :CARD
|
|
1192
|
-
PAYMENT = :PAYMENT
|
|
1193
|
-
TRANSFER = :TRANSFER
|
|
1194
|
-
INTERNAL = :INTERNAL
|
|
1195
|
-
EXTERNAL_PAYMENT = :EXTERNAL_PAYMENT
|
|
1196
|
-
MANAGEMENT_OPERATION = :MANAGEMENT_OPERATION
|
|
1197
|
-
|
|
1198
|
-
# @!method self.values
|
|
1199
|
-
# @return [Array<Symbol>]
|
|
1200
|
-
end
|
|
1201
|
-
|
|
1202
|
-
# Transfer method
|
|
1203
|
-
#
|
|
1204
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#method_
|
|
1205
|
-
module Method
|
|
1206
|
-
extend Lithic::Internal::Type::Enum
|
|
1207
|
-
|
|
1208
|
-
ACH_NEXT_DAY = :ACH_NEXT_DAY
|
|
1209
|
-
ACH_SAME_DAY = :ACH_SAME_DAY
|
|
1210
|
-
WIRE = :WIRE
|
|
1211
|
-
|
|
1212
|
-
# @!method self.values
|
|
1213
|
-
# @return [Array<Symbol>]
|
|
1214
|
-
end
|
|
1215
|
-
|
|
1216
|
-
# Method-specific attributes
|
|
1217
|
-
#
|
|
1218
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#method_attributes
|
|
1219
|
-
module MethodAttributes
|
|
1220
|
-
extend Lithic::Internal::Type::Union
|
|
1221
|
-
|
|
1222
|
-
variant -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes }
|
|
1223
|
-
|
|
1224
|
-
variant -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes }
|
|
1225
|
-
|
|
1226
|
-
class ACHMethodAttributes < Lithic::Internal::Type::BaseModel
|
|
1227
|
-
# @!attribute sec_code
|
|
1228
|
-
# SEC code for ACH transaction
|
|
1229
|
-
#
|
|
1230
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode]
|
|
1231
|
-
required :sec_code,
|
|
1232
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode }
|
|
1233
|
-
|
|
1234
|
-
# @!attribute addenda
|
|
1235
|
-
# Addenda information
|
|
1236
|
-
#
|
|
1237
|
-
# @return [String, nil]
|
|
1238
|
-
optional :addenda, String, nil?: true
|
|
1239
|
-
|
|
1240
|
-
# @!attribute company_id
|
|
1241
|
-
# Company ID for the ACH transaction
|
|
1242
|
-
#
|
|
1243
|
-
# @return [String, nil]
|
|
1244
|
-
optional :company_id, String, nil?: true
|
|
1245
|
-
|
|
1246
|
-
# @!attribute receipt_routing_number
|
|
1247
|
-
# Receipt routing number
|
|
1248
|
-
#
|
|
1249
|
-
# @return [String, nil]
|
|
1250
|
-
optional :receipt_routing_number, String, nil?: true
|
|
1251
|
-
|
|
1252
|
-
# @!attribute retries
|
|
1253
|
-
# Number of retries attempted
|
|
1254
|
-
#
|
|
1255
|
-
# @return [Integer, nil]
|
|
1256
|
-
optional :retries, Integer, nil?: true
|
|
1257
|
-
|
|
1258
|
-
# @!attribute return_reason_code
|
|
1259
|
-
# Return reason code if the transaction was returned
|
|
1260
|
-
#
|
|
1261
|
-
# @return [String, nil]
|
|
1262
|
-
optional :return_reason_code, String, nil?: true
|
|
1263
|
-
|
|
1264
|
-
# @!attribute trace_numbers
|
|
1265
|
-
# Trace numbers for the ACH transaction
|
|
1266
|
-
#
|
|
1267
|
-
# @return [Array<String>, nil]
|
|
1268
|
-
optional :trace_numbers, Lithic::Internal::Type::ArrayOf[String]
|
|
1269
|
-
|
|
1270
|
-
# @!method initialize(sec_code:, addenda: nil, company_id: nil, receipt_routing_number: nil, retries: nil, return_reason_code: nil, trace_numbers: nil)
|
|
1271
|
-
# @param sec_code [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes::SecCode] SEC code for ACH transaction
|
|
1272
|
-
#
|
|
1273
|
-
# @param addenda [String, nil] Addenda information
|
|
1274
|
-
#
|
|
1275
|
-
# @param company_id [String, nil] Company ID for the ACH transaction
|
|
1276
|
-
#
|
|
1277
|
-
# @param receipt_routing_number [String, nil] Receipt routing number
|
|
1278
|
-
#
|
|
1279
|
-
# @param retries [Integer, nil] Number of retries attempted
|
|
1280
|
-
#
|
|
1281
|
-
# @param return_reason_code [String, nil] Return reason code if the transaction was returned
|
|
1282
|
-
#
|
|
1283
|
-
# @param trace_numbers [Array<String>] Trace numbers for the ACH transaction
|
|
1284
|
-
|
|
1285
|
-
# SEC code for ACH transaction
|
|
1286
|
-
#
|
|
1287
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes#sec_code
|
|
1288
|
-
module SecCode
|
|
1289
|
-
extend Lithic::Internal::Type::Enum
|
|
1290
|
-
|
|
1291
|
-
CCD = :CCD
|
|
1292
|
-
PPD = :PPD
|
|
1293
|
-
WEB = :WEB
|
|
1294
|
-
TEL = :TEL
|
|
1295
|
-
CIE = :CIE
|
|
1296
|
-
CTX = :CTX
|
|
1297
|
-
|
|
1298
|
-
# @!method self.values
|
|
1299
|
-
# @return [Array<Symbol>]
|
|
1300
|
-
end
|
|
1301
|
-
end
|
|
1302
|
-
|
|
1303
|
-
class WireMethodAttributes < Lithic::Internal::Type::BaseModel
|
|
1304
|
-
# @!attribute wire_network
|
|
1305
|
-
# Type of wire transfer
|
|
1306
|
-
#
|
|
1307
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork]
|
|
1308
|
-
required :wire_network,
|
|
1309
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork }
|
|
1310
|
-
|
|
1311
|
-
# @!attribute creditor
|
|
1312
|
-
#
|
|
1313
|
-
# @return [Lithic::Models::WirePartyDetails, nil]
|
|
1314
|
-
optional :creditor, -> { Lithic::WirePartyDetails }
|
|
1315
|
-
|
|
1316
|
-
# @!attribute debtor
|
|
1317
|
-
#
|
|
1318
|
-
# @return [Lithic::Models::WirePartyDetails, nil]
|
|
1319
|
-
optional :debtor, -> { Lithic::WirePartyDetails }
|
|
1320
|
-
|
|
1321
|
-
# @!attribute message_id
|
|
1322
|
-
# Point to point reference identifier, as assigned by the instructing party, used
|
|
1323
|
-
# for tracking the message through the Fedwire system
|
|
1324
|
-
#
|
|
1325
|
-
# @return [String, nil]
|
|
1326
|
-
optional :message_id, String, nil?: true
|
|
1327
|
-
|
|
1328
|
-
# @!attribute remittance_information
|
|
1329
|
-
# Payment details or invoice reference
|
|
1330
|
-
#
|
|
1331
|
-
# @return [String, nil]
|
|
1332
|
-
optional :remittance_information, String, nil?: true
|
|
1333
|
-
|
|
1334
|
-
# @!attribute wire_message_type
|
|
1335
|
-
# Type of wire message
|
|
1336
|
-
#
|
|
1337
|
-
# @return [String, nil]
|
|
1338
|
-
optional :wire_message_type, String
|
|
1339
|
-
|
|
1340
|
-
# @!method initialize(wire_network:, creditor: nil, debtor: nil, message_id: nil, remittance_information: nil, wire_message_type: nil)
|
|
1341
|
-
# Some parameter documentations has been truncated, see
|
|
1342
|
-
# {Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes}
|
|
1343
|
-
# for more details.
|
|
1344
|
-
#
|
|
1345
|
-
# @param wire_network [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes::WireNetwork] Type of wire transfer
|
|
1346
|
-
#
|
|
1347
|
-
# @param creditor [Lithic::Models::WirePartyDetails]
|
|
1348
|
-
#
|
|
1349
|
-
# @param debtor [Lithic::Models::WirePartyDetails]
|
|
1350
|
-
#
|
|
1351
|
-
# @param message_id [String, nil] Point to point reference identifier, as assigned by the instructing party, used
|
|
1352
|
-
#
|
|
1353
|
-
# @param remittance_information [String, nil] Payment details or invoice reference
|
|
1354
|
-
#
|
|
1355
|
-
# @param wire_message_type [String] Type of wire message
|
|
1356
|
-
|
|
1357
|
-
# Type of wire transfer
|
|
1358
|
-
#
|
|
1359
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes#wire_network
|
|
1360
|
-
module WireNetwork
|
|
1361
|
-
extend Lithic::Internal::Type::Enum
|
|
1362
|
-
|
|
1363
|
-
FEDWIRE = :FEDWIRE
|
|
1364
|
-
SWIFT = :SWIFT
|
|
1365
|
-
|
|
1366
|
-
# @!method self.values
|
|
1367
|
-
# @return [Array<Symbol>]
|
|
1368
|
-
end
|
|
1369
|
-
end
|
|
1370
|
-
|
|
1371
|
-
# @!method self.variants
|
|
1372
|
-
# @return [Array(Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::ACHMethodAttributes, Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction::MethodAttributes::WireMethodAttributes)]
|
|
1373
|
-
end
|
|
1374
|
-
|
|
1375
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#related_account_tokens
|
|
1376
|
-
class RelatedAccountTokens < Lithic::Internal::Type::BaseModel
|
|
1377
|
-
# @!attribute account_token
|
|
1378
|
-
# Globally unique identifier for the account
|
|
1379
|
-
#
|
|
1380
|
-
# @return [String, nil]
|
|
1381
|
-
required :account_token, String, nil?: true
|
|
1382
|
-
|
|
1383
|
-
# @!attribute business_account_token
|
|
1384
|
-
# Globally unique identifier for the business account
|
|
1385
|
-
#
|
|
1386
|
-
# @return [String, nil]
|
|
1387
|
-
required :business_account_token, String, nil?: true
|
|
1388
|
-
|
|
1389
|
-
# @!method initialize(account_token:, business_account_token:)
|
|
1390
|
-
# Related account tokens for the transaction
|
|
1391
|
-
#
|
|
1392
|
-
# @param account_token [String, nil] Globally unique identifier for the account
|
|
1393
|
-
#
|
|
1394
|
-
# @param business_account_token [String, nil] Globally unique identifier for the business account
|
|
1395
|
-
end
|
|
1396
|
-
|
|
1397
|
-
# Transaction result
|
|
1398
|
-
#
|
|
1399
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#result
|
|
1400
|
-
module Result
|
|
1401
|
-
extend Lithic::Internal::Type::Enum
|
|
1402
|
-
|
|
1403
|
-
APPROVED = :APPROVED
|
|
1404
|
-
DECLINED = :DECLINED
|
|
1405
|
-
|
|
1406
|
-
# @!method self.values
|
|
1407
|
-
# @return [Array<Symbol>]
|
|
1408
|
-
end
|
|
1409
|
-
|
|
1410
|
-
# Transaction source
|
|
1411
|
-
#
|
|
1412
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#source
|
|
1413
|
-
module Source
|
|
1414
|
-
extend Lithic::Internal::Type::Enum
|
|
1415
|
-
|
|
1416
|
-
LITHIC = :LITHIC
|
|
1417
|
-
EXTERNAL = :EXTERNAL
|
|
1418
|
-
CUSTOMER = :CUSTOMER
|
|
1419
|
-
|
|
1420
|
-
# @!method self.values
|
|
1421
|
-
# @return [Array<Symbol>]
|
|
1422
|
-
end
|
|
1423
|
-
|
|
1424
|
-
# The status of the transaction
|
|
1425
|
-
#
|
|
1426
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#status
|
|
1427
|
-
module Status
|
|
1428
|
-
extend Lithic::Internal::Type::Enum
|
|
1429
|
-
|
|
1430
|
-
PENDING = :PENDING
|
|
1431
|
-
SETTLED = :SETTLED
|
|
1432
|
-
DECLINED = :DECLINED
|
|
1433
|
-
REVERSED = :REVERSED
|
|
1434
|
-
CANCELED = :CANCELED
|
|
1435
|
-
|
|
1436
|
-
# @!method self.values
|
|
1437
|
-
# @return [Array<Symbol>]
|
|
1438
|
-
end
|
|
1439
|
-
|
|
1440
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::PaymentTransaction#type
|
|
1441
|
-
module Type
|
|
1442
|
-
extend Lithic::Internal::Type::Enum
|
|
1443
|
-
|
|
1444
|
-
ORIGINATION_CREDIT = :ORIGINATION_CREDIT
|
|
1445
|
-
ORIGINATION_DEBIT = :ORIGINATION_DEBIT
|
|
1446
|
-
RECEIPT_CREDIT = :RECEIPT_CREDIT
|
|
1447
|
-
RECEIPT_DEBIT = :RECEIPT_DEBIT
|
|
1448
|
-
WIRE_INBOUND_PAYMENT = :WIRE_INBOUND_PAYMENT
|
|
1449
|
-
WIRE_INBOUND_ADMIN = :WIRE_INBOUND_ADMIN
|
|
1450
|
-
WIRE_OUTBOUND_PAYMENT = :WIRE_OUTBOUND_PAYMENT
|
|
1451
|
-
WIRE_OUTBOUND_ADMIN = :WIRE_OUTBOUND_ADMIN
|
|
1452
|
-
|
|
1453
|
-
# @!method self.values
|
|
1454
|
-
# @return [Array<Symbol>]
|
|
1455
|
-
end
|
|
350
|
+
class Card < Lithic::Models::Transaction
|
|
351
|
+
# @!method initialize
|
|
352
|
+
# Card transaction with ledger base properties
|
|
1456
353
|
end
|
|
1457
354
|
|
|
1458
355
|
# @!method self.variants
|
|
1459
|
-
# @return [Array(Lithic::Models::AccountActivityRetrieveTransactionResponse::
|
|
356
|
+
# @return [Array(Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal, Lithic::Models::BookTransferResponse, Lithic::Models::AccountActivityRetrieveTransactionResponse::Card, Lithic::Models::Payment, Lithic::Models::ExternalPayment, Lithic::Models::ManagementOperationTransaction)]
|
|
1460
357
|
end
|
|
1461
358
|
end
|
|
1462
359
|
end
|