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.
Files changed (196) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/README.md +1 -1
  4. data/lib/lithic/client.rb +4 -0
  5. data/lib/lithic/models/account_activity_list_response.rb +60 -148
  6. data/lib/lithic/models/account_activity_retrieve_transaction_response.rb +60 -151
  7. data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -51
  8. data/lib/lithic/models/auth_rules/conditional_3ds_action_parameters.rb +8 -51
  9. data/lib/lithic/models/auth_rules/conditional_ach_action_parameters.rb +260 -0
  10. data/lib/lithic/models/auth_rules/conditional_authorization_action_parameters.rb +8 -53
  11. data/lib/lithic/models/auth_rules/conditional_operation.rb +26 -0
  12. data/lib/lithic/models/auth_rules/conditional_tokenization_action_parameters.rb +254 -0
  13. data/lib/lithic/models/auth_rules/conditional_value.rb +27 -0
  14. data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -5
  15. data/lib/lithic/models/auth_rules/v2_create_response.rb +21 -8
  16. data/lib/lithic/models/auth_rules/v2_draft_params.rb +7 -3
  17. data/lib/lithic/models/auth_rules/v2_draft_response.rb +21 -8
  18. data/lib/lithic/models/auth_rules/v2_list_params.rb +3 -0
  19. data/lib/lithic/models/auth_rules/v2_list_response.rb +21 -8
  20. data/lib/lithic/models/auth_rules/v2_promote_response.rb +21 -8
  21. data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +21 -8
  22. data/lib/lithic/models/auth_rules/v2_update_response.rb +21 -8
  23. data/lib/lithic/models/book_transfer_response.rb +1 -0
  24. data/lib/lithic/models/category_details.rb +27 -0
  25. data/lib/lithic/models/dispute.rb +242 -510
  26. data/lib/lithic/models/dispute_v2.rb +555 -0
  27. data/lib/lithic/models/disputes_v2_list_params.rb +84 -0
  28. data/lib/lithic/models/disputes_v2_retrieve_params.rb +14 -0
  29. data/lib/lithic/models/external_bank_account_address.rb +2 -2
  30. data/lib/lithic/models/external_bank_account_create_response.rb +18 -18
  31. data/lib/lithic/models/external_bank_account_list_response.rb +18 -18
  32. data/lib/lithic/models/external_bank_account_retrieve_response.rb +18 -18
  33. data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +18 -18
  34. data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +18 -18
  35. data/lib/lithic/models/external_bank_account_unpause_params.rb +14 -0
  36. data/lib/lithic/models/external_bank_account_unpause_response.rb +242 -0
  37. data/lib/lithic/models/external_bank_account_update_response.rb +18 -18
  38. data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +18 -18
  39. data/lib/lithic/models/external_payment.rb +3 -2
  40. data/lib/lithic/models/external_payment_list_params.rb +1 -0
  41. data/lib/lithic/models/financial_account.rb +4 -3
  42. data/lib/lithic/models/financial_accounts/category_balances.rb +29 -0
  43. data/lib/lithic/models/financial_accounts/loan_tape.rb +35 -520
  44. data/lib/lithic/models/financial_accounts/statement.rb +73 -275
  45. data/lib/lithic/models/financial_event.rb +148 -0
  46. data/lib/lithic/models/financial_transaction.rb +3 -146
  47. data/lib/lithic/models/management_operation_list_params.rb +1 -0
  48. data/lib/lithic/models/management_operation_transaction.rb +5 -4
  49. data/lib/lithic/models/merchant.rb +70 -0
  50. data/lib/lithic/models/payment.rb +7 -5
  51. data/lib/lithic/models/payment_return_params.rb +62 -0
  52. data/lib/lithic/models/statement_totals.rb +100 -0
  53. data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +9 -9
  54. data/lib/lithic/models/transaction.rb +3 -69
  55. data/lib/lithic/models/transactions/events/enhanced_data.rb +49 -40
  56. data/lib/lithic/models/transfer.rb +3 -146
  57. data/lib/lithic/models.rb +18 -0
  58. data/lib/lithic/resources/auth_rules/v2.rb +2 -2
  59. data/lib/lithic/resources/disputes.rb +10 -10
  60. data/lib/lithic/resources/disputes_v2.rb +74 -0
  61. data/lib/lithic/resources/external_bank_accounts.rb +19 -0
  62. data/lib/lithic/resources/payments.rb +48 -0
  63. data/lib/lithic/version.rb +1 -1
  64. data/lib/lithic.rb +16 -5
  65. data/rbi/lithic/client.rbi +3 -0
  66. data/rbi/lithic/models/account_activity_list_response.rbi +121 -544
  67. data/rbi/lithic/models/account_activity_retrieve_transaction_response.rbi +121 -544
  68. data/rbi/lithic/models/auth_rules/auth_rule_condition.rbi +13 -139
  69. data/rbi/lithic/models/auth_rules/conditional_3ds_action_parameters.rbi +13 -153
  70. data/rbi/lithic/models/auth_rules/conditional_ach_action_parameters.rbi +789 -0
  71. data/rbi/lithic/models/auth_rules/conditional_authorization_action_parameters.rbi +13 -153
  72. data/rbi/lithic/models/auth_rules/conditional_operation.rbi +74 -0
  73. data/rbi/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbi +674 -0
  74. data/rbi/lithic/models/auth_rules/conditional_value.rbi +28 -0
  75. data/rbi/lithic/models/auth_rules/v2_create_params.rbi +33 -7
  76. data/rbi/lithic/models/auth_rules/v2_create_response.rbi +33 -7
  77. data/rbi/lithic/models/auth_rules/v2_draft_params.rbi +12 -4
  78. data/rbi/lithic/models/auth_rules/v2_draft_response.rbi +33 -7
  79. data/rbi/lithic/models/auth_rules/v2_list_params.rbi +15 -0
  80. data/rbi/lithic/models/auth_rules/v2_list_response.rbi +33 -7
  81. data/rbi/lithic/models/auth_rules/v2_promote_response.rbi +33 -7
  82. data/rbi/lithic/models/auth_rules/v2_retrieve_response.rbi +33 -7
  83. data/rbi/lithic/models/auth_rules/v2_update_response.rbi +33 -7
  84. data/rbi/lithic/models/book_transfer_response.rbi +2 -0
  85. data/rbi/lithic/models/category_details.rbi +43 -0
  86. data/rbi/lithic/models/dispute.rbi +395 -942
  87. data/rbi/lithic/models/dispute_v2.rbi +965 -0
  88. data/rbi/lithic/models/disputes_v2_list_params.rbi +129 -0
  89. data/rbi/lithic/models/disputes_v2_retrieve_params.rbi +27 -0
  90. data/rbi/lithic/models/external_bank_account_address.rbi +3 -6
  91. data/rbi/lithic/models/external_bank_account_create_response.rbi +31 -51
  92. data/rbi/lithic/models/external_bank_account_list_response.rbi +31 -51
  93. data/rbi/lithic/models/external_bank_account_retrieve_response.rbi +31 -51
  94. data/rbi/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +31 -51
  95. data/rbi/lithic/models/external_bank_account_retry_prenote_response.rbi +31 -51
  96. data/rbi/lithic/models/external_bank_account_unpause_params.rbi +30 -0
  97. data/rbi/lithic/models/external_bank_account_unpause_response.rbi +375 -0
  98. data/rbi/lithic/models/external_bank_account_update_response.rbi +31 -51
  99. data/rbi/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +31 -51
  100. data/rbi/lithic/models/external_payment.rbi +5 -6
  101. data/rbi/lithic/models/external_payment_list_params.rbi +5 -0
  102. data/rbi/lithic/models/financial_account.rbi +12 -4
  103. data/rbi/lithic/models/financial_accounts/category_balances.rbi +42 -0
  104. data/rbi/lithic/models/financial_accounts/loan_tape.rbi +47 -802
  105. data/rbi/lithic/models/financial_accounts/statement.rbi +118 -430
  106. data/rbi/lithic/models/financial_event.rbi +409 -0
  107. data/rbi/lithic/models/financial_transaction.rbi +3 -509
  108. data/rbi/lithic/models/management_operation_list_params.rbi +5 -0
  109. data/rbi/lithic/models/management_operation_transaction.rbi +11 -12
  110. data/rbi/lithic/models/merchant.rbi +89 -0
  111. data/rbi/lithic/models/payment.rbi +16 -7
  112. data/rbi/lithic/models/payment_return_params.rbi +85 -0
  113. data/rbi/lithic/models/statement_totals.rbi +128 -0
  114. data/rbi/lithic/models/three_ds/authentication_retrieve_response.rbi +12 -12
  115. data/rbi/lithic/models/transaction.rbi +4 -90
  116. data/rbi/lithic/models/transactions/events/enhanced_data.rbi +74 -133
  117. data/rbi/lithic/models/transfer.rbi +4 -436
  118. data/rbi/lithic/models.rbi +19 -0
  119. data/rbi/lithic/resources/auth_rules/v2.rbi +8 -3
  120. data/rbi/lithic/resources/disputes.rbi +5 -7
  121. data/rbi/lithic/resources/disputes_v2.rbi +64 -0
  122. data/rbi/lithic/resources/external_bank_accounts.rbi +10 -0
  123. data/rbi/lithic/resources/payments.rbi +46 -0
  124. data/sig/lithic/client.rbs +2 -0
  125. data/sig/lithic/models/account_activity_list_response.rbs +67 -221
  126. data/sig/lithic/models/account_activity_retrieve_transaction_response.rbs +67 -221
  127. data/sig/lithic/models/auth_rules/auth_rule_condition.rbs +10 -61
  128. data/sig/lithic/models/auth_rules/conditional_3ds_action_parameters.rbs +10 -61
  129. data/sig/lithic/models/auth_rules/conditional_ach_action_parameters.rbs +293 -0
  130. data/sig/lithic/models/auth_rules/conditional_authorization_action_parameters.rbs +10 -61
  131. data/sig/lithic/models/auth_rules/conditional_operation.rbs +34 -0
  132. data/sig/lithic/models/auth_rules/conditional_tokenization_action_parameters.rbs +237 -0
  133. data/sig/lithic/models/auth_rules/conditional_value.rbs +15 -0
  134. data/sig/lithic/models/auth_rules/v2_create_params.rbs +11 -1
  135. data/sig/lithic/models/auth_rules/v2_create_response.rbs +13 -1
  136. data/sig/lithic/models/auth_rules/v2_draft_params.rbs +2 -0
  137. data/sig/lithic/models/auth_rules/v2_draft_response.rbs +13 -1
  138. data/sig/lithic/models/auth_rules/v2_list_params.rbs +9 -1
  139. data/sig/lithic/models/auth_rules/v2_list_response.rbs +13 -1
  140. data/sig/lithic/models/auth_rules/v2_promote_response.rbs +13 -1
  141. data/sig/lithic/models/auth_rules/v2_retrieve_response.rbs +13 -1
  142. data/sig/lithic/models/auth_rules/v2_update_response.rbs +13 -1
  143. data/sig/lithic/models/book_transfer_response.rbs +3 -1
  144. data/sig/lithic/models/category_details.rbs +26 -0
  145. data/sig/lithic/models/dispute.rbs +157 -417
  146. data/sig/lithic/models/dispute_v2.rbs +438 -0
  147. data/sig/lithic/models/disputes_v2_list_params.rbs +77 -0
  148. data/sig/lithic/models/disputes_v2_retrieve_params.rbs +15 -0
  149. data/sig/lithic/models/external_bank_account_address.rbs +4 -6
  150. data/sig/lithic/models/external_bank_account_create_response.rbs +36 -56
  151. data/sig/lithic/models/external_bank_account_list_response.rbs +36 -56
  152. data/sig/lithic/models/external_bank_account_retrieve_response.rbs +36 -56
  153. data/sig/lithic/models/external_bank_account_retry_micro_deposits_response.rbs +36 -56
  154. data/sig/lithic/models/external_bank_account_retry_prenote_response.rbs +36 -56
  155. data/sig/lithic/models/external_bank_account_unpause_params.rbs +15 -0
  156. data/sig/lithic/models/external_bank_account_unpause_response.rbs +162 -0
  157. data/sig/lithic/models/external_bank_account_update_response.rbs +36 -56
  158. data/sig/lithic/models/external_bank_accounts/micro_deposit_create_response.rbs +36 -56
  159. data/sig/lithic/models/external_payment.rbs +7 -7
  160. data/sig/lithic/models/external_payment_list_params.rbs +3 -1
  161. data/sig/lithic/models/financial_account.rbs +4 -4
  162. data/sig/lithic/models/financial_accounts/category_balances.rbs +24 -0
  163. data/sig/lithic/models/financial_accounts/loan_tape.rbs +48 -464
  164. data/sig/lithic/models/financial_accounts/statement.rbs +59 -244
  165. data/sig/lithic/models/financial_event.rbs +216 -0
  166. data/sig/lithic/models/financial_transaction.rbs +4 -217
  167. data/sig/lithic/models/management_operation_list_params.rbs +3 -1
  168. data/sig/lithic/models/management_operation_transaction.rbs +11 -13
  169. data/sig/lithic/models/merchant.rbs +50 -0
  170. data/sig/lithic/models/payment.rbs +9 -5
  171. data/sig/lithic/models/payment_return_params.rbs +46 -0
  172. data/sig/lithic/models/statement_totals.rbs +76 -0
  173. data/sig/lithic/models/transaction.rbs +4 -51
  174. data/sig/lithic/models/transactions/events/enhanced_data.rbs +78 -124
  175. data/sig/lithic/models/transfer.rbs +6 -219
  176. data/sig/lithic/models.rbs +18 -0
  177. data/sig/lithic/resources/disputes.rbs +5 -5
  178. data/sig/lithic/resources/disputes_v2.rbs +24 -0
  179. data/sig/lithic/resources/external_bank_accounts.rbs +5 -0
  180. data/sig/lithic/resources/payments.rbs +10 -0
  181. metadata +50 -17
  182. data/lib/lithic/models/dispute_create_response.rb +0 -326
  183. data/lib/lithic/models/dispute_delete_response.rb +0 -326
  184. data/lib/lithic/models/dispute_list_response.rb +0 -326
  185. data/lib/lithic/models/dispute_retrieve_response.rb +0 -326
  186. data/lib/lithic/models/dispute_update_response.rb +0 -326
  187. data/rbi/lithic/models/dispute_create_response.rbi +0 -599
  188. data/rbi/lithic/models/dispute_delete_response.rbi +0 -599
  189. data/rbi/lithic/models/dispute_list_response.rbi +0 -582
  190. data/rbi/lithic/models/dispute_retrieve_response.rbi +0 -601
  191. data/rbi/lithic/models/dispute_update_response.rbi +0 -599
  192. data/sig/lithic/models/dispute_create_response.rbs +0 -210
  193. data/sig/lithic/models/dispute_delete_response.rbs +0 -210
  194. data/sig/lithic/models/dispute_list_response.rbs +0 -210
  195. data/sig/lithic/models/dispute_retrieve_response.rbs +0 -210
  196. data/sig/lithic/models/dispute_update_response.rbs +0 -210
