lithic 0.1.0.pre.alpha.14 → 0.1.0.pre.alpha.16
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 +36 -0
- data/README.md +61 -52
- data/lib/lithic/client.rb +4 -4
- data/lib/lithic/internal/transport/pooled_net_requester.rb +1 -5
- data/lib/lithic/internal/type/array_of.rb +9 -0
- data/lib/lithic/internal/type/base_model.rb +62 -28
- data/lib/lithic/internal/type/base_page.rb +8 -0
- data/lib/lithic/internal/type/boolean.rb +4 -0
- data/lib/lithic/internal/type/enum.rb +9 -5
- data/lib/lithic/internal/type/hash_of.rb +9 -0
- data/lib/lithic/internal/type/io_like.rb +4 -0
- data/lib/lithic/internal/type/request_parameters.rb +1 -2
- data/lib/lithic/internal/type/union.rb +10 -1
- data/lib/lithic/internal/type/unknown.rb +4 -0
- data/lib/lithic/internal.rb +0 -1
- data/lib/lithic/models/account.rb +42 -91
- data/lib/lithic/models/account_financial_account_type.rb +2 -5
- data/lib/lithic/models/account_holder.rb +127 -312
- data/lib/lithic/models/account_holder_create_params.rb +99 -219
- data/lib/lithic/models/account_holder_create_response.rb +15 -48
- data/lib/lithic/models/account_holder_list_documents_params.rb +3 -8
- data/lib/lithic/models/account_holder_list_documents_response.rb +3 -11
- data/lib/lithic/models/account_holder_list_params.rb +25 -90
- data/lib/lithic/models/account_holder_retrieve_document_params.rb +4 -9
- data/lib/lithic/models/account_holder_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rb +13 -41
- data/lib/lithic/models/account_holder_simulate_enrollment_review_params.rb +13 -36
- data/lib/lithic/models/account_holder_simulate_enrollment_review_response.rb +151 -388
- data/lib/lithic/models/account_holder_update_params.rb +132 -424
- data/lib/lithic/models/account_holder_update_response.rb +180 -474
- data/lib/lithic/models/account_holder_upload_document_params.rb +7 -15
- data/lib/lithic/models/account_list_params.rb +13 -38
- data/lib/lithic/models/account_retrieve_params.rb +3 -8
- data/lib/lithic/models/account_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/account_spend_limits.rb +27 -87
- data/lib/lithic/models/account_update_params.rb +35 -99
- data/lib/lithic/models/address.rb +8 -16
- data/lib/lithic/models/address_update.rb +13 -41
- data/lib/lithic/models/aggregate_balance.rb +15 -36
- data/lib/lithic/models/aggregate_balance_list_params.rb +7 -19
- data/lib/lithic/models/api_status.rb +3 -11
- data/lib/lithic/models/auth_rules/auth_rule.rb +19 -67
- data/lib/lithic/models/auth_rules/auth_rule_condition.rb +11 -31
- data/lib/lithic/models/auth_rules/conditional_attribute.rb +2 -5
- data/lib/lithic/models/auth_rules/conditional_block_parameters.rb +2 -6
- data/lib/lithic/models/auth_rules/v2/backtest_create_params.rb +7 -20
- data/lib/lithic/models/auth_rules/v2/backtest_create_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2/backtest_results.rb +46 -142
- data/lib/lithic/models/auth_rules/v2/backtest_retrieve_params.rb +4 -9
- data/lib/lithic/models/auth_rules/v2_apply_params.rb +8 -17
- data/lib/lithic/models/auth_rules/v2_apply_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_create_params.rb +17 -50
- data/lib/lithic/models/auth_rules/v2_create_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_delete_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_draft_params.rb +6 -12
- data/lib/lithic/models/auth_rules/v2_draft_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_list_params.rb +13 -48
- data/lib/lithic/models/auth_rules/v2_list_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_promote_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_promote_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_report_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_report_response.rb +3 -11
- data/lib/lithic/models/auth_rules/v2_retrieve_params.rb +3 -8
- data/lib/lithic/models/auth_rules/v2_retrieve_response.rb +26 -64
- data/lib/lithic/models/auth_rules/v2_update_params.rb +16 -55
- data/lib/lithic/models/auth_rules/v2_update_response.rb +26 -64
- data/lib/lithic/models/auth_rules/velocity_limit_params.rb +15 -27
- data/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rb +2 -5
- data/lib/lithic/models/auth_stream_enrollment_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_enrollment_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/auth_stream_secret.rb +3 -11
- data/lib/lithic/models/balance.rb +15 -36
- data/lib/lithic/models/balance_list_params.rb +13 -46
- data/lib/lithic/models/book_transfer_create_params.rb +17 -49
- data/lib/lithic/models/book_transfer_list_params.rb +31 -105
- data/lib/lithic/models/book_transfer_response.rb +32 -71
- data/lib/lithic/models/book_transfer_retrieve_params.rb +3 -8
- data/lib/lithic/models/book_transfer_reverse_params.rb +5 -14
- data/lib/lithic/models/card_convert_physical_params.rb +12 -32
- data/lib/lithic/models/card_convert_physical_response.rb +393 -0
- data/lib/lithic/models/card_create_params.rb +42 -142
- data/lib/lithic/models/card_create_response.rb +392 -0
- data/lib/lithic/models/card_embed_params.rb +5 -10
- data/lib/lithic/models/card_list_params.rb +19 -67
- data/lib/lithic/models/card_list_response.rb +376 -0
- data/lib/lithic/models/card_program.rb +10 -33
- data/lib/lithic/models/card_program_list_params.rb +9 -26
- data/lib/lithic/models/card_program_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_provision_params.rb +17 -60
- data/lib/lithic/models/card_provision_response.rb +3 -11
- data/lib/lithic/models/card_reissue_params.rb +13 -37
- data/lib/lithic/models/card_reissue_response.rb +392 -0
- data/lib/lithic/models/card_renew_params.rb +16 -55
- data/lib/lithic/models/card_renew_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_params.rb +3 -8
- data/lib/lithic/models/card_retrieve_response.rb +392 -0
- data/lib/lithic/models/card_retrieve_spend_limits_params.rb +3 -8
- data/lib/lithic/models/card_search_by_pan_params.rb +4 -9
- data/lib/lithic/models/card_search_by_pan_response.rb +392 -0
- data/lib/lithic/models/card_spend_limits.rb +27 -87
- data/lib/lithic/models/card_update_params.rb +21 -72
- data/lib/lithic/models/card_update_response.rb +392 -0
- data/lib/lithic/models/cards/aggregate_balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/aggregate_balance_list_response.rb +12 -29
- data/lib/lithic/models/cards/balance_list_params.rb +7 -20
- data/lib/lithic/models/cards/balance_list_response.rb +15 -36
- data/lib/lithic/models/cards/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/cards/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/carrier.rb +3 -11
- data/lib/lithic/models/client_api_status_params.rb +3 -8
- data/lib/lithic/models/credit_products/extended_credit.rb +2 -6
- data/lib/lithic/models/credit_products/extended_credit_retrieve_params.rb +3 -8
- data/lib/lithic/models/credit_products/prime_rate_create_params.rb +5 -10
- data/lib/lithic/models/credit_products/prime_rate_retrieve_params.rb +7 -20
- data/lib/lithic/models/credit_products/prime_rate_retrieve_response.rb +6 -14
- data/lib/lithic/models/digital_card_art.rb +11 -33
- data/lib/lithic/models/digital_card_art_list_params.rb +9 -26
- data/lib/lithic/models/digital_card_art_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute.rb +27 -70
- data/lib/lithic/models/dispute_create_params.rb +12 -38
- data/lib/lithic/models/dispute_delete_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_delete_params.rb +3 -8
- data/lib/lithic/models/dispute_evidence.rb +15 -34
- data/lib/lithic/models/dispute_initiate_evidence_upload_params.rb +5 -14
- data/lib/lithic/models/dispute_list_evidences_params.rb +13 -38
- data/lib/lithic/models/dispute_list_params.rb +19 -67
- data/lib/lithic/models/dispute_retrieve_evidence_params.rb +4 -9
- data/lib/lithic/models/dispute_retrieve_params.rb +3 -8
- data/lib/lithic/models/dispute_update_params.rb +13 -37
- data/lib/lithic/models/document.rb +29 -62
- data/lib/lithic/models/event.rb +9 -16
- data/lib/lithic/models/event_list_attempts_params.rb +17 -60
- data/lib/lithic/models/event_list_params.rb +19 -67
- data/lib/lithic/models/event_retrieve_params.rb +3 -8
- data/lib/lithic/models/event_subscription.rb +10 -17
- data/lib/lithic/models/events/event_subscription_resend_params.rb +4 -9
- data/lib/lithic/models/events/subscription_create_params.rb +12 -32
- data/lib/lithic/models/events/subscription_delete_params.rb +3 -8
- data/lib/lithic/models/events/subscription_list_attempts_params.rb +17 -60
- data/lib/lithic/models/events/subscription_list_params.rb +9 -26
- data/lib/lithic/models/events/subscription_recover_params.rb +7 -20
- data/lib/lithic/models/events/subscription_replay_missing_params.rb +7 -20
- data/lib/lithic/models/events/subscription_retrieve_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/events/subscription_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/events/subscription_send_simulated_example_params.rb +7 -19
- data/lib/lithic/models/events/subscription_update_params.rb +12 -32
- data/lib/lithic/models/external_bank_account_address.rb +8 -16
- data/lib/lithic/models/external_bank_account_create_params.rb +33 -99
- data/lib/lithic/models/external_bank_account_create_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_list_params.rb +27 -91
- data/lib/lithic/models/external_bank_account_list_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_bank_account_retrieve_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rb +42 -123
- data/lib/lithic/models/external_bank_account_retry_prenote_params.rb +5 -14
- data/lib/lithic/models/external_bank_account_retry_prenote_response.rb +38 -113
- data/lib/lithic/models/external_bank_account_update_params.rb +23 -81
- data/lib/lithic/models/external_bank_account_update_response.rb +42 -123
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_params.rb +4 -9
- data/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rb +42 -123
- data/lib/lithic/models/external_payment.rb +38 -88
- data/lib/lithic/models/external_payment_cancel_params.rb +6 -15
- data/lib/lithic/models/external_payment_create_params.rb +22 -66
- data/lib/lithic/models/external_payment_list_params.rb +29 -98
- data/lib/lithic/models/external_payment_release_params.rb +6 -15
- data/lib/lithic/models/external_payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/external_payment_reverse_params.rb +6 -15
- data/lib/lithic/models/external_payment_settle_params.rb +10 -26
- data/lib/lithic/models/financial_account.rb +33 -81
- data/lib/lithic/models/financial_account_create_params.rb +13 -43
- data/lib/lithic/models/financial_account_list_params.rb +11 -31
- data/lib/lithic/models/financial_account_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_account_update_params.rb +5 -14
- data/lib/lithic/models/financial_account_update_status_params.rb +9 -20
- data/lib/lithic/models/financial_accounts/balance_list_params.rb +7 -20
- data/lib/lithic/models/financial_accounts/balance_list_response.rb +15 -36
- data/lib/lithic/models/financial_accounts/credit_configuration_retrieve_params.rb +3 -8
- data/lib/lithic/models/financial_accounts/credit_configuration_update_params.rb +11 -41
- data/lib/lithic/models/financial_accounts/financial_account_credit_config.rb +13 -35
- data/lib/lithic/models/financial_accounts/financial_transaction_list_params.rb +23 -77
- data/lib/lithic/models/financial_accounts/financial_transaction_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/loan_tape.rb +132 -269
- data/lib/lithic/models/financial_accounts/loan_tape_list_params.rb +13 -38
- data/lib/lithic/models/financial_accounts/loan_tape_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statement.rb +87 -198
- data/lib/lithic/models/financial_accounts/statement_list_params.rb +15 -55
- data/lib/lithic/models/financial_accounts/statement_retrieve_params.rb +4 -9
- data/lib/lithic/models/financial_accounts/statements/line_item_list_params.rb +10 -27
- data/lib/lithic/models/financial_accounts/statements/statement_line_items.rb +24 -60
- data/lib/lithic/models/financial_accounts/statements.rb +3 -7
- data/lib/lithic/models/financial_transaction.rb +34 -91
- data/lib/lithic/models/instance_financial_account_type.rb +4 -5
- data/lib/lithic/models/kyb.rb +73 -167
- data/lib/lithic/models/kyb_business_entity.rb +20 -50
- data/lib/lithic/models/kyc.rb +21 -40
- data/lib/lithic/models/kyc_exempt.rb +16 -47
- data/lib/lithic/models/management_operation_create_params.rb +34 -74
- data/lib/lithic/models/management_operation_list_params.rb +26 -86
- data/lib/lithic/models/management_operation_retrieve_params.rb +3 -8
- data/lib/lithic/models/management_operation_reverse_params.rb +6 -15
- data/lib/lithic/models/management_operation_transaction.rb +56 -110
- data/lib/lithic/models/message_attempt.rb +13 -32
- data/lib/lithic/models/owner_type.rb +2 -5
- data/lib/lithic/models/payment.rb +56 -129
- data/lib/lithic/models/payment_create_params.rb +23 -67
- data/lib/lithic/models/payment_create_response.rb +3 -11
- data/lib/lithic/models/payment_list_params.rb +31 -105
- data/lib/lithic/models/payment_retrieve_params.rb +3 -8
- data/lib/lithic/models/payment_retry_params.rb +3 -8
- data/lib/lithic/models/payment_retry_response.rb +3 -11
- data/lib/lithic/models/payment_simulate_action_params.rb +12 -31
- data/lib/lithic/models/payment_simulate_action_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_receipt_params.rb +12 -24
- data/lib/lithic/models/payment_simulate_receipt_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_release_params.rb +4 -9
- data/lib/lithic/models/payment_simulate_release_response.rb +6 -13
- data/lib/lithic/models/payment_simulate_return_params.rb +6 -15
- data/lib/lithic/models/payment_simulate_return_response.rb +6 -13
- data/lib/lithic/models/reports/settlement/network_total_list_params.rb +27 -95
- data/lib/lithic/models/reports/settlement/network_total_list_response.rb +21 -55
- data/lib/lithic/models/reports/settlement/network_total_retrieve_params.rb +3 -8
- data/lib/lithic/models/reports/settlement/network_total_retrieve_response.rb +21 -55
- data/lib/lithic/models/reports/settlement_list_details_params.rb +9 -26
- data/lib/lithic/models/reports/settlement_summary_params.rb +3 -8
- data/lib/lithic/models/required_document.rb +4 -8
- data/lib/lithic/models/responder_endpoint_check_status_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_create_params.rb +9 -25
- data/lib/lithic/models/responder_endpoint_create_response.rb +3 -11
- data/lib/lithic/models/responder_endpoint_delete_params.rb +6 -14
- data/lib/lithic/models/responder_endpoint_status.rb +4 -12
- data/lib/lithic/models/settlement_detail.rb +32 -79
- data/lib/lithic/models/settlement_report.rb +24 -31
- data/lib/lithic/models/settlement_summary_details.rb +19 -70
- data/lib/lithic/models/shipping_address.rb +16 -51
- data/lib/lithic/models/spend_limit_duration.rb +2 -5
- data/lib/lithic/models/three_ds/authentication_retrieve_params.rb +3 -8
- data/lib/lithic/models/three_ds/authentication_retrieve_response.rb +148 -312
- data/lib/lithic/models/three_ds/authentication_simulate_otp_entry_params.rb +5 -10
- data/lib/lithic/models/three_ds/authentication_simulate_params.rb +18 -38
- data/lib/lithic/models/three_ds/authentication_simulate_response.rb +3 -11
- data/lib/lithic/models/three_ds/challenge_response.rb +3 -7
- data/lib/lithic/models/three_ds/challenge_result.rb +2 -5
- data/lib/lithic/models/three_ds/decisioning_challenge_response_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/three_ds/decisioning_retrieve_secret_response.rb +3 -11
- data/lib/lithic/models/three_ds/decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization.rb +35 -99
- data/lib/lithic/models/tokenization_activate_params.rb +3 -8
- data/lib/lithic/models/tokenization_deactivate_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_retrieve_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_params.rb +3 -8
- data/lib/lithic/models/tokenization_decisioning_rotate_secret_response.rb +3 -11
- data/lib/lithic/models/tokenization_list_params.rb +21 -74
- data/lib/lithic/models/tokenization_pause_params.rb +3 -8
- data/lib/lithic/models/tokenization_resend_activation_code_params.rb +7 -19
- data/lib/lithic/models/tokenization_retrieve_params.rb +3 -8
- data/lib/lithic/models/tokenization_retrieve_response.rb +3 -11
- data/lib/lithic/models/tokenization_secret.rb +3 -11
- data/lib/lithic/models/tokenization_simulate_params.rb +19 -59
- data/lib/lithic/models/tokenization_simulate_response.rb +3 -11
- data/lib/lithic/models/tokenization_unpause_params.rb +3 -8
- data/lib/lithic/models/tokenization_update_digital_card_art_params.rb +5 -14
- data/lib/lithic/models/tokenization_update_digital_card_art_response.rb +3 -11
- data/lib/lithic/models/transaction.rb +295 -413
- data/lib/lithic/models/transaction_expire_authorization_params.rb +3 -8
- data/lib/lithic/models/transaction_list_params.rb +25 -86
- data/lib/lithic/models/transaction_retrieve_params.rb +3 -8
- data/lib/lithic/models/transaction_simulate_authorization_advice_params.rb +5 -10
- data/lib/lithic/models/transaction_simulate_authorization_advice_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_authorization_params.rb +22 -73
- data/lib/lithic/models/transaction_simulate_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_clearing_params.rb +6 -15
- data/lib/lithic/models/transaction_simulate_clearing_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_credit_authorization_params.rb +10 -23
- data/lib/lithic/models/transaction_simulate_credit_authorization_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_params.rb +6 -11
- data/lib/lithic/models/transaction_simulate_return_response.rb +5 -17
- data/lib/lithic/models/transaction_simulate_return_reversal_params.rb +4 -9
- data/lib/lithic/models/transaction_simulate_return_reversal_response.rb +3 -11
- data/lib/lithic/models/transaction_simulate_void_params.rb +10 -26
- data/lib/lithic/models/transaction_simulate_void_response.rb +3 -11
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/enhanced_commercial_data_retrieve_response.rb +2 -6
- data/lib/lithic/models/transactions/events/enhanced_commercial_data_retrieve_params.rb +3 -8
- data/lib/lithic/models/transactions/events/enhanced_data.rb +68 -192
- data/lib/lithic/models/transfer.rb +49 -160
- data/lib/lithic/models/transfer_create_params.rb +10 -23
- data/lib/lithic/models/verification_method.rb +2 -5
- data/lib/lithic/request_options.rb +3 -4
- data/lib/lithic/resources/account_holders.rb +10 -8
- data/lib/lithic/resources/cards.rb +16 -16
- data/lib/lithic/version.rb +1 -1
- data/lib/lithic.rb +8 -10
- data/rbi/lib/lithic/client.rbi +4 -4
- data/rbi/lib/lithic/internal/type/array_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/base_model.rbi +15 -0
- data/rbi/lib/lithic/internal/type/base_page.rbi +2 -0
- data/rbi/lib/lithic/internal/type/enum.rbi +3 -6
- data/rbi/lib/lithic/internal/type/hash_of.rbi +3 -0
- data/rbi/lib/lithic/internal/type/union.rbi +3 -0
- data/rbi/lib/lithic/internal.rbi +0 -1
- data/rbi/lib/lithic/models/account.rbi +2 -3
- data/rbi/lib/lithic/models/account_financial_account_type.rbi +1 -2
- data/rbi/lib/lithic/models/account_holder.rbi +10 -13
- data/rbi/lib/lithic/models/account_holder_create_params.rbi +6 -7
- data/rbi/lib/lithic/models/account_holder_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_document_review_params.rbi +2 -16
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_params.rbi +2 -10
- data/rbi/lib/lithic/models/account_holder_simulate_enrollment_review_response.rbi +10 -45
- data/rbi/lib/lithic/models/account_holder_update_params.rbi +4 -3
- data/rbi/lib/lithic/models/account_holder_update_response.rbi +10 -51
- data/rbi/lib/lithic/models/account_holder_upload_document_params.rbi +1 -2
- data/rbi/lib/lithic/models/account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance.rbi +1 -2
- data/rbi/lib/lithic/models/aggregate_balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/auth_rule_condition.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/conditional_attribute.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_apply_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_create_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_draft_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_list_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_promote_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_retrieve_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/v2_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/auth_rules/v2_update_response.rbi +2 -4
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params.rbi +2 -3
- data/rbi/lib/lithic/models/auth_rules/velocity_limit_params_period_window.rbi +1 -2
- data/rbi/lib/lithic/models/balance.rbi +1 -2
- data/rbi/lib/lithic/models/balance_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/book_transfer_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/book_transfer_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/book_transfer_response.rbi +5 -10
- data/rbi/lib/lithic/models/card_convert_physical_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_convert_physical_response.rbi +467 -0
- data/rbi/lib/lithic/models/card_create_params.rbi +3 -4
- data/rbi/lib/lithic/models/card_create_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_list_params.rbi +1 -1
- data/rbi/lib/lithic/models/card_list_response.rbi +435 -0
- data/rbi/lib/lithic/models/card_provision_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_reissue_response.rbi +458 -0
- data/rbi/lib/lithic/models/card_renew_params.rbi +1 -2
- data/rbi/lib/lithic/models/card_renew_response.rbi +457 -0
- data/rbi/lib/lithic/models/card_retrieve_response.rbi +459 -0
- data/rbi/lib/lithic/models/card_search_by_pan_response.rbi +461 -0
- data/rbi/lib/lithic/models/card_update_params.rbi +2 -3
- data/rbi/lib/lithic/models/card_update_response.rbi +458 -0
- data/rbi/lib/lithic/models/cards/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/cards/financial_transaction_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/digital_card_art.rbi +1 -2
- data/rbi/lib/lithic/models/dispute.rbi +3 -11
- data/rbi/lib/lithic/models/dispute_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_evidence.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/dispute_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/document.rbi +4 -7
- data/rbi/lib/lithic/models/event.rbi +1 -1
- data/rbi/lib/lithic/models/event_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/event_subscription.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_list_attempts_params.rbi +1 -2
- data/rbi/lib/lithic/models/events/subscription_send_simulated_example_params.rbi +1 -8
- data/rbi/lib/lithic/models/events/subscription_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_create_params.rbi +2 -4
- data/rbi/lib/lithic/models/external_bank_account_create_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_bank_account_list_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_account_retrieve_response.rbi +5 -22
- data/rbi/lib/lithic/models/external_bank_account_retry_micro_deposits_response.rbi +5 -28
- data/rbi/lib/lithic/models/external_bank_account_retry_prenote_response.rbi +3 -12
- data/rbi/lib/lithic/models/external_bank_account_update_params.rbi +1 -2
- data/rbi/lib/lithic/models/external_bank_account_update_response.rbi +5 -10
- data/rbi/lib/lithic/models/external_bank_accounts/micro_deposit_create_response.rbi +5 -40
- data/rbi/lib/lithic/models/external_payment.rbi +7 -12
- data/rbi/lib/lithic/models/external_payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/external_payment_settle_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account.rbi +7 -20
- data/rbi/lib/lithic/models/financial_account_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/financial_account_update_status_params.rbi +2 -4
- data/rbi/lib/lithic/models/financial_accounts/balance_list_response.rbi +1 -2
- data/rbi/lib/lithic/models/financial_accounts/financial_account_credit_config.rbi +2 -16
- data/rbi/lib/lithic/models/financial_accounts/financial_transaction_list_params.rbi +3 -24
- data/rbi/lib/lithic/models/financial_accounts/loan_tape.rbi +4 -32
- data/rbi/lib/lithic/models/financial_accounts/statement.rbi +5 -34
- data/rbi/lib/lithic/models/financial_accounts/statements/statement_line_items.rbi +12 -16
- data/rbi/lib/lithic/models/financial_transaction.rbi +7 -10
- data/rbi/lib/lithic/models/instance_financial_account_type.rbi +4 -2
- data/rbi/lib/lithic/models/kyb.rbi +5 -4
- data/rbi/lib/lithic/models/kyc.rbi +1 -1
- data/rbi/lib/lithic/models/kyc_exempt.rbi +2 -3
- data/rbi/lib/lithic/models/management_operation_create_params.rbi +22 -16
- data/rbi/lib/lithic/models/management_operation_list_params.rbi +4 -4
- data/rbi/lib/lithic/models/management_operation_transaction.rbi +26 -24
- data/rbi/lib/lithic/models/message_attempt.rbi +1 -1
- data/rbi/lib/lithic/models/owner_type.rbi +1 -1
- data/rbi/lib/lithic/models/payment.rbi +10 -12
- data/rbi/lib/lithic/models/payment_create_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_list_params.rbi +3 -6
- data/rbi/lib/lithic/models/payment_simulate_action_params.rbi +2 -4
- data/rbi/lib/lithic/models/payment_simulate_action_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_receipt_params.rbi +2 -3
- data/rbi/lib/lithic/models/payment_simulate_receipt_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_release_response.rbi +1 -2
- data/rbi/lib/lithic/models/payment_simulate_return_response.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/reports/settlement/network_total_list_response.rbi +1 -8
- data/rbi/lib/lithic/models/reports/settlement/network_total_retrieve_response.rbi +1 -8
- data/rbi/lib/lithic/models/responder_endpoint_check_status_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_create_params.rbi +1 -2
- data/rbi/lib/lithic/models/responder_endpoint_delete_params.rbi +1 -2
- data/rbi/lib/lithic/models/settlement_detail.rbi +2 -3
- data/rbi/lib/lithic/models/settlement_summary_details.rbi +1 -2
- data/rbi/lib/lithic/models/spend_limit_duration.rbi +1 -1
- data/rbi/lib/lithic/models/three_ds/authentication_retrieve_response.rbi +17 -124
- data/rbi/lib/lithic/models/three_ds/authentication_simulate_params.rbi +1 -8
- data/rbi/lib/lithic/models/three_ds/challenge_result.rbi +1 -1
- data/rbi/lib/lithic/models/tokenization.rbi +5 -9
- data/rbi/lib/lithic/models/tokenization_list_params.rbi +1 -2
- data/rbi/lib/lithic/models/tokenization_resend_activation_code_params.rbi +1 -8
- data/rbi/lib/lithic/models/tokenization_simulate_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction.rbi +184 -68
- data/rbi/lib/lithic/models/transaction_list_params.rbi +2 -4
- data/rbi/lib/lithic/models/transaction_simulate_authorization_params.rbi +1 -2
- data/rbi/lib/lithic/models/transaction_simulate_void_params.rbi +1 -2
- data/rbi/lib/lithic/models/transactions/events/enhanced_data.rbi +4 -26
- data/rbi/lib/lithic/models/transfer.rbi +7 -5
- data/rbi/lib/lithic/models/verification_method.rbi +1 -1
- data/rbi/lib/lithic/resources/account_holders.rbi +18 -14
- data/rbi/lib/lithic/resources/cards.rbi +8 -8
- data/rbi/lib/lithic/resources/payments.rbi +1 -1
- data/sig/lithic/internal/type/array_of.rbs +2 -0
- data/sig/lithic/internal/type/base_model.rbs +10 -0
- data/sig/lithic/internal/type/enum.rbs +2 -2
- data/sig/lithic/internal/type/hash_of.rbs +2 -0
- data/sig/lithic/internal/type/union.rbs +2 -0
- data/sig/lithic/models/card_convert_physical_response.rbs +257 -0
- data/sig/lithic/models/card_create_response.rbs +257 -0
- data/sig/lithic/models/card_list_response.rbs +245 -0
- data/sig/lithic/models/card_reissue_response.rbs +257 -0
- data/sig/lithic/models/{card.rbs → card_renew_response.rbs} +45 -30
- data/sig/lithic/models/card_retrieve_response.rbs +257 -0
- data/sig/lithic/models/card_search_by_pan_response.rbs +257 -0
- data/sig/lithic/models/card_update_response.rbs +257 -0
- data/sig/lithic/models/dispute.rbs +0 -4
- data/sig/lithic/models/financial_account.rbs +4 -0
- data/sig/lithic/models/financial_accounts/statements/statement_line_items.rbs +4 -0
- data/sig/lithic/models/financial_transaction.rbs +2 -0
- data/sig/lithic/models/instance_financial_account_type.rbs +4 -0
- data/sig/lithic/models/management_operation_create_params.rbs +23 -13
- data/sig/lithic/models/management_operation_list_params.rbs +2 -0
- data/sig/lithic/models/management_operation_transaction.rbs +23 -13
- data/sig/lithic/models/transaction.rbs +87 -4
- data/sig/lithic/models/transfer.rbs +2 -0
- data/sig/lithic/resources/cards.rbs +8 -8
- metadata +26 -5
- data/lib/lithic/models/card.rb +0 -524
- data/rbi/lib/lithic/models/card.rbi +0 -487
@@ -6,158 +6,93 @@ module Lithic
|
|
6
6
|
module Settlement
|
7
7
|
# @see Lithic::Resources::Reports::Settlement::NetworkTotals#list
|
8
8
|
class NetworkTotalListParams < Lithic::Internal::Type::BaseModel
|
9
|
-
|
10
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
11
10
|
include Lithic::Internal::Type::RequestParameters
|
12
11
|
|
13
|
-
# @!attribute
|
12
|
+
# @!attribute begin_
|
14
13
|
# Datetime in RFC 3339 format. Only entries created after the specified time will
|
15
14
|
# be included. UTC time zone.
|
16
15
|
#
|
17
16
|
# @return [Time, nil]
|
18
17
|
optional :begin_, Time
|
19
18
|
|
20
|
-
# @!
|
21
|
-
# # @return [Time]
|
22
|
-
# attr_writer :begin_
|
23
|
-
|
24
|
-
# @!attribute [r] end_
|
19
|
+
# @!attribute end_
|
25
20
|
# Datetime in RFC 3339 format. Only entries created before the specified time will
|
26
21
|
# be included. UTC time zone.
|
27
22
|
#
|
28
23
|
# @return [Time, nil]
|
29
24
|
optional :end_, Time
|
30
25
|
|
31
|
-
# @!
|
32
|
-
# # @return [Time]
|
33
|
-
# attr_writer :end_
|
34
|
-
|
35
|
-
# @!attribute [r] ending_before
|
26
|
+
# @!attribute ending_before
|
36
27
|
# A cursor representing an item's token before which a page of results should end.
|
37
28
|
# Used to retrieve the previous page of results before this item.
|
38
29
|
#
|
39
30
|
# @return [String, nil]
|
40
31
|
optional :ending_before, String
|
41
32
|
|
42
|
-
# @!
|
43
|
-
# # @return [String]
|
44
|
-
# attr_writer :ending_before
|
45
|
-
|
46
|
-
# @!attribute [r] institution_id
|
33
|
+
# @!attribute institution_id
|
47
34
|
# Institution ID to filter on.
|
48
35
|
#
|
49
36
|
# @return [String, nil]
|
50
37
|
optional :institution_id, String
|
51
38
|
|
52
|
-
# @!
|
53
|
-
# # @return [String]
|
54
|
-
# attr_writer :institution_id
|
55
|
-
|
56
|
-
# @!attribute [r] network
|
39
|
+
# @!attribute network
|
57
40
|
# Network to filter on.
|
58
41
|
#
|
59
42
|
# @return [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListParams::Network, nil]
|
60
43
|
optional :network, enum: -> { Lithic::Models::Reports::Settlement::NetworkTotalListParams::Network }
|
61
44
|
|
62
|
-
# @!
|
63
|
-
# # @return [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListParams::Network]
|
64
|
-
# attr_writer :network
|
65
|
-
|
66
|
-
# @!attribute [r] page_size
|
45
|
+
# @!attribute page_size
|
67
46
|
# Number of records per page.
|
68
47
|
#
|
69
48
|
# @return [Integer, nil]
|
70
49
|
optional :page_size, Integer
|
71
50
|
|
72
|
-
# @!
|
73
|
-
# # @return [Integer]
|
74
|
-
# attr_writer :page_size
|
75
|
-
|
76
|
-
# @!attribute [r] report_date
|
51
|
+
# @!attribute report_date
|
77
52
|
# Singular report date to filter on (YYYY-MM-DD). Cannot be populated in
|
78
53
|
# conjunction with report_date_begin or report_date_end.
|
79
54
|
#
|
80
55
|
# @return [Date, nil]
|
81
56
|
optional :report_date, Date
|
82
57
|
|
83
|
-
# @!
|
84
|
-
# # @return [Date]
|
85
|
-
# attr_writer :report_date
|
86
|
-
|
87
|
-
# @!attribute [r] report_date_begin
|
58
|
+
# @!attribute report_date_begin
|
88
59
|
# Earliest report date to filter on, inclusive (YYYY-MM-DD).
|
89
60
|
#
|
90
61
|
# @return [Date, nil]
|
91
62
|
optional :report_date_begin, Date
|
92
63
|
|
93
|
-
# @!
|
94
|
-
# # @return [Date]
|
95
|
-
# attr_writer :report_date_begin
|
96
|
-
|
97
|
-
# @!attribute [r] report_date_end
|
64
|
+
# @!attribute report_date_end
|
98
65
|
# Latest report date to filter on, inclusive (YYYY-MM-DD).
|
99
66
|
#
|
100
67
|
# @return [Date, nil]
|
101
68
|
optional :report_date_end, Date
|
102
69
|
|
103
|
-
# @!
|
104
|
-
# # @return [Date]
|
105
|
-
# attr_writer :report_date_end
|
106
|
-
|
107
|
-
# @!attribute [r] settlement_institution_id
|
70
|
+
# @!attribute settlement_institution_id
|
108
71
|
# Settlement institution ID to filter on.
|
109
72
|
#
|
110
73
|
# @return [String, nil]
|
111
74
|
optional :settlement_institution_id, String
|
112
75
|
|
113
|
-
# @!
|
114
|
-
# # @return [String]
|
115
|
-
# attr_writer :settlement_institution_id
|
116
|
-
|
117
|
-
# @!attribute [r] starting_after
|
76
|
+
# @!attribute starting_after
|
118
77
|
# A cursor representing an item's token after which a page of results should
|
119
78
|
# begin. Used to retrieve the next page of results after this item.
|
120
79
|
#
|
121
80
|
# @return [String, nil]
|
122
81
|
optional :starting_after, String
|
123
82
|
|
124
|
-
# @!
|
125
|
-
#
|
126
|
-
#
|
127
|
-
|
128
|
-
#
|
129
|
-
#
|
130
|
-
#
|
131
|
-
#
|
132
|
-
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
# # @param report_date_end [Date]
|
138
|
-
# # @param settlement_institution_id [String]
|
139
|
-
# # @param starting_after [String]
|
140
|
-
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
141
|
-
# #
|
142
|
-
# def initialize(
|
143
|
-
# begin_: nil,
|
144
|
-
# end_: nil,
|
145
|
-
# ending_before: nil,
|
146
|
-
# institution_id: nil,
|
147
|
-
# network: nil,
|
148
|
-
# page_size: nil,
|
149
|
-
# report_date: nil,
|
150
|
-
# report_date_begin: nil,
|
151
|
-
# report_date_end: nil,
|
152
|
-
# settlement_institution_id: nil,
|
153
|
-
# starting_after: nil,
|
154
|
-
# request_options: {},
|
155
|
-
# **
|
156
|
-
# )
|
157
|
-
# super
|
158
|
-
# end
|
159
|
-
|
160
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
83
|
+
# @!method initialize(begin_: nil, end_: nil, ending_before: nil, institution_id: nil, network: nil, page_size: nil, report_date: nil, report_date_begin: nil, report_date_end: nil, settlement_institution_id: nil, starting_after: nil, request_options: {})
|
84
|
+
# @param begin_ [Time]
|
85
|
+
# @param end_ [Time]
|
86
|
+
# @param ending_before [String]
|
87
|
+
# @param institution_id [String]
|
88
|
+
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListParams::Network]
|
89
|
+
# @param page_size [Integer]
|
90
|
+
# @param report_date [Date]
|
91
|
+
# @param report_date_begin [Date]
|
92
|
+
# @param report_date_end [Date]
|
93
|
+
# @param settlement_institution_id [String]
|
94
|
+
# @param starting_after [String]
|
95
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
161
96
|
|
162
97
|
# Network to filter on.
|
163
98
|
module Network
|
@@ -168,11 +103,8 @@ module Lithic
|
|
168
103
|
MAESTRO = :MAESTRO
|
169
104
|
INTERLINK = :INTERLINK
|
170
105
|
|
171
|
-
|
172
|
-
|
173
|
-
# @!parse
|
174
|
-
# # @return [Array<Symbol>]
|
175
|
-
# def self.values; end
|
106
|
+
# @!method self.values
|
107
|
+
# @return [Array<Symbol>]
|
176
108
|
end
|
177
109
|
end
|
178
110
|
end
|
@@ -70,47 +70,24 @@ module Lithic
|
|
70
70
|
# @return [Time]
|
71
71
|
required :updated, Time
|
72
72
|
|
73
|
-
# @!attribute
|
73
|
+
# @!attribute cycle
|
74
74
|
# The clearing cycle that the network total record applies to. Mastercard only.
|
75
75
|
#
|
76
76
|
# @return [Integer, nil]
|
77
77
|
optional :cycle, Integer
|
78
78
|
|
79
|
-
# @!
|
80
|
-
#
|
81
|
-
#
|
82
|
-
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
# # @param settlement_institution_id [String]
|
92
|
-
# # @param settlement_service [String]
|
93
|
-
# # @param updated [Time]
|
94
|
-
# # @param cycle [Integer]
|
95
|
-
# #
|
96
|
-
# def initialize(
|
97
|
-
# token:,
|
98
|
-
# amounts:,
|
99
|
-
# created:,
|
100
|
-
# currency:,
|
101
|
-
# institution_id:,
|
102
|
-
# network:,
|
103
|
-
# report_date:,
|
104
|
-
# settlement_institution_id:,
|
105
|
-
# settlement_service:,
|
106
|
-
# updated:,
|
107
|
-
# cycle: nil,
|
108
|
-
# **
|
109
|
-
# )
|
110
|
-
# super
|
111
|
-
# end
|
112
|
-
|
113
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
79
|
+
# @!method initialize(token:, amounts:, created:, currency:, institution_id:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
|
80
|
+
# @param token [String]
|
81
|
+
# @param amounts [Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Amounts]
|
82
|
+
# @param created [Time]
|
83
|
+
# @param currency [String]
|
84
|
+
# @param institution_id [String]
|
85
|
+
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalListResponse::Network]
|
86
|
+
# @param report_date [Date]
|
87
|
+
# @param settlement_institution_id [String]
|
88
|
+
# @param settlement_service [String]
|
89
|
+
# @param updated [Time]
|
90
|
+
# @param cycle [Integer]
|
114
91
|
|
115
92
|
# @see Lithic::Models::Reports::Settlement::NetworkTotalListResponse#amounts
|
116
93
|
class Amounts < Lithic::Internal::Type::BaseModel
|
@@ -133,25 +110,17 @@ module Lithic
|
|
133
110
|
# @return [Integer]
|
134
111
|
required :net_settlement, Integer
|
135
112
|
|
136
|
-
# @!attribute
|
113
|
+
# @!attribute visa_charges
|
137
114
|
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
138
115
|
#
|
139
116
|
# @return [Integer, nil]
|
140
117
|
optional :visa_charges, Integer
|
141
118
|
|
142
|
-
# @!
|
143
|
-
#
|
144
|
-
#
|
145
|
-
|
146
|
-
#
|
147
|
-
# # @param gross_settlement [Integer]
|
148
|
-
# # @param interchange_fees [Integer]
|
149
|
-
# # @param net_settlement [Integer]
|
150
|
-
# # @param visa_charges [Integer]
|
151
|
-
# #
|
152
|
-
# def initialize(gross_settlement:, interchange_fees:, net_settlement:, visa_charges: nil, **) = super
|
153
|
-
|
154
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
119
|
+
# @!method initialize(gross_settlement:, interchange_fees:, net_settlement:, visa_charges: nil)
|
120
|
+
# @param gross_settlement [Integer]
|
121
|
+
# @param interchange_fees [Integer]
|
122
|
+
# @param net_settlement [Integer]
|
123
|
+
# @param visa_charges [Integer]
|
155
124
|
end
|
156
125
|
|
157
126
|
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
|
@@ -166,11 +135,8 @@ module Lithic
|
|
166
135
|
MAESTRO = :MAESTRO
|
167
136
|
INTERLINK = :INTERLINK
|
168
137
|
|
169
|
-
|
170
|
-
|
171
|
-
# @!parse
|
172
|
-
# # @return [Array<Symbol>]
|
173
|
-
# def self.values; end
|
138
|
+
# @!method self.values
|
139
|
+
# @return [Array<Symbol>]
|
174
140
|
end
|
175
141
|
end
|
176
142
|
end
|
@@ -6,16 +6,11 @@ module Lithic
|
|
6
6
|
module Settlement
|
7
7
|
# @see Lithic::Resources::Reports::Settlement::NetworkTotals#retrieve
|
8
8
|
class NetworkTotalRetrieveParams < Lithic::Internal::Type::BaseModel
|
9
|
-
|
10
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
9
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
11
10
|
include Lithic::Internal::Type::RequestParameters
|
12
11
|
|
13
|
-
# @!
|
14
|
-
#
|
15
|
-
# #
|
16
|
-
# def initialize(request_options: {}, **) = super
|
17
|
-
|
18
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
12
|
+
# @!method initialize(request_options: {})
|
13
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
19
14
|
end
|
20
15
|
end
|
21
16
|
end
|
@@ -70,47 +70,24 @@ module Lithic
|
|
70
70
|
# @return [Time]
|
71
71
|
required :updated, Time
|
72
72
|
|
73
|
-
# @!attribute
|
73
|
+
# @!attribute cycle
|
74
74
|
# The clearing cycle that the network total record applies to. Mastercard only.
|
75
75
|
#
|
76
76
|
# @return [Integer, nil]
|
77
77
|
optional :cycle, Integer
|
78
78
|
|
79
|
-
# @!
|
80
|
-
#
|
81
|
-
#
|
82
|
-
|
83
|
-
#
|
84
|
-
#
|
85
|
-
#
|
86
|
-
#
|
87
|
-
#
|
88
|
-
#
|
89
|
-
#
|
90
|
-
#
|
91
|
-
# # @param settlement_institution_id [String]
|
92
|
-
# # @param settlement_service [String]
|
93
|
-
# # @param updated [Time]
|
94
|
-
# # @param cycle [Integer]
|
95
|
-
# #
|
96
|
-
# def initialize(
|
97
|
-
# token:,
|
98
|
-
# amounts:,
|
99
|
-
# created:,
|
100
|
-
# currency:,
|
101
|
-
# institution_id:,
|
102
|
-
# network:,
|
103
|
-
# report_date:,
|
104
|
-
# settlement_institution_id:,
|
105
|
-
# settlement_service:,
|
106
|
-
# updated:,
|
107
|
-
# cycle: nil,
|
108
|
-
# **
|
109
|
-
# )
|
110
|
-
# super
|
111
|
-
# end
|
112
|
-
|
113
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
79
|
+
# @!method initialize(token:, amounts:, created:, currency:, institution_id:, network:, report_date:, settlement_institution_id:, settlement_service:, updated:, cycle: nil)
|
80
|
+
# @param token [String]
|
81
|
+
# @param amounts [Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Amounts]
|
82
|
+
# @param created [Time]
|
83
|
+
# @param currency [String]
|
84
|
+
# @param institution_id [String]
|
85
|
+
# @param network [Symbol, Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse::Network]
|
86
|
+
# @param report_date [Date]
|
87
|
+
# @param settlement_institution_id [String]
|
88
|
+
# @param settlement_service [String]
|
89
|
+
# @param updated [Time]
|
90
|
+
# @param cycle [Integer]
|
114
91
|
|
115
92
|
# @see Lithic::Models::Reports::Settlement::NetworkTotalRetrieveResponse#amounts
|
116
93
|
class Amounts < Lithic::Internal::Type::BaseModel
|
@@ -133,25 +110,17 @@ module Lithic
|
|
133
110
|
# @return [Integer]
|
134
111
|
required :net_settlement, Integer
|
135
112
|
|
136
|
-
# @!attribute
|
113
|
+
# @!attribute visa_charges
|
137
114
|
# Charges specific to Visa/Interlink, in currency's smallest unit.
|
138
115
|
#
|
139
116
|
# @return [Integer, nil]
|
140
117
|
optional :visa_charges, Integer
|
141
118
|
|
142
|
-
# @!
|
143
|
-
#
|
144
|
-
#
|
145
|
-
|
146
|
-
#
|
147
|
-
# # @param gross_settlement [Integer]
|
148
|
-
# # @param interchange_fees [Integer]
|
149
|
-
# # @param net_settlement [Integer]
|
150
|
-
# # @param visa_charges [Integer]
|
151
|
-
# #
|
152
|
-
# def initialize(gross_settlement:, interchange_fees:, net_settlement:, visa_charges: nil, **) = super
|
153
|
-
|
154
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
119
|
+
# @!method initialize(gross_settlement:, interchange_fees:, net_settlement:, visa_charges: nil)
|
120
|
+
# @param gross_settlement [Integer]
|
121
|
+
# @param interchange_fees [Integer]
|
122
|
+
# @param net_settlement [Integer]
|
123
|
+
# @param visa_charges [Integer]
|
155
124
|
end
|
156
125
|
|
157
126
|
# Card network where the transaction took place. VISA, MASTERCARD, MAESTRO, or
|
@@ -166,11 +135,8 @@ module Lithic
|
|
166
135
|
MAESTRO = :MAESTRO
|
167
136
|
INTERLINK = :INTERLINK
|
168
137
|
|
169
|
-
|
170
|
-
|
171
|
-
# @!parse
|
172
|
-
# # @return [Array<Symbol>]
|
173
|
-
# def self.values; end
|
138
|
+
# @!method self.values
|
139
|
+
# @return [Array<Symbol>]
|
174
140
|
end
|
175
141
|
end
|
176
142
|
end
|
@@ -5,51 +5,34 @@ module Lithic
|
|
5
5
|
module Reports
|
6
6
|
# @see Lithic::Resources::Reports::Settlement#list_details
|
7
7
|
class SettlementListDetailsParams < Lithic::Internal::Type::BaseModel
|
8
|
-
|
9
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
10
9
|
include Lithic::Internal::Type::RequestParameters
|
11
10
|
|
12
|
-
# @!attribute
|
11
|
+
# @!attribute ending_before
|
13
12
|
# A cursor representing an item's token before which a page of results should end.
|
14
13
|
# Used to retrieve the previous page of results before this item.
|
15
14
|
#
|
16
15
|
# @return [String, nil]
|
17
16
|
optional :ending_before, String
|
18
17
|
|
19
|
-
# @!
|
20
|
-
# # @return [String]
|
21
|
-
# attr_writer :ending_before
|
22
|
-
|
23
|
-
# @!attribute [r] page_size
|
18
|
+
# @!attribute page_size
|
24
19
|
# Page size (for pagination).
|
25
20
|
#
|
26
21
|
# @return [Integer, nil]
|
27
22
|
optional :page_size, Integer
|
28
23
|
|
29
|
-
# @!
|
30
|
-
# # @return [Integer]
|
31
|
-
# attr_writer :page_size
|
32
|
-
|
33
|
-
# @!attribute [r] starting_after
|
24
|
+
# @!attribute starting_after
|
34
25
|
# A cursor representing an item's token after which a page of results should
|
35
26
|
# begin. Used to retrieve the next page of results after this item.
|
36
27
|
#
|
37
28
|
# @return [String, nil]
|
38
29
|
optional :starting_after, String
|
39
30
|
|
40
|
-
# @!
|
41
|
-
#
|
42
|
-
#
|
43
|
-
|
44
|
-
#
|
45
|
-
# # @param ending_before [String]
|
46
|
-
# # @param page_size [Integer]
|
47
|
-
# # @param starting_after [String]
|
48
|
-
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
49
|
-
# #
|
50
|
-
# def initialize(ending_before: nil, page_size: nil, starting_after: nil, request_options: {}, **) = super
|
51
|
-
|
52
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
31
|
+
# @!method initialize(ending_before: nil, page_size: nil, starting_after: nil, request_options: {})
|
32
|
+
# @param ending_before [String]
|
33
|
+
# @param page_size [Integer]
|
34
|
+
# @param starting_after [String]
|
35
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
53
36
|
end
|
54
37
|
end
|
55
38
|
end
|
@@ -5,16 +5,11 @@ module Lithic
|
|
5
5
|
module Reports
|
6
6
|
# @see Lithic::Resources::Reports::Settlement#summary
|
7
7
|
class SettlementSummaryParams < Lithic::Internal::Type::BaseModel
|
8
|
-
|
9
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
8
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
10
9
|
include Lithic::Internal::Type::RequestParameters
|
11
10
|
|
12
|
-
# @!
|
13
|
-
#
|
14
|
-
# #
|
15
|
-
# def initialize(request_options: {}, **) = super
|
16
|
-
|
17
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
11
|
+
# @!method initialize(request_options: {})
|
12
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
18
13
|
end
|
19
14
|
end
|
20
15
|
end
|
@@ -23,14 +23,10 @@ module Lithic
|
|
23
23
|
# @return [Array<String>]
|
24
24
|
required :valid_documents, Lithic::Internal::Type::ArrayOf[String]
|
25
25
|
|
26
|
-
# @!
|
27
|
-
#
|
28
|
-
#
|
29
|
-
#
|
30
|
-
# #
|
31
|
-
# def initialize(entity_token:, status_reasons:, valid_documents:, **) = super
|
32
|
-
|
33
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
26
|
+
# @!method initialize(entity_token:, status_reasons:, valid_documents:)
|
27
|
+
# @param entity_token [String]
|
28
|
+
# @param status_reasons [Array<String>]
|
29
|
+
# @param valid_documents [Array<String>]
|
34
30
|
end
|
35
31
|
end
|
36
32
|
end
|
@@ -4,8 +4,7 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ResponderEndpoints#check_status
|
6
6
|
class ResponderEndpointCheckStatusParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
10
|
# @!attribute type
|
@@ -14,13 +13,9 @@ module Lithic
|
|
14
13
|
# @return [Symbol, Lithic::Models::ResponderEndpointCheckStatusParams::Type]
|
15
14
|
required :type, enum: -> { Lithic::Models::ResponderEndpointCheckStatusParams::Type }
|
16
15
|
|
17
|
-
# @!
|
18
|
-
#
|
19
|
-
#
|
20
|
-
# #
|
21
|
-
# def initialize(type:, request_options: {}, **) = super
|
22
|
-
|
23
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
16
|
+
# @!method initialize(type:, request_options: {})
|
17
|
+
# @param type [Symbol, Lithic::Models::ResponderEndpointCheckStatusParams::Type]
|
18
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
24
19
|
|
25
20
|
# The type of the endpoint.
|
26
21
|
module Type
|
@@ -30,11 +25,8 @@ module Lithic
|
|
30
25
|
THREE_DS_DECISIONING = :THREE_DS_DECISIONING
|
31
26
|
TOKENIZATION_DECISIONING = :TOKENIZATION_DECISIONING
|
32
27
|
|
33
|
-
|
34
|
-
|
35
|
-
# @!parse
|
36
|
-
# # @return [Array<Symbol>]
|
37
|
-
# def self.values; end
|
28
|
+
# @!method self.values
|
29
|
+
# @return [Array<Symbol>]
|
38
30
|
end
|
39
31
|
end
|
40
32
|
end
|
@@ -4,38 +4,25 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ResponderEndpoints#create
|
6
6
|
class ResponderEndpointCreateParams < Lithic::Internal::Type::BaseModel
|
7
|
-
|
8
|
-
# extend Lithic::Internal::Type::RequestParameters::Converter
|
7
|
+
extend Lithic::Internal::Type::RequestParameters::Converter
|
9
8
|
include Lithic::Internal::Type::RequestParameters
|
10
9
|
|
11
|
-
# @!attribute
|
10
|
+
# @!attribute type
|
12
11
|
# The type of the endpoint.
|
13
12
|
#
|
14
13
|
# @return [Symbol, Lithic::Models::ResponderEndpointCreateParams::Type, nil]
|
15
14
|
optional :type, enum: -> { Lithic::Models::ResponderEndpointCreateParams::Type }
|
16
15
|
|
17
|
-
# @!
|
18
|
-
# # @return [Symbol, Lithic::Models::ResponderEndpointCreateParams::Type]
|
19
|
-
# attr_writer :type
|
20
|
-
|
21
|
-
# @!attribute [r] url
|
16
|
+
# @!attribute url
|
22
17
|
# The URL for the responder endpoint (must be http(s)).
|
23
18
|
#
|
24
19
|
# @return [String, nil]
|
25
20
|
optional :url, String
|
26
21
|
|
27
|
-
# @!
|
28
|
-
#
|
29
|
-
#
|
30
|
-
|
31
|
-
# @!parse
|
32
|
-
# # @param type [Symbol, Lithic::Models::ResponderEndpointCreateParams::Type]
|
33
|
-
# # @param url [String]
|
34
|
-
# # @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
35
|
-
# #
|
36
|
-
# def initialize(type: nil, url: nil, request_options: {}, **) = super
|
37
|
-
|
38
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
22
|
+
# @!method initialize(type: nil, url: nil, request_options: {})
|
23
|
+
# @param type [Symbol, Lithic::Models::ResponderEndpointCreateParams::Type]
|
24
|
+
# @param url [String]
|
25
|
+
# @param request_options [Lithic::RequestOptions, Hash{Symbol=>Object}]
|
39
26
|
|
40
27
|
# The type of the endpoint.
|
41
28
|
module Type
|
@@ -45,11 +32,8 @@ module Lithic
|
|
45
32
|
THREE_DS_DECISIONING = :THREE_DS_DECISIONING
|
46
33
|
TOKENIZATION_DECISIONING = :TOKENIZATION_DECISIONING
|
47
34
|
|
48
|
-
|
49
|
-
|
50
|
-
# @!parse
|
51
|
-
# # @return [Array<Symbol>]
|
52
|
-
# def self.values; end
|
35
|
+
# @!method self.values
|
36
|
+
# @return [Array<Symbol>]
|
53
37
|
end
|
54
38
|
end
|
55
39
|
end
|
@@ -4,22 +4,14 @@ module Lithic
|
|
4
4
|
module Models
|
5
5
|
# @see Lithic::Resources::ResponderEndpoints#create
|
6
6
|
class ResponderEndpointCreateResponse < Lithic::Internal::Type::BaseModel
|
7
|
-
# @!attribute
|
7
|
+
# @!attribute enrolled
|
8
8
|
# True if the endpoint was enrolled successfully.
|
9
9
|
#
|
10
10
|
# @return [Boolean, nil]
|
11
11
|
optional :enrolled, Lithic::Internal::Type::Boolean
|
12
12
|
|
13
|
-
# @!
|
14
|
-
#
|
15
|
-
# attr_writer :enrolled
|
16
|
-
|
17
|
-
# @!parse
|
18
|
-
# # @param enrolled [Boolean]
|
19
|
-
# #
|
20
|
-
# def initialize(enrolled: nil, **) = super
|
21
|
-
|
22
|
-
# def initialize: (Hash | Lithic::Internal::Type::BaseModel) -> void
|
13
|
+
# @!method initialize(enrolled: nil)
|
14
|
+
# @param enrolled [Boolean]
|
23
15
|
end
|
24
16
|
end
|
25
17
|
end
|