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
|
@@ -42,9 +42,9 @@ module Lithic
|
|
|
42
42
|
{
|
|
43
43
|
line_items: ::Array[Lithic::Transactions::Events::EnhancedData::Common::LineItem],
|
|
44
44
|
tax: Lithic::Transactions::Events::EnhancedData::Common::Tax,
|
|
45
|
-
customer_reference_number: String
|
|
46
|
-
merchant_reference_number: String
|
|
47
|
-
order_date: Date
|
|
45
|
+
customer_reference_number: String?,
|
|
46
|
+
merchant_reference_number: String?,
|
|
47
|
+
order_date: Date?
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
class Common < Lithic::Internal::Type::BaseModel
|
|
@@ -52,106 +52,84 @@ module Lithic
|
|
|
52
52
|
|
|
53
53
|
attr_accessor tax: Lithic::Transactions::Events::EnhancedData::Common::Tax
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
attr_accessor customer_reference_number: String?
|
|
56
56
|
|
|
57
|
-
|
|
57
|
+
attr_accessor merchant_reference_number: String?
|
|
58
58
|
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
def merchant_reference_number=: (String) -> String
|
|
62
|
-
|
|
63
|
-
attr_reader order_date: Date?
|
|
64
|
-
|
|
65
|
-
def order_date=: (Date) -> Date
|
|
59
|
+
attr_accessor order_date: Date?
|
|
66
60
|
|
|
67
61
|
def initialize: (
|
|
68
62
|
line_items: ::Array[Lithic::Transactions::Events::EnhancedData::Common::LineItem],
|
|
69
63
|
tax: Lithic::Transactions::Events::EnhancedData::Common::Tax,
|
|
70
|
-
?customer_reference_number: String
|
|
71
|
-
?merchant_reference_number: String
|
|
72
|
-
?order_date: Date
|
|
64
|
+
?customer_reference_number: String?,
|
|
65
|
+
?merchant_reference_number: String?,
|
|
66
|
+
?order_date: Date?
|
|
73
67
|
) -> void
|
|
74
68
|
|
|
75
69
|
def to_hash: -> {
|
|
76
70
|
line_items: ::Array[Lithic::Transactions::Events::EnhancedData::Common::LineItem],
|
|
77
71
|
tax: Lithic::Transactions::Events::EnhancedData::Common::Tax,
|
|
78
|
-
customer_reference_number: String
|
|
79
|
-
merchant_reference_number: String
|
|
80
|
-
order_date: Date
|
|
72
|
+
customer_reference_number: String?,
|
|
73
|
+
merchant_reference_number: String?,
|
|
74
|
+
order_date: Date?
|
|
81
75
|
}
|
|
82
76
|
|
|
83
77
|
type line_item =
|
|
84
78
|
{
|
|
85
|
-
amount:
|
|
86
|
-
description: String
|
|
87
|
-
product_code: String
|
|
88
|
-
quantity:
|
|
79
|
+
amount: String?,
|
|
80
|
+
description: String?,
|
|
81
|
+
product_code: String?,
|
|
82
|
+
quantity: String?
|
|
89
83
|
}
|
|
90
84
|
|
|
91
85
|
class LineItem < Lithic::Internal::Type::BaseModel
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
def amount=: (Float) -> Float
|
|
95
|
-
|
|
96
|
-
attr_reader description: String?
|
|
86
|
+
attr_accessor amount: String?
|
|
97
87
|
|
|
98
|
-
|
|
88
|
+
attr_accessor description: String?
|
|
99
89
|
|
|
100
|
-
|
|
90
|
+
attr_accessor product_code: String?
|
|
101
91
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
attr_reader quantity: Float?
|
|
105
|
-
|
|
106
|
-
def quantity=: (Float) -> Float
|
|
92
|
+
attr_accessor quantity: String?
|
|
107
93
|
|
|
108
94
|
def initialize: (
|
|
109
|
-
?amount:
|
|
110
|
-
?description: String
|
|
111
|
-
?product_code: String
|
|
112
|
-
?quantity:
|
|
95
|
+
?amount: String?,
|
|
96
|
+
?description: String?,
|
|
97
|
+
?product_code: String?,
|
|
98
|
+
?quantity: String?
|
|
113
99
|
) -> void
|
|
114
100
|
|
|
115
101
|
def to_hash: -> {
|
|
116
|
-
amount:
|
|
117
|
-
description: String
|
|
118
|
-
product_code: String
|
|
119
|
-
quantity:
|
|
102
|
+
amount: String?,
|
|
103
|
+
description: String?,
|
|
104
|
+
product_code: String?,
|
|
105
|
+
quantity: String?
|
|
120
106
|
}
|
|
121
107
|
end
|
|
122
108
|
|
|
123
109
|
type tax =
|
|
124
110
|
{
|
|
125
|
-
amount: Integer
|
|
126
|
-
exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt
|
|
127
|
-
merchant_tax_id: String
|
|
111
|
+
amount: Integer?,
|
|
112
|
+
exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt?,
|
|
113
|
+
merchant_tax_id: String?
|
|
128
114
|
}
|
|
129
115
|
|
|
130
116
|
class Tax < Lithic::Internal::Type::BaseModel
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
def amount=: (Integer) -> Integer
|
|
134
|
-
|
|
135
|
-
attr_reader exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt?
|
|
136
|
-
|
|
137
|
-
def exempt=: (
|
|
138
|
-
Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt
|
|
139
|
-
) -> Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt
|
|
117
|
+
attr_accessor amount: Integer?
|
|
140
118
|
|
|
141
|
-
|
|
119
|
+
attr_accessor exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt?
|
|
142
120
|
|
|
143
|
-
|
|
121
|
+
attr_accessor merchant_tax_id: String?
|
|
144
122
|
|
|
145
123
|
def initialize: (
|
|
146
|
-
?amount: Integer
|
|
147
|
-
?exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt
|
|
148
|
-
?merchant_tax_id: String
|
|
124
|
+
?amount: Integer?,
|
|
125
|
+
?exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt?,
|
|
126
|
+
?merchant_tax_id: String?
|
|
149
127
|
) -> void
|
|
150
128
|
|
|
151
129
|
def to_hash: -> {
|
|
152
|
-
amount: Integer
|
|
153
|
-
exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt
|
|
154
|
-
merchant_tax_id: String
|
|
130
|
+
amount: Integer?,
|
|
131
|
+
exempt: Lithic::Models::Transactions::Events::EnhancedData::Common::Tax::exempt?,
|
|
132
|
+
merchant_tax_id: String?
|
|
155
133
|
}
|
|
156
134
|
|
|
157
135
|
type exempt = :TAX_INCLUDED | :TAX_NOT_INCLUDED | :NOT_SUPPORTED
|
|
@@ -172,10 +150,10 @@ module Lithic
|
|
|
172
150
|
{
|
|
173
151
|
amount_totals: Lithic::Transactions::Events::EnhancedData::Fleet::AmountTotals,
|
|
174
152
|
fuel: Lithic::Transactions::Events::EnhancedData::Fleet::Fuel,
|
|
175
|
-
driver_number: String
|
|
176
|
-
odometer: Integer
|
|
153
|
+
driver_number: String?,
|
|
154
|
+
odometer: Integer?,
|
|
177
155
|
service_type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::service_type,
|
|
178
|
-
vehicle_number: String
|
|
156
|
+
vehicle_number: String?
|
|
179
157
|
}
|
|
180
158
|
|
|
181
159
|
class Fleet < Lithic::Internal::Type::BaseModel
|
|
@@ -183,13 +161,9 @@ module Lithic
|
|
|
183
161
|
|
|
184
162
|
attr_accessor fuel: Lithic::Transactions::Events::EnhancedData::Fleet::Fuel
|
|
185
163
|
|
|
186
|
-
|
|
164
|
+
attr_accessor driver_number: String?
|
|
187
165
|
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
attr_reader odometer: Integer?
|
|
191
|
-
|
|
192
|
-
def odometer=: (Integer) -> Integer
|
|
166
|
+
attr_accessor odometer: Integer?
|
|
193
167
|
|
|
194
168
|
attr_reader service_type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::service_type?
|
|
195
169
|
|
|
@@ -197,98 +171,78 @@ module Lithic
|
|
|
197
171
|
Lithic::Models::Transactions::Events::EnhancedData::Fleet::service_type
|
|
198
172
|
) -> Lithic::Models::Transactions::Events::EnhancedData::Fleet::service_type
|
|
199
173
|
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
def vehicle_number=: (String) -> String
|
|
174
|
+
attr_accessor vehicle_number: String?
|
|
203
175
|
|
|
204
176
|
def initialize: (
|
|
205
177
|
amount_totals: Lithic::Transactions::Events::EnhancedData::Fleet::AmountTotals,
|
|
206
178
|
fuel: Lithic::Transactions::Events::EnhancedData::Fleet::Fuel,
|
|
207
|
-
?driver_number: String
|
|
208
|
-
?odometer: Integer
|
|
179
|
+
?driver_number: String?,
|
|
180
|
+
?odometer: Integer?,
|
|
209
181
|
?service_type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::service_type,
|
|
210
|
-
?vehicle_number: String
|
|
182
|
+
?vehicle_number: String?
|
|
211
183
|
) -> void
|
|
212
184
|
|
|
213
185
|
def to_hash: -> {
|
|
214
186
|
amount_totals: Lithic::Transactions::Events::EnhancedData::Fleet::AmountTotals,
|
|
215
187
|
fuel: Lithic::Transactions::Events::EnhancedData::Fleet::Fuel,
|
|
216
|
-
driver_number: String
|
|
217
|
-
odometer: Integer
|
|
188
|
+
driver_number: String?,
|
|
189
|
+
odometer: Integer?,
|
|
218
190
|
service_type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::service_type,
|
|
219
|
-
vehicle_number: String
|
|
191
|
+
vehicle_number: String?
|
|
220
192
|
}
|
|
221
193
|
|
|
222
194
|
type amount_totals =
|
|
223
|
-
{ discount: Integer
|
|
195
|
+
{ discount: Integer?, gross_sale: Integer?, net_sale: Integer? }
|
|
224
196
|
|
|
225
197
|
class AmountTotals < Lithic::Internal::Type::BaseModel
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
def discount=: (Integer) -> Integer
|
|
229
|
-
|
|
230
|
-
attr_reader gross_sale: Integer?
|
|
198
|
+
attr_accessor discount: Integer?
|
|
231
199
|
|
|
232
|
-
|
|
200
|
+
attr_accessor gross_sale: Integer?
|
|
233
201
|
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
def net_sale=: (Integer) -> Integer
|
|
202
|
+
attr_accessor net_sale: Integer?
|
|
237
203
|
|
|
238
204
|
def initialize: (
|
|
239
|
-
?discount: Integer
|
|
240
|
-
?gross_sale: Integer
|
|
241
|
-
?net_sale: Integer
|
|
205
|
+
?discount: Integer?,
|
|
206
|
+
?gross_sale: Integer?,
|
|
207
|
+
?net_sale: Integer?
|
|
242
208
|
) -> void
|
|
243
209
|
|
|
244
210
|
def to_hash: -> {
|
|
245
|
-
discount: Integer
|
|
246
|
-
gross_sale: Integer
|
|
247
|
-
net_sale: Integer
|
|
211
|
+
discount: Integer?,
|
|
212
|
+
gross_sale: Integer?,
|
|
213
|
+
net_sale: Integer?
|
|
248
214
|
}
|
|
249
215
|
end
|
|
250
216
|
|
|
251
217
|
type fuel =
|
|
252
218
|
{
|
|
253
|
-
quantity:
|
|
254
|
-
type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_
|
|
255
|
-
unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure
|
|
256
|
-
unit_price: Integer
|
|
219
|
+
quantity: String?,
|
|
220
|
+
type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_?,
|
|
221
|
+
unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure?,
|
|
222
|
+
unit_price: Integer?
|
|
257
223
|
}
|
|
258
224
|
|
|
259
225
|
class Fuel < Lithic::Internal::Type::BaseModel
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
def quantity=: (Float) -> Float
|
|
263
|
-
|
|
264
|
-
attr_reader type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_?
|
|
265
|
-
|
|
266
|
-
def type=: (
|
|
267
|
-
Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_
|
|
268
|
-
) -> Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_
|
|
269
|
-
|
|
270
|
-
attr_reader unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure?
|
|
226
|
+
attr_accessor quantity: String?
|
|
271
227
|
|
|
272
|
-
|
|
273
|
-
Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure
|
|
274
|
-
) -> Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure
|
|
228
|
+
attr_accessor type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_?
|
|
275
229
|
|
|
276
|
-
|
|
230
|
+
attr_accessor unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure?
|
|
277
231
|
|
|
278
|
-
|
|
232
|
+
attr_accessor unit_price: Integer?
|
|
279
233
|
|
|
280
234
|
def initialize: (
|
|
281
|
-
?quantity:
|
|
282
|
-
?type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_
|
|
283
|
-
?unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure
|
|
284
|
-
?unit_price: Integer
|
|
235
|
+
?quantity: String?,
|
|
236
|
+
?type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_?,
|
|
237
|
+
?unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure?,
|
|
238
|
+
?unit_price: Integer?
|
|
285
239
|
) -> void
|
|
286
240
|
|
|
287
241
|
def to_hash: -> {
|
|
288
|
-
quantity:
|
|
289
|
-
type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_
|
|
290
|
-
unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure
|
|
291
|
-
unit_price: Integer
|
|
242
|
+
quantity: String?,
|
|
243
|
+
type: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::type_?,
|
|
244
|
+
unit_of_measure: Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel::unit_of_measure?,
|
|
245
|
+
unit_price: Integer?
|
|
292
246
|
}
|
|
293
247
|
|
|
294
248
|
type type_ =
|
|
@@ -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
|
from_balance: ::Array[Lithic::Balance],
|
|
12
12
|
pending_amount: Integer,
|
|
13
13
|
result: Lithic::Models::Transfer::result,
|
|
@@ -40,11 +40,11 @@ module Lithic
|
|
|
40
40
|
|
|
41
41
|
def descriptor=: (String) -> String
|
|
42
42
|
|
|
43
|
-
attr_reader events: ::Array[Lithic::
|
|
43
|
+
attr_reader events: ::Array[Lithic::FinancialEvent]?
|
|
44
44
|
|
|
45
45
|
def events=: (
|
|
46
|
-
::Array[Lithic::
|
|
47
|
-
) -> ::Array[Lithic::
|
|
46
|
+
::Array[Lithic::FinancialEvent]
|
|
47
|
+
) -> ::Array[Lithic::FinancialEvent]
|
|
48
48
|
|
|
49
49
|
attr_reader from_balance: ::Array[Lithic::Balance]?
|
|
50
50
|
|
|
@@ -84,7 +84,7 @@ module Lithic
|
|
|
84
84
|
?created: Time,
|
|
85
85
|
?currency: String,
|
|
86
86
|
?descriptor: String,
|
|
87
|
-
?events: ::Array[Lithic::
|
|
87
|
+
?events: ::Array[Lithic::FinancialEvent],
|
|
88
88
|
?from_balance: ::Array[Lithic::Balance],
|
|
89
89
|
?pending_amount: Integer,
|
|
90
90
|
?result: Lithic::Models::Transfer::result,
|
|
@@ -100,7 +100,7 @@ module Lithic
|
|
|
100
100
|
created: Time,
|
|
101
101
|
currency: String,
|
|
102
102
|
descriptor: String,
|
|
103
|
-
events: ::Array[Lithic::
|
|
103
|
+
events: ::Array[Lithic::FinancialEvent],
|
|
104
104
|
from_balance: ::Array[Lithic::Balance],
|
|
105
105
|
pending_amount: Integer,
|
|
106
106
|
result: Lithic::Models::Transfer::result,
|
|
@@ -120,219 +120,6 @@ module Lithic
|
|
|
120
120
|
def self?.values: -> ::Array[Lithic::Models::Transfer::category]
|
|
121
121
|
end
|
|
122
122
|
|
|
123
|
-
type event =
|
|
124
|
-
{
|
|
125
|
-
token: String,
|
|
126
|
-
amount: Integer,
|
|
127
|
-
created: Time,
|
|
128
|
-
result: Lithic::Models::Transfer::Event::result,
|
|
129
|
-
type: Lithic::Models::Transfer::Event::type_
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
class Event < Lithic::Internal::Type::BaseModel
|
|
133
|
-
attr_reader token: String?
|
|
134
|
-
|
|
135
|
-
def token=: (String) -> String
|
|
136
|
-
|
|
137
|
-
attr_reader amount: Integer?
|
|
138
|
-
|
|
139
|
-
def amount=: (Integer) -> Integer
|
|
140
|
-
|
|
141
|
-
attr_reader created: Time?
|
|
142
|
-
|
|
143
|
-
def created=: (Time) -> Time
|
|
144
|
-
|
|
145
|
-
attr_reader result: Lithic::Models::Transfer::Event::result?
|
|
146
|
-
|
|
147
|
-
def result=: (
|
|
148
|
-
Lithic::Models::Transfer::Event::result
|
|
149
|
-
) -> Lithic::Models::Transfer::Event::result
|
|
150
|
-
|
|
151
|
-
attr_reader type: Lithic::Models::Transfer::Event::type_?
|
|
152
|
-
|
|
153
|
-
def type=: (
|
|
154
|
-
Lithic::Models::Transfer::Event::type_
|
|
155
|
-
) -> Lithic::Models::Transfer::Event::type_
|
|
156
|
-
|
|
157
|
-
def initialize: (
|
|
158
|
-
?token: String,
|
|
159
|
-
?amount: Integer,
|
|
160
|
-
?created: Time,
|
|
161
|
-
?result: Lithic::Models::Transfer::Event::result,
|
|
162
|
-
?type: Lithic::Models::Transfer::Event::type_
|
|
163
|
-
) -> void
|
|
164
|
-
|
|
165
|
-
def to_hash: -> {
|
|
166
|
-
token: String,
|
|
167
|
-
amount: Integer,
|
|
168
|
-
created: Time,
|
|
169
|
-
result: Lithic::Models::Transfer::Event::result,
|
|
170
|
-
type: Lithic::Models::Transfer::Event::type_
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
type result = :APPROVED | :DECLINED
|
|
174
|
-
|
|
175
|
-
module Result
|
|
176
|
-
extend Lithic::Internal::Type::Enum
|
|
177
|
-
|
|
178
|
-
APPROVED: :APPROVED
|
|
179
|
-
DECLINED: :DECLINED
|
|
180
|
-
|
|
181
|
-
def self?.values: -> ::Array[Lithic::Models::Transfer::Event::result]
|
|
182
|
-
end
|
|
183
|
-
|
|
184
|
-
type type_ =
|
|
185
|
-
:ACH_ORIGINATION_CANCELLED
|
|
186
|
-
| :ACH_ORIGINATION_INITIATED
|
|
187
|
-
| :ACH_ORIGINATION_PROCESSED
|
|
188
|
-
| :ACH_ORIGINATION_RELEASED
|
|
189
|
-
| :ACH_ORIGINATION_REJECTED
|
|
190
|
-
| :ACH_ORIGINATION_REVIEWED
|
|
191
|
-
| :ACH_ORIGINATION_SETTLED
|
|
192
|
-
| :ACH_RECEIPT_PROCESSED
|
|
193
|
-
| :ACH_RECEIPT_RELEASED
|
|
194
|
-
| :ACH_RECEIPT_SETTLED
|
|
195
|
-
| :ACH_RETURN_INITIATED
|
|
196
|
-
| :ACH_RETURN_PROCESSED
|
|
197
|
-
| :ACH_RETURN_REJECTED
|
|
198
|
-
| :ACH_RETURN_SETTLED
|
|
199
|
-
| :AUTHORIZATION
|
|
200
|
-
| :AUTHORIZATION_ADVICE
|
|
201
|
-
| :AUTHORIZATION_EXPIRY
|
|
202
|
-
| :AUTHORIZATION_REVERSAL
|
|
203
|
-
| :BALANCE_INQUIRY
|
|
204
|
-
| :BILLING_ERROR
|
|
205
|
-
| :BILLING_ERROR_REVERSAL
|
|
206
|
-
| :CARD_TO_CARD
|
|
207
|
-
| :CASH_BACK
|
|
208
|
-
| :CASH_BACK_REVERSAL
|
|
209
|
-
| :CLEARING
|
|
210
|
-
| :COLLECTION
|
|
211
|
-
| :CORRECTION_CREDIT
|
|
212
|
-
| :CORRECTION_DEBIT
|
|
213
|
-
| :CREDIT_AUTHORIZATION
|
|
214
|
-
| :CREDIT_AUTHORIZATION_ADVICE
|
|
215
|
-
| :CURRENCY_CONVERSION
|
|
216
|
-
| :CURRENCY_CONVERSION_REVERSAL
|
|
217
|
-
| :DISPUTE_WON
|
|
218
|
-
| :EXTERNAL_ACH_CANCELED
|
|
219
|
-
| :EXTERNAL_ACH_INITIATED
|
|
220
|
-
| :EXTERNAL_ACH_RELEASED
|
|
221
|
-
| :EXTERNAL_ACH_REVERSED
|
|
222
|
-
| :EXTERNAL_ACH_SETTLED
|
|
223
|
-
| :EXTERNAL_CHECK_CANCELED
|
|
224
|
-
| :EXTERNAL_CHECK_INITIATED
|
|
225
|
-
| :EXTERNAL_CHECK_RELEASED
|
|
226
|
-
| :EXTERNAL_CHECK_REVERSED
|
|
227
|
-
| :EXTERNAL_CHECK_SETTLED
|
|
228
|
-
| :EXTERNAL_TRANSFER_CANCELED
|
|
229
|
-
| :EXTERNAL_TRANSFER_INITIATED
|
|
230
|
-
| :EXTERNAL_TRANSFER_RELEASED
|
|
231
|
-
| :EXTERNAL_TRANSFER_REVERSED
|
|
232
|
-
| :EXTERNAL_TRANSFER_SETTLED
|
|
233
|
-
| :EXTERNAL_WIRE_CANCELED
|
|
234
|
-
| :EXTERNAL_WIRE_INITIATED
|
|
235
|
-
| :EXTERNAL_WIRE_RELEASED
|
|
236
|
-
| :EXTERNAL_WIRE_REVERSED
|
|
237
|
-
| :EXTERNAL_WIRE_SETTLED
|
|
238
|
-
| :FINANCIAL_AUTHORIZATION
|
|
239
|
-
| :FINANCIAL_CREDIT_AUTHORIZATION
|
|
240
|
-
| :INTEREST
|
|
241
|
-
| :INTEREST_REVERSAL
|
|
242
|
-
| :INTERNAL_ADJUSTMENT
|
|
243
|
-
| :LATE_PAYMENT
|
|
244
|
-
| :LATE_PAYMENT_REVERSAL
|
|
245
|
-
| :LOSS_WRITE_OFF
|
|
246
|
-
| :PROVISIONAL_CREDIT
|
|
247
|
-
| :PROVISIONAL_CREDIT_REVERSAL
|
|
248
|
-
| :SERVICE
|
|
249
|
-
| :RETURN
|
|
250
|
-
| :RETURN_REVERSAL
|
|
251
|
-
| :TRANSFER
|
|
252
|
-
| :TRANSFER_INSUFFICIENT_FUNDS
|
|
253
|
-
| :RETURNED_PAYMENT
|
|
254
|
-
| :RETURNED_PAYMENT_REVERSAL
|
|
255
|
-
| :LITHIC_NETWORK_PAYMENT
|
|
256
|
-
|
|
257
|
-
module Type
|
|
258
|
-
extend Lithic::Internal::Type::Enum
|
|
259
|
-
|
|
260
|
-
ACH_ORIGINATION_CANCELLED: :ACH_ORIGINATION_CANCELLED
|
|
261
|
-
ACH_ORIGINATION_INITIATED: :ACH_ORIGINATION_INITIATED
|
|
262
|
-
ACH_ORIGINATION_PROCESSED: :ACH_ORIGINATION_PROCESSED
|
|
263
|
-
ACH_ORIGINATION_RELEASED: :ACH_ORIGINATION_RELEASED
|
|
264
|
-
ACH_ORIGINATION_REJECTED: :ACH_ORIGINATION_REJECTED
|
|
265
|
-
ACH_ORIGINATION_REVIEWED: :ACH_ORIGINATION_REVIEWED
|
|
266
|
-
ACH_ORIGINATION_SETTLED: :ACH_ORIGINATION_SETTLED
|
|
267
|
-
ACH_RECEIPT_PROCESSED: :ACH_RECEIPT_PROCESSED
|
|
268
|
-
ACH_RECEIPT_RELEASED: :ACH_RECEIPT_RELEASED
|
|
269
|
-
ACH_RECEIPT_SETTLED: :ACH_RECEIPT_SETTLED
|
|
270
|
-
ACH_RETURN_INITIATED: :ACH_RETURN_INITIATED
|
|
271
|
-
ACH_RETURN_PROCESSED: :ACH_RETURN_PROCESSED
|
|
272
|
-
ACH_RETURN_REJECTED: :ACH_RETURN_REJECTED
|
|
273
|
-
ACH_RETURN_SETTLED: :ACH_RETURN_SETTLED
|
|
274
|
-
AUTHORIZATION: :AUTHORIZATION
|
|
275
|
-
AUTHORIZATION_ADVICE: :AUTHORIZATION_ADVICE
|
|
276
|
-
AUTHORIZATION_EXPIRY: :AUTHORIZATION_EXPIRY
|
|
277
|
-
AUTHORIZATION_REVERSAL: :AUTHORIZATION_REVERSAL
|
|
278
|
-
BALANCE_INQUIRY: :BALANCE_INQUIRY
|
|
279
|
-
BILLING_ERROR: :BILLING_ERROR
|
|
280
|
-
BILLING_ERROR_REVERSAL: :BILLING_ERROR_REVERSAL
|
|
281
|
-
CARD_TO_CARD: :CARD_TO_CARD
|
|
282
|
-
CASH_BACK: :CASH_BACK
|
|
283
|
-
CASH_BACK_REVERSAL: :CASH_BACK_REVERSAL
|
|
284
|
-
CLEARING: :CLEARING
|
|
285
|
-
COLLECTION: :COLLECTION
|
|
286
|
-
CORRECTION_CREDIT: :CORRECTION_CREDIT
|
|
287
|
-
CORRECTION_DEBIT: :CORRECTION_DEBIT
|
|
288
|
-
CREDIT_AUTHORIZATION: :CREDIT_AUTHORIZATION
|
|
289
|
-
CREDIT_AUTHORIZATION_ADVICE: :CREDIT_AUTHORIZATION_ADVICE
|
|
290
|
-
CURRENCY_CONVERSION: :CURRENCY_CONVERSION
|
|
291
|
-
CURRENCY_CONVERSION_REVERSAL: :CURRENCY_CONVERSION_REVERSAL
|
|
292
|
-
DISPUTE_WON: :DISPUTE_WON
|
|
293
|
-
EXTERNAL_ACH_CANCELED: :EXTERNAL_ACH_CANCELED
|
|
294
|
-
EXTERNAL_ACH_INITIATED: :EXTERNAL_ACH_INITIATED
|
|
295
|
-
EXTERNAL_ACH_RELEASED: :EXTERNAL_ACH_RELEASED
|
|
296
|
-
EXTERNAL_ACH_REVERSED: :EXTERNAL_ACH_REVERSED
|
|
297
|
-
EXTERNAL_ACH_SETTLED: :EXTERNAL_ACH_SETTLED
|
|
298
|
-
EXTERNAL_CHECK_CANCELED: :EXTERNAL_CHECK_CANCELED
|
|
299
|
-
EXTERNAL_CHECK_INITIATED: :EXTERNAL_CHECK_INITIATED
|
|
300
|
-
EXTERNAL_CHECK_RELEASED: :EXTERNAL_CHECK_RELEASED
|
|
301
|
-
EXTERNAL_CHECK_REVERSED: :EXTERNAL_CHECK_REVERSED
|
|
302
|
-
EXTERNAL_CHECK_SETTLED: :EXTERNAL_CHECK_SETTLED
|
|
303
|
-
EXTERNAL_TRANSFER_CANCELED: :EXTERNAL_TRANSFER_CANCELED
|
|
304
|
-
EXTERNAL_TRANSFER_INITIATED: :EXTERNAL_TRANSFER_INITIATED
|
|
305
|
-
EXTERNAL_TRANSFER_RELEASED: :EXTERNAL_TRANSFER_RELEASED
|
|
306
|
-
EXTERNAL_TRANSFER_REVERSED: :EXTERNAL_TRANSFER_REVERSED
|
|
307
|
-
EXTERNAL_TRANSFER_SETTLED: :EXTERNAL_TRANSFER_SETTLED
|
|
308
|
-
EXTERNAL_WIRE_CANCELED: :EXTERNAL_WIRE_CANCELED
|
|
309
|
-
EXTERNAL_WIRE_INITIATED: :EXTERNAL_WIRE_INITIATED
|
|
310
|
-
EXTERNAL_WIRE_RELEASED: :EXTERNAL_WIRE_RELEASED
|
|
311
|
-
EXTERNAL_WIRE_REVERSED: :EXTERNAL_WIRE_REVERSED
|
|
312
|
-
EXTERNAL_WIRE_SETTLED: :EXTERNAL_WIRE_SETTLED
|
|
313
|
-
FINANCIAL_AUTHORIZATION: :FINANCIAL_AUTHORIZATION
|
|
314
|
-
FINANCIAL_CREDIT_AUTHORIZATION: :FINANCIAL_CREDIT_AUTHORIZATION
|
|
315
|
-
INTEREST: :INTEREST
|
|
316
|
-
INTEREST_REVERSAL: :INTEREST_REVERSAL
|
|
317
|
-
INTERNAL_ADJUSTMENT: :INTERNAL_ADJUSTMENT
|
|
318
|
-
LATE_PAYMENT: :LATE_PAYMENT
|
|
319
|
-
LATE_PAYMENT_REVERSAL: :LATE_PAYMENT_REVERSAL
|
|
320
|
-
LOSS_WRITE_OFF: :LOSS_WRITE_OFF
|
|
321
|
-
PROVISIONAL_CREDIT: :PROVISIONAL_CREDIT
|
|
322
|
-
PROVISIONAL_CREDIT_REVERSAL: :PROVISIONAL_CREDIT_REVERSAL
|
|
323
|
-
SERVICE: :SERVICE
|
|
324
|
-
RETURN: :RETURN
|
|
325
|
-
RETURN_REVERSAL: :RETURN_REVERSAL
|
|
326
|
-
TRANSFER: :TRANSFER
|
|
327
|
-
TRANSFER_INSUFFICIENT_FUNDS: :TRANSFER_INSUFFICIENT_FUNDS
|
|
328
|
-
RETURNED_PAYMENT: :RETURNED_PAYMENT
|
|
329
|
-
RETURNED_PAYMENT_REVERSAL: :RETURNED_PAYMENT_REVERSAL
|
|
330
|
-
LITHIC_NETWORK_PAYMENT: :LITHIC_NETWORK_PAYMENT
|
|
331
|
-
|
|
332
|
-
def self?.values: -> ::Array[Lithic::Models::Transfer::Event::type_]
|
|
333
|
-
end
|
|
334
|
-
end
|
|
335
|
-
|
|
336
123
|
type result = :APPROVED | :DECLINED
|
|
337
124
|
|
|
338
125
|
module Result
|
data/sig/lithic/models.rbs
CHANGED
|
@@ -107,6 +107,8 @@ module Lithic
|
|
|
107
107
|
|
|
108
108
|
class Carrier = Lithic::Models::Carrier
|
|
109
109
|
|
|
110
|
+
class CategoryDetails = Lithic::Models::CategoryDetails
|
|
111
|
+
|
|
110
112
|
class ClientAPIStatusParams = Lithic::Models::ClientAPIStatusParams
|
|
111
113
|
|
|
112
114
|
module CreditProducts = Lithic::Models::CreditProducts
|
|
@@ -139,8 +141,14 @@ module Lithic
|
|
|
139
141
|
|
|
140
142
|
class DisputeRetrieveParams = Lithic::Models::DisputeRetrieveParams
|
|
141
143
|
|
|
144
|
+
class DisputesV2ListParams = Lithic::Models::DisputesV2ListParams
|
|
145
|
+
|
|
146
|
+
class DisputesV2RetrieveParams = Lithic::Models::DisputesV2RetrieveParams
|
|
147
|
+
|
|
142
148
|
class DisputeUpdateParams = Lithic::Models::DisputeUpdateParams
|
|
143
149
|
|
|
150
|
+
class DisputeV2 = Lithic::Models::DisputeV2
|
|
151
|
+
|
|
144
152
|
class Document = Lithic::Models::Document
|
|
145
153
|
|
|
146
154
|
class Event = Lithic::Models::Event
|
|
@@ -169,6 +177,8 @@ module Lithic
|
|
|
169
177
|
|
|
170
178
|
module ExternalBankAccounts = Lithic::Models::ExternalBankAccounts
|
|
171
179
|
|
|
180
|
+
class ExternalBankAccountUnpauseParams = Lithic::Models::ExternalBankAccountUnpauseParams
|
|
181
|
+
|
|
172
182
|
class ExternalBankAccountUpdateParams = Lithic::Models::ExternalBankAccountUpdateParams
|
|
173
183
|
|
|
174
184
|
class ExternalPayment = Lithic::Models::ExternalPayment
|
|
@@ -207,6 +217,8 @@ module Lithic
|
|
|
207
217
|
|
|
208
218
|
class FinancialAccountUpdateStatusParams = Lithic::Models::FinancialAccountUpdateStatusParams
|
|
209
219
|
|
|
220
|
+
class FinancialEvent = Lithic::Models::FinancialEvent
|
|
221
|
+
|
|
210
222
|
class FinancialTransaction = Lithic::Models::FinancialTransaction
|
|
211
223
|
|
|
212
224
|
module Fraud = Lithic::Models::Fraud
|
|
@@ -237,6 +249,8 @@ module Lithic
|
|
|
237
249
|
|
|
238
250
|
class ManagementOperationTransaction = Lithic::Models::ManagementOperationTransaction
|
|
239
251
|
|
|
252
|
+
class Merchant = Lithic::Models::Merchant
|
|
253
|
+
|
|
240
254
|
class MessageAttempt = Lithic::Models::MessageAttempt
|
|
241
255
|
|
|
242
256
|
class NetworkProgram = Lithic::Models::NetworkProgram
|
|
@@ -259,6 +273,8 @@ module Lithic
|
|
|
259
273
|
|
|
260
274
|
class PaymentRetryParams = Lithic::Models::PaymentRetryParams
|
|
261
275
|
|
|
276
|
+
class PaymentReturnParams = Lithic::Models::PaymentReturnParams
|
|
277
|
+
|
|
262
278
|
class PaymentSimulateActionParams = Lithic::Models::PaymentSimulateActionParams
|
|
263
279
|
|
|
264
280
|
class PaymentSimulateReceiptParams = Lithic::Models::PaymentSimulateReceiptParams
|
|
@@ -291,6 +307,8 @@ module Lithic
|
|
|
291
307
|
|
|
292
308
|
module SpendLimitDuration = Lithic::Models::SpendLimitDuration
|
|
293
309
|
|
|
310
|
+
class StatementTotals = Lithic::Models::StatementTotals
|
|
311
|
+
|
|
294
312
|
module ThreeDS = Lithic::Models::ThreeDS
|
|
295
313
|
|
|
296
314
|
class Tokenization = Lithic::Models::Tokenization
|
|
@@ -5,14 +5,14 @@ module Lithic
|
|
|
5
5
|
attr_reader backtests: Lithic::Resources::AuthRules::V2::Backtests
|
|
6
6
|
|
|
7
7
|
def create: (
|
|
8
|
+
parameters: Lithic::Models::AuthRules::V2CreateParams::parameters,
|
|
9
|
+
type: Lithic::Models::AuthRules::V2CreateParams::type_,
|
|
8
10
|
card_tokens: ::Array[String],
|
|
9
11
|
program_level: bool,
|
|
10
12
|
?account_tokens: ::Array[String],
|
|
11
13
|
?business_account_tokens: ::Array[String],
|
|
12
14
|
?event_stream: Lithic::Models::AuthRules::V2CreateParams::event_stream,
|
|
13
15
|
?name: String?,
|
|
14
|
-
?parameters: Lithic::Models::AuthRules::V2CreateParams::parameters,
|
|
15
|
-
?type: Lithic::Models::AuthRules::V2CreateParams::type_,
|
|
16
16
|
?excluded_card_tokens: ::Array[String],
|
|
17
17
|
?request_options: Lithic::request_opts
|
|
18
18
|
) -> Lithic::Models::AuthRules::V2CreateResponse
|
|
@@ -51,16 +51,6 @@ module Lithic
|
|
|
51
51
|
?request_options: Lithic::request_opts
|
|
52
52
|
) -> nil
|
|
53
53
|
|
|
54
|
-
def apply: (
|
|
55
|
-
String auth_rule_token,
|
|
56
|
-
card_tokens: ::Array[String],
|
|
57
|
-
program_level: bool,
|
|
58
|
-
?account_tokens: ::Array[String],
|
|
59
|
-
?business_account_tokens: ::Array[String],
|
|
60
|
-
?excluded_card_tokens: ::Array[String],
|
|
61
|
-
?request_options: Lithic::request_opts
|
|
62
|
-
) -> Lithic::Models::AuthRules::V2ApplyResponse
|
|
63
|
-
|
|
64
54
|
def draft: (
|
|
65
55
|
String auth_rule_token,
|
|
66
56
|
?parameters: Lithic::Models::AuthRules::V2DraftParams::parameters?,
|