@@ -55,8 +55,8 @@ module Lithic
55
55
 
56
56
  # @!attribute day_totals
57
57
  #
58
- # @return [Lithic::Models::FinancialAccounts::LoanTape::DayTotals]
59
- required :day_totals, -> { Lithic::FinancialAccounts::LoanTape::DayTotals }
58
+ # @return [Lithic::Models::StatementTotals]
59
+ required :day_totals, -> { Lithic::StatementTotals }
60
60
 
61
61
  # @!attribute ending_balance
62
62
  # Balance at the end of the day
@@ -90,13 +90,13 @@ module Lithic
90
90
 
91
91
  # @!attribute payment_allocation
92
92
  #
93
- # @return [Lithic::Models::FinancialAccounts::LoanTape::PaymentAllocation]
94
- required :payment_allocation, -> { Lithic::FinancialAccounts::LoanTape::PaymentAllocation }
93
+ # @return [Lithic::Models::FinancialAccounts::CategoryBalances]
94
+ required :payment_allocation, -> { Lithic::FinancialAccounts::CategoryBalances }
95
95
 
96
96
  # @!attribute period_totals
97
97
  #
98
- # @return [Lithic::Models::FinancialAccounts::LoanTape::PeriodTotals]
99
- required :period_totals, -> { Lithic::FinancialAccounts::LoanTape::PeriodTotals }
98
+ # @return [Lithic::Models::StatementTotals]
99
+ required :period_totals, -> { Lithic::StatementTotals }
100
100
 
