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,3220 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
class PendingTransaction < Increase::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Increase::PendingTransaction, Increase::Internal::AnyHash)
|
9
|
+
end
|
10
|
+
|
11
|
+
# The Pending Transaction identifier.
|
12
|
+
sig { returns(String) }
|
13
|
+
attr_accessor :id
|
14
|
+
|
15
|
+
# The identifier for the account this Pending Transaction belongs to.
|
16
|
+
sig { returns(String) }
|
17
|
+
attr_accessor :account_id
|
18
|
+
|
19
|
+
# The Pending 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
|
+
# How the Pending Transaction affects the balance of its Account while its status
|
25
|
+
# is `pending`.
|
26
|
+
sig { returns(Increase::PendingTransaction::BalanceImpact::TaggedSymbol) }
|
27
|
+
attr_accessor :balance_impact
|
28
|
+
|
29
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
30
|
+
# Transaction was completed.
|
31
|
+
sig { returns(T.nilable(Time)) }
|
32
|
+
attr_accessor :completed_at
|
33
|
+
|
34
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
35
|
+
# Transaction occurred.
|
36
|
+
sig { returns(Time) }
|
37
|
+
attr_accessor :created_at
|
38
|
+
|
39
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
|
40
|
+
# Transaction's currency. This will match the currency on the Pending
|
41
|
+
# Transaction's Account.
|
42
|
+
sig { returns(Increase::PendingTransaction::Currency::TaggedSymbol) }
|
43
|
+
attr_accessor :currency
|
44
|
+
|
45
|
+
# For a Pending Transaction related to a transfer, this is the description you
|
46
|
+
# provide. For a Pending Transaction related to a payment, this is the description
|
47
|
+
# the vendor provides.
|
48
|
+
sig { returns(String) }
|
49
|
+
attr_accessor :description
|
50
|
+
|
51
|
+
# The identifier for the route this Pending Transaction came through. Routes are
|
52
|
+
# things like cards and ACH details.
|
53
|
+
sig { returns(T.nilable(String)) }
|
54
|
+
attr_accessor :route_id
|
55
|
+
|
56
|
+
# The type of the route this Pending Transaction came through.
|
57
|
+
sig do
|
58
|
+
returns(
|
59
|
+
T.nilable(Increase::PendingTransaction::RouteType::TaggedSymbol)
|
60
|
+
)
|
61
|
+
end
|
62
|
+
attr_accessor :route_type
|
63
|
+
|
64
|
+
# This is an object giving more details on the network-level event that caused the
|
65
|
+
# Pending Transaction. For example, for a card transaction this lists the
|
66
|
+
# merchant's industry and location.
|
67
|
+
sig { returns(Increase::PendingTransaction::Source) }
|
68
|
+
attr_reader :source
|
69
|
+
|
70
|
+
sig { params(source: Increase::PendingTransaction::Source::OrHash).void }
|
71
|
+
attr_writer :source
|
72
|
+
|
73
|
+
# Whether the Pending Transaction has been confirmed and has an associated
|
74
|
+
# Transaction.
|
75
|
+
sig { returns(Increase::PendingTransaction::Status::TaggedSymbol) }
|
76
|
+
attr_accessor :status
|
77
|
+
|
78
|
+
# A constant representing the object's type. For this resource it will always be
|
79
|
+
# `pending_transaction`.
|
80
|
+
sig { returns(Increase::PendingTransaction::Type::TaggedSymbol) }
|
81
|
+
attr_accessor :type
|
82
|
+
|
83
|
+
# Pending Transactions are potential future additions and removals of money from
|
84
|
+
# your bank account.
|
85
|
+
sig do
|
86
|
+
params(
|
87
|
+
id: String,
|
88
|
+
account_id: String,
|
89
|
+
amount: Integer,
|
90
|
+
balance_impact: Increase::PendingTransaction::BalanceImpact::OrSymbol,
|
91
|
+
completed_at: T.nilable(Time),
|
92
|
+
created_at: Time,
|
93
|
+
currency: Increase::PendingTransaction::Currency::OrSymbol,
|
94
|
+
description: String,
|
95
|
+
route_id: T.nilable(String),
|
96
|
+
route_type:
|
97
|
+
T.nilable(Increase::PendingTransaction::RouteType::OrSymbol),
|
98
|
+
source: Increase::PendingTransaction::Source::OrHash,
|
99
|
+
status: Increase::PendingTransaction::Status::OrSymbol,
|
100
|
+
type: Increase::PendingTransaction::Type::OrSymbol
|
101
|
+
).returns(T.attached_class)
|
102
|
+
end
|
103
|
+
def self.new(
|
104
|
+
# The Pending Transaction identifier.
|
105
|
+
id:,
|
106
|
+
# The identifier for the account this Pending Transaction belongs to.
|
107
|
+
account_id:,
|
108
|
+
# The Pending Transaction amount in the minor unit of its currency. For dollars,
|
109
|
+
# for example, this is cents.
|
110
|
+
amount:,
|
111
|
+
# How the Pending Transaction affects the balance of its Account while its status
|
112
|
+
# is `pending`.
|
113
|
+
balance_impact:,
|
114
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
115
|
+
# Transaction was completed.
|
116
|
+
completed_at:,
|
117
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
|
118
|
+
# Transaction occurred.
|
119
|
+
created_at:,
|
120
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
|
121
|
+
# Transaction's currency. This will match the currency on the Pending
|
122
|
+
# Transaction's Account.
|
123
|
+
currency:,
|
124
|
+
# For a Pending Transaction related to a transfer, this is the description you
|
125
|
+
# provide. For a Pending Transaction related to a payment, this is the description
|
126
|
+
# the vendor provides.
|
127
|
+
description:,
|
128
|
+
# The identifier for the route this Pending Transaction came through. Routes are
|
129
|
+
# things like cards and ACH details.
|
130
|
+
route_id:,
|
131
|
+
# The type of the route this Pending Transaction came through.
|
132
|
+
route_type:,
|
133
|
+
# This is an object giving more details on the network-level event that caused the
|
134
|
+
# Pending Transaction. For example, for a card transaction this lists the
|
135
|
+
# merchant's industry and location.
|
136
|
+
source:,
|
137
|
+
# Whether the Pending Transaction has been confirmed and has an associated
|
138
|
+
# Transaction.
|
139
|
+
status:,
|
140
|
+
# A constant representing the object's type. For this resource it will always be
|
141
|
+
# `pending_transaction`.
|
142
|
+
type:
|
143
|
+
)
|
144
|
+
end
|
145
|
+
|
146
|
+
sig do
|
147
|
+
override.returns(
|
148
|
+
{
|
149
|
+
id: String,
|
150
|
+
account_id: String,
|
151
|
+
amount: Integer,
|
152
|
+
balance_impact:
|
153
|
+
Increase::PendingTransaction::BalanceImpact::TaggedSymbol,
|
154
|
+
completed_at: T.nilable(Time),
|
155
|
+
created_at: Time,
|
156
|
+
currency: Increase::PendingTransaction::Currency::TaggedSymbol,
|
157
|
+
description: String,
|
158
|
+
route_id: T.nilable(String),
|
159
|
+
route_type:
|
160
|
+
T.nilable(Increase::PendingTransaction::RouteType::TaggedSymbol),
|
161
|
+
source: Increase::PendingTransaction::Source,
|
162
|
+
status: Increase::PendingTransaction::Status::TaggedSymbol,
|
163
|
+
type: Increase::PendingTransaction::Type::TaggedSymbol
|
164
|
+
}
|
165
|
+
)
|
166
|
+
end
|
167
|
+
def to_hash
|
168
|
+
end
|
169
|
+
|
170
|
+
# How the Pending Transaction affects the balance of its Account while its status
|
171
|
+
# is `pending`.
|
172
|
+
module BalanceImpact
|
173
|
+
extend Increase::Internal::Type::Enum
|
174
|
+
|
175
|
+
TaggedSymbol =
|
176
|
+
T.type_alias do
|
177
|
+
T.all(Symbol, Increase::PendingTransaction::BalanceImpact)
|
178
|
+
end
|
179
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
180
|
+
|
181
|
+
# This Pending Transaction will decrement the available balance on the Account while its status is `pending`.
|
182
|
+
AFFECTS_AVAILABLE_BALANCE =
|
183
|
+
T.let(
|
184
|
+
:affects_available_balance,
|
185
|
+
Increase::PendingTransaction::BalanceImpact::TaggedSymbol
|
186
|
+
)
|
187
|
+
|
188
|
+
# This Pending Transaction does not affect the available balance on the Account.
|
189
|
+
NONE =
|
190
|
+
T.let(
|
191
|
+
:none,
|
192
|
+
Increase::PendingTransaction::BalanceImpact::TaggedSymbol
|
193
|
+
)
|
194
|
+
|
195
|
+
sig do
|
196
|
+
override.returns(
|
197
|
+
T::Array[Increase::PendingTransaction::BalanceImpact::TaggedSymbol]
|
198
|
+
)
|
199
|
+
end
|
200
|
+
def self.values
|
201
|
+
end
|
202
|
+
end
|
203
|
+
|
204
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
|
205
|
+
# Transaction's currency. This will match the currency on the Pending
|
206
|
+
# Transaction's Account.
|
207
|
+
module Currency
|
208
|
+
extend Increase::Internal::Type::Enum
|
209
|
+
|
210
|
+
TaggedSymbol =
|
211
|
+
T.type_alias { T.all(Symbol, Increase::PendingTransaction::Currency) }
|
212
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
213
|
+
|
214
|
+
# Canadian Dollar (CAD)
|
215
|
+
CAD = T.let(:CAD, Increase::PendingTransaction::Currency::TaggedSymbol)
|
216
|
+
|
217
|
+
# Swiss Franc (CHF)
|
218
|
+
CHF = T.let(:CHF, Increase::PendingTransaction::Currency::TaggedSymbol)
|
219
|
+
|
220
|
+
# Euro (EUR)
|
221
|
+
EUR = T.let(:EUR, Increase::PendingTransaction::Currency::TaggedSymbol)
|
222
|
+
|
223
|
+
# British Pound (GBP)
|
224
|
+
GBP = T.let(:GBP, Increase::PendingTransaction::Currency::TaggedSymbol)
|
225
|
+
|
226
|
+
# Japanese Yen (JPY)
|
227
|
+
JPY = T.let(:JPY, Increase::PendingTransaction::Currency::TaggedSymbol)
|
228
|
+
|
229
|
+
# US Dollar (USD)
|
230
|
+
USD = T.let(:USD, Increase::PendingTransaction::Currency::TaggedSymbol)
|
231
|
+
|
232
|
+
sig do
|
233
|
+
override.returns(
|
234
|
+
T::Array[Increase::PendingTransaction::Currency::TaggedSymbol]
|
235
|
+
)
|
236
|
+
end
|
237
|
+
def self.values
|
238
|
+
end
|
239
|
+
end
|
240
|
+
|
241
|
+
# The type of the route this Pending Transaction came through.
|
242
|
+
module RouteType
|
243
|
+
extend Increase::Internal::Type::Enum
|
244
|
+
|
245
|
+
TaggedSymbol =
|
246
|
+
T.type_alias do
|
247
|
+
T.all(Symbol, Increase::PendingTransaction::RouteType)
|
248
|
+
end
|
249
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
250
|
+
|
251
|
+
# An Account Number.
|
252
|
+
ACCOUNT_NUMBER =
|
253
|
+
T.let(
|
254
|
+
:account_number,
|
255
|
+
Increase::PendingTransaction::RouteType::TaggedSymbol
|
256
|
+
)
|
257
|
+
|
258
|
+
# A Card.
|
259
|
+
CARD =
|
260
|
+
T.let(:card, Increase::PendingTransaction::RouteType::TaggedSymbol)
|
261
|
+
|
262
|
+
# A Lockbox.
|
263
|
+
LOCKBOX =
|
264
|
+
T.let(:lockbox, Increase::PendingTransaction::RouteType::TaggedSymbol)
|
265
|
+
|
266
|
+
sig do
|
267
|
+
override.returns(
|
268
|
+
T::Array[Increase::PendingTransaction::RouteType::TaggedSymbol]
|
269
|
+
)
|
270
|
+
end
|
271
|
+
def self.values
|
272
|
+
end
|
273
|
+
end
|
274
|
+
|
275
|
+
class Source < Increase::Internal::Type::BaseModel
|
276
|
+
OrHash =
|
277
|
+
T.type_alias do
|
278
|
+
T.any(
|
279
|
+
Increase::PendingTransaction::Source,
|
280
|
+
Increase::Internal::AnyHash
|
281
|
+
)
|
282
|
+
end
|
283
|
+
|
284
|
+
# An Account Transfer Instruction object. This field will be present in the JSON
|
285
|
+
# response if and only if `category` is equal to `account_transfer_instruction`.
|
286
|
+
sig do
|
287
|
+
returns(
|
288
|
+
T.nilable(
|
289
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction
|
290
|
+
)
|
291
|
+
)
|
292
|
+
end
|
293
|
+
attr_reader :account_transfer_instruction
|
294
|
+
|
295
|
+
sig do
|
296
|
+
params(
|
297
|
+
account_transfer_instruction:
|
298
|
+
T.nilable(
|
299
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::OrHash
|
300
|
+
)
|
301
|
+
).void
|
302
|
+
end
|
303
|
+
attr_writer :account_transfer_instruction
|
304
|
+
|
305
|
+
# An ACH Transfer Instruction object. This field will be present in the JSON
|
306
|
+
# response if and only if `category` is equal to `ach_transfer_instruction`.
|
307
|
+
sig do
|
308
|
+
returns(
|
309
|
+
T.nilable(
|
310
|
+
Increase::PendingTransaction::Source::ACHTransferInstruction
|
311
|
+
)
|
312
|
+
)
|
313
|
+
end
|
314
|
+
attr_reader :ach_transfer_instruction
|
315
|
+
|
316
|
+
sig do
|
317
|
+
params(
|
318
|
+
ach_transfer_instruction:
|
319
|
+
T.nilable(
|
320
|
+
Increase::PendingTransaction::Source::ACHTransferInstruction::OrHash
|
321
|
+
)
|
322
|
+
).void
|
323
|
+
end
|
324
|
+
attr_writer :ach_transfer_instruction
|
325
|
+
|
326
|
+
# A Card Authorization object. This field will be present in the JSON response if
|
327
|
+
# and only if `category` is equal to `card_authorization`. Card Authorizations are
|
328
|
+
# temporary holds placed on a customers funds with the intent to later clear a
|
329
|
+
# transaction.
|
330
|
+
sig do
|
331
|
+
returns(
|
332
|
+
T.nilable(Increase::PendingTransaction::Source::CardAuthorization)
|
333
|
+
)
|
334
|
+
end
|
335
|
+
attr_reader :card_authorization
|
336
|
+
|
337
|
+
sig do
|
338
|
+
params(
|
339
|
+
card_authorization:
|
340
|
+
T.nilable(
|
341
|
+
Increase::PendingTransaction::Source::CardAuthorization::OrHash
|
342
|
+
)
|
343
|
+
).void
|
344
|
+
end
|
345
|
+
attr_writer :card_authorization
|
346
|
+
|
347
|
+
# The type of the resource. We may add additional possible values for this enum
|
348
|
+
# over time; your application should be able to handle such additions gracefully.
|
349
|
+
sig do
|
350
|
+
returns(Increase::PendingTransaction::Source::Category::TaggedSymbol)
|
351
|
+
end
|
352
|
+
attr_accessor :category
|
353
|
+
|
354
|
+
# A Check Deposit Instruction object. This field will be present in the JSON
|
355
|
+
# response if and only if `category` is equal to `check_deposit_instruction`.
|
356
|
+
sig do
|
357
|
+
returns(
|
358
|
+
T.nilable(
|
359
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction
|
360
|
+
)
|
361
|
+
)
|
362
|
+
end
|
363
|
+
attr_reader :check_deposit_instruction
|
364
|
+
|
365
|
+
sig do
|
366
|
+
params(
|
367
|
+
check_deposit_instruction:
|
368
|
+
T.nilable(
|
369
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::OrHash
|
370
|
+
)
|
371
|
+
).void
|
372
|
+
end
|
373
|
+
attr_writer :check_deposit_instruction
|
374
|
+
|
375
|
+
# A Check Transfer Instruction object. This field will be present in the JSON
|
376
|
+
# response if and only if `category` is equal to `check_transfer_instruction`.
|
377
|
+
sig do
|
378
|
+
returns(
|
379
|
+
T.nilable(
|
380
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction
|
381
|
+
)
|
382
|
+
)
|
383
|
+
end
|
384
|
+
attr_reader :check_transfer_instruction
|
385
|
+
|
386
|
+
sig do
|
387
|
+
params(
|
388
|
+
check_transfer_instruction:
|
389
|
+
T.nilable(
|
390
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::OrHash
|
391
|
+
)
|
392
|
+
).void
|
393
|
+
end
|
394
|
+
attr_writer :check_transfer_instruction
|
395
|
+
|
396
|
+
# An Inbound Funds Hold object. This field will be present in the JSON response if
|
397
|
+
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
|
398
|
+
# certain transaction types to account for return windows where funds might still
|
399
|
+
# be clawed back by the sending institution.
|
400
|
+
sig do
|
401
|
+
returns(
|
402
|
+
T.nilable(Increase::PendingTransaction::Source::InboundFundsHold)
|
403
|
+
)
|
404
|
+
end
|
405
|
+
attr_reader :inbound_funds_hold
|
406
|
+
|
407
|
+
sig do
|
408
|
+
params(
|
409
|
+
inbound_funds_hold:
|
410
|
+
T.nilable(
|
411
|
+
Increase::PendingTransaction::Source::InboundFundsHold::OrHash
|
412
|
+
)
|
413
|
+
).void
|
414
|
+
end
|
415
|
+
attr_writer :inbound_funds_hold
|
416
|
+
|
417
|
+
# An Inbound Wire Transfer Reversal object. This field will be present in the JSON
|
418
|
+
# response if and only if `category` is equal to `inbound_wire_transfer_reversal`.
|
419
|
+
# An Inbound Wire Transfer Reversal is created when Increase has received a wire
|
420
|
+
# and the User requests that it be reversed.
|
421
|
+
sig do
|
422
|
+
returns(
|
423
|
+
T.nilable(
|
424
|
+
Increase::PendingTransaction::Source::InboundWireTransferReversal
|
425
|
+
)
|
426
|
+
)
|
427
|
+
end
|
428
|
+
attr_reader :inbound_wire_transfer_reversal
|
429
|
+
|
430
|
+
sig do
|
431
|
+
params(
|
432
|
+
inbound_wire_transfer_reversal:
|
433
|
+
T.nilable(
|
434
|
+
Increase::PendingTransaction::Source::InboundWireTransferReversal::OrHash
|
435
|
+
)
|
436
|
+
).void
|
437
|
+
end
|
438
|
+
attr_writer :inbound_wire_transfer_reversal
|
439
|
+
|
440
|
+
# If the category of this Transaction source is equal to `other`, this field will
|
441
|
+
# contain an empty object, otherwise it will contain null.
|
442
|
+
sig { returns(T.nilable(T.anything)) }
|
443
|
+
attr_accessor :other
|
444
|
+
|
445
|
+
# An Outbound Card Push Transfer Instruction object. This field will be present in
|
446
|
+
# the JSON response if and only if `category` is equal to
|
447
|
+
# `outbound_card_push_transfer_instruction`.
|
448
|
+
sig do
|
449
|
+
returns(
|
450
|
+
T.nilable(
|
451
|
+
Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction
|
452
|
+
)
|
453
|
+
)
|
454
|
+
end
|
455
|
+
attr_reader :outbound_card_push_transfer_instruction
|
456
|
+
|
457
|
+
sig do
|
458
|
+
params(
|
459
|
+
outbound_card_push_transfer_instruction:
|
460
|
+
T.nilable(
|
461
|
+
Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction::OrHash
|
462
|
+
)
|
463
|
+
).void
|
464
|
+
end
|
465
|
+
attr_writer :outbound_card_push_transfer_instruction
|
466
|
+
|
467
|
+
# A Real-Time Payments Transfer Instruction object. This field will be present in
|
468
|
+
# the JSON response if and only if `category` is equal to
|
469
|
+
# `real_time_payments_transfer_instruction`.
|
470
|
+
sig do
|
471
|
+
returns(
|
472
|
+
T.nilable(
|
473
|
+
Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction
|
474
|
+
)
|
475
|
+
)
|
476
|
+
end
|
477
|
+
attr_reader :real_time_payments_transfer_instruction
|
478
|
+
|
479
|
+
sig do
|
480
|
+
params(
|
481
|
+
real_time_payments_transfer_instruction:
|
482
|
+
T.nilable(
|
483
|
+
Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction::OrHash
|
484
|
+
)
|
485
|
+
).void
|
486
|
+
end
|
487
|
+
attr_writer :real_time_payments_transfer_instruction
|
488
|
+
|
489
|
+
# A Swift Transfer Instruction object. This field will be present in the JSON
|
490
|
+
# response if and only if `category` is equal to `swift_transfer_instruction`.
|
491
|
+
sig do
|
492
|
+
returns(
|
493
|
+
T.nilable(
|
494
|
+
Increase::PendingTransaction::Source::SwiftTransferInstruction
|
495
|
+
)
|
496
|
+
)
|
497
|
+
end
|
498
|
+
attr_reader :swift_transfer_instruction
|
499
|
+
|
500
|
+
sig do
|
501
|
+
params(
|
502
|
+
swift_transfer_instruction:
|
503
|
+
T.nilable(
|
504
|
+
Increase::PendingTransaction::Source::SwiftTransferInstruction::OrHash
|
505
|
+
)
|
506
|
+
).void
|
507
|
+
end
|
508
|
+
attr_writer :swift_transfer_instruction
|
509
|
+
|
510
|
+
# An User Initiated Hold object. This field will be present in the JSON response
|
511
|
+
# if and only if `category` is equal to `user_initiated_hold`. Created when a user
|
512
|
+
# initiates a hold on funds in their account.
|
513
|
+
sig { returns(T.nilable(T.anything)) }
|
514
|
+
attr_accessor :user_initiated_hold
|
515
|
+
|
516
|
+
# A Wire Transfer Instruction object. This field will be present in the JSON
|
517
|
+
# response if and only if `category` is equal to `wire_transfer_instruction`.
|
518
|
+
sig do
|
519
|
+
returns(
|
520
|
+
T.nilable(
|
521
|
+
Increase::PendingTransaction::Source::WireTransferInstruction
|
522
|
+
)
|
523
|
+
)
|
524
|
+
end
|
525
|
+
attr_reader :wire_transfer_instruction
|
526
|
+
|
527
|
+
sig do
|
528
|
+
params(
|
529
|
+
wire_transfer_instruction:
|
530
|
+
T.nilable(
|
531
|
+
Increase::PendingTransaction::Source::WireTransferInstruction::OrHash
|
532
|
+
)
|
533
|
+
).void
|
534
|
+
end
|
535
|
+
attr_writer :wire_transfer_instruction
|
536
|
+
|
537
|
+
# This is an object giving more details on the network-level event that caused the
|
538
|
+
# Pending Transaction. For example, for a card transaction this lists the
|
539
|
+
# merchant's industry and location.
|
540
|
+
sig do
|
541
|
+
params(
|
542
|
+
account_transfer_instruction:
|
543
|
+
T.nilable(
|
544
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::OrHash
|
545
|
+
),
|
546
|
+
ach_transfer_instruction:
|
547
|
+
T.nilable(
|
548
|
+
Increase::PendingTransaction::Source::ACHTransferInstruction::OrHash
|
549
|
+
),
|
550
|
+
card_authorization:
|
551
|
+
T.nilable(
|
552
|
+
Increase::PendingTransaction::Source::CardAuthorization::OrHash
|
553
|
+
),
|
554
|
+
category: Increase::PendingTransaction::Source::Category::OrSymbol,
|
555
|
+
check_deposit_instruction:
|
556
|
+
T.nilable(
|
557
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::OrHash
|
558
|
+
),
|
559
|
+
check_transfer_instruction:
|
560
|
+
T.nilable(
|
561
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::OrHash
|
562
|
+
),
|
563
|
+
inbound_funds_hold:
|
564
|
+
T.nilable(
|
565
|
+
Increase::PendingTransaction::Source::InboundFundsHold::OrHash
|
566
|
+
),
|
567
|
+
inbound_wire_transfer_reversal:
|
568
|
+
T.nilable(
|
569
|
+
Increase::PendingTransaction::Source::InboundWireTransferReversal::OrHash
|
570
|
+
),
|
571
|
+
other: T.nilable(T.anything),
|
572
|
+
outbound_card_push_transfer_instruction:
|
573
|
+
T.nilable(
|
574
|
+
Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction::OrHash
|
575
|
+
),
|
576
|
+
real_time_payments_transfer_instruction:
|
577
|
+
T.nilable(
|
578
|
+
Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction::OrHash
|
579
|
+
),
|
580
|
+
swift_transfer_instruction:
|
581
|
+
T.nilable(
|
582
|
+
Increase::PendingTransaction::Source::SwiftTransferInstruction::OrHash
|
583
|
+
),
|
584
|
+
user_initiated_hold: T.nilable(T.anything),
|
585
|
+
wire_transfer_instruction:
|
586
|
+
T.nilable(
|
587
|
+
Increase::PendingTransaction::Source::WireTransferInstruction::OrHash
|
588
|
+
)
|
589
|
+
).returns(T.attached_class)
|
590
|
+
end
|
591
|
+
def self.new(
|
592
|
+
# An Account Transfer Instruction object. This field will be present in the JSON
|
593
|
+
# response if and only if `category` is equal to `account_transfer_instruction`.
|
594
|
+
account_transfer_instruction:,
|
595
|
+
# An ACH Transfer Instruction object. This field will be present in the JSON
|
596
|
+
# response if and only if `category` is equal to `ach_transfer_instruction`.
|
597
|
+
ach_transfer_instruction:,
|
598
|
+
# A Card Authorization object. This field will be present in the JSON response if
|
599
|
+
# and only if `category` is equal to `card_authorization`. Card Authorizations are
|
600
|
+
# temporary holds placed on a customers funds with the intent to later clear a
|
601
|
+
# transaction.
|
602
|
+
card_authorization:,
|
603
|
+
# The type of the resource. We may add additional possible values for this enum
|
604
|
+
# over time; your application should be able to handle such additions gracefully.
|
605
|
+
category:,
|
606
|
+
# A Check Deposit Instruction object. This field will be present in the JSON
|
607
|
+
# response if and only if `category` is equal to `check_deposit_instruction`.
|
608
|
+
check_deposit_instruction:,
|
609
|
+
# A Check Transfer Instruction object. This field will be present in the JSON
|
610
|
+
# response if and only if `category` is equal to `check_transfer_instruction`.
|
611
|
+
check_transfer_instruction:,
|
612
|
+
# An Inbound Funds Hold object. This field will be present in the JSON response if
|
613
|
+
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
|
614
|
+
# certain transaction types to account for return windows where funds might still
|
615
|
+
# be clawed back by the sending institution.
|
616
|
+
inbound_funds_hold:,
|
617
|
+
# An Inbound Wire Transfer Reversal object. This field will be present in the JSON
|
618
|
+
# response if and only if `category` is equal to `inbound_wire_transfer_reversal`.
|
619
|
+
# An Inbound Wire Transfer Reversal is created when Increase has received a wire
|
620
|
+
# and the User requests that it be reversed.
|
621
|
+
inbound_wire_transfer_reversal:,
|
622
|
+
# If the category of this Transaction source is equal to `other`, this field will
|
623
|
+
# contain an empty object, otherwise it will contain null.
|
624
|
+
other:,
|
625
|
+
# An Outbound Card Push Transfer Instruction object. This field will be present in
|
626
|
+
# the JSON response if and only if `category` is equal to
|
627
|
+
# `outbound_card_push_transfer_instruction`.
|
628
|
+
outbound_card_push_transfer_instruction:,
|
629
|
+
# A Real-Time Payments Transfer Instruction object. This field will be present in
|
630
|
+
# the JSON response if and only if `category` is equal to
|
631
|
+
# `real_time_payments_transfer_instruction`.
|
632
|
+
real_time_payments_transfer_instruction:,
|
633
|
+
# A Swift Transfer Instruction object. This field will be present in the JSON
|
634
|
+
# response if and only if `category` is equal to `swift_transfer_instruction`.
|
635
|
+
swift_transfer_instruction:,
|
636
|
+
# An User Initiated Hold object. This field will be present in the JSON response
|
637
|
+
# if and only if `category` is equal to `user_initiated_hold`. Created when a user
|
638
|
+
# initiates a hold on funds in their account.
|
639
|
+
user_initiated_hold:,
|
640
|
+
# A Wire Transfer Instruction object. This field will be present in the JSON
|
641
|
+
# response if and only if `category` is equal to `wire_transfer_instruction`.
|
642
|
+
wire_transfer_instruction:
|
643
|
+
)
|
644
|
+
end
|
645
|
+
|
646
|
+
sig do
|
647
|
+
override.returns(
|
648
|
+
{
|
649
|
+
account_transfer_instruction:
|
650
|
+
T.nilable(
|
651
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction
|
652
|
+
),
|
653
|
+
ach_transfer_instruction:
|
654
|
+
T.nilable(
|
655
|
+
Increase::PendingTransaction::Source::ACHTransferInstruction
|
656
|
+
),
|
657
|
+
card_authorization:
|
658
|
+
T.nilable(
|
659
|
+
Increase::PendingTransaction::Source::CardAuthorization
|
660
|
+
),
|
661
|
+
category:
|
662
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol,
|
663
|
+
check_deposit_instruction:
|
664
|
+
T.nilable(
|
665
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction
|
666
|
+
),
|
667
|
+
check_transfer_instruction:
|
668
|
+
T.nilable(
|
669
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction
|
670
|
+
),
|
671
|
+
inbound_funds_hold:
|
672
|
+
T.nilable(
|
673
|
+
Increase::PendingTransaction::Source::InboundFundsHold
|
674
|
+
),
|
675
|
+
inbound_wire_transfer_reversal:
|
676
|
+
T.nilable(
|
677
|
+
Increase::PendingTransaction::Source::InboundWireTransferReversal
|
678
|
+
),
|
679
|
+
other: T.nilable(T.anything),
|
680
|
+
outbound_card_push_transfer_instruction:
|
681
|
+
T.nilable(
|
682
|
+
Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction
|
683
|
+
),
|
684
|
+
real_time_payments_transfer_instruction:
|
685
|
+
T.nilable(
|
686
|
+
Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction
|
687
|
+
),
|
688
|
+
swift_transfer_instruction:
|
689
|
+
T.nilable(
|
690
|
+
Increase::PendingTransaction::Source::SwiftTransferInstruction
|
691
|
+
),
|
692
|
+
user_initiated_hold: T.nilable(T.anything),
|
693
|
+
wire_transfer_instruction:
|
694
|
+
T.nilable(
|
695
|
+
Increase::PendingTransaction::Source::WireTransferInstruction
|
696
|
+
)
|
697
|
+
}
|
698
|
+
)
|
699
|
+
end
|
700
|
+
def to_hash
|
701
|
+
end
|
702
|
+
|
703
|
+
class AccountTransferInstruction < Increase::Internal::Type::BaseModel
|
704
|
+
OrHash =
|
705
|
+
T.type_alias do
|
706
|
+
T.any(
|
707
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction,
|
708
|
+
Increase::Internal::AnyHash
|
709
|
+
)
|
710
|
+
end
|
711
|
+
|
712
|
+
# The pending amount in the minor unit of the transaction's currency. For dollars,
|
713
|
+
# for example, this is cents.
|
714
|
+
sig { returns(Integer) }
|
715
|
+
attr_accessor :amount
|
716
|
+
|
717
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
718
|
+
# account currency.
|
719
|
+
sig do
|
720
|
+
returns(
|
721
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
722
|
+
)
|
723
|
+
end
|
724
|
+
attr_accessor :currency
|
725
|
+
|
726
|
+
# The identifier of the Account Transfer that led to this Pending Transaction.
|
727
|
+
sig { returns(String) }
|
728
|
+
attr_accessor :transfer_id
|
729
|
+
|
730
|
+
# An Account Transfer Instruction object. This field will be present in the JSON
|
731
|
+
# response if and only if `category` is equal to `account_transfer_instruction`.
|
732
|
+
sig do
|
733
|
+
params(
|
734
|
+
amount: Integer,
|
735
|
+
currency:
|
736
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::OrSymbol,
|
737
|
+
transfer_id: String
|
738
|
+
).returns(T.attached_class)
|
739
|
+
end
|
740
|
+
def self.new(
|
741
|
+
# The pending amount in the minor unit of the transaction's currency. For dollars,
|
742
|
+
# for example, this is cents.
|
743
|
+
amount:,
|
744
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
745
|
+
# account currency.
|
746
|
+
currency:,
|
747
|
+
# The identifier of the Account Transfer that led to this Pending Transaction.
|
748
|
+
transfer_id:
|
749
|
+
)
|
750
|
+
end
|
751
|
+
|
752
|
+
sig do
|
753
|
+
override.returns(
|
754
|
+
{
|
755
|
+
amount: Integer,
|
756
|
+
currency:
|
757
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol,
|
758
|
+
transfer_id: String
|
759
|
+
}
|
760
|
+
)
|
761
|
+
end
|
762
|
+
def to_hash
|
763
|
+
end
|
764
|
+
|
765
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
766
|
+
# account currency.
|
767
|
+
module Currency
|
768
|
+
extend Increase::Internal::Type::Enum
|
769
|
+
|
770
|
+
TaggedSymbol =
|
771
|
+
T.type_alias do
|
772
|
+
T.all(
|
773
|
+
Symbol,
|
774
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency
|
775
|
+
)
|
776
|
+
end
|
777
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
778
|
+
|
779
|
+
# Canadian Dollar (CAD)
|
780
|
+
CAD =
|
781
|
+
T.let(
|
782
|
+
:CAD,
|
783
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
784
|
+
)
|
785
|
+
|
786
|
+
# Swiss Franc (CHF)
|
787
|
+
CHF =
|
788
|
+
T.let(
|
789
|
+
:CHF,
|
790
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
791
|
+
)
|
792
|
+
|
793
|
+
# Euro (EUR)
|
794
|
+
EUR =
|
795
|
+
T.let(
|
796
|
+
:EUR,
|
797
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
798
|
+
)
|
799
|
+
|
800
|
+
# British Pound (GBP)
|
801
|
+
GBP =
|
802
|
+
T.let(
|
803
|
+
:GBP,
|
804
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
805
|
+
)
|
806
|
+
|
807
|
+
# Japanese Yen (JPY)
|
808
|
+
JPY =
|
809
|
+
T.let(
|
810
|
+
:JPY,
|
811
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
812
|
+
)
|
813
|
+
|
814
|
+
# US Dollar (USD)
|
815
|
+
USD =
|
816
|
+
T.let(
|
817
|
+
:USD,
|
818
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
819
|
+
)
|
820
|
+
|
821
|
+
sig do
|
822
|
+
override.returns(
|
823
|
+
T::Array[
|
824
|
+
Increase::PendingTransaction::Source::AccountTransferInstruction::Currency::TaggedSymbol
|
825
|
+
]
|
826
|
+
)
|
827
|
+
end
|
828
|
+
def self.values
|
829
|
+
end
|
830
|
+
end
|
831
|
+
end
|
832
|
+
|
833
|
+
class ACHTransferInstruction < Increase::Internal::Type::BaseModel
|
834
|
+
OrHash =
|
835
|
+
T.type_alias do
|
836
|
+
T.any(
|
837
|
+
Increase::PendingTransaction::Source::ACHTransferInstruction,
|
838
|
+
Increase::Internal::AnyHash
|
839
|
+
)
|
840
|
+
end
|
841
|
+
|
842
|
+
# The pending amount in USD cents.
|
843
|
+
sig { returns(Integer) }
|
844
|
+
attr_accessor :amount
|
845
|
+
|
846
|
+
# The identifier of the ACH Transfer that led to this Pending Transaction.
|
847
|
+
sig { returns(String) }
|
848
|
+
attr_accessor :transfer_id
|
849
|
+
|
850
|
+
# An ACH Transfer Instruction object. This field will be present in the JSON
|
851
|
+
# response if and only if `category` is equal to `ach_transfer_instruction`.
|
852
|
+
sig do
|
853
|
+
params(amount: Integer, transfer_id: String).returns(
|
854
|
+
T.attached_class
|
855
|
+
)
|
856
|
+
end
|
857
|
+
def self.new(
|
858
|
+
# The pending amount in USD cents.
|
859
|
+
amount:,
|
860
|
+
# The identifier of the ACH Transfer that led to this Pending Transaction.
|
861
|
+
transfer_id:
|
862
|
+
)
|
863
|
+
end
|
864
|
+
|
865
|
+
sig { override.returns({ amount: Integer, transfer_id: String }) }
|
866
|
+
def to_hash
|
867
|
+
end
|
868
|
+
end
|
869
|
+
|
870
|
+
class CardAuthorization < Increase::Internal::Type::BaseModel
|
871
|
+
OrHash =
|
872
|
+
T.type_alias do
|
873
|
+
T.any(
|
874
|
+
Increase::PendingTransaction::Source::CardAuthorization,
|
875
|
+
Increase::Internal::AnyHash
|
876
|
+
)
|
877
|
+
end
|
878
|
+
|
879
|
+
# The Card Authorization identifier.
|
880
|
+
sig { returns(String) }
|
881
|
+
attr_accessor :id
|
882
|
+
|
883
|
+
# Whether this authorization was approved by Increase, the card network through
|
884
|
+
# stand-in processing, or the user through a real-time decision.
|
885
|
+
sig do
|
886
|
+
returns(
|
887
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner::TaggedSymbol
|
888
|
+
)
|
889
|
+
end
|
890
|
+
attr_accessor :actioner
|
891
|
+
|
892
|
+
# The pending amount in the minor unit of the transaction's currency. For dollars,
|
893
|
+
# for example, this is cents.
|
894
|
+
sig { returns(Integer) }
|
895
|
+
attr_accessor :amount
|
896
|
+
|
897
|
+
# The ID of the Card Payment this transaction belongs to.
|
898
|
+
sig { returns(String) }
|
899
|
+
attr_accessor :card_payment_id
|
900
|
+
|
901
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
902
|
+
# transaction's currency.
|
903
|
+
sig do
|
904
|
+
returns(
|
905
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
906
|
+
)
|
907
|
+
end
|
908
|
+
attr_accessor :currency
|
909
|
+
|
910
|
+
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
911
|
+
# purchase), the identifier of the token that was used.
|
912
|
+
sig { returns(T.nilable(String)) }
|
913
|
+
attr_accessor :digital_wallet_token_id
|
914
|
+
|
915
|
+
# The direction describes the direction the funds will move, either from the
|
916
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
917
|
+
sig do
|
918
|
+
returns(
|
919
|
+
Increase::PendingTransaction::Source::CardAuthorization::Direction::TaggedSymbol
|
920
|
+
)
|
921
|
+
end
|
922
|
+
attr_accessor :direction
|
923
|
+
|
924
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
|
925
|
+
# will expire and the pending transaction will be released.
|
926
|
+
sig { returns(Time) }
|
927
|
+
attr_accessor :expires_at
|
928
|
+
|
929
|
+
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
930
|
+
# is transacting with.
|
931
|
+
sig { returns(String) }
|
932
|
+
attr_accessor :merchant_acceptor_id
|
933
|
+
|
934
|
+
# The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
935
|
+
# card is transacting with.
|
936
|
+
sig { returns(String) }
|
937
|
+
attr_accessor :merchant_category_code
|
938
|
+
|
939
|
+
# The city the merchant resides in.
|
940
|
+
sig { returns(T.nilable(String)) }
|
941
|
+
attr_accessor :merchant_city
|
942
|
+
|
943
|
+
# The country the merchant resides in.
|
944
|
+
sig { returns(String) }
|
945
|
+
attr_accessor :merchant_country
|
946
|
+
|
947
|
+
# The merchant descriptor of the merchant the card is transacting with.
|
948
|
+
sig { returns(String) }
|
949
|
+
attr_accessor :merchant_descriptor
|
950
|
+
|
951
|
+
# The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
|
952
|
+
# ZIP code, where the first 5 and last 4 are separated by a dash.
|
953
|
+
sig { returns(T.nilable(String)) }
|
954
|
+
attr_accessor :merchant_postal_code
|
955
|
+
|
956
|
+
# The state the merchant resides in.
|
957
|
+
sig { returns(T.nilable(String)) }
|
958
|
+
attr_accessor :merchant_state
|
959
|
+
|
960
|
+
# Fields specific to the `network`.
|
961
|
+
sig do
|
962
|
+
returns(
|
963
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails
|
964
|
+
)
|
965
|
+
end
|
966
|
+
attr_reader :network_details
|
967
|
+
|
968
|
+
sig do
|
969
|
+
params(
|
970
|
+
network_details:
|
971
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::OrHash
|
972
|
+
).void
|
973
|
+
end
|
974
|
+
attr_writer :network_details
|
975
|
+
|
976
|
+
# Network-specific identifiers for a specific request or transaction.
|
977
|
+
sig do
|
978
|
+
returns(
|
979
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers
|
980
|
+
)
|
981
|
+
end
|
982
|
+
attr_reader :network_identifiers
|
983
|
+
|
984
|
+
sig do
|
985
|
+
params(
|
986
|
+
network_identifiers:
|
987
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers::OrHash
|
988
|
+
).void
|
989
|
+
end
|
990
|
+
attr_writer :network_identifiers
|
991
|
+
|
992
|
+
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
993
|
+
# Authorization risk score, from 0 to 99, where 99 is the riskiest.
|
994
|
+
sig { returns(T.nilable(Integer)) }
|
995
|
+
attr_accessor :network_risk_score
|
996
|
+
|
997
|
+
# The identifier of the Pending Transaction associated with this Transaction.
|
998
|
+
sig { returns(T.nilable(String)) }
|
999
|
+
attr_accessor :pending_transaction_id
|
1000
|
+
|
1001
|
+
# If the authorization was made in-person with a physical card, the Physical Card
|
1002
|
+
# that was used.
|
1003
|
+
sig { returns(T.nilable(String)) }
|
1004
|
+
attr_accessor :physical_card_id
|
1005
|
+
|
1006
|
+
# The pending amount in the minor unit of the transaction's presentment currency.
|
1007
|
+
sig { returns(Integer) }
|
1008
|
+
attr_accessor :presentment_amount
|
1009
|
+
|
1010
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
1011
|
+
# transaction's presentment currency.
|
1012
|
+
sig { returns(String) }
|
1013
|
+
attr_accessor :presentment_currency
|
1014
|
+
|
1015
|
+
# The processing category describes the intent behind the authorization, such as
|
1016
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
1017
|
+
sig do
|
1018
|
+
returns(
|
1019
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1020
|
+
)
|
1021
|
+
end
|
1022
|
+
attr_accessor :processing_category
|
1023
|
+
|
1024
|
+
# The identifier of the Real-Time Decision sent to approve or decline this
|
1025
|
+
# transaction.
|
1026
|
+
sig { returns(T.nilable(String)) }
|
1027
|
+
attr_accessor :real_time_decision_id
|
1028
|
+
|
1029
|
+
# The terminal identifier (commonly abbreviated as TID) of the terminal the card
|
1030
|
+
# is transacting with.
|
1031
|
+
sig { returns(T.nilable(String)) }
|
1032
|
+
attr_accessor :terminal_id
|
1033
|
+
|
1034
|
+
# A constant representing the object's type. For this resource it will always be
|
1035
|
+
# `card_authorization`.
|
1036
|
+
sig do
|
1037
|
+
returns(
|
1038
|
+
Increase::PendingTransaction::Source::CardAuthorization::Type::TaggedSymbol
|
1039
|
+
)
|
1040
|
+
end
|
1041
|
+
attr_accessor :type
|
1042
|
+
|
1043
|
+
# Fields related to verification of cardholder-provided values.
|
1044
|
+
sig do
|
1045
|
+
returns(
|
1046
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification
|
1047
|
+
)
|
1048
|
+
end
|
1049
|
+
attr_reader :verification
|
1050
|
+
|
1051
|
+
sig do
|
1052
|
+
params(
|
1053
|
+
verification:
|
1054
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::OrHash
|
1055
|
+
).void
|
1056
|
+
end
|
1057
|
+
attr_writer :verification
|
1058
|
+
|
1059
|
+
# A Card Authorization object. This field will be present in the JSON response if
|
1060
|
+
# and only if `category` is equal to `card_authorization`. Card Authorizations are
|
1061
|
+
# temporary holds placed on a customers funds with the intent to later clear a
|
1062
|
+
# transaction.
|
1063
|
+
sig do
|
1064
|
+
params(
|
1065
|
+
id: String,
|
1066
|
+
actioner:
|
1067
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner::OrSymbol,
|
1068
|
+
amount: Integer,
|
1069
|
+
card_payment_id: String,
|
1070
|
+
currency:
|
1071
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::OrSymbol,
|
1072
|
+
digital_wallet_token_id: T.nilable(String),
|
1073
|
+
direction:
|
1074
|
+
Increase::PendingTransaction::Source::CardAuthorization::Direction::OrSymbol,
|
1075
|
+
expires_at: Time,
|
1076
|
+
merchant_acceptor_id: String,
|
1077
|
+
merchant_category_code: String,
|
1078
|
+
merchant_city: T.nilable(String),
|
1079
|
+
merchant_country: String,
|
1080
|
+
merchant_descriptor: String,
|
1081
|
+
merchant_postal_code: T.nilable(String),
|
1082
|
+
merchant_state: T.nilable(String),
|
1083
|
+
network_details:
|
1084
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::OrHash,
|
1085
|
+
network_identifiers:
|
1086
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers::OrHash,
|
1087
|
+
network_risk_score: T.nilable(Integer),
|
1088
|
+
pending_transaction_id: T.nilable(String),
|
1089
|
+
physical_card_id: T.nilable(String),
|
1090
|
+
presentment_amount: Integer,
|
1091
|
+
presentment_currency: String,
|
1092
|
+
processing_category:
|
1093
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::OrSymbol,
|
1094
|
+
real_time_decision_id: T.nilable(String),
|
1095
|
+
terminal_id: T.nilable(String),
|
1096
|
+
type:
|
1097
|
+
Increase::PendingTransaction::Source::CardAuthorization::Type::OrSymbol,
|
1098
|
+
verification:
|
1099
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::OrHash
|
1100
|
+
).returns(T.attached_class)
|
1101
|
+
end
|
1102
|
+
def self.new(
|
1103
|
+
# The Card Authorization identifier.
|
1104
|
+
id:,
|
1105
|
+
# Whether this authorization was approved by Increase, the card network through
|
1106
|
+
# stand-in processing, or the user through a real-time decision.
|
1107
|
+
actioner:,
|
1108
|
+
# The pending amount in the minor unit of the transaction's currency. For dollars,
|
1109
|
+
# for example, this is cents.
|
1110
|
+
amount:,
|
1111
|
+
# The ID of the Card Payment this transaction belongs to.
|
1112
|
+
card_payment_id:,
|
1113
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
1114
|
+
# transaction's currency.
|
1115
|
+
currency:,
|
1116
|
+
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
1117
|
+
# purchase), the identifier of the token that was used.
|
1118
|
+
digital_wallet_token_id:,
|
1119
|
+
# The direction describes the direction the funds will move, either from the
|
1120
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
1121
|
+
direction:,
|
1122
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization
|
1123
|
+
# will expire and the pending transaction will be released.
|
1124
|
+
expires_at:,
|
1125
|
+
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
1126
|
+
# is transacting with.
|
1127
|
+
merchant_acceptor_id:,
|
1128
|
+
# The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
1129
|
+
# card is transacting with.
|
1130
|
+
merchant_category_code:,
|
1131
|
+
# The city the merchant resides in.
|
1132
|
+
merchant_city:,
|
1133
|
+
# The country the merchant resides in.
|
1134
|
+
merchant_country:,
|
1135
|
+
# The merchant descriptor of the merchant the card is transacting with.
|
1136
|
+
merchant_descriptor:,
|
1137
|
+
# The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
|
1138
|
+
# ZIP code, where the first 5 and last 4 are separated by a dash.
|
1139
|
+
merchant_postal_code:,
|
1140
|
+
# The state the merchant resides in.
|
1141
|
+
merchant_state:,
|
1142
|
+
# Fields specific to the `network`.
|
1143
|
+
network_details:,
|
1144
|
+
# Network-specific identifiers for a specific request or transaction.
|
1145
|
+
network_identifiers:,
|
1146
|
+
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
1147
|
+
# Authorization risk score, from 0 to 99, where 99 is the riskiest.
|
1148
|
+
network_risk_score:,
|
1149
|
+
# The identifier of the Pending Transaction associated with this Transaction.
|
1150
|
+
pending_transaction_id:,
|
1151
|
+
# If the authorization was made in-person with a physical card, the Physical Card
|
1152
|
+
# that was used.
|
1153
|
+
physical_card_id:,
|
1154
|
+
# The pending amount in the minor unit of the transaction's presentment currency.
|
1155
|
+
presentment_amount:,
|
1156
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
1157
|
+
# transaction's presentment currency.
|
1158
|
+
presentment_currency:,
|
1159
|
+
# The processing category describes the intent behind the authorization, such as
|
1160
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
1161
|
+
processing_category:,
|
1162
|
+
# The identifier of the Real-Time Decision sent to approve or decline this
|
1163
|
+
# transaction.
|
1164
|
+
real_time_decision_id:,
|
1165
|
+
# The terminal identifier (commonly abbreviated as TID) of the terminal the card
|
1166
|
+
# is transacting with.
|
1167
|
+
terminal_id:,
|
1168
|
+
# A constant representing the object's type. For this resource it will always be
|
1169
|
+
# `card_authorization`.
|
1170
|
+
type:,
|
1171
|
+
# Fields related to verification of cardholder-provided values.
|
1172
|
+
verification:
|
1173
|
+
)
|
1174
|
+
end
|
1175
|
+
|
1176
|
+
sig do
|
1177
|
+
override.returns(
|
1178
|
+
{
|
1179
|
+
id: String,
|
1180
|
+
actioner:
|
1181
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner::TaggedSymbol,
|
1182
|
+
amount: Integer,
|
1183
|
+
card_payment_id: String,
|
1184
|
+
currency:
|
1185
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol,
|
1186
|
+
digital_wallet_token_id: T.nilable(String),
|
1187
|
+
direction:
|
1188
|
+
Increase::PendingTransaction::Source::CardAuthorization::Direction::TaggedSymbol,
|
1189
|
+
expires_at: Time,
|
1190
|
+
merchant_acceptor_id: String,
|
1191
|
+
merchant_category_code: String,
|
1192
|
+
merchant_city: T.nilable(String),
|
1193
|
+
merchant_country: String,
|
1194
|
+
merchant_descriptor: String,
|
1195
|
+
merchant_postal_code: T.nilable(String),
|
1196
|
+
merchant_state: T.nilable(String),
|
1197
|
+
network_details:
|
1198
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails,
|
1199
|
+
network_identifiers:
|
1200
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers,
|
1201
|
+
network_risk_score: T.nilable(Integer),
|
1202
|
+
pending_transaction_id: T.nilable(String),
|
1203
|
+
physical_card_id: T.nilable(String),
|
1204
|
+
presentment_amount: Integer,
|
1205
|
+
presentment_currency: String,
|
1206
|
+
processing_category:
|
1207
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol,
|
1208
|
+
real_time_decision_id: T.nilable(String),
|
1209
|
+
terminal_id: T.nilable(String),
|
1210
|
+
type:
|
1211
|
+
Increase::PendingTransaction::Source::CardAuthorization::Type::TaggedSymbol,
|
1212
|
+
verification:
|
1213
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification
|
1214
|
+
}
|
1215
|
+
)
|
1216
|
+
end
|
1217
|
+
def to_hash
|
1218
|
+
end
|
1219
|
+
|
1220
|
+
# Whether this authorization was approved by Increase, the card network through
|
1221
|
+
# stand-in processing, or the user through a real-time decision.
|
1222
|
+
module Actioner
|
1223
|
+
extend Increase::Internal::Type::Enum
|
1224
|
+
|
1225
|
+
TaggedSymbol =
|
1226
|
+
T.type_alias do
|
1227
|
+
T.all(
|
1228
|
+
Symbol,
|
1229
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner
|
1230
|
+
)
|
1231
|
+
end
|
1232
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1233
|
+
|
1234
|
+
# This object was actioned by the user through a real-time decision.
|
1235
|
+
USER =
|
1236
|
+
T.let(
|
1237
|
+
:user,
|
1238
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner::TaggedSymbol
|
1239
|
+
)
|
1240
|
+
|
1241
|
+
# This object was actioned by Increase without user intervention.
|
1242
|
+
INCREASE =
|
1243
|
+
T.let(
|
1244
|
+
:increase,
|
1245
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner::TaggedSymbol
|
1246
|
+
)
|
1247
|
+
|
1248
|
+
# This object was actioned by the network, through stand-in processing.
|
1249
|
+
NETWORK =
|
1250
|
+
T.let(
|
1251
|
+
:network,
|
1252
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner::TaggedSymbol
|
1253
|
+
)
|
1254
|
+
|
1255
|
+
sig do
|
1256
|
+
override.returns(
|
1257
|
+
T::Array[
|
1258
|
+
Increase::PendingTransaction::Source::CardAuthorization::Actioner::TaggedSymbol
|
1259
|
+
]
|
1260
|
+
)
|
1261
|
+
end
|
1262
|
+
def self.values
|
1263
|
+
end
|
1264
|
+
end
|
1265
|
+
|
1266
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
1267
|
+
# transaction's currency.
|
1268
|
+
module Currency
|
1269
|
+
extend Increase::Internal::Type::Enum
|
1270
|
+
|
1271
|
+
TaggedSymbol =
|
1272
|
+
T.type_alias do
|
1273
|
+
T.all(
|
1274
|
+
Symbol,
|
1275
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency
|
1276
|
+
)
|
1277
|
+
end
|
1278
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1279
|
+
|
1280
|
+
# Canadian Dollar (CAD)
|
1281
|
+
CAD =
|
1282
|
+
T.let(
|
1283
|
+
:CAD,
|
1284
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
1285
|
+
)
|
1286
|
+
|
1287
|
+
# Swiss Franc (CHF)
|
1288
|
+
CHF =
|
1289
|
+
T.let(
|
1290
|
+
:CHF,
|
1291
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
1292
|
+
)
|
1293
|
+
|
1294
|
+
# Euro (EUR)
|
1295
|
+
EUR =
|
1296
|
+
T.let(
|
1297
|
+
:EUR,
|
1298
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
1299
|
+
)
|
1300
|
+
|
1301
|
+
# British Pound (GBP)
|
1302
|
+
GBP =
|
1303
|
+
T.let(
|
1304
|
+
:GBP,
|
1305
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
1306
|
+
)
|
1307
|
+
|
1308
|
+
# Japanese Yen (JPY)
|
1309
|
+
JPY =
|
1310
|
+
T.let(
|
1311
|
+
:JPY,
|
1312
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
1313
|
+
)
|
1314
|
+
|
1315
|
+
# US Dollar (USD)
|
1316
|
+
USD =
|
1317
|
+
T.let(
|
1318
|
+
:USD,
|
1319
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
1320
|
+
)
|
1321
|
+
|
1322
|
+
sig do
|
1323
|
+
override.returns(
|
1324
|
+
T::Array[
|
1325
|
+
Increase::PendingTransaction::Source::CardAuthorization::Currency::TaggedSymbol
|
1326
|
+
]
|
1327
|
+
)
|
1328
|
+
end
|
1329
|
+
def self.values
|
1330
|
+
end
|
1331
|
+
end
|
1332
|
+
|
1333
|
+
# The direction describes the direction the funds will move, either from the
|
1334
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
1335
|
+
module Direction
|
1336
|
+
extend Increase::Internal::Type::Enum
|
1337
|
+
|
1338
|
+
TaggedSymbol =
|
1339
|
+
T.type_alias do
|
1340
|
+
T.all(
|
1341
|
+
Symbol,
|
1342
|
+
Increase::PendingTransaction::Source::CardAuthorization::Direction
|
1343
|
+
)
|
1344
|
+
end
|
1345
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1346
|
+
|
1347
|
+
# A regular card authorization where funds are debited from the cardholder.
|
1348
|
+
SETTLEMENT =
|
1349
|
+
T.let(
|
1350
|
+
:settlement,
|
1351
|
+
Increase::PendingTransaction::Source::CardAuthorization::Direction::TaggedSymbol
|
1352
|
+
)
|
1353
|
+
|
1354
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
1355
|
+
REFUND =
|
1356
|
+
T.let(
|
1357
|
+
:refund,
|
1358
|
+
Increase::PendingTransaction::Source::CardAuthorization::Direction::TaggedSymbol
|
1359
|
+
)
|
1360
|
+
|
1361
|
+
sig do
|
1362
|
+
override.returns(
|
1363
|
+
T::Array[
|
1364
|
+
Increase::PendingTransaction::Source::CardAuthorization::Direction::TaggedSymbol
|
1365
|
+
]
|
1366
|
+
)
|
1367
|
+
end
|
1368
|
+
def self.values
|
1369
|
+
end
|
1370
|
+
end
|
1371
|
+
|
1372
|
+
class NetworkDetails < Increase::Internal::Type::BaseModel
|
1373
|
+
OrHash =
|
1374
|
+
T.type_alias do
|
1375
|
+
T.any(
|
1376
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails,
|
1377
|
+
Increase::Internal::AnyHash
|
1378
|
+
)
|
1379
|
+
end
|
1380
|
+
|
1381
|
+
# The payment network used to process this card authorization.
|
1382
|
+
sig do
|
1383
|
+
returns(
|
1384
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category::TaggedSymbol
|
1385
|
+
)
|
1386
|
+
end
|
1387
|
+
attr_accessor :category
|
1388
|
+
|
1389
|
+
# Fields specific to the `visa` network.
|
1390
|
+
sig do
|
1391
|
+
returns(
|
1392
|
+
T.nilable(
|
1393
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa
|
1394
|
+
)
|
1395
|
+
)
|
1396
|
+
end
|
1397
|
+
attr_reader :visa
|
1398
|
+
|
1399
|
+
sig do
|
1400
|
+
params(
|
1401
|
+
visa:
|
1402
|
+
T.nilable(
|
1403
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::OrHash
|
1404
|
+
)
|
1405
|
+
).void
|
1406
|
+
end
|
1407
|
+
attr_writer :visa
|
1408
|
+
|
1409
|
+
# Fields specific to the `network`.
|
1410
|
+
sig do
|
1411
|
+
params(
|
1412
|
+
category:
|
1413
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category::OrSymbol,
|
1414
|
+
visa:
|
1415
|
+
T.nilable(
|
1416
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::OrHash
|
1417
|
+
)
|
1418
|
+
).returns(T.attached_class)
|
1419
|
+
end
|
1420
|
+
def self.new(
|
1421
|
+
# The payment network used to process this card authorization.
|
1422
|
+
category:,
|
1423
|
+
# Fields specific to the `visa` network.
|
1424
|
+
visa:
|
1425
|
+
)
|
1426
|
+
end
|
1427
|
+
|
1428
|
+
sig do
|
1429
|
+
override.returns(
|
1430
|
+
{
|
1431
|
+
category:
|
1432
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category::TaggedSymbol,
|
1433
|
+
visa:
|
1434
|
+
T.nilable(
|
1435
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa
|
1436
|
+
)
|
1437
|
+
}
|
1438
|
+
)
|
1439
|
+
end
|
1440
|
+
def to_hash
|
1441
|
+
end
|
1442
|
+
|
1443
|
+
# The payment network used to process this card authorization.
|
1444
|
+
module Category
|
1445
|
+
extend Increase::Internal::Type::Enum
|
1446
|
+
|
1447
|
+
TaggedSymbol =
|
1448
|
+
T.type_alias do
|
1449
|
+
T.all(
|
1450
|
+
Symbol,
|
1451
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category
|
1452
|
+
)
|
1453
|
+
end
|
1454
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1455
|
+
|
1456
|
+
# Visa
|
1457
|
+
VISA =
|
1458
|
+
T.let(
|
1459
|
+
:visa,
|
1460
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category::TaggedSymbol
|
1461
|
+
)
|
1462
|
+
|
1463
|
+
sig do
|
1464
|
+
override.returns(
|
1465
|
+
T::Array[
|
1466
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category::TaggedSymbol
|
1467
|
+
]
|
1468
|
+
)
|
1469
|
+
end
|
1470
|
+
def self.values
|
1471
|
+
end
|
1472
|
+
end
|
1473
|
+
|
1474
|
+
class Visa < Increase::Internal::Type::BaseModel
|
1475
|
+
OrHash =
|
1476
|
+
T.type_alias do
|
1477
|
+
T.any(
|
1478
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa,
|
1479
|
+
Increase::Internal::AnyHash
|
1480
|
+
)
|
1481
|
+
end
|
1482
|
+
|
1483
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1484
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1485
|
+
# transactions, identifies the type of mail or telephone order.
|
1486
|
+
sig do
|
1487
|
+
returns(
|
1488
|
+
T.nilable(
|
1489
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1490
|
+
)
|
1491
|
+
)
|
1492
|
+
end
|
1493
|
+
attr_accessor :electronic_commerce_indicator
|
1494
|
+
|
1495
|
+
# The method used to enter the cardholder's primary account number and card
|
1496
|
+
# expiration date.
|
1497
|
+
sig do
|
1498
|
+
returns(
|
1499
|
+
T.nilable(
|
1500
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1501
|
+
)
|
1502
|
+
)
|
1503
|
+
end
|
1504
|
+
attr_accessor :point_of_service_entry_mode
|
1505
|
+
|
1506
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1507
|
+
# approved or declined by Visa through stand-in processing.
|
1508
|
+
sig do
|
1509
|
+
returns(
|
1510
|
+
T.nilable(
|
1511
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1512
|
+
)
|
1513
|
+
)
|
1514
|
+
end
|
1515
|
+
attr_accessor :stand_in_processing_reason
|
1516
|
+
|
1517
|
+
# Fields specific to the `visa` network.
|
1518
|
+
sig do
|
1519
|
+
params(
|
1520
|
+
electronic_commerce_indicator:
|
1521
|
+
T.nilable(
|
1522
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::OrSymbol
|
1523
|
+
),
|
1524
|
+
point_of_service_entry_mode:
|
1525
|
+
T.nilable(
|
1526
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::OrSymbol
|
1527
|
+
),
|
1528
|
+
stand_in_processing_reason:
|
1529
|
+
T.nilable(
|
1530
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::OrSymbol
|
1531
|
+
)
|
1532
|
+
).returns(T.attached_class)
|
1533
|
+
end
|
1534
|
+
def self.new(
|
1535
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1536
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1537
|
+
# transactions, identifies the type of mail or telephone order.
|
1538
|
+
electronic_commerce_indicator:,
|
1539
|
+
# The method used to enter the cardholder's primary account number and card
|
1540
|
+
# expiration date.
|
1541
|
+
point_of_service_entry_mode:,
|
1542
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1543
|
+
# approved or declined by Visa through stand-in processing.
|
1544
|
+
stand_in_processing_reason:
|
1545
|
+
)
|
1546
|
+
end
|
1547
|
+
|
1548
|
+
sig do
|
1549
|
+
override.returns(
|
1550
|
+
{
|
1551
|
+
electronic_commerce_indicator:
|
1552
|
+
T.nilable(
|
1553
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1554
|
+
),
|
1555
|
+
point_of_service_entry_mode:
|
1556
|
+
T.nilable(
|
1557
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1558
|
+
),
|
1559
|
+
stand_in_processing_reason:
|
1560
|
+
T.nilable(
|
1561
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1562
|
+
)
|
1563
|
+
}
|
1564
|
+
)
|
1565
|
+
end
|
1566
|
+
def to_hash
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1570
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1571
|
+
# transactions, identifies the type of mail or telephone order.
|
1572
|
+
module ElectronicCommerceIndicator
|
1573
|
+
extend Increase::Internal::Type::Enum
|
1574
|
+
|
1575
|
+
TaggedSymbol =
|
1576
|
+
T.type_alias do
|
1577
|
+
T.all(
|
1578
|
+
Symbol,
|
1579
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator
|
1580
|
+
)
|
1581
|
+
end
|
1582
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1583
|
+
|
1584
|
+
# 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.
|
1585
|
+
MAIL_PHONE_ORDER =
|
1586
|
+
T.let(
|
1587
|
+
:mail_phone_order,
|
1588
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1589
|
+
)
|
1590
|
+
|
1591
|
+
# Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
|
1592
|
+
RECURRING =
|
1593
|
+
T.let(
|
1594
|
+
:recurring,
|
1595
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1596
|
+
)
|
1597
|
+
|
1598
|
+
# 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.
|
1599
|
+
INSTALLMENT =
|
1600
|
+
T.let(
|
1601
|
+
:installment,
|
1602
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1603
|
+
)
|
1604
|
+
|
1605
|
+
# Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
|
1606
|
+
UNKNOWN_MAIL_PHONE_ORDER =
|
1607
|
+
T.let(
|
1608
|
+
:unknown_mail_phone_order,
|
1609
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1610
|
+
)
|
1611
|
+
|
1612
|
+
# Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
|
1613
|
+
SECURE_ELECTRONIC_COMMERCE =
|
1614
|
+
T.let(
|
1615
|
+
:secure_electronic_commerce,
|
1616
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1617
|
+
)
|
1618
|
+
|
1619
|
+
# 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.
|
1620
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT =
|
1621
|
+
T.let(
|
1622
|
+
:non_authenticated_security_transaction_at_3ds_capable_merchant,
|
1623
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1624
|
+
)
|
1625
|
+
|
1626
|
+
# 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.
|
1627
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION =
|
1628
|
+
T.let(
|
1629
|
+
:non_authenticated_security_transaction,
|
1630
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1631
|
+
)
|
1632
|
+
|
1633
|
+
# Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
|
1634
|
+
NON_SECURE_TRANSACTION =
|
1635
|
+
T.let(
|
1636
|
+
:non_secure_transaction,
|
1637
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1638
|
+
)
|
1639
|
+
|
1640
|
+
sig do
|
1641
|
+
override.returns(
|
1642
|
+
T::Array[
|
1643
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1644
|
+
]
|
1645
|
+
)
|
1646
|
+
end
|
1647
|
+
def self.values
|
1648
|
+
end
|
1649
|
+
end
|
1650
|
+
|
1651
|
+
# The method used to enter the cardholder's primary account number and card
|
1652
|
+
# expiration date.
|
1653
|
+
module PointOfServiceEntryMode
|
1654
|
+
extend Increase::Internal::Type::Enum
|
1655
|
+
|
1656
|
+
TaggedSymbol =
|
1657
|
+
T.type_alias do
|
1658
|
+
T.all(
|
1659
|
+
Symbol,
|
1660
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode
|
1661
|
+
)
|
1662
|
+
end
|
1663
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1664
|
+
|
1665
|
+
# Unknown
|
1666
|
+
UNKNOWN =
|
1667
|
+
T.let(
|
1668
|
+
:unknown,
|
1669
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1670
|
+
)
|
1671
|
+
|
1672
|
+
# Manual key entry
|
1673
|
+
MANUAL =
|
1674
|
+
T.let(
|
1675
|
+
:manual,
|
1676
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1677
|
+
)
|
1678
|
+
|
1679
|
+
# Magnetic stripe read, without card verification value
|
1680
|
+
MAGNETIC_STRIPE_NO_CVV =
|
1681
|
+
T.let(
|
1682
|
+
:magnetic_stripe_no_cvv,
|
1683
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1684
|
+
)
|
1685
|
+
|
1686
|
+
# Optical code
|
1687
|
+
OPTICAL_CODE =
|
1688
|
+
T.let(
|
1689
|
+
:optical_code,
|
1690
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1691
|
+
)
|
1692
|
+
|
1693
|
+
# Contact chip card
|
1694
|
+
INTEGRATED_CIRCUIT_CARD =
|
1695
|
+
T.let(
|
1696
|
+
:integrated_circuit_card,
|
1697
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1698
|
+
)
|
1699
|
+
|
1700
|
+
# Contactless read of chip card
|
1701
|
+
CONTACTLESS =
|
1702
|
+
T.let(
|
1703
|
+
:contactless,
|
1704
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1705
|
+
)
|
1706
|
+
|
1707
|
+
# Transaction initiated using a credential that has previously been stored on file
|
1708
|
+
CREDENTIAL_ON_FILE =
|
1709
|
+
T.let(
|
1710
|
+
:credential_on_file,
|
1711
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1712
|
+
)
|
1713
|
+
|
1714
|
+
# Magnetic stripe read
|
1715
|
+
MAGNETIC_STRIPE =
|
1716
|
+
T.let(
|
1717
|
+
:magnetic_stripe,
|
1718
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1719
|
+
)
|
1720
|
+
|
1721
|
+
# Contactless read of magnetic stripe data
|
1722
|
+
CONTACTLESS_MAGNETIC_STRIPE =
|
1723
|
+
T.let(
|
1724
|
+
:contactless_magnetic_stripe,
|
1725
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1726
|
+
)
|
1727
|
+
|
1728
|
+
# Contact chip card, without card verification value
|
1729
|
+
INTEGRATED_CIRCUIT_CARD_NO_CVV =
|
1730
|
+
T.let(
|
1731
|
+
:integrated_circuit_card_no_cvv,
|
1732
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1733
|
+
)
|
1734
|
+
|
1735
|
+
sig do
|
1736
|
+
override.returns(
|
1737
|
+
T::Array[
|
1738
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1739
|
+
]
|
1740
|
+
)
|
1741
|
+
end
|
1742
|
+
def self.values
|
1743
|
+
end
|
1744
|
+
end
|
1745
|
+
|
1746
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1747
|
+
# approved or declined by Visa through stand-in processing.
|
1748
|
+
module StandInProcessingReason
|
1749
|
+
extend Increase::Internal::Type::Enum
|
1750
|
+
|
1751
|
+
TaggedSymbol =
|
1752
|
+
T.type_alias do
|
1753
|
+
T.all(
|
1754
|
+
Symbol,
|
1755
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason
|
1756
|
+
)
|
1757
|
+
end
|
1758
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1759
|
+
|
1760
|
+
# Increase failed to process the authorization in a timely manner.
|
1761
|
+
ISSUER_ERROR =
|
1762
|
+
T.let(
|
1763
|
+
:issuer_error,
|
1764
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1765
|
+
)
|
1766
|
+
|
1767
|
+
# The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
|
1768
|
+
INVALID_PHYSICAL_CARD =
|
1769
|
+
T.let(
|
1770
|
+
:invalid_physical_card,
|
1771
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1772
|
+
)
|
1773
|
+
|
1774
|
+
# The 3DS cardholder authentication verification value was invalid.
|
1775
|
+
INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE =
|
1776
|
+
T.let(
|
1777
|
+
:invalid_cardholder_authentication_verification_value,
|
1778
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1779
|
+
)
|
1780
|
+
|
1781
|
+
# An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
|
1782
|
+
INTERNAL_VISA_ERROR =
|
1783
|
+
T.let(
|
1784
|
+
:internal_visa_error,
|
1785
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1786
|
+
)
|
1787
|
+
|
1788
|
+
# 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.
|
1789
|
+
MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED =
|
1790
|
+
T.let(
|
1791
|
+
:merchant_transaction_advisory_service_authentication_required,
|
1792
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1793
|
+
)
|
1794
|
+
|
1795
|
+
# The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
|
1796
|
+
PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK =
|
1797
|
+
T.let(
|
1798
|
+
:payment_fraud_disruption_acquirer_block,
|
1799
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1800
|
+
)
|
1801
|
+
|
1802
|
+
# An unspecific reason for stand-in processing.
|
1803
|
+
OTHER =
|
1804
|
+
T.let(
|
1805
|
+
:other,
|
1806
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1807
|
+
)
|
1808
|
+
|
1809
|
+
sig do
|
1810
|
+
override.returns(
|
1811
|
+
T::Array[
|
1812
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1813
|
+
]
|
1814
|
+
)
|
1815
|
+
end
|
1816
|
+
def self.values
|
1817
|
+
end
|
1818
|
+
end
|
1819
|
+
end
|
1820
|
+
end
|
1821
|
+
|
1822
|
+
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
1823
|
+
OrHash =
|
1824
|
+
T.type_alias do
|
1825
|
+
T.any(
|
1826
|
+
Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers,
|
1827
|
+
Increase::Internal::AnyHash
|
1828
|
+
)
|
1829
|
+
end
|
1830
|
+
|
1831
|
+
# A life-cycle identifier used across e.g., an authorization and a reversal.
|
1832
|
+
# Expected to be unique per acquirer within a window of time. For some card
|
1833
|
+
# networks the retrieval reference number includes the trace counter.
|
1834
|
+
sig { returns(T.nilable(String)) }
|
1835
|
+
attr_accessor :retrieval_reference_number
|
1836
|
+
|
1837
|
+
# A counter used to verify an individual authorization. Expected to be unique per
|
1838
|
+
# acquirer within a window of time.
|
1839
|
+
sig { returns(T.nilable(String)) }
|
1840
|
+
attr_accessor :trace_number
|
1841
|
+
|
1842
|
+
# A globally unique transaction identifier provided by the card network, used
|
1843
|
+
# across multiple life-cycle requests.
|
1844
|
+
sig { returns(T.nilable(String)) }
|
1845
|
+
attr_accessor :transaction_id
|
1846
|
+
|
1847
|
+
# Network-specific identifiers for a specific request or transaction.
|
1848
|
+
sig do
|
1849
|
+
params(
|
1850
|
+
retrieval_reference_number: T.nilable(String),
|
1851
|
+
trace_number: T.nilable(String),
|
1852
|
+
transaction_id: T.nilable(String)
|
1853
|
+
).returns(T.attached_class)
|
1854
|
+
end
|
1855
|
+
def self.new(
|
1856
|
+
# A life-cycle identifier used across e.g., an authorization and a reversal.
|
1857
|
+
# Expected to be unique per acquirer within a window of time. For some card
|
1858
|
+
# networks the retrieval reference number includes the trace counter.
|
1859
|
+
retrieval_reference_number:,
|
1860
|
+
# A counter used to verify an individual authorization. Expected to be unique per
|
1861
|
+
# acquirer within a window of time.
|
1862
|
+
trace_number:,
|
1863
|
+
# A globally unique transaction identifier provided by the card network, used
|
1864
|
+
# across multiple life-cycle requests.
|
1865
|
+
transaction_id:
|
1866
|
+
)
|
1867
|
+
end
|
1868
|
+
|
1869
|
+
sig do
|
1870
|
+
override.returns(
|
1871
|
+
{
|
1872
|
+
retrieval_reference_number: T.nilable(String),
|
1873
|
+
trace_number: T.nilable(String),
|
1874
|
+
transaction_id: T.nilable(String)
|
1875
|
+
}
|
1876
|
+
)
|
1877
|
+
end
|
1878
|
+
def to_hash
|
1879
|
+
end
|
1880
|
+
end
|
1881
|
+
|
1882
|
+
# The processing category describes the intent behind the authorization, such as
|
1883
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
1884
|
+
module ProcessingCategory
|
1885
|
+
extend Increase::Internal::Type::Enum
|
1886
|
+
|
1887
|
+
TaggedSymbol =
|
1888
|
+
T.type_alias do
|
1889
|
+
T.all(
|
1890
|
+
Symbol,
|
1891
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory
|
1892
|
+
)
|
1893
|
+
end
|
1894
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1895
|
+
|
1896
|
+
# Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
|
1897
|
+
ACCOUNT_FUNDING =
|
1898
|
+
T.let(
|
1899
|
+
:account_funding,
|
1900
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1901
|
+
)
|
1902
|
+
|
1903
|
+
# 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.
|
1904
|
+
AUTOMATIC_FUEL_DISPENSER =
|
1905
|
+
T.let(
|
1906
|
+
:automatic_fuel_dispenser,
|
1907
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1908
|
+
)
|
1909
|
+
|
1910
|
+
# A transaction used to pay a bill.
|
1911
|
+
BILL_PAYMENT =
|
1912
|
+
T.let(
|
1913
|
+
:bill_payment,
|
1914
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1915
|
+
)
|
1916
|
+
|
1917
|
+
# Original credit transactions are used to send money to a cardholder.
|
1918
|
+
ORIGINAL_CREDIT =
|
1919
|
+
T.let(
|
1920
|
+
:original_credit,
|
1921
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1922
|
+
)
|
1923
|
+
|
1924
|
+
# A regular purchase.
|
1925
|
+
PURCHASE =
|
1926
|
+
T.let(
|
1927
|
+
:purchase,
|
1928
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1929
|
+
)
|
1930
|
+
|
1931
|
+
# Quasi-cash transactions represent purchases of items which may be convertible to cash.
|
1932
|
+
QUASI_CASH =
|
1933
|
+
T.let(
|
1934
|
+
:quasi_cash,
|
1935
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1936
|
+
)
|
1937
|
+
|
1938
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
1939
|
+
REFUND =
|
1940
|
+
T.let(
|
1941
|
+
:refund,
|
1942
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1943
|
+
)
|
1944
|
+
|
1945
|
+
sig do
|
1946
|
+
override.returns(
|
1947
|
+
T::Array[
|
1948
|
+
Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1949
|
+
]
|
1950
|
+
)
|
1951
|
+
end
|
1952
|
+
def self.values
|
1953
|
+
end
|
1954
|
+
end
|
1955
|
+
|
1956
|
+
# A constant representing the object's type. For this resource it will always be
|
1957
|
+
# `card_authorization`.
|
1958
|
+
module Type
|
1959
|
+
extend Increase::Internal::Type::Enum
|
1960
|
+
|
1961
|
+
TaggedSymbol =
|
1962
|
+
T.type_alias do
|
1963
|
+
T.all(
|
1964
|
+
Symbol,
|
1965
|
+
Increase::PendingTransaction::Source::CardAuthorization::Type
|
1966
|
+
)
|
1967
|
+
end
|
1968
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1969
|
+
|
1970
|
+
CARD_AUTHORIZATION =
|
1971
|
+
T.let(
|
1972
|
+
:card_authorization,
|
1973
|
+
Increase::PendingTransaction::Source::CardAuthorization::Type::TaggedSymbol
|
1974
|
+
)
|
1975
|
+
|
1976
|
+
sig do
|
1977
|
+
override.returns(
|
1978
|
+
T::Array[
|
1979
|
+
Increase::PendingTransaction::Source::CardAuthorization::Type::TaggedSymbol
|
1980
|
+
]
|
1981
|
+
)
|
1982
|
+
end
|
1983
|
+
def self.values
|
1984
|
+
end
|
1985
|
+
end
|
1986
|
+
|
1987
|
+
class Verification < Increase::Internal::Type::BaseModel
|
1988
|
+
OrHash =
|
1989
|
+
T.type_alias do
|
1990
|
+
T.any(
|
1991
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification,
|
1992
|
+
Increase::Internal::AnyHash
|
1993
|
+
)
|
1994
|
+
end
|
1995
|
+
|
1996
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
1997
|
+
# the back of the card.
|
1998
|
+
sig do
|
1999
|
+
returns(
|
2000
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode
|
2001
|
+
)
|
2002
|
+
end
|
2003
|
+
attr_reader :card_verification_code
|
2004
|
+
|
2005
|
+
sig do
|
2006
|
+
params(
|
2007
|
+
card_verification_code:
|
2008
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::OrHash
|
2009
|
+
).void
|
2010
|
+
end
|
2011
|
+
attr_writer :card_verification_code
|
2012
|
+
|
2013
|
+
# Cardholder address provided in the authorization request and the address on file
|
2014
|
+
# we verified it against.
|
2015
|
+
sig do
|
2016
|
+
returns(
|
2017
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress
|
2018
|
+
)
|
2019
|
+
end
|
2020
|
+
attr_reader :cardholder_address
|
2021
|
+
|
2022
|
+
sig do
|
2023
|
+
params(
|
2024
|
+
cardholder_address:
|
2025
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::OrHash
|
2026
|
+
).void
|
2027
|
+
end
|
2028
|
+
attr_writer :cardholder_address
|
2029
|
+
|
2030
|
+
# Fields related to verification of cardholder-provided values.
|
2031
|
+
sig do
|
2032
|
+
params(
|
2033
|
+
card_verification_code:
|
2034
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::OrHash,
|
2035
|
+
cardholder_address:
|
2036
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::OrHash
|
2037
|
+
).returns(T.attached_class)
|
2038
|
+
end
|
2039
|
+
def self.new(
|
2040
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
2041
|
+
# the back of the card.
|
2042
|
+
card_verification_code:,
|
2043
|
+
# Cardholder address provided in the authorization request and the address on file
|
2044
|
+
# we verified it against.
|
2045
|
+
cardholder_address:
|
2046
|
+
)
|
2047
|
+
end
|
2048
|
+
|
2049
|
+
sig do
|
2050
|
+
override.returns(
|
2051
|
+
{
|
2052
|
+
card_verification_code:
|
2053
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode,
|
2054
|
+
cardholder_address:
|
2055
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress
|
2056
|
+
}
|
2057
|
+
)
|
2058
|
+
end
|
2059
|
+
def to_hash
|
2060
|
+
end
|
2061
|
+
|
2062
|
+
class CardVerificationCode < Increase::Internal::Type::BaseModel
|
2063
|
+
OrHash =
|
2064
|
+
T.type_alias do
|
2065
|
+
T.any(
|
2066
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode,
|
2067
|
+
Increase::Internal::AnyHash
|
2068
|
+
)
|
2069
|
+
end
|
2070
|
+
|
2071
|
+
# The result of verifying the Card Verification Code.
|
2072
|
+
sig do
|
2073
|
+
returns(
|
2074
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
2075
|
+
)
|
2076
|
+
end
|
2077
|
+
attr_accessor :result
|
2078
|
+
|
2079
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
2080
|
+
# the back of the card.
|
2081
|
+
sig do
|
2082
|
+
params(
|
2083
|
+
result:
|
2084
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result::OrSymbol
|
2085
|
+
).returns(T.attached_class)
|
2086
|
+
end
|
2087
|
+
def self.new(
|
2088
|
+
# The result of verifying the Card Verification Code.
|
2089
|
+
result:
|
2090
|
+
)
|
2091
|
+
end
|
2092
|
+
|
2093
|
+
sig do
|
2094
|
+
override.returns(
|
2095
|
+
{
|
2096
|
+
result:
|
2097
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
2098
|
+
}
|
2099
|
+
)
|
2100
|
+
end
|
2101
|
+
def to_hash
|
2102
|
+
end
|
2103
|
+
|
2104
|
+
# The result of verifying the Card Verification Code.
|
2105
|
+
module Result
|
2106
|
+
extend Increase::Internal::Type::Enum
|
2107
|
+
|
2108
|
+
TaggedSymbol =
|
2109
|
+
T.type_alias do
|
2110
|
+
T.all(
|
2111
|
+
Symbol,
|
2112
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result
|
2113
|
+
)
|
2114
|
+
end
|
2115
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2116
|
+
|
2117
|
+
# No card verification code was provided in the authorization request.
|
2118
|
+
NOT_CHECKED =
|
2119
|
+
T.let(
|
2120
|
+
:not_checked,
|
2121
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
2122
|
+
)
|
2123
|
+
|
2124
|
+
# The card verification code matched the one on file.
|
2125
|
+
MATCH =
|
2126
|
+
T.let(
|
2127
|
+
:match,
|
2128
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
2129
|
+
)
|
2130
|
+
|
2131
|
+
# The card verification code did not match the one on file.
|
2132
|
+
NO_MATCH =
|
2133
|
+
T.let(
|
2134
|
+
:no_match,
|
2135
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
2136
|
+
)
|
2137
|
+
|
2138
|
+
sig do
|
2139
|
+
override.returns(
|
2140
|
+
T::Array[
|
2141
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
2142
|
+
]
|
2143
|
+
)
|
2144
|
+
end
|
2145
|
+
def self.values
|
2146
|
+
end
|
2147
|
+
end
|
2148
|
+
end
|
2149
|
+
|
2150
|
+
class CardholderAddress < Increase::Internal::Type::BaseModel
|
2151
|
+
OrHash =
|
2152
|
+
T.type_alias do
|
2153
|
+
T.any(
|
2154
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress,
|
2155
|
+
Increase::Internal::AnyHash
|
2156
|
+
)
|
2157
|
+
end
|
2158
|
+
|
2159
|
+
# Line 1 of the address on file for the cardholder.
|
2160
|
+
sig { returns(T.nilable(String)) }
|
2161
|
+
attr_accessor :actual_line1
|
2162
|
+
|
2163
|
+
# The postal code of the address on file for the cardholder.
|
2164
|
+
sig { returns(T.nilable(String)) }
|
2165
|
+
attr_accessor :actual_postal_code
|
2166
|
+
|
2167
|
+
# The cardholder address line 1 provided for verification in the authorization
|
2168
|
+
# request.
|
2169
|
+
sig { returns(T.nilable(String)) }
|
2170
|
+
attr_accessor :provided_line1
|
2171
|
+
|
2172
|
+
# The postal code provided for verification in the authorization request.
|
2173
|
+
sig { returns(T.nilable(String)) }
|
2174
|
+
attr_accessor :provided_postal_code
|
2175
|
+
|
2176
|
+
# The address verification result returned to the card network.
|
2177
|
+
sig do
|
2178
|
+
returns(
|
2179
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2180
|
+
)
|
2181
|
+
end
|
2182
|
+
attr_accessor :result
|
2183
|
+
|
2184
|
+
# Cardholder address provided in the authorization request and the address on file
|
2185
|
+
# we verified it against.
|
2186
|
+
sig do
|
2187
|
+
params(
|
2188
|
+
actual_line1: T.nilable(String),
|
2189
|
+
actual_postal_code: T.nilable(String),
|
2190
|
+
provided_line1: T.nilable(String),
|
2191
|
+
provided_postal_code: T.nilable(String),
|
2192
|
+
result:
|
2193
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::OrSymbol
|
2194
|
+
).returns(T.attached_class)
|
2195
|
+
end
|
2196
|
+
def self.new(
|
2197
|
+
# Line 1 of the address on file for the cardholder.
|
2198
|
+
actual_line1:,
|
2199
|
+
# The postal code of the address on file for the cardholder.
|
2200
|
+
actual_postal_code:,
|
2201
|
+
# The cardholder address line 1 provided for verification in the authorization
|
2202
|
+
# request.
|
2203
|
+
provided_line1:,
|
2204
|
+
# The postal code provided for verification in the authorization request.
|
2205
|
+
provided_postal_code:,
|
2206
|
+
# The address verification result returned to the card network.
|
2207
|
+
result:
|
2208
|
+
)
|
2209
|
+
end
|
2210
|
+
|
2211
|
+
sig do
|
2212
|
+
override.returns(
|
2213
|
+
{
|
2214
|
+
actual_line1: T.nilable(String),
|
2215
|
+
actual_postal_code: T.nilable(String),
|
2216
|
+
provided_line1: T.nilable(String),
|
2217
|
+
provided_postal_code: T.nilable(String),
|
2218
|
+
result:
|
2219
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2220
|
+
}
|
2221
|
+
)
|
2222
|
+
end
|
2223
|
+
def to_hash
|
2224
|
+
end
|
2225
|
+
|
2226
|
+
# The address verification result returned to the card network.
|
2227
|
+
module Result
|
2228
|
+
extend Increase::Internal::Type::Enum
|
2229
|
+
|
2230
|
+
TaggedSymbol =
|
2231
|
+
T.type_alias do
|
2232
|
+
T.all(
|
2233
|
+
Symbol,
|
2234
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result
|
2235
|
+
)
|
2236
|
+
end
|
2237
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2238
|
+
|
2239
|
+
# No address was provided in the authorization request.
|
2240
|
+
NOT_CHECKED =
|
2241
|
+
T.let(
|
2242
|
+
:not_checked,
|
2243
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2244
|
+
)
|
2245
|
+
|
2246
|
+
# Postal code matches, but the street address was not verified.
|
2247
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED =
|
2248
|
+
T.let(
|
2249
|
+
:postal_code_match_address_not_checked,
|
2250
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2251
|
+
)
|
2252
|
+
|
2253
|
+
# Postal code matches, but the street address does not match.
|
2254
|
+
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH =
|
2255
|
+
T.let(
|
2256
|
+
:postal_code_match_address_no_match,
|
2257
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2258
|
+
)
|
2259
|
+
|
2260
|
+
# Postal code does not match, but the street address matches.
|
2261
|
+
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH =
|
2262
|
+
T.let(
|
2263
|
+
:postal_code_no_match_address_match,
|
2264
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2265
|
+
)
|
2266
|
+
|
2267
|
+
# Postal code and street address match.
|
2268
|
+
MATCH =
|
2269
|
+
T.let(
|
2270
|
+
:match,
|
2271
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2272
|
+
)
|
2273
|
+
|
2274
|
+
# Postal code and street address do not match.
|
2275
|
+
NO_MATCH =
|
2276
|
+
T.let(
|
2277
|
+
:no_match,
|
2278
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2279
|
+
)
|
2280
|
+
|
2281
|
+
sig do
|
2282
|
+
override.returns(
|
2283
|
+
T::Array[
|
2284
|
+
Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
2285
|
+
]
|
2286
|
+
)
|
2287
|
+
end
|
2288
|
+
def self.values
|
2289
|
+
end
|
2290
|
+
end
|
2291
|
+
end
|
2292
|
+
end
|
2293
|
+
end
|
2294
|
+
|
2295
|
+
# The type of the resource. We may add additional possible values for this enum
|
2296
|
+
# over time; your application should be able to handle such additions gracefully.
|
2297
|
+
module Category
|
2298
|
+
extend Increase::Internal::Type::Enum
|
2299
|
+
|
2300
|
+
TaggedSymbol =
|
2301
|
+
T.type_alias do
|
2302
|
+
T.all(Symbol, Increase::PendingTransaction::Source::Category)
|
2303
|
+
end
|
2304
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2305
|
+
|
2306
|
+
# Account Transfer Instruction: details will be under the `account_transfer_instruction` object.
|
2307
|
+
ACCOUNT_TRANSFER_INSTRUCTION =
|
2308
|
+
T.let(
|
2309
|
+
:account_transfer_instruction,
|
2310
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2311
|
+
)
|
2312
|
+
|
2313
|
+
# ACH Transfer Instruction: details will be under the `ach_transfer_instruction` object.
|
2314
|
+
ACH_TRANSFER_INSTRUCTION =
|
2315
|
+
T.let(
|
2316
|
+
:ach_transfer_instruction,
|
2317
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2318
|
+
)
|
2319
|
+
|
2320
|
+
# Card Authorization: details will be under the `card_authorization` object.
|
2321
|
+
CARD_AUTHORIZATION =
|
2322
|
+
T.let(
|
2323
|
+
:card_authorization,
|
2324
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2325
|
+
)
|
2326
|
+
|
2327
|
+
# Check Deposit Instruction: details will be under the `check_deposit_instruction` object.
|
2328
|
+
CHECK_DEPOSIT_INSTRUCTION =
|
2329
|
+
T.let(
|
2330
|
+
:check_deposit_instruction,
|
2331
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2332
|
+
)
|
2333
|
+
|
2334
|
+
# Check Transfer Instruction: details will be under the `check_transfer_instruction` object.
|
2335
|
+
CHECK_TRANSFER_INSTRUCTION =
|
2336
|
+
T.let(
|
2337
|
+
:check_transfer_instruction,
|
2338
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2339
|
+
)
|
2340
|
+
|
2341
|
+
# Inbound Funds Hold: details will be under the `inbound_funds_hold` object.
|
2342
|
+
INBOUND_FUNDS_HOLD =
|
2343
|
+
T.let(
|
2344
|
+
:inbound_funds_hold,
|
2345
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2346
|
+
)
|
2347
|
+
|
2348
|
+
# User Initiated Hold: details will be under the `user_initiated_hold` object.
|
2349
|
+
USER_INITIATED_HOLD =
|
2350
|
+
T.let(
|
2351
|
+
:user_initiated_hold,
|
2352
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2353
|
+
)
|
2354
|
+
|
2355
|
+
# Real-Time Payments Transfer Instruction: details will be under the `real_time_payments_transfer_instruction` object.
|
2356
|
+
REAL_TIME_PAYMENTS_TRANSFER_INSTRUCTION =
|
2357
|
+
T.let(
|
2358
|
+
:real_time_payments_transfer_instruction,
|
2359
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2360
|
+
)
|
2361
|
+
|
2362
|
+
# Wire Transfer Instruction: details will be under the `wire_transfer_instruction` object.
|
2363
|
+
WIRE_TRANSFER_INSTRUCTION =
|
2364
|
+
T.let(
|
2365
|
+
:wire_transfer_instruction,
|
2366
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2367
|
+
)
|
2368
|
+
|
2369
|
+
# Inbound Wire Transfer Reversal: details will be under the `inbound_wire_transfer_reversal` object.
|
2370
|
+
INBOUND_WIRE_TRANSFER_REVERSAL =
|
2371
|
+
T.let(
|
2372
|
+
:inbound_wire_transfer_reversal,
|
2373
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2374
|
+
)
|
2375
|
+
|
2376
|
+
# Swift Transfer Instruction: details will be under the `swift_transfer_instruction` object.
|
2377
|
+
SWIFT_TRANSFER_INSTRUCTION =
|
2378
|
+
T.let(
|
2379
|
+
:swift_transfer_instruction,
|
2380
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2381
|
+
)
|
2382
|
+
|
2383
|
+
# Outbound Card Push Transfer Instruction: details will be under the `outbound_card_push_transfer_instruction` object.
|
2384
|
+
OUTBOUND_CARD_PUSH_TRANSFER_INSTRUCTION =
|
2385
|
+
T.let(
|
2386
|
+
:outbound_card_push_transfer_instruction,
|
2387
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2388
|
+
)
|
2389
|
+
|
2390
|
+
# The Pending Transaction was made for an undocumented or deprecated reason.
|
2391
|
+
OTHER =
|
2392
|
+
T.let(
|
2393
|
+
:other,
|
2394
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2395
|
+
)
|
2396
|
+
|
2397
|
+
sig do
|
2398
|
+
override.returns(
|
2399
|
+
T::Array[
|
2400
|
+
Increase::PendingTransaction::Source::Category::TaggedSymbol
|
2401
|
+
]
|
2402
|
+
)
|
2403
|
+
end
|
2404
|
+
def self.values
|
2405
|
+
end
|
2406
|
+
end
|
2407
|
+
|
2408
|
+
class CheckDepositInstruction < Increase::Internal::Type::BaseModel
|
2409
|
+
OrHash =
|
2410
|
+
T.type_alias do
|
2411
|
+
T.any(
|
2412
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction,
|
2413
|
+
Increase::Internal::AnyHash
|
2414
|
+
)
|
2415
|
+
end
|
2416
|
+
|
2417
|
+
# The pending amount in USD cents.
|
2418
|
+
sig { returns(Integer) }
|
2419
|
+
attr_accessor :amount
|
2420
|
+
|
2421
|
+
# The identifier of the File containing the image of the back of the check that
|
2422
|
+
# was deposited.
|
2423
|
+
sig { returns(T.nilable(String)) }
|
2424
|
+
attr_accessor :back_image_file_id
|
2425
|
+
|
2426
|
+
# The identifier of the Check Deposit.
|
2427
|
+
sig { returns(T.nilable(String)) }
|
2428
|
+
attr_accessor :check_deposit_id
|
2429
|
+
|
2430
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
2431
|
+
# transaction's currency.
|
2432
|
+
sig do
|
2433
|
+
returns(
|
2434
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2435
|
+
)
|
2436
|
+
end
|
2437
|
+
attr_accessor :currency
|
2438
|
+
|
2439
|
+
# The identifier of the File containing the image of the front of the check that
|
2440
|
+
# was deposited.
|
2441
|
+
sig { returns(String) }
|
2442
|
+
attr_accessor :front_image_file_id
|
2443
|
+
|
2444
|
+
# A Check Deposit Instruction object. This field will be present in the JSON
|
2445
|
+
# response if and only if `category` is equal to `check_deposit_instruction`.
|
2446
|
+
sig do
|
2447
|
+
params(
|
2448
|
+
amount: Integer,
|
2449
|
+
back_image_file_id: T.nilable(String),
|
2450
|
+
check_deposit_id: T.nilable(String),
|
2451
|
+
currency:
|
2452
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::OrSymbol,
|
2453
|
+
front_image_file_id: String
|
2454
|
+
).returns(T.attached_class)
|
2455
|
+
end
|
2456
|
+
def self.new(
|
2457
|
+
# The pending amount in USD cents.
|
2458
|
+
amount:,
|
2459
|
+
# The identifier of the File containing the image of the back of the check that
|
2460
|
+
# was deposited.
|
2461
|
+
back_image_file_id:,
|
2462
|
+
# The identifier of the Check Deposit.
|
2463
|
+
check_deposit_id:,
|
2464
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
2465
|
+
# transaction's currency.
|
2466
|
+
currency:,
|
2467
|
+
# The identifier of the File containing the image of the front of the check that
|
2468
|
+
# was deposited.
|
2469
|
+
front_image_file_id:
|
2470
|
+
)
|
2471
|
+
end
|
2472
|
+
|
2473
|
+
sig do
|
2474
|
+
override.returns(
|
2475
|
+
{
|
2476
|
+
amount: Integer,
|
2477
|
+
back_image_file_id: T.nilable(String),
|
2478
|
+
check_deposit_id: T.nilable(String),
|
2479
|
+
currency:
|
2480
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol,
|
2481
|
+
front_image_file_id: String
|
2482
|
+
}
|
2483
|
+
)
|
2484
|
+
end
|
2485
|
+
def to_hash
|
2486
|
+
end
|
2487
|
+
|
2488
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
2489
|
+
# transaction's currency.
|
2490
|
+
module Currency
|
2491
|
+
extend Increase::Internal::Type::Enum
|
2492
|
+
|
2493
|
+
TaggedSymbol =
|
2494
|
+
T.type_alias do
|
2495
|
+
T.all(
|
2496
|
+
Symbol,
|
2497
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency
|
2498
|
+
)
|
2499
|
+
end
|
2500
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2501
|
+
|
2502
|
+
# Canadian Dollar (CAD)
|
2503
|
+
CAD =
|
2504
|
+
T.let(
|
2505
|
+
:CAD,
|
2506
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2507
|
+
)
|
2508
|
+
|
2509
|
+
# Swiss Franc (CHF)
|
2510
|
+
CHF =
|
2511
|
+
T.let(
|
2512
|
+
:CHF,
|
2513
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2514
|
+
)
|
2515
|
+
|
2516
|
+
# Euro (EUR)
|
2517
|
+
EUR =
|
2518
|
+
T.let(
|
2519
|
+
:EUR,
|
2520
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2521
|
+
)
|
2522
|
+
|
2523
|
+
# British Pound (GBP)
|
2524
|
+
GBP =
|
2525
|
+
T.let(
|
2526
|
+
:GBP,
|
2527
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2528
|
+
)
|
2529
|
+
|
2530
|
+
# Japanese Yen (JPY)
|
2531
|
+
JPY =
|
2532
|
+
T.let(
|
2533
|
+
:JPY,
|
2534
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2535
|
+
)
|
2536
|
+
|
2537
|
+
# US Dollar (USD)
|
2538
|
+
USD =
|
2539
|
+
T.let(
|
2540
|
+
:USD,
|
2541
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2542
|
+
)
|
2543
|
+
|
2544
|
+
sig do
|
2545
|
+
override.returns(
|
2546
|
+
T::Array[
|
2547
|
+
Increase::PendingTransaction::Source::CheckDepositInstruction::Currency::TaggedSymbol
|
2548
|
+
]
|
2549
|
+
)
|
2550
|
+
end
|
2551
|
+
def self.values
|
2552
|
+
end
|
2553
|
+
end
|
2554
|
+
end
|
2555
|
+
|
2556
|
+
class CheckTransferInstruction < Increase::Internal::Type::BaseModel
|
2557
|
+
OrHash =
|
2558
|
+
T.type_alias do
|
2559
|
+
T.any(
|
2560
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction,
|
2561
|
+
Increase::Internal::AnyHash
|
2562
|
+
)
|
2563
|
+
end
|
2564
|
+
|
2565
|
+
# The transfer amount in USD cents.
|
2566
|
+
sig { returns(Integer) }
|
2567
|
+
attr_accessor :amount
|
2568
|
+
|
2569
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
2570
|
+
# currency.
|
2571
|
+
sig do
|
2572
|
+
returns(
|
2573
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2574
|
+
)
|
2575
|
+
end
|
2576
|
+
attr_accessor :currency
|
2577
|
+
|
2578
|
+
# The identifier of the Check Transfer that led to this Pending Transaction.
|
2579
|
+
sig { returns(String) }
|
2580
|
+
attr_accessor :transfer_id
|
2581
|
+
|
2582
|
+
# A Check Transfer Instruction object. This field will be present in the JSON
|
2583
|
+
# response if and only if `category` is equal to `check_transfer_instruction`.
|
2584
|
+
sig do
|
2585
|
+
params(
|
2586
|
+
amount: Integer,
|
2587
|
+
currency:
|
2588
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::OrSymbol,
|
2589
|
+
transfer_id: String
|
2590
|
+
).returns(T.attached_class)
|
2591
|
+
end
|
2592
|
+
def self.new(
|
2593
|
+
# The transfer amount in USD cents.
|
2594
|
+
amount:,
|
2595
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
2596
|
+
# currency.
|
2597
|
+
currency:,
|
2598
|
+
# The identifier of the Check Transfer that led to this Pending Transaction.
|
2599
|
+
transfer_id:
|
2600
|
+
)
|
2601
|
+
end
|
2602
|
+
|
2603
|
+
sig do
|
2604
|
+
override.returns(
|
2605
|
+
{
|
2606
|
+
amount: Integer,
|
2607
|
+
currency:
|
2608
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol,
|
2609
|
+
transfer_id: String
|
2610
|
+
}
|
2611
|
+
)
|
2612
|
+
end
|
2613
|
+
def to_hash
|
2614
|
+
end
|
2615
|
+
|
2616
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's
|
2617
|
+
# currency.
|
2618
|
+
module Currency
|
2619
|
+
extend Increase::Internal::Type::Enum
|
2620
|
+
|
2621
|
+
TaggedSymbol =
|
2622
|
+
T.type_alias do
|
2623
|
+
T.all(
|
2624
|
+
Symbol,
|
2625
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency
|
2626
|
+
)
|
2627
|
+
end
|
2628
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2629
|
+
|
2630
|
+
# Canadian Dollar (CAD)
|
2631
|
+
CAD =
|
2632
|
+
T.let(
|
2633
|
+
:CAD,
|
2634
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2635
|
+
)
|
2636
|
+
|
2637
|
+
# Swiss Franc (CHF)
|
2638
|
+
CHF =
|
2639
|
+
T.let(
|
2640
|
+
:CHF,
|
2641
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2642
|
+
)
|
2643
|
+
|
2644
|
+
# Euro (EUR)
|
2645
|
+
EUR =
|
2646
|
+
T.let(
|
2647
|
+
:EUR,
|
2648
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2649
|
+
)
|
2650
|
+
|
2651
|
+
# British Pound (GBP)
|
2652
|
+
GBP =
|
2653
|
+
T.let(
|
2654
|
+
:GBP,
|
2655
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2656
|
+
)
|
2657
|
+
|
2658
|
+
# Japanese Yen (JPY)
|
2659
|
+
JPY =
|
2660
|
+
T.let(
|
2661
|
+
:JPY,
|
2662
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2663
|
+
)
|
2664
|
+
|
2665
|
+
# US Dollar (USD)
|
2666
|
+
USD =
|
2667
|
+
T.let(
|
2668
|
+
:USD,
|
2669
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2670
|
+
)
|
2671
|
+
|
2672
|
+
sig do
|
2673
|
+
override.returns(
|
2674
|
+
T::Array[
|
2675
|
+
Increase::PendingTransaction::Source::CheckTransferInstruction::Currency::TaggedSymbol
|
2676
|
+
]
|
2677
|
+
)
|
2678
|
+
end
|
2679
|
+
def self.values
|
2680
|
+
end
|
2681
|
+
end
|
2682
|
+
end
|
2683
|
+
|
2684
|
+
class InboundFundsHold < Increase::Internal::Type::BaseModel
|
2685
|
+
OrHash =
|
2686
|
+
T.type_alias do
|
2687
|
+
T.any(
|
2688
|
+
Increase::PendingTransaction::Source::InboundFundsHold,
|
2689
|
+
Increase::Internal::AnyHash
|
2690
|
+
)
|
2691
|
+
end
|
2692
|
+
|
2693
|
+
# The Inbound Funds Hold identifier.
|
2694
|
+
sig { returns(String) }
|
2695
|
+
attr_accessor :id
|
2696
|
+
|
2697
|
+
# The held amount in the minor unit of the account's currency. For dollars, for
|
2698
|
+
# example, this is cents.
|
2699
|
+
sig { returns(Integer) }
|
2700
|
+
attr_accessor :amount
|
2701
|
+
|
2702
|
+
# When the hold will be released automatically. Certain conditions may cause it to
|
2703
|
+
# be released before this time.
|
2704
|
+
sig { returns(Time) }
|
2705
|
+
attr_accessor :automatically_releases_at
|
2706
|
+
|
2707
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
|
2708
|
+
# was created.
|
2709
|
+
sig { returns(Time) }
|
2710
|
+
attr_accessor :created_at
|
2711
|
+
|
2712
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
|
2713
|
+
# currency.
|
2714
|
+
sig do
|
2715
|
+
returns(
|
2716
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2717
|
+
)
|
2718
|
+
end
|
2719
|
+
attr_accessor :currency
|
2720
|
+
|
2721
|
+
# The ID of the Transaction for which funds were held.
|
2722
|
+
sig { returns(T.nilable(String)) }
|
2723
|
+
attr_accessor :held_transaction_id
|
2724
|
+
|
2725
|
+
# The ID of the Pending Transaction representing the held funds.
|
2726
|
+
sig { returns(T.nilable(String)) }
|
2727
|
+
attr_accessor :pending_transaction_id
|
2728
|
+
|
2729
|
+
# When the hold was released (if it has been released).
|
2730
|
+
sig { returns(T.nilable(Time)) }
|
2731
|
+
attr_accessor :released_at
|
2732
|
+
|
2733
|
+
# The status of the hold.
|
2734
|
+
sig do
|
2735
|
+
returns(
|
2736
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Status::TaggedSymbol
|
2737
|
+
)
|
2738
|
+
end
|
2739
|
+
attr_accessor :status
|
2740
|
+
|
2741
|
+
# A constant representing the object's type. For this resource it will always be
|
2742
|
+
# `inbound_funds_hold`.
|
2743
|
+
sig do
|
2744
|
+
returns(
|
2745
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Type::TaggedSymbol
|
2746
|
+
)
|
2747
|
+
end
|
2748
|
+
attr_accessor :type
|
2749
|
+
|
2750
|
+
# An Inbound Funds Hold object. This field will be present in the JSON response if
|
2751
|
+
# and only if `category` is equal to `inbound_funds_hold`. We hold funds for
|
2752
|
+
# certain transaction types to account for return windows where funds might still
|
2753
|
+
# be clawed back by the sending institution.
|
2754
|
+
sig do
|
2755
|
+
params(
|
2756
|
+
id: String,
|
2757
|
+
amount: Integer,
|
2758
|
+
automatically_releases_at: Time,
|
2759
|
+
created_at: Time,
|
2760
|
+
currency:
|
2761
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::OrSymbol,
|
2762
|
+
held_transaction_id: T.nilable(String),
|
2763
|
+
pending_transaction_id: T.nilable(String),
|
2764
|
+
released_at: T.nilable(Time),
|
2765
|
+
status:
|
2766
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Status::OrSymbol,
|
2767
|
+
type:
|
2768
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Type::OrSymbol
|
2769
|
+
).returns(T.attached_class)
|
2770
|
+
end
|
2771
|
+
def self.new(
|
2772
|
+
# The Inbound Funds Hold identifier.
|
2773
|
+
id:,
|
2774
|
+
# The held amount in the minor unit of the account's currency. For dollars, for
|
2775
|
+
# example, this is cents.
|
2776
|
+
amount:,
|
2777
|
+
# When the hold will be released automatically. Certain conditions may cause it to
|
2778
|
+
# be released before this time.
|
2779
|
+
automatically_releases_at:,
|
2780
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold
|
2781
|
+
# was created.
|
2782
|
+
created_at:,
|
2783
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
|
2784
|
+
# currency.
|
2785
|
+
currency:,
|
2786
|
+
# The ID of the Transaction for which funds were held.
|
2787
|
+
held_transaction_id:,
|
2788
|
+
# The ID of the Pending Transaction representing the held funds.
|
2789
|
+
pending_transaction_id:,
|
2790
|
+
# When the hold was released (if it has been released).
|
2791
|
+
released_at:,
|
2792
|
+
# The status of the hold.
|
2793
|
+
status:,
|
2794
|
+
# A constant representing the object's type. For this resource it will always be
|
2795
|
+
# `inbound_funds_hold`.
|
2796
|
+
type:
|
2797
|
+
)
|
2798
|
+
end
|
2799
|
+
|
2800
|
+
sig do
|
2801
|
+
override.returns(
|
2802
|
+
{
|
2803
|
+
id: String,
|
2804
|
+
amount: Integer,
|
2805
|
+
automatically_releases_at: Time,
|
2806
|
+
created_at: Time,
|
2807
|
+
currency:
|
2808
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol,
|
2809
|
+
held_transaction_id: T.nilable(String),
|
2810
|
+
pending_transaction_id: T.nilable(String),
|
2811
|
+
released_at: T.nilable(Time),
|
2812
|
+
status:
|
2813
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Status::TaggedSymbol,
|
2814
|
+
type:
|
2815
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Type::TaggedSymbol
|
2816
|
+
}
|
2817
|
+
)
|
2818
|
+
end
|
2819
|
+
def to_hash
|
2820
|
+
end
|
2821
|
+
|
2822
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's
|
2823
|
+
# currency.
|
2824
|
+
module Currency
|
2825
|
+
extend Increase::Internal::Type::Enum
|
2826
|
+
|
2827
|
+
TaggedSymbol =
|
2828
|
+
T.type_alias do
|
2829
|
+
T.all(
|
2830
|
+
Symbol,
|
2831
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency
|
2832
|
+
)
|
2833
|
+
end
|
2834
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2835
|
+
|
2836
|
+
# Canadian Dollar (CAD)
|
2837
|
+
CAD =
|
2838
|
+
T.let(
|
2839
|
+
:CAD,
|
2840
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2841
|
+
)
|
2842
|
+
|
2843
|
+
# Swiss Franc (CHF)
|
2844
|
+
CHF =
|
2845
|
+
T.let(
|
2846
|
+
:CHF,
|
2847
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2848
|
+
)
|
2849
|
+
|
2850
|
+
# Euro (EUR)
|
2851
|
+
EUR =
|
2852
|
+
T.let(
|
2853
|
+
:EUR,
|
2854
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2855
|
+
)
|
2856
|
+
|
2857
|
+
# British Pound (GBP)
|
2858
|
+
GBP =
|
2859
|
+
T.let(
|
2860
|
+
:GBP,
|
2861
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2862
|
+
)
|
2863
|
+
|
2864
|
+
# Japanese Yen (JPY)
|
2865
|
+
JPY =
|
2866
|
+
T.let(
|
2867
|
+
:JPY,
|
2868
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2869
|
+
)
|
2870
|
+
|
2871
|
+
# US Dollar (USD)
|
2872
|
+
USD =
|
2873
|
+
T.let(
|
2874
|
+
:USD,
|
2875
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2876
|
+
)
|
2877
|
+
|
2878
|
+
sig do
|
2879
|
+
override.returns(
|
2880
|
+
T::Array[
|
2881
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Currency::TaggedSymbol
|
2882
|
+
]
|
2883
|
+
)
|
2884
|
+
end
|
2885
|
+
def self.values
|
2886
|
+
end
|
2887
|
+
end
|
2888
|
+
|
2889
|
+
# The status of the hold.
|
2890
|
+
module Status
|
2891
|
+
extend Increase::Internal::Type::Enum
|
2892
|
+
|
2893
|
+
TaggedSymbol =
|
2894
|
+
T.type_alias do
|
2895
|
+
T.all(
|
2896
|
+
Symbol,
|
2897
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Status
|
2898
|
+
)
|
2899
|
+
end
|
2900
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2901
|
+
|
2902
|
+
# Funds are still being held.
|
2903
|
+
HELD =
|
2904
|
+
T.let(
|
2905
|
+
:held,
|
2906
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Status::TaggedSymbol
|
2907
|
+
)
|
2908
|
+
|
2909
|
+
# Funds have been released.
|
2910
|
+
COMPLETE =
|
2911
|
+
T.let(
|
2912
|
+
:complete,
|
2913
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Status::TaggedSymbol
|
2914
|
+
)
|
2915
|
+
|
2916
|
+
sig do
|
2917
|
+
override.returns(
|
2918
|
+
T::Array[
|
2919
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Status::TaggedSymbol
|
2920
|
+
]
|
2921
|
+
)
|
2922
|
+
end
|
2923
|
+
def self.values
|
2924
|
+
end
|
2925
|
+
end
|
2926
|
+
|
2927
|
+
# A constant representing the object's type. For this resource it will always be
|
2928
|
+
# `inbound_funds_hold`.
|
2929
|
+
module Type
|
2930
|
+
extend Increase::Internal::Type::Enum
|
2931
|
+
|
2932
|
+
TaggedSymbol =
|
2933
|
+
T.type_alias do
|
2934
|
+
T.all(
|
2935
|
+
Symbol,
|
2936
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Type
|
2937
|
+
)
|
2938
|
+
end
|
2939
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2940
|
+
|
2941
|
+
INBOUND_FUNDS_HOLD =
|
2942
|
+
T.let(
|
2943
|
+
:inbound_funds_hold,
|
2944
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Type::TaggedSymbol
|
2945
|
+
)
|
2946
|
+
|
2947
|
+
sig do
|
2948
|
+
override.returns(
|
2949
|
+
T::Array[
|
2950
|
+
Increase::PendingTransaction::Source::InboundFundsHold::Type::TaggedSymbol
|
2951
|
+
]
|
2952
|
+
)
|
2953
|
+
end
|
2954
|
+
def self.values
|
2955
|
+
end
|
2956
|
+
end
|
2957
|
+
end
|
2958
|
+
|
2959
|
+
class InboundWireTransferReversal < Increase::Internal::Type::BaseModel
|
2960
|
+
OrHash =
|
2961
|
+
T.type_alias do
|
2962
|
+
T.any(
|
2963
|
+
Increase::PendingTransaction::Source::InboundWireTransferReversal,
|
2964
|
+
Increase::Internal::AnyHash
|
2965
|
+
)
|
2966
|
+
end
|
2967
|
+
|
2968
|
+
# The ID of the Inbound Wire Transfer that is being reversed.
|
2969
|
+
sig { returns(String) }
|
2970
|
+
attr_accessor :inbound_wire_transfer_id
|
2971
|
+
|
2972
|
+
# An Inbound Wire Transfer Reversal object. This field will be present in the JSON
|
2973
|
+
# response if and only if `category` is equal to `inbound_wire_transfer_reversal`.
|
2974
|
+
# An Inbound Wire Transfer Reversal is created when Increase has received a wire
|
2975
|
+
# and the User requests that it be reversed.
|
2976
|
+
sig do
|
2977
|
+
params(inbound_wire_transfer_id: String).returns(T.attached_class)
|
2978
|
+
end
|
2979
|
+
def self.new(
|
2980
|
+
# The ID of the Inbound Wire Transfer that is being reversed.
|
2981
|
+
inbound_wire_transfer_id:
|
2982
|
+
)
|
2983
|
+
end
|
2984
|
+
|
2985
|
+
sig { override.returns({ inbound_wire_transfer_id: String }) }
|
2986
|
+
def to_hash
|
2987
|
+
end
|
2988
|
+
end
|
2989
|
+
|
2990
|
+
class OutboundCardPushTransferInstruction < Increase::Internal::Type::BaseModel
|
2991
|
+
OrHash =
|
2992
|
+
T.type_alias do
|
2993
|
+
T.any(
|
2994
|
+
Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction,
|
2995
|
+
Increase::Internal::AnyHash
|
2996
|
+
)
|
2997
|
+
end
|
2998
|
+
|
2999
|
+
# The transfer amount in USD cents.
|
3000
|
+
sig { returns(Integer) }
|
3001
|
+
attr_accessor :amount
|
3002
|
+
|
3003
|
+
# The identifier of the Outbound Card Push Transfer that led to this Pending
|
3004
|
+
# Transaction.
|
3005
|
+
sig { returns(String) }
|
3006
|
+
attr_accessor :transfer_id
|
3007
|
+
|
3008
|
+
# An Outbound Card Push Transfer Instruction object. This field will be present in
|
3009
|
+
# the JSON response if and only if `category` is equal to
|
3010
|
+
# `outbound_card_push_transfer_instruction`.
|
3011
|
+
sig do
|
3012
|
+
params(amount: Integer, transfer_id: String).returns(
|
3013
|
+
T.attached_class
|
3014
|
+
)
|
3015
|
+
end
|
3016
|
+
def self.new(
|
3017
|
+
# The transfer amount in USD cents.
|
3018
|
+
amount:,
|
3019
|
+
# The identifier of the Outbound Card Push Transfer that led to this Pending
|
3020
|
+
# Transaction.
|
3021
|
+
transfer_id:
|
3022
|
+
)
|
3023
|
+
end
|
3024
|
+
|
3025
|
+
sig { override.returns({ amount: Integer, transfer_id: String }) }
|
3026
|
+
def to_hash
|
3027
|
+
end
|
3028
|
+
end
|
3029
|
+
|
3030
|
+
class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel
|
3031
|
+
OrHash =
|
3032
|
+
T.type_alias do
|
3033
|
+
T.any(
|
3034
|
+
Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction,
|
3035
|
+
Increase::Internal::AnyHash
|
3036
|
+
)
|
3037
|
+
end
|
3038
|
+
|
3039
|
+
# The transfer amount in USD cents.
|
3040
|
+
sig { returns(Integer) }
|
3041
|
+
attr_accessor :amount
|
3042
|
+
|
3043
|
+
# The identifier of the Real-Time Payments Transfer that led to this Pending
|
3044
|
+
# Transaction.
|
3045
|
+
sig { returns(String) }
|
3046
|
+
attr_accessor :transfer_id
|
3047
|
+
|
3048
|
+
# A Real-Time Payments Transfer Instruction object. This field will be present in
|
3049
|
+
# the JSON response if and only if `category` is equal to
|
3050
|
+
# `real_time_payments_transfer_instruction`.
|
3051
|
+
sig do
|
3052
|
+
params(amount: Integer, transfer_id: String).returns(
|
3053
|
+
T.attached_class
|
3054
|
+
)
|
3055
|
+
end
|
3056
|
+
def self.new(
|
3057
|
+
# The transfer amount in USD cents.
|
3058
|
+
amount:,
|
3059
|
+
# The identifier of the Real-Time Payments Transfer that led to this Pending
|
3060
|
+
# Transaction.
|
3061
|
+
transfer_id:
|
3062
|
+
)
|
3063
|
+
end
|
3064
|
+
|
3065
|
+
sig { override.returns({ amount: Integer, transfer_id: String }) }
|
3066
|
+
def to_hash
|
3067
|
+
end
|
3068
|
+
end
|
3069
|
+
|
3070
|
+
class SwiftTransferInstruction < Increase::Internal::Type::BaseModel
|
3071
|
+
OrHash =
|
3072
|
+
T.type_alias do
|
3073
|
+
T.any(
|
3074
|
+
Increase::PendingTransaction::Source::SwiftTransferInstruction,
|
3075
|
+
Increase::Internal::AnyHash
|
3076
|
+
)
|
3077
|
+
end
|
3078
|
+
|
3079
|
+
# The identifier of the Swift Transfer that led to this Pending Transaction.
|
3080
|
+
sig { returns(String) }
|
3081
|
+
attr_accessor :transfer_id
|
3082
|
+
|
3083
|
+
# A Swift Transfer Instruction object. This field will be present in the JSON
|
3084
|
+
# response if and only if `category` is equal to `swift_transfer_instruction`.
|
3085
|
+
sig { params(transfer_id: String).returns(T.attached_class) }
|
3086
|
+
def self.new(
|
3087
|
+
# The identifier of the Swift Transfer that led to this Pending Transaction.
|
3088
|
+
transfer_id:
|
3089
|
+
)
|
3090
|
+
end
|
3091
|
+
|
3092
|
+
sig { override.returns({ transfer_id: String }) }
|
3093
|
+
def to_hash
|
3094
|
+
end
|
3095
|
+
end
|
3096
|
+
|
3097
|
+
class WireTransferInstruction < Increase::Internal::Type::BaseModel
|
3098
|
+
OrHash =
|
3099
|
+
T.type_alias do
|
3100
|
+
T.any(
|
3101
|
+
Increase::PendingTransaction::Source::WireTransferInstruction,
|
3102
|
+
Increase::Internal::AnyHash
|
3103
|
+
)
|
3104
|
+
end
|
3105
|
+
|
3106
|
+
# The account number for the destination account.
|
3107
|
+
sig { returns(String) }
|
3108
|
+
attr_accessor :account_number
|
3109
|
+
|
3110
|
+
# The transfer amount in USD cents.
|
3111
|
+
sig { returns(Integer) }
|
3112
|
+
attr_accessor :amount
|
3113
|
+
|
3114
|
+
# The message that will show on the recipient's bank statement.
|
3115
|
+
sig { returns(String) }
|
3116
|
+
attr_accessor :message_to_recipient
|
3117
|
+
|
3118
|
+
# The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
|
3119
|
+
# destination account.
|
3120
|
+
sig { returns(String) }
|
3121
|
+
attr_accessor :routing_number
|
3122
|
+
|
3123
|
+
# The identifier of the Wire Transfer that led to this Pending Transaction.
|
3124
|
+
sig { returns(String) }
|
3125
|
+
attr_accessor :transfer_id
|
3126
|
+
|
3127
|
+
# A Wire Transfer Instruction object. This field will be present in the JSON
|
3128
|
+
# response if and only if `category` is equal to `wire_transfer_instruction`.
|
3129
|
+
sig do
|
3130
|
+
params(
|
3131
|
+
account_number: String,
|
3132
|
+
amount: Integer,
|
3133
|
+
message_to_recipient: String,
|
3134
|
+
routing_number: String,
|
3135
|
+
transfer_id: String
|
3136
|
+
).returns(T.attached_class)
|
3137
|
+
end
|
3138
|
+
def self.new(
|
3139
|
+
# The account number for the destination account.
|
3140
|
+
account_number:,
|
3141
|
+
# The transfer amount in USD cents.
|
3142
|
+
amount:,
|
3143
|
+
# The message that will show on the recipient's bank statement.
|
3144
|
+
message_to_recipient:,
|
3145
|
+
# The American Bankers' Association (ABA) Routing Transit Number (RTN) for the
|
3146
|
+
# destination account.
|
3147
|
+
routing_number:,
|
3148
|
+
# The identifier of the Wire Transfer that led to this Pending Transaction.
|
3149
|
+
transfer_id:
|
3150
|
+
)
|
3151
|
+
end
|
3152
|
+
|
3153
|
+
sig do
|
3154
|
+
override.returns(
|
3155
|
+
{
|
3156
|
+
account_number: String,
|
3157
|
+
amount: Integer,
|
3158
|
+
message_to_recipient: String,
|
3159
|
+
routing_number: String,
|
3160
|
+
transfer_id: String
|
3161
|
+
}
|
3162
|
+
)
|
3163
|
+
end
|
3164
|
+
def to_hash
|
3165
|
+
end
|
3166
|
+
end
|
3167
|
+
end
|
3168
|
+
|
3169
|
+
# Whether the Pending Transaction has been confirmed and has an associated
|
3170
|
+
# Transaction.
|
3171
|
+
module Status
|
3172
|
+
extend Increase::Internal::Type::Enum
|
3173
|
+
|
3174
|
+
TaggedSymbol =
|
3175
|
+
T.type_alias { T.all(Symbol, Increase::PendingTransaction::Status) }
|
3176
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3177
|
+
|
3178
|
+
# The Pending Transaction is still awaiting confirmation.
|
3179
|
+
PENDING =
|
3180
|
+
T.let(:pending, Increase::PendingTransaction::Status::TaggedSymbol)
|
3181
|
+
|
3182
|
+
# The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc.
|
3183
|
+
COMPLETE =
|
3184
|
+
T.let(:complete, Increase::PendingTransaction::Status::TaggedSymbol)
|
3185
|
+
|
3186
|
+
sig do
|
3187
|
+
override.returns(
|
3188
|
+
T::Array[Increase::PendingTransaction::Status::TaggedSymbol]
|
3189
|
+
)
|
3190
|
+
end
|
3191
|
+
def self.values
|
3192
|
+
end
|
3193
|
+
end
|
3194
|
+
|
3195
|
+
# A constant representing the object's type. For this resource it will always be
|
3196
|
+
# `pending_transaction`.
|
3197
|
+
module Type
|
3198
|
+
extend Increase::Internal::Type::Enum
|
3199
|
+
|
3200
|
+
TaggedSymbol =
|
3201
|
+
T.type_alias { T.all(Symbol, Increase::PendingTransaction::Type) }
|
3202
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
3203
|
+
|
3204
|
+
PENDING_TRANSACTION =
|
3205
|
+
T.let(
|
3206
|
+
:pending_transaction,
|
3207
|
+
Increase::PendingTransaction::Type::TaggedSymbol
|
3208
|
+
)
|
3209
|
+
|
3210
|
+
sig do
|
3211
|
+
override.returns(
|
3212
|
+
T::Array[Increase::PendingTransaction::Type::TaggedSymbol]
|
3213
|
+
)
|
3214
|
+
end
|
3215
|
+
def self.values
|
3216
|
+
end
|
3217
|
+
end
|
3218
|
+
end
|
3219
|
+
end
|
3220
|
+
end
|