lithic 0.1.0.pre.alpha.17 → 0.1.0.pre.alpha.18
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 +26 -0
- data/README.md +7 -7
- data/lib/lithic/file_part.rb +55 -0
- data/lib/lithic/internal/cursor_page.rb +1 -1
- data/lib/lithic/internal/single_page.rb +1 -1
- data/lib/lithic/internal/transport/base_client.rb +7 -7
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -1
- data/lib/lithic/internal/type/array_of.rb +2 -0
- data/lib/lithic/internal/type/base_model.rb +1 -1
- data/lib/lithic/internal/type/base_page.rb +1 -1
- data/lib/lithic/internal/type/converter.rb +1 -1
- data/lib/lithic/internal/type/{io_like.rb → file_input.rb} +8 -4
- data/lib/lithic/internal/type/hash_of.rb +2 -0
- data/lib/lithic/internal/util.rb +69 -61
- data/lib/lithic/models/account.rb +50 -19
- data/lib/lithic/models/account_holder.rb +139 -59
- data/lib/lithic/models/account_holder_create_params.rb +144 -52
- data/lib/lithic/models/account_holder_create_response.rb +18 -7
- data/lib/lithic/models/account_holder_list_params.rb +33 -11
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -4
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +10 -3
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +169 -60
- data/lib/lithic/models/account_holder_update_params.rb +147 -53
- data/lib/lithic/models/account_holder_update_response.rb +202 -74
- data/lib/lithic/models/account_holder_upload_document_params.rb +4 -2
- data/lib/lithic/models/account_list_params.rb +17 -5
- data/lib/lithic/models/account_spend_limits.rb +27 -9
- data/lib/lithic/models/account_update_params.rb +17 -5
- data/lib/lithic/models/address.rb +17 -6
- data/lib/lithic/models/address_update.rb +17 -6
- data/lib/lithic/models/aggregate_balance.rb +26 -10
- data/lib/lithic/models/aggregate_balance_list_params.rb +2 -1
- data/lib/lithic/models/auth_rules/auth_rule.rb +24 -9
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +8 -3
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +4 -2
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +1 -1
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -18
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -4
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_create_params.rb +14 -7
- data/lib/lithic/models/auth_rules/v2_create_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +2 -1
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_list_params.rb +15 -5
- data/lib/lithic/models/auth_rules/v2_list_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +31 -12
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +32 -12
- data/lib/lithic/models/auth_rules/v2_update_params.rb +15 -6
- data/lib/lithic/models/auth_rules/v2_update_response.rb +31 -12
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +27 -7
- data/lib/lithic/models/auth_stream_secret.rb +1 -1
- data/lib/lithic/models/balance.rb +26 -10
- data/lib/lithic/models/balance_list_params.rb +12 -4
- data/lib/lithic/models/book_transfer_create_params.rb +23 -8
- data/lib/lithic/models/book_transfer_list_params.rb +28 -9
- data/lib/lithic/models/book_transfer_response.rb +54 -20
- data/lib/lithic/models/book_transfer_reverse_params.rb +2 -1
- data/lib/lithic/models/card.rb +7 -2
- data/lib/lithic/models/card_convert_physical_params.rb +12 -4
- data/lib/lithic/models/card_create_params.rb +45 -15
- data/lib/lithic/models/card_embed_params.rb +4 -2
- data/lib/lithic/models/card_list_params.rb +21 -7
- data/lib/lithic/models/card_program.rb +17 -7
- data/lib/lithic/models/card_program_list_params.rb +11 -3
- data/lib/lithic/models/card_provision_params.rb +20 -6
- data/lib/lithic/models/card_reissue_params.rb +12 -4
- data/lib/lithic/models/card_renew_params.rb +18 -6
- data/lib/lithic/models/card_search_by_pan_params.rb +2 -1
- data/lib/lithic/models/card_spend_limits.rb +27 -9
- data/lib/lithic/models/card_update_params.rb +21 -7
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +4 -2
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +24 -9
- data/lib/lithic/models/cards/balance_list_params.rb +7 -2
- data/lib/lithic/models/cards/balance_list_response.rb +26 -10
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +21 -7
- data/lib/lithic/models/carrier.rb +1 -1
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +4 -2
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -4
- data/lib/lithic/models/digital_card_art.rb +13 -7
- data/lib/lithic/models/digital_card_art_list_params.rb +11 -3
- data/lib/lithic/models/dispute.rb +40 -18
- data/lib/lithic/models/dispute_create_params.rb +10 -5
- data/lib/lithic/models/dispute_evidence.rb +17 -7
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +2 -1
- data/lib/lithic/models/dispute_list_evidences_params.rb +17 -5
- data/lib/lithic/models/dispute_list_params.rb +21 -7
- data/lib/lithic/models/dispute_update_params.rb +8 -4
- data/lib/lithic/models/document.rb +31 -14
- data/lib/lithic/models/event.rb +9 -3
- data/lib/lithic/models/event_list_attempts_params.rb +18 -5
- data/lib/lithic/models/event_list_params.rb +21 -7
- data/lib/lithic/models/event_subscription.rb +7 -3
- data/lib/lithic/models/events/subscription_create_params.rb +12 -4
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +18 -5
- data/lib/lithic/models/events/subscription_list_params.rb +11 -3
- data/lib/lithic/models/events/subscription_recover_params.rb +9 -2
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +9 -2
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +2 -1
- data/lib/lithic/models/events/subscription_update_params.rb +12 -4
- data/lib/lithic/models/external_bank_account_create_params.rb +40 -16
- data/lib/lithic/models/external_bank_account_create_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_list_params.rb +17 -3
- data/lib/lithic/models/external_bank_account_list_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +54 -22
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +53 -22
- data/lib/lithic/models/external_bank_account_update_params.rb +21 -8
- data/lib/lithic/models/external_bank_account_update_response.rb +53 -22
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +54 -22
- data/lib/lithic/models/external_payment_list_params.rb +27 -9
- data/lib/lithic/models/financial_account.rb +25 -8
- data/lib/lithic/models/financial_account_list_params.rb +6 -3
- data/lib/lithic/models/financial_account_update_status_params.rb +4 -2
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -2
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +26 -10
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +6 -2
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +12 -5
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +22 -7
- data/lib/lithic/models/financial_accounts/loan_tape.rb +119 -47
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +17 -5
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statement.rb +97 -40
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +19 -6
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +2 -1
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +14 -4
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +25 -9
- data/lib/lithic/models/financial_transaction.rb +42 -15
- data/lib/lithic/models/kyb.rb +101 -36
- data/lib/lithic/models/kyb_business_entity.rb +35 -12
- data/lib/lithic/models/kyc.rb +34 -12
- data/lib/lithic/models/kyc_exempt.rb +23 -9
- data/lib/lithic/models/management_operation_list_params.rb +25 -8
- data/lib/lithic/models/message_attempt.rb +17 -7
- data/lib/lithic/models/non_pci_card.rb +73 -28
- data/lib/lithic/models/payment.rb +52 -18
- data/lib/lithic/models/payment_create_params.rb +14 -1
- data/lib/lithic/models/payment_create_response.rb +1 -1
- data/lib/lithic/models/payment_list_params.rb +23 -5
- data/lib/lithic/models/payment_retry_response.rb +1 -1
- data/lib/lithic/models/payment_simulate_action_params.rb +6 -3
- data/lib/lithic/models/payment_simulate_action_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_receipt_params.rb +14 -5
- data/lib/lithic/models/payment_simulate_receipt_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_release_params.rb +2 -1
- data/lib/lithic/models/payment_simulate_release_response.rb +5 -3
- data/lib/lithic/models/payment_simulate_return_params.rb +4 -2
- data/lib/lithic/models/payment_simulate_return_response.rb +5 -3
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +30 -11
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +39 -14
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +39 -14
- data/lib/lithic/models/reports/settlement_list_details_params.rb +11 -3
- data/lib/lithic/models/required_document.rb +10 -3
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_create_params.rb +4 -2
- data/lib/lithic/models/responder_endpoint_create_response.rb +1 -1
- data/lib/lithic/models/responder_endpoint_delete_params.rb +2 -1
- data/lib/lithic/models/responder_endpoint_status.rb +3 -2
- data/lib/lithic/models/settlement_detail.rb +50 -21
- data/lib/lithic/models/settlement_report.rb +29 -10
- data/lib/lithic/models/settlement_summary_details.rb +21 -8
- data/lib/lithic/models/shipping_address.rb +31 -11
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +215 -71
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +9 -2
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +28 -8
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +5 -1
- data/lib/lithic/models/three_ds/challenge_response.rb +7 -2
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization.rb +37 -17
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +1 -1
- data/lib/lithic/models/tokenization_list_params.rb +22 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +6 -1
- data/lib/lithic/models/tokenization_secret.rb +1 -1
- data/lib/lithic/models/tokenization_simulate_params.rb +22 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +6 -1
- data/lib/lithic/models/transaction.rb +248 -89
- data/lib/lithic/models/transaction_list_params.rb +26 -9
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +27 -10
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +7 -2
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +8 -2
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +15 -5
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -3
- data/lib/lithic/models/transaction_simulate_return_response.rb +3 -2
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +2 -1
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +1 -1
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -3
- data/lib/lithic/models/transaction_simulate_void_response.rb +1 -1
- data/lib/lithic/models/transactions/events/enhanced_data.rb +52 -24
- data/lib/lithic/models/transfer.rb +46 -17
- data/lib/lithic/models/transfer_create_params.rb +17 -5
- data/lib/lithic/resources/account_holders.rb +166 -60
- data/lib/lithic/resources/accounts.rb +40 -13
- data/lib/lithic/resources/aggregate_balances.rb +2 -1
- data/lib/lithic/resources/auth_rules/v2/backtests.rb +10 -5
- data/lib/lithic/resources/auth_rules/v2.rb +68 -30
- data/lib/lithic/resources/balances.rb +12 -4
- data/lib/lithic/resources/book_transfers.rb +57 -20
- data/lib/lithic/resources/card_programs.rb +13 -4
- data/lib/lithic/resources/cards/aggregate_balances.rb +4 -2
- data/lib/lithic/resources/cards/balances.rb +8 -2
- data/lib/lithic/resources/cards/financial_transactions.rb +25 -8
- data/lib/lithic/resources/cards.rb +161 -53
- data/lib/lithic/resources/credit_products/extended_credit.rb +2 -1
- data/lib/lithic/resources/credit_products/prime_rates.rb +12 -6
- data/lib/lithic/resources/digital_card_art.rb +17 -4
- data/lib/lithic/resources/disputes.rb +61 -22
- data/lib/lithic/resources/events/subscriptions.rb +78 -21
- data/lib/lithic/resources/events.rb +40 -12
- data/lib/lithic/resources/external_bank_accounts.rb +79 -27
- data/lib/lithic/resources/external_payments.rb +46 -14
- data/lib/lithic/resources/financial_accounts/balances.rb +9 -3
- data/lib/lithic/resources/financial_accounts/credit_configuration.rb +10 -4
- data/lib/lithic/resources/financial_accounts/financial_transactions.rb +28 -10
- data/lib/lithic/resources/financial_accounts/loan_tapes.rb +23 -8
- data/lib/lithic/resources/financial_accounts/statements/line_items.rb +16 -5
- data/lib/lithic/resources/financial_accounts/statements.rb +25 -9
- data/lib/lithic/resources/financial_accounts.rb +22 -11
- data/lib/lithic/resources/management_operations.rb +31 -10
- data/lib/lithic/resources/payments.rb +64 -17
- data/lib/lithic/resources/reports/settlement/network_totals.rb +32 -12
- data/lib/lithic/resources/reports/settlement.rb +15 -5
- data/lib/lithic/resources/responder_endpoints.rb +8 -4
- data/lib/lithic/resources/three_ds/authentication.rb +21 -5
- data/lib/lithic/resources/three_ds/decisioning.rb +8 -2
- data/lib/lithic/resources/tokenizations.rb +70 -25
- data/lib/lithic/resources/transactions/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions/events/enhanced_commercial_data.rb +2 -1
- data/lib/lithic/resources/transactions.rb +106 -37
- data/lib/lithic/resources/transfers.rb +17 -5
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +2 -1
- data/rbi/lib/lithic/file_part.rbi +34 -0
- data/rbi/lib/lithic/internal/transport/base_client.rbi +17 -3
- data/rbi/lib/lithic/internal/type/{io_like.rbi → file_input.rbi} +6 -2
- data/rbi/lib/lithic/internal/util.rbi +24 -19
- data/rbi/lib/lithic/models/account.rbi +62 -6
- data/rbi/lib/lithic/models/account_holder.rbi +139 -8
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +131 -6
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +14 -3
- data/rbi/lib/lithic/models/account_holder_list_params.rbi +19 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +5 -0
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +10 -2
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +172 -17
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +99 -0
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +176 -19
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +7 -2
- data/rbi/lib/lithic/models/account_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/account_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/account_update_params.rbi +16 -0
- data/rbi/lib/lithic/models/address.rbi +19 -2
- data/rbi/lib/lithic/models/address_update.rbi +17 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +14 -0
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +15 -0
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +54 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/auth_rules/v2/backtest_results.rbi +60 -12
- data/rbi/lib/lithic/models/auth_rules/v2_apply_params.rbi +5 -3
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_params.rbi +5 -2
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_params.rbi +7 -0
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +10 -0
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +22 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +33 -5
- data/rbi/lib/lithic/models/auth_stream_secret.rbi +4 -2
- data/rbi/lib/lithic/models/balance.rbi +14 -0
- data/rbi/lib/lithic/models/balance_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +12 -0
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/book_transfer_response.rbi +41 -2
- data/rbi/lib/lithic/models/book_transfer_reverse_params.rbi +5 -2
- data/rbi/lib/lithic/models/card.rbi +8 -2
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_create_params.rbi +84 -0
- data/rbi/lib/lithic/models/card_embed_params.rbi +7 -2
- data/rbi/lib/lithic/models/card_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/card_program.rbi +8 -0
- data/rbi/lib/lithic/models/card_program_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/card_provision_params.rbi +17 -0
- data/rbi/lib/lithic/models/card_reissue_params.rbi +18 -3
- data/rbi/lib/lithic/models/card_renew_params.rbi +21 -0
- data/rbi/lib/lithic/models/card_search_by_pan_params.rbi +5 -2
- data/rbi/lib/lithic/models/card_spend_limits.rbi +30 -6
- data/rbi/lib/lithic/models/card_update_params.rbi +35 -0
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_params.rbi +7 -2
- data/rbi/lib/lithic/models/cards/aggregate_balance_list_response.rbi +13 -0
- data/rbi/lib/lithic/models/cards/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/carrier.rbi +4 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_params.rbi +7 -2
- data/rbi/lib/lithic/models/credit_products/prime_rate_retrieve_response.rbi +12 -4
- data/rbi/lib/lithic/models/digital_card_art.rbi +8 -3
- data/rbi/lib/lithic/models/digital_card_art_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/dispute.rbi +66 -0
- data/rbi/lib/lithic/models/dispute_create_params.rbi +6 -3
- data/rbi/lib/lithic/models/dispute_evidence.rbi +15 -3
- data/rbi/lib/lithic/models/dispute_initiate_evidence_upload_params.rbi +5 -2
- data/rbi/lib/lithic/models/dispute_list_evidences_params.rbi +10 -3
- data/rbi/lib/lithic/models/dispute_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/dispute_update_params.rbi +5 -3
- data/rbi/lib/lithic/models/document.rbi +27 -3
- data/rbi/lib/lithic/models/event.rbi +39 -2
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/event_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/event_subscription.rbi +10 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +12 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +9 -0
- data/rbi/lib/lithic/models/events/subscription_list_params.rbi +11 -2
- data/rbi/lib/lithic/models/events/subscription_recover_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_replay_missing_params.rbi +9 -2
- data/rbi/lib/lithic/models/events/subscription_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +5 -2
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +12 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +20 -0
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +5 -0
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +9 -0
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +33 -0
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/financial_account.rbi +8 -0
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +7 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_params.rbi +9 -2
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +14 -0
- data/rbi/lib/lithic/models/financial_accounts/credit_configuration_update_params.rbi +2 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +5 -0
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +94 -13
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_list_params.rbi +10 -3
- data/rbi/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +72 -10
- data/rbi/lib/lithic/models/financial_accounts/statement_list_params.rbi +10 -0
- data/rbi/lib/lithic/models/financial_accounts/statement_retrieve_params.rbi +5 -2
- data/rbi/lib/lithic/models/financial_accounts/statements/line_item_list_params.rbi +7 -3
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +10 -0
- data/rbi/lib/lithic/models/financial_transaction.rbi +44 -2
- data/rbi/lib/lithic/models/kyb.rbi +94 -4
- data/rbi/lib/lithic/models/kyb_business_entity.rbi +28 -2
- data/rbi/lib/lithic/models/kyc.rbi +40 -4
- data/rbi/lib/lithic/models/kyc_exempt.rbi +13 -0
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +13 -0
- data/rbi/lib/lithic/models/message_attempt.rbi +10 -3
- data/rbi/lib/lithic/models/non_pci_card.rbi +78 -2
- data/rbi/lib/lithic/models/payment.rbi +57 -2
- data/rbi/lib/lithic/models/payment_create_params.rbi +2 -0
- data/rbi/lib/lithic/models/payment_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_list_params.rbi +9 -0
- data/rbi/lib/lithic/models/payment_retry_response.rbi +4 -2
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +9 -2
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +13 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_release_params.rbi +5 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +8 -2
- data/rbi/lib/lithic/models/payment_simulate_return_params.rbi +7 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +8 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +16 -0
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +26 -2
- data/rbi/lib/lithic/models/reports/settlement_list_details_params.rbi +11 -2
- data/rbi/lib/lithic/models/required_document.rbi +10 -2
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +7 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_response.rbi +4 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +5 -2
- data/rbi/lib/lithic/models/responder_endpoint_status.rbi +6 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +26 -0
- data/rbi/lib/lithic/models/settlement_report.rbi +25 -0
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +11 -0
- data/rbi/lib/lithic/models/shipping_address.rbi +20 -0
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +165 -19
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rbi +8 -2
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +31 -6
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_response.rbi +5 -2
- data/rbi/lib/lithic/models/three_ds/challenge_response.rbi +9 -2
- data/rbi/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization.rbi +27 -2
- data/rbi/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +7 -2
- data/rbi/lib/lithic/models/tokenization_secret.rbi +4 -2
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +11 -0
- data/rbi/lib/lithic/models/tokenization_update_digital_card_art_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction.rbi +246 -35
- data/rbi/lib/lithic/models/transaction_list_params.rbi +14 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_params.rbi +8 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_advice_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +35 -0
- data/rbi/lib/lithic/models/transaction_simulate_authorization_response.rbi +7 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_params.rbi +15 -2
- data/rbi/lib/lithic/models/transaction_simulate_clearing_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_params.rbi +17 -2
- data/rbi/lib/lithic/models/transaction_simulate_credit_authorization_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_params.rbi +9 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_response.rbi +6 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_params.rbi +5 -2
- data/rbi/lib/lithic/models/transaction_simulate_return_reversal_response.rbi +4 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +14 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_response.rbi +4 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +57 -16
- data/rbi/lib/lithic/models/transfer.rbi +41 -2
- data/rbi/lib/lithic/models/transfer_create_params.rbi +17 -2
- data/sig/lithic/file_part.rbs +21 -0
- data/sig/lithic/internal/transport/base_client.rbs +9 -3
- data/sig/lithic/internal/type/{io_like.rbs → file_input.rbs} +1 -1
- data/sig/lithic/internal/util.rbs +14 -12
- metadata +8 -5
@@ -11,8 +11,10 @@ module Lithic
|
|
11
11
|
attr_writer :balance
|
12
12
|
|
13
13
|
sig { params(balance: T.any(Lithic::Models::Balance, Lithic::Internal::AnyHash)).returns(T.attached_class) }
|
14
|
-
def self.new(
|
15
|
-
|
14
|
+
def self.new(
|
15
|
+
# Balance
|
16
|
+
balance: nil
|
17
|
+
); end
|
16
18
|
sig { override.returns({balance: Lithic::Models::Balance}) }
|
17
19
|
def to_hash; end
|
18
20
|
end
|
@@ -33,8 +33,15 @@ module Lithic
|
|
33
33
|
)
|
34
34
|
.returns(T.attached_class)
|
35
35
|
end
|
36
|
-
def self.new(
|
37
|
-
|
36
|
+
def self.new(
|
37
|
+
# Event Type
|
38
|
+
event_type:,
|
39
|
+
# Decline reason
|
40
|
+
decline_reason: nil,
|
41
|
+
# Return Reason Code
|
42
|
+
return_reason_code: nil,
|
43
|
+
request_options: {}
|
44
|
+
); end
|
38
45
|
sig do
|
39
46
|
override
|
40
47
|
.returns(
|
@@ -23,8 +23,14 @@ module Lithic
|
|
23
23
|
)
|
24
24
|
.returns(T.attached_class)
|
25
25
|
end
|
26
|
-
def self.new(
|
27
|
-
|
26
|
+
def self.new(
|
27
|
+
# Debugging Request Id
|
28
|
+
debugging_request_id:,
|
29
|
+
# Request Result
|
30
|
+
result:,
|
31
|
+
# Transaction Event Token
|
32
|
+
transaction_event_token:
|
33
|
+
); end
|
28
34
|
sig do
|
29
35
|
override
|
30
36
|
.returns(
|
@@ -40,9 +40,19 @@ module Lithic
|
|
40
40
|
)
|
41
41
|
.returns(T.attached_class)
|
42
42
|
end
|
43
|
-
def self.new(
|
44
|
-
|
45
|
-
|
43
|
+
def self.new(
|
44
|
+
# Customer-generated payment token used to uniquely identify the simulated payment
|
45
|
+
token:,
|
46
|
+
# Amount
|
47
|
+
amount:,
|
48
|
+
# Financial Account Token
|
49
|
+
financial_account_token:,
|
50
|
+
# Receipt Type
|
51
|
+
receipt_type:,
|
52
|
+
# Memo
|
53
|
+
memo: nil,
|
54
|
+
request_options: {}
|
55
|
+
); end
|
46
56
|
sig do
|
47
57
|
override
|
48
58
|
.returns(
|
@@ -23,8 +23,14 @@ module Lithic
|
|
23
23
|
)
|
24
24
|
.returns(T.attached_class)
|
25
25
|
end
|
26
|
-
def self.new(
|
27
|
-
|
26
|
+
def self.new(
|
27
|
+
# Debugging Request Id
|
28
|
+
debugging_request_id:,
|
29
|
+
# Request Result
|
30
|
+
result:,
|
31
|
+
# Transaction Event Token
|
32
|
+
transaction_event_token:
|
33
|
+
); end
|
28
34
|
sig do
|
29
35
|
override
|
30
36
|
.returns(
|
@@ -17,8 +17,11 @@ module Lithic
|
|
17
17
|
)
|
18
18
|
.returns(T.attached_class)
|
19
19
|
end
|
20
|
-
def self.new(
|
21
|
-
|
20
|
+
def self.new(
|
21
|
+
# Payment Token
|
22
|
+
payment_token:,
|
23
|
+
request_options: {}
|
24
|
+
); end
|
22
25
|
sig { override.returns({payment_token: String, request_options: Lithic::RequestOptions}) }
|
23
26
|
def to_hash; end
|
24
27
|
end
|
@@ -23,8 +23,14 @@ module Lithic
|
|
23
23
|
)
|
24
24
|
.returns(T.attached_class)
|
25
25
|
end
|
26
|
-
def self.new(
|
27
|
-
|
26
|
+
def self.new(
|
27
|
+
# Debugging Request Id
|
28
|
+
debugging_request_id:,
|
29
|
+
# Request Result
|
30
|
+
result:,
|
31
|
+
# Transaction Event Token
|
32
|
+
transaction_event_token:
|
33
|
+
); end
|
28
34
|
sig do
|
29
35
|
override
|
30
36
|
.returns(
|
@@ -25,8 +25,13 @@ module Lithic
|
|
25
25
|
)
|
26
26
|
.returns(T.attached_class)
|
27
27
|
end
|
28
|
-
def self.new(
|
29
|
-
|
28
|
+
def self.new(
|
29
|
+
# Payment Token
|
30
|
+
payment_token:,
|
31
|
+
# Return Reason Code
|
32
|
+
return_reason_code: nil,
|
33
|
+
request_options: {}
|
34
|
+
); end
|
30
35
|
sig do
|
31
36
|
override
|
32
37
|
.returns({
|
@@ -23,8 +23,14 @@ module Lithic
|
|
23
23
|
)
|
24
24
|
.returns(T.attached_class)
|
25
25
|
end
|
26
|
-
def self.new(
|
27
|
-
|
26
|
+
def self.new(
|
27
|
+
# Debugging Request Id
|
28
|
+
debugging_request_id:,
|
29
|
+
# Request Result
|
30
|
+
result:,
|
31
|
+
# Transaction Event Token
|
32
|
+
transaction_event_token:
|
33
|
+
); end
|
28
34
|
sig do
|
29
35
|
override
|
30
36
|
.returns(
|
@@ -108,16 +108,32 @@ module Lithic
|
|
108
108
|
.returns(T.attached_class)
|
109
109
|
end
|
110
110
|
def self.new(
|
111
|
+
# Datetime in RFC 3339 format. Only entries created after the specified time will
|
112
|
+
# be included. UTC time zone.
|
111
113
|
begin_: nil,
|
114
|
+
# Datetime in RFC 3339 format. Only entries created before the specified time will
|
115
|
+
# be included. UTC time zone.
|
112
116
|
end_: nil,
|
117
|
+
# A cursor representing an item's token before which a page of results should end.
|
118
|
+
# Used to retrieve the previous page of results before this item.
|
113
119
|
ending_before: nil,
|
120
|
+
# Institution ID to filter on.
|
114
121
|
institution_id: nil,
|
122
|
+
# Network to filter on.
|
115
123
|
network: nil,
|
124
|
+
# Number of records per page.
|
116
125
|
page_size: nil,
|
126
|
+
# Singular report date to filter on (YYYY-MM-DD). Cannot be populated in
|
127
|
+
# conjunction with report_date_begin or report_date_end.
|
117
128
|
report_date: nil,
|
129
|
+
# Earliest report date to filter on, inclusive (YYYY-MM-DD).
|
118
130
|
report_date_begin: nil,
|
131
|
+
# Latest report date to filter on, inclusive (YYYY-MM-DD).
|
119
132
|
report_date_end: nil,
|
133
|
+
# Settlement institution ID to filter on.
|
120
134
|
settlement_institution_id: nil,
|
135
|
+
# A cursor representing an item's token after which a page of results should
|
136
|
+
# begin. Used to retrieve the next page of results after this item.
|
121
137
|
starting_after: nil,
|
122
138
|
request_options: {}
|
123
139
|
); end
|
@@ -81,16 +81,31 @@ module Lithic
|
|
81
81
|
.returns(T.attached_class)
|
82
82
|
end
|
83
83
|
def self.new(
|
84
|
+
# Globally unique identifier.
|
84
85
|
token:,
|
85
86
|
amounts:,
|
87
|
+
# RFC 3339 timestamp for when the record was created. UTC time zone.
|
86
88
|
created:,
|
89
|
+
# 3-character alphabetic ISO 4217 code.
|
87
90
|
currency:,
|
91
|
+
# The institution that activity occurred on. For Mastercard: ICA (Interbank Card
|
92
|
+
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
93
|
+
# (Settlement Reporting Entity).
|
88
94
|
institution_id:,
|
95
|
+
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
|
96
|
+
# INTERLINK.
|
89
97
|
network:,
|
98
|
+
# Date that the network total record applies to. YYYY-MM-DD format.
|
90
99
|
report_date:,
|
100
|
+
# The institution responsible for settlement. For Mastercard: same as
|
101
|
+
# `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
|
102
|
+
# (FTSRE).
|
91
103
|
settlement_institution_id:,
|
104
|
+
# Settlement service.
|
92
105
|
settlement_service:,
|
106
|
+
# RFC 3339 timestamp for when the record was last updated. UTC time zone.
|
93
107
|
updated:,
|
108
|
+
# The clearing cycle that the network total record applies to. Mastercard only.
|
94
109
|
cycle: nil
|
95
110
|
); end
|
96
111
|
sig do
|
@@ -143,8 +158,17 @@ module Lithic
|
|
143
158
|
)
|
144
159
|
.returns(T.attached_class)
|
145
160
|
end
|
146
|
-
def self.new(
|
147
|
-
|
161
|
+
def self.new(
|
162
|
+
# Total settlement amount excluding interchange, in currency's smallest unit.
|
163
|
+
gross_settlement:,
|
164
|
+
# Interchange amount, in currency's smallest unit.
|
165
|
+
interchange_fees:,
|
166
|
+
# `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
|
167
|
+
# in currency's smallest unit.
|
168
|
+
net_settlement:,
|
169
|
+
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
170
|
+
visa_charges: nil
|
171
|
+
); end
|
148
172
|
sig do
|
149
173
|
override
|
150
174
|
.returns(
|
@@ -87,16 +87,31 @@ module Lithic
|
|
87
87
|
.returns(T.attached_class)
|
88
88
|
end
|
89
89
|
def self.new(
|
90
|
+
# Globally unique identifier.
|
90
91
|
token:,
|
91
92
|
amounts:,
|
93
|
+
# RFC 3339 timestamp for when the record was created. UTC time zone.
|
92
94
|
created:,
|
95
|
+
# 3-character alphabetic ISO 4217 code.
|
93
96
|
currency:,
|
97
|
+
# The institution that activity occurred on. For Mastercard: ICA (Interbank Card
|
98
|
+
# Association). For Maestro: institution ID. For Visa: lowest level SRE
|
99
|
+
# (Settlement Reporting Entity).
|
94
100
|
institution_id:,
|
101
|
+
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
|
102
|
+
# INTERLINK.
|
95
103
|
network:,
|
104
|
+
# Date that the network total record applies to. YYYY-MM-DD format.
|
96
105
|
report_date:,
|
106
|
+
# The institution responsible for settlement. For Mastercard: same as
|
107
|
+
# `institution_id`. For Maestro: billing ICA. For Visa: Funds Transfer SRE
|
108
|
+
# (FTSRE).
|
97
109
|
settlement_institution_id:,
|
110
|
+
# Settlement service.
|
98
111
|
settlement_service:,
|
112
|
+
# RFC 3339 timestamp for when the record was last updated. UTC time zone.
|
99
113
|
updated:,
|
114
|
+
# The clearing cycle that the network total record applies to. Mastercard only.
|
100
115
|
cycle: nil
|
101
116
|
); end
|
102
117
|
sig do
|
@@ -149,8 +164,17 @@ module Lithic
|
|
149
164
|
)
|
150
165
|
.returns(T.attached_class)
|
151
166
|
end
|
152
|
-
def self.new(
|
153
|
-
|
167
|
+
def self.new(
|
168
|
+
# Total settlement amount excluding interchange, in currency's smallest unit.
|
169
|
+
gross_settlement:,
|
170
|
+
# Interchange amount, in currency's smallest unit.
|
171
|
+
interchange_fees:,
|
172
|
+
# `gross_settlement` net of `interchange_fees` and `visa_charges` (if applicable),
|
173
|
+
# in currency's smallest unit.
|
174
|
+
net_settlement:,
|
175
|
+
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
176
|
+
visa_charges: nil
|
177
|
+
); end
|
154
178
|
sig do
|
155
179
|
override
|
156
180
|
.returns(
|
@@ -39,8 +39,17 @@ module Lithic
|
|
39
39
|
)
|
40
40
|
.returns(T.attached_class)
|
41
41
|
end
|
42
|
-
def self.new(
|
43
|
-
|
42
|
+
def self.new(
|
43
|
+
# A cursor representing an item's token before which a page of results should end.
|
44
|
+
# Used to retrieve the previous page of results before this item.
|
45
|
+
ending_before: nil,
|
46
|
+
# Page size (for pagination).
|
47
|
+
page_size: nil,
|
48
|
+
# A cursor representing an item's token after which a page of results should
|
49
|
+
# begin. Used to retrieve the next page of results after this item.
|
50
|
+
starting_after: nil,
|
51
|
+
request_options: {}
|
52
|
+
); end
|
44
53
|
sig do
|
45
54
|
override
|
46
55
|
.returns(
|
@@ -21,8 +21,16 @@ module Lithic
|
|
21
21
|
params(entity_token: String, status_reasons: T::Array[String], valid_documents: T::Array[String])
|
22
22
|
.returns(T.attached_class)
|
23
23
|
end
|
24
|
-
def self.new(
|
25
|
-
|
24
|
+
def self.new(
|
25
|
+
# Globally unique identifier for an entity.
|
26
|
+
entity_token:,
|
27
|
+
# rovides the status reasons that will be satisfied by providing one of the valid
|
28
|
+
# documents.
|
29
|
+
status_reasons:,
|
30
|
+
# A list of valid documents that will satisfy the KYC requirements for the
|
31
|
+
# specified entity.
|
32
|
+
valid_documents:
|
33
|
+
); end
|
26
34
|
sig do
|
27
35
|
override
|
28
36
|
.returns({
|
@@ -28,8 +28,13 @@ module Lithic
|
|
28
28
|
)
|
29
29
|
.returns(T.attached_class)
|
30
30
|
end
|
31
|
-
def self.new(
|
32
|
-
|
31
|
+
def self.new(
|
32
|
+
# The type of the endpoint.
|
33
|
+
type: nil,
|
34
|
+
# The URL for the responder endpoint (must be http(s)).
|
35
|
+
url: nil,
|
36
|
+
request_options: {}
|
37
|
+
); end
|
33
38
|
sig do
|
34
39
|
override
|
35
40
|
.returns(
|
@@ -11,8 +11,10 @@ module Lithic
|
|
11
11
|
attr_writer :enrolled
|
12
12
|
|
13
13
|
sig { params(enrolled: T::Boolean).returns(T.attached_class) }
|
14
|
-
def self.new(
|
15
|
-
|
14
|
+
def self.new(
|
15
|
+
# True if the endpoint was enrolled successfully.
|
16
|
+
enrolled: nil
|
17
|
+
); end
|
16
18
|
sig { override.returns({enrolled: T::Boolean}) }
|
17
19
|
def to_hash; end
|
18
20
|
end
|
@@ -15,8 +15,12 @@ module Lithic
|
|
15
15
|
attr_accessor :url
|
16
16
|
|
17
17
|
sig { params(enrolled: T::Boolean, url: T.nilable(String)).returns(T.attached_class) }
|
18
|
-
def self.new(
|
19
|
-
|
18
|
+
def self.new(
|
19
|
+
# True if the instance has an endpoint enrolled.
|
20
|
+
enrolled: nil,
|
21
|
+
# The URL of the currently enrolled endpoint or null.
|
22
|
+
url: nil
|
23
|
+
); end
|
20
24
|
sig { override.returns({enrolled: T::Boolean, url: T.nilable(String)}) }
|
21
25
|
def to_hash; end
|
22
26
|
end
|
@@ -130,26 +130,52 @@ module Lithic
|
|
130
130
|
.returns(T.attached_class)
|
131
131
|
end
|
132
132
|
def self.new(
|
133
|
+
# Globally unique identifier denoting the Settlement Detail.
|
133
134
|
token:,
|
135
|
+
# The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE
|
136
|
+
# for Visa).
|
134
137
|
account_token:,
|
138
|
+
# Globally unique identifier denoting the card program that the associated
|
139
|
+
# Transaction occurred on.
|
135
140
|
card_program_token:,
|
141
|
+
# Globally unique identifier denoting the card that the associated Transaction
|
142
|
+
# occurred on.
|
136
143
|
card_token:,
|
144
|
+
# Date and time when the transaction first occurred. UTC time zone.
|
137
145
|
created:,
|
146
|
+
# Three-character alphabetic ISO 4217 code.
|
138
147
|
currency:,
|
148
|
+
# The total gross amount of disputes settlements.
|
139
149
|
disputes_gross_amount:,
|
150
|
+
# Globally unique identifiers denoting the Events associated with this settlement.
|
140
151
|
event_tokens:,
|
152
|
+
# The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE
|
153
|
+
# for Visa).
|
141
154
|
institution:,
|
155
|
+
# The total amount of interchange in six-digit extended precision.
|
142
156
|
interchange_fee_extended_precision:,
|
157
|
+
# The total amount of interchange.
|
143
158
|
interchange_gross_amount:,
|
159
|
+
# Card network where the transaction took place.
|
144
160
|
network:,
|
161
|
+
# The total gross amount of other fees by type.
|
145
162
|
other_fees_details:,
|
163
|
+
# Total amount of gross other fees outside of interchange.
|
146
164
|
other_fees_gross_amount:,
|
165
|
+
# Date of when the report was first generated.
|
147
166
|
report_date:,
|
167
|
+
# Date of when money movement is triggered for the transaction.
|
148
168
|
settlement_date:,
|
169
|
+
# Globally unique identifier denoting the associated Transaction object.
|
149
170
|
transaction_token:,
|
171
|
+
# The total amount of settlement impacting transactions (excluding interchange,
|
172
|
+
# fees, and disputes).
|
150
173
|
transactions_gross_amount:,
|
174
|
+
# The type of settlement record.
|
151
175
|
type:,
|
176
|
+
# Date and time when the transaction first occurred. UTC time zone.
|
152
177
|
updated:,
|
178
|
+
# Network's description of a fee, only present on records with type `FEE`.
|
153
179
|
fee_description: nil
|
154
180
|
); end
|
155
181
|
sig do
|
@@ -78,16 +78,41 @@ module Lithic
|
|
78
78
|
.returns(T.attached_class)
|
79
79
|
end
|
80
80
|
def self.new(
|
81
|
+
# Date and time when the transaction first occurred. UTC time zone.
|
81
82
|
created:,
|
83
|
+
# 3-character alphabetic ISO 4217 code. (This field is deprecated and will be
|
84
|
+
# removed in a future version of the API.)
|
82
85
|
currency:,
|
83
86
|
details:,
|
87
|
+
# The total gross amount of disputes settlements. (This field is deprecated and
|
88
|
+
# will be removed in a future version of the API. To compute total amounts, Lithic
|
89
|
+
# recommends that customers sum the relevant settlement amounts found within
|
90
|
+
# `details`.)
|
84
91
|
disputes_gross_amount:,
|
92
|
+
# The total amount of interchange. (This field is deprecated and will be removed
|
93
|
+
# in a future version of the API. To compute total amounts, Lithic recommends that
|
94
|
+
# customers sum the relevant settlement amounts found within `details`.)
|
85
95
|
interchange_gross_amount:,
|
96
|
+
# Indicates that all data expected on the given report date is available.
|
86
97
|
is_complete:,
|
98
|
+
# Total amount of gross other fees outside of interchange. (This field is
|
99
|
+
# deprecated and will be removed in a future version of the API. To compute total
|
100
|
+
# amounts, Lithic recommends that customers sum the relevant settlement amounts
|
101
|
+
# found within `details`.)
|
87
102
|
other_fees_gross_amount:,
|
103
|
+
# Date of when the report was first generated.
|
88
104
|
report_date:,
|
105
|
+
# The total net amount of cash moved. (net value of settled_gross_amount,
|
106
|
+
# interchange, fees). (This field is deprecated and will be removed in a future
|
107
|
+
# version of the API. To compute total amounts, Lithic recommends that customers
|
108
|
+
# sum the relevant settlement amounts found within `details`.)
|
89
109
|
settled_net_amount:,
|
110
|
+
# The total amount of settlement impacting transactions (excluding interchange,
|
111
|
+
# fees, and disputes). (This field is deprecated and will be removed in a future
|
112
|
+
# version of the API. To compute total amounts, Lithic recommends that customers
|
113
|
+
# sum the relevant settlement amounts found within `details`.)
|
90
114
|
transactions_gross_amount:,
|
115
|
+
# Date and time when the transaction first occurred. UTC time zone.
|
91
116
|
updated:
|
92
117
|
); end
|
93
118
|
sig do
|
@@ -76,13 +76,24 @@ module Lithic
|
|
76
76
|
.returns(T.attached_class)
|
77
77
|
end
|
78
78
|
def self.new(
|
79
|
+
# 3-character alphabetic ISO 4217 code.
|
79
80
|
currency: nil,
|
81
|
+
# The total gross amount of disputes settlements.
|
80
82
|
disputes_gross_amount: nil,
|
83
|
+
# The most granular ID the network settles with (e.g., ICA for Mastercard, FTSRE
|
84
|
+
# for Visa).
|
81
85
|
institution: nil,
|
86
|
+
# The total amount of interchange.
|
82
87
|
interchange_gross_amount: nil,
|
88
|
+
# Card network where the transaction took place
|
83
89
|
network: nil,
|
90
|
+
# Total amount of gross other fees outside of interchange.
|
84
91
|
other_fees_gross_amount: nil,
|
92
|
+
# The total net amount of cash moved. (net value of settled_gross_amount,
|
93
|
+
# interchange, fees).
|
85
94
|
settled_net_amount: nil,
|
95
|
+
# The total amount of settlement impacting transactions (excluding interchange,
|
96
|
+
# fees, and disputes).
|
86
97
|
transactions_gross_amount: nil
|
87
98
|
); end
|
88
99
|
sig do
|
@@ -85,16 +85,36 @@ module Lithic
|
|
85
85
|
.returns(T.attached_class)
|
86
86
|
end
|
87
87
|
def self.new(
|
88
|
+
# Valid USPS routable address.
|
88
89
|
address1:,
|
90
|
+
# City
|
89
91
|
city:,
|
92
|
+
# Uppercase ISO 3166-1 alpha-3 three character abbreviation.
|
90
93
|
country:,
|
94
|
+
# Customer's first name. This will be the first name printed on the physical card.
|
95
|
+
# The combined length of `first_name` and `last_name` may not exceed 25
|
96
|
+
# characters.
|
91
97
|
first_name:,
|
98
|
+
# Customer's surname (family name). This will be the last name printed on the
|
99
|
+
# physical card. The combined length of `first_name` and `last_name` may not
|
100
|
+
# exceed 25 characters.
|
92
101
|
last_name:,
|
102
|
+
# Postal code (formerly zipcode). For US addresses, either five-digit postal code
|
103
|
+
# or nine-digit postal code (ZIP+4) using the format 12345-1234.
|
93
104
|
postal_code:,
|
105
|
+
# Uppercase ISO 3166-2 two character abbreviation for US and CA. Optional with a
|
106
|
+
# limit of 24 characters for other countries.
|
94
107
|
state:,
|
108
|
+
# Unit number (if applicable).
|
95
109
|
address2: nil,
|
110
|
+
# Email address to be contacted for expedited shipping process purposes. Required
|
111
|
+
# if `shipping_method` is `EXPEDITED`.
|
96
112
|
email: nil,
|
113
|
+
# Text to be printed on line two of the physical card. Use of this field requires
|
114
|
+
# additional permissions.
|
97
115
|
line2_text: nil,
|
116
|
+
# Cardholder's phone number in E.164 format to be contacted for expedited shipping
|
117
|
+
# process purposes. Required if `shipping_method` is `EXPEDITED`.
|
98
118
|
phone_number: nil
|
99
119
|
); end
|
100
120
|
sig do
|