101
101
  # @!attribute previous_statement_balance
102
102
  #
@@ -123,14 +123,14 @@ module Lithic
123
123
 
124
124
  # @!attribute ytd_totals
125
125
  #
126
- # @return [Lithic::Models::FinancialAccounts::LoanTape::YtdTotals]
127
- required :ytd_totals, -> { Lithic::FinancialAccounts::LoanTape::YtdTotals }
126
+ # @return [Lithic::Models::StatementTotals]
127
+ required :ytd_totals, -> { Lithic::StatementTotals }
128
128
 
129
129
  # @!attribute tier
130
130
  # Interest tier to which this account belongs to
131
131
  #
132
132
  # @return [String, nil]
133
- optional :tier, String
133
+ optional :tier, String, nil?: true
134
134
 
135
135
  # @!method initialize(token:, account_standing:, available_credit:, balances:, created:, credit_limit:, credit_product_token:, date:, day_totals:, ending_balance:, excess_credits:, financial_account_token:, interest_details:, minimum_payment_balance:, payment_allocation:, period_totals:, previous_statement_balance:, starting_balance:, updated:, version:, ytd_totals:, tier: nil)
136
136
  # Some parameter documentations has been truncated, see
@@ -152,7 +152,7 @@ module Lithic
152
152
  #
