lithic 0.1.0.pre.alpha.54 → 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 +39 -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/account_holder_simulate_enrollment_review_response.rb +2 -2
- data/lib/lithic/models/account_holder_update_response.rb +4 -4
- 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 +207 -0
- 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 +46 -283
- data/lib/lithic/models/auth_rules/v2_create_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -248
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
- data/lib/lithic/models/auth_rules/v2_list_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_retrieve_features_response.rb +4 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +23 -510
- data/lib/lithic/models/auth_rules/v2_update_response.rb +23 -510
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +4 -7
- data/lib/lithic/models/auth_rules/velocity_limit_period.rb +154 -0
- data/lib/lithic/models/book_transfer_response.rb +6 -5
- data/lib/lithic/models/category_details.rb +27 -0
- 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/event.rb +213 -69
- data/lib/lithic/models/event_list_params.rb +112 -6
- data/lib/lithic/models/event_subscription.rb +112 -6
- data/lib/lithic/models/events/subscription_create_params.rb +112 -6
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +12 -6
- data/lib/lithic/models/events/subscription_update_params.rb +112 -6
- 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 +5 -68
- data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +1 -64
- data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -424
- data/lib/lithic/models/financial_accounts/statement.rb +73 -211
- 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 +16 -14
- data/lib/lithic/models/payment_return_params.rb +62 -0
- data/lib/lithic/models/payment_simulate_action_params.rb +17 -1
- 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/tokenization.rb +189 -23
- data/lib/lithic/models/transaction.rb +15 -185
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -43
- data/lib/lithic/models/transfer.rb +3 -146
- data/lib/lithic/models.rb +18 -0
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +3 -5
- data/lib/lithic/resources/auth_rules/v2.rb +13 -56
- 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 +53 -1
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +18 -3
- 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/account_holder_simulate_enrollment_review_response.rbi +3 -6
- data/rbi/lithic/models/account_holder_update_response.rbi +6 -12
- 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 +437 -0
- 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 +112 -680
- data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -575
- data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
- data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_retrieve_features_response.rbi +9 -22
- data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -1149
- data/rbi/lithic/models/auth_rules/velocity_limit_params.rbi +17 -29
- data/rbi/lithic/models/auth_rules/velocity_limit_period.rbi +223 -0
- data/rbi/lithic/models/book_transfer_response.rbi +16 -11
- data/rbi/lithic/models/category_details.rbi +43 -0
- 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/event.rbi +348 -111
- data/rbi/lithic/models/event_list_params.rbi +155 -25
- data/rbi/lithic/models/event_subscription.rbi +155 -25
- data/rbi/lithic/models/events/subscription_create_params.rbi +155 -25
- data/rbi/lithic/models/events/subscription_send_simulated_example_params.rbi +55 -25
- data/rbi/lithic/models/events/subscription_update_params.rbi +155 -25
- 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 +15 -136
- data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
- data/rbi/lithic/models/financial_accounts/financial_account_credit_config.rbi +3 -136
- data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -679
- data/rbi/lithic/models/financial_accounts/statement.rbi +118 -348
- 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 +27 -21
- data/rbi/lithic/models/payment_return_params.rbi +85 -0
- data/rbi/lithic/models/payment_simulate_action_params.rbi +22 -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/tokenization.rbi +429 -34
- data/rbi/lithic/models/transaction.rbi +26 -336
- data/rbi/lithic/models/transactions/events/enhanced_data.rbi +77 -136
- data/rbi/lithic/models/transfer.rbi +4 -436
- data/rbi/lithic/models.rbi +19 -0
- data/rbi/lithic/resources/auth_rules/v2/backtests.rbi +0 -3
- data/rbi/lithic/resources/auth_rules/v2.rbi +29 -72
- 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 +52 -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/account_holder_simulate_enrollment_review_response.rbs +4 -6
- data/sig/lithic/models/account_holder_update_response.rbs +8 -12
- 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 +112 -0
- 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 +32 -188
- data/sig/lithic/models/auth_rules/v2_create_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_draft_params.rbs +3 -159
- data/sig/lithic/models/auth_rules/v2_draft_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
- data/sig/lithic/models/auth_rules/v2_list_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_promote_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_retrieve_features_response.rbs +4 -4
- data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/v2_update_response.rbs +15 -319
- data/sig/lithic/models/auth_rules/velocity_limit_params.rbs +4 -4
- data/sig/lithic/models/auth_rules/velocity_limit_period.rbs +91 -0
- data/sig/lithic/models/book_transfer_response.rbs +10 -8
- data/sig/lithic/models/category_details.rbs +26 -0
- 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/event.rbs +25 -13
- data/sig/lithic/models/event_list_params.rbs +25 -13
- data/sig/lithic/models/event_subscription.rbs +25 -13
- data/sig/lithic/models/events/subscription_create_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_send_simulated_example_params.rbs +25 -13
- data/sig/lithic/models/events/subscription_update_params.rbs +25 -13
- 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 +7 -49
- data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
- data/sig/lithic/models/financial_accounts/financial_account_credit_config.rbs +3 -49
- data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -386
- data/sig/lithic/models/financial_accounts/statement.rbs +59 -192
- 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 +17 -15
- data/sig/lithic/models/payment_return_params.rbs +46 -0
- data/sig/lithic/models/payment_simulate_action_params.rbs +14 -0
- data/sig/lithic/models/statement_totals.rbs +76 -0
- data/sig/lithic/models/tokenization.rbs +160 -13
- data/sig/lithic/models/transaction.rbs +17 -145
- 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/auth_rules/v2.rbs +2 -12
- 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 +12 -0
- metadata +56 -11
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +0 -56
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +0 -766
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +0 -248
- data/rbi/lithic/models/auth_rules/v2_apply_params.rbi +0 -86
- data/rbi/lithic/models/auth_rules/v2_apply_response.rbi +0 -1638
- data/rbi/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +0 -557
- data/sig/lithic/models/auth_rules/v2_apply_params.rbs +0 -54
- data/sig/lithic/models/auth_rules/v2_apply_response.rbs +0 -509
- data/sig/lithic/models/auth_rules/velocity_limit_params_period_window.rbs +0 -223
|
@@ -7,7 +7,7 @@ module Lithic
|
|
|
7
7
|
created: Time,
|
|
8
8
|
currency: String,
|
|
9
9
|
descriptor: String,
|
|
10
|
-
events: ::Array[Lithic::
|
|
10
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
11
11
|
pending_amount: Integer,
|
|
12
12
|
result: Lithic::Models::FinancialTransaction::result,
|
|
13
13
|
settled_amount: Integer,
|
|
@@ -26,7 +26,7 @@ module Lithic
|
|
|
26
26
|
|
|
27
27
|
attr_accessor descriptor: String
|
|
28
28
|
|
|
29
|
-
attr_accessor events: ::Array[Lithic::
|
|
29
|
+
attr_accessor events: ::Array[Lithic::FinancialEvent]
|
|
30
30
|
|
|
31
31
|
attr_accessor pending_amount: Integer
|
|
32
32
|
|
|
@@ -44,7 +44,7 @@ module Lithic
|
|
|
44
44
|
created: Time,
|
|
45
45
|
currency: String,
|
|
46
46
|
descriptor: String,
|
|
47
|
-
events: ::Array[Lithic::
|
|
47
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
48
48
|
pending_amount: Integer,
|
|
49
49
|
result: Lithic::Models::FinancialTransaction::result,
|
|
50
50
|
settled_amount: Integer,
|
|
@@ -58,7 +58,7 @@ module Lithic
|
|
|
58
58
|
created: Time,
|
|
59
59
|
currency: String,
|
|
60
60
|
descriptor: String,
|
|
61
|
-
events: ::Array[Lithic::
|
|
61
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
62
62
|
pending_amount: Integer,
|
|
63
63
|
result: Lithic::Models::FinancialTransaction::result,
|
|
64
64
|
settled_amount: Integer,
|
|
@@ -79,219 +79,6 @@ module Lithic
|
|
|
79
79
|
def self?.values: -> ::Array[Lithic::Models::FinancialTransaction::category]
|
|
80
80
|
end
|
|
81
81
|
|
|
82
|
-
type event =
|
|
83
|
-
{
|
|
84
|
-
token: String,
|
|
85
|
-
amount: Integer,
|
|
86
|
-
created: Time,
|
|
87
|
-
result: Lithic::Models::FinancialTransaction::Event::result,
|
|
88
|
-
type: Lithic::Models::FinancialTransaction::Event::type_
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
92
|
-
attr_reader token: String?
|
|
93
|
-
|
|
94
|
-
def token=: (String) -> String
|
|
95
|
-
|
|
96
|
-
attr_reader amount: Integer?
|
|
97
|
-
|
|
98
|
-
def amount=: (Integer) -> Integer
|
|
99
|
-
|
|
100
|
-
attr_reader created: Time?
|
|
101
|
-
|
|
102
|
-
def created=: (Time) -> Time
|
|
103
|
-
|
|
104
|
-
attr_reader result: Lithic::Models::FinancialTransaction::Event::result?
|
|
105
|
-
|
|
106
|
-
def result=: (
|
|
107
|
-
Lithic::Models::FinancialTransaction::Event::result
|
|
108
|
-
) -> Lithic::Models::FinancialTransaction::Event::result
|
|
109
|
-
|
|
110
|
-
attr_reader type: Lithic::Models::FinancialTransaction::Event::type_?
|
|
111
|
-
|
|
112
|
-
def type=: (
|
|
113
|
-
Lithic::Models::FinancialTransaction::Event::type_
|
|
114
|
-
) -> Lithic::Models::FinancialTransaction::Event::type_
|
|
115
|
-
|
|
116
|
-
def initialize: (
|
|
117
|
-
?token: String,
|
|
118
|
-
?amount: Integer,
|
|
119
|
-
?created: Time,
|
|
120
|
-
?result: Lithic::Models::FinancialTransaction::Event::result,
|
|
121
|
-
?type: Lithic::Models::FinancialTransaction::Event::type_
|
|
122
|
-
) -> void
|
|
123
|
-
|
|
124
|
-
def to_hash: -> {
|
|
125
|
-
token: String,
|
|
126
|
-
amount: Integer,
|
|
127
|
-
created: Time,
|
|
128
|
-
result: Lithic::Models::FinancialTransaction::Event::result,
|
|
129
|
-
type: Lithic::Models::FinancialTransaction::Event::type_
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
type result = :APPROVED | :DECLINED
|
|
133
|
-
|
|
134
|
-
module Result
|
|
135
|
-
extend Lithic::Internal::Type::Enum
|
|
136
|
-
|
|
137
|
-
APPROVED: :APPROVED
|
|
138
|
-
DECLINED: :DECLINED
|
|
139
|
-
|
|
140
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialTransaction::Event::result]
|
|
141
|
-
end
|
|
142
|
-
|
|
143
|
-
type type_ =
|
|
144
|
-
:ACH_ORIGINATION_CANCELLED
|
|
145
|
-
| :ACH_ORIGINATION_INITIATED
|
|
146
|
-
| :ACH_ORIGINATION_PROCESSED
|
|
147
|
-
| :ACH_ORIGINATION_RELEASED
|
|
148
|
-
| :ACH_ORIGINATION_REJECTED
|
|
149
|
-
| :ACH_ORIGINATION_REVIEWED
|
|
150
|
-
| :ACH_ORIGINATION_SETTLED
|
|
151
|
-
| :ACH_RECEIPT_PROCESSED
|
|
152
|
-
| :ACH_RECEIPT_RELEASED
|
|
153
|
-
| :ACH_RECEIPT_SETTLED
|
|
154
|
-
| :ACH_RETURN_INITIATED
|
|
155
|
-
| :ACH_RETURN_PROCESSED
|
|
156
|
-
| :ACH_RETURN_REJECTED
|
|
157
|
-
| :ACH_RETURN_SETTLED
|
|
158
|
-
| :AUTHORIZATION
|
|
159
|
-
| :AUTHORIZATION_ADVICE
|
|
160
|
-
| :AUTHORIZATION_EXPIRY
|
|
161
|
-
| :AUTHORIZATION_REVERSAL
|
|
162
|
-
| :BALANCE_INQUIRY
|
|
163
|
-
| :BILLING_ERROR
|
|
164
|
-
| :BILLING_ERROR_REVERSAL
|
|
165
|
-
| :CARD_TO_CARD
|
|
166
|
-
| :CASH_BACK
|
|
167
|
-
| :CASH_BACK_REVERSAL
|
|
168
|
-
| :CLEARING
|
|
169
|
-
| :COLLECTION
|
|
170
|
-
| :CORRECTION_CREDIT
|
|
171
|
-
| :CORRECTION_DEBIT
|
|
172
|
-
| :CREDIT_AUTHORIZATION
|
|
173
|
-
| :CREDIT_AUTHORIZATION_ADVICE
|
|
174
|
-
| :CURRENCY_CONVERSION
|
|
175
|
-
| :CURRENCY_CONVERSION_REVERSAL
|
|
176
|
-
| :DISPUTE_WON
|
|
177
|
-
| :EXTERNAL_ACH_CANCELED
|
|
178
|
-
| :EXTERNAL_ACH_INITIATED
|
|
179
|
-
| :EXTERNAL_ACH_RELEASED
|
|
180
|
-
| :EXTERNAL_ACH_REVERSED
|
|
181
|
-
| :EXTERNAL_ACH_SETTLED
|
|
182
|
-
| :EXTERNAL_CHECK_CANCELED
|
|
183
|
-
| :EXTERNAL_CHECK_INITIATED
|
|
184
|
-
| :EXTERNAL_CHECK_RELEASED
|
|
185
|
-
| :EXTERNAL_CHECK_REVERSED
|
|
186
|
-
| :EXTERNAL_CHECK_SETTLED
|
|
187
|
-
| :EXTERNAL_TRANSFER_CANCELED
|
|
188
|
-
| :EXTERNAL_TRANSFER_INITIATED
|
|
189
|
-
| :EXTERNAL_TRANSFER_RELEASED
|
|
190
|
-
| :EXTERNAL_TRANSFER_REVERSED
|
|
191
|
-
| :EXTERNAL_TRANSFER_SETTLED
|
|
192
|
-
| :EXTERNAL_WIRE_CANCELED
|
|
193
|
-
| :EXTERNAL_WIRE_INITIATED
|
|
194
|
-
| :EXTERNAL_WIRE_RELEASED
|
|
195
|
-
| :EXTERNAL_WIRE_REVERSED
|
|
196
|
-
| :EXTERNAL_WIRE_SETTLED
|
|
197
|
-
| :FINANCIAL_AUTHORIZATION
|
|
198
|
-
| :FINANCIAL_CREDIT_AUTHORIZATION
|
|
199
|
-
| :INTEREST
|
|
200
|
-
| :INTEREST_REVERSAL
|
|
201
|
-
| :INTERNAL_ADJUSTMENT
|
|
202
|
-
| :LATE_PAYMENT
|
|
203
|
-
| :LATE_PAYMENT_REVERSAL
|
|
204
|
-
| :LOSS_WRITE_OFF
|
|
205
|
-
| :PROVISIONAL_CREDIT
|
|
206
|
-
| :PROVISIONAL_CREDIT_REVERSAL
|
|
207
|
-
| :SERVICE
|
|
208
|
-
| :RETURN
|
|
209
|
-
| :RETURN_REVERSAL
|
|
210
|
-
| :TRANSFER
|
|
211
|
-
| :TRANSFER_INSUFFICIENT_FUNDS
|
|
212
|
-
| :RETURNED_PAYMENT
|
|
213
|
-
| :RETURNED_PAYMENT_REVERSAL
|
|
214
|
-
| :LITHIC_NETWORK_PAYMENT
|
|
215
|
-
|
|
216
|
-
module Type
|
|
217
|
-
extend Lithic::Internal::Type::Enum
|
|
218
|
-
|
|
219
|
-
ACH_ORIGINATION_CANCELLED: :ACH_ORIGINATION_CANCELLED
|
|
220
|
-
ACH_ORIGINATION_INITIATED: :ACH_ORIGINATION_INITIATED
|
|
221
|
-
ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
|
|
222
|
-
ACH_ORIGINATION_RELEASED: :ACH_ORIGINATION_RELEASED
|
|
223
|
-
ACH_ORIGINATION_REJECTED: :ACH_ORIGINATION_REJECTED
|
|
224
|
-
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
|
225
|
-
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
|
226
|
-
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
|
227
|
-
ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
|
|
228
|
-
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
|
229
|
-
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
|
230
|
-
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
|
231
|
-
ACH_RETURN_REJECTED: :ACH_RETURN_REJECTED
|
|
232
|
-
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
|
233
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
234
|
-
AUTHORIZATION_ADVICE: :AUTHORIZATION_ADVICE
|
|
235
|
-
AUTHORIZATION_EXPIRY: :AUTHORIZATION_EXPIRY
|
|
236
|
-
AUTHORIZATION_REVERSAL: :AUTHORIZATION_REVERSAL
|
|
237
|
-
BALANCE_INQUIRY: :BALANCE_INQUIRY
|
|
238
|
-
BILLING_ERROR: :BILLING_ERROR
|
|
239
|
-
BILLING_ERROR_REVERSAL: :BILLING_ERROR_REVERSAL
|
|
240
|
-
CARD_TO_CARD: :CARD_TO_CARD
|
|
241
|
-
CASH_BACK: :CASH_BACK
|
|
242
|
-
CASH_BACK_REVERSAL: :CASH_BACK_REVERSAL
|
|
243
|
-
CLEARING: :CLEARING
|
|
244
|
-
COLLECTION: :COLLECTION
|
|
245
|
-
CORRECTION_CREDIT: :CORRECTION_CREDIT
|
|
246
|
-
CORRECTION_DEBIT: :CORRECTION_DEBIT
|
|
247
|
-
CREDIT_AUTHORIZATION: :CREDIT_AUTHORIZATION
|
|
248
|
-
CREDIT_AUTHORIZATION_ADVICE: :CREDIT_AUTHORIZATION_ADVICE
|
|
249
|
-
CURRENCY_CONVERSION: :CURRENCY_CONVERSION
|
|
250
|
-
CURRENCY_CONVERSION_REVERSAL: :CURRENCY_CONVERSION_REVERSAL
|
|
251
|
-
DISPUTE_WON: :DISPUTE_WON
|
|
252
|
-
EXTERNAL_ACH_CANCELED: :EXTERNAL_ACH_CANCELED
|
|
253
|
-
EXTERNAL_ACH_INITIATED: :EXTERNAL_ACH_INITIATED
|
|
254
|
-
EXTERNAL_ACH_RELEASED: :EXTERNAL_ACH_RELEASED
|
|
255
|
-
EXTERNAL_ACH_REVERSED: :EXTERNAL_ACH_REVERSED
|
|
256
|
-
EXTERNAL_ACH_SETTLED: :EXTERNAL_ACH_SETTLED
|
|
257
|
-
EXTERNAL_CHECK_CANCELED: :EXTERNAL_CHECK_CANCELED
|
|
258
|
-
EXTERNAL_CHECK_INITIATED: :EXTERNAL_CHECK_INITIATED
|
|
259
|
-
EXTERNAL_CHECK_RELEASED: :EXTERNAL_CHECK_RELEASED
|
|
260
|
-
EXTERNAL_CHECK_REVERSED: :EXTERNAL_CHECK_REVERSED
|
|
261
|
-
EXTERNAL_CHECK_SETTLED: :EXTERNAL_CHECK_SETTLED
|
|
262
|
-
EXTERNAL_TRANSFER_CANCELED: :EXTERNAL_TRANSFER_CANCELED
|
|
263
|
-
EXTERNAL_TRANSFER_INITIATED: :EXTERNAL_TRANSFER_INITIATED
|
|
264
|
-
EXTERNAL_TRANSFER_RELEASED: :EXTERNAL_TRANSFER_RELEASED
|
|
265
|
-
EXTERNAL_TRANSFER_REVERSED: :EXTERNAL_TRANSFER_REVERSED
|
|
266
|
-
EXTERNAL_TRANSFER_SETTLED: :EXTERNAL_TRANSFER_SETTLED
|
|
267
|
-
EXTERNAL_WIRE_CANCELED: :EXTERNAL_WIRE_CANCELED
|
|
268
|
-
EXTERNAL_WIRE_INITIATED: :EXTERNAL_WIRE_INITIATED
|
|
269
|
-
EXTERNAL_WIRE_RELEASED: :EXTERNAL_WIRE_RELEASED
|
|
270
|
-
EXTERNAL_WIRE_REVERSED: :EXTERNAL_WIRE_REVERSED
|
|
271
|
-
EXTERNAL_WIRE_SETTLED: :EXTERNAL_WIRE_SETTLED
|
|
272
|
-
FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
|
|
273
|
-
FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
|
|
274
|
-
INTEREST: :INTEREST
|
|
275
|
-
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
276
|
-
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
277
|
-
LATE_PAYMENT: :LATE_PAYMENT
|
|
278
|
-
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
279
|
-
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
280
|
-
PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
|
|
281
|
-
PROVISIONAL_CREDIT_REVERSAL: :PROVISIONAL_CREDIT_REVERSAL
|
|
282
|
-
SERVICE: :SERVICE
|
|
283
|
-
RETURN: :RETURN
|
|
284
|
-
RETURN_REVERSAL: :RETURN_REVERSAL
|
|
285
|
-
TRANSFER: :TRANSFER
|
|
286
|
-
TRANSFER_INSUFFICIENT_FUNDS: :TRANSFER_INSUFFICIENT_FUNDS
|
|
287
|
-
RETURNED_PAYMENT: :RETURNED_PAYMENT
|
|
288
|
-
RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
|
|
289
|
-
LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
|
|
290
|
-
|
|
291
|
-
def self?.values: -> ::Array[Lithic::Models::FinancialTransaction::Event::type_]
|
|
292
|
-
end
|
|
293
|
-
end
|
|
294
|
-
|
|
295
82
|
type result = :APPROVED | :DECLINED
|
|
296
83
|
|
|
297
84
|
module Result
|
|
@@ -103,7 +103,8 @@ module Lithic
|
|
|
103
103
|
def self?.values: -> ::Array[Lithic::Models::ManagementOperationListParams::category]
|
|
104
104
|
end
|
|
105
105
|
|
|
106
|
-
type status =
|
|
106
|
+
type status =
|
|
107
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
107
108
|
|
|
108
109
|
module Status
|
|
109
110
|
extend Lithic::Internal::Type::Enum
|
|
@@ -113,6 +114,7 @@ module Lithic
|
|
|
113
114
|
DECLINED: :DECLINED
|
|
114
115
|
REVERSED: :REVERSED
|
|
115
116
|
CANCELED: :CANCELED
|
|
117
|
+
RETURNED: :RETURNED
|
|
116
118
|
|
|
117
119
|
def self?.values: -> ::Array[Lithic::Models::ManagementOperationListParams::status]
|
|
118
120
|
end
|
|
@@ -17,7 +17,7 @@ module Lithic
|
|
|
17
17
|
result: Lithic::Models::ManagementOperationTransaction::result,
|
|
18
18
|
settled_amount: Integer,
|
|
19
19
|
transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
|
|
20
|
-
user_defined_id: String
|
|
20
|
+
user_defined_id: String?
|
|
21
21
|
}
|
|
22
22
|
|
|
23
23
|
class ManagementOperationTransaction < Lithic::Internal::Type::BaseModel
|
|
@@ -79,9 +79,7 @@ module Lithic
|
|
|
79
79
|
|
|
80
80
|
attr_accessor transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?
|
|
81
81
|
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
def user_defined_id=: (String) -> String
|
|
82
|
+
attr_accessor user_defined_id: String?
|
|
85
83
|
|
|
86
84
|
def initialize: (
|
|
87
85
|
token: String,
|
|
@@ -99,7 +97,7 @@ module Lithic
|
|
|
99
97
|
?result: Lithic::Models::ManagementOperationTransaction::result,
|
|
100
98
|
?settled_amount: Integer,
|
|
101
99
|
?transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
|
|
102
|
-
?user_defined_id: String
|
|
100
|
+
?user_defined_id: String?
|
|
103
101
|
) -> void
|
|
104
102
|
|
|
105
103
|
def to_hash: -> {
|
|
@@ -118,10 +116,11 @@ module Lithic
|
|
|
118
116
|
result: Lithic::Models::ManagementOperationTransaction::result,
|
|
119
117
|
settled_amount: Integer,
|
|
120
118
|
transaction_series: Lithic::ManagementOperationTransaction::TransactionSeries?,
|
|
121
|
-
user_defined_id: String
|
|
119
|
+
user_defined_id: String?
|
|
122
120
|
}
|
|
123
121
|
|
|
124
|
-
type status =
|
|
122
|
+
type status =
|
|
123
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
125
124
|
|
|
126
125
|
module Status
|
|
127
126
|
extend Lithic::Internal::Type::Enum
|
|
@@ -131,6 +130,7 @@ module Lithic
|
|
|
131
130
|
DECLINED: :DECLINED
|
|
132
131
|
REVERSED: :REVERSED
|
|
133
132
|
CANCELED: :CANCELED
|
|
133
|
+
RETURNED: :RETURNED
|
|
134
134
|
|
|
135
135
|
def self?.values: -> ::Array[Lithic::Models::ManagementOperationTransaction::status]
|
|
136
136
|
end
|
|
@@ -175,7 +175,7 @@ module Lithic
|
|
|
175
175
|
memo: String,
|
|
176
176
|
result: Lithic::Models::ManagementOperationTransaction::Event::result,
|
|
177
177
|
type: Lithic::Models::ManagementOperationTransaction::Event::type_,
|
|
178
|
-
subtype: String
|
|
178
|
+
subtype: String?
|
|
179
179
|
}
|
|
180
180
|
|
|
181
181
|
class Event < Lithic::Internal::Type::BaseModel
|
|
@@ -195,9 +195,7 @@ module Lithic
|
|
|
195
195
|
|
|
196
196
|
attr_accessor type: Lithic::Models::ManagementOperationTransaction::Event::type_
|
|
197
197
|
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
def subtype=: (String) -> String
|
|
198
|
+
attr_accessor subtype: String?
|
|
201
199
|
|
|
202
200
|
def initialize: (
|
|
203
201
|
token: String,
|
|
@@ -208,7 +206,7 @@ module Lithic
|
|
|
208
206
|
memo: String,
|
|
209
207
|
result: Lithic::Models::ManagementOperationTransaction::Event::result,
|
|
210
208
|
type: Lithic::Models::ManagementOperationTransaction::Event::type_,
|
|
211
|
-
?subtype: String
|
|
209
|
+
?subtype: String?
|
|
212
210
|
) -> void
|
|
213
211
|
|
|
214
212
|
def to_hash: -> {
|
|
@@ -220,7 +218,7 @@ module Lithic
|
|
|
220
218
|
memo: String,
|
|
221
219
|
result: Lithic::Models::ManagementOperationTransaction::Event::result,
|
|
222
220
|
type: Lithic::Models::ManagementOperationTransaction::Event::type_,
|
|
223
|
-
subtype: String
|
|
221
|
+
subtype: String?
|
|
224
222
|
}
|
|
225
223
|
|
|
226
224
|
type detailed_result = :APPROVED | :INSUFFICIENT_FUNDS
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type merchant =
|
|
4
|
+
{
|
|
5
|
+
acceptor_id: String,
|
|
6
|
+
acquiring_institution_id: String,
|
|
7
|
+
city: String,
|
|
8
|
+
country: String,
|
|
9
|
+
descriptor: String,
|
|
10
|
+
mcc: String,
|
|
11
|
+
state: String
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
class Merchant < Lithic::Internal::Type::BaseModel
|
|
15
|
+
attr_accessor acceptor_id: String
|
|
16
|
+
|
|
17
|
+
attr_accessor acquiring_institution_id: String
|
|
18
|
+
|
|
19
|
+
attr_accessor city: String
|
|
20
|
+
|
|
21
|
+
attr_accessor country: String
|
|
22
|
+
|
|
23
|
+
attr_accessor descriptor: String
|
|
24
|
+
|
|
25
|
+
attr_accessor mcc: String
|
|
26
|
+
|
|
27
|
+
attr_accessor state: String
|
|
28
|
+
|
|
29
|
+
def initialize: (
|
|
30
|
+
acceptor_id: String,
|
|
31
|
+
acquiring_institution_id: String,
|
|
32
|
+
city: String,
|
|
33
|
+
country: String,
|
|
34
|
+
descriptor: String,
|
|
35
|
+
mcc: String,
|
|
36
|
+
state: String
|
|
37
|
+
) -> void
|
|
38
|
+
|
|
39
|
+
def to_hash: -> {
|
|
40
|
+
acceptor_id: String,
|
|
41
|
+
acquiring_institution_id: String,
|
|
42
|
+
city: String,
|
|
43
|
+
country: String,
|
|
44
|
+
descriptor: String,
|
|
45
|
+
mcc: String,
|
|
46
|
+
state: String
|
|
47
|
+
}
|
|
48
|
+
end
|
|
49
|
+
end
|
|
50
|
+
end
|
|
@@ -13,7 +13,7 @@ module Lithic
|
|
|
13
13
|
method_: Lithic::Models::Payment::method_,
|
|
14
14
|
method_attributes: Lithic::Models::Payment::method_attributes,
|
|
15
15
|
pending_amount: Integer,
|
|
16
|
-
related_account_tokens: Lithic::Payment::RelatedAccountTokens
|
|
16
|
+
related_account_tokens: Lithic::Payment::RelatedAccountTokens?,
|
|
17
17
|
result: Lithic::Models::Payment::result,
|
|
18
18
|
settled_amount: Integer,
|
|
19
19
|
source: Lithic::Models::Payment::source,
|
|
@@ -49,7 +49,7 @@ module Lithic
|
|
|
49
49
|
|
|
50
50
|
attr_accessor pending_amount: Integer
|
|
51
51
|
|
|
52
|
-
attr_accessor related_account_tokens: Lithic::Payment::RelatedAccountTokens
|
|
52
|
+
attr_accessor related_account_tokens: Lithic::Payment::RelatedAccountTokens?
|
|
53
53
|
|
|
54
54
|
attr_accessor result: Lithic::Models::Payment::result
|
|
55
55
|
|
|
@@ -88,7 +88,7 @@ module Lithic
|
|
|
88
88
|
method_: Lithic::Models::Payment::method_,
|
|
89
89
|
method_attributes: Lithic::Models::Payment::method_attributes,
|
|
90
90
|
pending_amount: Integer,
|
|
91
|
-
related_account_tokens: Lithic::Payment::RelatedAccountTokens
|
|
91
|
+
related_account_tokens: Lithic::Payment::RelatedAccountTokens?,
|
|
92
92
|
result: Lithic::Models::Payment::result,
|
|
93
93
|
settled_amount: Integer,
|
|
94
94
|
source: Lithic::Models::Payment::source,
|
|
@@ -114,7 +114,7 @@ module Lithic
|
|
|
114
114
|
method_: Lithic::Models::Payment::method_,
|
|
115
115
|
method_attributes: Lithic::Models::Payment::method_attributes,
|
|
116
116
|
pending_amount: Integer,
|
|
117
|
-
related_account_tokens: Lithic::Payment::RelatedAccountTokens
|
|
117
|
+
related_account_tokens: Lithic::Payment::RelatedAccountTokens?,
|
|
118
118
|
result: Lithic::Models::Payment::result,
|
|
119
119
|
settled_amount: Integer,
|
|
120
120
|
source: Lithic::Models::Payment::source,
|
|
@@ -278,6 +278,7 @@ module Lithic
|
|
|
278
278
|
|
|
279
279
|
type detailed_result =
|
|
280
280
|
:APPROVED
|
|
281
|
+
| :DECLINED
|
|
281
282
|
| :FUNDS_INSUFFICIENT
|
|
282
283
|
| :ACCOUNT_INVALID
|
|
283
284
|
| :PROGRAM_TRANSACTION_LIMIT_EXCEEDED
|
|
@@ -288,6 +289,7 @@ module Lithic
|
|
|
288
289
|
extend Lithic::Internal::Type::Enum
|
|
289
290
|
|
|
290
291
|
APPROVED: :APPROVED
|
|
292
|
+
DECLINED: :DECLINED
|
|
291
293
|
FUNDS_INSUFFICIENT: :FUNDS_INSUFFICIENT
|
|
292
294
|
ACCOUNT_INVALID: :ACCOUNT_INVALID
|
|
293
295
|
PROGRAM_TRANSACTION_LIMIT_EXCEEDED: :PROGRAM_TRANSACTION_LIMIT_EXCEEDED
|
|
@@ -383,15 +385,17 @@ module Lithic
|
|
|
383
385
|
|
|
384
386
|
type wire_method_attributes =
|
|
385
387
|
{
|
|
388
|
+
wire_message_type: String?,
|
|
386
389
|
wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
|
|
387
390
|
creditor: Lithic::WirePartyDetails,
|
|
388
391
|
debtor: Lithic::WirePartyDetails,
|
|
389
392
|
message_id: String?,
|
|
390
|
-
remittance_information: String
|
|
391
|
-
wire_message_type: String
|
|
393
|
+
remittance_information: String?
|
|
392
394
|
}
|
|
393
395
|
|
|
394
396
|
class WireMethodAttributes < Lithic::Internal::Type::BaseModel
|
|
397
|
+
attr_accessor wire_message_type: String?
|
|
398
|
+
|
|
395
399
|
attr_accessor wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network
|
|
396
400
|
|
|
397
401
|
attr_reader creditor: Lithic::WirePartyDetails?
|
|
@@ -406,26 +410,22 @@ module Lithic
|
|
|
406
410
|
|
|
407
411
|
attr_accessor remittance_information: String?
|
|
408
412
|
|
|
409
|
-
attr_reader wire_message_type: String?
|
|
410
|
-
|
|
411
|
-
def wire_message_type=: (String) -> String
|
|
412
|
-
|
|
413
413
|
def initialize: (
|
|
414
|
+
wire_message_type: String?,
|
|
414
415
|
wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
|
|
415
416
|
?creditor: Lithic::WirePartyDetails,
|
|
416
417
|
?debtor: Lithic::WirePartyDetails,
|
|
417
418
|
?message_id: String?,
|
|
418
|
-
?remittance_information: String
|
|
419
|
-
?wire_message_type: String
|
|
419
|
+
?remittance_information: String?
|
|
420
420
|
) -> void
|
|
421
421
|
|
|
422
422
|
def to_hash: -> {
|
|
423
|
+
wire_message_type: String?,
|
|
423
424
|
wire_network: Lithic::Models::Payment::MethodAttributes::WireMethodAttributes::wire_network,
|
|
424
425
|
creditor: Lithic::WirePartyDetails,
|
|
425
426
|
debtor: Lithic::WirePartyDetails,
|
|
426
427
|
message_id: String?,
|
|
427
|
-
remittance_information: String
|
|
428
|
-
wire_message_type: String
|
|
428
|
+
remittance_information: String?
|
|
429
429
|
}
|
|
430
430
|
|
|
431
431
|
type wire_network = :FEDWIRE | :SWIFT
|
|
@@ -485,7 +485,8 @@ module Lithic
|
|
|
485
485
|
def self?.values: -> ::Array[Lithic::Models::Payment::source]
|
|
486
486
|
end
|
|
487
487
|
|
|
488
|
-
type status =
|
|
488
|
+
type status =
|
|
489
|
+
:PENDING | :SETTLED | :DECLINED | :REVERSED | :CANCELED | :RETURNED
|
|
489
490
|
|
|
490
491
|
module Status
|
|
491
492
|
extend Lithic::Internal::Type::Enum
|
|
@@ -495,6 +496,7 @@ module Lithic
|
|
|
495
496
|
DECLINED: :DECLINED
|
|
496
497
|
REVERSED: :REVERSED
|
|
497
498
|
CANCELED: :CANCELED
|
|
499
|
+
RETURNED: :RETURNED
|
|
498
500
|
|
|
499
501
|
def self?.values: -> ::Array[Lithic::Models::Payment::status]
|
|
500
502
|
end
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type payment_return_params =
|
|
4
|
+
{
|
|
5
|
+
financial_account_token: String,
|
|
6
|
+
return_reason_code: String,
|
|
7
|
+
addenda: String?,
|
|
8
|
+
date_of_death: Date?,
|
|
9
|
+
memo: String?
|
|
10
|
+
}
|
|
11
|
+
& Lithic::Internal::Type::request_parameters
|
|
12
|
+
|
|
13
|
+
class PaymentReturnParams < Lithic::Internal::Type::BaseModel
|
|
14
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
|
15
|
+
include Lithic::Internal::Type::RequestParameters
|
|
16
|
+
|
|
17
|
+
attr_accessor financial_account_token: String
|
|
18
|
+
|
|
19
|
+
attr_accessor return_reason_code: String
|
|
20
|
+
|
|
21
|
+
attr_accessor addenda: String?
|
|
22
|
+
|
|
23
|
+
attr_accessor date_of_death: Date?
|
|
24
|
+
|
|
25
|
+
attr_accessor memo: String?
|
|
26
|
+
|
|
27
|
+
def initialize: (
|
|
28
|
+
financial_account_token: String,
|
|
29
|
+
return_reason_code: String,
|
|
30
|
+
?addenda: String?,
|
|
31
|
+
?date_of_death: Date?,
|
|
32
|
+
?memo: String?,
|
|
33
|
+
?request_options: Lithic::request_opts
|
|
34
|
+
) -> void
|
|
35
|
+
|
|
36
|
+
def to_hash: -> {
|
|
37
|
+
financial_account_token: String,
|
|
38
|
+
return_reason_code: String,
|
|
39
|
+
addenda: String?,
|
|
40
|
+
date_of_death: Date?,
|
|
41
|
+
memo: String?,
|
|
42
|
+
request_options: Lithic::RequestOptions
|
|
43
|
+
}
|
|
44
|
+
end
|
|
45
|
+
end
|
|
46
|
+
end
|
|
@@ -3,7 +3,9 @@ module Lithic
|
|
|
3
3
|
type payment_simulate_action_params =
|
|
4
4
|
{
|
|
5
5
|
event_type: Lithic::Models::PaymentSimulateActionParams::event_type,
|
|
6
|
+
date_of_death: Date,
|
|
6
7
|
decline_reason: Lithic::Models::PaymentSimulateActionParams::decline_reason,
|
|
8
|
+
return_addenda: String,
|
|
7
9
|
return_reason_code: String
|
|
8
10
|
}
|
|
9
11
|
& Lithic::Internal::Type::request_parameters
|
|
@@ -14,26 +16,38 @@ module Lithic
|
|
|
14
16
|
|
|
15
17
|
attr_accessor event_type: Lithic::Models::PaymentSimulateActionParams::event_type
|
|
16
18
|
|
|
19
|
+
attr_reader date_of_death: Date?
|
|
20
|
+
|
|
21
|
+
def date_of_death=: (Date) -> Date
|
|
22
|
+
|
|
17
23
|
attr_reader decline_reason: Lithic::Models::PaymentSimulateActionParams::decline_reason?
|
|
18
24
|
|
|
19
25
|
def decline_reason=: (
|
|
20
26
|
Lithic::Models::PaymentSimulateActionParams::decline_reason
|
|
21
27
|
) -> Lithic::Models::PaymentSimulateActionParams::decline_reason
|
|
22
28
|
|
|
29
|
+
attr_reader return_addenda: String?
|
|
30
|
+
|
|
31
|
+
def return_addenda=: (String) -> String
|
|
32
|
+
|
|
23
33
|
attr_reader return_reason_code: String?
|
|
24
34
|
|
|
25
35
|
def return_reason_code=: (String) -> String
|
|
26
36
|
|
|
27
37
|
def initialize: (
|
|
28
38
|
event_type: Lithic::Models::PaymentSimulateActionParams::event_type,
|
|
39
|
+
?date_of_death: Date,
|
|
29
40
|
?decline_reason: Lithic::Models::PaymentSimulateActionParams::decline_reason,
|
|
41
|
+
?return_addenda: String,
|
|
30
42
|
?return_reason_code: String,
|
|
31
43
|
?request_options: Lithic::request_opts
|
|
32
44
|
) -> void
|
|
33
45
|
|
|
34
46
|
def to_hash: -> {
|
|
35
47
|
event_type: Lithic::Models::PaymentSimulateActionParams::event_type,
|
|
48
|
+
date_of_death: Date,
|
|
36
49
|
decline_reason: Lithic::Models::PaymentSimulateActionParams::decline_reason,
|
|
50
|
+
return_addenda: String,
|
|
37
51
|
return_reason_code: String,
|
|
38
52
|
request_options: Lithic::RequestOptions
|
|
39
53
|
}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
module Lithic
|
|
2
|
+
module Models
|
|
3
|
+
type statement_totals =
|
|
4
|
+
{
|
|
5
|
+
balance_transfers: Integer,
|
|
6
|
+
cash_advances: Integer,
|
|
7
|
+
credits: Integer,
|
|
8
|
+
debits: Integer,
|
|
9
|
+
fees: Integer,
|
|
10
|
+
interest: Integer,
|
|
11
|
+
payments: Integer,
|
|
12
|
+
purchases: Integer,
|
|
13
|
+
credit_details: top,
|
|
14
|
+
debit_details: top,
|
|
15
|
+
payment_details: top
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
class StatementTotals < Lithic::Internal::Type::BaseModel
|
|
19
|
+
attr_accessor balance_transfers: Integer
|
|
20
|
+
|
|
21
|
+
attr_accessor cash_advances: Integer
|
|
22
|
+
|
|
23
|
+
attr_accessor credits: Integer
|
|
24
|
+
|
|
25
|
+
attr_accessor debits: Integer
|
|
26
|
+
|
|
27
|
+
attr_accessor fees: Integer
|
|
28
|
+
|
|
29
|
+
attr_accessor interest: Integer
|
|
30
|
+
|
|
31
|
+
attr_accessor payments: Integer
|
|
32
|
+
|
|
33
|
+
attr_accessor purchases: Integer
|
|
34
|
+
|
|
35
|
+
attr_reader credit_details: top?
|
|
36
|
+
|
|
37
|
+
def credit_details=: (top) -> top
|
|
38
|
+
|
|
39
|
+
attr_reader debit_details: top?
|
|
40
|
+
|
|
41
|
+
def debit_details=: (top) -> top
|
|
42
|
+
|
|
43
|
+
attr_reader payment_details: top?
|
|
44
|
+
|
|
45
|
+
def payment_details=: (top) -> top
|
|
46
|
+
|
|
47
|
+
def initialize: (
|
|
48
|
+
balance_transfers: Integer,
|
|
49
|
+
cash_advances: Integer,
|
|
50
|
+
credits: Integer,
|
|
51
|
+
debits: Integer,
|
|
52
|
+
fees: Integer,
|
|
53
|
+
interest: Integer,
|
|
54
|
+
payments: Integer,
|
|
55
|
+
purchases: Integer,
|
|
56
|
+
?credit_details: top,
|
|
57
|
+
?debit_details: top,
|
|
58
|
+
?payment_details: top
|
|
59
|
+
) -> void
|
|
60
|
+
|
|
61
|
+
def to_hash: -> {
|
|
62
|
+
balance_transfers: Integer,
|
|
63
|
+
cash_advances: Integer,
|
|
64
|
+
credits: Integer,
|
|
65
|
+
debits: Integer,
|
|
66
|
+
fees: Integer,
|
|
67
|
+
interest: Integer,
|
|
68
|
+
payments: Integer,
|
|
69
|
+
purchases: Integer,
|
|
70
|
+
credit_details: top,
|
|
71
|
+
debit_details: top,
|
|
72
|
+
payment_details: top
|
|
73
|
+
}
|
|
74
|
+
end
|
|
75
|
+
end
|
|
76
|
+
end
|