lithic 0.1.0.pre.alpha.55 → 0.1.0.pre.alpha.56
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 +20 -0
- data/README.md +1 -1
- data/lib/lithic/client.rb +4 -0
- data/lib/lithic/models/account_activity_list_response.rb +60 -148
- data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
- data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
- data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +8 -53
- data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
- data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
- data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -5
- data/lib/lithic/models/auth_rules/v2_create_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +21 -8
- data/lib/lithic/models/auth_rules/v2_update_response.rb +21 -8
- data/lib/lithic/models/book_transfer_response.rb +1 -0
- data/lib/lithic/models/category_details.rb +27 -0
- data/lib/lithic/models/dispute.rb +242 -510
- data/lib/lithic/models/dispute_v2.rb +555 -0
- data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
- data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_address.rb +2 -2
- data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
- data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
- data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
- data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
- data/lib/lithic/models/external_payment.rb +3 -2
- data/lib/lithic/models/external_payment_list_params.rb +1 -0
- data/lib/lithic/models/financial_account.rb +4 -3
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
- data/lib/lithic/models/financial_accounts/statement.rb +73 -275
- data/lib/lithic/models/financial_event.rb +148 -0
- data/lib/lithic/models/financial_transaction.rb +3 -146
- data/lib/lithic/models/management_operation_list_params.rb +1 -0
- data/lib/lithic/models/management_operation_transaction.rb +5 -4
- data/lib/lithic/models/merchant.rb +70 -0
- data/lib/lithic/models/payment.rb +7 -5
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/statement_totals.rb +100 -0
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
- data/lib/lithic/models/transaction.rb +3 -69
- data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2.rb +2 -2
- data/lib/lithic/resources/disputes.rb +10 -10
- data/lib/lithic/resources/disputes_v2.rb +74 -0
- data/lib/lithic/resources/external_bank_accounts.rb +19 -0
- data/lib/lithic/resources/payments.rb +48 -0
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +16 -5
- data/rbi/lithic/client.rbi +3 -0
- data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
- data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
- data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
- data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
- data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
- data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
- data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
- data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
- data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -7
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -7
- data/rbi/lithic/models/book_transfer_response.rbi +2 -0
- data/rbi/lithic/models/category_details.rbi +43 -0
- data/rbi/lithic/models/dispute.rbi +395 -942
- data/rbi/lithic/models/dispute_v2.rbi +965 -0
- data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
- data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
- data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
- data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
- data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
- data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
- data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
- data/rbi/lithic/models/external_payment.rbi +5 -6
- data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
- data/rbi/lithic/models/financial_account.rbi +12 -4
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
- data/rbi/lithic/models/financial_event.rbi +409 -0
- data/rbi/lithic/models/financial_transaction.rbi +3 -509
- data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
- data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
- data/rbi/lithic/models/merchant.rbi +89 -0
- data/rbi/lithic/models/payment.rbi +16 -7
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/statement_totals.rbi +128 -0
- data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
- data/rbi/lithic/models/transaction.rbi +4 -90
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2.rbi +8 -3
- data/rbi/lithic/resources/disputes.rbi +5 -7
- data/rbi/lithic/resources/disputes_v2.rbi +64 -0
- data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
- data/rbi/lithic/resources/payments.rbi +46 -0
- data/sig/lithic/client.rbs +2 -0
- data/sig/lithic/models/account_activity_list_response.rbs +67 -221
- data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
- data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
- data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
- data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
- data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
- data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
- data/sig/lithic/models/auth_rules/v2_create_params.rbs +11 -1
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +13 -1
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +13 -1
- data/sig/lithic/models/book_transfer_response.rbs +3 -1
- data/sig/lithic/models/category_details.rbs +26 -0
- data/sig/lithic/models/dispute.rbs +157 -417
- data/sig/lithic/models/dispute_v2.rbs +438 -0
- data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
- data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_address.rbs +4 -6
- data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
- data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
- data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
- data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
- data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
- data/sig/lithic/models/external_payment.rbs +7 -7
- data/sig/lithic/models/external_payment_list_params.rbs +3 -1
- data/sig/lithic/models/financial_account.rbs +4 -4
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
- data/sig/lithic/models/financial_event.rbs +216 -0
- data/sig/lithic/models/financial_transaction.rbs +4 -217
- data/sig/lithic/models/management_operation_list_params.rbs +3 -1
- data/sig/lithic/models/management_operation_transaction.rbs +11 -13
- data/sig/lithic/models/merchant.rbs +50 -0
- data/sig/lithic/models/payment.rbs +9 -5
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/transaction.rbs +4 -51
- data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
- data/sig/lithic/models/transfer.rbs +6 -219
- data/sig/lithic/models.rbs +18 -0
- data/sig/lithic/resources/disputes.rbs +5 -5
- data/sig/lithic/resources/disputes_v2.rbs +24 -0
- data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
- data/sig/lithic/resources/payments.rbs +10 -0
- metadata +50 -17
- data/lib/lithic/models/dispute_create_response.rb +0 -326
- data/lib/lithic/models/dispute_delete_response.rb +0 -326
- data/lib/lithic/models/dispute_list_response.rb +0 -326
- data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
- data/lib/lithic/models/dispute_update_response.rb +0 -326
- data/rbi/lithic/models/dispute_create_response.rbi +0 -599
- data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
- data/rbi/lithic/models/dispute_list_response.rbi +0 -582
- data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
- data/rbi/lithic/models/dispute_update_response.rbi +0 -599
- data/sig/lithic/models/dispute_create_response.rbs +0 -210
- data/sig/lithic/models/dispute_delete_response.rbs +0 -210
- data/sig/lithic/models/dispute_list_response.rbs +0 -210
- data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
- data/sig/lithic/models/dispute_update_response.rbs +0 -210
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b44eacfefc91b5275622e47ad95610f40e77dd05ac4ae73997c735f8cbe79dd0
|
|
4
|
+
data.tar.gz: 95f7d8cd0c3155e92475ef6c6abfbac39679d9a03e051e607dbcd873e9f8d365
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8de2401589036a78070cb0121b427a2fca523805e212cf0dee1a6c285eed2c296535f076fc6bc5d75a7c8c048eadb93111c70e86d9c79176544f09a942bcebe4
|
|
7
|
+
data.tar.gz: b26a2c18388a207255893b34065c936ec98f8027a852a57115da38e19007d5605bfa665403e13087eb6eee1699cadb746241d321292119727a55e66506f07f0e
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.1.0-alpha.56 (2025-11-20)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.1.0-alpha.55...v0.1.0-alpha.56](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.55...v0.1.0-alpha.56)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** add disputes V2 endpoints ([0730dce](https://github.com/lithic-com/lithic-ruby/commit/0730dcede8d11f0b56c0beb90c692552b229c6fb))
|
|
10
|
+
* **api:** Add Payoff Details ([e21e546](https://github.com/lithic-com/lithic-ruby/commit/e21e5460240174de29a51d67c8206220e3cf19d1))
|
|
11
|
+
* **api:** add return payment method ([0730dce](https://github.com/lithic-com/lithic-ruby/commit/0730dcede8d11f0b56c0beb90c692552b229c6fb))
|
|
12
|
+
* **api:** add Tokenization and ACH Rules ([0730dce](https://github.com/lithic-com/lithic-ruby/commit/0730dcede8d11f0b56c0beb90c692552b229c6fb))
|
|
13
|
+
* **api:** add unpause external_bank_accounts API method ([0730dce](https://github.com/lithic-com/lithic-ruby/commit/0730dcede8d11f0b56c0beb90c692552b229c6fb))
|
|
14
|
+
* **api:** extract some common schemas into models ([0730dce](https://github.com/lithic-com/lithic-ruby/commit/0730dcede8d11f0b56c0beb90c692552b229c6fb))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* **api:** change allowed phone number length from 18 to 16 ([0730dce](https://github.com/lithic-com/lithic-ruby/commit/0730dcede8d11f0b56c0beb90c692552b229c6fb))
|
|
20
|
+
* **api:** mark certain optional fields as nullable ([0730dce](https://github.com/lithic-com/lithic-ruby/commit/0730dcede8d11f0b56c0beb90c692552b229c6fb))
|
|
21
|
+
* **api:** Modify return type of returns API to payment-transaction ([e21e546](https://github.com/lithic-com/lithic-ruby/commit/e21e5460240174de29a51d67c8206220e3cf19d1))
|
|
22
|
+
|
|
3
23
|
## 0.1.0-alpha.55 (2025-11-11)
|
|
4
24
|
|
|
5
25
|
Full Changelog: [v0.1.0-alpha.54...v0.1.0-alpha.55](https://github.com/lithic-com/lithic-ruby/compare/v0.1.0-alpha.54...v0.1.0-alpha.55)
|
data/README.md
CHANGED
|
@@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application
|
|
|
15
15
|
<!-- x-release-please-start-version -->
|
|
16
16
|
|
|
17
17
|
```ruby
|
|
18
|
-
gem "lithic", "~> 0.1.0.pre.alpha.
|
|
18
|
+
gem "lithic", "~> 0.1.0.pre.alpha.56"
|
|
19
19
|
```
|
|
20
20
|
|
|
21
21
|
<!-- x-release-please-end -->
|
data/lib/lithic/client.rb
CHANGED
|
@@ -53,6 +53,9 @@ module Lithic
|
|
|
53
53
|
# @return [Lithic::Resources::Disputes]
|
|
54
54
|
attr_reader :disputes
|
|
55
55
|
|
|
56
|
+
# @return [Lithic::Resources::DisputesV2]
|
|
57
|
+
attr_reader :disputes_v2
|
|
58
|
+
|
|
56
59
|
# @return [Lithic::Resources::Events]
|
|
57
60
|
attr_reader :events
|
|
58
61
|
|
|
@@ -194,6 +197,7 @@ module Lithic
|
|
|
194
197
|
@balances = Lithic::Resources::Balances.new(client: self)
|
|
195
198
|
@aggregate_balances = Lithic::Resources::AggregateBalances.new(client: self)
|
|
196
199
|
@disputes = Lithic::Resources::Disputes.new(client: self)
|
|
200
|
+
@disputes_v2 = Lithic::Resources::DisputesV2.new(client: self)
|
|
197
201
|
@events = Lithic::Resources::Events.new(client: self)
|
|
198
202
|
@transfers = Lithic::Resources::Transfers.new(client: self)
|
|
199
203
|
@financial_accounts = Lithic::Resources::FinancialAccounts.new(client: self)
|
|
@@ -64,9 +64,8 @@ module Lithic
|
|
|
64
64
|
# @!attribute events
|
|
65
65
|
# List of transaction events
|
|
66
66
|
#
|
|
67
|
-
# @return [Array<Lithic::Models::
|
|
68
|
-
required :events,
|
|
69
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountActivityListResponse::Internal::Event] }
|
|
67
|
+
# @return [Array<Lithic::Models::FinancialEvent>]
|
|
68
|
+
required :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::FinancialEvent] }
|
|
70
69
|
|
|
71
70
|
# @!attribute family
|
|
72
71
|
# INTERNAL - Financial Transaction
|
|
@@ -123,7 +122,7 @@ module Lithic
|
|
|
123
122
|
#
|
|
124
123
|
# @param descriptor [String] Transaction descriptor
|
|
125
124
|
#
|
|
126
|
-
# @param events [Array<Lithic::Models::
|
|
125
|
+
# @param events [Array<Lithic::Models::FinancialEvent>] List of transaction events
|
|
127
126
|
#
|
|
128
127
|
# @param financial_account_token [String] Financial account token associated with the transaction
|
|
129
128
|
#
|
|
@@ -168,149 +167,6 @@ module Lithic
|
|
|
168
167
|
# @return [Array<Symbol>]
|
|
169
168
|
end
|
|
170
169
|
|
|
171
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
172
|
-
# @!attribute token
|
|
173
|
-
# Globally unique identifier.
|
|
174
|
-
#
|
|
175
|
-
# @return [String, nil]
|
|
176
|
-
optional :token, String
|
|
177
|
-
|
|
178
|
-
# @!attribute amount
|
|
179
|
-
# Amount of the financial event that has been settled in the currency's smallest
|
|
180
|
-
# unit (e.g., cents).
|
|
181
|
-
#
|
|
182
|
-
# @return [Integer, nil]
|
|
183
|
-
optional :amount, Integer
|
|
184
|
-
|
|
185
|
-
# @!attribute created
|
|
186
|
-
# Date and time when the financial event occurred. UTC time zone.
|
|
187
|
-
#
|
|
188
|
-
# @return [Time, nil]
|
|
189
|
-
optional :created, Time
|
|
190
|
-
|
|
191
|
-
# @!attribute result
|
|
192
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
193
|
-
# declined by user, Lithic, or the network.
|
|
194
|
-
#
|
|
195
|
-
# @return [Symbol, Lithic::Models::AccountActivityListResponse::Internal::Event::Result, nil]
|
|
196
|
-
optional :result, enum: -> { Lithic::Models::AccountActivityListResponse::Internal::Event::Result }
|
|
197
|
-
|
|
198
|
-
# @!attribute type
|
|
199
|
-
#
|
|
200
|
-
# @return [Symbol, Lithic::Models::AccountActivityListResponse::Internal::Event::Type, nil]
|
|
201
|
-
optional :type, enum: -> { Lithic::Models::AccountActivityListResponse::Internal::Event::Type }
|
|
202
|
-
|
|
203
|
-
# @!method initialize(token: nil, amount: nil, created: nil, result: nil, type: nil)
|
|
204
|
-
# Some parameter documentations has been truncated, see
|
|
205
|
-
# {Lithic::Models::AccountActivityListResponse::Internal::Event} for more details.
|
|
206
|
-
#
|
|
207
|
-
# Financial Event
|
|
208
|
-
#
|
|
209
|
-
# @param token [String] Globally unique identifier.
|
|
210
|
-
#
|
|
211
|
-
# @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
|
|
212
|
-
#
|
|
213
|
-
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
|
214
|
-
#
|
|
215
|
-
# @param result [Symbol, Lithic::Models::AccountActivityListResponse::Internal::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
|
216
|
-
#
|
|
217
|
-
# @param type [Symbol, Lithic::Models::AccountActivityListResponse::Internal::Event::Type]
|
|
218
|
-
|
|
219
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
220
|
-
# declined by user, Lithic, or the network.
|
|
221
|
-
#
|
|
222
|
-
# @see Lithic::Models::AccountActivityListResponse::Internal::Event#result
|
|
223
|
-
module Result
|
|
224
|
-
extend Lithic::Internal::Type::Enum
|
|
225
|
-
|
|
226
|
-
APPROVED = :APPROVED
|
|
227
|
-
DECLINED = :DECLINED
|
|
228
|
-
|
|
229
|
-
# @!method self.values
|
|
230
|
-
# @return [Array<Symbol>]
|
|
231
|
-
end
|
|
232
|
-
|
|
233
|
-
# @see Lithic::Models::AccountActivityListResponse::Internal::Event#type
|
|
234
|
-
module Type
|
|
235
|
-
extend Lithic::Internal::Type::Enum
|
|
236
|
-
|
|
237
|
-
ACH_ORIGINATION_CANCELLED = :ACH_ORIGINATION_CANCELLED
|
|
238
|
-
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
|
239
|
-
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
|
240
|
-
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
|
241
|
-
ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
|
|
242
|
-
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
|
243
|
-
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
|
244
|
-
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
|
245
|
-
ACH_RECEIPT_RELEASED = :ACH_RECEIPT_RELEASED
|
|
246
|
-
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
|
247
|
-
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
|
248
|
-
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
|
249
|
-
ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
|
|
250
|
-
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
|
251
|
-
AUTHORIZATION = :AUTHORIZATION
|
|
252
|
-
AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
|
|
253
|
-
AUTHORIZATION_EXPIRY = :AUTHORIZATION_EXPIRY
|
|
254
|
-
AUTHORIZATION_REVERSAL = :AUTHORIZATION_REVERSAL
|
|
255
|
-
BALANCE_INQUIRY = :BALANCE_INQUIRY
|
|
256
|
-
BILLING_ERROR = :BILLING_ERROR
|
|
257
|
-
BILLING_ERROR_REVERSAL = :BILLING_ERROR_REVERSAL
|
|
258
|
-
CARD_TO_CARD = :CARD_TO_CARD
|
|
259
|
-
CASH_BACK = :CASH_BACK
|
|
260
|
-
CASH_BACK_REVERSAL = :CASH_BACK_REVERSAL
|
|
261
|
-
CLEARING = :CLEARING
|
|
262
|
-
COLLECTION = :COLLECTION
|
|
263
|
-
CORRECTION_CREDIT = :CORRECTION_CREDIT
|
|
264
|
-
CORRECTION_DEBIT = :CORRECTION_DEBIT
|
|
265
|
-
CREDIT_AUTHORIZATION = :CREDIT_AUTHORIZATION
|
|
266
|
-
CREDIT_AUTHORIZATION_ADVICE = :CREDIT_AUTHORIZATION_ADVICE
|
|
267
|
-
CURRENCY_CONVERSION = :CURRENCY_CONVERSION
|
|
268
|
-
CURRENCY_CONVERSION_REVERSAL = :CURRENCY_CONVERSION_REVERSAL
|
|
269
|
-
DISPUTE_WON = :DISPUTE_WON
|
|
270
|
-
EXTERNAL_ACH_CANCELED = :EXTERNAL_ACH_CANCELED
|
|
271
|
-
EXTERNAL_ACH_INITIATED = :EXTERNAL_ACH_INITIATED
|
|
272
|
-
EXTERNAL_ACH_RELEASED = :EXTERNAL_ACH_RELEASED
|
|
273
|
-
EXTERNAL_ACH_REVERSED = :EXTERNAL_ACH_REVERSED
|
|
274
|
-
EXTERNAL_ACH_SETTLED = :EXTERNAL_ACH_SETTLED
|
|
275
|
-
EXTERNAL_CHECK_CANCELED = :EXTERNAL_CHECK_CANCELED
|
|
276
|
-
EXTERNAL_CHECK_INITIATED = :EXTERNAL_CHECK_INITIATED
|
|
277
|
-
EXTERNAL_CHECK_RELEASED = :EXTERNAL_CHECK_RELEASED
|
|
278
|
-
EXTERNAL_CHECK_REVERSED = :EXTERNAL_CHECK_REVERSED
|
|
279
|
-
EXTERNAL_CHECK_SETTLED = :EXTERNAL_CHECK_SETTLED
|
|
280
|
-
EXTERNAL_TRANSFER_CANCELED = :EXTERNAL_TRANSFER_CANCELED
|
|
281
|
-
EXTERNAL_TRANSFER_INITIATED = :EXTERNAL_TRANSFER_INITIATED
|
|
282
|
-
EXTERNAL_TRANSFER_RELEASED = :EXTERNAL_TRANSFER_RELEASED
|
|
283
|
-
EXTERNAL_TRANSFER_REVERSED = :EXTERNAL_TRANSFER_REVERSED
|
|
284
|
-
EXTERNAL_TRANSFER_SETTLED = :EXTERNAL_TRANSFER_SETTLED
|
|
285
|
-
EXTERNAL_WIRE_CANCELED = :EXTERNAL_WIRE_CANCELED
|
|
286
|
-
EXTERNAL_WIRE_INITIATED = :EXTERNAL_WIRE_INITIATED
|
|
287
|
-
EXTERNAL_WIRE_RELEASED = :EXTERNAL_WIRE_RELEASED
|
|
288
|
-
EXTERNAL_WIRE_REVERSED = :EXTERNAL_WIRE_REVERSED
|
|
289
|
-
EXTERNAL_WIRE_SETTLED = :EXTERNAL_WIRE_SETTLED
|
|
290
|
-
FINANCIAL_AUTHORIZATION = :FINANCIAL_AUTHORIZATION
|
|
291
|
-
FINANCIAL_CREDIT_AUTHORIZATION = :FINANCIAL_CREDIT_AUTHORIZATION
|
|
292
|
-
INTEREST = :INTEREST
|
|
293
|
-
INTEREST_REVERSAL = :INTEREST_REVERSAL
|
|
294
|
-
INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
|
|
295
|
-
LATE_PAYMENT = :LATE_PAYMENT
|
|
296
|
-
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
|
297
|
-
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
|
298
|
-
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
|
299
|
-
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
|
300
|
-
SERVICE = :SERVICE
|
|
301
|
-
RETURN = :RETURN
|
|
302
|
-
RETURN_REVERSAL = :RETURN_REVERSAL
|
|
303
|
-
TRANSFER = :TRANSFER
|
|
304
|
-
TRANSFER_INSUFFICIENT_FUNDS = :TRANSFER_INSUFFICIENT_FUNDS
|
|
305
|
-
RETURNED_PAYMENT = :RETURNED_PAYMENT
|
|
306
|
-
RETURNED_PAYMENT_REVERSAL = :RETURNED_PAYMENT_REVERSAL
|
|
307
|
-
LITHIC_NETWORK_PAYMENT = :LITHIC_NETWORK_PAYMENT
|
|
308
|
-
|
|
309
|
-
# @!method self.values
|
|
310
|
-
# @return [Array<Symbol>]
|
|
311
|
-
end
|
|
312
|
-
end
|
|
313
|
-
|
|
314
170
|
# Transaction result
|
|
315
171
|
#
|
|
316
172
|
# @see Lithic::Models::AccountActivityListResponse::Internal#result
|
|
@@ -335,6 +191,7 @@ module Lithic
|
|
|
335
191
|
DECLINED = :DECLINED
|
|
336
192
|
REVERSED = :REVERSED
|
|
337
193
|
CANCELED = :CANCELED
|
|
194
|
+
RETURNED = :RETURNED
|
|
338
195
|
|
|
339
196
|
# @!method self.values
|
|
340
197
|
# @return [Array<Symbol>]
|
|
@@ -342,8 +199,63 @@ module Lithic
|
|
|
342
199
|
end
|
|
343
200
|
|
|
344
201
|
class Card < Lithic::Models::Transaction
|
|
345
|
-
# @!
|
|
202
|
+
# @!attribute token
|
|
203
|
+
# Unique identifier for the transaction
|
|
204
|
+
#
|
|
205
|
+
# @return [String]
|
|
206
|
+
required :token, String
|
|
207
|
+
|
|
208
|
+
# @!attribute created
|
|
209
|
+
# ISO 8601 timestamp of when the transaction was created
|
|
210
|
+
#
|
|
211
|
+
# @return [Time]
|
|
212
|
+
required :created, Time
|
|
213
|
+
|
|
214
|
+
# @!attribute family
|
|
215
|
+
# CARD - Card Transaction
|
|
216
|
+
#
|
|
217
|
+
# @return [Symbol, :CARD]
|
|
218
|
+
required :family, const: :CARD
|
|
219
|
+
|
|
220
|
+
# @!attribute status
|
|
221
|
+
# The status of the transaction
|
|
222
|
+
#
|
|
223
|
+
# @return [Symbol, Lithic::Models::AccountActivityListResponse::Card::Status]
|
|
224
|
+
required :status, enum: -> { Lithic::Models::AccountActivityListResponse::Card::Status }
|
|
225
|
+
|
|
226
|
+
# @!attribute updated
|
|
227
|
+
# ISO 8601 timestamp of when the transaction was last updated
|
|
228
|
+
#
|
|
229
|
+
# @return [Time]
|
|
230
|
+
required :updated, Time
|
|
231
|
+
|
|
232
|
+
# @!method initialize(token:, created:, status:, updated:, family: :CARD)
|
|
346
233
|
# Card transaction with ledger base properties
|
|
234
|
+
#
|
|
235
|
+
# @param token [String] Unique identifier for the transaction
|
|
236
|
+
#
|
|
237
|
+
# @param created [Time] ISO 8601 timestamp of when the transaction was created
|
|
238
|
+
#
|
|
239
|
+
# @param status [Symbol, Lithic::Models::AccountActivityListResponse::Card::Status] The status of the transaction
|
|
240
|
+
#
|
|
241
|
+
# @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
|
|
242
|
+
#
|
|
243
|
+
# @param family [Symbol, :CARD] CARD - Card Transaction
|
|
244
|
+
|
|
245
|
+
# The status of the transaction
|
|
246
|
+
module Status
|
|
247
|
+
extend Lithic::Internal::Type::Enum
|
|
248
|
+
|
|
249
|
+
PENDING = :PENDING
|
|
250
|
+
SETTLED = :SETTLED
|
|
251
|
+
DECLINED = :DECLINED
|
|
252
|
+
REVERSED = :REVERSED
|
|
253
|
+
CANCELED = :CANCELED
|
|
254
|
+
RETURNED = :RETURNED
|
|
255
|
+
|
|
256
|
+
# @!method self.values
|
|
257
|
+
# @return [Array<Symbol>]
|
|
258
|
+
end
|
|
347
259
|
end
|
|
348
260
|
|
|
349
261
|
# @!method self.variants
|
|
@@ -65,9 +65,8 @@ module Lithic
|
|
|
65
65
|
# @!attribute events
|
|
66
66
|
# List of transaction events
|
|
67
67
|
#
|
|
68
|
-
# @return [Array<Lithic::Models::
|
|
69
|
-
required :events,
|
|
70
|
-
-> { Lithic::Internal::Type::ArrayOf[Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event] }
|
|
68
|
+
# @return [Array<Lithic::Models::FinancialEvent>]
|
|
69
|
+
required :events, -> { Lithic::Internal::Type::ArrayOf[Lithic::FinancialEvent] }
|
|
71
70
|
|
|
72
71
|
# @!attribute family
|
|
73
72
|
# INTERNAL - Financial Transaction
|
|
@@ -126,7 +125,7 @@ module Lithic
|
|
|
126
125
|
#
|
|
127
126
|
# @param descriptor [String] Transaction descriptor
|
|
128
127
|
#
|
|
129
|
-
# @param events [Array<Lithic::Models::
|
|
128
|
+
# @param events [Array<Lithic::Models::FinancialEvent>] List of transaction events
|
|
130
129
|
#
|
|
131
130
|
# @param financial_account_token [String] Financial account token associated with the transaction
|
|
132
131
|
#
|
|
@@ -171,152 +170,6 @@ module Lithic
|
|
|
171
170
|
# @return [Array<Symbol>]
|
|
172
171
|
end
|
|
173
172
|
|
|
174
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
175
|
-
# @!attribute token
|
|
176
|
-
# Globally unique identifier.
|
|
177
|
-
#
|
|
178
|
-
# @return [String, nil]
|
|
179
|
-
optional :token, String
|
|
180
|
-
|
|
181
|
-
# @!attribute amount
|
|
182
|
-
# Amount of the financial event that has been settled in the currency's smallest
|
|
183
|
-
# unit (e.g., cents).
|
|
184
|
-
#
|
|
185
|
-
# @return [Integer, nil]
|
|
186
|
-
optional :amount, Integer
|
|
187
|
-
|
|
188
|
-
# @!attribute created
|
|
189
|
-
# Date and time when the financial event occurred. UTC time zone.
|
|
190
|
-
#
|
|
191
|
-
# @return [Time, nil]
|
|
192
|
-
optional :created, Time
|
|
193
|
-
|
|
194
|
-
# @!attribute result
|
|
195
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
196
|
-
# declined by user, Lithic, or the network.
|
|
197
|
-
#
|
|
198
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Result, nil]
|
|
199
|
-
optional :result,
|
|
200
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Result }
|
|
201
|
-
|
|
202
|
-
# @!attribute type
|
|
203
|
-
#
|
|
204
|
-
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Type, nil]
|
|
205
|
-
optional :type,
|
|
206
|
-
enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Type }
|
|
207
|
-
|
|
208
|
-
# @!method initialize(token: nil, amount: nil, created: nil, result: nil, type: nil)
|
|
209
|
-
# Some parameter documentations has been truncated, see
|
|
210
|
-
# {Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event}
|
|
211
|
-
# for more details.
|
|
212
|
-
#
|
|
213
|
-
# Financial Event
|
|
214
|
-
#
|
|
215
|
-
# @param token [String] Globally unique identifier.
|
|
216
|
-
#
|
|
217
|
-
# @param amount [Integer] Amount of the financial event that has been settled in the currency's smallest u
|
|
218
|
-
#
|
|
219
|
-
# @param created [Time] Date and time when the financial event occurred. UTC time zone.
|
|
220
|
-
#
|
|
221
|
-
# @param result [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Result] APPROVED financial events were successful while DECLINED financial events were d
|
|
222
|
-
#
|
|
223
|
-
# @param type [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event::Type]
|
|
224
|
-
|
|
225
|
-
# APPROVED financial events were successful while DECLINED financial events were
|
|
226
|
-
# declined by user, Lithic, or the network.
|
|
227
|
-
#
|
|
228
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event#result
|
|
229
|
-
module Result
|
|
230
|
-
extend Lithic::Internal::Type::Enum
|
|
231
|
-
|
|
232
|
-
APPROVED = :APPROVED
|
|
233
|
-
DECLINED = :DECLINED
|
|
234
|
-
|
|
235
|
-
# @!method self.values
|
|
236
|
-
# @return [Array<Symbol>]
|
|
237
|
-
end
|
|
238
|
-
|
|
239
|
-
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal::Event#type
|
|
240
|
-
module Type
|
|
241
|
-
extend Lithic::Internal::Type::Enum
|
|
242
|
-
|
|
243
|
-
ACH_ORIGINATION_CANCELLED = :ACH_ORIGINATION_CANCELLED
|
|
244
|
-
ACH_ORIGINATION_INITIATED = :ACH_ORIGINATION_INITIATED
|
|
245
|
-
ACH_ORIGINATION_PROCESSED = :ACH_ORIGINATION_PROCESSED
|
|
246
|
-
ACH_ORIGINATION_RELEASED = :ACH_ORIGINATION_RELEASED
|
|
247
|
-
ACH_ORIGINATION_REJECTED = :ACH_ORIGINATION_REJECTED
|
|
248
|
-
ACH_ORIGINATION_REVIEWED = :ACH_ORIGINATION_REVIEWED
|
|
249
|
-
ACH_ORIGINATION_SETTLED = :ACH_ORIGINATION_SETTLED
|
|
250
|
-
ACH_RECEIPT_PROCESSED = :ACH_RECEIPT_PROCESSED
|
|
251
|
-
ACH_RECEIPT_RELEASED = :ACH_RECEIPT_RELEASED
|
|
252
|
-
ACH_RECEIPT_SETTLED = :ACH_RECEIPT_SETTLED
|
|
253
|
-
ACH_RETURN_INITIATED = :ACH_RETURN_INITIATED
|
|
254
|
-
ACH_RETURN_PROCESSED = :ACH_RETURN_PROCESSED
|
|
255
|
-
ACH_RETURN_REJECTED = :ACH_RETURN_REJECTED
|
|
256
|
-
ACH_RETURN_SETTLED = :ACH_RETURN_SETTLED
|
|
257
|
-
AUTHORIZATION = :AUTHORIZATION
|
|
258
|
-
AUTHORIZATION_ADVICE = :AUTHORIZATION_ADVICE
|
|
259
|
-
AUTHORIZATION_EXPIRY = :AUTHORIZATION_EXPIRY
|
|
260
|
-
AUTHORIZATION_REVERSAL = :AUTHORIZATION_REVERSAL
|
|
261
|
-
BALANCE_INQUIRY = :BALANCE_INQUIRY
|
|
262
|
-
BILLING_ERROR = :BILLING_ERROR
|
|
263
|
-
BILLING_ERROR_REVERSAL = :BILLING_ERROR_REVERSAL
|
|
264
|
-
CARD_TO_CARD = :CARD_TO_CARD
|
|
265
|
-
CASH_BACK = :CASH_BACK
|
|
266
|
-
CASH_BACK_REVERSAL = :CASH_BACK_REVERSAL
|
|
267
|
-
CLEARING = :CLEARING
|
|
268
|
-
COLLECTION = :COLLECTION
|
|
269
|
-
CORRECTION_CREDIT = :CORRECTION_CREDIT
|
|
270
|
-
CORRECTION_DEBIT = :CORRECTION_DEBIT
|
|
271
|
-
CREDIT_AUTHORIZATION = :CREDIT_AUTHORIZATION
|
|
272
|
-
CREDIT_AUTHORIZATION_ADVICE = :CREDIT_AUTHORIZATION_ADVICE
|
|
273
|
-
CURRENCY_CONVERSION = :CURRENCY_CONVERSION
|
|
274
|
-
CURRENCY_CONVERSION_REVERSAL = :CURRENCY_CONVERSION_REVERSAL
|
|
275
|
-
DISPUTE_WON = :DISPUTE_WON
|
|
276
|
-
EXTERNAL_ACH_CANCELED = :EXTERNAL_ACH_CANCELED
|
|
277
|
-
EXTERNAL_ACH_INITIATED = :EXTERNAL_ACH_INITIATED
|
|
278
|
-
EXTERNAL_ACH_RELEASED = :EXTERNAL_ACH_RELEASED
|
|
279
|
-
EXTERNAL_ACH_REVERSED = :EXTERNAL_ACH_REVERSED
|
|
280
|
-
EXTERNAL_ACH_SETTLED = :EXTERNAL_ACH_SETTLED
|
|
281
|
-
EXTERNAL_CHECK_CANCELED = :EXTERNAL_CHECK_CANCELED
|
|
282
|
-
EXTERNAL_CHECK_INITIATED = :EXTERNAL_CHECK_INITIATED
|
|
283
|
-
EXTERNAL_CHECK_RELEASED = :EXTERNAL_CHECK_RELEASED
|
|
284
|
-
EXTERNAL_CHECK_REVERSED = :EXTERNAL_CHECK_REVERSED
|
|
285
|
-
EXTERNAL_CHECK_SETTLED = :EXTERNAL_CHECK_SETTLED
|
|
286
|
-
EXTERNAL_TRANSFER_CANCELED = :EXTERNAL_TRANSFER_CANCELED
|
|
287
|
-
EXTERNAL_TRANSFER_INITIATED = :EXTERNAL_TRANSFER_INITIATED
|
|
288
|
-
EXTERNAL_TRANSFER_RELEASED = :EXTERNAL_TRANSFER_RELEASED
|
|
289
|
-
EXTERNAL_TRANSFER_REVERSED = :EXTERNAL_TRANSFER_REVERSED
|
|
290
|
-
EXTERNAL_TRANSFER_SETTLED = :EXTERNAL_TRANSFER_SETTLED
|
|
291
|
-
EXTERNAL_WIRE_CANCELED = :EXTERNAL_WIRE_CANCELED
|
|
292
|
-
EXTERNAL_WIRE_INITIATED = :EXTERNAL_WIRE_INITIATED
|
|
293
|
-
EXTERNAL_WIRE_RELEASED = :EXTERNAL_WIRE_RELEASED
|
|
294
|
-
EXTERNAL_WIRE_REVERSED = :EXTERNAL_WIRE_REVERSED
|
|
295
|
-
EXTERNAL_WIRE_SETTLED = :EXTERNAL_WIRE_SETTLED
|
|
296
|
-
FINANCIAL_AUTHORIZATION = :FINANCIAL_AUTHORIZATION
|
|
297
|
-
FINANCIAL_CREDIT_AUTHORIZATION = :FINANCIAL_CREDIT_AUTHORIZATION
|
|
298
|
-
INTEREST = :INTEREST
|
|
299
|
-
INTEREST_REVERSAL = :INTEREST_REVERSAL
|
|
300
|
-
INTERNAL_ADJUSTMENT = :INTERNAL_ADJUSTMENT
|
|
301
|
-
LATE_PAYMENT = :LATE_PAYMENT
|
|
302
|
-
LATE_PAYMENT_REVERSAL = :LATE_PAYMENT_REVERSAL
|
|
303
|
-
LOSS_WRITE_OFF = :LOSS_WRITE_OFF
|
|
304
|
-
PROVISIONAL_CREDIT = :PROVISIONAL_CREDIT
|
|
305
|
-
PROVISIONAL_CREDIT_REVERSAL = :PROVISIONAL_CREDIT_REVERSAL
|
|
306
|
-
SERVICE = :SERVICE
|
|
307
|
-
RETURN = :RETURN
|
|
308
|
-
RETURN_REVERSAL = :RETURN_REVERSAL
|
|
309
|
-
TRANSFER = :TRANSFER
|
|
310
|
-
TRANSFER_INSUFFICIENT_FUNDS = :TRANSFER_INSUFFICIENT_FUNDS
|
|
311
|
-
RETURNED_PAYMENT = :RETURNED_PAYMENT
|
|
312
|
-
RETURNED_PAYMENT_REVERSAL = :RETURNED_PAYMENT_REVERSAL
|
|
313
|
-
LITHIC_NETWORK_PAYMENT = :LITHIC_NETWORK_PAYMENT
|
|
314
|
-
|
|
315
|
-
# @!method self.values
|
|
316
|
-
# @return [Array<Symbol>]
|
|
317
|
-
end
|
|
318
|
-
end
|
|
319
|
-
|
|
320
173
|
# Transaction result
|
|
321
174
|
#
|
|
322
175
|
# @see Lithic::Models::AccountActivityRetrieveTransactionResponse::Internal#result
|
|
@@ -341,6 +194,7 @@ module Lithic
|
|
|
341
194
|
DECLINED = :DECLINED
|
|
342
195
|
REVERSED = :REVERSED
|
|
343
196
|
CANCELED = :CANCELED
|
|
197
|
+
RETURNED = :RETURNED
|
|
344
198
|
|
|
345
199
|
# @!method self.values
|
|
346
200
|
# @return [Array<Symbol>]
|
|
@@ -348,8 +202,63 @@ module Lithic
|
|
|
348
202
|
end
|
|
349
203
|
|
|
350
204
|
class Card < Lithic::Models::Transaction
|
|
351
|
-
# @!
|
|
205
|
+
# @!attribute token
|
|
206
|
+
# Unique identifier for the transaction
|
|
207
|
+
#
|
|
208
|
+
# @return [String]
|
|
209
|
+
required :token, String
|
|
210
|
+
|
|
211
|
+
# @!attribute created
|
|
212
|
+
# ISO 8601 timestamp of when the transaction was created
|
|
213
|
+
#
|
|
214
|
+
# @return [Time]
|
|
215
|
+
required :created, Time
|
|
216
|
+
|
|
217
|
+
# @!attribute family
|
|
218
|
+
# CARD - Card Transaction
|
|
219
|
+
#
|
|
220
|
+
# @return [Symbol, :CARD]
|
|
221
|
+
required :family, const: :CARD
|
|
222
|
+
|
|
223
|
+
# @!attribute status
|
|
224
|
+
# The status of the transaction
|
|
225
|
+
#
|
|
226
|
+
# @return [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::Status]
|
|
227
|
+
required :status, enum: -> { Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::Status }
|
|
228
|
+
|
|
229
|
+
# @!attribute updated
|
|
230
|
+
# ISO 8601 timestamp of when the transaction was last updated
|
|
231
|
+
#
|
|
232
|
+
# @return [Time]
|
|
233
|
+
required :updated, Time
|
|
234
|
+
|
|
235
|
+
# @!method initialize(token:, created:, status:, updated:, family: :CARD)
|
|
352
236
|
# Card transaction with ledger base properties
|
|
237
|
+
#
|
|
238
|
+
# @param token [String] Unique identifier for the transaction
|
|
239
|
+
#
|
|
240
|
+
# @param created [Time] ISO 8601 timestamp of when the transaction was created
|
|
241
|
+
#
|
|
242
|
+
# @param status [Symbol, Lithic::Models::AccountActivityRetrieveTransactionResponse::Card::Status] The status of the transaction
|
|
243
|
+
#
|
|
244
|
+
# @param updated [Time] ISO 8601 timestamp of when the transaction was last updated
|
|
245
|
+
#
|
|
246
|
+
# @param family [Symbol, :CARD] CARD - Card Transaction
|
|
247
|
+
|
|
248
|
+
# The status of the transaction
|
|
249
|
+
module Status
|
|
250
|
+
extend Lithic::Internal::Type::Enum
|
|
251
|
+
|
|
252
|
+
PENDING = :PENDING
|
|
253
|
+
SETTLED = :SETTLED
|
|
254
|
+
DECLINED = :DECLINED
|
|
255
|
+
REVERSED = :REVERSED
|
|
256
|
+
CANCELED = :CANCELED
|
|
257
|
+
RETURNED = :RETURNED
|
|
258
|
+
|
|
259
|
+
# @!method self.values
|
|
260
|
+
# @return [Array<Symbol>]
|
|
261
|
+
end
|
|
353
262
|
end
|
|
354
263
|
|
|
355
264
|
# @!method self.variants
|
|
@@ -56,73 +56,30 @@ module Lithic
|
|
|
56
56
|
# data with the cardholder KYC data if it exists. Valid values are `MATCH`,
|
|
57
57
|
# `MATCH_ADDRESS_ONLY`, `MATCH_ZIP_ONLY`,`MISMATCH`,`NOT_PRESENT`.
|
|
58
58
|
#
|
|
59
|
-
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAttribute
|
|
60
|
-
|
|
59
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalAttribute]
|
|
60
|
+
required :attribute, enum: -> { Lithic::AuthRules::ConditionalAttribute }
|
|
61
61
|
|
|
62
62
|
# @!attribute operation
|
|
63
63
|
# The operation to apply to the attribute
|
|
64
64
|
#
|
|
65
|
-
# @return [Symbol, Lithic::Models::AuthRules::
|
|
66
|
-
|
|
65
|
+
# @return [Symbol, Lithic::Models::AuthRules::ConditionalOperation]
|
|
66
|
+
required :operation, enum: -> { Lithic::AuthRules::ConditionalOperation }
|
|
67
67
|
|
|
68
68
|
# @!attribute value
|
|
69
69
|
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
70
70
|
#
|
|
71
|
-
# @return [String, Integer, Array<String
|
|
72
|
-
|
|
71
|
+
# @return [String, Integer, Array<String>]
|
|
72
|
+
required :value, union: -> { Lithic::AuthRules::ConditionalValue }
|
|
73
73
|
|
|
74
|
-
# @!method initialize(attribute
|
|
74
|
+
# @!method initialize(attribute:, operation:, value:)
|
|
75
75
|
# Some parameter documentations has been truncated, see
|
|
76
76
|
# {Lithic::Models::AuthRules::AuthRuleCondition} for more details.
|
|
77
77
|
#
|
|
78
78
|
# @param attribute [Symbol, Lithic::Models::AuthRules::ConditionalAttribute] The attribute to target.
|
|
79
79
|
#
|
|
80
|
-
# @param operation [Symbol, Lithic::Models::AuthRules::
|
|
80
|
+
# @param operation [Symbol, Lithic::Models::AuthRules::ConditionalOperation] The operation to apply to the attribute
|
|
81
81
|
#
|
|
82
82
|
# @param value [String, Integer, Array<String>] A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
83
|
-
|
|
84
|
-
# The operation to apply to the attribute
|
|
85
|
-
#
|
|
86
|
-
# @see Lithic::Models::AuthRules::AuthRuleCondition#operation
|
|
87
|
-
module Operation
|
|
88
|
-
extend Lithic::Internal::Type::Enum
|
|
89
|
-
|
|
90
|
-
IS_ONE_OF = :IS_ONE_OF
|
|
91
|
-
IS_NOT_ONE_OF = :IS_NOT_ONE_OF
|
|
92
|
-
MATCHES = :MATCHES
|
|
93
|
-
DOES_NOT_MATCH = :DOES_NOT_MATCH
|
|
94
|
-
IS_EQUAL_TO = :IS_EQUAL_TO
|
|
95
|
-
IS_NOT_EQUAL_TO = :IS_NOT_EQUAL_TO
|
|
96
|
-
IS_GREATER_THAN = :IS_GREATER_THAN
|
|
97
|
-
IS_GREATER_THAN_OR_EQUAL_TO = :IS_GREATER_THAN_OR_EQUAL_TO
|
|
98
|
-
IS_LESS_THAN = :IS_LESS_THAN
|
|
99
|
-
IS_LESS_THAN_OR_EQUAL_TO = :IS_LESS_THAN_OR_EQUAL_TO
|
|
100
|
-
|
|
101
|
-
# @!method self.values
|
|
102
|
-
# @return [Array<Symbol>]
|
|
103
|
-
end
|
|
104
|
-
|
|
105
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
106
|
-
#
|
|
107
|
-
# @see Lithic::Models::AuthRules::AuthRuleCondition#value
|
|
108
|
-
module Value
|
|
109
|
-
extend Lithic::Internal::Type::Union
|
|
110
|
-
|
|
111
|
-
# A regex string, to be used with `MATCHES` or `DOES_NOT_MATCH`
|
|
112
|
-
variant String
|
|
113
|
-
|
|
114
|
-
# A number, to be used with `IS_GREATER_THAN`, `IS_GREATER_THAN_OR_EQUAL_TO`, `IS_LESS_THAN`, `IS_LESS_THAN_OR_EQUAL_TO`, `IS_EQUAL_TO`, or `IS_NOT_EQUAL_TO`
|
|
115
|
-
variant Integer
|
|
116
|
-
|
|
117
|
-
# An array of strings, to be used with `IS_ONE_OF` or `IS_NOT_ONE_OF`
|
|
118
|
-
variant -> { Lithic::Models::AuthRules::AuthRuleCondition::Value::StringArray }
|
|
119
|
-
|
|
120
|
-
# @!method self.variants
|
|
121
|
-
# @return [Array(String, Integer, Array<String>)]
|
|
122
|
-
|
|
123
|
-
# @type [Lithic::Internal::Type::Converter]
|
|
124
|
-
StringArray = Lithic::Internal::Type::ArrayOf[String]
|
|
125
|
-
end
|
|
126
83
|
end
|
|
127
84
|
end
|
|
128
85
|
|