153
153
  # @param date [Date] Date of transactions that this loan tape covers
154
154
  #
155
- # @param day_totals [Lithic::Models::FinancialAccounts::LoanTape::DayTotals]
155
+ # @param day_totals [Lithic::Models::StatementTotals]
156
156
  #
157
157
  # @param ending_balance [Integer] Balance at the end of the day
158
158
  #
@@ -164,9 +164,9 @@ module Lithic
164
164
  #
165
165
  # @param minimum_payment_balance [Lithic::Models::FinancialAccounts::LoanTape::MinimumPaymentBalance]
166
166
  #
167
- # @param payment_allocation [Lithic::Models::FinancialAccounts::LoanTape::PaymentAllocation]
167
+ # @param payment_allocation [Lithic::Models::FinancialAccounts::CategoryBalances]
168
168
  #
169
- # @param period_totals [Lithic::Models::FinancialAccounts::LoanTape::PeriodTotals]
169
+ # @param period_totals [Lithic::Models::StatementTotals]
170
170
  #
171
171
  # @param previous_statement_balance [Lithic::Models::FinancialAccounts::LoanTape::PreviousStatementBalance]
172
172
  #
@@ -176,9 +176,9 @@ module Lithic
176
176
  #
177
177
  # @param version [Integer] Version number of the loan tape. This starts at 1
178
178
  #
179
- # @param ytd_totals [Lithic::Models::FinancialAccounts::LoanTape::YtdTotals]
179
+ # @param ytd_totals [Lithic::Models::StatementTotals]
180
180
  #
181
- # @param tier [String] Interest tier to which this account belongs to
181
+ # @param tier [String, nil] Interest tier to which this account belongs to
182
182
 
183
183
  # @see Lithic::Models::FinancialAccounts::LoanTape#account_standing
184
184
  class AccountStanding < Lithic::Internal::Type::BaseModel
@@ -324,239 +324,40 @@ module Lithic
324
324
  # Amount due for the prior billing cycle. Any amounts not fully paid off on this
325
325
  # due date will be considered past due the next day
326
326
  #
327
- # @return [Lithic::Models::FinancialAccounts::LoanTape::Balances::Due]
328
- required :due, -> { Lithic::FinancialAccounts::LoanTape::Balances::Due }
327
+ # @return [Lithic::Models::FinancialAccounts::CategoryBalances]
328
+ required :due, -> { Lithic::FinancialAccounts::CategoryBalances }
329
329
 
330
330
  # @!attribute next_statement_due
331
331
  # Amount due for the current billing cycle. Any amounts not paid off by early
332
332
  # payments or credits will be considered due at the end of the current billing
333
333
  # period
334
334
  #
335
- # @return [Lithic::Models::FinancialAccounts::LoanTape::Balances::NextStatementDue]
336
- required :next_statement_due, -> { Lithic::FinancialAccounts::LoanTape::Balances::NextStatementDue }
335
+ # @return [Lithic::Models::FinancialAccounts::CategoryBalances]
336
+ required :next_statement_due, -> { Lithic::FinancialAccounts::CategoryBalances }
337
337
 
338
338
  # @!attribute past_due
339
339
  # Amount not paid off on previous due dates
340
340
  #
341
- # @return [Lithic::Models::FinancialAccounts::LoanTape::Balances::PastDue]
342
- required :past_due, -> { Lithic::FinancialAccounts::LoanTape::Balances::PastDue }
341
+ # @return [Lithic::Models::FinancialAccounts::CategoryBalances]
342
+ required :past_due, -> { Lithic::FinancialAccounts::CategoryBalances }
343
343
 
