increase 0.3.2 → 1.0.0
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/.ignore +2 -0
- data/CHANGELOG.md +807 -56
- data/README.md +213 -254
- data/SECURITY.md +3 -0
- data/lib/increase/client.rb +287 -43
- data/lib/increase/errors.rb +223 -63
- data/lib/increase/file_part.rb +55 -0
- data/lib/increase/internal/page.rb +86 -0
- data/lib/increase/internal/transport/base_client.rb +555 -0
- data/lib/increase/internal/transport/pooled_net_requester.rb +209 -0
- data/lib/increase/internal/type/array_of.rb +162 -0
- data/lib/increase/internal/type/base_model.rb +484 -0
- data/lib/increase/internal/type/base_page.rb +55 -0
- data/lib/increase/internal/type/boolean.rb +71 -0
- data/lib/increase/internal/type/converter.rb +292 -0
- data/lib/increase/internal/type/enum.rb +123 -0
- data/lib/increase/internal/type/file_input.rb +103 -0
- data/lib/increase/internal/type/hash_of.rb +182 -0
- data/lib/increase/internal/type/request_parameters.rb +42 -0
- data/lib/increase/internal/type/union.rb +230 -0
- data/lib/increase/internal/type/unknown.rb +75 -0
- data/lib/increase/internal/util.rb +914 -0
- data/lib/increase/internal.rb +20 -0
- data/lib/increase/models/account.rb +224 -0
- data/lib/increase/models/account_balance_params.rb +22 -0
- data/lib/increase/models/account_close_params.rb +14 -0
- data/lib/increase/models/account_create_params.rb +51 -0
- data/lib/increase/models/account_list_params.rb +155 -0
- data/lib/increase/models/account_number.rb +209 -0
- data/lib/increase/models/account_number_create_params.rb +121 -0
- data/lib/increase/models/account_number_list_params.rb +183 -0
- data/lib/increase/models/account_number_retrieve_params.rb +14 -0
- data/lib/increase/models/account_number_update_params.rb +131 -0
- data/lib/increase/models/account_retrieve_params.rb +14 -0
- data/lib/increase/models/account_statement.rb +105 -0
- data/lib/increase/models/account_statement_list_params.rb +92 -0
- data/lib/increase/models/account_statement_retrieve_params.rb +14 -0
- data/lib/increase/models/account_transfer.rb +389 -0
- data/lib/increase/models/account_transfer_approve_params.rb +14 -0
- data/lib/increase/models/account_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/account_transfer_create_params.rb +58 -0
- data/lib/increase/models/account_transfer_list_params.rb +102 -0
- data/lib/increase/models/account_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/account_update_params.rb +22 -0
- data/lib/increase/models/ach_prenotification.rb +562 -0
- data/lib/increase/models/ach_prenotification_create_params.rb +160 -0
- data/lib/increase/models/ach_prenotification_list_params.rb +94 -0
- data/lib/increase/models/ach_prenotification_retrieve_params.rb +14 -0
- data/lib/increase/models/ach_transfer.rb +1481 -0
- data/lib/increase/models/ach_transfer_approve_params.rb +14 -0
- data/lib/increase/models/ach_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/ach_transfer_create_params.rb +430 -0
- data/lib/increase/models/ach_transfer_list_params.rb +168 -0
- data/lib/increase/models/ach_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/balance_lookup.rb +63 -0
- data/lib/increase/models/bookkeeping_account.rb +104 -0
- data/lib/increase/models/bookkeeping_account_balance_params.rb +22 -0
- data/lib/increase/models/bookkeeping_account_create_params.rb +60 -0
- data/lib/increase/models/bookkeeping_account_list_params.rb +45 -0
- data/lib/increase/models/bookkeeping_account_update_params.rb +22 -0
- data/lib/increase/models/bookkeeping_balance_lookup.rb +54 -0
- data/lib/increase/models/bookkeeping_entry.rb +79 -0
- data/lib/increase/models/bookkeeping_entry_list_params.rb +42 -0
- data/lib/increase/models/bookkeeping_entry_retrieve_params.rb +14 -0
- data/lib/increase/models/bookkeeping_entry_set.rb +116 -0
- data/lib/increase/models/bookkeeping_entry_set_create_params.rb +67 -0
- data/lib/increase/models/bookkeeping_entry_set_list_params.rb +53 -0
- data/lib/increase/models/bookkeeping_entry_set_retrieve_params.rb +14 -0
- data/lib/increase/models/card.rb +243 -0
- data/lib/increase/models/card_create_params.rb +145 -0
- data/lib/increase/models/card_details.rb +78 -0
- data/lib/increase/models/card_details_params.rb +14 -0
- data/lib/increase/models/card_dispute.rb +302 -0
- data/lib/increase/models/card_dispute_create_params.rb +45 -0
- data/lib/increase/models/card_dispute_list_params.rb +144 -0
- data/lib/increase/models/card_dispute_retrieve_params.rb +14 -0
- data/lib/increase/models/card_list_params.rb +142 -0
- data/lib/increase/models/card_payment.rb +6511 -0
- data/lib/increase/models/card_payment_list_params.rb +99 -0
- data/lib/increase/models/card_payment_retrieve_params.rb +14 -0
- data/lib/increase/models/card_purchase_supplement.rb +452 -0
- data/lib/increase/models/card_purchase_supplement_list_params.rb +93 -0
- data/lib/increase/models/card_purchase_supplement_retrieve_params.rb +14 -0
- data/lib/increase/models/card_retrieve_params.rb +14 -0
- data/lib/increase/models/card_update_params.rb +158 -0
- data/lib/increase/models/check_deposit.rb +807 -0
- data/lib/increase/models/check_deposit_create_params.rb +57 -0
- data/lib/increase/models/check_deposit_list_params.rb +102 -0
- data/lib/increase/models/check_deposit_retrieve_params.rb +14 -0
- data/lib/increase/models/check_transfer.rb +983 -0
- data/lib/increase/models/check_transfer_approve_params.rb +14 -0
- data/lib/increase/models/check_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/check_transfer_create_params.rb +324 -0
- data/lib/increase/models/check_transfer_list_params.rb +166 -0
- data/lib/increase/models/check_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/check_transfer_stop_payment_params.rb +39 -0
- data/lib/increase/models/declined_transaction.rb +1779 -0
- data/lib/increase/models/declined_transaction_list_params.rb +153 -0
- data/lib/increase/models/declined_transaction_retrieve_params.rb +14 -0
- data/lib/increase/models/digital_card_profile.rb +197 -0
- data/lib/increase/models/digital_card_profile_archive_params.rb +14 -0
- data/lib/increase/models/digital_card_profile_clone_params.rb +115 -0
- data/lib/increase/models/digital_card_profile_create_params.rb +115 -0
- data/lib/increase/models/digital_card_profile_list_params.rb +91 -0
- data/lib/increase/models/digital_card_profile_retrieve_params.rb +14 -0
- data/lib/increase/models/digital_wallet_token.rb +281 -0
- data/lib/increase/models/digital_wallet_token_list_params.rb +91 -0
- data/lib/increase/models/digital_wallet_token_retrieve_params.rb +14 -0
- data/lib/increase/models/document.rb +135 -0
- data/lib/increase/models/document_create_params.rb +62 -0
- data/lib/increase/models/document_list_params.rb +149 -0
- data/lib/increase/models/document_retrieve_params.rb +14 -0
- data/lib/increase/models/entity.rb +1476 -0
- data/lib/increase/models/entity_archive_beneficial_owner_params.rb +26 -0
- data/lib/increase/models/entity_archive_params.rb +14 -0
- data/lib/increase/models/entity_confirm_params.rb +26 -0
- data/lib/increase/models/entity_create_beneficial_owner_params.rb +412 -0
- data/lib/increase/models/entity_create_params.rb +2318 -0
- data/lib/increase/models/entity_list_params.rb +135 -0
- data/lib/increase/models/entity_retrieve_params.rb +14 -0
- data/lib/increase/models/entity_supplemental_document.rb +72 -0
- data/lib/increase/models/entity_update_address_params.rb +76 -0
- data/lib/increase/models/entity_update_beneficial_owner_address_params.rb +95 -0
- data/lib/increase/models/entity_update_industry_code_params.rb +28 -0
- data/lib/increase/models/event.rb +363 -0
- data/lib/increase/models/event_list_params.rb +395 -0
- data/lib/increase/models/event_retrieve_params.rb +14 -0
- data/lib/increase/models/event_subscription.rb +408 -0
- data/lib/increase/models/event_subscription_create_params.rb +334 -0
- data/lib/increase/models/event_subscription_list_params.rb +45 -0
- data/lib/increase/models/event_subscription_retrieve_params.rb +14 -0
- data/lib/increase/models/event_subscription_update_params.rb +39 -0
- data/lib/increase/models/export.rb +152 -0
- data/lib/increase/models/export_create_params.rb +444 -0
- data/lib/increase/models/export_list_params.rb +188 -0
- data/lib/increase/models/export_retrieve_params.rb +14 -0
- data/lib/increase/models/external_account.rb +166 -0
- data/lib/increase/models/external_account_create_params.rb +92 -0
- data/lib/increase/models/external_account_list_params.rb +93 -0
- data/lib/increase/models/external_account_retrieve_params.rb +14 -0
- data/lib/increase/models/external_account_update_params.rb +91 -0
- data/lib/increase/models/file.rb +213 -0
- data/lib/increase/models/file_create_params.rb +99 -0
- data/lib/increase/models/file_link.rb +90 -0
- data/lib/increase/models/file_link_create_params.rb +34 -0
- data/lib/increase/models/file_list_params.rb +203 -0
- data/lib/increase/models/file_retrieve_params.rb +14 -0
- data/lib/increase/models/group.rb +104 -0
- data/lib/increase/models/group_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_ach_transfer.rb +1095 -0
- data/lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb +30 -0
- data/lib/increase/models/inbound_ach_transfer_decline_params.rb +69 -0
- data/lib/increase/models/inbound_ach_transfer_list_params.rb +145 -0
- data/lib/increase/models/inbound_ach_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb +67 -0
- data/lib/increase/models/inbound_check_deposit.rb +391 -0
- data/lib/increase/models/inbound_check_deposit_decline_params.rb +14 -0
- data/lib/increase/models/inbound_check_deposit_list_params.rb +100 -0
- data/lib/increase/models/inbound_check_deposit_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_check_deposit_return_params.rb +45 -0
- data/lib/increase/models/inbound_mail_item.rb +132 -0
- data/lib/increase/models/inbound_mail_item_list_params.rb +91 -0
- data/lib/increase/models/inbound_mail_item_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +290 -0
- data/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb +102 -0
- data/lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_wire_drawdown_request.rb +221 -0
- data/lib/increase/models/inbound_wire_drawdown_request_list_params.rb +34 -0
- data/lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_wire_transfer.rb +307 -0
- data/lib/increase/models/inbound_wire_transfer_list_params.rb +145 -0
- data/lib/increase/models/inbound_wire_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/inbound_wire_transfer_reverse_params.rb +36 -0
- data/lib/increase/models/intrafi_account_enrollment.rb +121 -0
- data/lib/increase/models/intrafi_account_enrollment_create_params.rb +30 -0
- data/lib/increase/models/intrafi_account_enrollment_list_params.rb +102 -0
- data/lib/increase/models/intrafi_account_enrollment_retrieve_params.rb +14 -0
- data/lib/increase/models/intrafi_account_enrollment_unenroll_params.rb +14 -0
- data/lib/increase/models/intrafi_balance.rb +180 -0
- data/lib/increase/models/intrafi_balance_intrafi_balance_params.rb +14 -0
- data/lib/increase/models/intrafi_exclusion.rb +134 -0
- data/lib/increase/models/intrafi_exclusion_archive_params.rb +14 -0
- data/lib/increase/models/intrafi_exclusion_create_params.rb +30 -0
- data/lib/increase/models/intrafi_exclusion_list_params.rb +53 -0
- data/lib/increase/models/intrafi_exclusion_retrieve_params.rb +14 -0
- data/lib/increase/models/lockbox.rb +182 -0
- data/lib/increase/models/lockbox_create_params.rb +38 -0
- data/lib/increase/models/lockbox_list_params.rb +102 -0
- data/lib/increase/models/lockbox_retrieve_params.rb +14 -0
- data/lib/increase/models/lockbox_update_params.rb +52 -0
- data/lib/increase/models/oauth_application.rb +106 -0
- data/lib/increase/models/oauth_application_list_params.rb +122 -0
- data/lib/increase/models/oauth_application_retrieve_params.rb +14 -0
- data/lib/increase/models/oauth_connection.rb +104 -0
- data/lib/increase/models/oauth_connection_list_params.rb +83 -0
- data/lib/increase/models/oauth_connection_retrieve_params.rb +14 -0
- data/lib/increase/models/oauth_token.rb +67 -0
- data/lib/increase/models/oauth_token_create_params.rb +78 -0
- data/lib/increase/models/pending_transaction.rb +1747 -0
- data/lib/increase/models/pending_transaction_create_params.rb +43 -0
- data/lib/increase/models/pending_transaction_list_params.rb +212 -0
- data/lib/increase/models/pending_transaction_release_params.rb +14 -0
- data/lib/increase/models/pending_transaction_retrieve_params.rb +14 -0
- data/lib/increase/models/physical_card.rb +433 -0
- data/lib/increase/models/physical_card_create_params.rb +185 -0
- data/lib/increase/models/physical_card_list_params.rb +102 -0
- data/lib/increase/models/physical_card_profile.rb +182 -0
- data/lib/increase/models/physical_card_profile_archive_params.rb +14 -0
- data/lib/increase/models/physical_card_profile_clone_params.rb +85 -0
- data/lib/increase/models/physical_card_profile_create_params.rb +93 -0
- data/lib/increase/models/physical_card_profile_list_params.rb +97 -0
- data/lib/increase/models/physical_card_profile_retrieve_params.rb +14 -0
- data/lib/increase/models/physical_card_retrieve_params.rb +14 -0
- data/lib/increase/models/physical_card_update_params.rb +39 -0
- data/lib/increase/models/program.rb +126 -0
- data/lib/increase/models/program_list_params.rb +34 -0
- data/lib/increase/models/program_retrieve_params.rb +14 -0
- data/lib/increase/models/real_time_decision.rb +1303 -0
- data/lib/increase/models/real_time_decision_action_params.rb +351 -0
- data/lib/increase/models/real_time_decision_retrieve_params.rb +14 -0
- data/lib/increase/models/real_time_payments_transfer.rb +622 -0
- data/lib/increase/models/real_time_payments_transfer_approve_params.rb +14 -0
- data/lib/increase/models/real_time_payments_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +112 -0
- data/lib/increase/models/real_time_payments_transfer_list_params.rb +169 -0
- data/lib/increase/models/real_time_payments_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models/routing_number_list_params.rb +42 -0
- data/lib/increase/models/routing_number_list_response.rb +125 -0
- data/lib/increase/models/simulations/account_statement_create_params.rb +24 -0
- data/lib/increase/models/simulations/account_transfer_complete_params.rb +16 -0
- data/lib/increase/models/simulations/ach_transfer_acknowledge_params.rb +16 -0
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +104 -0
- data/lib/increase/models/simulations/ach_transfer_return_params.rb +250 -0
- data/lib/increase/models/simulations/ach_transfer_settle_params.rb +16 -0
- data/lib/increase/models/simulations/ach_transfer_submit_params.rb +16 -0
- data/lib/increase/models/simulations/card_authorization_create_params.rb +309 -0
- data/lib/increase/models/simulations/card_authorization_create_response.rb +59 -0
- data/lib/increase/models/simulations/card_authorization_expiration_create_params.rb +24 -0
- data/lib/increase/models/simulations/card_dispute_action_params.rb +55 -0
- data/lib/increase/models/simulations/card_fuel_confirmation_create_params.rb +37 -0
- data/lib/increase/models/simulations/card_increment_create_params.rb +46 -0
- data/lib/increase/models/simulations/card_refund_create_params.rb +28 -0
- data/lib/increase/models/simulations/card_reversal_create_params.rb +36 -0
- data/lib/increase/models/simulations/card_settlement_create_params.rb +45 -0
- data/lib/increase/models/simulations/check_deposit_reject_params.rb +16 -0
- data/lib/increase/models/simulations/check_deposit_return_params.rb +16 -0
- data/lib/increase/models/simulations/check_deposit_submit_params.rb +16 -0
- data/lib/increase/models/simulations/check_transfer_mail_params.rb +16 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_params.rb +24 -0
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +83 -0
- data/lib/increase/models/simulations/document_create_params.rb +24 -0
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +241 -0
- data/lib/increase/models/simulations/inbound_check_deposit_create_params.rb +40 -0
- data/lib/increase/models/simulations/inbound_funds_hold_release_params.rb +16 -0
- data/lib/increase/models/simulations/inbound_funds_hold_release_response.rb +161 -0
- data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +44 -0
- data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +77 -0
- data/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +186 -0
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +171 -0
- data/lib/increase/models/simulations/interest_payment_create_params.rb +59 -0
- data/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +57 -0
- data/lib/increase/models/simulations/physical_card_tracking_updates_params.rb +81 -0
- data/lib/increase/models/simulations/program_create_params.rb +32 -0
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +113 -0
- data/lib/increase/models/simulations/wire_transfer_reverse_params.rb +16 -0
- data/lib/increase/models/simulations/wire_transfer_submit_params.rb +16 -0
- data/lib/increase/models/supplemental_document_create_params.rb +30 -0
- data/lib/increase/models/supplemental_document_list_params.rb +53 -0
- data/lib/increase/models/transaction.rb +5823 -0
- data/lib/increase/models/transaction_list_params.rb +226 -0
- data/lib/increase/models/transaction_retrieve_params.rb +14 -0
- data/lib/increase/models/wire_drawdown_request.rb +249 -0
- data/lib/increase/models/wire_drawdown_request_create_params.rb +129 -0
- data/lib/increase/models/wire_drawdown_request_list_params.rb +91 -0
- data/lib/increase/models/wire_drawdown_request_retrieve_params.rb +14 -0
- data/lib/increase/models/wire_transfer.rb +677 -0
- data/lib/increase/models/wire_transfer_approve_params.rb +14 -0
- data/lib/increase/models/wire_transfer_cancel_params.rb +14 -0
- data/lib/increase/models/wire_transfer_create_params.rb +151 -0
- data/lib/increase/models/wire_transfer_list_params.rb +110 -0
- data/lib/increase/models/wire_transfer_retrieve_params.rb +14 -0
- data/lib/increase/models.rb +483 -0
- data/lib/increase/request_options.rb +77 -0
- data/lib/increase/resources/account_numbers.rb +130 -13
- data/lib/increase/resources/account_statements.rb +60 -9
- data/lib/increase/resources/account_transfers.rb +135 -15
- data/lib/increase/resources/accounts.rb +168 -15
- data/lib/increase/resources/ach_prenotifications.rb +109 -11
- data/lib/increase/resources/ach_transfers.rb +167 -15
- data/lib/increase/resources/bookkeeping_accounts.rb +120 -0
- data/lib/increase/resources/bookkeeping_entries.rb +64 -0
- data/lib/increase/resources/bookkeeping_entry_sets.rb +95 -0
- data/lib/increase/resources/card_disputes.rb +91 -11
- data/lib/increase/resources/card_payments.rb +68 -0
- data/lib/increase/resources/card_purchase_supplements.rb +66 -0
- data/lib/increase/resources/cards.rb +146 -15
- data/lib/increase/resources/check_deposits.rb +95 -11
- data/lib/increase/resources/check_transfers.rb +167 -17
- data/lib/increase/resources/declined_transactions.rb +64 -9
- data/lib/increase/resources/digital_card_profiles.rb +164 -0
- data/lib/increase/resources/digital_wallet_tokens.rb +60 -9
- data/lib/increase/resources/documents.rb +89 -10
- data/lib/increase/resources/entities.rb +293 -14
- data/lib/increase/resources/event_subscriptions.rb +113 -13
- data/lib/increase/resources/events.rb +62 -9
- data/lib/increase/resources/exports.rb +109 -0
- data/lib/increase/resources/external_accounts.rb +125 -13
- data/lib/increase/resources/file_links.rb +41 -0
- data/lib/increase/resources/files.rb +94 -11
- data/lib/increase/resources/groups.rb +26 -7
- data/lib/increase/resources/inbound_ach_transfers.rb +154 -0
- data/lib/increase/resources/inbound_check_deposits.rb +112 -0
- data/lib/increase/resources/inbound_mail_items.rb +66 -0
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +68 -0
- data/lib/increase/resources/inbound_wire_drawdown_requests.rb +56 -9
- data/lib/increase/resources/inbound_wire_transfers.rb +94 -0
- data/lib/increase/resources/intrafi_account_enrollments.rb +112 -0
- data/lib/increase/resources/intrafi_balances.rb +36 -0
- data/lib/increase/resources/intrafi_exclusions.rb +113 -0
- data/lib/increase/resources/lockboxes.rb +122 -0
- data/lib/increase/resources/oauth_applications.rb +66 -0
- data/lib/increase/resources/oauth_connections.rb +60 -9
- data/lib/increase/resources/oauth_tokens.rb +47 -0
- data/lib/increase/resources/pending_transactions.rb +122 -10
- data/lib/increase/resources/physical_card_profiles.rb +156 -0
- data/lib/increase/resources/physical_cards.rb +123 -0
- data/lib/increase/resources/programs.rb +62 -0
- data/lib/increase/resources/real_time_decisions.rb +63 -9
- data/lib/increase/resources/real_time_payments_transfers.rb +157 -0
- data/lib/increase/resources/routing_numbers.rb +41 -7
- data/lib/increase/resources/simulations/account_statements.rb +39 -0
- data/lib/increase/resources/simulations/account_transfers.rb +39 -0
- data/lib/increase/resources/simulations/ach_transfers.rb +151 -0
- data/lib/increase/resources/simulations/card_authorization_expirations.rb +38 -0
- data/lib/increase/resources/simulations/card_authorizations.rb +79 -0
- data/lib/increase/resources/simulations/card_disputes.rb +45 -0
- data/lib/increase/resources/simulations/card_fuel_confirmations.rb +46 -0
- data/lib/increase/resources/simulations/card_increments.rb +46 -0
- data/lib/increase/resources/simulations/card_refunds.rb +42 -0
- data/lib/increase/resources/simulations/card_reversals.rb +46 -0
- data/lib/increase/resources/simulations/card_settlements.rb +49 -0
- data/lib/increase/resources/simulations/check_deposits.rb +80 -0
- data/lib/increase/resources/simulations/check_transfers.rb +39 -0
- data/lib/increase/resources/simulations/digital_wallet_token_requests.rb +39 -0
- data/lib/increase/resources/simulations/documents.rb +38 -0
- data/lib/increase/resources/simulations/inbound_ach_transfers.rb +73 -0
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +47 -0
- data/lib/increase/resources/simulations/inbound_funds_holds.rb +37 -0
- data/lib/increase/resources/simulations/inbound_mail_items.rb +46 -0
- data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +56 -0
- data/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +81 -0
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +74 -0
- data/lib/increase/resources/simulations/interest_payments.rb +50 -0
- data/lib/increase/resources/simulations/physical_cards.rb +79 -0
- data/lib/increase/resources/simulations/programs.rb +43 -0
- data/lib/increase/resources/simulations/real_time_payments_transfers.rb +43 -0
- data/lib/increase/resources/simulations/wire_transfers.rb +61 -0
- data/lib/increase/resources/simulations.rb +127 -0
- data/lib/increase/resources/supplemental_documents.rb +70 -0
- data/lib/increase/resources/transactions.rb +64 -9
- data/lib/increase/resources/wire_drawdown_requests.rb +109 -11
- data/lib/increase/resources/wire_transfers.rb +159 -15
- data/lib/increase/version.rb +1 -1
- data/lib/increase.rb +386 -22
- data/manifest.yaml +15 -0
- data/rbi/increase/client.rbi +221 -0
- data/rbi/increase/errors.rbi +206 -0
- data/rbi/increase/file_part.rbi +37 -0
- data/rbi/increase/internal/page.rbi +22 -0
- data/rbi/increase/internal/transport/base_client.rbi +293 -0
- data/rbi/increase/internal/transport/pooled_net_requester.rbi +79 -0
- data/rbi/increase/internal/type/array_of.rbi +104 -0
- data/rbi/increase/internal/type/base_model.rbi +302 -0
- data/rbi/increase/internal/type/base_page.rbi +42 -0
- data/rbi/increase/internal/type/boolean.rbi +56 -0
- data/rbi/increase/internal/type/converter.rbi +162 -0
- data/rbi/increase/internal/type/enum.rbi +82 -0
- data/rbi/increase/internal/type/file_input.rbi +59 -0
- data/rbi/increase/internal/type/hash_of.rbi +104 -0
- data/rbi/increase/internal/type/request_parameters.rbi +29 -0
- data/rbi/increase/internal/type/union.rbi +116 -0
- data/rbi/increase/internal/type/unknown.rbi +56 -0
- data/rbi/increase/internal/util.rbi +487 -0
- data/rbi/increase/internal.rbi +16 -0
- data/rbi/increase/models/account.rbi +269 -0
- data/rbi/increase/models/account_balance_params.rbi +43 -0
- data/rbi/increase/models/account_close_params.rbi +27 -0
- data/rbi/increase/models/account_create_params.rbi +80 -0
- data/rbi/increase/models/account_list_params.rbi +280 -0
- data/rbi/increase/models/account_number.rbi +348 -0
- data/rbi/increase/models/account_number_create_params.rbi +262 -0
- data/rbi/increase/models/account_number_list_params.rbi +396 -0
- data/rbi/increase/models/account_number_retrieve_params.rbi +30 -0
- data/rbi/increase/models/account_number_update_params.rbi +320 -0
- data/rbi/increase/models/account_retrieve_params.rbi +27 -0
- data/rbi/increase/models/account_statement.rbi +136 -0
- data/rbi/increase/models/account_statement_list_params.rbi +167 -0
- data/rbi/increase/models/account_statement_retrieve_params.rbi +30 -0
- data/rbi/increase/models/account_transfer.rbi +634 -0
- data/rbi/increase/models/account_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/account_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/account_transfer_create_params.rbi +83 -0
- data/rbi/increase/models/account_transfer_list_params.rbi +177 -0
- data/rbi/increase/models/account_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/account_update_params.rbi +43 -0
- data/rbi/increase/models/ach_prenotification.rbi +1094 -0
- data/rbi/increase/models/ach_prenotification_create_params.rbi +294 -0
- data/rbi/increase/models/ach_prenotification_list_params.rbi +168 -0
- data/rbi/increase/models/ach_prenotification_retrieve_params.rbi +30 -0
- data/rbi/increase/models/ach_transfer.rbi +2672 -0
- data/rbi/increase/models/ach_transfer_approve_params.rbi +27 -0
- data/rbi/increase/models/ach_transfer_cancel_params.rbi +27 -0
- data/rbi/increase/models/ach_transfer_create_params.rbi +904 -0
- data/rbi/increase/models/ach_transfer_list_params.rbi +330 -0
- data/rbi/increase/models/ach_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/balance_lookup.rbi +90 -0
- data/rbi/increase/models/bookkeeping_account.rbi +165 -0
- data/rbi/increase/models/bookkeeping_account_balance_params.rbi +46 -0
- data/rbi/increase/models/bookkeeping_account_create_params.rbi +130 -0
- data/rbi/increase/models/bookkeeping_account_list_params.rbi +79 -0
- data/rbi/increase/models/bookkeeping_account_update_params.rbi +43 -0
- data/rbi/increase/models/bookkeeping_balance_lookup.rbi +85 -0
- data/rbi/increase/models/bookkeeping_entry.rbi +108 -0
- data/rbi/increase/models/bookkeeping_entry_list_params.rbi +73 -0
- data/rbi/increase/models/bookkeeping_entry_retrieve_params.rbi +30 -0
- data/rbi/increase/models/bookkeeping_entry_set.rbi +162 -0
- data/rbi/increase/models/bookkeeping_entry_set_create_params.rbi +110 -0
- data/rbi/increase/models/bookkeeping_entry_set_list_params.rbi +90 -0
- data/rbi/increase/models/bookkeeping_entry_set_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card.rbi +317 -0
- data/rbi/increase/models/card_create_params.rbi +241 -0
- data/rbi/increase/models/card_details.rbi +103 -0
- data/rbi/increase/models/card_details_params.rbi +27 -0
- data/rbi/increase/models/card_dispute.rbi +425 -0
- data/rbi/increase/models/card_dispute_create_params.rbi +70 -0
- data/rbi/increase/models/card_dispute_list_params.rbi +289 -0
- data/rbi/increase/models/card_dispute_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card_list_params.rbi +252 -0
- data/rbi/increase/models/card_payment.rbi +11956 -0
- data/rbi/increase/models/card_payment_list_params.rbi +168 -0
- data/rbi/increase/models/card_payment_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card_purchase_supplement.rbi +687 -0
- data/rbi/increase/models/card_purchase_supplement_list_params.rbi +168 -0
- data/rbi/increase/models/card_purchase_supplement_retrieve_params.rbi +30 -0
- data/rbi/increase/models/card_retrieve_params.rbi +27 -0
- data/rbi/increase/models/card_update_params.rbi +267 -0
- data/rbi/increase/models/check_deposit.rbi +1393 -0
- data/rbi/increase/models/check_deposit_create_params.rbi +78 -0
- data/rbi/increase/models/check_deposit_list_params.rbi +174 -0
- data/rbi/increase/models/check_deposit_retrieve_params.rbi +30 -0
- data/rbi/increase/models/check_transfer.rbi +1670 -0
- data/rbi/increase/models/check_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/check_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +573 -0
- data/rbi/increase/models/check_transfer_list_params.rbi +332 -0
- data/rbi/increase/models/check_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/check_transfer_stop_payment_params.rbi +99 -0
- data/rbi/increase/models/declined_transaction.rbi +3355 -0
- data/rbi/increase/models/declined_transaction_list_params.rbi +322 -0
- data/rbi/increase/models/declined_transaction_retrieve_params.rbi +30 -0
- data/rbi/increase/models/digital_card_profile.rbi +258 -0
- data/rbi/increase/models/digital_card_profile_archive_params.rbi +30 -0
- data/rbi/increase/models/digital_card_profile_clone_params.rbi +188 -0
- data/rbi/increase/models/digital_card_profile_create_params.rbi +174 -0
- data/rbi/increase/models/digital_card_profile_list_params.rbi +203 -0
- data/rbi/increase/models/digital_card_profile_retrieve_params.rbi +30 -0
- data/rbi/increase/models/digital_wallet_token.rbi +508 -0
- data/rbi/increase/models/digital_wallet_token_list_params.rbi +162 -0
- data/rbi/increase/models/digital_wallet_token_retrieve_params.rbi +30 -0
- data/rbi/increase/models/document.rbi +198 -0
- data/rbi/increase/models/document_create_params.rbi +132 -0
- data/rbi/increase/models/document_list_params.rbi +289 -0
- data/rbi/increase/models/document_retrieve_params.rbi +27 -0
- data/rbi/increase/models/entity.rbi +2531 -0
- data/rbi/increase/models/entity_archive_beneficial_owner_params.rbi +48 -0
- data/rbi/increase/models/entity_archive_params.rbi +27 -0
- data/rbi/increase/models/entity_confirm_params.rbi +45 -0
- data/rbi/increase/models/entity_create_beneficial_owner_params.rbi +764 -0
- data/rbi/increase/models/entity_create_params.rbi +4200 -0
- data/rbi/increase/models/entity_list_params.rbi +256 -0
- data/rbi/increase/models/entity_retrieve_params.rbi +27 -0
- data/rbi/increase/models/entity_supplemental_document.rbi +108 -0
- data/rbi/increase/models/entity_update_address_params.rbi +129 -0
- data/rbi/increase/models/entity_update_beneficial_owner_address_params.rbi +163 -0
- data/rbi/increase/models/entity_update_industry_code_params.rbi +49 -0
- data/rbi/increase/models/event.rbi +698 -0
- data/rbi/increase/models/event_list_params.rbi +862 -0
- data/rbi/increase/models/event_retrieve_params.rbi +27 -0
- data/rbi/increase/models/event_subscription.rbi +833 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +753 -0
- data/rbi/increase/models/event_subscription_list_params.rbi +79 -0
- data/rbi/increase/models/event_subscription_retrieve_params.rbi +30 -0
- data/rbi/increase/models/event_subscription_update_params.rbi +99 -0
- data/rbi/increase/models/export.rbi +196 -0
- data/rbi/increase/models/export_create_params.rbi +933 -0
- data/rbi/increase/models/export_list_params.rbi +386 -0
- data/rbi/increase/models/export_retrieve_params.rbi +27 -0
- data/rbi/increase/models/external_account.rbi +236 -0
- data/rbi/increase/models/external_account_create_params.rbi +191 -0
- data/rbi/increase/models/external_account_list_params.rbi +198 -0
- data/rbi/increase/models/external_account_retrieve_params.rbi +30 -0
- data/rbi/increase/models/external_account_update_params.rbi +223 -0
- data/rbi/increase/models/file.rbi +291 -0
- data/rbi/increase/models/file_create_params.rbi +188 -0
- data/rbi/increase/models/file_link.rbi +115 -0
- data/rbi/increase/models/file_link_create_params.rbi +56 -0
- data/rbi/increase/models/file_list_params.rbi +410 -0
- data/rbi/increase/models/file_retrieve_params.rbi +27 -0
- data/rbi/increase/models/group.rbi +139 -0
- data/rbi/increase/models/group_retrieve_params.rbi +27 -0
- data/rbi/increase/models/inbound_ach_transfer.rbi +1898 -0
- data/rbi/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbi +60 -0
- data/rbi/increase/models/inbound_ach_transfer_decline_params.rbi +154 -0
- data/rbi/increase/models/inbound_ach_transfer_list_params.rbi +297 -0
- data/rbi/increase/models/inbound_ach_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_ach_transfer_transfer_return_params.rbi +149 -0
- data/rbi/increase/models/inbound_check_deposit.rbi +609 -0
- data/rbi/increase/models/inbound_check_deposit_decline_params.rbi +30 -0
- data/rbi/increase/models/inbound_check_deposit_list_params.rbi +176 -0
- data/rbi/increase/models/inbound_check_deposit_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_check_deposit_return_params.rbi +104 -0
- data/rbi/increase/models/inbound_mail_item.rbi +201 -0
- data/rbi/increase/models/inbound_mail_item_list_params.rbi +160 -0
- data/rbi/increase/models/inbound_mail_item_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer.rbi +516 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_list_params.rbi +184 -0
- data/rbi/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_wire_drawdown_request.rbi +261 -0
- data/rbi/increase/models/inbound_wire_drawdown_request_list_params.rbi +62 -0
- data/rbi/increase/models/inbound_wire_drawdown_request_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +400 -0
- data/rbi/increase/models/inbound_wire_transfer_list_params.rbi +300 -0
- data/rbi/increase/models/inbound_wire_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/inbound_wire_transfer_reverse_params.rbi +84 -0
- data/rbi/increase/models/intrafi_account_enrollment.rbi +185 -0
- data/rbi/increase/models/intrafi_account_enrollment_create_params.rbi +54 -0
- data/rbi/increase/models/intrafi_account_enrollment_list_params.rbi +226 -0
- data/rbi/increase/models/intrafi_account_enrollment_retrieve_params.rbi +30 -0
- data/rbi/increase/models/intrafi_account_enrollment_unenroll_params.rbi +30 -0
- data/rbi/increase/models/intrafi_balance.rbi +262 -0
- data/rbi/increase/models/intrafi_balance_intrafi_balance_params.rbi +30 -0
- data/rbi/increase/models/intrafi_exclusion.rbi +176 -0
- data/rbi/increase/models/intrafi_exclusion_archive_params.rbi +30 -0
- data/rbi/increase/models/intrafi_exclusion_create_params.rbi +54 -0
- data/rbi/increase/models/intrafi_exclusion_list_params.rbi +90 -0
- data/rbi/increase/models/intrafi_exclusion_retrieve_params.rbi +30 -0
- data/rbi/increase/models/lockbox.rbi +232 -0
- data/rbi/increase/models/lockbox_create_params.rbi +65 -0
- data/rbi/increase/models/lockbox_list_params.rbi +172 -0
- data/rbi/increase/models/lockbox_retrieve_params.rbi +27 -0
- data/rbi/increase/models/lockbox_update_params.rbi +97 -0
- data/rbi/increase/models/oauth_application.rbi +146 -0
- data/rbi/increase/models/oauth_application_list_params.rbi +259 -0
- data/rbi/increase/models/oauth_application_retrieve_params.rbi +30 -0
- data/rbi/increase/models/oauth_connection.rbi +142 -0
- data/rbi/increase/models/oauth_connection_list_params.rbi +183 -0
- data/rbi/increase/models/oauth_connection_retrieve_params.rbi +30 -0
- data/rbi/increase/models/oauth_token.rbi +98 -0
- data/rbi/increase/models/oauth_token_create_params.rbi +133 -0
- data/rbi/increase/models/pending_transaction.rbi +3220 -0
- data/rbi/increase/models/pending_transaction_create_params.rbi +69 -0
- data/rbi/increase/models/pending_transaction_list_params.rbi +475 -0
- data/rbi/increase/models/pending_transaction_release_params.rbi +30 -0
- data/rbi/increase/models/pending_transaction_retrieve_params.rbi +30 -0
- data/rbi/increase/models/physical_card.rbi +691 -0
- data/rbi/increase/models/physical_card_create_params.rbi +327 -0
- data/rbi/increase/models/physical_card_list_params.rbi +174 -0
- data/rbi/increase/models/physical_card_profile.rbi +245 -0
- data/rbi/increase/models/physical_card_profile_archive_params.rbi +30 -0
- data/rbi/increase/models/physical_card_profile_clone_params.rbi +143 -0
- data/rbi/increase/models/physical_card_profile_create_params.rbi +139 -0
- data/rbi/increase/models/physical_card_profile_list_params.rbi +219 -0
- data/rbi/increase/models/physical_card_profile_retrieve_params.rbi +30 -0
- data/rbi/increase/models/physical_card_retrieve_params.rbi +30 -0
- data/rbi/increase/models/physical_card_update_params.rbi +83 -0
- data/rbi/increase/models/program.rbi +155 -0
- data/rbi/increase/models/program_list_params.rbi +59 -0
- data/rbi/increase/models/program_retrieve_params.rbi +27 -0
- data/rbi/increase/models/real_time_decision.rbi +2466 -0
- data/rbi/increase/models/real_time_decision_action_params.rbi +806 -0
- data/rbi/increase/models/real_time_decision_retrieve_params.rbi +30 -0
- data/rbi/increase/models/real_time_payments_transfer.rbi +1151 -0
- data/rbi/increase/models/real_time_payments_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/real_time_payments_transfer_cancel_params.rbi +30 -0
- data/rbi/increase/models/real_time_payments_transfer_create_params.rbi +161 -0
- data/rbi/increase/models/real_time_payments_transfer_list_params.rbi +351 -0
- data/rbi/increase/models/real_time_payments_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models/routing_number_list_params.rbi +67 -0
- data/rbi/increase/models/routing_number_list_response.rbi +246 -0
- data/rbi/increase/models/simulations/account_statement_create_params.rbi +45 -0
- data/rbi/increase/models/simulations/account_transfer_complete_params.rbi +32 -0
- data/rbi/increase/models/simulations/ach_transfer_acknowledge_params.rbi +32 -0
- data/rbi/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbi +219 -0
- data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +581 -0
- data/rbi/increase/models/simulations/ach_transfer_settle_params.rbi +32 -0
- data/rbi/increase/models/simulations/ach_transfer_submit_params.rbi +32 -0
- data/rbi/increase/models/simulations/card_authorization_create_params.rbi +648 -0
- data/rbi/increase/models/simulations/card_authorization_create_response.rbi +123 -0
- data/rbi/increase/models/simulations/card_authorization_expiration_create_params.rbi +48 -0
- data/rbi/increase/models/simulations/card_dispute_action_params.rbi +124 -0
- data/rbi/increase/models/simulations/card_fuel_confirmation_create_params.rbi +58 -0
- data/rbi/increase/models/simulations/card_increment_create_params.rbi +73 -0
- data/rbi/increase/models/simulations/card_refund_create_params.rbi +50 -0
- data/rbi/increase/models/simulations/card_reversal_create_params.rbi +61 -0
- data/rbi/increase/models/simulations/card_settlement_create_params.rbi +71 -0
- data/rbi/increase/models/simulations/check_deposit_reject_params.rbi +32 -0
- data/rbi/increase/models/simulations/check_deposit_return_params.rbi +32 -0
- data/rbi/increase/models/simulations/check_deposit_submit_params.rbi +32 -0
- data/rbi/increase/models/simulations/check_transfer_mail_params.rbi +32 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_params.rbi +45 -0
- data/rbi/increase/models/simulations/digital_wallet_token_request_create_response.rbi +167 -0
- data/rbi/increase/models/simulations/document_create_params.rbi +45 -0
- data/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +508 -0
- data/rbi/increase/models/simulations/inbound_check_deposit_create_params.rbi +64 -0
- data/rbi/increase/models/simulations/inbound_funds_hold_release_params.rbi +32 -0
- data/rbi/increase/models/simulations/inbound_funds_hold_release_response.rbi +280 -0
- data/rbi/increase/models/simulations/inbound_mail_item_create_params.rbi +69 -0
- data/rbi/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbi +113 -0
- data/rbi/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbi +248 -0
- data/rbi/increase/models/simulations/inbound_wire_transfer_create_params.rbi +251 -0
- data/rbi/increase/models/simulations/interest_payment_create_params.rbi +89 -0
- data/rbi/increase/models/simulations/physical_card_advance_shipment_params.rbi +134 -0
- data/rbi/increase/models/simulations/physical_card_tracking_updates_params.rbi +152 -0
- data/rbi/increase/models/simulations/program_create_params.rbi +59 -0
- data/rbi/increase/models/simulations/real_time_payments_transfer_complete_params.rbi +277 -0
- data/rbi/increase/models/simulations/wire_transfer_reverse_params.rbi +32 -0
- data/rbi/increase/models/simulations/wire_transfer_submit_params.rbi +32 -0
- data/rbi/increase/models/supplemental_document_create_params.rbi +54 -0
- data/rbi/increase/models/supplemental_document_list_params.rbi +87 -0
- data/rbi/increase/models/transaction.rbi +10456 -0
- data/rbi/increase/models/transaction_list_params.rbi +473 -0
- data/rbi/increase/models/transaction_retrieve_params.rbi +30 -0
- data/rbi/increase/models/wire_drawdown_request.rbi +324 -0
- data/rbi/increase/models/wire_drawdown_request_create_params.rbi +179 -0
- data/rbi/increase/models/wire_drawdown_request_list_params.rbi +205 -0
- data/rbi/increase/models/wire_drawdown_request_retrieve_params.rbi +30 -0
- data/rbi/increase/models/wire_transfer.rbi +974 -0
- data/rbi/increase/models/wire_transfer_approve_params.rbi +30 -0
- data/rbi/increase/models/wire_transfer_cancel_params.rbi +27 -0
- data/rbi/increase/models/wire_transfer_create_params.rbi +211 -0
- data/rbi/increase/models/wire_transfer_list_params.rbi +185 -0
- data/rbi/increase/models/wire_transfer_retrieve_params.rbi +30 -0
- data/rbi/increase/models.rbi +517 -0
- data/rbi/increase/request_options.rbi +59 -0
- data/rbi/increase/resources/account_numbers.rbi +113 -0
- data/rbi/increase/resources/account_statements.rbi +50 -0
- data/rbi/increase/resources/account_transfers.rbi +110 -0
- data/rbi/increase/resources/accounts.rbi +137 -0
- data/rbi/increase/resources/ach_prenotifications.rbi +107 -0
- data/rbi/increase/resources/ach_transfers.rbi +179 -0
- data/rbi/increase/resources/bookkeeping_accounts.rbi +94 -0
- data/rbi/increase/resources/bookkeeping_entries.rbi +47 -0
- data/rbi/increase/resources/bookkeeping_entry_sets.rbi +75 -0
- data/rbi/increase/resources/card_disputes.rbi +78 -0
- data/rbi/increase/resources/card_payments.rbi +52 -0
- data/rbi/increase/resources/card_purchase_supplements.rbi +51 -0
- data/rbi/increase/resources/cards.rbi +134 -0
- data/rbi/increase/resources/check_deposits.rbi +81 -0
- data/rbi/increase/resources/check_transfers.rbi +146 -0
- data/rbi/increase/resources/declined_transactions.rbi +55 -0
- data/rbi/increase/resources/digital_card_profiles.rbi +147 -0
- data/rbi/increase/resources/digital_wallet_tokens.rbi +49 -0
- data/rbi/increase/resources/documents.rbi +75 -0
- data/rbi/increase/resources/entities.rbi +241 -0
- data/rbi/increase/resources/event_subscriptions.rbi +94 -0
- data/rbi/increase/resources/events.rbi +51 -0
- data/rbi/increase/resources/exports.rbi +94 -0
- data/rbi/increase/resources/external_accounts.rbi +110 -0
- data/rbi/increase/resources/file_links.rbi +30 -0
- data/rbi/increase/resources/files.rbi +78 -0
- data/rbi/increase/resources/groups.rbi +21 -0
- data/rbi/increase/resources/inbound_ach_transfers.rbi +114 -0
- data/rbi/increase/resources/inbound_check_deposits.rbi +85 -0
- data/rbi/increase/resources/inbound_mail_items.rbi +49 -0
- data/rbi/increase/resources/inbound_real_time_payments_transfers.rbi +57 -0
- data/rbi/increase/resources/inbound_wire_drawdown_requests.rbi +46 -0
- data/rbi/increase/resources/inbound_wire_transfers.rbi +72 -0
- data/rbi/increase/resources/intrafi_account_enrollments.rbi +86 -0
- data/rbi/increase/resources/intrafi_balances.rbi +28 -0
- data/rbi/increase/resources/intrafi_exclusions.rbi +86 -0
- data/rbi/increase/resources/lockboxes.rbi +98 -0
- data/rbi/increase/resources/oauth_applications.rbi +48 -0
- data/rbi/increase/resources/oauth_connections.rbi +50 -0
- data/rbi/increase/resources/oauth_tokens.rbi +44 -0
- data/rbi/increase/resources/pending_transactions.rbi +98 -0
- data/rbi/increase/resources/physical_card_profiles.rbi +128 -0
- data/rbi/increase/resources/physical_cards.rbi +96 -0
- data/rbi/increase/resources/programs.rbi +44 -0
- data/rbi/increase/resources/real_time_decisions.rbi +65 -0
- data/rbi/increase/resources/real_time_payments_transfers.rbi +141 -0
- data/rbi/increase/resources/routing_numbers.rbi +38 -0
- data/rbi/increase/resources/simulations/account_statements.rbi +29 -0
- data/rbi/increase/resources/simulations/account_transfers.rbi +31 -0
- data/rbi/increase/resources/simulations/ach_transfers.rbi +115 -0
- data/rbi/increase/resources/simulations/card_authorization_expirations.rbi +28 -0
- data/rbi/increase/resources/simulations/card_authorizations.rbi +97 -0
- data/rbi/increase/resources/simulations/card_disputes.rbi +38 -0
- data/rbi/increase/resources/simulations/card_fuel_confirmations.rbi +34 -0
- data/rbi/increase/resources/simulations/card_increments.rbi +38 -0
- data/rbi/increase/resources/simulations/card_refunds.rbi +30 -0
- data/rbi/increase/resources/simulations/card_reversals.rbi +35 -0
- data/rbi/increase/resources/simulations/card_settlements.rbi +40 -0
- data/rbi/increase/resources/simulations/check_deposits.rbi +60 -0
- data/rbi/increase/resources/simulations/check_transfers.rbi +31 -0
- data/rbi/increase/resources/simulations/digital_wallet_token_requests.rbi +31 -0
- data/rbi/increase/resources/simulations/documents.rbi +28 -0
- data/rbi/increase/resources/simulations/inbound_ach_transfers.rbi +75 -0
- data/rbi/increase/resources/simulations/inbound_check_deposits.rbi +39 -0
- data/rbi/increase/resources/simulations/inbound_funds_holds.rbi +31 -0
- data/rbi/increase/resources/simulations/inbound_mail_items.rbi +36 -0
- data/rbi/increase/resources/simulations/inbound_real_time_payments_transfers.rbi +49 -0
- data/rbi/increase/resources/simulations/inbound_wire_drawdown_requests.rbi +92 -0
- data/rbi/increase/resources/simulations/inbound_wire_transfers.rbi +91 -0
- data/rbi/increase/resources/simulations/interest_payments.rbi +41 -0
- data/rbi/increase/resources/simulations/physical_cards.rbi +66 -0
- data/rbi/increase/resources/simulations/programs.rbi +34 -0
- data/rbi/increase/resources/simulations/real_time_payments_transfers.rbi +35 -0
- data/rbi/increase/resources/simulations/wire_transfers.rbi +47 -0
- data/rbi/increase/resources/simulations.rbi +105 -0
- data/rbi/increase/resources/supplemental_documents.rbi +58 -0
- data/rbi/increase/resources/transactions.rbi +55 -0
- data/rbi/increase/resources/wire_drawdown_requests.rbi +110 -0
- data/rbi/increase/resources/wire_transfers.rbi +151 -0
- data/rbi/increase/version.rbi +5 -0
- data/sig/increase/client.rbs +135 -0
- data/sig/increase/errors.rbs +145 -0
- data/sig/increase/file_part.rbs +21 -0
- data/sig/increase/internal/page.rbs +13 -0
- data/sig/increase/internal/transport/base_client.rbs +131 -0
- data/sig/increase/internal/transport/pooled_net_requester.rbs +45 -0
- data/sig/increase/internal/type/array_of.rbs +48 -0
- data/sig/increase/internal/type/base_model.rbs +102 -0
- data/sig/increase/internal/type/base_page.rbs +24 -0
- data/sig/increase/internal/type/boolean.rbs +26 -0
- data/sig/increase/internal/type/converter.rbs +56 -0
- data/sig/increase/internal/type/enum.rbs +32 -0
- data/sig/increase/internal/type/file_input.rbs +25 -0
- data/sig/increase/internal/type/hash_of.rbs +48 -0
- data/sig/increase/internal/type/request_parameters.rbs +17 -0
- data/sig/increase/internal/type/union.rbs +52 -0
- data/sig/increase/internal/type/unknown.rbs +26 -0
- data/sig/increase/internal/util.rbs +185 -0
- data/sig/increase/internal.rbs +9 -0
- data/sig/increase/models/account.rbs +157 -0
- data/sig/increase/models/account_balance_params.rbs +25 -0
- data/sig/increase/models/account_close_params.rbs +15 -0
- data/sig/increase/models/account_create_params.rbs +47 -0
- data/sig/increase/models/account_list_params.rbs +149 -0
- data/sig/increase/models/account_number.rbs +157 -0
- data/sig/increase/models/account_number_create_params.rbs +111 -0
- data/sig/increase/models/account_number_list_params.rbs +182 -0
- data/sig/increase/models/account_number_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_number_update_params.rbs +138 -0
- data/sig/increase/models/account_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_statement.rbs +70 -0
- data/sig/increase/models/account_statement_list_params.rbs +86 -0
- data/sig/increase/models/account_statement_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_transfer.rbs +266 -0
- data/sig/increase/models/account_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/account_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/account_transfer_create_params.rbs +48 -0
- data/sig/increase/models/account_transfer_list_params.rbs +93 -0
- data/sig/increase/models/account_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/account_update_params.rbs +25 -0
- data/sig/increase/models/ach_prenotification.rbs +561 -0
- data/sig/increase/models/ach_prenotification_create_params.rbs +148 -0
- data/sig/increase/models/ach_prenotification_list_params.rbs +86 -0
- data/sig/increase/models/ach_prenotification_retrieve_params.rbs +15 -0
- data/sig/increase/models/ach_transfer.rbs +1207 -0
- data/sig/increase/models/ach_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/ach_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/ach_transfer_create_params.rbs +379 -0
- data/sig/increase/models/ach_transfer_list_params.rbs +172 -0
- data/sig/increase/models/ach_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/balance_lookup.rbs +45 -0
- data/sig/increase/models/bookkeeping_account.rbs +74 -0
- data/sig/increase/models/bookkeeping_account_balance_params.rbs +25 -0
- data/sig/increase/models/bookkeeping_account_create_params.rbs +63 -0
- data/sig/increase/models/bookkeeping_account_list_params.rbs +38 -0
- data/sig/increase/models/bookkeeping_account_update_params.rbs +23 -0
- data/sig/increase/models/bookkeeping_balance_lookup.rbs +40 -0
- data/sig/increase/models/bookkeeping_entry.rbs +55 -0
- data/sig/increase/models/bookkeeping_entry_list_params.rbs +38 -0
- data/sig/increase/models/bookkeeping_entry_retrieve_params.rbs +15 -0
- data/sig/increase/models/bookkeeping_entry_set.rbs +78 -0
- data/sig/increase/models/bookkeeping_entry_set_create_params.rbs +52 -0
- data/sig/increase/models/bookkeeping_entry_set_list_params.rbs +49 -0
- data/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs +15 -0
- data/sig/increase/models/card.rbs +167 -0
- data/sig/increase/models/card_create_params.rbs +126 -0
- data/sig/increase/models/card_details.rbs +55 -0
- data/sig/increase/models/card_details_params.rbs +15 -0
- data/sig/increase/models/card_dispute.rbs +207 -0
- data/sig/increase/models/card_dispute_create_params.rbs +34 -0
- data/sig/increase/models/card_dispute_list_params.rbs +146 -0
- data/sig/increase/models/card_dispute_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_list_params.rbs +138 -0
- data/sig/increase/models/card_payment.rbs +4955 -0
- data/sig/increase/models/card_payment_list_params.rbs +93 -0
- data/sig/increase/models/card_payment_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_purchase_supplement.rbs +329 -0
- data/sig/increase/models/card_purchase_supplement_list_params.rbs +86 -0
- data/sig/increase/models/card_purchase_supplement_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_retrieve_params.rbs +15 -0
- data/sig/increase/models/card_update_params.rbs +147 -0
- data/sig/increase/models/check_deposit.rbs +643 -0
- data/sig/increase/models/check_deposit_create_params.rbs +48 -0
- data/sig/increase/models/check_deposit_list_params.rbs +93 -0
- data/sig/increase/models/check_deposit_retrieve_params.rbs +15 -0
- data/sig/increase/models/check_transfer.rbs +729 -0
- data/sig/increase/models/check_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/check_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/check_transfer_create_params.rbs +262 -0
- data/sig/increase/models/check_transfer_list_params.rbs +169 -0
- data/sig/increase/models/check_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/check_transfer_stop_payment_params.rbs +45 -0
- data/sig/increase/models/declined_transaction.rbs +1469 -0
- data/sig/increase/models/declined_transaction_list_params.rbs +159 -0
- data/sig/increase/models/declined_transaction_retrieve_params.rbs +15 -0
- data/sig/increase/models/digital_card_profile.rbs +129 -0
- data/sig/increase/models/digital_card_profile_archive_params.rbs +15 -0
- data/sig/increase/models/digital_card_profile_clone_params.rbs +100 -0
- data/sig/increase/models/digital_card_profile_create_params.rbs +90 -0
- data/sig/increase/models/digital_card_profile_list_params.rbs +92 -0
- data/sig/increase/models/digital_card_profile_retrieve_params.rbs +15 -0
- data/sig/increase/models/digital_wallet_token.rbs +238 -0
- data/sig/increase/models/digital_wallet_token_list_params.rbs +86 -0
- data/sig/increase/models/digital_wallet_token_retrieve_params.rbs +15 -0
- data/sig/increase/models/document.rbs +103 -0
- data/sig/increase/models/document_create_params.rbs +61 -0
- data/sig/increase/models/document_list_params.rbs +149 -0
- data/sig/increase/models/document_retrieve_params.rbs +15 -0
- data/sig/increase/models/entity.rbs +1170 -0
- data/sig/increase/models/entity_archive_beneficial_owner_params.rbs +24 -0
- data/sig/increase/models/entity_archive_params.rbs +15 -0
- data/sig/increase/models/entity_confirm_params.rbs +25 -0
- data/sig/increase/models/entity_create_beneficial_owner_params.rbs +333 -0
- data/sig/increase/models/entity_create_params.rbs +1889 -0
- data/sig/increase/models/entity_list_params.rbs +131 -0
- data/sig/increase/models/entity_retrieve_params.rbs +15 -0
- data/sig/increase/models/entity_supplemental_document.rbs +50 -0
- data/sig/increase/models/entity_update_address_params.rbs +63 -0
- data/sig/increase/models/entity_update_beneficial_owner_address_params.rbs +81 -0
- data/sig/increase/models/entity_update_industry_code_params.rbs +23 -0
- data/sig/increase/models/event.rbs +423 -0
- data/sig/increase/models/event_list_params.rbs +482 -0
- data/sig/increase/models/event_retrieve_params.rbs +15 -0
- data/sig/increase/models/event_subscription.rbs +453 -0
- data/sig/increase/models/event_subscription_create_params.rbs +417 -0
- data/sig/increase/models/event_subscription_list_params.rbs +38 -0
- data/sig/increase/models/event_subscription_retrieve_params.rbs +15 -0
- data/sig/increase/models/event_subscription_update_params.rbs +45 -0
- data/sig/increase/models/export.rbs +118 -0
- data/sig/increase/models/export_create_params.rbs +427 -0
- data/sig/increase/models/export_list_params.rbs +195 -0
- data/sig/increase/models/export_retrieve_params.rbs +15 -0
- data/sig/increase/models/external_account.rbs +123 -0
- data/sig/increase/models/external_account_create_params.rbs +88 -0
- data/sig/increase/models/external_account_list_params.rbs +93 -0
- data/sig/increase/models/external_account_retrieve_params.rbs +15 -0
- data/sig/increase/models/external_account_update_params.rbs +100 -0
- data/sig/increase/models/file.rbs +196 -0
- data/sig/increase/models/file_create_params.rbs +110 -0
- data/sig/increase/models/file_link.rbs +60 -0
- data/sig/increase/models/file_link_create_params.rbs +30 -0
- data/sig/increase/models/file_list_params.rbs +226 -0
- data/sig/increase/models/file_retrieve_params.rbs +15 -0
- data/sig/increase/models/group.rbs +78 -0
- data/sig/increase/models/group_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_ach_transfer.rbs +886 -0
- data/sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs +32 -0
- data/sig/increase/models/inbound_ach_transfer_decline_params.rbs +76 -0
- data/sig/increase/models/inbound_ach_transfer_list_params.rbs +143 -0
- data/sig/increase/models/inbound_ach_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs +74 -0
- data/sig/increase/models/inbound_check_deposit.rbs +304 -0
- data/sig/increase/models/inbound_check_deposit_decline_params.rbs +15 -0
- data/sig/increase/models/inbound_check_deposit_list_params.rbs +93 -0
- data/sig/increase/models/inbound_check_deposit_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_check_deposit_return_params.rbs +52 -0
- data/sig/increase/models/inbound_mail_item.rbs +100 -0
- data/sig/increase/models/inbound_mail_item_list_params.rbs +86 -0
- data/sig/increase/models/inbound_mail_item_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_real_time_payments_transfer.rbs +222 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs +93 -0
- data/sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_wire_drawdown_request.rbs +140 -0
- data/sig/increase/models/inbound_wire_drawdown_request_list_params.rbs +32 -0
- data/sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +211 -0
- data/sig/increase/models/inbound_wire_transfer_list_params.rbs +143 -0
- data/sig/increase/models/inbound_wire_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/inbound_wire_transfer_reverse_params.rbs +38 -0
- data/sig/increase/models/intrafi_account_enrollment.rbs +88 -0
- data/sig/increase/models/intrafi_account_enrollment_create_params.rbs +28 -0
- data/sig/increase/models/intrafi_account_enrollment_list_params.rbs +107 -0
- data/sig/increase/models/intrafi_account_enrollment_retrieve_params.rbs +15 -0
- data/sig/increase/models/intrafi_account_enrollment_unenroll_params.rbs +15 -0
- data/sig/increase/models/intrafi_balance.rbs +130 -0
- data/sig/increase/models/intrafi_balance_intrafi_balance_params.rbs +15 -0
- data/sig/increase/models/intrafi_exclusion.rbs +92 -0
- data/sig/increase/models/intrafi_exclusion_archive_params.rbs +15 -0
- data/sig/increase/models/intrafi_exclusion_create_params.rbs +28 -0
- data/sig/increase/models/intrafi_exclusion_list_params.rbs +49 -0
- data/sig/increase/models/intrafi_exclusion_retrieve_params.rbs +15 -0
- data/sig/increase/models/lockbox.rbs +126 -0
- data/sig/increase/models/lockbox_create_params.rbs +36 -0
- data/sig/increase/models/lockbox_list_params.rbs +93 -0
- data/sig/increase/models/lockbox_retrieve_params.rbs +15 -0
- data/sig/increase/models/lockbox_update_params.rbs +58 -0
- data/sig/increase/models/oauth_application.rbs +74 -0
- data/sig/increase/models/oauth_application_list_params.rbs +123 -0
- data/sig/increase/models/oauth_application_retrieve_params.rbs +15 -0
- data/sig/increase/models/oauth_connection.rbs +74 -0
- data/sig/increase/models/oauth_connection_list_params.rbs +86 -0
- data/sig/increase/models/oauth_connection_retrieve_params.rbs +15 -0
- data/sig/increase/models/oauth_token.rbs +50 -0
- data/sig/increase/models/oauth_token_create_params.rbs +68 -0
- data/sig/increase/models/pending_transaction.rbs +1266 -0
- data/sig/increase/models/pending_transaction_create_params.rbs +34 -0
- data/sig/increase/models/pending_transaction_list_params.rbs +227 -0
- data/sig/increase/models/pending_transaction_release_params.rbs +15 -0
- data/sig/increase/models/pending_transaction_retrieve_params.rbs +15 -0
- data/sig/increase/models/physical_card.rbs +338 -0
- data/sig/increase/models/physical_card_create_params.rbs +152 -0
- data/sig/increase/models/physical_card_list_params.rbs +93 -0
- data/sig/increase/models/physical_card_profile.rbs +136 -0
- data/sig/increase/models/physical_card_profile_archive_params.rbs +15 -0
- data/sig/increase/models/physical_card_profile_clone_params.rbs +72 -0
- data/sig/increase/models/physical_card_profile_create_params.rbs +69 -0
- data/sig/increase/models/physical_card_profile_list_params.rbs +104 -0
- data/sig/increase/models/physical_card_profile_retrieve_params.rbs +15 -0
- data/sig/increase/models/physical_card_retrieve_params.rbs +15 -0
- data/sig/increase/models/physical_card_update_params.rbs +41 -0
- data/sig/increase/models/program.rbs +87 -0
- data/sig/increase/models/program_list_params.rbs +32 -0
- data/sig/increase/models/program_retrieve_params.rbs +15 -0
- data/sig/increase/models/real_time_decision.rbs +998 -0
- data/sig/increase/models/real_time_decision_action_params.rbs +317 -0
- data/sig/increase/models/real_time_decision_retrieve_params.rbs +15 -0
- data/sig/increase/models/real_time_payments_transfer.rbs +467 -0
- data/sig/increase/models/real_time_payments_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/real_time_payments_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/real_time_payments_transfer_create_params.rbs +90 -0
- data/sig/increase/models/real_time_payments_transfer_list_params.rbs +170 -0
- data/sig/increase/models/real_time_payments_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models/routing_number_list_params.rbs +36 -0
- data/sig/increase/models/routing_number_list_response.rbs +97 -0
- data/sig/increase/models/simulations/account_statement_create_params.rbs +25 -0
- data/sig/increase/models/simulations/account_transfer_complete_params.rbs +17 -0
- data/sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs +17 -0
- data/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +117 -0
- data/sig/increase/models/simulations/ach_transfer_return_params.rbs +320 -0
- data/sig/increase/models/simulations/ach_transfer_settle_params.rbs +17 -0
- data/sig/increase/models/simulations/ach_transfer_submit_params.rbs +17 -0
- data/sig/increase/models/simulations/card_authorization_create_params.rbs +314 -0
- data/sig/increase/models/simulations/card_authorization_create_response.rbs +42 -0
- data/sig/increase/models/simulations/card_authorization_expiration_create_params.rbs +26 -0
- data/sig/increase/models/simulations/card_dispute_action_params.rbs +59 -0
- data/sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs +30 -0
- data/sig/increase/models/simulations/card_increment_create_params.rbs +40 -0
- data/sig/increase/models/simulations/card_refund_create_params.rbs +26 -0
- data/sig/increase/models/simulations/card_reversal_create_params.rbs +32 -0
- data/sig/increase/models/simulations/card_settlement_create_params.rbs +36 -0
- data/sig/increase/models/simulations/check_deposit_reject_params.rbs +17 -0
- data/sig/increase/models/simulations/check_deposit_return_params.rbs +17 -0
- data/sig/increase/models/simulations/check_deposit_submit_params.rbs +17 -0
- data/sig/increase/models/simulations/check_transfer_mail_params.rbs +17 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs +25 -0
- data/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +66 -0
- data/sig/increase/models/simulations/document_create_params.rbs +25 -0
- data/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs +243 -0
- data/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs +34 -0
- data/sig/increase/models/simulations/inbound_funds_hold_release_params.rbs +17 -0
- data/sig/increase/models/simulations/inbound_funds_hold_release_response.rbs +117 -0
- data/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +36 -0
- data/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs +68 -0
- data/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs +147 -0
- data/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +138 -0
- data/sig/increase/models/simulations/interest_payment_create_params.rbs +54 -0
- data/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs +68 -0
- data/sig/increase/models/simulations/physical_card_tracking_updates_params.rbs +80 -0
- data/sig/increase/models/simulations/program_create_params.rbs +32 -0
- data/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +141 -0
- data/sig/increase/models/simulations/wire_transfer_reverse_params.rbs +17 -0
- data/sig/increase/models/simulations/wire_transfer_submit_params.rbs +17 -0
- data/sig/increase/models/supplemental_document_create_params.rbs +28 -0
- data/sig/increase/models/supplemental_document_list_params.rbs +47 -0
- data/sig/increase/models/transaction.rbs +4400 -0
- data/sig/increase/models/transaction_list_params.rbs +253 -0
- data/sig/increase/models/transaction_retrieve_params.rbs +15 -0
- data/sig/increase/models/wire_drawdown_request.rbs +161 -0
- data/sig/increase/models/wire_drawdown_request_create_params.rbs +100 -0
- data/sig/increase/models/wire_drawdown_request_list_params.rbs +93 -0
- data/sig/increase/models/wire_drawdown_request_retrieve_params.rbs +15 -0
- data/sig/increase/models/wire_transfer.rbs +469 -0
- data/sig/increase/models/wire_transfer_approve_params.rbs +15 -0
- data/sig/increase/models/wire_transfer_cancel_params.rbs +15 -0
- data/sig/increase/models/wire_transfer_create_params.rbs +125 -0
- data/sig/increase/models/wire_transfer_list_params.rbs +100 -0
- data/sig/increase/models/wire_transfer_retrieve_params.rbs +15 -0
- data/sig/increase/models.rbs +441 -0
- data/sig/increase/request_options.rbs +34 -0
- data/sig/increase/resources/account_numbers.rbs +40 -0
- data/sig/increase/resources/account_statements.rbs +20 -0
- data/sig/increase/resources/account_transfers.rbs +40 -0
- data/sig/increase/resources/accounts.rbs +49 -0
- data/sig/increase/resources/ach_prenotifications.rbs +37 -0
- data/sig/increase/resources/ach_transfers.rbs +56 -0
- data/sig/increase/resources/bookkeeping_accounts.rbs +34 -0
- data/sig/increase/resources/bookkeeping_entries.rbs +19 -0
- data/sig/increase/resources/bookkeeping_entry_sets.rbs +27 -0
- data/sig/increase/resources/card_disputes.rbs +28 -0
- data/sig/increase/resources/card_payments.rbs +21 -0
- data/sig/increase/resources/card_purchase_supplements.rbs +20 -0
- data/sig/increase/resources/cards.rbs +46 -0
- data/sig/increase/resources/check_deposits.rbs +30 -0
- data/sig/increase/resources/check_transfers.rbs +50 -0
- data/sig/increase/resources/declined_transactions.rbs +22 -0
- data/sig/increase/resources/digital_card_profiles.rbs +52 -0
- data/sig/increase/resources/digital_wallet_tokens.rbs +20 -0
- data/sig/increase/resources/documents.rbs +28 -0
- data/sig/increase/resources/entities.rbs +76 -0
- data/sig/increase/resources/event_subscriptions.rbs +33 -0
- data/sig/increase/resources/events.rbs +21 -0
- data/sig/increase/resources/exports.rbs +33 -0
- data/sig/increase/resources/external_accounts.rbs +39 -0
- data/sig/increase/resources/file_links.rbs +13 -0
- data/sig/increase/resources/files.rbs +28 -0
- data/sig/increase/resources/groups.rbs +11 -0
- data/sig/increase/resources/inbound_ach_transfers.rbs +41 -0
- data/sig/increase/resources/inbound_check_deposits.rbs +32 -0
- data/sig/increase/resources/inbound_mail_items.rbs +20 -0
- data/sig/increase/resources/inbound_real_time_payments_transfers.rbs +21 -0
- data/sig/increase/resources/inbound_wire_drawdown_requests.rbs +18 -0
- data/sig/increase/resources/inbound_wire_transfers.rbs +28 -0
- data/sig/increase/resources/intrafi_account_enrollments.rbs +32 -0
- data/sig/increase/resources/intrafi_balances.rbs +12 -0
- data/sig/increase/resources/intrafi_exclusions.rbs +31 -0
- data/sig/increase/resources/lockboxes.rbs +36 -0
- data/sig/increase/resources/oauth_applications.rbs +20 -0
- data/sig/increase/resources/oauth_connections.rbs +20 -0
- data/sig/increase/resources/oauth_tokens.rbs +16 -0
- data/sig/increase/resources/pending_transactions.rbs +35 -0
- data/sig/increase/resources/physical_card_profiles.rbs +45 -0
- data/sig/increase/resources/physical_cards.rbs +35 -0
- data/sig/increase/resources/programs.rbs +18 -0
- data/sig/increase/resources/real_time_decisions.rbs +22 -0
- data/sig/increase/resources/real_time_payments_transfers.rbs +48 -0
- data/sig/increase/resources/routing_numbers.rbs +14 -0
- data/sig/increase/resources/simulations/account_statements.rbs +14 -0
- data/sig/increase/resources/simulations/account_transfers.rbs +14 -0
- data/sig/increase/resources/simulations/ach_transfers.rbs +37 -0
- data/sig/increase/resources/simulations/card_authorization_expirations.rbs +14 -0
- data/sig/increase/resources/simulations/card_authorizations.rbs +30 -0
- data/sig/increase/resources/simulations/card_disputes.rbs +16 -0
- data/sig/increase/resources/simulations/card_fuel_confirmations.rbs +15 -0
- data/sig/increase/resources/simulations/card_increments.rbs +16 -0
- data/sig/increase/resources/simulations/card_refunds.rbs +14 -0
- data/sig/increase/resources/simulations/card_reversals.rbs +15 -0
- data/sig/increase/resources/simulations/card_settlements.rbs +16 -0
- data/sig/increase/resources/simulations/check_deposits.rbs +24 -0
- data/sig/increase/resources/simulations/check_transfers.rbs +14 -0
- data/sig/increase/resources/simulations/digital_wallet_token_requests.rbs +14 -0
- data/sig/increase/resources/simulations/documents.rbs +14 -0
- data/sig/increase/resources/simulations/inbound_ach_transfers.rbs +25 -0
- data/sig/increase/resources/simulations/inbound_check_deposits.rbs +16 -0
- data/sig/increase/resources/simulations/inbound_funds_holds.rbs +14 -0
- data/sig/increase/resources/simulations/inbound_mail_items.rbs +16 -0
- data/sig/increase/resources/simulations/inbound_real_time_payments_transfers.rbs +20 -0
- data/sig/increase/resources/simulations/inbound_wire_drawdown_requests.rbs +33 -0
- data/sig/increase/resources/simulations/inbound_wire_transfers.rbs +30 -0
- data/sig/increase/resources/simulations/interest_payments.rbs +18 -0
- data/sig/increase/resources/simulations/physical_cards.rbs +25 -0
- data/sig/increase/resources/simulations/programs.rbs +15 -0
- data/sig/increase/resources/simulations/real_time_payments_transfers.rbs +15 -0
- data/sig/increase/resources/simulations/wire_transfers.rbs +19 -0
- data/sig/increase/resources/simulations.rbs +61 -0
- data/sig/increase/resources/supplemental_documents.rbs +21 -0
- data/sig/increase/resources/transactions.rbs +22 -0
- data/sig/increase/resources/wire_drawdown_requests.rbs +37 -0
- data/sig/increase/resources/wire_transfers.rbs +52 -0
- data/sig/increase/version.rbs +3 -0
- metadata +1068 -176
- data/.rspec +0 -3
- data/.standard.yml +0 -3
- data/Gemfile +0 -6
- data/LICENSE.txt +0 -21
- data/OPENAPI_VERSION +0 -1
- data/Rakefile +0 -10
- data/bin/generate +0 -152
- data/bin/setup +0 -8
- data/generate/resource.rb.erb +0 -18
- data/lib/increase/configuration.rb +0 -50
- data/lib/increase/file_upload.rb +0 -57
- data/lib/increase/middleware/encode_json.rb +0 -57
- data/lib/increase/middleware/parse_json.rb +0 -42
- data/lib/increase/middleware/raise_api_error.rb +0 -13
- data/lib/increase/resource.rb +0 -205
- data/lib/increase/resources/card_profiles.rb +0 -17
- data/lib/increase/resources/inbound_ach_transfer_returns.rb +0 -17
- data/lib/increase/resources/limits.rb +0 -19
- data/lib/increase/resources.rb +0 -4
- data/lib/increase/response_array.rb +0 -19
- data/lib/increase/response_hash.rb +0 -15
- data/lib/increase/util.rb +0 -15
- data/lib/increase/webhook/signature.rb +0 -70
- data/openapi.json +0 -32098
- data/sig/increase.rbs +0 -4
@@ -0,0 +1,3355 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
class DeclinedTransaction < Increase::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Increase::DeclinedTransaction, Increase::Internal::AnyHash)
|
9
|
+
end
|
10
|
+
|
11
|
+
# The Declined Transaction identifier.
|
12
|
+
sig { returns(String) }
|
13
|
+
attr_accessor :id
|
14
|
+
|
15
|
+
# The identifier for the Account the Declined Transaction belongs to.
|
16
|
+
sig { returns(String) }
|
17
|
+
attr_accessor :account_id
|
18
|
+
|
19
|
+
# The Declined Transaction amount in the minor unit of its currency. For dollars,
|
20
|
+
# for example, this is cents.
|
21
|
+
sig { returns(Integer) }
|
22
|
+
attr_accessor :amount
|
23
|
+
|
24
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
|
25
|
+
# Transaction occurred.
|
26
|
+
sig { returns(Time) }
|
27
|
+
attr_accessor :created_at
|
28
|
+
|
29
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
|
30
|
+
# Transaction's currency. This will match the currency on the Declined
|
31
|
+
# Transaction's Account.
|
32
|
+
sig { returns(Increase::DeclinedTransaction::Currency::TaggedSymbol) }
|
33
|
+
attr_accessor :currency
|
34
|
+
|
35
|
+
# This is the description the vendor provides.
|
36
|
+
sig { returns(String) }
|
37
|
+
attr_accessor :description
|
38
|
+
|
39
|
+
# The identifier for the route this Declined Transaction came through. Routes are
|
40
|
+
# things like cards and ACH details.
|
41
|
+
sig { returns(T.nilable(String)) }
|
42
|
+
attr_accessor :route_id
|
43
|
+
|
44
|
+
# The type of the route this Declined Transaction came through.
|
45
|
+
sig do
|
46
|
+
returns(
|
47
|
+
T.nilable(Increase::DeclinedTransaction::RouteType::TaggedSymbol)
|
48
|
+
)
|
49
|
+
end
|
50
|
+
attr_accessor :route_type
|
51
|
+
|
52
|
+
# This is an object giving more details on the network-level event that caused the
|
53
|
+
# Declined Transaction. For example, for a card transaction this lists the
|
54
|
+
# merchant's industry and location. Note that for backwards compatibility reasons,
|
55
|
+
# additional undocumented keys may appear in this object. These should be treated
|
56
|
+
# as deprecated and will be removed in the future.
|
57
|
+
sig { returns(Increase::DeclinedTransaction::Source) }
|
58
|
+
attr_reader :source
|
59
|
+
|
60
|
+
sig { params(source: Increase::DeclinedTransaction::Source::OrHash).void }
|
61
|
+
attr_writer :source
|
62
|
+
|
63
|
+
# A constant representing the object's type. For this resource it will always be
|
64
|
+
# `declined_transaction`.
|
65
|
+
sig { returns(Increase::DeclinedTransaction::Type::TaggedSymbol) }
|
66
|
+
attr_accessor :type
|
67
|
+
|
68
|
+
# Declined Transactions are refused additions and removals of money from your bank
|
69
|
+
# account. For example, Declined Transactions are caused when your Account has an
|
70
|
+
# insufficient balance or your Limits are triggered.
|
71
|
+
sig do
|
72
|
+
params(
|
73
|
+
id: String,
|
74
|
+
account_id: String,
|
75
|
+
amount: Integer,
|
76
|
+
created_at: Time,
|
77
|
+
currency: Increase::DeclinedTransaction::Currency::OrSymbol,
|
78
|
+
description: String,
|
79
|
+
route_id: T.nilable(String),
|
80
|
+
route_type:
|
81
|
+
T.nilable(Increase::DeclinedTransaction::RouteType::OrSymbol),
|
82
|
+
source: Increase::DeclinedTransaction::Source::OrHash,
|
83
|
+
type: Increase::DeclinedTransaction::Type::OrSymbol
|
84
|
+
).returns(T.attached_class)
|
85
|
+
end
|
86
|
+
def self.new(
|
87
|
+
# The Declined Transaction identifier.
|
88
|
+
id:,
|
89
|
+
# The identifier for the Account the Declined Transaction belongs to.
|
90
|
+
account_id:,
|
91
|
+
# The Declined Transaction amount in the minor unit of its currency. For dollars,
|
92
|
+
# for example, this is cents.
|
93
|
+
amount:,
|
94
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
|
95
|
+
# Transaction occurred.
|
96
|
+
created_at:,
|
97
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
|
98
|
+
# Transaction's currency. This will match the currency on the Declined
|
99
|
+
# Transaction's Account.
|
100
|
+
currency:,
|
101
|
+
# This is the description the vendor provides.
|
102
|
+
description:,
|
103
|
+
# The identifier for the route this Declined Transaction came through. Routes are
|
104
|
+
# things like cards and ACH details.
|
105
|
+
route_id:,
|
106
|
+
# The type of the route this Declined Transaction came through.
|
107
|
+
route_type:,
|
108
|
+
# This is an object giving more details on the network-level event that caused the
|
109
|
+
# Declined Transaction. For example, for a card transaction this lists the
|
110
|
+
# merchant's industry and location. Note that for backwards compatibility reasons,
|
111
|
+
# additional undocumented keys may appear in this object. These should be treated
|
112
|
+
# as deprecated and will be removed in the future.
|
113
|
+
source:,
|
114
|
+
# A constant representing the object's type. For this resource it will always be
|
115
|
+
# `declined_transaction`.
|
116
|
+
type:
|
117
|
+
)
|
118
|
+
end
|
119
|
+
|
120
|
+
sig do
|
121
|
+
override.returns(
|
122
|
+
{
|
123
|
+
id: String,
|
124
|
+
account_id: String,
|
125
|
+
amount: Integer,
|
126
|
+
created_at: Time,
|
127
|
+
currency: Increase::DeclinedTransaction::Currency::TaggedSymbol,
|
128
|
+
description: String,
|
129
|
+
route_id: T.nilable(String),
|
130
|
+
route_type:
|
131
|
+
T.nilable(Increase::DeclinedTransaction::RouteType::TaggedSymbol),
|
132
|
+
source: Increase::DeclinedTransaction::Source,
|
133
|
+
type: Increase::DeclinedTransaction::Type::TaggedSymbol
|
134
|
+
}
|
135
|
+
)
|
136
|
+
end
|
137
|
+
def to_hash
|
138
|
+
end
|
139
|
+
|
140
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined
|
141
|
+
# Transaction's currency. This will match the currency on the Declined
|
142
|
+
# Transaction's Account.
|
143
|
+
module Currency
|
144
|
+
extend Increase::Internal::Type::Enum
|
145
|
+
|
146
|
+
TaggedSymbol =
|
147
|
+
T.type_alias do
|
148
|
+
T.all(Symbol, Increase::DeclinedTransaction::Currency)
|
149
|
+
end
|
150
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
151
|
+
|
152
|
+
# Canadian Dollar (CAD)
|
153
|
+
CAD = T.let(:CAD, Increase::DeclinedTransaction::Currency::TaggedSymbol)
|
154
|
+
|
155
|
+
# Swiss Franc (CHF)
|
156
|
+
CHF = T.let(:CHF, Increase::DeclinedTransaction::Currency::TaggedSymbol)
|
157
|
+
|
158
|
+
# Euro (EUR)
|
159
|
+
EUR = T.let(:EUR, Increase::DeclinedTransaction::Currency::TaggedSymbol)
|
160
|
+
|
161
|
+
# British Pound (GBP)
|
162
|
+
GBP = T.let(:GBP, Increase::DeclinedTransaction::Currency::TaggedSymbol)
|
163
|
+
|
164
|
+
# Japanese Yen (JPY)
|
165
|
+
JPY = T.let(:JPY, Increase::DeclinedTransaction::Currency::TaggedSymbol)
|
166
|
+
|
167
|
+
# US Dollar (USD)
|
168
|
+
USD = T.let(:USD, Increase::DeclinedTransaction::Currency::TaggedSymbol)
|
169
|
+
|
170
|
+
sig do
|
171
|
+
override.returns(
|
172
|
+
T::Array[Increase::DeclinedTransaction::Currency::TaggedSymbol]
|
173
|
+
)
|
174
|
+
end
|
175
|
+
def self.values
|
176
|
+
end
|
177
|
+
end
|
178
|
+
|
179
|
+
# The type of the route this Declined Transaction came through.
|
180
|
+
module RouteType
|
181
|
+
extend Increase::Internal::Type::Enum
|
182
|
+
|
183
|
+
TaggedSymbol =
|
184
|
+
T.type_alias do
|
185
|
+
T.all(Symbol, Increase::DeclinedTransaction::RouteType)
|
186
|
+
end
|
187
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
188
|
+
|
189
|
+
# An Account Number.
|
190
|
+
ACCOUNT_NUMBER =
|
191
|
+
T.let(
|
192
|
+
:account_number,
|
193
|
+
Increase::DeclinedTransaction::RouteType::TaggedSymbol
|
194
|
+
)
|
195
|
+
|
196
|
+
# A Card.
|
197
|
+
CARD =
|
198
|
+
T.let(:card, Increase::DeclinedTransaction::RouteType::TaggedSymbol)
|
199
|
+
|
200
|
+
# A Lockbox.
|
201
|
+
LOCKBOX =
|
202
|
+
T.let(
|
203
|
+
:lockbox,
|
204
|
+
Increase::DeclinedTransaction::RouteType::TaggedSymbol
|
205
|
+
)
|
206
|
+
|
207
|
+
sig do
|
208
|
+
override.returns(
|
209
|
+
T::Array[Increase::DeclinedTransaction::RouteType::TaggedSymbol]
|
210
|
+
)
|
211
|
+
end
|
212
|
+
def self.values
|
213
|
+
end
|
214
|
+
end
|
215
|
+
|
216
|
+
class Source < Increase::Internal::Type::BaseModel
|
217
|
+
OrHash =
|
218
|
+
T.type_alias do
|
219
|
+
T.any(
|
220
|
+
Increase::DeclinedTransaction::Source,
|
221
|
+
Increase::Internal::AnyHash
|
222
|
+
)
|
223
|
+
end
|
224
|
+
|
225
|
+
# An ACH Decline object. This field will be present in the JSON response if and
|
226
|
+
# only if `category` is equal to `ach_decline`.
|
227
|
+
sig do
|
228
|
+
returns(T.nilable(Increase::DeclinedTransaction::Source::ACHDecline))
|
229
|
+
end
|
230
|
+
attr_reader :ach_decline
|
231
|
+
|
232
|
+
sig do
|
233
|
+
params(
|
234
|
+
ach_decline:
|
235
|
+
T.nilable(
|
236
|
+
Increase::DeclinedTransaction::Source::ACHDecline::OrHash
|
237
|
+
)
|
238
|
+
).void
|
239
|
+
end
|
240
|
+
attr_writer :ach_decline
|
241
|
+
|
242
|
+
# A Card Decline object. This field will be present in the JSON response if and
|
243
|
+
# only if `category` is equal to `card_decline`.
|
244
|
+
sig do
|
245
|
+
returns(T.nilable(Increase::DeclinedTransaction::Source::CardDecline))
|
246
|
+
end
|
247
|
+
attr_reader :card_decline
|
248
|
+
|
249
|
+
sig do
|
250
|
+
params(
|
251
|
+
card_decline:
|
252
|
+
T.nilable(
|
253
|
+
Increase::DeclinedTransaction::Source::CardDecline::OrHash
|
254
|
+
)
|
255
|
+
).void
|
256
|
+
end
|
257
|
+
attr_writer :card_decline
|
258
|
+
|
259
|
+
# The type of the resource. We may add additional possible values for this enum
|
260
|
+
# over time; your application should be able to handle such additions gracefully.
|
261
|
+
sig do
|
262
|
+
returns(Increase::DeclinedTransaction::Source::Category::TaggedSymbol)
|
263
|
+
end
|
264
|
+
attr_accessor :category
|
265
|
+
|
266
|
+
# A Check Decline object. This field will be present in the JSON response if and
|
267
|
+
# only if `category` is equal to `check_decline`.
|
268
|
+
sig do
|
269
|
+
returns(
|
270
|
+
T.nilable(Increase::DeclinedTransaction::Source::CheckDecline)
|
271
|
+
)
|
272
|
+
end
|
273
|
+
attr_reader :check_decline
|
274
|
+
|
275
|
+
sig do
|
276
|
+
params(
|
277
|
+
check_decline:
|
278
|
+
T.nilable(
|
279
|
+
Increase::DeclinedTransaction::Source::CheckDecline::OrHash
|
280
|
+
)
|
281
|
+
).void
|
282
|
+
end
|
283
|
+
attr_writer :check_decline
|
284
|
+
|
285
|
+
# A Check Deposit Rejection object. This field will be present in the JSON
|
286
|
+
# response if and only if `category` is equal to `check_deposit_rejection`.
|
287
|
+
sig do
|
288
|
+
returns(
|
289
|
+
T.nilable(
|
290
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection
|
291
|
+
)
|
292
|
+
)
|
293
|
+
end
|
294
|
+
attr_reader :check_deposit_rejection
|
295
|
+
|
296
|
+
sig do
|
297
|
+
params(
|
298
|
+
check_deposit_rejection:
|
299
|
+
T.nilable(
|
300
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::OrHash
|
301
|
+
)
|
302
|
+
).void
|
303
|
+
end
|
304
|
+
attr_writer :check_deposit_rejection
|
305
|
+
|
306
|
+
# An Inbound Real-Time Payments Transfer Decline object. This field will be
|
307
|
+
# present in the JSON response if and only if `category` is equal to
|
308
|
+
# `inbound_real_time_payments_transfer_decline`.
|
309
|
+
sig do
|
310
|
+
returns(
|
311
|
+
T.nilable(
|
312
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline
|
313
|
+
)
|
314
|
+
)
|
315
|
+
end
|
316
|
+
attr_reader :inbound_real_time_payments_transfer_decline
|
317
|
+
|
318
|
+
sig do
|
319
|
+
params(
|
320
|
+
inbound_real_time_payments_transfer_decline:
|
321
|
+
T.nilable(
|
322
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::OrHash
|
323
|
+
)
|
324
|
+
).void
|
325
|
+
end
|
326
|
+
attr_writer :inbound_real_time_payments_transfer_decline
|
327
|
+
|
328
|
+
# If the category of this Transaction source is equal to `other`, this field will
|
329
|
+
# contain an empty object, otherwise it will contain null.
|
330
|
+
sig { returns(T.nilable(T.anything)) }
|
331
|
+
attr_accessor :other
|
332
|
+
|
333
|
+
# A Wire Decline object. This field will be present in the JSON response if and
|
334
|
+
# only if `category` is equal to `wire_decline`.
|
335
|
+
sig do
|
336
|
+
returns(T.nilable(Increase::DeclinedTransaction::Source::WireDecline))
|
337
|
+
end
|
338
|
+
attr_reader :wire_decline
|
339
|
+
|
340
|
+
sig do
|
341
|
+
params(
|
342
|
+
wire_decline:
|
343
|
+
T.nilable(
|
344
|
+
Increase::DeclinedTransaction::Source::WireDecline::OrHash
|
345
|
+
)
|
346
|
+
).void
|
347
|
+
end
|
348
|
+
attr_writer :wire_decline
|
349
|
+
|
350
|
+
# This is an object giving more details on the network-level event that caused the
|
351
|
+
# Declined Transaction. For example, for a card transaction this lists the
|
352
|
+
# merchant's industry and location. Note that for backwards compatibility reasons,
|
353
|
+
# additional undocumented keys may appear in this object. These should be treated
|
354
|
+
# as deprecated and will be removed in the future.
|
355
|
+
sig do
|
356
|
+
params(
|
357
|
+
ach_decline:
|
358
|
+
T.nilable(
|
359
|
+
Increase::DeclinedTransaction::Source::ACHDecline::OrHash
|
360
|
+
),
|
361
|
+
card_decline:
|
362
|
+
T.nilable(
|
363
|
+
Increase::DeclinedTransaction::Source::CardDecline::OrHash
|
364
|
+
),
|
365
|
+
category: Increase::DeclinedTransaction::Source::Category::OrSymbol,
|
366
|
+
check_decline:
|
367
|
+
T.nilable(
|
368
|
+
Increase::DeclinedTransaction::Source::CheckDecline::OrHash
|
369
|
+
),
|
370
|
+
check_deposit_rejection:
|
371
|
+
T.nilable(
|
372
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::OrHash
|
373
|
+
),
|
374
|
+
inbound_real_time_payments_transfer_decline:
|
375
|
+
T.nilable(
|
376
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::OrHash
|
377
|
+
),
|
378
|
+
other: T.nilable(T.anything),
|
379
|
+
wire_decline:
|
380
|
+
T.nilable(
|
381
|
+
Increase::DeclinedTransaction::Source::WireDecline::OrHash
|
382
|
+
)
|
383
|
+
).returns(T.attached_class)
|
384
|
+
end
|
385
|
+
def self.new(
|
386
|
+
# An ACH Decline object. This field will be present in the JSON response if and
|
387
|
+
# only if `category` is equal to `ach_decline`.
|
388
|
+
ach_decline:,
|
389
|
+
# A Card Decline object. This field will be present in the JSON response if and
|
390
|
+
# only if `category` is equal to `card_decline`.
|
391
|
+
card_decline:,
|
392
|
+
# The type of the resource. We may add additional possible values for this enum
|
393
|
+
# over time; your application should be able to handle such additions gracefully.
|
394
|
+
category:,
|
395
|
+
# A Check Decline object. This field will be present in the JSON response if and
|
396
|
+
# only if `category` is equal to `check_decline`.
|
397
|
+
check_decline:,
|
398
|
+
# A Check Deposit Rejection object. This field will be present in the JSON
|
399
|
+
# response if and only if `category` is equal to `check_deposit_rejection`.
|
400
|
+
check_deposit_rejection:,
|
401
|
+
# An Inbound Real-Time Payments Transfer Decline object. This field will be
|
402
|
+
# present in the JSON response if and only if `category` is equal to
|
403
|
+
# `inbound_real_time_payments_transfer_decline`.
|
404
|
+
inbound_real_time_payments_transfer_decline:,
|
405
|
+
# If the category of this Transaction source is equal to `other`, this field will
|
406
|
+
# contain an empty object, otherwise it will contain null.
|
407
|
+
other:,
|
408
|
+
# A Wire Decline object. This field will be present in the JSON response if and
|
409
|
+
# only if `category` is equal to `wire_decline`.
|
410
|
+
wire_decline:
|
411
|
+
)
|
412
|
+
end
|
413
|
+
|
414
|
+
sig do
|
415
|
+
override.returns(
|
416
|
+
{
|
417
|
+
ach_decline:
|
418
|
+
T.nilable(Increase::DeclinedTransaction::Source::ACHDecline),
|
419
|
+
card_decline:
|
420
|
+
T.nilable(Increase::DeclinedTransaction::Source::CardDecline),
|
421
|
+
category:
|
422
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol,
|
423
|
+
check_decline:
|
424
|
+
T.nilable(Increase::DeclinedTransaction::Source::CheckDecline),
|
425
|
+
check_deposit_rejection:
|
426
|
+
T.nilable(
|
427
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection
|
428
|
+
),
|
429
|
+
inbound_real_time_payments_transfer_decline:
|
430
|
+
T.nilable(
|
431
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline
|
432
|
+
),
|
433
|
+
other: T.nilable(T.anything),
|
434
|
+
wire_decline:
|
435
|
+
T.nilable(Increase::DeclinedTransaction::Source::WireDecline)
|
436
|
+
}
|
437
|
+
)
|
438
|
+
end
|
439
|
+
def to_hash
|
440
|
+
end
|
441
|
+
|
442
|
+
class ACHDecline < Increase::Internal::Type::BaseModel
|
443
|
+
OrHash =
|
444
|
+
T.type_alias do
|
445
|
+
T.any(
|
446
|
+
Increase::DeclinedTransaction::Source::ACHDecline,
|
447
|
+
Increase::Internal::AnyHash
|
448
|
+
)
|
449
|
+
end
|
450
|
+
|
451
|
+
# The ACH Decline's identifier.
|
452
|
+
sig { returns(String) }
|
453
|
+
attr_accessor :id
|
454
|
+
|
455
|
+
# The declined amount in USD cents.
|
456
|
+
sig { returns(Integer) }
|
457
|
+
attr_accessor :amount
|
458
|
+
|
459
|
+
# The identifier of the Inbound ACH Transfer object associated with this decline.
|
460
|
+
sig { returns(String) }
|
461
|
+
attr_accessor :inbound_ach_transfer_id
|
462
|
+
|
463
|
+
# The descriptive date of the transfer.
|
464
|
+
sig { returns(T.nilable(String)) }
|
465
|
+
attr_accessor :originator_company_descriptive_date
|
466
|
+
|
467
|
+
# The additional information included with the transfer.
|
468
|
+
sig { returns(T.nilable(String)) }
|
469
|
+
attr_accessor :originator_company_discretionary_data
|
470
|
+
|
471
|
+
# The identifier of the company that initiated the transfer.
|
472
|
+
sig { returns(String) }
|
473
|
+
attr_accessor :originator_company_id
|
474
|
+
|
475
|
+
# The name of the company that initiated the transfer.
|
476
|
+
sig { returns(String) }
|
477
|
+
attr_accessor :originator_company_name
|
478
|
+
|
479
|
+
# Why the ACH transfer was declined.
|
480
|
+
sig do
|
481
|
+
returns(
|
482
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
483
|
+
)
|
484
|
+
end
|
485
|
+
attr_accessor :reason
|
486
|
+
|
487
|
+
# The id of the receiver of the transfer.
|
488
|
+
sig { returns(T.nilable(String)) }
|
489
|
+
attr_accessor :receiver_id_number
|
490
|
+
|
491
|
+
# The name of the receiver of the transfer.
|
492
|
+
sig { returns(T.nilable(String)) }
|
493
|
+
attr_accessor :receiver_name
|
494
|
+
|
495
|
+
# The trace number of the transfer.
|
496
|
+
sig { returns(String) }
|
497
|
+
attr_accessor :trace_number
|
498
|
+
|
499
|
+
# A constant representing the object's type. For this resource it will always be
|
500
|
+
# `ach_decline`.
|
501
|
+
sig do
|
502
|
+
returns(
|
503
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Type::TaggedSymbol
|
504
|
+
)
|
505
|
+
end
|
506
|
+
attr_accessor :type
|
507
|
+
|
508
|
+
# An ACH Decline object. This field will be present in the JSON response if and
|
509
|
+
# only if `category` is equal to `ach_decline`.
|
510
|
+
sig do
|
511
|
+
params(
|
512
|
+
id: String,
|
513
|
+
amount: Integer,
|
514
|
+
inbound_ach_transfer_id: String,
|
515
|
+
originator_company_descriptive_date: T.nilable(String),
|
516
|
+
originator_company_discretionary_data: T.nilable(String),
|
517
|
+
originator_company_id: String,
|
518
|
+
originator_company_name: String,
|
519
|
+
reason:
|
520
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::OrSymbol,
|
521
|
+
receiver_id_number: T.nilable(String),
|
522
|
+
receiver_name: T.nilable(String),
|
523
|
+
trace_number: String,
|
524
|
+
type:
|
525
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Type::OrSymbol
|
526
|
+
).returns(T.attached_class)
|
527
|
+
end
|
528
|
+
def self.new(
|
529
|
+
# The ACH Decline's identifier.
|
530
|
+
id:,
|
531
|
+
# The declined amount in USD cents.
|
532
|
+
amount:,
|
533
|
+
# The identifier of the Inbound ACH Transfer object associated with this decline.
|
534
|
+
inbound_ach_transfer_id:,
|
535
|
+
# The descriptive date of the transfer.
|
536
|
+
originator_company_descriptive_date:,
|
537
|
+
# The additional information included with the transfer.
|
538
|
+
originator_company_discretionary_data:,
|
539
|
+
# The identifier of the company that initiated the transfer.
|
540
|
+
originator_company_id:,
|
541
|
+
# The name of the company that initiated the transfer.
|
542
|
+
originator_company_name:,
|
543
|
+
# Why the ACH transfer was declined.
|
544
|
+
reason:,
|
545
|
+
# The id of the receiver of the transfer.
|
546
|
+
receiver_id_number:,
|
547
|
+
# The name of the receiver of the transfer.
|
548
|
+
receiver_name:,
|
549
|
+
# The trace number of the transfer.
|
550
|
+
trace_number:,
|
551
|
+
# A constant representing the object's type. For this resource it will always be
|
552
|
+
# `ach_decline`.
|
553
|
+
type:
|
554
|
+
)
|
555
|
+
end
|
556
|
+
|
557
|
+
sig do
|
558
|
+
override.returns(
|
559
|
+
{
|
560
|
+
id: String,
|
561
|
+
amount: Integer,
|
562
|
+
inbound_ach_transfer_id: String,
|
563
|
+
originator_company_descriptive_date: T.nilable(String),
|
564
|
+
originator_company_discretionary_data: T.nilable(String),
|
565
|
+
originator_company_id: String,
|
566
|
+
originator_company_name: String,
|
567
|
+
reason:
|
568
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol,
|
569
|
+
receiver_id_number: T.nilable(String),
|
570
|
+
receiver_name: T.nilable(String),
|
571
|
+
trace_number: String,
|
572
|
+
type:
|
573
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Type::TaggedSymbol
|
574
|
+
}
|
575
|
+
)
|
576
|
+
end
|
577
|
+
def to_hash
|
578
|
+
end
|
579
|
+
|
580
|
+
# Why the ACH transfer was declined.
|
581
|
+
module Reason
|
582
|
+
extend Increase::Internal::Type::Enum
|
583
|
+
|
584
|
+
TaggedSymbol =
|
585
|
+
T.type_alias do
|
586
|
+
T.all(
|
587
|
+
Symbol,
|
588
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason
|
589
|
+
)
|
590
|
+
end
|
591
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
592
|
+
|
593
|
+
# The account number is canceled.
|
594
|
+
ACH_ROUTE_CANCELED =
|
595
|
+
T.let(
|
596
|
+
:ach_route_canceled,
|
597
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
598
|
+
)
|
599
|
+
|
600
|
+
# The account number is disabled.
|
601
|
+
ACH_ROUTE_DISABLED =
|
602
|
+
T.let(
|
603
|
+
:ach_route_disabled,
|
604
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
605
|
+
)
|
606
|
+
|
607
|
+
# The transaction would cause an Increase limit to be exceeded.
|
608
|
+
BREACHES_LIMIT =
|
609
|
+
T.let(
|
610
|
+
:breaches_limit,
|
611
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
612
|
+
)
|
613
|
+
|
614
|
+
# The account's entity is not active.
|
615
|
+
ENTITY_NOT_ACTIVE =
|
616
|
+
T.let(
|
617
|
+
:entity_not_active,
|
618
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
619
|
+
)
|
620
|
+
|
621
|
+
# Your account is inactive.
|
622
|
+
GROUP_LOCKED =
|
623
|
+
T.let(
|
624
|
+
:group_locked,
|
625
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
626
|
+
)
|
627
|
+
|
628
|
+
# The transaction is not allowed per Increase's terms.
|
629
|
+
TRANSACTION_NOT_ALLOWED =
|
630
|
+
T.let(
|
631
|
+
:transaction_not_allowed,
|
632
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
633
|
+
)
|
634
|
+
|
635
|
+
# Your integration declined this transfer via the API.
|
636
|
+
USER_INITIATED =
|
637
|
+
T.let(
|
638
|
+
:user_initiated,
|
639
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
640
|
+
)
|
641
|
+
|
642
|
+
# Your account contains insufficient funds.
|
643
|
+
INSUFFICIENT_FUNDS =
|
644
|
+
T.let(
|
645
|
+
:insufficient_funds,
|
646
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
647
|
+
)
|
648
|
+
|
649
|
+
# The originating financial institution asked for this transfer to be returned. The receiving bank is complying with the request.
|
650
|
+
RETURNED_PER_ODFI_REQUEST =
|
651
|
+
T.let(
|
652
|
+
:returned_per_odfi_request,
|
653
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
654
|
+
)
|
655
|
+
|
656
|
+
# The customer no longer authorizes this transaction.
|
657
|
+
AUTHORIZATION_REVOKED_BY_CUSTOMER =
|
658
|
+
T.let(
|
659
|
+
:authorization_revoked_by_customer,
|
660
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
661
|
+
)
|
662
|
+
|
663
|
+
# The customer asked for the payment to be stopped.
|
664
|
+
PAYMENT_STOPPED =
|
665
|
+
T.let(
|
666
|
+
:payment_stopped,
|
667
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
668
|
+
)
|
669
|
+
|
670
|
+
# The customer advises that the debit was unauthorized.
|
671
|
+
CUSTOMER_ADVISED_UNAUTHORIZED_IMPROPER_INELIGIBLE_OR_INCOMPLETE =
|
672
|
+
T.let(
|
673
|
+
:customer_advised_unauthorized_improper_ineligible_or_incomplete,
|
674
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
675
|
+
)
|
676
|
+
|
677
|
+
# The payee is deceased.
|
678
|
+
REPRESENTATIVE_PAYEE_DECEASED_OR_UNABLE_TO_CONTINUE_IN_THAT_CAPACITY =
|
679
|
+
T.let(
|
680
|
+
:representative_payee_deceased_or_unable_to_continue_in_that_capacity,
|
681
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
682
|
+
)
|
683
|
+
|
684
|
+
# The account holder is deceased.
|
685
|
+
BENEFICIARY_OR_ACCOUNT_HOLDER_DECEASED =
|
686
|
+
T.let(
|
687
|
+
:beneficiary_or_account_holder_deceased,
|
688
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
689
|
+
)
|
690
|
+
|
691
|
+
# The customer refused a credit entry.
|
692
|
+
CREDIT_ENTRY_REFUSED_BY_RECEIVER =
|
693
|
+
T.let(
|
694
|
+
:credit_entry_refused_by_receiver,
|
695
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
696
|
+
)
|
697
|
+
|
698
|
+
# The account holder identified this transaction as a duplicate.
|
699
|
+
DUPLICATE_ENTRY =
|
700
|
+
T.let(
|
701
|
+
:duplicate_entry,
|
702
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
703
|
+
)
|
704
|
+
|
705
|
+
# The corporate customer no longer authorizes this transaction.
|
706
|
+
CORPORATE_CUSTOMER_ADVISED_NOT_AUTHORIZED =
|
707
|
+
T.let(
|
708
|
+
:corporate_customer_advised_not_authorized,
|
709
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
710
|
+
)
|
711
|
+
|
712
|
+
sig do
|
713
|
+
override.returns(
|
714
|
+
T::Array[
|
715
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Reason::TaggedSymbol
|
716
|
+
]
|
717
|
+
)
|
718
|
+
end
|
719
|
+
def self.values
|
720
|
+
end
|
721
|
+
end
|
722
|
+
|
723
|
+
# A constant representing the object's type. For this resource it will always be
|
724
|
+
# `ach_decline`.
|
725
|
+
module Type
|
726
|
+
extend Increase::Internal::Type::Enum
|
727
|
+
|
728
|
+
TaggedSymbol =
|
729
|
+
T.type_alias do
|
730
|
+
T.all(
|
731
|
+
Symbol,
|
732
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Type
|
733
|
+
)
|
734
|
+
end
|
735
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
736
|
+
|
737
|
+
ACH_DECLINE =
|
738
|
+
T.let(
|
739
|
+
:ach_decline,
|
740
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Type::TaggedSymbol
|
741
|
+
)
|
742
|
+
|
743
|
+
sig do
|
744
|
+
override.returns(
|
745
|
+
T::Array[
|
746
|
+
Increase::DeclinedTransaction::Source::ACHDecline::Type::TaggedSymbol
|
747
|
+
]
|
748
|
+
)
|
749
|
+
end
|
750
|
+
def self.values
|
751
|
+
end
|
752
|
+
end
|
753
|
+
end
|
754
|
+
|
755
|
+
class CardDecline < Increase::Internal::Type::BaseModel
|
756
|
+
OrHash =
|
757
|
+
T.type_alias do
|
758
|
+
T.any(
|
759
|
+
Increase::DeclinedTransaction::Source::CardDecline,
|
760
|
+
Increase::Internal::AnyHash
|
761
|
+
)
|
762
|
+
end
|
763
|
+
|
764
|
+
# The Card Decline identifier.
|
765
|
+
sig { returns(String) }
|
766
|
+
attr_accessor :id
|
767
|
+
|
768
|
+
# Whether this authorization was approved by Increase, the card network through
|
769
|
+
# stand-in processing, or the user through a real-time decision.
|
770
|
+
sig do
|
771
|
+
returns(
|
772
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner::TaggedSymbol
|
773
|
+
)
|
774
|
+
end
|
775
|
+
attr_accessor :actioner
|
776
|
+
|
777
|
+
# The declined amount in the minor unit of the destination account currency. For
|
778
|
+
# dollars, for example, this is cents.
|
779
|
+
sig { returns(Integer) }
|
780
|
+
attr_accessor :amount
|
781
|
+
|
782
|
+
# The ID of the Card Payment this transaction belongs to.
|
783
|
+
sig { returns(String) }
|
784
|
+
attr_accessor :card_payment_id
|
785
|
+
|
786
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
787
|
+
# account currency.
|
788
|
+
sig do
|
789
|
+
returns(
|
790
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
791
|
+
)
|
792
|
+
end
|
793
|
+
attr_accessor :currency
|
794
|
+
|
795
|
+
# The identifier of the declined transaction created for this Card Decline.
|
796
|
+
sig { returns(String) }
|
797
|
+
attr_accessor :declined_transaction_id
|
798
|
+
|
799
|
+
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
800
|
+
# purchase), the identifier of the token that was used.
|
801
|
+
sig { returns(T.nilable(String)) }
|
802
|
+
attr_accessor :digital_wallet_token_id
|
803
|
+
|
804
|
+
# The direction describes the direction the funds will move, either from the
|
805
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
806
|
+
sig do
|
807
|
+
returns(
|
808
|
+
Increase::DeclinedTransaction::Source::CardDecline::Direction::TaggedSymbol
|
809
|
+
)
|
810
|
+
end
|
811
|
+
attr_accessor :direction
|
812
|
+
|
813
|
+
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
814
|
+
# is transacting with.
|
815
|
+
sig { returns(String) }
|
816
|
+
attr_accessor :merchant_acceptor_id
|
817
|
+
|
818
|
+
# The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
819
|
+
# card is transacting with.
|
820
|
+
sig { returns(String) }
|
821
|
+
attr_accessor :merchant_category_code
|
822
|
+
|
823
|
+
# The city the merchant resides in.
|
824
|
+
sig { returns(T.nilable(String)) }
|
825
|
+
attr_accessor :merchant_city
|
826
|
+
|
827
|
+
# The country the merchant resides in.
|
828
|
+
sig { returns(String) }
|
829
|
+
attr_accessor :merchant_country
|
830
|
+
|
831
|
+
# The merchant descriptor of the merchant the card is transacting with.
|
832
|
+
sig { returns(String) }
|
833
|
+
attr_accessor :merchant_descriptor
|
834
|
+
|
835
|
+
# The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
|
836
|
+
# ZIP code, where the first 5 and last 4 are separated by a dash.
|
837
|
+
sig { returns(T.nilable(String)) }
|
838
|
+
attr_accessor :merchant_postal_code
|
839
|
+
|
840
|
+
# The state the merchant resides in.
|
841
|
+
sig { returns(T.nilable(String)) }
|
842
|
+
attr_accessor :merchant_state
|
843
|
+
|
844
|
+
# Fields specific to the `network`.
|
845
|
+
sig do
|
846
|
+
returns(
|
847
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails
|
848
|
+
)
|
849
|
+
end
|
850
|
+
attr_reader :network_details
|
851
|
+
|
852
|
+
sig do
|
853
|
+
params(
|
854
|
+
network_details:
|
855
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::OrHash
|
856
|
+
).void
|
857
|
+
end
|
858
|
+
attr_writer :network_details
|
859
|
+
|
860
|
+
# Network-specific identifiers for a specific request or transaction.
|
861
|
+
sig do
|
862
|
+
returns(
|
863
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers
|
864
|
+
)
|
865
|
+
end
|
866
|
+
attr_reader :network_identifiers
|
867
|
+
|
868
|
+
sig do
|
869
|
+
params(
|
870
|
+
network_identifiers:
|
871
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers::OrHash
|
872
|
+
).void
|
873
|
+
end
|
874
|
+
attr_writer :network_identifiers
|
875
|
+
|
876
|
+
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
877
|
+
# Authorization risk score, from 0 to 99, where 99 is the riskiest.
|
878
|
+
sig { returns(T.nilable(Integer)) }
|
879
|
+
attr_accessor :network_risk_score
|
880
|
+
|
881
|
+
# If the authorization was made in-person with a physical card, the Physical Card
|
882
|
+
# that was used.
|
883
|
+
sig { returns(T.nilable(String)) }
|
884
|
+
attr_accessor :physical_card_id
|
885
|
+
|
886
|
+
# The declined amount in the minor unit of the transaction's presentment currency.
|
887
|
+
sig { returns(Integer) }
|
888
|
+
attr_accessor :presentment_amount
|
889
|
+
|
890
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
891
|
+
# transaction's presentment currency.
|
892
|
+
sig { returns(String) }
|
893
|
+
attr_accessor :presentment_currency
|
894
|
+
|
895
|
+
# The processing category describes the intent behind the authorization, such as
|
896
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
897
|
+
sig do
|
898
|
+
returns(
|
899
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
900
|
+
)
|
901
|
+
end
|
902
|
+
attr_accessor :processing_category
|
903
|
+
|
904
|
+
# The identifier of the Real-Time Decision sent to approve or decline this
|
905
|
+
# transaction.
|
906
|
+
sig { returns(T.nilable(String)) }
|
907
|
+
attr_accessor :real_time_decision_id
|
908
|
+
|
909
|
+
# This is present if a specific decline reason was given in the real-time
|
910
|
+
# decision.
|
911
|
+
sig do
|
912
|
+
returns(
|
913
|
+
T.nilable(
|
914
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
915
|
+
)
|
916
|
+
)
|
917
|
+
end
|
918
|
+
attr_accessor :real_time_decision_reason
|
919
|
+
|
920
|
+
# Why the transaction was declined.
|
921
|
+
sig do
|
922
|
+
returns(
|
923
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
924
|
+
)
|
925
|
+
end
|
926
|
+
attr_accessor :reason
|
927
|
+
|
928
|
+
# The terminal identifier (commonly abbreviated as TID) of the terminal the card
|
929
|
+
# is transacting with.
|
930
|
+
sig { returns(T.nilable(String)) }
|
931
|
+
attr_accessor :terminal_id
|
932
|
+
|
933
|
+
# Fields related to verification of cardholder-provided values.
|
934
|
+
sig do
|
935
|
+
returns(
|
936
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification
|
937
|
+
)
|
938
|
+
end
|
939
|
+
attr_reader :verification
|
940
|
+
|
941
|
+
sig do
|
942
|
+
params(
|
943
|
+
verification:
|
944
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::OrHash
|
945
|
+
).void
|
946
|
+
end
|
947
|
+
attr_writer :verification
|
948
|
+
|
949
|
+
# A Card Decline object. This field will be present in the JSON response if and
|
950
|
+
# only if `category` is equal to `card_decline`.
|
951
|
+
sig do
|
952
|
+
params(
|
953
|
+
id: String,
|
954
|
+
actioner:
|
955
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner::OrSymbol,
|
956
|
+
amount: Integer,
|
957
|
+
card_payment_id: String,
|
958
|
+
currency:
|
959
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::OrSymbol,
|
960
|
+
declined_transaction_id: String,
|
961
|
+
digital_wallet_token_id: T.nilable(String),
|
962
|
+
direction:
|
963
|
+
Increase::DeclinedTransaction::Source::CardDecline::Direction::OrSymbol,
|
964
|
+
merchant_acceptor_id: String,
|
965
|
+
merchant_category_code: String,
|
966
|
+
merchant_city: T.nilable(String),
|
967
|
+
merchant_country: String,
|
968
|
+
merchant_descriptor: String,
|
969
|
+
merchant_postal_code: T.nilable(String),
|
970
|
+
merchant_state: T.nilable(String),
|
971
|
+
network_details:
|
972
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::OrHash,
|
973
|
+
network_identifiers:
|
974
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers::OrHash,
|
975
|
+
network_risk_score: T.nilable(Integer),
|
976
|
+
physical_card_id: T.nilable(String),
|
977
|
+
presentment_amount: Integer,
|
978
|
+
presentment_currency: String,
|
979
|
+
processing_category:
|
980
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::OrSymbol,
|
981
|
+
real_time_decision_id: T.nilable(String),
|
982
|
+
real_time_decision_reason:
|
983
|
+
T.nilable(
|
984
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::OrSymbol
|
985
|
+
),
|
986
|
+
reason:
|
987
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::OrSymbol,
|
988
|
+
terminal_id: T.nilable(String),
|
989
|
+
verification:
|
990
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::OrHash
|
991
|
+
).returns(T.attached_class)
|
992
|
+
end
|
993
|
+
def self.new(
|
994
|
+
# The Card Decline identifier.
|
995
|
+
id:,
|
996
|
+
# Whether this authorization was approved by Increase, the card network through
|
997
|
+
# stand-in processing, or the user through a real-time decision.
|
998
|
+
actioner:,
|
999
|
+
# The declined amount in the minor unit of the destination account currency. For
|
1000
|
+
# dollars, for example, this is cents.
|
1001
|
+
amount:,
|
1002
|
+
# The ID of the Card Payment this transaction belongs to.
|
1003
|
+
card_payment_id:,
|
1004
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
1005
|
+
# account currency.
|
1006
|
+
currency:,
|
1007
|
+
# The identifier of the declined transaction created for this Card Decline.
|
1008
|
+
declined_transaction_id:,
|
1009
|
+
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
1010
|
+
# purchase), the identifier of the token that was used.
|
1011
|
+
digital_wallet_token_id:,
|
1012
|
+
# The direction describes the direction the funds will move, either from the
|
1013
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
1014
|
+
direction:,
|
1015
|
+
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
1016
|
+
# is transacting with.
|
1017
|
+
merchant_acceptor_id:,
|
1018
|
+
# The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
1019
|
+
# card is transacting with.
|
1020
|
+
merchant_category_code:,
|
1021
|
+
# The city the merchant resides in.
|
1022
|
+
merchant_city:,
|
1023
|
+
# The country the merchant resides in.
|
1024
|
+
merchant_country:,
|
1025
|
+
# The merchant descriptor of the merchant the card is transacting with.
|
1026
|
+
merchant_descriptor:,
|
1027
|
+
# The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
|
1028
|
+
# ZIP code, where the first 5 and last 4 are separated by a dash.
|
1029
|
+
merchant_postal_code:,
|
1030
|
+
# The state the merchant resides in.
|
1031
|
+
merchant_state:,
|
1032
|
+
# Fields specific to the `network`.
|
1033
|
+
network_details:,
|
1034
|
+
# Network-specific identifiers for a specific request or transaction.
|
1035
|
+
network_identifiers:,
|
1036
|
+
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
1037
|
+
# Authorization risk score, from 0 to 99, where 99 is the riskiest.
|
1038
|
+
network_risk_score:,
|
1039
|
+
# If the authorization was made in-person with a physical card, the Physical Card
|
1040
|
+
# that was used.
|
1041
|
+
physical_card_id:,
|
1042
|
+
# The declined amount in the minor unit of the transaction's presentment currency.
|
1043
|
+
presentment_amount:,
|
1044
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
1045
|
+
# transaction's presentment currency.
|
1046
|
+
presentment_currency:,
|
1047
|
+
# The processing category describes the intent behind the authorization, such as
|
1048
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
1049
|
+
processing_category:,
|
1050
|
+
# The identifier of the Real-Time Decision sent to approve or decline this
|
1051
|
+
# transaction.
|
1052
|
+
real_time_decision_id:,
|
1053
|
+
# This is present if a specific decline reason was given in the real-time
|
1054
|
+
# decision.
|
1055
|
+
real_time_decision_reason:,
|
1056
|
+
# Why the transaction was declined.
|
1057
|
+
reason:,
|
1058
|
+
# The terminal identifier (commonly abbreviated as TID) of the terminal the card
|
1059
|
+
# is transacting with.
|
1060
|
+
terminal_id:,
|
1061
|
+
# Fields related to verification of cardholder-provided values.
|
1062
|
+
verification:
|
1063
|
+
)
|
1064
|
+
end
|
1065
|
+
|
1066
|
+
sig do
|
1067
|
+
override.returns(
|
1068
|
+
{
|
1069
|
+
id: String,
|
1070
|
+
actioner:
|
1071
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner::TaggedSymbol,
|
1072
|
+
amount: Integer,
|
1073
|
+
card_payment_id: String,
|
1074
|
+
currency:
|
1075
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol,
|
1076
|
+
declined_transaction_id: String,
|
1077
|
+
digital_wallet_token_id: T.nilable(String),
|
1078
|
+
direction:
|
1079
|
+
Increase::DeclinedTransaction::Source::CardDecline::Direction::TaggedSymbol,
|
1080
|
+
merchant_acceptor_id: String,
|
1081
|
+
merchant_category_code: String,
|
1082
|
+
merchant_city: T.nilable(String),
|
1083
|
+
merchant_country: String,
|
1084
|
+
merchant_descriptor: String,
|
1085
|
+
merchant_postal_code: T.nilable(String),
|
1086
|
+
merchant_state: T.nilable(String),
|
1087
|
+
network_details:
|
1088
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails,
|
1089
|
+
network_identifiers:
|
1090
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers,
|
1091
|
+
network_risk_score: T.nilable(Integer),
|
1092
|
+
physical_card_id: T.nilable(String),
|
1093
|
+
presentment_amount: Integer,
|
1094
|
+
presentment_currency: String,
|
1095
|
+
processing_category:
|
1096
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol,
|
1097
|
+
real_time_decision_id: T.nilable(String),
|
1098
|
+
real_time_decision_reason:
|
1099
|
+
T.nilable(
|
1100
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1101
|
+
),
|
1102
|
+
reason:
|
1103
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol,
|
1104
|
+
terminal_id: T.nilable(String),
|
1105
|
+
verification:
|
1106
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification
|
1107
|
+
}
|
1108
|
+
)
|
1109
|
+
end
|
1110
|
+
def to_hash
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
# Whether this authorization was approved by Increase, the card network through
|
1114
|
+
# stand-in processing, or the user through a real-time decision.
|
1115
|
+
module Actioner
|
1116
|
+
extend Increase::Internal::Type::Enum
|
1117
|
+
|
1118
|
+
TaggedSymbol =
|
1119
|
+
T.type_alias do
|
1120
|
+
T.all(
|
1121
|
+
Symbol,
|
1122
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner
|
1123
|
+
)
|
1124
|
+
end
|
1125
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1126
|
+
|
1127
|
+
# This object was actioned by the user through a real-time decision.
|
1128
|
+
USER =
|
1129
|
+
T.let(
|
1130
|
+
:user,
|
1131
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner::TaggedSymbol
|
1132
|
+
)
|
1133
|
+
|
1134
|
+
# This object was actioned by Increase without user intervention.
|
1135
|
+
INCREASE =
|
1136
|
+
T.let(
|
1137
|
+
:increase,
|
1138
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner::TaggedSymbol
|
1139
|
+
)
|
1140
|
+
|
1141
|
+
# This object was actioned by the network, through stand-in processing.
|
1142
|
+
NETWORK =
|
1143
|
+
T.let(
|
1144
|
+
:network,
|
1145
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner::TaggedSymbol
|
1146
|
+
)
|
1147
|
+
|
1148
|
+
sig do
|
1149
|
+
override.returns(
|
1150
|
+
T::Array[
|
1151
|
+
Increase::DeclinedTransaction::Source::CardDecline::Actioner::TaggedSymbol
|
1152
|
+
]
|
1153
|
+
)
|
1154
|
+
end
|
1155
|
+
def self.values
|
1156
|
+
end
|
1157
|
+
end
|
1158
|
+
|
1159
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
1160
|
+
# account currency.
|
1161
|
+
module Currency
|
1162
|
+
extend Increase::Internal::Type::Enum
|
1163
|
+
|
1164
|
+
TaggedSymbol =
|
1165
|
+
T.type_alias do
|
1166
|
+
T.all(
|
1167
|
+
Symbol,
|
1168
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency
|
1169
|
+
)
|
1170
|
+
end
|
1171
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1172
|
+
|
1173
|
+
# Canadian Dollar (CAD)
|
1174
|
+
CAD =
|
1175
|
+
T.let(
|
1176
|
+
:CAD,
|
1177
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
1178
|
+
)
|
1179
|
+
|
1180
|
+
# Swiss Franc (CHF)
|
1181
|
+
CHF =
|
1182
|
+
T.let(
|
1183
|
+
:CHF,
|
1184
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
1185
|
+
)
|
1186
|
+
|
1187
|
+
# Euro (EUR)
|
1188
|
+
EUR =
|
1189
|
+
T.let(
|
1190
|
+
:EUR,
|
1191
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
1192
|
+
)
|
1193
|
+
|
1194
|
+
# British Pound (GBP)
|
1195
|
+
GBP =
|
1196
|
+
T.let(
|
1197
|
+
:GBP,
|
1198
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
1199
|
+
)
|
1200
|
+
|
1201
|
+
# Japanese Yen (JPY)
|
1202
|
+
JPY =
|
1203
|
+
T.let(
|
1204
|
+
:JPY,
|
1205
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
1206
|
+
)
|
1207
|
+
|
1208
|
+
# US Dollar (USD)
|
1209
|
+
USD =
|
1210
|
+
T.let(
|
1211
|
+
:USD,
|
1212
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
1213
|
+
)
|
1214
|
+
|
1215
|
+
sig do
|
1216
|
+
override.returns(
|
1217
|
+
T::Array[
|
1218
|
+
Increase::DeclinedTransaction::Source::CardDecline::Currency::TaggedSymbol
|
1219
|
+
]
|
1220
|
+
)
|
1221
|
+
end
|
1222
|
+
def self.values
|
1223
|
+
end
|
1224
|
+
end
|
1225
|
+
|
1226
|
+
# The direction describes the direction the funds will move, either from the
|
1227
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
1228
|
+
module Direction
|
1229
|
+
extend Increase::Internal::Type::Enum
|
1230
|
+
|
1231
|
+
TaggedSymbol =
|
1232
|
+
T.type_alias do
|
1233
|
+
T.all(
|
1234
|
+
Symbol,
|
1235
|
+
Increase::DeclinedTransaction::Source::CardDecline::Direction
|
1236
|
+
)
|
1237
|
+
end
|
1238
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1239
|
+
|
1240
|
+
# A regular card authorization where funds are debited from the cardholder.
|
1241
|
+
SETTLEMENT =
|
1242
|
+
T.let(
|
1243
|
+
:settlement,
|
1244
|
+
Increase::DeclinedTransaction::Source::CardDecline::Direction::TaggedSymbol
|
1245
|
+
)
|
1246
|
+
|
1247
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
1248
|
+
REFUND =
|
1249
|
+
T.let(
|
1250
|
+
:refund,
|
1251
|
+
Increase::DeclinedTransaction::Source::CardDecline::Direction::TaggedSymbol
|
1252
|
+
)
|
1253
|
+
|
1254
|
+
sig do
|
1255
|
+
override.returns(
|
1256
|
+
T::Array[
|
1257
|
+
Increase::DeclinedTransaction::Source::CardDecline::Direction::TaggedSymbol
|
1258
|
+
]
|
1259
|
+
)
|
1260
|
+
end
|
1261
|
+
def self.values
|
1262
|
+
end
|
1263
|
+
end
|
1264
|
+
|
1265
|
+
class NetworkDetails < Increase::Internal::Type::BaseModel
|
1266
|
+
OrHash =
|
1267
|
+
T.type_alias do
|
1268
|
+
T.any(
|
1269
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails,
|
1270
|
+
Increase::Internal::AnyHash
|
1271
|
+
)
|
1272
|
+
end
|
1273
|
+
|
1274
|
+
# The payment network used to process this card authorization.
|
1275
|
+
sig do
|
1276
|
+
returns(
|
1277
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category::TaggedSymbol
|
1278
|
+
)
|
1279
|
+
end
|
1280
|
+
attr_accessor :category
|
1281
|
+
|
1282
|
+
# Fields specific to the `visa` network.
|
1283
|
+
sig do
|
1284
|
+
returns(
|
1285
|
+
T.nilable(
|
1286
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa
|
1287
|
+
)
|
1288
|
+
)
|
1289
|
+
end
|
1290
|
+
attr_reader :visa
|
1291
|
+
|
1292
|
+
sig do
|
1293
|
+
params(
|
1294
|
+
visa:
|
1295
|
+
T.nilable(
|
1296
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::OrHash
|
1297
|
+
)
|
1298
|
+
).void
|
1299
|
+
end
|
1300
|
+
attr_writer :visa
|
1301
|
+
|
1302
|
+
# Fields specific to the `network`.
|
1303
|
+
sig do
|
1304
|
+
params(
|
1305
|
+
category:
|
1306
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category::OrSymbol,
|
1307
|
+
visa:
|
1308
|
+
T.nilable(
|
1309
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::OrHash
|
1310
|
+
)
|
1311
|
+
).returns(T.attached_class)
|
1312
|
+
end
|
1313
|
+
def self.new(
|
1314
|
+
# The payment network used to process this card authorization.
|
1315
|
+
category:,
|
1316
|
+
# Fields specific to the `visa` network.
|
1317
|
+
visa:
|
1318
|
+
)
|
1319
|
+
end
|
1320
|
+
|
1321
|
+
sig do
|
1322
|
+
override.returns(
|
1323
|
+
{
|
1324
|
+
category:
|
1325
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category::TaggedSymbol,
|
1326
|
+
visa:
|
1327
|
+
T.nilable(
|
1328
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa
|
1329
|
+
)
|
1330
|
+
}
|
1331
|
+
)
|
1332
|
+
end
|
1333
|
+
def to_hash
|
1334
|
+
end
|
1335
|
+
|
1336
|
+
# The payment network used to process this card authorization.
|
1337
|
+
module Category
|
1338
|
+
extend Increase::Internal::Type::Enum
|
1339
|
+
|
1340
|
+
TaggedSymbol =
|
1341
|
+
T.type_alias do
|
1342
|
+
T.all(
|
1343
|
+
Symbol,
|
1344
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category
|
1345
|
+
)
|
1346
|
+
end
|
1347
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1348
|
+
|
1349
|
+
# Visa
|
1350
|
+
VISA =
|
1351
|
+
T.let(
|
1352
|
+
:visa,
|
1353
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category::TaggedSymbol
|
1354
|
+
)
|
1355
|
+
|
1356
|
+
sig do
|
1357
|
+
override.returns(
|
1358
|
+
T::Array[
|
1359
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category::TaggedSymbol
|
1360
|
+
]
|
1361
|
+
)
|
1362
|
+
end
|
1363
|
+
def self.values
|
1364
|
+
end
|
1365
|
+
end
|
1366
|
+
|
1367
|
+
class Visa < Increase::Internal::Type::BaseModel
|
1368
|
+
OrHash =
|
1369
|
+
T.type_alias do
|
1370
|
+
T.any(
|
1371
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa,
|
1372
|
+
Increase::Internal::AnyHash
|
1373
|
+
)
|
1374
|
+
end
|
1375
|
+
|
1376
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1377
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1378
|
+
# transactions, identifies the type of mail or telephone order.
|
1379
|
+
sig do
|
1380
|
+
returns(
|
1381
|
+
T.nilable(
|
1382
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1383
|
+
)
|
1384
|
+
)
|
1385
|
+
end
|
1386
|
+
attr_accessor :electronic_commerce_indicator
|
1387
|
+
|
1388
|
+
# The method used to enter the cardholder's primary account number and card
|
1389
|
+
# expiration date.
|
1390
|
+
sig do
|
1391
|
+
returns(
|
1392
|
+
T.nilable(
|
1393
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1394
|
+
)
|
1395
|
+
)
|
1396
|
+
end
|
1397
|
+
attr_accessor :point_of_service_entry_mode
|
1398
|
+
|
1399
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1400
|
+
# approved or declined by Visa through stand-in processing.
|
1401
|
+
sig do
|
1402
|
+
returns(
|
1403
|
+
T.nilable(
|
1404
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1405
|
+
)
|
1406
|
+
)
|
1407
|
+
end
|
1408
|
+
attr_accessor :stand_in_processing_reason
|
1409
|
+
|
1410
|
+
# Fields specific to the `visa` network.
|
1411
|
+
sig do
|
1412
|
+
params(
|
1413
|
+
electronic_commerce_indicator:
|
1414
|
+
T.nilable(
|
1415
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::OrSymbol
|
1416
|
+
),
|
1417
|
+
point_of_service_entry_mode:
|
1418
|
+
T.nilable(
|
1419
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::OrSymbol
|
1420
|
+
),
|
1421
|
+
stand_in_processing_reason:
|
1422
|
+
T.nilable(
|
1423
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::OrSymbol
|
1424
|
+
)
|
1425
|
+
).returns(T.attached_class)
|
1426
|
+
end
|
1427
|
+
def self.new(
|
1428
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1429
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1430
|
+
# transactions, identifies the type of mail or telephone order.
|
1431
|
+
electronic_commerce_indicator:,
|
1432
|
+
# The method used to enter the cardholder's primary account number and card
|
1433
|
+
# expiration date.
|
1434
|
+
point_of_service_entry_mode:,
|
1435
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1436
|
+
# approved or declined by Visa through stand-in processing.
|
1437
|
+
stand_in_processing_reason:
|
1438
|
+
)
|
1439
|
+
end
|
1440
|
+
|
1441
|
+
sig do
|
1442
|
+
override.returns(
|
1443
|
+
{
|
1444
|
+
electronic_commerce_indicator:
|
1445
|
+
T.nilable(
|
1446
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1447
|
+
),
|
1448
|
+
point_of_service_entry_mode:
|
1449
|
+
T.nilable(
|
1450
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1451
|
+
),
|
1452
|
+
stand_in_processing_reason:
|
1453
|
+
T.nilable(
|
1454
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1455
|
+
)
|
1456
|
+
}
|
1457
|
+
)
|
1458
|
+
end
|
1459
|
+
def to_hash
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1463
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1464
|
+
# transactions, identifies the type of mail or telephone order.
|
1465
|
+
module ElectronicCommerceIndicator
|
1466
|
+
extend Increase::Internal::Type::Enum
|
1467
|
+
|
1468
|
+
TaggedSymbol =
|
1469
|
+
T.type_alias do
|
1470
|
+
T.all(
|
1471
|
+
Symbol,
|
1472
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator
|
1473
|
+
)
|
1474
|
+
end
|
1475
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1476
|
+
|
1477
|
+
# Single transaction of a mail/phone order: Use to indicate that the transaction is a mail/phone order purchase, not a recurring transaction or installment payment. For domestic transactions in the US region, this value may also indicate one bill payment transaction in the card-present or card-absent environments.
|
1478
|
+
MAIL_PHONE_ORDER =
|
1479
|
+
T.let(
|
1480
|
+
:mail_phone_order,
|
1481
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1482
|
+
)
|
1483
|
+
|
1484
|
+
# Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
|
1485
|
+
RECURRING =
|
1486
|
+
T.let(
|
1487
|
+
:recurring,
|
1488
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1489
|
+
)
|
1490
|
+
|
1491
|
+
# Installment payment: Payment indicator used to indicate one purchase of goods or services that is billed to the account in multiple charges over a period of time agreed upon by the cardholder and merchant from transactions that originate from an acquirer in the US region.
|
1492
|
+
INSTALLMENT =
|
1493
|
+
T.let(
|
1494
|
+
:installment,
|
1495
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1496
|
+
)
|
1497
|
+
|
1498
|
+
# Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
|
1499
|
+
UNKNOWN_MAIL_PHONE_ORDER =
|
1500
|
+
T.let(
|
1501
|
+
:unknown_mail_phone_order,
|
1502
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1503
|
+
)
|
1504
|
+
|
1505
|
+
# Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
|
1506
|
+
SECURE_ELECTRONIC_COMMERCE =
|
1507
|
+
T.let(
|
1508
|
+
:secure_electronic_commerce,
|
1509
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1510
|
+
)
|
1511
|
+
|
1512
|
+
# Non-authenticated security transaction at a 3-D Secure-capable merchant, and merchant attempted to authenticate the cardholder using 3-D Secure: Use to identify an electronic commerce transaction where the merchant attempted to authenticate the cardholder using 3-D Secure, but was unable to complete the authentication because the issuer or cardholder does not participate in the 3-D Secure program.
|
1513
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT =
|
1514
|
+
T.let(
|
1515
|
+
:non_authenticated_security_transaction_at_3ds_capable_merchant,
|
1516
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1517
|
+
)
|
1518
|
+
|
1519
|
+
# Non-authenticated security transaction: Use to identify an electronic commerce transaction that uses data encryption for security however , cardholder authentication is not performed using 3-D Secure.
|
1520
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION =
|
1521
|
+
T.let(
|
1522
|
+
:non_authenticated_security_transaction,
|
1523
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1524
|
+
)
|
1525
|
+
|
1526
|
+
# Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
|
1527
|
+
NON_SECURE_TRANSACTION =
|
1528
|
+
T.let(
|
1529
|
+
:non_secure_transaction,
|
1530
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1531
|
+
)
|
1532
|
+
|
1533
|
+
sig do
|
1534
|
+
override.returns(
|
1535
|
+
T::Array[
|
1536
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1537
|
+
]
|
1538
|
+
)
|
1539
|
+
end
|
1540
|
+
def self.values
|
1541
|
+
end
|
1542
|
+
end
|
1543
|
+
|
1544
|
+
# The method used to enter the cardholder's primary account number and card
|
1545
|
+
# expiration date.
|
1546
|
+
module PointOfServiceEntryMode
|
1547
|
+
extend Increase::Internal::Type::Enum
|
1548
|
+
|
1549
|
+
TaggedSymbol =
|
1550
|
+
T.type_alias do
|
1551
|
+
T.all(
|
1552
|
+
Symbol,
|
1553
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode
|
1554
|
+
)
|
1555
|
+
end
|
1556
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1557
|
+
|
1558
|
+
# Unknown
|
1559
|
+
UNKNOWN =
|
1560
|
+
T.let(
|
1561
|
+
:unknown,
|
1562
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1563
|
+
)
|
1564
|
+
|
1565
|
+
# Manual key entry
|
1566
|
+
MANUAL =
|
1567
|
+
T.let(
|
1568
|
+
:manual,
|
1569
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1570
|
+
)
|
1571
|
+
|
1572
|
+
# Magnetic stripe read, without card verification value
|
1573
|
+
MAGNETIC_STRIPE_NO_CVV =
|
1574
|
+
T.let(
|
1575
|
+
:magnetic_stripe_no_cvv,
|
1576
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1577
|
+
)
|
1578
|
+
|
1579
|
+
# Optical code
|
1580
|
+
OPTICAL_CODE =
|
1581
|
+
T.let(
|
1582
|
+
:optical_code,
|
1583
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1584
|
+
)
|
1585
|
+
|
1586
|
+
# Contact chip card
|
1587
|
+
INTEGRATED_CIRCUIT_CARD =
|
1588
|
+
T.let(
|
1589
|
+
:integrated_circuit_card,
|
1590
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1591
|
+
)
|
1592
|
+
|
1593
|
+
# Contactless read of chip card
|
1594
|
+
CONTACTLESS =
|
1595
|
+
T.let(
|
1596
|
+
:contactless,
|
1597
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1598
|
+
)
|
1599
|
+
|
1600
|
+
# Transaction initiated using a credential that has previously been stored on file
|
1601
|
+
CREDENTIAL_ON_FILE =
|
1602
|
+
T.let(
|
1603
|
+
:credential_on_file,
|
1604
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1605
|
+
)
|
1606
|
+
|
1607
|
+
# Magnetic stripe read
|
1608
|
+
MAGNETIC_STRIPE =
|
1609
|
+
T.let(
|
1610
|
+
:magnetic_stripe,
|
1611
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1612
|
+
)
|
1613
|
+
|
1614
|
+
# Contactless read of magnetic stripe data
|
1615
|
+
CONTACTLESS_MAGNETIC_STRIPE =
|
1616
|
+
T.let(
|
1617
|
+
:contactless_magnetic_stripe,
|
1618
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1619
|
+
)
|
1620
|
+
|
1621
|
+
# Contact chip card, without card verification value
|
1622
|
+
INTEGRATED_CIRCUIT_CARD_NO_CVV =
|
1623
|
+
T.let(
|
1624
|
+
:integrated_circuit_card_no_cvv,
|
1625
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1626
|
+
)
|
1627
|
+
|
1628
|
+
sig do
|
1629
|
+
override.returns(
|
1630
|
+
T::Array[
|
1631
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1632
|
+
]
|
1633
|
+
)
|
1634
|
+
end
|
1635
|
+
def self.values
|
1636
|
+
end
|
1637
|
+
end
|
1638
|
+
|
1639
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1640
|
+
# approved or declined by Visa through stand-in processing.
|
1641
|
+
module StandInProcessingReason
|
1642
|
+
extend Increase::Internal::Type::Enum
|
1643
|
+
|
1644
|
+
TaggedSymbol =
|
1645
|
+
T.type_alias do
|
1646
|
+
T.all(
|
1647
|
+
Symbol,
|
1648
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason
|
1649
|
+
)
|
1650
|
+
end
|
1651
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1652
|
+
|
1653
|
+
# Increase failed to process the authorization in a timely manner.
|
1654
|
+
ISSUER_ERROR =
|
1655
|
+
T.let(
|
1656
|
+
:issuer_error,
|
1657
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1658
|
+
)
|
1659
|
+
|
1660
|
+
# The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
|
1661
|
+
INVALID_PHYSICAL_CARD =
|
1662
|
+
T.let(
|
1663
|
+
:invalid_physical_card,
|
1664
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1665
|
+
)
|
1666
|
+
|
1667
|
+
# The 3DS cardholder authentication verification value was invalid.
|
1668
|
+
INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE =
|
1669
|
+
T.let(
|
1670
|
+
:invalid_cardholder_authentication_verification_value,
|
1671
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1672
|
+
)
|
1673
|
+
|
1674
|
+
# An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
|
1675
|
+
INTERNAL_VISA_ERROR =
|
1676
|
+
T.let(
|
1677
|
+
:internal_visa_error,
|
1678
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1679
|
+
)
|
1680
|
+
|
1681
|
+
# The merchant has enabled Visa's Transaction Advisory Service and requires further authentication to perform the transaction. In practice this is often utilized at fuel pumps to tell the cardholder to see the cashier.
|
1682
|
+
MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED =
|
1683
|
+
T.let(
|
1684
|
+
:merchant_transaction_advisory_service_authentication_required,
|
1685
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1686
|
+
)
|
1687
|
+
|
1688
|
+
# The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
|
1689
|
+
PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK =
|
1690
|
+
T.let(
|
1691
|
+
:payment_fraud_disruption_acquirer_block,
|
1692
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1693
|
+
)
|
1694
|
+
|
1695
|
+
# An unspecific reason for stand-in processing.
|
1696
|
+
OTHER =
|
1697
|
+
T.let(
|
1698
|
+
:other,
|
1699
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1700
|
+
)
|
1701
|
+
|
1702
|
+
sig do
|
1703
|
+
override.returns(
|
1704
|
+
T::Array[
|
1705
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1706
|
+
]
|
1707
|
+
)
|
1708
|
+
end
|
1709
|
+
def self.values
|
1710
|
+
end
|
1711
|
+
end
|
1712
|
+
end
|
1713
|
+
end
|
1714
|
+
|
1715
|
+
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
1716
|
+
OrHash =
|
1717
|
+
T.type_alias do
|
1718
|
+
T.any(
|
1719
|
+
Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers,
|
1720
|
+
Increase::Internal::AnyHash
|
1721
|
+
)
|
1722
|
+
end
|
1723
|
+
|
1724
|
+
# A life-cycle identifier used across e.g., an authorization and a reversal.
|
1725
|
+
# Expected to be unique per acquirer within a window of time. For some card
|
1726
|
+
# networks the retrieval reference number includes the trace counter.
|
1727
|
+
sig { returns(T.nilable(String)) }
|
1728
|
+
attr_accessor :retrieval_reference_number
|
1729
|
+
|
1730
|
+
# A counter used to verify an individual authorization. Expected to be unique per
|
1731
|
+
# acquirer within a window of time.
|
1732
|
+
sig { returns(T.nilable(String)) }
|
1733
|
+
attr_accessor :trace_number
|
1734
|
+
|
1735
|
+
# A globally unique transaction identifier provided by the card network, used
|
1736
|
+
# across multiple life-cycle requests.
|
1737
|
+
sig { returns(T.nilable(String)) }
|
1738
|
+
attr_accessor :transaction_id
|
1739
|
+
|
1740
|
+
# Network-specific identifiers for a specific request or transaction.
|
1741
|
+
sig do
|
1742
|
+
params(
|
1743
|
+
retrieval_reference_number: T.nilable(String),
|
1744
|
+
trace_number: T.nilable(String),
|
1745
|
+
transaction_id: T.nilable(String)
|
1746
|
+
).returns(T.attached_class)
|
1747
|
+
end
|
1748
|
+
def self.new(
|
1749
|
+
# A life-cycle identifier used across e.g., an authorization and a reversal.
|
1750
|
+
# Expected to be unique per acquirer within a window of time. For some card
|
1751
|
+
# networks the retrieval reference number includes the trace counter.
|
1752
|
+
retrieval_reference_number:,
|
1753
|
+
# A counter used to verify an individual authorization. Expected to be unique per
|
1754
|
+
# acquirer within a window of time.
|
1755
|
+
trace_number:,
|
1756
|
+
# A globally unique transaction identifier provided by the card network, used
|
1757
|
+
# across multiple life-cycle requests.
|
1758
|
+
transaction_id:
|
1759
|
+
)
|
1760
|
+
end
|
1761
|
+
|
1762
|
+
sig do
|
1763
|
+
override.returns(
|
1764
|
+
{
|
1765
|
+
retrieval_reference_number: T.nilable(String),
|
1766
|
+
trace_number: T.nilable(String),
|
1767
|
+
transaction_id: T.nilable(String)
|
1768
|
+
}
|
1769
|
+
)
|
1770
|
+
end
|
1771
|
+
def to_hash
|
1772
|
+
end
|
1773
|
+
end
|
1774
|
+
|
1775
|
+
# The processing category describes the intent behind the authorization, such as
|
1776
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
1777
|
+
module ProcessingCategory
|
1778
|
+
extend Increase::Internal::Type::Enum
|
1779
|
+
|
1780
|
+
TaggedSymbol =
|
1781
|
+
T.type_alias do
|
1782
|
+
T.all(
|
1783
|
+
Symbol,
|
1784
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory
|
1785
|
+
)
|
1786
|
+
end
|
1787
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1788
|
+
|
1789
|
+
# Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
|
1790
|
+
ACCOUNT_FUNDING =
|
1791
|
+
T.let(
|
1792
|
+
:account_funding,
|
1793
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1794
|
+
)
|
1795
|
+
|
1796
|
+
# Automatic fuel dispenser authorizations occur when a card is used at a gas pump, prior to the actual transaction amount being known. They are followed by an advice message that updates the amount of the pending transaction.
|
1797
|
+
AUTOMATIC_FUEL_DISPENSER =
|
1798
|
+
T.let(
|
1799
|
+
:automatic_fuel_dispenser,
|
1800
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1801
|
+
)
|
1802
|
+
|
1803
|
+
# A transaction used to pay a bill.
|
1804
|
+
BILL_PAYMENT =
|
1805
|
+
T.let(
|
1806
|
+
:bill_payment,
|
1807
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1808
|
+
)
|
1809
|
+
|
1810
|
+
# Original credit transactions are used to send money to a cardholder.
|
1811
|
+
ORIGINAL_CREDIT =
|
1812
|
+
T.let(
|
1813
|
+
:original_credit,
|
1814
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1815
|
+
)
|
1816
|
+
|
1817
|
+
# A regular purchase.
|
1818
|
+
PURCHASE =
|
1819
|
+
T.let(
|
1820
|
+
:purchase,
|
1821
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1822
|
+
)
|
1823
|
+
|
1824
|
+
# Quasi-cash transactions represent purchases of items which may be convertible to cash.
|
1825
|
+
QUASI_CASH =
|
1826
|
+
T.let(
|
1827
|
+
:quasi_cash,
|
1828
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1829
|
+
)
|
1830
|
+
|
1831
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
1832
|
+
REFUND =
|
1833
|
+
T.let(
|
1834
|
+
:refund,
|
1835
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1836
|
+
)
|
1837
|
+
|
1838
|
+
sig do
|
1839
|
+
override.returns(
|
1840
|
+
T::Array[
|
1841
|
+
Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol
|
1842
|
+
]
|
1843
|
+
)
|
1844
|
+
end
|
1845
|
+
def self.values
|
1846
|
+
end
|
1847
|
+
end
|
1848
|
+
|
1849
|
+
# This is present if a specific decline reason was given in the real-time
|
1850
|
+
# decision.
|
1851
|
+
module RealTimeDecisionReason
|
1852
|
+
extend Increase::Internal::Type::Enum
|
1853
|
+
|
1854
|
+
TaggedSymbol =
|
1855
|
+
T.type_alias do
|
1856
|
+
T.all(
|
1857
|
+
Symbol,
|
1858
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason
|
1859
|
+
)
|
1860
|
+
end
|
1861
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1862
|
+
|
1863
|
+
# The cardholder does not have sufficient funds to cover the transaction. The merchant may attempt to process the transaction again.
|
1864
|
+
INSUFFICIENT_FUNDS =
|
1865
|
+
T.let(
|
1866
|
+
:insufficient_funds,
|
1867
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1868
|
+
)
|
1869
|
+
|
1870
|
+
# This type of transaction is not allowed for this card. This transaction should not be retried.
|
1871
|
+
TRANSACTION_NEVER_ALLOWED =
|
1872
|
+
T.let(
|
1873
|
+
:transaction_never_allowed,
|
1874
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1875
|
+
)
|
1876
|
+
|
1877
|
+
# The transaction amount exceeds the cardholder's approval limit. The merchant may attempt to process the transaction again.
|
1878
|
+
EXCEEDS_APPROVAL_LIMIT =
|
1879
|
+
T.let(
|
1880
|
+
:exceeds_approval_limit,
|
1881
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1882
|
+
)
|
1883
|
+
|
1884
|
+
# The card has been temporarily disabled or not yet activated. The merchant may attempt to process the transaction again.
|
1885
|
+
CARD_TEMPORARILY_DISABLED =
|
1886
|
+
T.let(
|
1887
|
+
:card_temporarily_disabled,
|
1888
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1889
|
+
)
|
1890
|
+
|
1891
|
+
# The transaction is suspected to be fraudulent. The merchant may attempt to process the transaction again.
|
1892
|
+
SUSPECTED_FRAUD =
|
1893
|
+
T.let(
|
1894
|
+
:suspected_fraud,
|
1895
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1896
|
+
)
|
1897
|
+
|
1898
|
+
# The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly.
|
1899
|
+
OTHER =
|
1900
|
+
T.let(
|
1901
|
+
:other,
|
1902
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1903
|
+
)
|
1904
|
+
|
1905
|
+
sig do
|
1906
|
+
override.returns(
|
1907
|
+
T::Array[
|
1908
|
+
Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason::TaggedSymbol
|
1909
|
+
]
|
1910
|
+
)
|
1911
|
+
end
|
1912
|
+
def self.values
|
1913
|
+
end
|
1914
|
+
end
|
1915
|
+
|
1916
|
+
# Why the transaction was declined.
|
1917
|
+
module Reason
|
1918
|
+
extend Increase::Internal::Type::Enum
|
1919
|
+
|
1920
|
+
TaggedSymbol =
|
1921
|
+
T.type_alias do
|
1922
|
+
T.all(
|
1923
|
+
Symbol,
|
1924
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason
|
1925
|
+
)
|
1926
|
+
end
|
1927
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1928
|
+
|
1929
|
+
# The account has been closed.
|
1930
|
+
ACCOUNT_CLOSED =
|
1931
|
+
T.let(
|
1932
|
+
:account_closed,
|
1933
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1934
|
+
)
|
1935
|
+
|
1936
|
+
# The Card was not active.
|
1937
|
+
CARD_NOT_ACTIVE =
|
1938
|
+
T.let(
|
1939
|
+
:card_not_active,
|
1940
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1941
|
+
)
|
1942
|
+
|
1943
|
+
# The Card has been canceled.
|
1944
|
+
CARD_CANCELED =
|
1945
|
+
T.let(
|
1946
|
+
:card_canceled,
|
1947
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1948
|
+
)
|
1949
|
+
|
1950
|
+
# The Physical Card was not active.
|
1951
|
+
PHYSICAL_CARD_NOT_ACTIVE =
|
1952
|
+
T.let(
|
1953
|
+
:physical_card_not_active,
|
1954
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1955
|
+
)
|
1956
|
+
|
1957
|
+
# The account's entity was not active.
|
1958
|
+
ENTITY_NOT_ACTIVE =
|
1959
|
+
T.let(
|
1960
|
+
:entity_not_active,
|
1961
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1962
|
+
)
|
1963
|
+
|
1964
|
+
# The account was inactive.
|
1965
|
+
GROUP_LOCKED =
|
1966
|
+
T.let(
|
1967
|
+
:group_locked,
|
1968
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1969
|
+
)
|
1970
|
+
|
1971
|
+
# The Card's Account did not have a sufficient available balance.
|
1972
|
+
INSUFFICIENT_FUNDS =
|
1973
|
+
T.let(
|
1974
|
+
:insufficient_funds,
|
1975
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1976
|
+
)
|
1977
|
+
|
1978
|
+
# The given CVV2 did not match the card's value.
|
1979
|
+
CVV2_MISMATCH =
|
1980
|
+
T.let(
|
1981
|
+
:cvv2_mismatch,
|
1982
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1983
|
+
)
|
1984
|
+
|
1985
|
+
# The given expiration date did not match the card's value. Only applies when a CVV2 is present.
|
1986
|
+
CARD_EXPIRATION_MISMATCH =
|
1987
|
+
T.let(
|
1988
|
+
:card_expiration_mismatch,
|
1989
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1990
|
+
)
|
1991
|
+
|
1992
|
+
# The attempted card transaction is not allowed per Increase's terms.
|
1993
|
+
TRANSACTION_NOT_ALLOWED =
|
1994
|
+
T.let(
|
1995
|
+
:transaction_not_allowed,
|
1996
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
1997
|
+
)
|
1998
|
+
|
1999
|
+
# The transaction was blocked by a Limit.
|
2000
|
+
BREACHES_LIMIT =
|
2001
|
+
T.let(
|
2002
|
+
:breaches_limit,
|
2003
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2004
|
+
)
|
2005
|
+
|
2006
|
+
# Your application declined the transaction via webhook.
|
2007
|
+
WEBHOOK_DECLINED =
|
2008
|
+
T.let(
|
2009
|
+
:webhook_declined,
|
2010
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2011
|
+
)
|
2012
|
+
|
2013
|
+
# Your application webhook did not respond without the required timeout.
|
2014
|
+
WEBHOOK_TIMED_OUT =
|
2015
|
+
T.let(
|
2016
|
+
:webhook_timed_out,
|
2017
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2018
|
+
)
|
2019
|
+
|
2020
|
+
# Declined by stand-in processing.
|
2021
|
+
DECLINED_BY_STAND_IN_PROCESSING =
|
2022
|
+
T.let(
|
2023
|
+
:declined_by_stand_in_processing,
|
2024
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2025
|
+
)
|
2026
|
+
|
2027
|
+
# The card read had an invalid CVV, dCVV, or authorization request cryptogram.
|
2028
|
+
INVALID_PHYSICAL_CARD =
|
2029
|
+
T.let(
|
2030
|
+
:invalid_physical_card,
|
2031
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2032
|
+
)
|
2033
|
+
|
2034
|
+
# The original card authorization for this incremental authorization does not exist.
|
2035
|
+
MISSING_ORIGINAL_AUTHORIZATION =
|
2036
|
+
T.let(
|
2037
|
+
:missing_original_authorization,
|
2038
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2039
|
+
)
|
2040
|
+
|
2041
|
+
# The transaction was declined because the 3DS authentication failed.
|
2042
|
+
FAILED_3DS_AUTHENTICATION =
|
2043
|
+
T.let(
|
2044
|
+
:failed_3ds_authentication,
|
2045
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2046
|
+
)
|
2047
|
+
|
2048
|
+
# The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information.
|
2049
|
+
SUSPECTED_FRAUD =
|
2050
|
+
T.let(
|
2051
|
+
:suspected_fraud,
|
2052
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2053
|
+
)
|
2054
|
+
|
2055
|
+
sig do
|
2056
|
+
override.returns(
|
2057
|
+
T::Array[
|
2058
|
+
Increase::DeclinedTransaction::Source::CardDecline::Reason::TaggedSymbol
|
2059
|
+
]
|
2060
|
+
)
|
2061
|
+
end
|
2062
|
+
def self.values
|
2063
|
+
end
|
2064
|
+
end
|
2065
|
+
|
2066
|
+
class Verification < Increase::Internal::Type::BaseModel
|
2067
|
+
OrHash =
|
2068
|
+
T.type_alias do
|
2069
|
+
T.any(
|
2070
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification,
|
2071
|
+
Increase::Internal::AnyHash
|
2072
|
+
)
|
2073
|
+
end
|
2074
|
+
|
2075
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
2076
|
+
# the back of the card.
|
2077
|
+
sig do
|
2078
|
+
returns(
|
2079
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode
|
2080
|
+
)
|
2081
|
+
end
|
2082
|
+
attr_reader :card_verification_code
|
2083
|
+
|
2084
|
+
sig do
|
2085
|
+
params(
|
2086
|
+
card_verification_code:
|
2087
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::OrHash
|
2088
|
+
).void
|
2089
|
+
end
|
2090
|
+
attr_writer :card_verification_code
|
2091
|
+
|
2092
|
+
# Cardholder address provided in the authorization request and the address on file
|
2093
|
+
# we verified it against.
|
2094
|
+
sig do
|
2095
|
+
returns(
|
2096
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress
|
2097
|
+
)
|
2098
|
+
end
|
2099
|
+
attr_reader :cardholder_address
|
2100
|
+
|
2101
|
+
sig do
|
2102
|
+
params(
|
2103
|
+
cardholder_address:
|
2104
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::OrHash
|
2105
|
+
).void
|
2106
|
+
end
|
2107
|
+
attr_writer :cardholder_address
|
2108
|
+
|
2109
|
+
# Fields related to verification of cardholder-provided values.
|
2110
|
+
sig do
|
2111
|
+
params(
|
2112
|
+
card_verification_code:
|
2113
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::OrHash,
|
2114
|
+
cardholder_address:
|
2115
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::OrHash
|
2116
|
+
).returns(T.attached_class)
|
2117
|
+
end
|
2118
|
+
def self.new(
|
2119
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
2120
|
+
# the back of the card.
|
2121
|
+
card_verification_code:,
|
2122
|
+
# Cardholder address provided in the authorization request and the address on file
|
2123
|
+
# we verified it against.
|
2124
|
+
cardholder_address:
|
2125
|
+
)
|
2126
|
+
end
|
2127
|
+
|
2128
|
+
sig do
|
2129
|
+
override.returns(
|
2130
|
+
{
|
2131
|
+
card_verification_code:
|
2132
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode,
|
2133
|
+
cardholder_address:
|
2134
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress
|
2135
|
+
}
|
2136
|
+
)
|
2137
|
+
end
|
2138
|
+
def to_hash
|
2139
|
+
end
|
2140
|
+
|
2141
|
+
class CardVerificationCode < Increase::Internal::Type::BaseModel
|
2142
|
+
OrHash =
|
2143
|
+
T.type_alias do
|
2144
|
+
T.any(
|
2145
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode,
|
2146
|
+
Increase::Internal::AnyHash
|
2147
|
+
)
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
# The result of verifying the Card Verification Code.
|
2151
|
+
sig do
|
2152
|
+
returns(
|
2153
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result::TaggedSymbol
|
2154
|
+
)
|
2155
|
+
end
|
2156
|
+
attr_accessor :result
|
2157
|
+
|
2158
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
2159
|
+
# the back of the card.
|
2160
|
+
sig do
|
2161
|
+
params(
|
2162
|
+
result:
|
2163
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result::OrSymbol
|
2164
|
+
).returns(T.attached_class)
|
2165
|
+
end
|
2166
|
+
def self.new(
|
2167
|
+
# The result of verifying the Card Verification Code.
|
2168
|
+
result:
|
2169
|
+
)
|
2170
|
+
end
|
2171
|
+
|
2172
|
+
sig do
|
2173
|
+
override.returns(
|
2174
|
+
{
|
2175
|
+
result:
|
2176
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result::TaggedSymbol
|
2177
|
+
}
|
2178
|
+
)
|
2179
|
+
end
|
2180
|
+
def to_hash
|
2181
|
+
end
|
2182
|
+
|
2183
|
+
# The result of verifying the Card Verification Code.
|
2184
|
+
module Result
|
2185
|
+
extend Increase::Internal::Type::Enum
|
2186
|
+
|
2187
|
+
TaggedSymbol =
|
2188
|
+
T.type_alias do
|
2189
|
+
T.all(
|
2190
|
+
Symbol,
|
2191
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result
|
2192
|
+
)
|
2193
|
+
end
|
2194
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2195
|
+
|
2196
|
+
# No card verification code was provided in the authorization request.
|
2197
|
+
NOT_CHECKED =
|
2198
|
+
T.let(
|
2199
|
+
:not_checked,
|
2200
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result::TaggedSymbol
|
2201
|
+
)
|
2202
|
+
|
2203
|
+
# The card verification code matched the one on file.
|
2204
|
+
MATCH =
|
2205
|
+
T.let(
|
2206
|
+
:match,
|
2207
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result::TaggedSymbol
|
2208
|
+
)
|
2209
|
+
|
2210
|
+
# The card verification code did not match the one on file.
|
2211
|
+
NO_MATCH =
|
2212
|
+
T.let(
|
2213
|
+
:no_match,
|
2214
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result::TaggedSymbol
|
2215
|
+
)
|
2216
|
+
|
2217
|
+
sig do
|
2218
|
+
override.returns(
|
2219
|
+
T::Array[
|
2220
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result::TaggedSymbol
|
2221
|
+
]
|
2222
|
+
)
|
2223
|
+
end
|
2224
|
+
def self.values
|
2225
|
+
end
|
2226
|
+
end
|
2227
|
+
end
|
2228
|
+
|
2229
|
+
class CardholderAddress < Increase::Internal::Type::BaseModel
|
2230
|
+
OrHash =
|
2231
|
+
T.type_alias do
|
2232
|
+
T.any(
|
2233
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress,
|
2234
|
+
Increase::Internal::AnyHash
|
2235
|
+
)
|
2236
|
+
end
|
2237
|
+
|
2238
|
+
# Line 1 of the address on file for the cardholder.
|
2239
|
+
sig { returns(T.nilable(String)) }
|
2240
|
+
attr_accessor :actual_line1
|
2241
|
+
|
2242
|
+
# The postal code of the address on file for the cardholder.
|
2243
|
+
sig { returns(T.nilable(String)) }
|
2244
|
+
attr_accessor :actual_postal_code
|
2245
|
+
|
2246
|
+
# The cardholder address line 1 provided for verification in the authorization
|
2247
|
+
# request.
|
2248
|
+
sig { returns(T.nilable(String)) }
|
2249
|
+
attr_accessor :provided_line1
|
2250
|
+
|
2251
|
+
# The postal code provided for verification in the authorization request.
|
2252
|
+
sig { returns(T.nilable(String)) }
|
2253
|
+
attr_accessor :provided_postal_code
|
2254
|
+
|
2255
|
+
# The address verification result returned to the card network.
|
2256
|
+
sig do
|
2257
|
+
returns(
|
2258
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2259
|
+
)
|
2260
|
+
end
|
2261
|
+
attr_accessor :result
|
2262
|
+
|
2263
|
+
# Cardholder address provided in the authorization request and the address on file
|
2264
|
+
# we verified it against.
|
2265
|
+
sig do
|
2266
|
+
params(
|
2267
|
+
actual_line1: T.nilable(String),
|
2268
|
+
actual_postal_code: T.nilable(String),
|
2269
|
+
provided_line1: T.nilable(String),
|
2270
|
+
provided_postal_code: T.nilable(String),
|
2271
|
+
result:
|
2272
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::OrSymbol
|
2273
|
+
).returns(T.attached_class)
|
2274
|
+
end
|
2275
|
+
def self.new(
|
2276
|
+
# Line 1 of the address on file for the cardholder.
|
2277
|
+
actual_line1:,
|
2278
|
+
# The postal code of the address on file for the cardholder.
|
2279
|
+
actual_postal_code:,
|
2280
|
+
# The cardholder address line 1 provided for verification in the authorization
|
2281
|
+
# request.
|
2282
|
+
provided_line1:,
|
2283
|
+
# The postal code provided for verification in the authorization request.
|
2284
|
+
provided_postal_code:,
|
2285
|
+
# The address verification result returned to the card network.
|
2286
|
+
result:
|
2287
|
+
)
|
2288
|
+
end
|
2289
|
+
|
2290
|
+
sig do
|
2291
|
+
override.returns(
|
2292
|
+
{
|
2293
|
+
actual_line1: T.nilable(String),
|
2294
|
+
actual_postal_code: T.nilable(String),
|
2295
|
+
provided_line1: T.nilable(String),
|
2296
|
+
provided_postal_code: T.nilable(String),
|
2297
|
+
result:
|
2298
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2299
|
+
}
|
2300
|
+
)
|
2301
|
+
end
|
2302
|
+
def to_hash
|
2303
|
+
end
|
2304
|
+
|
2305
|
+
# The address verification result returned to the card network.
|
2306
|
+
module Result
|
2307
|
+
extend Increase::Internal::Type::Enum
|
2308
|
+
|
2309
|
+
TaggedSymbol =
|
2310
|
+
T.type_alias do
|
2311
|
+
T.all(
|
2312
|
+
Symbol,
|
2313
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result
|
2314
|
+
)
|
2315
|
+
end
|
2316
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2317
|
+
|
2318
|
+
# No address was provided in the authorization request.
|
2319
|
+
NOT_CHECKED =
|
2320
|
+
T.let(
|
2321
|
+
:not_checked,
|
2322
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2323
|
+
)
|
2324
|
+
|
2325
|
+
# Postal code matches, but the street address was not verified.
|
2326
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED =
|
2327
|
+
T.let(
|
2328
|
+
:postal_code_match_address_not_checked,
|
2329
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2330
|
+
)
|
2331
|
+
|
2332
|
+
# Postal code matches, but the street address does not match.
|
2333
|
+
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH =
|
2334
|
+
T.let(
|
2335
|
+
:postal_code_match_address_no_match,
|
2336
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2337
|
+
)
|
2338
|
+
|
2339
|
+
# Postal code does not match, but the street address matches.
|
2340
|
+
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH =
|
2341
|
+
T.let(
|
2342
|
+
:postal_code_no_match_address_match,
|
2343
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2344
|
+
)
|
2345
|
+
|
2346
|
+
# Postal code and street address match.
|
2347
|
+
MATCH =
|
2348
|
+
T.let(
|
2349
|
+
:match,
|
2350
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2351
|
+
)
|
2352
|
+
|
2353
|
+
# Postal code and street address do not match.
|
2354
|
+
NO_MATCH =
|
2355
|
+
T.let(
|
2356
|
+
:no_match,
|
2357
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2358
|
+
)
|
2359
|
+
|
2360
|
+
sig do
|
2361
|
+
override.returns(
|
2362
|
+
T::Array[
|
2363
|
+
Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result::TaggedSymbol
|
2364
|
+
]
|
2365
|
+
)
|
2366
|
+
end
|
2367
|
+
def self.values
|
2368
|
+
end
|
2369
|
+
end
|
2370
|
+
end
|
2371
|
+
end
|
2372
|
+
end
|
2373
|
+
|
2374
|
+
# The type of the resource. We may add additional possible values for this enum
|
2375
|
+
# over time; your application should be able to handle such additions gracefully.
|
2376
|
+
module Category
|
2377
|
+
extend Increase::Internal::Type::Enum
|
2378
|
+
|
2379
|
+
TaggedSymbol =
|
2380
|
+
T.type_alias do
|
2381
|
+
T.all(Symbol, Increase::DeclinedTransaction::Source::Category)
|
2382
|
+
end
|
2383
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2384
|
+
|
2385
|
+
# ACH Decline: details will be under the `ach_decline` object.
|
2386
|
+
ACH_DECLINE =
|
2387
|
+
T.let(
|
2388
|
+
:ach_decline,
|
2389
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2390
|
+
)
|
2391
|
+
|
2392
|
+
# Card Decline: details will be under the `card_decline` object.
|
2393
|
+
CARD_DECLINE =
|
2394
|
+
T.let(
|
2395
|
+
:card_decline,
|
2396
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2397
|
+
)
|
2398
|
+
|
2399
|
+
# Check Decline: details will be under the `check_decline` object.
|
2400
|
+
CHECK_DECLINE =
|
2401
|
+
T.let(
|
2402
|
+
:check_decline,
|
2403
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2404
|
+
)
|
2405
|
+
|
2406
|
+
# Inbound Real-Time Payments Transfer Decline: details will be under the `inbound_real_time_payments_transfer_decline` object.
|
2407
|
+
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_DECLINE =
|
2408
|
+
T.let(
|
2409
|
+
:inbound_real_time_payments_transfer_decline,
|
2410
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2411
|
+
)
|
2412
|
+
|
2413
|
+
# Wire Decline: details will be under the `wire_decline` object.
|
2414
|
+
WIRE_DECLINE =
|
2415
|
+
T.let(
|
2416
|
+
:wire_decline,
|
2417
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2418
|
+
)
|
2419
|
+
|
2420
|
+
# Check Deposit Rejection: details will be under the `check_deposit_rejection` object.
|
2421
|
+
CHECK_DEPOSIT_REJECTION =
|
2422
|
+
T.let(
|
2423
|
+
:check_deposit_rejection,
|
2424
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2425
|
+
)
|
2426
|
+
|
2427
|
+
# The Declined Transaction was made for an undocumented or deprecated reason.
|
2428
|
+
OTHER =
|
2429
|
+
T.let(
|
2430
|
+
:other,
|
2431
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2432
|
+
)
|
2433
|
+
|
2434
|
+
sig do
|
2435
|
+
override.returns(
|
2436
|
+
T::Array[
|
2437
|
+
Increase::DeclinedTransaction::Source::Category::TaggedSymbol
|
2438
|
+
]
|
2439
|
+
)
|
2440
|
+
end
|
2441
|
+
def self.values
|
2442
|
+
end
|
2443
|
+
end
|
2444
|
+
|
2445
|
+
class CheckDecline < Increase::Internal::Type::BaseModel
|
2446
|
+
OrHash =
|
2447
|
+
T.type_alias do
|
2448
|
+
T.any(
|
2449
|
+
Increase::DeclinedTransaction::Source::CheckDecline,
|
2450
|
+
Increase::Internal::AnyHash
|
2451
|
+
)
|
2452
|
+
end
|
2453
|
+
|
2454
|
+
# The declined amount in USD cents.
|
2455
|
+
sig { returns(Integer) }
|
2456
|
+
attr_accessor :amount
|
2457
|
+
|
2458
|
+
# A computer-readable number printed on the MICR line of business checks, usually
|
2459
|
+
# the check number. This is useful for positive pay checks, but can be unreliably
|
2460
|
+
# transmitted by the bank of first deposit.
|
2461
|
+
sig { returns(T.nilable(String)) }
|
2462
|
+
attr_accessor :auxiliary_on_us
|
2463
|
+
|
2464
|
+
# The identifier of the API File object containing an image of the back of the
|
2465
|
+
# declined check.
|
2466
|
+
sig { returns(T.nilable(String)) }
|
2467
|
+
attr_accessor :back_image_file_id
|
2468
|
+
|
2469
|
+
# The identifier of the Check Transfer object associated with this decline.
|
2470
|
+
sig { returns(T.nilable(String)) }
|
2471
|
+
attr_accessor :check_transfer_id
|
2472
|
+
|
2473
|
+
# The identifier of the API File object containing an image of the front of the
|
2474
|
+
# declined check.
|
2475
|
+
sig { returns(T.nilable(String)) }
|
2476
|
+
attr_accessor :front_image_file_id
|
2477
|
+
|
2478
|
+
# The identifier of the Inbound Check Deposit object associated with this decline.
|
2479
|
+
sig { returns(T.nilable(String)) }
|
2480
|
+
attr_accessor :inbound_check_deposit_id
|
2481
|
+
|
2482
|
+
# Why the check was declined.
|
2483
|
+
sig do
|
2484
|
+
returns(
|
2485
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2486
|
+
)
|
2487
|
+
end
|
2488
|
+
attr_accessor :reason
|
2489
|
+
|
2490
|
+
# A Check Decline object. This field will be present in the JSON response if and
|
2491
|
+
# only if `category` is equal to `check_decline`.
|
2492
|
+
sig do
|
2493
|
+
params(
|
2494
|
+
amount: Integer,
|
2495
|
+
auxiliary_on_us: T.nilable(String),
|
2496
|
+
back_image_file_id: T.nilable(String),
|
2497
|
+
check_transfer_id: T.nilable(String),
|
2498
|
+
front_image_file_id: T.nilable(String),
|
2499
|
+
inbound_check_deposit_id: T.nilable(String),
|
2500
|
+
reason:
|
2501
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::OrSymbol
|
2502
|
+
).returns(T.attached_class)
|
2503
|
+
end
|
2504
|
+
def self.new(
|
2505
|
+
# The declined amount in USD cents.
|
2506
|
+
amount:,
|
2507
|
+
# A computer-readable number printed on the MICR line of business checks, usually
|
2508
|
+
# the check number. This is useful for positive pay checks, but can be unreliably
|
2509
|
+
# transmitted by the bank of first deposit.
|
2510
|
+
auxiliary_on_us:,
|
2511
|
+
# The identifier of the API File object containing an image of the back of the
|
2512
|
+
# declined check.
|
2513
|
+
back_image_file_id:,
|
2514
|
+
# The identifier of the Check Transfer object associated with this decline.
|
2515
|
+
check_transfer_id:,
|
2516
|
+
# The identifier of the API File object containing an image of the front of the
|
2517
|
+
# declined check.
|
2518
|
+
front_image_file_id:,
|
2519
|
+
# The identifier of the Inbound Check Deposit object associated with this decline.
|
2520
|
+
inbound_check_deposit_id:,
|
2521
|
+
# Why the check was declined.
|
2522
|
+
reason:
|
2523
|
+
)
|
2524
|
+
end
|
2525
|
+
|
2526
|
+
sig do
|
2527
|
+
override.returns(
|
2528
|
+
{
|
2529
|
+
amount: Integer,
|
2530
|
+
auxiliary_on_us: T.nilable(String),
|
2531
|
+
back_image_file_id: T.nilable(String),
|
2532
|
+
check_transfer_id: T.nilable(String),
|
2533
|
+
front_image_file_id: T.nilable(String),
|
2534
|
+
inbound_check_deposit_id: T.nilable(String),
|
2535
|
+
reason:
|
2536
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2537
|
+
}
|
2538
|
+
)
|
2539
|
+
end
|
2540
|
+
def to_hash
|
2541
|
+
end
|
2542
|
+
|
2543
|
+
# Why the check was declined.
|
2544
|
+
module Reason
|
2545
|
+
extend Increase::Internal::Type::Enum
|
2546
|
+
|
2547
|
+
TaggedSymbol =
|
2548
|
+
T.type_alias do
|
2549
|
+
T.all(
|
2550
|
+
Symbol,
|
2551
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason
|
2552
|
+
)
|
2553
|
+
end
|
2554
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2555
|
+
|
2556
|
+
# The account number is disabled.
|
2557
|
+
ACH_ROUTE_DISABLED =
|
2558
|
+
T.let(
|
2559
|
+
:ach_route_disabled,
|
2560
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2561
|
+
)
|
2562
|
+
|
2563
|
+
# The account number is canceled.
|
2564
|
+
ACH_ROUTE_CANCELED =
|
2565
|
+
T.let(
|
2566
|
+
:ach_route_canceled,
|
2567
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2568
|
+
)
|
2569
|
+
|
2570
|
+
# The deposited check was altered or fictitious.
|
2571
|
+
ALTERED_OR_FICTITIOUS =
|
2572
|
+
T.let(
|
2573
|
+
:altered_or_fictitious,
|
2574
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2575
|
+
)
|
2576
|
+
|
2577
|
+
# The transaction would cause a limit to be exceeded.
|
2578
|
+
BREACHES_LIMIT =
|
2579
|
+
T.let(
|
2580
|
+
:breaches_limit,
|
2581
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2582
|
+
)
|
2583
|
+
|
2584
|
+
# The check was not endorsed by the payee.
|
2585
|
+
ENDORSEMENT_IRREGULAR =
|
2586
|
+
T.let(
|
2587
|
+
:endorsement_irregular,
|
2588
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2589
|
+
)
|
2590
|
+
|
2591
|
+
# The account's entity is not active.
|
2592
|
+
ENTITY_NOT_ACTIVE =
|
2593
|
+
T.let(
|
2594
|
+
:entity_not_active,
|
2595
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2596
|
+
)
|
2597
|
+
|
2598
|
+
# Your account is inactive.
|
2599
|
+
GROUP_LOCKED =
|
2600
|
+
T.let(
|
2601
|
+
:group_locked,
|
2602
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2603
|
+
)
|
2604
|
+
|
2605
|
+
# Your account contains insufficient funds.
|
2606
|
+
INSUFFICIENT_FUNDS =
|
2607
|
+
T.let(
|
2608
|
+
:insufficient_funds,
|
2609
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2610
|
+
)
|
2611
|
+
|
2612
|
+
# Stop payment requested for this check.
|
2613
|
+
STOP_PAYMENT_REQUESTED =
|
2614
|
+
T.let(
|
2615
|
+
:stop_payment_requested,
|
2616
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2617
|
+
)
|
2618
|
+
|
2619
|
+
# The check was a duplicate deposit.
|
2620
|
+
DUPLICATE_PRESENTMENT =
|
2621
|
+
T.let(
|
2622
|
+
:duplicate_presentment,
|
2623
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2624
|
+
)
|
2625
|
+
|
2626
|
+
# The check was not authorized.
|
2627
|
+
NOT_AUTHORIZED =
|
2628
|
+
T.let(
|
2629
|
+
:not_authorized,
|
2630
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2631
|
+
)
|
2632
|
+
|
2633
|
+
# The amount the receiving bank is attempting to deposit does not match the amount on the check.
|
2634
|
+
AMOUNT_MISMATCH =
|
2635
|
+
T.let(
|
2636
|
+
:amount_mismatch,
|
2637
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2638
|
+
)
|
2639
|
+
|
2640
|
+
# The check attempting to be deposited does not belong to Increase.
|
2641
|
+
NOT_OUR_ITEM =
|
2642
|
+
T.let(
|
2643
|
+
:not_our_item,
|
2644
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2645
|
+
)
|
2646
|
+
|
2647
|
+
# The account number on the check does not exist at Increase.
|
2648
|
+
NO_ACCOUNT_NUMBER_FOUND =
|
2649
|
+
T.let(
|
2650
|
+
:no_account_number_found,
|
2651
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2652
|
+
)
|
2653
|
+
|
2654
|
+
# The check is not readable. Please refer to the image.
|
2655
|
+
REFER_TO_IMAGE =
|
2656
|
+
T.let(
|
2657
|
+
:refer_to_image,
|
2658
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2659
|
+
)
|
2660
|
+
|
2661
|
+
# The check cannot be processed. This is rare: please contact support.
|
2662
|
+
UNABLE_TO_PROCESS =
|
2663
|
+
T.let(
|
2664
|
+
:unable_to_process,
|
2665
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2666
|
+
)
|
2667
|
+
|
2668
|
+
# Your integration declined this check via the API.
|
2669
|
+
USER_INITIATED =
|
2670
|
+
T.let(
|
2671
|
+
:user_initiated,
|
2672
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2673
|
+
)
|
2674
|
+
|
2675
|
+
sig do
|
2676
|
+
override.returns(
|
2677
|
+
T::Array[
|
2678
|
+
Increase::DeclinedTransaction::Source::CheckDecline::Reason::TaggedSymbol
|
2679
|
+
]
|
2680
|
+
)
|
2681
|
+
end
|
2682
|
+
def self.values
|
2683
|
+
end
|
2684
|
+
end
|
2685
|
+
end
|
2686
|
+
|
2687
|
+
class CheckDepositRejection < Increase::Internal::Type::BaseModel
|
2688
|
+
OrHash =
|
2689
|
+
T.type_alias do
|
2690
|
+
T.any(
|
2691
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection,
|
2692
|
+
Increase::Internal::AnyHash
|
2693
|
+
)
|
2694
|
+
end
|
2695
|
+
|
2696
|
+
# The rejected amount in the minor unit of check's currency. For dollars, for
|
2697
|
+
# example, this is cents.
|
2698
|
+
sig { returns(Integer) }
|
2699
|
+
attr_accessor :amount
|
2700
|
+
|
2701
|
+
# The identifier of the Check Deposit that was rejected.
|
2702
|
+
sig { returns(String) }
|
2703
|
+
attr_accessor :check_deposit_id
|
2704
|
+
|
2705
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
2706
|
+
# currency.
|
2707
|
+
sig do
|
2708
|
+
returns(
|
2709
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2710
|
+
)
|
2711
|
+
end
|
2712
|
+
attr_accessor :currency
|
2713
|
+
|
2714
|
+
# The identifier of the associated declined transaction.
|
2715
|
+
sig { returns(String) }
|
2716
|
+
attr_accessor :declined_transaction_id
|
2717
|
+
|
2718
|
+
# Why the check deposit was rejected.
|
2719
|
+
sig do
|
2720
|
+
returns(
|
2721
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2722
|
+
)
|
2723
|
+
end
|
2724
|
+
attr_accessor :reason
|
2725
|
+
|
2726
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
2727
|
+
# the check deposit was rejected.
|
2728
|
+
sig { returns(Time) }
|
2729
|
+
attr_accessor :rejected_at
|
2730
|
+
|
2731
|
+
# A Check Deposit Rejection object. This field will be present in the JSON
|
2732
|
+
# response if and only if `category` is equal to `check_deposit_rejection`.
|
2733
|
+
sig do
|
2734
|
+
params(
|
2735
|
+
amount: Integer,
|
2736
|
+
check_deposit_id: String,
|
2737
|
+
currency:
|
2738
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::OrSymbol,
|
2739
|
+
declined_transaction_id: String,
|
2740
|
+
reason:
|
2741
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::OrSymbol,
|
2742
|
+
rejected_at: Time
|
2743
|
+
).returns(T.attached_class)
|
2744
|
+
end
|
2745
|
+
def self.new(
|
2746
|
+
# The rejected amount in the minor unit of check's currency. For dollars, for
|
2747
|
+
# example, this is cents.
|
2748
|
+
amount:,
|
2749
|
+
# The identifier of the Check Deposit that was rejected.
|
2750
|
+
check_deposit_id:,
|
2751
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
2752
|
+
# currency.
|
2753
|
+
currency:,
|
2754
|
+
# The identifier of the associated declined transaction.
|
2755
|
+
declined_transaction_id:,
|
2756
|
+
# Why the check deposit was rejected.
|
2757
|
+
reason:,
|
2758
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
2759
|
+
# the check deposit was rejected.
|
2760
|
+
rejected_at:
|
2761
|
+
)
|
2762
|
+
end
|
2763
|
+
|
2764
|
+
sig do
|
2765
|
+
override.returns(
|
2766
|
+
{
|
2767
|
+
amount: Integer,
|
2768
|
+
check_deposit_id: String,
|
2769
|
+
currency:
|
2770
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol,
|
2771
|
+
declined_transaction_id: String,
|
2772
|
+
reason:
|
2773
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol,
|
2774
|
+
rejected_at: Time
|
2775
|
+
}
|
2776
|
+
)
|
2777
|
+
end
|
2778
|
+
def to_hash
|
2779
|
+
end
|
2780
|
+
|
2781
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
2782
|
+
# currency.
|
2783
|
+
module Currency
|
2784
|
+
extend Increase::Internal::Type::Enum
|
2785
|
+
|
2786
|
+
TaggedSymbol =
|
2787
|
+
T.type_alias do
|
2788
|
+
T.all(
|
2789
|
+
Symbol,
|
2790
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency
|
2791
|
+
)
|
2792
|
+
end
|
2793
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2794
|
+
|
2795
|
+
# Canadian Dollar (CAD)
|
2796
|
+
CAD =
|
2797
|
+
T.let(
|
2798
|
+
:CAD,
|
2799
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2800
|
+
)
|
2801
|
+
|
2802
|
+
# Swiss Franc (CHF)
|
2803
|
+
CHF =
|
2804
|
+
T.let(
|
2805
|
+
:CHF,
|
2806
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2807
|
+
)
|
2808
|
+
|
2809
|
+
# Euro (EUR)
|
2810
|
+
EUR =
|
2811
|
+
T.let(
|
2812
|
+
:EUR,
|
2813
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2814
|
+
)
|
2815
|
+
|
2816
|
+
# British Pound (GBP)
|
2817
|
+
GBP =
|
2818
|
+
T.let(
|
2819
|
+
:GBP,
|
2820
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2821
|
+
)
|
2822
|
+
|
2823
|
+
# Japanese Yen (JPY)
|
2824
|
+
JPY =
|
2825
|
+
T.let(
|
2826
|
+
:JPY,
|
2827
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2828
|
+
)
|
2829
|
+
|
2830
|
+
# US Dollar (USD)
|
2831
|
+
USD =
|
2832
|
+
T.let(
|
2833
|
+
:USD,
|
2834
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2835
|
+
)
|
2836
|
+
|
2837
|
+
sig do
|
2838
|
+
override.returns(
|
2839
|
+
T::Array[
|
2840
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency::TaggedSymbol
|
2841
|
+
]
|
2842
|
+
)
|
2843
|
+
end
|
2844
|
+
def self.values
|
2845
|
+
end
|
2846
|
+
end
|
2847
|
+
|
2848
|
+
# Why the check deposit was rejected.
|
2849
|
+
module Reason
|
2850
|
+
extend Increase::Internal::Type::Enum
|
2851
|
+
|
2852
|
+
TaggedSymbol =
|
2853
|
+
T.type_alias do
|
2854
|
+
T.all(
|
2855
|
+
Symbol,
|
2856
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason
|
2857
|
+
)
|
2858
|
+
end
|
2859
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2860
|
+
|
2861
|
+
# The check's image is incomplete.
|
2862
|
+
INCOMPLETE_IMAGE =
|
2863
|
+
T.let(
|
2864
|
+
:incomplete_image,
|
2865
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2866
|
+
)
|
2867
|
+
|
2868
|
+
# This is a duplicate check submission.
|
2869
|
+
DUPLICATE =
|
2870
|
+
T.let(
|
2871
|
+
:duplicate,
|
2872
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2873
|
+
)
|
2874
|
+
|
2875
|
+
# This check has poor image quality.
|
2876
|
+
POOR_IMAGE_QUALITY =
|
2877
|
+
T.let(
|
2878
|
+
:poor_image_quality,
|
2879
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2880
|
+
)
|
2881
|
+
|
2882
|
+
# The check was deposited with the incorrect amount.
|
2883
|
+
INCORRECT_AMOUNT =
|
2884
|
+
T.let(
|
2885
|
+
:incorrect_amount,
|
2886
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2887
|
+
)
|
2888
|
+
|
2889
|
+
# The check is made out to someone other than the account holder.
|
2890
|
+
INCORRECT_RECIPIENT =
|
2891
|
+
T.let(
|
2892
|
+
:incorrect_recipient,
|
2893
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2894
|
+
)
|
2895
|
+
|
2896
|
+
# This check was not eligible for mobile deposit.
|
2897
|
+
NOT_ELIGIBLE_FOR_MOBILE_DEPOSIT =
|
2898
|
+
T.let(
|
2899
|
+
:not_eligible_for_mobile_deposit,
|
2900
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2901
|
+
)
|
2902
|
+
|
2903
|
+
# This check is missing at least one required field.
|
2904
|
+
MISSING_REQUIRED_DATA_ELEMENTS =
|
2905
|
+
T.let(
|
2906
|
+
:missing_required_data_elements,
|
2907
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2908
|
+
)
|
2909
|
+
|
2910
|
+
# This check is suspected to be fraudulent.
|
2911
|
+
SUSPECTED_FRAUD =
|
2912
|
+
T.let(
|
2913
|
+
:suspected_fraud,
|
2914
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2915
|
+
)
|
2916
|
+
|
2917
|
+
# This check's deposit window has expired.
|
2918
|
+
DEPOSIT_WINDOW_EXPIRED =
|
2919
|
+
T.let(
|
2920
|
+
:deposit_window_expired,
|
2921
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2922
|
+
)
|
2923
|
+
|
2924
|
+
# The check was rejected at the user's request.
|
2925
|
+
REQUESTED_BY_USER =
|
2926
|
+
T.let(
|
2927
|
+
:requested_by_user,
|
2928
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2929
|
+
)
|
2930
|
+
|
2931
|
+
# The check was rejected for an unknown reason.
|
2932
|
+
UNKNOWN =
|
2933
|
+
T.let(
|
2934
|
+
:unknown,
|
2935
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2936
|
+
)
|
2937
|
+
|
2938
|
+
sig do
|
2939
|
+
override.returns(
|
2940
|
+
T::Array[
|
2941
|
+
Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason::TaggedSymbol
|
2942
|
+
]
|
2943
|
+
)
|
2944
|
+
end
|
2945
|
+
def self.values
|
2946
|
+
end
|
2947
|
+
end
|
2948
|
+
end
|
2949
|
+
|
2950
|
+
class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel
|
2951
|
+
OrHash =
|
2952
|
+
T.type_alias do
|
2953
|
+
T.any(
|
2954
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline,
|
2955
|
+
Increase::Internal::AnyHash
|
2956
|
+
)
|
2957
|
+
end
|
2958
|
+
|
2959
|
+
# The declined amount in the minor unit of the destination account currency. For
|
2960
|
+
# dollars, for example, this is cents.
|
2961
|
+
sig { returns(Integer) }
|
2962
|
+
attr_accessor :amount
|
2963
|
+
|
2964
|
+
# The name the sender of the transfer specified as the recipient of the transfer.
|
2965
|
+
sig { returns(String) }
|
2966
|
+
attr_accessor :creditor_name
|
2967
|
+
|
2968
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
|
2969
|
+
# transfer's currency. This will always be "USD" for a Real-Time Payments
|
2970
|
+
# transfer.
|
2971
|
+
sig do
|
2972
|
+
returns(
|
2973
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
2974
|
+
)
|
2975
|
+
end
|
2976
|
+
attr_accessor :currency
|
2977
|
+
|
2978
|
+
# The account number of the account that sent the transfer.
|
2979
|
+
sig { returns(String) }
|
2980
|
+
attr_accessor :debtor_account_number
|
2981
|
+
|
2982
|
+
# The name provided by the sender of the transfer.
|
2983
|
+
sig { returns(String) }
|
2984
|
+
attr_accessor :debtor_name
|
2985
|
+
|
2986
|
+
# The routing number of the account that sent the transfer.
|
2987
|
+
sig { returns(String) }
|
2988
|
+
attr_accessor :debtor_routing_number
|
2989
|
+
|
2990
|
+
# Why the transfer was declined.
|
2991
|
+
sig do
|
2992
|
+
returns(
|
2993
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
2994
|
+
)
|
2995
|
+
end
|
2996
|
+
attr_accessor :reason
|
2997
|
+
|
2998
|
+
# Additional information included with the transfer.
|
2999
|
+
sig { returns(T.nilable(String)) }
|
3000
|
+
attr_accessor :remittance_information
|
3001
|
+
|
3002
|
+
# The Real-Time Payments network identification of the declined transfer.
|
3003
|
+
sig { returns(String) }
|
3004
|
+
attr_accessor :transaction_identification
|
3005
|
+
|
3006
|
+
# The identifier of the Real-Time Payments Transfer that led to this Transaction.
|
3007
|
+
sig { returns(String) }
|
3008
|
+
attr_accessor :transfer_id
|
3009
|
+
|
3010
|
+
# An Inbound Real-Time Payments Transfer Decline object. This field will be
|
3011
|
+
# present in the JSON response if and only if `category` is equal to
|
3012
|
+
# `inbound_real_time_payments_transfer_decline`.
|
3013
|
+
sig do
|
3014
|
+
params(
|
3015
|
+
amount: Integer,
|
3016
|
+
creditor_name: String,
|
3017
|
+
currency:
|
3018
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::OrSymbol,
|
3019
|
+
debtor_account_number: String,
|
3020
|
+
debtor_name: String,
|
3021
|
+
debtor_routing_number: String,
|
3022
|
+
reason:
|
3023
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::OrSymbol,
|
3024
|
+
remittance_information: T.nilable(String),
|
3025
|
+
transaction_identification: String,
|
3026
|
+
transfer_id: String
|
3027
|
+
).returns(T.attached_class)
|
3028
|
+
end
|
3029
|
+
def self.new(
|
3030
|
+
# The declined amount in the minor unit of the destination account currency. For
|
3031
|
+
# dollars, for example, this is cents.
|
3032
|
+
amount:,
|
3033
|
+
# The name the sender of the transfer specified as the recipient of the transfer.
|
3034
|
+
creditor_name:,
|
3035
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
|
3036
|
+
# transfer's currency. This will always be "USD" for a Real-Time Payments
|
3037
|
+
# transfer.
|
3038
|
+
currency:,
|
3039
|
+
# The account number of the account that sent the transfer.
|
3040
|
+
debtor_account_number:,
|
3041
|
+
# The name provided by the sender of the transfer.
|
3042
|
+
debtor_name:,
|
3043
|
+
# The routing number of the account that sent the transfer.
|
3044
|
+
debtor_routing_number:,
|
3045
|
+
# Why the transfer was declined.
|
3046
|
+
reason:,
|
3047
|
+
# Additional information included with the transfer.
|
3048
|
+
remittance_information:,
|
3049
|
+
# The Real-Time Payments network identification of the declined transfer.
|
3050
|
+
transaction_identification:,
|
3051
|
+
# The identifier of the Real-Time Payments Transfer that led to this Transaction.
|
3052
|
+
transfer_id:
|
3053
|
+
)
|
3054
|
+
end
|
3055
|
+
|
3056
|
+
sig do
|
3057
|
+
override.returns(
|
3058
|
+
{
|
3059
|
+
amount: Integer,
|
3060
|
+
creditor_name: String,
|
3061
|
+
currency:
|
3062
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol,
|
3063
|
+
debtor_account_number: String,
|
3064
|
+
debtor_name: String,
|
3065
|
+
debtor_routing_number: String,
|
3066
|
+
reason:
|
3067
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol,
|
3068
|
+
remittance_information: T.nilable(String),
|
3069
|
+
transaction_identification: String,
|
3070
|
+
transfer_id: String
|
3071
|
+
}
|
3072
|
+
)
|
3073
|
+
end
|
3074
|
+
def to_hash
|
3075
|
+
end
|
3076
|
+
|
3077
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined
|
3078
|
+
# transfer's currency. This will always be "USD" for a Real-Time Payments
|
3079
|
+
# transfer.
|
3080
|
+
module Currency
|
3081
|
+
extend Increase::Internal::Type::Enum
|
3082
|
+
|
3083
|
+
TaggedSymbol =
|
3084
|
+
T.type_alias do
|
3085
|
+
T.all(
|
3086
|
+
Symbol,
|
3087
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency
|
3088
|
+
)
|
3089
|
+
end
|
3090
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3091
|
+
|
3092
|
+
# Canadian Dollar (CAD)
|
3093
|
+
CAD =
|
3094
|
+
T.let(
|
3095
|
+
:CAD,
|
3096
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
3097
|
+
)
|
3098
|
+
|
3099
|
+
# Swiss Franc (CHF)
|
3100
|
+
CHF =
|
3101
|
+
T.let(
|
3102
|
+
:CHF,
|
3103
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
3104
|
+
)
|
3105
|
+
|
3106
|
+
# Euro (EUR)
|
3107
|
+
EUR =
|
3108
|
+
T.let(
|
3109
|
+
:EUR,
|
3110
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
3111
|
+
)
|
3112
|
+
|
3113
|
+
# British Pound (GBP)
|
3114
|
+
GBP =
|
3115
|
+
T.let(
|
3116
|
+
:GBP,
|
3117
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
3118
|
+
)
|
3119
|
+
|
3120
|
+
# Japanese Yen (JPY)
|
3121
|
+
JPY =
|
3122
|
+
T.let(
|
3123
|
+
:JPY,
|
3124
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
3125
|
+
)
|
3126
|
+
|
3127
|
+
# US Dollar (USD)
|
3128
|
+
USD =
|
3129
|
+
T.let(
|
3130
|
+
:USD,
|
3131
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
3132
|
+
)
|
3133
|
+
|
3134
|
+
sig do
|
3135
|
+
override.returns(
|
3136
|
+
T::Array[
|
3137
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency::TaggedSymbol
|
3138
|
+
]
|
3139
|
+
)
|
3140
|
+
end
|
3141
|
+
def self.values
|
3142
|
+
end
|
3143
|
+
end
|
3144
|
+
|
3145
|
+
# Why the transfer was declined.
|
3146
|
+
module Reason
|
3147
|
+
extend Increase::Internal::Type::Enum
|
3148
|
+
|
3149
|
+
TaggedSymbol =
|
3150
|
+
T.type_alias do
|
3151
|
+
T.all(
|
3152
|
+
Symbol,
|
3153
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason
|
3154
|
+
)
|
3155
|
+
end
|
3156
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3157
|
+
|
3158
|
+
# The account number is canceled.
|
3159
|
+
ACCOUNT_NUMBER_CANCELED =
|
3160
|
+
T.let(
|
3161
|
+
:account_number_canceled,
|
3162
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
3163
|
+
)
|
3164
|
+
|
3165
|
+
# The account number is disabled.
|
3166
|
+
ACCOUNT_NUMBER_DISABLED =
|
3167
|
+
T.let(
|
3168
|
+
:account_number_disabled,
|
3169
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
3170
|
+
)
|
3171
|
+
|
3172
|
+
# Your account is restricted.
|
3173
|
+
ACCOUNT_RESTRICTED =
|
3174
|
+
T.let(
|
3175
|
+
:account_restricted,
|
3176
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
3177
|
+
)
|
3178
|
+
|
3179
|
+
# Your account is inactive.
|
3180
|
+
GROUP_LOCKED =
|
3181
|
+
T.let(
|
3182
|
+
:group_locked,
|
3183
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
3184
|
+
)
|
3185
|
+
|
3186
|
+
# The account's entity is not active.
|
3187
|
+
ENTITY_NOT_ACTIVE =
|
3188
|
+
T.let(
|
3189
|
+
:entity_not_active,
|
3190
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
3191
|
+
)
|
3192
|
+
|
3193
|
+
# Your account is not enabled to receive Real-Time Payments transfers.
|
3194
|
+
REAL_TIME_PAYMENTS_NOT_ENABLED =
|
3195
|
+
T.let(
|
3196
|
+
:real_time_payments_not_enabled,
|
3197
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
3198
|
+
)
|
3199
|
+
|
3200
|
+
sig do
|
3201
|
+
override.returns(
|
3202
|
+
T::Array[
|
3203
|
+
Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason::TaggedSymbol
|
3204
|
+
]
|
3205
|
+
)
|
3206
|
+
end
|
3207
|
+
def self.values
|
3208
|
+
end
|
3209
|
+
end
|
3210
|
+
end
|
3211
|
+
|
3212
|
+
class WireDecline < Increase::Internal::Type::BaseModel
|
3213
|
+
OrHash =
|
3214
|
+
T.type_alias do
|
3215
|
+
T.any(
|
3216
|
+
Increase::DeclinedTransaction::Source::WireDecline,
|
3217
|
+
Increase::Internal::AnyHash
|
3218
|
+
)
|
3219
|
+
end
|
3220
|
+
|
3221
|
+
# The identifier of the Inbound Wire Transfer that was declined.
|
3222
|
+
sig { returns(String) }
|
3223
|
+
attr_accessor :inbound_wire_transfer_id
|
3224
|
+
|
3225
|
+
# Why the wire transfer was declined.
|
3226
|
+
sig do
|
3227
|
+
returns(
|
3228
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3229
|
+
)
|
3230
|
+
end
|
3231
|
+
attr_accessor :reason
|
3232
|
+
|
3233
|
+
# A Wire Decline object. This field will be present in the JSON response if and
|
3234
|
+
# only if `category` is equal to `wire_decline`.
|
3235
|
+
sig do
|
3236
|
+
params(
|
3237
|
+
inbound_wire_transfer_id: String,
|
3238
|
+
reason:
|
3239
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::OrSymbol
|
3240
|
+
).returns(T.attached_class)
|
3241
|
+
end
|
3242
|
+
def self.new(
|
3243
|
+
# The identifier of the Inbound Wire Transfer that was declined.
|
3244
|
+
inbound_wire_transfer_id:,
|
3245
|
+
# Why the wire transfer was declined.
|
3246
|
+
reason:
|
3247
|
+
)
|
3248
|
+
end
|
3249
|
+
|
3250
|
+
sig do
|
3251
|
+
override.returns(
|
3252
|
+
{
|
3253
|
+
inbound_wire_transfer_id: String,
|
3254
|
+
reason:
|
3255
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3256
|
+
}
|
3257
|
+
)
|
3258
|
+
end
|
3259
|
+
def to_hash
|
3260
|
+
end
|
3261
|
+
|
3262
|
+
# Why the wire transfer was declined.
|
3263
|
+
module Reason
|
3264
|
+
extend Increase::Internal::Type::Enum
|
3265
|
+
|
3266
|
+
TaggedSymbol =
|
3267
|
+
T.type_alias do
|
3268
|
+
T.all(
|
3269
|
+
Symbol,
|
3270
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason
|
3271
|
+
)
|
3272
|
+
end
|
3273
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3274
|
+
|
3275
|
+
# The account number is canceled.
|
3276
|
+
ACCOUNT_NUMBER_CANCELED =
|
3277
|
+
T.let(
|
3278
|
+
:account_number_canceled,
|
3279
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3280
|
+
)
|
3281
|
+
|
3282
|
+
# The account number is disabled.
|
3283
|
+
ACCOUNT_NUMBER_DISABLED =
|
3284
|
+
T.let(
|
3285
|
+
:account_number_disabled,
|
3286
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3287
|
+
)
|
3288
|
+
|
3289
|
+
# The account's entity is not active.
|
3290
|
+
ENTITY_NOT_ACTIVE =
|
3291
|
+
T.let(
|
3292
|
+
:entity_not_active,
|
3293
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3294
|
+
)
|
3295
|
+
|
3296
|
+
# Your account is inactive.
|
3297
|
+
GROUP_LOCKED =
|
3298
|
+
T.let(
|
3299
|
+
:group_locked,
|
3300
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3301
|
+
)
|
3302
|
+
|
3303
|
+
# The beneficiary account number does not exist.
|
3304
|
+
NO_ACCOUNT_NUMBER =
|
3305
|
+
T.let(
|
3306
|
+
:no_account_number,
|
3307
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3308
|
+
)
|
3309
|
+
|
3310
|
+
# The transaction is not allowed per Increase's terms.
|
3311
|
+
TRANSACTION_NOT_ALLOWED =
|
3312
|
+
T.let(
|
3313
|
+
:transaction_not_allowed,
|
3314
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3315
|
+
)
|
3316
|
+
|
3317
|
+
sig do
|
3318
|
+
override.returns(
|
3319
|
+
T::Array[
|
3320
|
+
Increase::DeclinedTransaction::Source::WireDecline::Reason::TaggedSymbol
|
3321
|
+
]
|
3322
|
+
)
|
3323
|
+
end
|
3324
|
+
def self.values
|
3325
|
+
end
|
3326
|
+
end
|
3327
|
+
end
|
3328
|
+
end
|
3329
|
+
|
3330
|
+
# A constant representing the object's type. For this resource it will always be
|
3331
|
+
# `declined_transaction`.
|
3332
|
+
module Type
|
3333
|
+
extend Increase::Internal::Type::Enum
|
3334
|
+
|
3335
|
+
TaggedSymbol =
|
3336
|
+
T.type_alias { T.all(Symbol, Increase::DeclinedTransaction::Type) }
|
3337
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3338
|
+
|
3339
|
+
DECLINED_TRANSACTION =
|
3340
|
+
T.let(
|
3341
|
+
:declined_transaction,
|
3342
|
+
Increase::DeclinedTransaction::Type::TaggedSymbol
|
3343
|
+
)
|
3344
|
+
|
3345
|
+
sig do
|
3346
|
+
override.returns(
|
3347
|
+
T::Array[Increase::DeclinedTransaction::Type::TaggedSymbol]
|
3348
|
+
)
|
3349
|
+
end
|
3350
|
+
def self.values
|
3351
|
+
end
|
3352
|
+
end
|
3353
|
+
end
|
3354
|
+
end
|
3355
|
+
end
|