344
344
  # @!attribute past_statements_due
345
345
  # Amount due for the past billing cycles.
346
346
  #
347
- # @return [Lithic::Models::FinancialAccounts::LoanTape::Balances::PastStatementsDue]
348
- required :past_statements_due, -> { Lithic::FinancialAccounts::LoanTape::Balances::PastStatementsDue }
347
+ # @return [Lithic::Models::FinancialAccounts::CategoryBalances]
348
+ required :past_statements_due, -> { Lithic::FinancialAccounts::CategoryBalances }
349
349
 
350
350
  # @!method initialize(due:, next_statement_due:, past_due:, past_statements_due:)
351
351
  # Some parameter documentations has been truncated, see
352
352
  # {Lithic::Models::FinancialAccounts::LoanTape::Balances} for more details.
353
353
  #
354
- # @param due [Lithic::Models::FinancialAccounts::LoanTape::Balances::Due] Amount due for the prior billing cycle. Any amounts not fully paid off on this d
354
+ # @param due [Lithic::Models::FinancialAccounts::CategoryBalances] Amount due for the prior billing cycle. Any amounts not fully paid off on this d
355
355
  #
356
- # @param next_statement_due [Lithic::Models::FinancialAccounts::LoanTape::Balances::NextStatementDue] Amount due for the current billing cycle. Any amounts not paid off by early paym
356
+ # @param next_statement_due [Lithic::Models::FinancialAccounts::CategoryBalances] Amount due for the current billing cycle. Any amounts not paid off by early paym
357
357
  #
358
- # @param past_due [Lithic::Models::FinancialAccounts::LoanTape::Balances::PastDue] Amount not paid off on previous due dates
358
+ # @param past_due [Lithic::Models::FinancialAccounts::CategoryBalances] Amount not paid off on previous due dates
359
359
  #
360
- # @param past_statements_due [Lithic::Models::FinancialAccounts::LoanTape::Balances::PastStatementsDue] Amount due for the past billing cycles.
361
-
362
- # @see Lithic::Models::FinancialAccounts::LoanTape::Balances#due
363
- class Due < Lithic::Internal::Type::BaseModel
364
- # @!attribute fees
365
- #
366
- # @return [Integer]
367
- required :fees, Integer
368
-
369
- # @!attribute interest
370
- #
371
- # @return [Integer]
372
- required :interest, Integer
373
-
374
- # @!attribute principal
375
- #
376
- # @return [Integer]
377
- required :principal, Integer
378
-
379
- # @!method initialize(fees:, interest:, principal:)
380
- # Amount due for the prior billing cycle. Any amounts not fully paid off on this
381
- # due date will be considered past due the next day
382
- #
383
- # @param fees [Integer]
384
- # @param interest [Integer]
385
- # @param principal [Integer]
386
- end
387
-
388
- # @see Lithic::Models::FinancialAccounts::LoanTape::Balances#next_statement_due
389
- class NextStatementDue < Lithic::Internal::Type::BaseModel
390
- # @!attribute fees
391
- #
392
- # @return [Integer]
393
- required :fees, Integer
394
-
395
- # @!attribute interest
396
- #
397
- # @return [Integer]
398
- required :interest, Integer
399
-
400
- # @!attribute principal
401
- #
402
- # @return [Integer]
403
- required :principal, Integer
404
-
405
- # @!method initialize(fees:, interest:, principal:)
406
- # Amount due for the current billing cycle. Any amounts not paid off by early
407
- # payments or credits will be considered due at the end of the current billing
408
- # period
409
- #
410
- # @param fees [Integer]
411
- # @param interest [Integer]
412
- # @param principal [Integer]
413
- end
414
-
415
- # @see Lithic::Models::FinancialAccounts::LoanTape::Balances#past_due
416
- class PastDue < Lithic::Internal::Type::BaseModel
417
- # @!attribute fees
418
- #
419
- # @return [Integer]
420
- required :fees, Integer
421
-
422
- # @!attribute interest
423
- #
424
- # @return [Integer]
425
- required :interest, Integer
426
-
427
- # @!attribute principal
428
- #
429
- # @return [Integer]
430
- required :principal, Integer
431
-
432
- # @!method initialize(fees:, interest:, principal:)
433
- # Amount not paid off on previous due dates
434
- #
435
- # @param fees [Integer]
436
- # @param interest [Integer]
437
- # @param principal [Integer]
438
- end
439
-
440
- # @see Lithic::Models::FinancialAccounts::LoanTape::Balances#past_statements_due
441
- class PastStatementsDue < Lithic::Internal::Type::BaseModel
442
- # @!attribute fees
443
- #
444
- # @return [Integer]
445
- required :fees, Integer
446
-
447
- # @!attribute interest
448
- #
449
- # @return [Integer]
450
- required :interest, Integer
451
-
452
- # @!attribute principal
453
- #
454
- # @return [Integer]
455
- required :principal, Integer
456
-
457
- # @!method initialize(fees:, interest:, principal:)
458
- # Amount due for the past billing cycles.
459
- #
460
- # @param fees [Integer]
461
- # @param interest [Integer]
462
- # @param principal [Integer]
463
- end
464
- end
465
-
466
- # @see Lithic::Models::FinancialAccounts::LoanTape#day_totals
467
- class DayTotals < Lithic::Internal::Type::BaseModel
468
- # @!attribute balance_transfers
469
- # Opening balance transferred from previous account in cents
470
- #
471
- # @return [Integer]
472
- required :balance_transfers, Integer
473
-
474
- # @!attribute cash_advances
475
- # ATM and cashback transactions in cents
476
- #
477
- # @return [Integer]
478
- required :cash_advances, Integer
479
-
480
- # @!attribute credits
481
- # Volume of credit management operation transactions less any balance transfers in
482
- # cents
483
- #
484
- # @return [Integer]
485
- required :credits, Integer
486
-
487
- # @!attribute debits
488
- # Volume of debit management operation transactions less any interest in cents
489
- #
490
- # @return [Integer]
491
- required :debits, Integer
492
-
493
- # @!attribute fees
494
- # Volume of debit management operation transactions less any interest in cents
495
- #
496
- # @return [Integer]
497
- required :fees, Integer
498
-
499
- # @!attribute interest
500
- # Interest accrued in cents
501
- #
502
- # @return [Integer]
503
- required :interest, Integer
504
-
505
- # @!attribute payments
506
- # Any funds transfers which affective the balance in cents
507
- #
508
- # @return [Integer]
509
- required :payments, Integer
510
-
511
- # @!attribute purchases
512
- # Net card transaction volume less any cash advances in cents
513
- #
514
- # @return [Integer]
515
- required :purchases, Integer
516
-
517
- # @!attribute credit_details
518
- # Breakdown of credits
519
- #
520
- # @return [Object, nil]
521
- optional :credit_details, Lithic::Internal::Type::Unknown
522
-
523
- # @!attribute debit_details
524
- # Breakdown of debits
525
- #
526
- # @return [Object, nil]
527
- optional :debit_details, Lithic::Internal::Type::Unknown
528
-
529
- # @!attribute payment_details
530
- # Breakdown of payments
531
- #
532
- # @return [Object, nil]
533
- optional :payment_details, Lithic::Internal::Type::Unknown
534
-
535
- # @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
536
- # Some parameter documentations has been truncated, see
537
- # {Lithic::Models::FinancialAccounts::LoanTape::DayTotals} for more details.
538
- #
539
- # @param balance_transfers [Integer] Opening balance transferred from previous account in cents
540
- #
541
- # @param cash_advances [Integer] ATM and cashback transactions in cents
542
- #
543
- # @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
544
- #
545
- # @param debits [Integer] Volume of debit management operation transactions less any interest in cents
546
- #
547
- # @param fees [Integer] Volume of debit management operation transactions less any interest in cents
548
- #
549
- # @param interest [Integer] Interest accrued in cents
550
- #
551
- # @param payments [Integer] Any funds transfers which affective the balance in cents
552
- #
553
- # @param purchases [Integer] Net card transaction volume less any cash advances in cents
554
- #
555
- # @param credit_details [Object] Breakdown of credits
556
- #
557
- # @param debit_details [Object] Breakdown of debits
558
- #
559
- # @param payment_details [Object] Breakdown of payments
360
+ # @param past_statements_due [Lithic::Models::FinancialAccounts::CategoryBalances] Amount due for the past billing cycles.
560
361
  end
561
362
 
562
363
  # @see Lithic::Models::FinancialAccounts::LoanTape#interest_details
@@ -568,14 +369,13 @@ module Lithic
568
369
 
569
370
  # @!attribute daily_balance_amounts
570
371
  #
571
- # @return [Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::DailyBalanceAmounts]
572
- required :daily_balance_amounts,
573
- -> { Lithic::FinancialAccounts::LoanTape::InterestDetails::DailyBalanceAmounts }
372
+ # @return [Lithic::Models::CategoryDetails]
373
+ required :daily_balance_amounts, -> { Lithic::CategoryDetails }
574
374
 
575
375
  # @!attribute effective_apr
576
376
  #
577
- # @return [Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::EffectiveApr]
578
- required :effective_apr, -> { Lithic::FinancialAccounts::LoanTape::InterestDetails::EffectiveApr }
377
+ # @return [Lithic::Models::CategoryDetails]
378
+ required :effective_apr, -> { Lithic::CategoryDetails }
579
379
 
580
380
  # @!attribute interest_calculation_method
581
381
  #
@@ -585,9 +385,8 @@ module Lithic
585
385
 
586
386
  # @!attribute interest_for_period
587
387
  #
588
- # @return [Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::InterestForPeriod]
589
- required :interest_for_period,
590
- -> { Lithic::FinancialAccounts::LoanTape::InterestDetails::InterestForPeriod }
388
+ # @return [Lithic::Models::CategoryDetails]
389
+ required :interest_for_period, -> { Lithic::CategoryDetails }
591
390
 
592
391
  # @!attribute prime_rate
593
392
  #
@@ -601,59 +400,13 @@ module Lithic
601
400
 
602
401
  # @!method initialize(actual_interest_charged:, daily_balance_amounts:, effective_apr:, interest_calculation_method:, interest_for_period:, prime_rate:, minimum_interest_charged: nil)
603
402
  # @param actual_interest_charged [Integer, nil]
604
- # @param daily_balance_amounts [Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::DailyBalanceAmounts]
605
- # @param effective_apr [Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::EffectiveApr]
403
+ # @param daily_balance_amounts [Lithic::Models::CategoryDetails]
404
+ # @param effective_apr [Lithic::Models::CategoryDetails]
606
405
  # @param interest_calculation_method [Symbol, Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::InterestCalculationMethod]
607
- # @param interest_for_period [Lithic::Models::FinancialAccounts::LoanTape::InterestDetails::InterestForPeriod]
406
+ # @param interest_for_period [Lithic::Models::CategoryDetails]
608
407
  # @param prime_rate [String, nil]
609
408
  # @param minimum_interest_charged [Integer, nil]
610
409
 
611
- # @see Lithic::Models::FinancialAccounts::LoanTape::InterestDetails#daily_balance_amounts
612
- class DailyBalanceAmounts < Lithic::Internal::Type::BaseModel
613
- # @!attribute balance_transfers
614
- #
615
- # @return [String]
616
- required :balance_transfers, String
617
-
618
- # @!attribute cash_advances
619
- #
620
- # @return [String]
621
- required :cash_advances, String
622
-
623
- # @!attribute purchases
624
- #
625
- # @return [String]
626
- required :purchases, String
627
-
628
- # @!method initialize(balance_transfers:, cash_advances:, purchases:)
629
- # @param balance_transfers [String]
630
- # @param cash_advances [String]
631
- # @param purchases [String]
632
- end
633
-
634
- # @see Lithic::Models::FinancialAccounts::LoanTape::InterestDetails#effective_apr
635
- class EffectiveApr < Lithic::Internal::Type::BaseModel
636
- # @!attribute balance_transfers
637
- #
638
- # @return [String]
639
- required :balance_transfers, String
640
-
641
- # @!attribute cash_advances
642
- #
643
- # @return [String]
644
- required :cash_advances, String
645
-
646
- # @!attribute purchases
647
- #
648
- # @return [String]
649
- required :purchases, String
650
-
651
- # @!method initialize(balance_transfers:, cash_advances:, purchases:)
652
- # @param balance_transfers [String]
653
- # @param cash_advances [String]
654
- # @param purchases [String]
655
- end
656
-
657
410
  # @see Lithic::Models::FinancialAccounts::LoanTape::InterestDetails#interest_calculation_method
658
411
  module InterestCalculationMethod
659
412
  extend Lithic::Internal::Type::Enum
@@ -664,29 +417,6 @@ module Lithic
664
417
  # @!method self.values
665
418
  # @return [Array<Symbol>]
666
419
  end
667
-
668
- # @see Lithic::Models::FinancialAccounts::LoanTape::InterestDetails#interest_for_period
669
- class InterestForPeriod < Lithic::Internal::Type::BaseModel
670
- # @!attribute balance_transfers
671
- #
672
- # @return [String]
673
- required :balance_transfers, String
674
-
675
- # @!attribute cash_advances
676
- #
677
- # @return [String]
678
- required :cash_advances, String
679
-
680
- # @!attribute purchases
681
- #
682
- # @return [String]
683
- required :purchases, String
684
-
685
- # @!method initialize(balance_transfers:, cash_advances:, purchases:)
686
- # @param balance_transfers [String]
687
- # @param cash_advances [String]
688
- # @param purchases [String]
689
- end
690
420
  end
691
421
 
692
422
  # @see Lithic::Models::FinancialAccounts::LoanTape#minimum_payment_balance
@@ -706,125 +436,6 @@ module Lithic
706
436
  # @param remaining [Integer]
707
437
  end
708
438
 
709
- # @see Lithic::Models::FinancialAccounts::LoanTape#payment_allocation
710
- class PaymentAllocation < Lithic::Internal::Type::BaseModel
711
- # @!attribute fees
712
- #
713
- # @return [Integer]
714
- required :fees, Integer
715
-
716
- # @!attribute interest
717
- #
718
- # @return [Integer]
719
- required :interest, Integer
720
-
721
- # @!attribute principal
722
- #
723
- # @return [Integer]
724
- required :principal, Integer
725
-
726
- # @!method initialize(fees:, interest:, principal:)
727
- # @param fees [Integer]
728
- # @param interest [Integer]
729
- # @param principal [Integer]
730
- end
731
-
732
- # @see Lithic::Models::FinancialAccounts::LoanTape#period_totals
733
- class PeriodTotals < Lithic::Internal::Type::BaseModel
734
- # @!attribute balance_transfers
735
- # Opening balance transferred from previous account in cents
736
- #
737
- # @return [Integer]
738
- required :balance_transfers, Integer
739
-
740
- # @!attribute cash_advances
741
- # ATM and cashback transactions in cents
742
- #
743
- # @return [Integer]
744
- required :cash_advances, Integer
745
-
746
- # @!attribute credits
747
- # Volume of credit management operation transactions less any balance transfers in
748
- # cents
749
- #
750
- # @return [Integer]
751
- required :credits, Integer
752
-
753
- # @!attribute debits
754
- # Volume of debit management operation transactions less any interest in cents
755
- #
756
- # @return [Integer]
757
- required :debits, Integer
758
-
759
- # @!attribute fees
760
- # Volume of debit management operation transactions less any interest in cents
761
- #
762
- # @return [Integer]
763
- required :fees, Integer
764
-
765
- # @!attribute interest
766
- # Interest accrued in cents
767
- #
768
- # @return [Integer]
769
- required :interest, Integer
770
-
771
- # @!attribute payments
772
- # Any funds transfers which affective the balance in cents
773
- #
774
- # @return [Integer]
775
- required :payments, Integer
776
-
777
- # @!attribute purchases
778
- # Net card transaction volume less any cash advances in cents
779
- #
780
- # @return [Integer]
781
- required :purchases, Integer
782
-
783
- # @!attribute credit_details
784
- # Breakdown of credits
785
- #
786
- # @return [Object, nil]
787
- optional :credit_details, Lithic::Internal::Type::Unknown
788
-
789
- # @!attribute debit_details
790
- # Breakdown of debits
791
- #
792
- # @return [Object, nil]
793
- optional :debit_details, Lithic::Internal::Type::Unknown
794
-
795
- # @!attribute payment_details
796
- # Breakdown of payments
797
- #
798
- # @return [Object, nil]
799
- optional :payment_details, Lithic::Internal::Type::Unknown
800
-
801
- # @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
802
- # Some parameter documentations has been truncated, see
803
- # {Lithic::Models::FinancialAccounts::LoanTape::PeriodTotals} for more details.
804
- #
805
- # @param balance_transfers [Integer] Opening balance transferred from previous account in cents
806
- #
807
- # @param cash_advances [Integer] ATM and cashback transactions in cents
808
- #
809
- # @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
810
- #
811
- # @param debits [Integer] Volume of debit management operation transactions less any interest in cents
812
- #
813
- # @param fees [Integer] Volume of debit management operation transactions less any interest in cents
814
- #
815
- # @param interest [Integer] Interest accrued in cents
816
- #
817
- # @param payments [Integer] Any funds transfers which affective the balance in cents
818
- #
819
- # @param purchases [Integer] Net card transaction volume less any cash advances in cents
820
- #
821
- # @param credit_details [Object] Breakdown of credits
822
- #
823
- # @param debit_details [Object] Breakdown of debits
824
- #
825
- # @param payment_details [Object] Breakdown of payments
826
- end
827
-
828
439
  # @see Lithic::Models::FinancialAccounts::LoanTape#previous_statement_balance
829
440
  class PreviousStatementBalance < Lithic::Internal::Type::BaseModel
830
441
  # @!attribute amount
@@ -841,102 +452,6 @@ module Lithic
841
452
  # @param amount [Integer]
842
453
  # @param remaining [Integer]
843
454
  end
844
-
845
- # @see Lithic::Models::FinancialAccounts::LoanTape#ytd_totals
846
- class YtdTotals < Lithic::Internal::Type::BaseModel
847
- # @!attribute balance_transfers
848
- # Opening balance transferred from previous account in cents
849
- #
850
- # @return [Integer]
851
- required :balance_transfers, Integer
852
-
853
- # @!attribute cash_advances
854
- # ATM and cashback transactions in cents
855
- #
856
- # @return [Integer]
857
- required :cash_advances, Integer
858
-
859
- # @!attribute credits
860
- # Volume of credit management operation transactions less any balance transfers in
861
- # cents
862
- #
863
- # @return [Integer]
864
- required :credits, Integer
865
-
866
- # @!attribute debits
867
- # Volume of debit management operation transactions less any interest in cents
868
- #
869
- # @return [Integer]
870
- required :debits, Integer
871
-
872
- # @!attribute fees
873
- # Volume of debit management operation transactions less any interest in cents
874
- #
875
- # @return [Integer]
876
- required :fees, Integer
877
-
878
- # @!attribute interest
879
- # Interest accrued in cents
880
- #
881
- # @return [Integer]
882
- required :interest, Integer
883
-
884
- # @!attribute payments
885
- # Any funds transfers which affective the balance in cents
886
- #
887
- # @return [Integer]
888
- required :payments, Integer
889
-
890
- # @!attribute purchases
891
- # Net card transaction volume less any cash advances in cents
892
- #
893
- # @return [Integer]
894
- required :purchases, Integer
895
-
896
- # @!attribute credit_details
897
- # Breakdown of credits
898
- #
899
- # @return [Object, nil]
900
- optional :credit_details, Lithic::Internal::Type::Unknown
901
-
902
- # @!attribute debit_details
903
- # Breakdown of debits
904
- #
905
- # @return [Object, nil]
906
- optional :debit_details, Lithic::Internal::Type::Unknown
907
-
908
- # @!attribute payment_details
909
- # Breakdown of payments
910
- #
911
- # @return [Object, nil]
912
- optional :payment_details, Lithic::Internal::Type::Unknown
913
-
914
- # @!method initialize(balance_transfers:, cash_advances:, credits:, debits:, fees:, interest:, payments:, purchases:, credit_details: nil, debit_details: nil, payment_details: nil)
915
- # Some parameter documentations has been truncated, see
916
- # {Lithic::Models::FinancialAccounts::LoanTape::YtdTotals} for more details.
917
- #
918
- # @param balance_transfers [Integer] Opening balance transferred from previous account in cents
919
- #
920
- # @param cash_advances [Integer] ATM and cashback transactions in cents
921
- #
922
- # @param credits [Integer] Volume of credit management operation transactions less any balance transfers in
923
- #
924
- # @param debits [Integer] Volume of debit management operation transactions less any interest in cents
925
- #
926
- # @param fees [Integer] Volume of debit management operation transactions less any interest in cents
927
- #
928
- # @param interest [Integer] Interest accrued in cents
929
- #
930
- # @param payments [Integer] Any funds transfers which affective the balance in cents
931
- #
932
- # @param purchases [Integer] Net card transaction volume less any cash advances in cents
933
- #
934
- # @param credit_details [Object] Breakdown of credits
935
- #
936
- # @param debit_details [Object] Breakdown of debits
937
- #
938
- # @param payment_details [Object] Breakdown of payments
939
- end
940
455
  end
941
456
  end
942
457
  end