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,2466 @@
|
|
1
|
+
# typed: strong
|
2
|
+
|
3
|
+
module Increase
|
4
|
+
module Models
|
5
|
+
class RealTimeDecision < Increase::Internal::Type::BaseModel
|
6
|
+
OrHash =
|
7
|
+
T.type_alias do
|
8
|
+
T.any(Increase::RealTimeDecision, Increase::Internal::AnyHash)
|
9
|
+
end
|
10
|
+
|
11
|
+
# The Real-Time Decision identifier.
|
12
|
+
sig { returns(String) }
|
13
|
+
attr_accessor :id
|
14
|
+
|
15
|
+
# Fields related to a 3DS authentication attempt.
|
16
|
+
sig { returns(T.nilable(Increase::RealTimeDecision::CardAuthentication)) }
|
17
|
+
attr_reader :card_authentication
|
18
|
+
|
19
|
+
sig do
|
20
|
+
params(
|
21
|
+
card_authentication:
|
22
|
+
T.nilable(Increase::RealTimeDecision::CardAuthentication::OrHash)
|
23
|
+
).void
|
24
|
+
end
|
25
|
+
attr_writer :card_authentication
|
26
|
+
|
27
|
+
# Fields related to a 3DS authentication attempt.
|
28
|
+
sig do
|
29
|
+
returns(
|
30
|
+
T.nilable(Increase::RealTimeDecision::CardAuthenticationChallenge)
|
31
|
+
)
|
32
|
+
end
|
33
|
+
attr_reader :card_authentication_challenge
|
34
|
+
|
35
|
+
sig do
|
36
|
+
params(
|
37
|
+
card_authentication_challenge:
|
38
|
+
T.nilable(
|
39
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::OrHash
|
40
|
+
)
|
41
|
+
).void
|
42
|
+
end
|
43
|
+
attr_writer :card_authentication_challenge
|
44
|
+
|
45
|
+
# Fields related to a card authorization.
|
46
|
+
sig { returns(T.nilable(Increase::RealTimeDecision::CardAuthorization)) }
|
47
|
+
attr_reader :card_authorization
|
48
|
+
|
49
|
+
sig do
|
50
|
+
params(
|
51
|
+
card_authorization:
|
52
|
+
T.nilable(Increase::RealTimeDecision::CardAuthorization::OrHash)
|
53
|
+
).void
|
54
|
+
end
|
55
|
+
attr_writer :card_authorization
|
56
|
+
|
57
|
+
# The category of the Real-Time Decision.
|
58
|
+
sig { returns(Increase::RealTimeDecision::Category::TaggedSymbol) }
|
59
|
+
attr_accessor :category
|
60
|
+
|
61
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
62
|
+
# the Real-Time Decision was created.
|
63
|
+
sig { returns(Time) }
|
64
|
+
attr_accessor :created_at
|
65
|
+
|
66
|
+
# Fields related to a digital wallet authentication attempt.
|
67
|
+
sig do
|
68
|
+
returns(
|
69
|
+
T.nilable(Increase::RealTimeDecision::DigitalWalletAuthentication)
|
70
|
+
)
|
71
|
+
end
|
72
|
+
attr_reader :digital_wallet_authentication
|
73
|
+
|
74
|
+
sig do
|
75
|
+
params(
|
76
|
+
digital_wallet_authentication:
|
77
|
+
T.nilable(
|
78
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::OrHash
|
79
|
+
)
|
80
|
+
).void
|
81
|
+
end
|
82
|
+
attr_writer :digital_wallet_authentication
|
83
|
+
|
84
|
+
# Fields related to a digital wallet token provisioning attempt.
|
85
|
+
sig { returns(T.nilable(Increase::RealTimeDecision::DigitalWalletToken)) }
|
86
|
+
attr_reader :digital_wallet_token
|
87
|
+
|
88
|
+
sig do
|
89
|
+
params(
|
90
|
+
digital_wallet_token:
|
91
|
+
T.nilable(Increase::RealTimeDecision::DigitalWalletToken::OrHash)
|
92
|
+
).void
|
93
|
+
end
|
94
|
+
attr_writer :digital_wallet_token
|
95
|
+
|
96
|
+
# The status of the Real-Time Decision.
|
97
|
+
sig { returns(Increase::RealTimeDecision::Status::TaggedSymbol) }
|
98
|
+
attr_accessor :status
|
99
|
+
|
100
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
101
|
+
# your application can no longer respond to the Real-Time Decision.
|
102
|
+
sig { returns(Time) }
|
103
|
+
attr_accessor :timeout_at
|
104
|
+
|
105
|
+
# A constant representing the object's type. For this resource it will always be
|
106
|
+
# `real_time_decision`.
|
107
|
+
sig { returns(Increase::RealTimeDecision::Type::TaggedSymbol) }
|
108
|
+
attr_accessor :type
|
109
|
+
|
110
|
+
# Real Time Decisions are created when your application needs to take action in
|
111
|
+
# real-time to some event such as a card authorization. For more information, see
|
112
|
+
# our
|
113
|
+
# [Real-Time Decisions guide](https://increase.com/documentation/real-time-decisions).
|
114
|
+
sig do
|
115
|
+
params(
|
116
|
+
id: String,
|
117
|
+
card_authentication:
|
118
|
+
T.nilable(Increase::RealTimeDecision::CardAuthentication::OrHash),
|
119
|
+
card_authentication_challenge:
|
120
|
+
T.nilable(
|
121
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::OrHash
|
122
|
+
),
|
123
|
+
card_authorization:
|
124
|
+
T.nilable(Increase::RealTimeDecision::CardAuthorization::OrHash),
|
125
|
+
category: Increase::RealTimeDecision::Category::OrSymbol,
|
126
|
+
created_at: Time,
|
127
|
+
digital_wallet_authentication:
|
128
|
+
T.nilable(
|
129
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::OrHash
|
130
|
+
),
|
131
|
+
digital_wallet_token:
|
132
|
+
T.nilable(Increase::RealTimeDecision::DigitalWalletToken::OrHash),
|
133
|
+
status: Increase::RealTimeDecision::Status::OrSymbol,
|
134
|
+
timeout_at: Time,
|
135
|
+
type: Increase::RealTimeDecision::Type::OrSymbol
|
136
|
+
).returns(T.attached_class)
|
137
|
+
end
|
138
|
+
def self.new(
|
139
|
+
# The Real-Time Decision identifier.
|
140
|
+
id:,
|
141
|
+
# Fields related to a 3DS authentication attempt.
|
142
|
+
card_authentication:,
|
143
|
+
# Fields related to a 3DS authentication attempt.
|
144
|
+
card_authentication_challenge:,
|
145
|
+
# Fields related to a card authorization.
|
146
|
+
card_authorization:,
|
147
|
+
# The category of the Real-Time Decision.
|
148
|
+
category:,
|
149
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
150
|
+
# the Real-Time Decision was created.
|
151
|
+
created_at:,
|
152
|
+
# Fields related to a digital wallet authentication attempt.
|
153
|
+
digital_wallet_authentication:,
|
154
|
+
# Fields related to a digital wallet token provisioning attempt.
|
155
|
+
digital_wallet_token:,
|
156
|
+
# The status of the Real-Time Decision.
|
157
|
+
status:,
|
158
|
+
# The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
159
|
+
# your application can no longer respond to the Real-Time Decision.
|
160
|
+
timeout_at:,
|
161
|
+
# A constant representing the object's type. For this resource it will always be
|
162
|
+
# `real_time_decision`.
|
163
|
+
type:
|
164
|
+
)
|
165
|
+
end
|
166
|
+
|
167
|
+
sig do
|
168
|
+
override.returns(
|
169
|
+
{
|
170
|
+
id: String,
|
171
|
+
card_authentication:
|
172
|
+
T.nilable(Increase::RealTimeDecision::CardAuthentication),
|
173
|
+
card_authentication_challenge:
|
174
|
+
T.nilable(
|
175
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge
|
176
|
+
),
|
177
|
+
card_authorization:
|
178
|
+
T.nilable(Increase::RealTimeDecision::CardAuthorization),
|
179
|
+
category: Increase::RealTimeDecision::Category::TaggedSymbol,
|
180
|
+
created_at: Time,
|
181
|
+
digital_wallet_authentication:
|
182
|
+
T.nilable(
|
183
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication
|
184
|
+
),
|
185
|
+
digital_wallet_token:
|
186
|
+
T.nilable(Increase::RealTimeDecision::DigitalWalletToken),
|
187
|
+
status: Increase::RealTimeDecision::Status::TaggedSymbol,
|
188
|
+
timeout_at: Time,
|
189
|
+
type: Increase::RealTimeDecision::Type::TaggedSymbol
|
190
|
+
}
|
191
|
+
)
|
192
|
+
end
|
193
|
+
def to_hash
|
194
|
+
end
|
195
|
+
|
196
|
+
class CardAuthentication < Increase::Internal::Type::BaseModel
|
197
|
+
OrHash =
|
198
|
+
T.type_alias do
|
199
|
+
T.any(
|
200
|
+
Increase::RealTimeDecision::CardAuthentication,
|
201
|
+
Increase::Internal::AnyHash
|
202
|
+
)
|
203
|
+
end
|
204
|
+
|
205
|
+
# The identifier of the Account the card belongs to.
|
206
|
+
sig { returns(String) }
|
207
|
+
attr_accessor :account_id
|
208
|
+
|
209
|
+
# The identifier of the Card that is being tokenized.
|
210
|
+
sig { returns(String) }
|
211
|
+
attr_accessor :card_id
|
212
|
+
|
213
|
+
# Whether or not the authentication attempt was approved.
|
214
|
+
sig do
|
215
|
+
returns(
|
216
|
+
T.nilable(
|
217
|
+
Increase::RealTimeDecision::CardAuthentication::Decision::TaggedSymbol
|
218
|
+
)
|
219
|
+
)
|
220
|
+
end
|
221
|
+
attr_accessor :decision
|
222
|
+
|
223
|
+
# The identifier of the Card Payment this authentication attempt will belong to.
|
224
|
+
# Available in the API once the card authentication has completed.
|
225
|
+
sig { returns(String) }
|
226
|
+
attr_accessor :upcoming_card_payment_id
|
227
|
+
|
228
|
+
# Fields related to a 3DS authentication attempt.
|
229
|
+
sig do
|
230
|
+
params(
|
231
|
+
account_id: String,
|
232
|
+
card_id: String,
|
233
|
+
decision:
|
234
|
+
T.nilable(
|
235
|
+
Increase::RealTimeDecision::CardAuthentication::Decision::OrSymbol
|
236
|
+
),
|
237
|
+
upcoming_card_payment_id: String
|
238
|
+
).returns(T.attached_class)
|
239
|
+
end
|
240
|
+
def self.new(
|
241
|
+
# The identifier of the Account the card belongs to.
|
242
|
+
account_id:,
|
243
|
+
# The identifier of the Card that is being tokenized.
|
244
|
+
card_id:,
|
245
|
+
# Whether or not the authentication attempt was approved.
|
246
|
+
decision:,
|
247
|
+
# The identifier of the Card Payment this authentication attempt will belong to.
|
248
|
+
# Available in the API once the card authentication has completed.
|
249
|
+
upcoming_card_payment_id:
|
250
|
+
)
|
251
|
+
end
|
252
|
+
|
253
|
+
sig do
|
254
|
+
override.returns(
|
255
|
+
{
|
256
|
+
account_id: String,
|
257
|
+
card_id: String,
|
258
|
+
decision:
|
259
|
+
T.nilable(
|
260
|
+
Increase::RealTimeDecision::CardAuthentication::Decision::TaggedSymbol
|
261
|
+
),
|
262
|
+
upcoming_card_payment_id: String
|
263
|
+
}
|
264
|
+
)
|
265
|
+
end
|
266
|
+
def to_hash
|
267
|
+
end
|
268
|
+
|
269
|
+
# Whether or not the authentication attempt was approved.
|
270
|
+
module Decision
|
271
|
+
extend Increase::Internal::Type::Enum
|
272
|
+
|
273
|
+
TaggedSymbol =
|
274
|
+
T.type_alias do
|
275
|
+
T.all(
|
276
|
+
Symbol,
|
277
|
+
Increase::RealTimeDecision::CardAuthentication::Decision
|
278
|
+
)
|
279
|
+
end
|
280
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
281
|
+
|
282
|
+
# Approve the authentication attempt without triggering a challenge.
|
283
|
+
APPROVE =
|
284
|
+
T.let(
|
285
|
+
:approve,
|
286
|
+
Increase::RealTimeDecision::CardAuthentication::Decision::TaggedSymbol
|
287
|
+
)
|
288
|
+
|
289
|
+
# Request further validation before approving the authentication attempt.
|
290
|
+
CHALLENGE =
|
291
|
+
T.let(
|
292
|
+
:challenge,
|
293
|
+
Increase::RealTimeDecision::CardAuthentication::Decision::TaggedSymbol
|
294
|
+
)
|
295
|
+
|
296
|
+
# Deny the authentication attempt.
|
297
|
+
DENY =
|
298
|
+
T.let(
|
299
|
+
:deny,
|
300
|
+
Increase::RealTimeDecision::CardAuthentication::Decision::TaggedSymbol
|
301
|
+
)
|
302
|
+
|
303
|
+
sig do
|
304
|
+
override.returns(
|
305
|
+
T::Array[
|
306
|
+
Increase::RealTimeDecision::CardAuthentication::Decision::TaggedSymbol
|
307
|
+
]
|
308
|
+
)
|
309
|
+
end
|
310
|
+
def self.values
|
311
|
+
end
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
315
|
+
class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel
|
316
|
+
OrHash =
|
317
|
+
T.type_alias do
|
318
|
+
T.any(
|
319
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge,
|
320
|
+
Increase::Internal::AnyHash
|
321
|
+
)
|
322
|
+
end
|
323
|
+
|
324
|
+
# The identifier of the Account the card belongs to.
|
325
|
+
sig { returns(String) }
|
326
|
+
attr_accessor :account_id
|
327
|
+
|
328
|
+
# The identifier of the Card that is being tokenized.
|
329
|
+
sig { returns(String) }
|
330
|
+
attr_accessor :card_id
|
331
|
+
|
332
|
+
# The identifier of the Card Payment this authentication challenge attempt belongs
|
333
|
+
# to.
|
334
|
+
sig { returns(String) }
|
335
|
+
attr_accessor :card_payment_id
|
336
|
+
|
337
|
+
# The one-time code delivered to the cardholder.
|
338
|
+
sig { returns(String) }
|
339
|
+
attr_accessor :one_time_code
|
340
|
+
|
341
|
+
# Whether or not the challenge was delivered to the cardholder.
|
342
|
+
sig do
|
343
|
+
returns(
|
344
|
+
T.nilable(
|
345
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::Result::TaggedSymbol
|
346
|
+
)
|
347
|
+
)
|
348
|
+
end
|
349
|
+
attr_accessor :result
|
350
|
+
|
351
|
+
# Fields related to a 3DS authentication attempt.
|
352
|
+
sig do
|
353
|
+
params(
|
354
|
+
account_id: String,
|
355
|
+
card_id: String,
|
356
|
+
card_payment_id: String,
|
357
|
+
one_time_code: String,
|
358
|
+
result:
|
359
|
+
T.nilable(
|
360
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::Result::OrSymbol
|
361
|
+
)
|
362
|
+
).returns(T.attached_class)
|
363
|
+
end
|
364
|
+
def self.new(
|
365
|
+
# The identifier of the Account the card belongs to.
|
366
|
+
account_id:,
|
367
|
+
# The identifier of the Card that is being tokenized.
|
368
|
+
card_id:,
|
369
|
+
# The identifier of the Card Payment this authentication challenge attempt belongs
|
370
|
+
# to.
|
371
|
+
card_payment_id:,
|
372
|
+
# The one-time code delivered to the cardholder.
|
373
|
+
one_time_code:,
|
374
|
+
# Whether or not the challenge was delivered to the cardholder.
|
375
|
+
result:
|
376
|
+
)
|
377
|
+
end
|
378
|
+
|
379
|
+
sig do
|
380
|
+
override.returns(
|
381
|
+
{
|
382
|
+
account_id: String,
|
383
|
+
card_id: String,
|
384
|
+
card_payment_id: String,
|
385
|
+
one_time_code: String,
|
386
|
+
result:
|
387
|
+
T.nilable(
|
388
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::Result::TaggedSymbol
|
389
|
+
)
|
390
|
+
}
|
391
|
+
)
|
392
|
+
end
|
393
|
+
def to_hash
|
394
|
+
end
|
395
|
+
|
396
|
+
# Whether or not the challenge was delivered to the cardholder.
|
397
|
+
module Result
|
398
|
+
extend Increase::Internal::Type::Enum
|
399
|
+
|
400
|
+
TaggedSymbol =
|
401
|
+
T.type_alias do
|
402
|
+
T.all(
|
403
|
+
Symbol,
|
404
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::Result
|
405
|
+
)
|
406
|
+
end
|
407
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
408
|
+
|
409
|
+
# Your application successfully delivered the one-time code to the cardholder.
|
410
|
+
SUCCESS =
|
411
|
+
T.let(
|
412
|
+
:success,
|
413
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::Result::TaggedSymbol
|
414
|
+
)
|
415
|
+
|
416
|
+
# Your application was unable to deliver the one-time code to the cardholder.
|
417
|
+
FAILURE =
|
418
|
+
T.let(
|
419
|
+
:failure,
|
420
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::Result::TaggedSymbol
|
421
|
+
)
|
422
|
+
|
423
|
+
sig do
|
424
|
+
override.returns(
|
425
|
+
T::Array[
|
426
|
+
Increase::RealTimeDecision::CardAuthenticationChallenge::Result::TaggedSymbol
|
427
|
+
]
|
428
|
+
)
|
429
|
+
end
|
430
|
+
def self.values
|
431
|
+
end
|
432
|
+
end
|
433
|
+
end
|
434
|
+
|
435
|
+
class CardAuthorization < Increase::Internal::Type::BaseModel
|
436
|
+
OrHash =
|
437
|
+
T.type_alias do
|
438
|
+
T.any(
|
439
|
+
Increase::RealTimeDecision::CardAuthorization,
|
440
|
+
Increase::Internal::AnyHash
|
441
|
+
)
|
442
|
+
end
|
443
|
+
|
444
|
+
# The identifier of the Account the authorization will debit.
|
445
|
+
sig { returns(String) }
|
446
|
+
attr_accessor :account_id
|
447
|
+
|
448
|
+
# The identifier of the Card that is being authorized.
|
449
|
+
sig { returns(String) }
|
450
|
+
attr_accessor :card_id
|
451
|
+
|
452
|
+
# Whether or not the authorization was approved.
|
453
|
+
sig do
|
454
|
+
returns(
|
455
|
+
T.nilable(
|
456
|
+
Increase::RealTimeDecision::CardAuthorization::Decision::TaggedSymbol
|
457
|
+
)
|
458
|
+
)
|
459
|
+
end
|
460
|
+
attr_accessor :decision
|
461
|
+
|
462
|
+
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
463
|
+
# purchase), the identifier of the token that was used.
|
464
|
+
sig { returns(T.nilable(String)) }
|
465
|
+
attr_accessor :digital_wallet_token_id
|
466
|
+
|
467
|
+
# The direction describes the direction the funds will move, either from the
|
468
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
469
|
+
sig do
|
470
|
+
returns(
|
471
|
+
Increase::RealTimeDecision::CardAuthorization::Direction::TaggedSymbol
|
472
|
+
)
|
473
|
+
end
|
474
|
+
attr_accessor :direction
|
475
|
+
|
476
|
+
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
477
|
+
# is transacting with.
|
478
|
+
sig { returns(String) }
|
479
|
+
attr_accessor :merchant_acceptor_id
|
480
|
+
|
481
|
+
# The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
482
|
+
# card is transacting with.
|
483
|
+
sig { returns(String) }
|
484
|
+
attr_accessor :merchant_category_code
|
485
|
+
|
486
|
+
# The city the merchant resides in.
|
487
|
+
sig { returns(T.nilable(String)) }
|
488
|
+
attr_accessor :merchant_city
|
489
|
+
|
490
|
+
# The country the merchant resides in.
|
491
|
+
sig { returns(String) }
|
492
|
+
attr_accessor :merchant_country
|
493
|
+
|
494
|
+
# The merchant descriptor of the merchant the card is transacting with.
|
495
|
+
sig { returns(String) }
|
496
|
+
attr_accessor :merchant_descriptor
|
497
|
+
|
498
|
+
# The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
|
499
|
+
# ZIP code, where the first 5 and last 4 are separated by a dash.
|
500
|
+
sig { returns(T.nilable(String)) }
|
501
|
+
attr_accessor :merchant_postal_code
|
502
|
+
|
503
|
+
# The state the merchant resides in.
|
504
|
+
sig { returns(T.nilable(String)) }
|
505
|
+
attr_accessor :merchant_state
|
506
|
+
|
507
|
+
# Fields specific to the `network`.
|
508
|
+
sig do
|
509
|
+
returns(Increase::RealTimeDecision::CardAuthorization::NetworkDetails)
|
510
|
+
end
|
511
|
+
attr_reader :network_details
|
512
|
+
|
513
|
+
sig do
|
514
|
+
params(
|
515
|
+
network_details:
|
516
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::OrHash
|
517
|
+
).void
|
518
|
+
end
|
519
|
+
attr_writer :network_details
|
520
|
+
|
521
|
+
# Network-specific identifiers for a specific request or transaction.
|
522
|
+
sig do
|
523
|
+
returns(
|
524
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers
|
525
|
+
)
|
526
|
+
end
|
527
|
+
attr_reader :network_identifiers
|
528
|
+
|
529
|
+
sig do
|
530
|
+
params(
|
531
|
+
network_identifiers:
|
532
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers::OrHash
|
533
|
+
).void
|
534
|
+
end
|
535
|
+
attr_writer :network_identifiers
|
536
|
+
|
537
|
+
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
538
|
+
# Authorization risk score, from 0 to 99, where 99 is the riskiest.
|
539
|
+
sig { returns(T.nilable(Integer)) }
|
540
|
+
attr_accessor :network_risk_score
|
541
|
+
|
542
|
+
# If the authorization was made in-person with a physical card, the Physical Card
|
543
|
+
# that was used.
|
544
|
+
sig { returns(T.nilable(String)) }
|
545
|
+
attr_accessor :physical_card_id
|
546
|
+
|
547
|
+
# The amount of the attempted authorization in the currency the card user sees at
|
548
|
+
# the time of purchase, in the minor unit of that currency. For dollars, for
|
549
|
+
# example, this is cents.
|
550
|
+
sig { returns(Integer) }
|
551
|
+
attr_accessor :presentment_amount
|
552
|
+
|
553
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the currency the
|
554
|
+
# user sees at the time of purchase.
|
555
|
+
sig { returns(String) }
|
556
|
+
attr_accessor :presentment_currency
|
557
|
+
|
558
|
+
# The processing category describes the intent behind the authorization, such as
|
559
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
560
|
+
sig do
|
561
|
+
returns(
|
562
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
563
|
+
)
|
564
|
+
end
|
565
|
+
attr_accessor :processing_category
|
566
|
+
|
567
|
+
# Fields specific to the type of request, such as an incremental authorization.
|
568
|
+
sig do
|
569
|
+
returns(Increase::RealTimeDecision::CardAuthorization::RequestDetails)
|
570
|
+
end
|
571
|
+
attr_reader :request_details
|
572
|
+
|
573
|
+
sig do
|
574
|
+
params(
|
575
|
+
request_details:
|
576
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::OrHash
|
577
|
+
).void
|
578
|
+
end
|
579
|
+
attr_writer :request_details
|
580
|
+
|
581
|
+
# The amount of the attempted authorization in the currency it will be settled in.
|
582
|
+
# This currency is the same as that of the Account the card belongs to.
|
583
|
+
sig { returns(Integer) }
|
584
|
+
attr_accessor :settlement_amount
|
585
|
+
|
586
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the currency the
|
587
|
+
# transaction will be settled in.
|
588
|
+
sig { returns(String) }
|
589
|
+
attr_accessor :settlement_currency
|
590
|
+
|
591
|
+
# The terminal identifier (commonly abbreviated as TID) of the terminal the card
|
592
|
+
# is transacting with.
|
593
|
+
sig { returns(T.nilable(String)) }
|
594
|
+
attr_accessor :terminal_id
|
595
|
+
|
596
|
+
# The identifier of the Card Payment this authorization will belong to. Available
|
597
|
+
# in the API once the card authorization has completed.
|
598
|
+
sig { returns(String) }
|
599
|
+
attr_accessor :upcoming_card_payment_id
|
600
|
+
|
601
|
+
# Fields related to verification of cardholder-provided values.
|
602
|
+
sig do
|
603
|
+
returns(Increase::RealTimeDecision::CardAuthorization::Verification)
|
604
|
+
end
|
605
|
+
attr_reader :verification
|
606
|
+
|
607
|
+
sig do
|
608
|
+
params(
|
609
|
+
verification:
|
610
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::OrHash
|
611
|
+
).void
|
612
|
+
end
|
613
|
+
attr_writer :verification
|
614
|
+
|
615
|
+
# Fields related to a card authorization.
|
616
|
+
sig do
|
617
|
+
params(
|
618
|
+
account_id: String,
|
619
|
+
card_id: String,
|
620
|
+
decision:
|
621
|
+
T.nilable(
|
622
|
+
Increase::RealTimeDecision::CardAuthorization::Decision::OrSymbol
|
623
|
+
),
|
624
|
+
digital_wallet_token_id: T.nilable(String),
|
625
|
+
direction:
|
626
|
+
Increase::RealTimeDecision::CardAuthorization::Direction::OrSymbol,
|
627
|
+
merchant_acceptor_id: String,
|
628
|
+
merchant_category_code: String,
|
629
|
+
merchant_city: T.nilable(String),
|
630
|
+
merchant_country: String,
|
631
|
+
merchant_descriptor: String,
|
632
|
+
merchant_postal_code: T.nilable(String),
|
633
|
+
merchant_state: T.nilable(String),
|
634
|
+
network_details:
|
635
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::OrHash,
|
636
|
+
network_identifiers:
|
637
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers::OrHash,
|
638
|
+
network_risk_score: T.nilable(Integer),
|
639
|
+
physical_card_id: T.nilable(String),
|
640
|
+
presentment_amount: Integer,
|
641
|
+
presentment_currency: String,
|
642
|
+
processing_category:
|
643
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::OrSymbol,
|
644
|
+
request_details:
|
645
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::OrHash,
|
646
|
+
settlement_amount: Integer,
|
647
|
+
settlement_currency: String,
|
648
|
+
terminal_id: T.nilable(String),
|
649
|
+
upcoming_card_payment_id: String,
|
650
|
+
verification:
|
651
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::OrHash
|
652
|
+
).returns(T.attached_class)
|
653
|
+
end
|
654
|
+
def self.new(
|
655
|
+
# The identifier of the Account the authorization will debit.
|
656
|
+
account_id:,
|
657
|
+
# The identifier of the Card that is being authorized.
|
658
|
+
card_id:,
|
659
|
+
# Whether or not the authorization was approved.
|
660
|
+
decision:,
|
661
|
+
# If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
662
|
+
# purchase), the identifier of the token that was used.
|
663
|
+
digital_wallet_token_id:,
|
664
|
+
# The direction describes the direction the funds will move, either from the
|
665
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
666
|
+
direction:,
|
667
|
+
# The merchant identifier (commonly abbreviated as MID) of the merchant the card
|
668
|
+
# is transacting with.
|
669
|
+
merchant_acceptor_id:,
|
670
|
+
# The Merchant Category Code (commonly abbreviated as MCC) of the merchant the
|
671
|
+
# card is transacting with.
|
672
|
+
merchant_category_code:,
|
673
|
+
# The city the merchant resides in.
|
674
|
+
merchant_city:,
|
675
|
+
# The country the merchant resides in.
|
676
|
+
merchant_country:,
|
677
|
+
# The merchant descriptor of the merchant the card is transacting with.
|
678
|
+
merchant_descriptor:,
|
679
|
+
# The merchant's postal code. For US merchants this is either a 5-digit or 9-digit
|
680
|
+
# ZIP code, where the first 5 and last 4 are separated by a dash.
|
681
|
+
merchant_postal_code:,
|
682
|
+
# The state the merchant resides in.
|
683
|
+
merchant_state:,
|
684
|
+
# Fields specific to the `network`.
|
685
|
+
network_details:,
|
686
|
+
# Network-specific identifiers for a specific request or transaction.
|
687
|
+
network_identifiers:,
|
688
|
+
# The risk score generated by the card network. For Visa this is the Visa Advanced
|
689
|
+
# Authorization risk score, from 0 to 99, where 99 is the riskiest.
|
690
|
+
network_risk_score:,
|
691
|
+
# If the authorization was made in-person with a physical card, the Physical Card
|
692
|
+
# that was used.
|
693
|
+
physical_card_id:,
|
694
|
+
# The amount of the attempted authorization in the currency the card user sees at
|
695
|
+
# the time of purchase, in the minor unit of that currency. For dollars, for
|
696
|
+
# example, this is cents.
|
697
|
+
presentment_amount:,
|
698
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the currency the
|
699
|
+
# user sees at the time of purchase.
|
700
|
+
presentment_currency:,
|
701
|
+
# The processing category describes the intent behind the authorization, such as
|
702
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
703
|
+
processing_category:,
|
704
|
+
# Fields specific to the type of request, such as an incremental authorization.
|
705
|
+
request_details:,
|
706
|
+
# The amount of the attempted authorization in the currency it will be settled in.
|
707
|
+
# This currency is the same as that of the Account the card belongs to.
|
708
|
+
settlement_amount:,
|
709
|
+
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the currency the
|
710
|
+
# transaction will be settled in.
|
711
|
+
settlement_currency:,
|
712
|
+
# The terminal identifier (commonly abbreviated as TID) of the terminal the card
|
713
|
+
# is transacting with.
|
714
|
+
terminal_id:,
|
715
|
+
# The identifier of the Card Payment this authorization will belong to. Available
|
716
|
+
# in the API once the card authorization has completed.
|
717
|
+
upcoming_card_payment_id:,
|
718
|
+
# Fields related to verification of cardholder-provided values.
|
719
|
+
verification:
|
720
|
+
)
|
721
|
+
end
|
722
|
+
|
723
|
+
sig do
|
724
|
+
override.returns(
|
725
|
+
{
|
726
|
+
account_id: String,
|
727
|
+
card_id: String,
|
728
|
+
decision:
|
729
|
+
T.nilable(
|
730
|
+
Increase::RealTimeDecision::CardAuthorization::Decision::TaggedSymbol
|
731
|
+
),
|
732
|
+
digital_wallet_token_id: T.nilable(String),
|
733
|
+
direction:
|
734
|
+
Increase::RealTimeDecision::CardAuthorization::Direction::TaggedSymbol,
|
735
|
+
merchant_acceptor_id: String,
|
736
|
+
merchant_category_code: String,
|
737
|
+
merchant_city: T.nilable(String),
|
738
|
+
merchant_country: String,
|
739
|
+
merchant_descriptor: String,
|
740
|
+
merchant_postal_code: T.nilable(String),
|
741
|
+
merchant_state: T.nilable(String),
|
742
|
+
network_details:
|
743
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails,
|
744
|
+
network_identifiers:
|
745
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers,
|
746
|
+
network_risk_score: T.nilable(Integer),
|
747
|
+
physical_card_id: T.nilable(String),
|
748
|
+
presentment_amount: Integer,
|
749
|
+
presentment_currency: String,
|
750
|
+
processing_category:
|
751
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol,
|
752
|
+
request_details:
|
753
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails,
|
754
|
+
settlement_amount: Integer,
|
755
|
+
settlement_currency: String,
|
756
|
+
terminal_id: T.nilable(String),
|
757
|
+
upcoming_card_payment_id: String,
|
758
|
+
verification:
|
759
|
+
Increase::RealTimeDecision::CardAuthorization::Verification
|
760
|
+
}
|
761
|
+
)
|
762
|
+
end
|
763
|
+
def to_hash
|
764
|
+
end
|
765
|
+
|
766
|
+
# Whether or not the authorization was approved.
|
767
|
+
module Decision
|
768
|
+
extend Increase::Internal::Type::Enum
|
769
|
+
|
770
|
+
TaggedSymbol =
|
771
|
+
T.type_alias do
|
772
|
+
T.all(
|
773
|
+
Symbol,
|
774
|
+
Increase::RealTimeDecision::CardAuthorization::Decision
|
775
|
+
)
|
776
|
+
end
|
777
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
778
|
+
|
779
|
+
# Approve the authorization.
|
780
|
+
APPROVE =
|
781
|
+
T.let(
|
782
|
+
:approve,
|
783
|
+
Increase::RealTimeDecision::CardAuthorization::Decision::TaggedSymbol
|
784
|
+
)
|
785
|
+
|
786
|
+
# Decline the authorization.
|
787
|
+
DECLINE =
|
788
|
+
T.let(
|
789
|
+
:decline,
|
790
|
+
Increase::RealTimeDecision::CardAuthorization::Decision::TaggedSymbol
|
791
|
+
)
|
792
|
+
|
793
|
+
sig do
|
794
|
+
override.returns(
|
795
|
+
T::Array[
|
796
|
+
Increase::RealTimeDecision::CardAuthorization::Decision::TaggedSymbol
|
797
|
+
]
|
798
|
+
)
|
799
|
+
end
|
800
|
+
def self.values
|
801
|
+
end
|
802
|
+
end
|
803
|
+
|
804
|
+
# The direction describes the direction the funds will move, either from the
|
805
|
+
# cardholder to the merchant or from the merchant to the cardholder.
|
806
|
+
module Direction
|
807
|
+
extend Increase::Internal::Type::Enum
|
808
|
+
|
809
|
+
TaggedSymbol =
|
810
|
+
T.type_alias do
|
811
|
+
T.all(
|
812
|
+
Symbol,
|
813
|
+
Increase::RealTimeDecision::CardAuthorization::Direction
|
814
|
+
)
|
815
|
+
end
|
816
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
817
|
+
|
818
|
+
# A regular card authorization where funds are debited from the cardholder.
|
819
|
+
SETTLEMENT =
|
820
|
+
T.let(
|
821
|
+
:settlement,
|
822
|
+
Increase::RealTimeDecision::CardAuthorization::Direction::TaggedSymbol
|
823
|
+
)
|
824
|
+
|
825
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
826
|
+
REFUND =
|
827
|
+
T.let(
|
828
|
+
:refund,
|
829
|
+
Increase::RealTimeDecision::CardAuthorization::Direction::TaggedSymbol
|
830
|
+
)
|
831
|
+
|
832
|
+
sig do
|
833
|
+
override.returns(
|
834
|
+
T::Array[
|
835
|
+
Increase::RealTimeDecision::CardAuthorization::Direction::TaggedSymbol
|
836
|
+
]
|
837
|
+
)
|
838
|
+
end
|
839
|
+
def self.values
|
840
|
+
end
|
841
|
+
end
|
842
|
+
|
843
|
+
class NetworkDetails < Increase::Internal::Type::BaseModel
|
844
|
+
OrHash =
|
845
|
+
T.type_alias do
|
846
|
+
T.any(
|
847
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails,
|
848
|
+
Increase::Internal::AnyHash
|
849
|
+
)
|
850
|
+
end
|
851
|
+
|
852
|
+
# The payment network used to process this card authorization.
|
853
|
+
sig do
|
854
|
+
returns(
|
855
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category::TaggedSymbol
|
856
|
+
)
|
857
|
+
end
|
858
|
+
attr_accessor :category
|
859
|
+
|
860
|
+
# Fields specific to the `visa` network.
|
861
|
+
sig do
|
862
|
+
returns(
|
863
|
+
T.nilable(
|
864
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa
|
865
|
+
)
|
866
|
+
)
|
867
|
+
end
|
868
|
+
attr_reader :visa
|
869
|
+
|
870
|
+
sig do
|
871
|
+
params(
|
872
|
+
visa:
|
873
|
+
T.nilable(
|
874
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::OrHash
|
875
|
+
)
|
876
|
+
).void
|
877
|
+
end
|
878
|
+
attr_writer :visa
|
879
|
+
|
880
|
+
# Fields specific to the `network`.
|
881
|
+
sig do
|
882
|
+
params(
|
883
|
+
category:
|
884
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category::OrSymbol,
|
885
|
+
visa:
|
886
|
+
T.nilable(
|
887
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::OrHash
|
888
|
+
)
|
889
|
+
).returns(T.attached_class)
|
890
|
+
end
|
891
|
+
def self.new(
|
892
|
+
# The payment network used to process this card authorization.
|
893
|
+
category:,
|
894
|
+
# Fields specific to the `visa` network.
|
895
|
+
visa:
|
896
|
+
)
|
897
|
+
end
|
898
|
+
|
899
|
+
sig do
|
900
|
+
override.returns(
|
901
|
+
{
|
902
|
+
category:
|
903
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category::TaggedSymbol,
|
904
|
+
visa:
|
905
|
+
T.nilable(
|
906
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa
|
907
|
+
)
|
908
|
+
}
|
909
|
+
)
|
910
|
+
end
|
911
|
+
def to_hash
|
912
|
+
end
|
913
|
+
|
914
|
+
# The payment network used to process this card authorization.
|
915
|
+
module Category
|
916
|
+
extend Increase::Internal::Type::Enum
|
917
|
+
|
918
|
+
TaggedSymbol =
|
919
|
+
T.type_alias do
|
920
|
+
T.all(
|
921
|
+
Symbol,
|
922
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category
|
923
|
+
)
|
924
|
+
end
|
925
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
926
|
+
|
927
|
+
# Visa
|
928
|
+
VISA =
|
929
|
+
T.let(
|
930
|
+
:visa,
|
931
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category::TaggedSymbol
|
932
|
+
)
|
933
|
+
|
934
|
+
sig do
|
935
|
+
override.returns(
|
936
|
+
T::Array[
|
937
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category::TaggedSymbol
|
938
|
+
]
|
939
|
+
)
|
940
|
+
end
|
941
|
+
def self.values
|
942
|
+
end
|
943
|
+
end
|
944
|
+
|
945
|
+
class Visa < Increase::Internal::Type::BaseModel
|
946
|
+
OrHash =
|
947
|
+
T.type_alias do
|
948
|
+
T.any(
|
949
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa,
|
950
|
+
Increase::Internal::AnyHash
|
951
|
+
)
|
952
|
+
end
|
953
|
+
|
954
|
+
# For electronic commerce transactions, this identifies the level of security used
|
955
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
956
|
+
# transactions, identifies the type of mail or telephone order.
|
957
|
+
sig do
|
958
|
+
returns(
|
959
|
+
T.nilable(
|
960
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
961
|
+
)
|
962
|
+
)
|
963
|
+
end
|
964
|
+
attr_accessor :electronic_commerce_indicator
|
965
|
+
|
966
|
+
# The method used to enter the cardholder's primary account number and card
|
967
|
+
# expiration date.
|
968
|
+
sig do
|
969
|
+
returns(
|
970
|
+
T.nilable(
|
971
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
972
|
+
)
|
973
|
+
)
|
974
|
+
end
|
975
|
+
attr_accessor :point_of_service_entry_mode
|
976
|
+
|
977
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
978
|
+
# approved or declined by Visa through stand-in processing.
|
979
|
+
sig do
|
980
|
+
returns(
|
981
|
+
T.nilable(
|
982
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
983
|
+
)
|
984
|
+
)
|
985
|
+
end
|
986
|
+
attr_accessor :stand_in_processing_reason
|
987
|
+
|
988
|
+
# Fields specific to the `visa` network.
|
989
|
+
sig do
|
990
|
+
params(
|
991
|
+
electronic_commerce_indicator:
|
992
|
+
T.nilable(
|
993
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::OrSymbol
|
994
|
+
),
|
995
|
+
point_of_service_entry_mode:
|
996
|
+
T.nilable(
|
997
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::OrSymbol
|
998
|
+
),
|
999
|
+
stand_in_processing_reason:
|
1000
|
+
T.nilable(
|
1001
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::OrSymbol
|
1002
|
+
)
|
1003
|
+
).returns(T.attached_class)
|
1004
|
+
end
|
1005
|
+
def self.new(
|
1006
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1007
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1008
|
+
# transactions, identifies the type of mail or telephone order.
|
1009
|
+
electronic_commerce_indicator:,
|
1010
|
+
# The method used to enter the cardholder's primary account number and card
|
1011
|
+
# expiration date.
|
1012
|
+
point_of_service_entry_mode:,
|
1013
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1014
|
+
# approved or declined by Visa through stand-in processing.
|
1015
|
+
stand_in_processing_reason:
|
1016
|
+
)
|
1017
|
+
end
|
1018
|
+
|
1019
|
+
sig do
|
1020
|
+
override.returns(
|
1021
|
+
{
|
1022
|
+
electronic_commerce_indicator:
|
1023
|
+
T.nilable(
|
1024
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1025
|
+
),
|
1026
|
+
point_of_service_entry_mode:
|
1027
|
+
T.nilable(
|
1028
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1029
|
+
),
|
1030
|
+
stand_in_processing_reason:
|
1031
|
+
T.nilable(
|
1032
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1033
|
+
)
|
1034
|
+
}
|
1035
|
+
)
|
1036
|
+
end
|
1037
|
+
def to_hash
|
1038
|
+
end
|
1039
|
+
|
1040
|
+
# For electronic commerce transactions, this identifies the level of security used
|
1041
|
+
# in obtaining the customer's payment credential. For mail or telephone order
|
1042
|
+
# transactions, identifies the type of mail or telephone order.
|
1043
|
+
module ElectronicCommerceIndicator
|
1044
|
+
extend Increase::Internal::Type::Enum
|
1045
|
+
|
1046
|
+
TaggedSymbol =
|
1047
|
+
T.type_alias do
|
1048
|
+
T.all(
|
1049
|
+
Symbol,
|
1050
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator
|
1051
|
+
)
|
1052
|
+
end
|
1053
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1054
|
+
|
1055
|
+
# 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.
|
1056
|
+
MAIL_PHONE_ORDER =
|
1057
|
+
T.let(
|
1058
|
+
:mail_phone_order,
|
1059
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1060
|
+
)
|
1061
|
+
|
1062
|
+
# Recurring transaction: Payment indicator used to indicate a recurring transaction that originates from an acquirer in the US region.
|
1063
|
+
RECURRING =
|
1064
|
+
T.let(
|
1065
|
+
:recurring,
|
1066
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1067
|
+
)
|
1068
|
+
|
1069
|
+
# 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.
|
1070
|
+
INSTALLMENT =
|
1071
|
+
T.let(
|
1072
|
+
:installment,
|
1073
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1074
|
+
)
|
1075
|
+
|
1076
|
+
# Unknown classification: other mail order: Use to indicate that the type of mail/telephone order is unknown.
|
1077
|
+
UNKNOWN_MAIL_PHONE_ORDER =
|
1078
|
+
T.let(
|
1079
|
+
:unknown_mail_phone_order,
|
1080
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1081
|
+
)
|
1082
|
+
|
1083
|
+
# Secure electronic commerce transaction: Use to indicate that the electronic commerce transaction has been authenticated using e.g., 3-D Secure
|
1084
|
+
SECURE_ELECTRONIC_COMMERCE =
|
1085
|
+
T.let(
|
1086
|
+
:secure_electronic_commerce,
|
1087
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1088
|
+
)
|
1089
|
+
|
1090
|
+
# 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.
|
1091
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION_AT_3DS_CAPABLE_MERCHANT =
|
1092
|
+
T.let(
|
1093
|
+
:non_authenticated_security_transaction_at_3ds_capable_merchant,
|
1094
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1095
|
+
)
|
1096
|
+
|
1097
|
+
# 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.
|
1098
|
+
NON_AUTHENTICATED_SECURITY_TRANSACTION =
|
1099
|
+
T.let(
|
1100
|
+
:non_authenticated_security_transaction,
|
1101
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1102
|
+
)
|
1103
|
+
|
1104
|
+
# Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection.
|
1105
|
+
NON_SECURE_TRANSACTION =
|
1106
|
+
T.let(
|
1107
|
+
:non_secure_transaction,
|
1108
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1109
|
+
)
|
1110
|
+
|
1111
|
+
sig do
|
1112
|
+
override.returns(
|
1113
|
+
T::Array[
|
1114
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator::TaggedSymbol
|
1115
|
+
]
|
1116
|
+
)
|
1117
|
+
end
|
1118
|
+
def self.values
|
1119
|
+
end
|
1120
|
+
end
|
1121
|
+
|
1122
|
+
# The method used to enter the cardholder's primary account number and card
|
1123
|
+
# expiration date.
|
1124
|
+
module PointOfServiceEntryMode
|
1125
|
+
extend Increase::Internal::Type::Enum
|
1126
|
+
|
1127
|
+
TaggedSymbol =
|
1128
|
+
T.type_alias do
|
1129
|
+
T.all(
|
1130
|
+
Symbol,
|
1131
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode
|
1132
|
+
)
|
1133
|
+
end
|
1134
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1135
|
+
|
1136
|
+
# Unknown
|
1137
|
+
UNKNOWN =
|
1138
|
+
T.let(
|
1139
|
+
:unknown,
|
1140
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1141
|
+
)
|
1142
|
+
|
1143
|
+
# Manual key entry
|
1144
|
+
MANUAL =
|
1145
|
+
T.let(
|
1146
|
+
:manual,
|
1147
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1148
|
+
)
|
1149
|
+
|
1150
|
+
# Magnetic stripe read, without card verification value
|
1151
|
+
MAGNETIC_STRIPE_NO_CVV =
|
1152
|
+
T.let(
|
1153
|
+
:magnetic_stripe_no_cvv,
|
1154
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1155
|
+
)
|
1156
|
+
|
1157
|
+
# Optical code
|
1158
|
+
OPTICAL_CODE =
|
1159
|
+
T.let(
|
1160
|
+
:optical_code,
|
1161
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1162
|
+
)
|
1163
|
+
|
1164
|
+
# Contact chip card
|
1165
|
+
INTEGRATED_CIRCUIT_CARD =
|
1166
|
+
T.let(
|
1167
|
+
:integrated_circuit_card,
|
1168
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1169
|
+
)
|
1170
|
+
|
1171
|
+
# Contactless read of chip card
|
1172
|
+
CONTACTLESS =
|
1173
|
+
T.let(
|
1174
|
+
:contactless,
|
1175
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1176
|
+
)
|
1177
|
+
|
1178
|
+
# Transaction initiated using a credential that has previously been stored on file
|
1179
|
+
CREDENTIAL_ON_FILE =
|
1180
|
+
T.let(
|
1181
|
+
:credential_on_file,
|
1182
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1183
|
+
)
|
1184
|
+
|
1185
|
+
# Magnetic stripe read
|
1186
|
+
MAGNETIC_STRIPE =
|
1187
|
+
T.let(
|
1188
|
+
:magnetic_stripe,
|
1189
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1190
|
+
)
|
1191
|
+
|
1192
|
+
# Contactless read of magnetic stripe data
|
1193
|
+
CONTACTLESS_MAGNETIC_STRIPE =
|
1194
|
+
T.let(
|
1195
|
+
:contactless_magnetic_stripe,
|
1196
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1197
|
+
)
|
1198
|
+
|
1199
|
+
# Contact chip card, without card verification value
|
1200
|
+
INTEGRATED_CIRCUIT_CARD_NO_CVV =
|
1201
|
+
T.let(
|
1202
|
+
:integrated_circuit_card_no_cvv,
|
1203
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1204
|
+
)
|
1205
|
+
|
1206
|
+
sig do
|
1207
|
+
override.returns(
|
1208
|
+
T::Array[
|
1209
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode::TaggedSymbol
|
1210
|
+
]
|
1211
|
+
)
|
1212
|
+
end
|
1213
|
+
def self.values
|
1214
|
+
end
|
1215
|
+
end
|
1216
|
+
|
1217
|
+
# Only present when `actioner: network`. Describes why a card authorization was
|
1218
|
+
# approved or declined by Visa through stand-in processing.
|
1219
|
+
module StandInProcessingReason
|
1220
|
+
extend Increase::Internal::Type::Enum
|
1221
|
+
|
1222
|
+
TaggedSymbol =
|
1223
|
+
T.type_alias do
|
1224
|
+
T.all(
|
1225
|
+
Symbol,
|
1226
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason
|
1227
|
+
)
|
1228
|
+
end
|
1229
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1230
|
+
|
1231
|
+
# Increase failed to process the authorization in a timely manner.
|
1232
|
+
ISSUER_ERROR =
|
1233
|
+
T.let(
|
1234
|
+
:issuer_error,
|
1235
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1236
|
+
)
|
1237
|
+
|
1238
|
+
# The physical card read had an invalid CVV, dCVV, or authorization request cryptogram.
|
1239
|
+
INVALID_PHYSICAL_CARD =
|
1240
|
+
T.let(
|
1241
|
+
:invalid_physical_card,
|
1242
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1243
|
+
)
|
1244
|
+
|
1245
|
+
# The 3DS cardholder authentication verification value was invalid.
|
1246
|
+
INVALID_CARDHOLDER_AUTHENTICATION_VERIFICATION_VALUE =
|
1247
|
+
T.let(
|
1248
|
+
:invalid_cardholder_authentication_verification_value,
|
1249
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1250
|
+
)
|
1251
|
+
|
1252
|
+
# An internal Visa error occurred. Visa uses this reason code for certain expected occurrences as well, such as Application Transaction Counter (ATC) replays.
|
1253
|
+
INTERNAL_VISA_ERROR =
|
1254
|
+
T.let(
|
1255
|
+
:internal_visa_error,
|
1256
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1257
|
+
)
|
1258
|
+
|
1259
|
+
# 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.
|
1260
|
+
MERCHANT_TRANSACTION_ADVISORY_SERVICE_AUTHENTICATION_REQUIRED =
|
1261
|
+
T.let(
|
1262
|
+
:merchant_transaction_advisory_service_authentication_required,
|
1263
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1264
|
+
)
|
1265
|
+
|
1266
|
+
# The transaction was blocked by Visa's Payment Fraud Disruption service due to fraudulent Acquirer behavior, such as card testing.
|
1267
|
+
PAYMENT_FRAUD_DISRUPTION_ACQUIRER_BLOCK =
|
1268
|
+
T.let(
|
1269
|
+
:payment_fraud_disruption_acquirer_block,
|
1270
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1271
|
+
)
|
1272
|
+
|
1273
|
+
# An unspecific reason for stand-in processing.
|
1274
|
+
OTHER =
|
1275
|
+
T.let(
|
1276
|
+
:other,
|
1277
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1278
|
+
)
|
1279
|
+
|
1280
|
+
sig do
|
1281
|
+
override.returns(
|
1282
|
+
T::Array[
|
1283
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason::TaggedSymbol
|
1284
|
+
]
|
1285
|
+
)
|
1286
|
+
end
|
1287
|
+
def self.values
|
1288
|
+
end
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
end
|
1292
|
+
|
1293
|
+
class NetworkIdentifiers < Increase::Internal::Type::BaseModel
|
1294
|
+
OrHash =
|
1295
|
+
T.type_alias do
|
1296
|
+
T.any(
|
1297
|
+
Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers,
|
1298
|
+
Increase::Internal::AnyHash
|
1299
|
+
)
|
1300
|
+
end
|
1301
|
+
|
1302
|
+
# A life-cycle identifier used across e.g., an authorization and a reversal.
|
1303
|
+
# Expected to be unique per acquirer within a window of time. For some card
|
1304
|
+
# networks the retrieval reference number includes the trace counter.
|
1305
|
+
sig { returns(T.nilable(String)) }
|
1306
|
+
attr_accessor :retrieval_reference_number
|
1307
|
+
|
1308
|
+
# A counter used to verify an individual authorization. Expected to be unique per
|
1309
|
+
# acquirer within a window of time.
|
1310
|
+
sig { returns(T.nilable(String)) }
|
1311
|
+
attr_accessor :trace_number
|
1312
|
+
|
1313
|
+
# A globally unique transaction identifier provided by the card network, used
|
1314
|
+
# across multiple life-cycle requests.
|
1315
|
+
sig { returns(T.nilable(String)) }
|
1316
|
+
attr_accessor :transaction_id
|
1317
|
+
|
1318
|
+
# Network-specific identifiers for a specific request or transaction.
|
1319
|
+
sig do
|
1320
|
+
params(
|
1321
|
+
retrieval_reference_number: T.nilable(String),
|
1322
|
+
trace_number: T.nilable(String),
|
1323
|
+
transaction_id: T.nilable(String)
|
1324
|
+
).returns(T.attached_class)
|
1325
|
+
end
|
1326
|
+
def self.new(
|
1327
|
+
# A life-cycle identifier used across e.g., an authorization and a reversal.
|
1328
|
+
# Expected to be unique per acquirer within a window of time. For some card
|
1329
|
+
# networks the retrieval reference number includes the trace counter.
|
1330
|
+
retrieval_reference_number:,
|
1331
|
+
# A counter used to verify an individual authorization. Expected to be unique per
|
1332
|
+
# acquirer within a window of time.
|
1333
|
+
trace_number:,
|
1334
|
+
# A globally unique transaction identifier provided by the card network, used
|
1335
|
+
# across multiple life-cycle requests.
|
1336
|
+
transaction_id:
|
1337
|
+
)
|
1338
|
+
end
|
1339
|
+
|
1340
|
+
sig do
|
1341
|
+
override.returns(
|
1342
|
+
{
|
1343
|
+
retrieval_reference_number: T.nilable(String),
|
1344
|
+
trace_number: T.nilable(String),
|
1345
|
+
transaction_id: T.nilable(String)
|
1346
|
+
}
|
1347
|
+
)
|
1348
|
+
end
|
1349
|
+
def to_hash
|
1350
|
+
end
|
1351
|
+
end
|
1352
|
+
|
1353
|
+
# The processing category describes the intent behind the authorization, such as
|
1354
|
+
# whether it was used for bill payments or an automatic fuel dispenser.
|
1355
|
+
module ProcessingCategory
|
1356
|
+
extend Increase::Internal::Type::Enum
|
1357
|
+
|
1358
|
+
TaggedSymbol =
|
1359
|
+
T.type_alias do
|
1360
|
+
T.all(
|
1361
|
+
Symbol,
|
1362
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory
|
1363
|
+
)
|
1364
|
+
end
|
1365
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1366
|
+
|
1367
|
+
# Account funding transactions are transactions used to e.g., fund an account or transfer funds between accounts.
|
1368
|
+
ACCOUNT_FUNDING =
|
1369
|
+
T.let(
|
1370
|
+
:account_funding,
|
1371
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1372
|
+
)
|
1373
|
+
|
1374
|
+
# 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.
|
1375
|
+
AUTOMATIC_FUEL_DISPENSER =
|
1376
|
+
T.let(
|
1377
|
+
:automatic_fuel_dispenser,
|
1378
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1379
|
+
)
|
1380
|
+
|
1381
|
+
# A transaction used to pay a bill.
|
1382
|
+
BILL_PAYMENT =
|
1383
|
+
T.let(
|
1384
|
+
:bill_payment,
|
1385
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1386
|
+
)
|
1387
|
+
|
1388
|
+
# Original credit transactions are used to send money to a cardholder.
|
1389
|
+
ORIGINAL_CREDIT =
|
1390
|
+
T.let(
|
1391
|
+
:original_credit,
|
1392
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1393
|
+
)
|
1394
|
+
|
1395
|
+
# A regular purchase.
|
1396
|
+
PURCHASE =
|
1397
|
+
T.let(
|
1398
|
+
:purchase,
|
1399
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1400
|
+
)
|
1401
|
+
|
1402
|
+
# Quasi-cash transactions represent purchases of items which may be convertible to cash.
|
1403
|
+
QUASI_CASH =
|
1404
|
+
T.let(
|
1405
|
+
:quasi_cash,
|
1406
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1407
|
+
)
|
1408
|
+
|
1409
|
+
# A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder.
|
1410
|
+
REFUND =
|
1411
|
+
T.let(
|
1412
|
+
:refund,
|
1413
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1414
|
+
)
|
1415
|
+
|
1416
|
+
sig do
|
1417
|
+
override.returns(
|
1418
|
+
T::Array[
|
1419
|
+
Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol
|
1420
|
+
]
|
1421
|
+
)
|
1422
|
+
end
|
1423
|
+
def self.values
|
1424
|
+
end
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
class RequestDetails < Increase::Internal::Type::BaseModel
|
1428
|
+
OrHash =
|
1429
|
+
T.type_alias do
|
1430
|
+
T.any(
|
1431
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails,
|
1432
|
+
Increase::Internal::AnyHash
|
1433
|
+
)
|
1434
|
+
end
|
1435
|
+
|
1436
|
+
# The type of this request (e.g., an initial authorization or an incremental
|
1437
|
+
# authorization).
|
1438
|
+
sig do
|
1439
|
+
returns(
|
1440
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category::TaggedSymbol
|
1441
|
+
)
|
1442
|
+
end
|
1443
|
+
attr_accessor :category
|
1444
|
+
|
1445
|
+
# Fields specific to the category `incremental_authorization`.
|
1446
|
+
sig do
|
1447
|
+
returns(
|
1448
|
+
T.nilable(
|
1449
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization
|
1450
|
+
)
|
1451
|
+
)
|
1452
|
+
end
|
1453
|
+
attr_reader :incremental_authorization
|
1454
|
+
|
1455
|
+
sig do
|
1456
|
+
params(
|
1457
|
+
incremental_authorization:
|
1458
|
+
T.nilable(
|
1459
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization::OrHash
|
1460
|
+
)
|
1461
|
+
).void
|
1462
|
+
end
|
1463
|
+
attr_writer :incremental_authorization
|
1464
|
+
|
1465
|
+
# Fields specific to the category `initial_authorization`.
|
1466
|
+
sig { returns(T.nilable(T.anything)) }
|
1467
|
+
attr_accessor :initial_authorization
|
1468
|
+
|
1469
|
+
# Fields specific to the type of request, such as an incremental authorization.
|
1470
|
+
sig do
|
1471
|
+
params(
|
1472
|
+
category:
|
1473
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category::OrSymbol,
|
1474
|
+
incremental_authorization:
|
1475
|
+
T.nilable(
|
1476
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization::OrHash
|
1477
|
+
),
|
1478
|
+
initial_authorization: T.nilable(T.anything)
|
1479
|
+
).returns(T.attached_class)
|
1480
|
+
end
|
1481
|
+
def self.new(
|
1482
|
+
# The type of this request (e.g., an initial authorization or an incremental
|
1483
|
+
# authorization).
|
1484
|
+
category:,
|
1485
|
+
# Fields specific to the category `incremental_authorization`.
|
1486
|
+
incremental_authorization:,
|
1487
|
+
# Fields specific to the category `initial_authorization`.
|
1488
|
+
initial_authorization:
|
1489
|
+
)
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
sig do
|
1493
|
+
override.returns(
|
1494
|
+
{
|
1495
|
+
category:
|
1496
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category::TaggedSymbol,
|
1497
|
+
incremental_authorization:
|
1498
|
+
T.nilable(
|
1499
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization
|
1500
|
+
),
|
1501
|
+
initial_authorization: T.nilable(T.anything)
|
1502
|
+
}
|
1503
|
+
)
|
1504
|
+
end
|
1505
|
+
def to_hash
|
1506
|
+
end
|
1507
|
+
|
1508
|
+
# The type of this request (e.g., an initial authorization or an incremental
|
1509
|
+
# authorization).
|
1510
|
+
module Category
|
1511
|
+
extend Increase::Internal::Type::Enum
|
1512
|
+
|
1513
|
+
TaggedSymbol =
|
1514
|
+
T.type_alias do
|
1515
|
+
T.all(
|
1516
|
+
Symbol,
|
1517
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category
|
1518
|
+
)
|
1519
|
+
end
|
1520
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1521
|
+
|
1522
|
+
# A regular, standalone authorization.
|
1523
|
+
INITIAL_AUTHORIZATION =
|
1524
|
+
T.let(
|
1525
|
+
:initial_authorization,
|
1526
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category::TaggedSymbol
|
1527
|
+
)
|
1528
|
+
|
1529
|
+
# An incremental request to increase the amount of an existing authorization.
|
1530
|
+
INCREMENTAL_AUTHORIZATION =
|
1531
|
+
T.let(
|
1532
|
+
:incremental_authorization,
|
1533
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category::TaggedSymbol
|
1534
|
+
)
|
1535
|
+
|
1536
|
+
sig do
|
1537
|
+
override.returns(
|
1538
|
+
T::Array[
|
1539
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category::TaggedSymbol
|
1540
|
+
]
|
1541
|
+
)
|
1542
|
+
end
|
1543
|
+
def self.values
|
1544
|
+
end
|
1545
|
+
end
|
1546
|
+
|
1547
|
+
class IncrementalAuthorization < Increase::Internal::Type::BaseModel
|
1548
|
+
OrHash =
|
1549
|
+
T.type_alias do
|
1550
|
+
T.any(
|
1551
|
+
Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization,
|
1552
|
+
Increase::Internal::AnyHash
|
1553
|
+
)
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
# The card payment for this authorization and increment.
|
1557
|
+
sig { returns(String) }
|
1558
|
+
attr_accessor :card_payment_id
|
1559
|
+
|
1560
|
+
# The identifier of the card authorization this request is attempting to
|
1561
|
+
# increment.
|
1562
|
+
sig { returns(String) }
|
1563
|
+
attr_accessor :original_card_authorization_id
|
1564
|
+
|
1565
|
+
# Fields specific to the category `incremental_authorization`.
|
1566
|
+
sig do
|
1567
|
+
params(
|
1568
|
+
card_payment_id: String,
|
1569
|
+
original_card_authorization_id: String
|
1570
|
+
).returns(T.attached_class)
|
1571
|
+
end
|
1572
|
+
def self.new(
|
1573
|
+
# The card payment for this authorization and increment.
|
1574
|
+
card_payment_id:,
|
1575
|
+
# The identifier of the card authorization this request is attempting to
|
1576
|
+
# increment.
|
1577
|
+
original_card_authorization_id:
|
1578
|
+
)
|
1579
|
+
end
|
1580
|
+
|
1581
|
+
sig do
|
1582
|
+
override.returns(
|
1583
|
+
{
|
1584
|
+
card_payment_id: String,
|
1585
|
+
original_card_authorization_id: String
|
1586
|
+
}
|
1587
|
+
)
|
1588
|
+
end
|
1589
|
+
def to_hash
|
1590
|
+
end
|
1591
|
+
end
|
1592
|
+
end
|
1593
|
+
|
1594
|
+
class Verification < Increase::Internal::Type::BaseModel
|
1595
|
+
OrHash =
|
1596
|
+
T.type_alias do
|
1597
|
+
T.any(
|
1598
|
+
Increase::RealTimeDecision::CardAuthorization::Verification,
|
1599
|
+
Increase::Internal::AnyHash
|
1600
|
+
)
|
1601
|
+
end
|
1602
|
+
|
1603
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
1604
|
+
# the back of the card.
|
1605
|
+
sig do
|
1606
|
+
returns(
|
1607
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode
|
1608
|
+
)
|
1609
|
+
end
|
1610
|
+
attr_reader :card_verification_code
|
1611
|
+
|
1612
|
+
sig do
|
1613
|
+
params(
|
1614
|
+
card_verification_code:
|
1615
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::OrHash
|
1616
|
+
).void
|
1617
|
+
end
|
1618
|
+
attr_writer :card_verification_code
|
1619
|
+
|
1620
|
+
# Cardholder address provided in the authorization request and the address on file
|
1621
|
+
# we verified it against.
|
1622
|
+
sig do
|
1623
|
+
returns(
|
1624
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress
|
1625
|
+
)
|
1626
|
+
end
|
1627
|
+
attr_reader :cardholder_address
|
1628
|
+
|
1629
|
+
sig do
|
1630
|
+
params(
|
1631
|
+
cardholder_address:
|
1632
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::OrHash
|
1633
|
+
).void
|
1634
|
+
end
|
1635
|
+
attr_writer :cardholder_address
|
1636
|
+
|
1637
|
+
# Fields related to verification of cardholder-provided values.
|
1638
|
+
sig do
|
1639
|
+
params(
|
1640
|
+
card_verification_code:
|
1641
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::OrHash,
|
1642
|
+
cardholder_address:
|
1643
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::OrHash
|
1644
|
+
).returns(T.attached_class)
|
1645
|
+
end
|
1646
|
+
def self.new(
|
1647
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
1648
|
+
# the back of the card.
|
1649
|
+
card_verification_code:,
|
1650
|
+
# Cardholder address provided in the authorization request and the address on file
|
1651
|
+
# we verified it against.
|
1652
|
+
cardholder_address:
|
1653
|
+
)
|
1654
|
+
end
|
1655
|
+
|
1656
|
+
sig do
|
1657
|
+
override.returns(
|
1658
|
+
{
|
1659
|
+
card_verification_code:
|
1660
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode,
|
1661
|
+
cardholder_address:
|
1662
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress
|
1663
|
+
}
|
1664
|
+
)
|
1665
|
+
end
|
1666
|
+
def to_hash
|
1667
|
+
end
|
1668
|
+
|
1669
|
+
class CardVerificationCode < Increase::Internal::Type::BaseModel
|
1670
|
+
OrHash =
|
1671
|
+
T.type_alias do
|
1672
|
+
T.any(
|
1673
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode,
|
1674
|
+
Increase::Internal::AnyHash
|
1675
|
+
)
|
1676
|
+
end
|
1677
|
+
|
1678
|
+
# The result of verifying the Card Verification Code.
|
1679
|
+
sig do
|
1680
|
+
returns(
|
1681
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
1682
|
+
)
|
1683
|
+
end
|
1684
|
+
attr_accessor :result
|
1685
|
+
|
1686
|
+
# Fields related to verification of the Card Verification Code, a 3-digit code on
|
1687
|
+
# the back of the card.
|
1688
|
+
sig do
|
1689
|
+
params(
|
1690
|
+
result:
|
1691
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result::OrSymbol
|
1692
|
+
).returns(T.attached_class)
|
1693
|
+
end
|
1694
|
+
def self.new(
|
1695
|
+
# The result of verifying the Card Verification Code.
|
1696
|
+
result:
|
1697
|
+
)
|
1698
|
+
end
|
1699
|
+
|
1700
|
+
sig do
|
1701
|
+
override.returns(
|
1702
|
+
{
|
1703
|
+
result:
|
1704
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
1705
|
+
}
|
1706
|
+
)
|
1707
|
+
end
|
1708
|
+
def to_hash
|
1709
|
+
end
|
1710
|
+
|
1711
|
+
# The result of verifying the Card Verification Code.
|
1712
|
+
module Result
|
1713
|
+
extend Increase::Internal::Type::Enum
|
1714
|
+
|
1715
|
+
TaggedSymbol =
|
1716
|
+
T.type_alias do
|
1717
|
+
T.all(
|
1718
|
+
Symbol,
|
1719
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result
|
1720
|
+
)
|
1721
|
+
end
|
1722
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1723
|
+
|
1724
|
+
# No card verification code was provided in the authorization request.
|
1725
|
+
NOT_CHECKED =
|
1726
|
+
T.let(
|
1727
|
+
:not_checked,
|
1728
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
1729
|
+
)
|
1730
|
+
|
1731
|
+
# The card verification code matched the one on file.
|
1732
|
+
MATCH =
|
1733
|
+
T.let(
|
1734
|
+
:match,
|
1735
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
1736
|
+
)
|
1737
|
+
|
1738
|
+
# The card verification code did not match the one on file.
|
1739
|
+
NO_MATCH =
|
1740
|
+
T.let(
|
1741
|
+
:no_match,
|
1742
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
1743
|
+
)
|
1744
|
+
|
1745
|
+
sig do
|
1746
|
+
override.returns(
|
1747
|
+
T::Array[
|
1748
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result::TaggedSymbol
|
1749
|
+
]
|
1750
|
+
)
|
1751
|
+
end
|
1752
|
+
def self.values
|
1753
|
+
end
|
1754
|
+
end
|
1755
|
+
end
|
1756
|
+
|
1757
|
+
class CardholderAddress < Increase::Internal::Type::BaseModel
|
1758
|
+
OrHash =
|
1759
|
+
T.type_alias do
|
1760
|
+
T.any(
|
1761
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress,
|
1762
|
+
Increase::Internal::AnyHash
|
1763
|
+
)
|
1764
|
+
end
|
1765
|
+
|
1766
|
+
# Line 1 of the address on file for the cardholder.
|
1767
|
+
sig { returns(T.nilable(String)) }
|
1768
|
+
attr_accessor :actual_line1
|
1769
|
+
|
1770
|
+
# The postal code of the address on file for the cardholder.
|
1771
|
+
sig { returns(T.nilable(String)) }
|
1772
|
+
attr_accessor :actual_postal_code
|
1773
|
+
|
1774
|
+
# The cardholder address line 1 provided for verification in the authorization
|
1775
|
+
# request.
|
1776
|
+
sig { returns(T.nilable(String)) }
|
1777
|
+
attr_accessor :provided_line1
|
1778
|
+
|
1779
|
+
# The postal code provided for verification in the authorization request.
|
1780
|
+
sig { returns(T.nilable(String)) }
|
1781
|
+
attr_accessor :provided_postal_code
|
1782
|
+
|
1783
|
+
# The address verification result returned to the card network.
|
1784
|
+
sig do
|
1785
|
+
returns(
|
1786
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1787
|
+
)
|
1788
|
+
end
|
1789
|
+
attr_accessor :result
|
1790
|
+
|
1791
|
+
# Cardholder address provided in the authorization request and the address on file
|
1792
|
+
# we verified it against.
|
1793
|
+
sig do
|
1794
|
+
params(
|
1795
|
+
actual_line1: T.nilable(String),
|
1796
|
+
actual_postal_code: T.nilable(String),
|
1797
|
+
provided_line1: T.nilable(String),
|
1798
|
+
provided_postal_code: T.nilable(String),
|
1799
|
+
result:
|
1800
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::OrSymbol
|
1801
|
+
).returns(T.attached_class)
|
1802
|
+
end
|
1803
|
+
def self.new(
|
1804
|
+
# Line 1 of the address on file for the cardholder.
|
1805
|
+
actual_line1:,
|
1806
|
+
# The postal code of the address on file for the cardholder.
|
1807
|
+
actual_postal_code:,
|
1808
|
+
# The cardholder address line 1 provided for verification in the authorization
|
1809
|
+
# request.
|
1810
|
+
provided_line1:,
|
1811
|
+
# The postal code provided for verification in the authorization request.
|
1812
|
+
provided_postal_code:,
|
1813
|
+
# The address verification result returned to the card network.
|
1814
|
+
result:
|
1815
|
+
)
|
1816
|
+
end
|
1817
|
+
|
1818
|
+
sig do
|
1819
|
+
override.returns(
|
1820
|
+
{
|
1821
|
+
actual_line1: T.nilable(String),
|
1822
|
+
actual_postal_code: T.nilable(String),
|
1823
|
+
provided_line1: T.nilable(String),
|
1824
|
+
provided_postal_code: T.nilable(String),
|
1825
|
+
result:
|
1826
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1827
|
+
}
|
1828
|
+
)
|
1829
|
+
end
|
1830
|
+
def to_hash
|
1831
|
+
end
|
1832
|
+
|
1833
|
+
# The address verification result returned to the card network.
|
1834
|
+
module Result
|
1835
|
+
extend Increase::Internal::Type::Enum
|
1836
|
+
|
1837
|
+
TaggedSymbol =
|
1838
|
+
T.type_alias do
|
1839
|
+
T.all(
|
1840
|
+
Symbol,
|
1841
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result
|
1842
|
+
)
|
1843
|
+
end
|
1844
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1845
|
+
|
1846
|
+
# No address was provided in the authorization request.
|
1847
|
+
NOT_CHECKED =
|
1848
|
+
T.let(
|
1849
|
+
:not_checked,
|
1850
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1851
|
+
)
|
1852
|
+
|
1853
|
+
# Postal code matches, but the street address was not verified.
|
1854
|
+
POSTAL_CODE_MATCH_ADDRESS_NOT_CHECKED =
|
1855
|
+
T.let(
|
1856
|
+
:postal_code_match_address_not_checked,
|
1857
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1858
|
+
)
|
1859
|
+
|
1860
|
+
# Postal code matches, but the street address does not match.
|
1861
|
+
POSTAL_CODE_MATCH_ADDRESS_NO_MATCH =
|
1862
|
+
T.let(
|
1863
|
+
:postal_code_match_address_no_match,
|
1864
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1865
|
+
)
|
1866
|
+
|
1867
|
+
# Postal code does not match, but the street address matches.
|
1868
|
+
POSTAL_CODE_NO_MATCH_ADDRESS_MATCH =
|
1869
|
+
T.let(
|
1870
|
+
:postal_code_no_match_address_match,
|
1871
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1872
|
+
)
|
1873
|
+
|
1874
|
+
# Postal code and street address match.
|
1875
|
+
MATCH =
|
1876
|
+
T.let(
|
1877
|
+
:match,
|
1878
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1879
|
+
)
|
1880
|
+
|
1881
|
+
# Postal code and street address do not match.
|
1882
|
+
NO_MATCH =
|
1883
|
+
T.let(
|
1884
|
+
:no_match,
|
1885
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1886
|
+
)
|
1887
|
+
|
1888
|
+
sig do
|
1889
|
+
override.returns(
|
1890
|
+
T::Array[
|
1891
|
+
Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result::TaggedSymbol
|
1892
|
+
]
|
1893
|
+
)
|
1894
|
+
end
|
1895
|
+
def self.values
|
1896
|
+
end
|
1897
|
+
end
|
1898
|
+
end
|
1899
|
+
end
|
1900
|
+
end
|
1901
|
+
|
1902
|
+
# The category of the Real-Time Decision.
|
1903
|
+
module Category
|
1904
|
+
extend Increase::Internal::Type::Enum
|
1905
|
+
|
1906
|
+
TaggedSymbol =
|
1907
|
+
T.type_alias { T.all(Symbol, Increase::RealTimeDecision::Category) }
|
1908
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
1909
|
+
|
1910
|
+
# A card is being authorized.
|
1911
|
+
CARD_AUTHORIZATION_REQUESTED =
|
1912
|
+
T.let(
|
1913
|
+
:card_authorization_requested,
|
1914
|
+
Increase::RealTimeDecision::Category::TaggedSymbol
|
1915
|
+
)
|
1916
|
+
|
1917
|
+
# 3DS authentication is requested.
|
1918
|
+
CARD_AUTHENTICATION_REQUESTED =
|
1919
|
+
T.let(
|
1920
|
+
:card_authentication_requested,
|
1921
|
+
Increase::RealTimeDecision::Category::TaggedSymbol
|
1922
|
+
)
|
1923
|
+
|
1924
|
+
# 3DS authentication challenge requires cardholder involvement.
|
1925
|
+
CARD_AUTHENTICATION_CHALLENGE_REQUESTED =
|
1926
|
+
T.let(
|
1927
|
+
:card_authentication_challenge_requested,
|
1928
|
+
Increase::RealTimeDecision::Category::TaggedSymbol
|
1929
|
+
)
|
1930
|
+
|
1931
|
+
# A card is being loaded into a digital wallet.
|
1932
|
+
DIGITAL_WALLET_TOKEN_REQUESTED =
|
1933
|
+
T.let(
|
1934
|
+
:digital_wallet_token_requested,
|
1935
|
+
Increase::RealTimeDecision::Category::TaggedSymbol
|
1936
|
+
)
|
1937
|
+
|
1938
|
+
# A card is being loaded into a digital wallet and requires cardholder authentication.
|
1939
|
+
DIGITAL_WALLET_AUTHENTICATION_REQUESTED =
|
1940
|
+
T.let(
|
1941
|
+
:digital_wallet_authentication_requested,
|
1942
|
+
Increase::RealTimeDecision::Category::TaggedSymbol
|
1943
|
+
)
|
1944
|
+
|
1945
|
+
sig do
|
1946
|
+
override.returns(
|
1947
|
+
T::Array[Increase::RealTimeDecision::Category::TaggedSymbol]
|
1948
|
+
)
|
1949
|
+
end
|
1950
|
+
def self.values
|
1951
|
+
end
|
1952
|
+
end
|
1953
|
+
|
1954
|
+
class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel
|
1955
|
+
OrHash =
|
1956
|
+
T.type_alias do
|
1957
|
+
T.any(
|
1958
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication,
|
1959
|
+
Increase::Internal::AnyHash
|
1960
|
+
)
|
1961
|
+
end
|
1962
|
+
|
1963
|
+
# The identifier of the Card that is being tokenized.
|
1964
|
+
sig { returns(String) }
|
1965
|
+
attr_accessor :card_id
|
1966
|
+
|
1967
|
+
# The channel to send the card user their one-time passcode.
|
1968
|
+
sig do
|
1969
|
+
returns(
|
1970
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Channel::TaggedSymbol
|
1971
|
+
)
|
1972
|
+
end
|
1973
|
+
attr_accessor :channel
|
1974
|
+
|
1975
|
+
# The digital wallet app being used.
|
1976
|
+
sig do
|
1977
|
+
returns(
|
1978
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
1979
|
+
)
|
1980
|
+
end
|
1981
|
+
attr_accessor :digital_wallet
|
1982
|
+
|
1983
|
+
# The email to send the one-time passcode to if `channel` is equal to `email`.
|
1984
|
+
sig { returns(T.nilable(String)) }
|
1985
|
+
attr_accessor :email
|
1986
|
+
|
1987
|
+
# The one-time passcode to send the card user.
|
1988
|
+
sig { returns(String) }
|
1989
|
+
attr_accessor :one_time_passcode
|
1990
|
+
|
1991
|
+
# The phone number to send the one-time passcode to if `channel` is equal to
|
1992
|
+
# `sms`.
|
1993
|
+
sig { returns(T.nilable(String)) }
|
1994
|
+
attr_accessor :phone
|
1995
|
+
|
1996
|
+
# Whether your application successfully delivered the one-time passcode.
|
1997
|
+
sig do
|
1998
|
+
returns(
|
1999
|
+
T.nilable(
|
2000
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Result::TaggedSymbol
|
2001
|
+
)
|
2002
|
+
)
|
2003
|
+
end
|
2004
|
+
attr_accessor :result
|
2005
|
+
|
2006
|
+
# Fields related to a digital wallet authentication attempt.
|
2007
|
+
sig do
|
2008
|
+
params(
|
2009
|
+
card_id: String,
|
2010
|
+
channel:
|
2011
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Channel::OrSymbol,
|
2012
|
+
digital_wallet:
|
2013
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::OrSymbol,
|
2014
|
+
email: T.nilable(String),
|
2015
|
+
one_time_passcode: String,
|
2016
|
+
phone: T.nilable(String),
|
2017
|
+
result:
|
2018
|
+
T.nilable(
|
2019
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Result::OrSymbol
|
2020
|
+
)
|
2021
|
+
).returns(T.attached_class)
|
2022
|
+
end
|
2023
|
+
def self.new(
|
2024
|
+
# The identifier of the Card that is being tokenized.
|
2025
|
+
card_id:,
|
2026
|
+
# The channel to send the card user their one-time passcode.
|
2027
|
+
channel:,
|
2028
|
+
# The digital wallet app being used.
|
2029
|
+
digital_wallet:,
|
2030
|
+
# The email to send the one-time passcode to if `channel` is equal to `email`.
|
2031
|
+
email:,
|
2032
|
+
# The one-time passcode to send the card user.
|
2033
|
+
one_time_passcode:,
|
2034
|
+
# The phone number to send the one-time passcode to if `channel` is equal to
|
2035
|
+
# `sms`.
|
2036
|
+
phone:,
|
2037
|
+
# Whether your application successfully delivered the one-time passcode.
|
2038
|
+
result:
|
2039
|
+
)
|
2040
|
+
end
|
2041
|
+
|
2042
|
+
sig do
|
2043
|
+
override.returns(
|
2044
|
+
{
|
2045
|
+
card_id: String,
|
2046
|
+
channel:
|
2047
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Channel::TaggedSymbol,
|
2048
|
+
digital_wallet:
|
2049
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol,
|
2050
|
+
email: T.nilable(String),
|
2051
|
+
one_time_passcode: String,
|
2052
|
+
phone: T.nilable(String),
|
2053
|
+
result:
|
2054
|
+
T.nilable(
|
2055
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Result::TaggedSymbol
|
2056
|
+
)
|
2057
|
+
}
|
2058
|
+
)
|
2059
|
+
end
|
2060
|
+
def to_hash
|
2061
|
+
end
|
2062
|
+
|
2063
|
+
# The channel to send the card user their one-time passcode.
|
2064
|
+
module Channel
|
2065
|
+
extend Increase::Internal::Type::Enum
|
2066
|
+
|
2067
|
+
TaggedSymbol =
|
2068
|
+
T.type_alias do
|
2069
|
+
T.all(
|
2070
|
+
Symbol,
|
2071
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Channel
|
2072
|
+
)
|
2073
|
+
end
|
2074
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2075
|
+
|
2076
|
+
# Send one-time passcodes over SMS.
|
2077
|
+
SMS =
|
2078
|
+
T.let(
|
2079
|
+
:sms,
|
2080
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Channel::TaggedSymbol
|
2081
|
+
)
|
2082
|
+
|
2083
|
+
# Send one-time passcodes over email.
|
2084
|
+
EMAIL =
|
2085
|
+
T.let(
|
2086
|
+
:email,
|
2087
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Channel::TaggedSymbol
|
2088
|
+
)
|
2089
|
+
|
2090
|
+
sig do
|
2091
|
+
override.returns(
|
2092
|
+
T::Array[
|
2093
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Channel::TaggedSymbol
|
2094
|
+
]
|
2095
|
+
)
|
2096
|
+
end
|
2097
|
+
def self.values
|
2098
|
+
end
|
2099
|
+
end
|
2100
|
+
|
2101
|
+
# The digital wallet app being used.
|
2102
|
+
module DigitalWallet
|
2103
|
+
extend Increase::Internal::Type::Enum
|
2104
|
+
|
2105
|
+
TaggedSymbol =
|
2106
|
+
T.type_alias do
|
2107
|
+
T.all(
|
2108
|
+
Symbol,
|
2109
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet
|
2110
|
+
)
|
2111
|
+
end
|
2112
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2113
|
+
|
2114
|
+
# Apple Pay
|
2115
|
+
APPLE_PAY =
|
2116
|
+
T.let(
|
2117
|
+
:apple_pay,
|
2118
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
2119
|
+
)
|
2120
|
+
|
2121
|
+
# Google Pay
|
2122
|
+
GOOGLE_PAY =
|
2123
|
+
T.let(
|
2124
|
+
:google_pay,
|
2125
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
2126
|
+
)
|
2127
|
+
|
2128
|
+
# Samsung Pay
|
2129
|
+
SAMSUNG_PAY =
|
2130
|
+
T.let(
|
2131
|
+
:samsung_pay,
|
2132
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
2133
|
+
)
|
2134
|
+
|
2135
|
+
# Unknown
|
2136
|
+
UNKNOWN =
|
2137
|
+
T.let(
|
2138
|
+
:unknown,
|
2139
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
2140
|
+
)
|
2141
|
+
|
2142
|
+
sig do
|
2143
|
+
override.returns(
|
2144
|
+
T::Array[
|
2145
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet::TaggedSymbol
|
2146
|
+
]
|
2147
|
+
)
|
2148
|
+
end
|
2149
|
+
def self.values
|
2150
|
+
end
|
2151
|
+
end
|
2152
|
+
|
2153
|
+
# Whether your application successfully delivered the one-time passcode.
|
2154
|
+
module Result
|
2155
|
+
extend Increase::Internal::Type::Enum
|
2156
|
+
|
2157
|
+
TaggedSymbol =
|
2158
|
+
T.type_alias do
|
2159
|
+
T.all(
|
2160
|
+
Symbol,
|
2161
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Result
|
2162
|
+
)
|
2163
|
+
end
|
2164
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2165
|
+
|
2166
|
+
# Your application successfully delivered the one-time passcode to the cardholder.
|
2167
|
+
SUCCESS =
|
2168
|
+
T.let(
|
2169
|
+
:success,
|
2170
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Result::TaggedSymbol
|
2171
|
+
)
|
2172
|
+
|
2173
|
+
# Your application failed to deliver the one-time passcode to the cardholder.
|
2174
|
+
FAILURE =
|
2175
|
+
T.let(
|
2176
|
+
:failure,
|
2177
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Result::TaggedSymbol
|
2178
|
+
)
|
2179
|
+
|
2180
|
+
sig do
|
2181
|
+
override.returns(
|
2182
|
+
T::Array[
|
2183
|
+
Increase::RealTimeDecision::DigitalWalletAuthentication::Result::TaggedSymbol
|
2184
|
+
]
|
2185
|
+
)
|
2186
|
+
end
|
2187
|
+
def self.values
|
2188
|
+
end
|
2189
|
+
end
|
2190
|
+
end
|
2191
|
+
|
2192
|
+
class DigitalWalletToken < Increase::Internal::Type::BaseModel
|
2193
|
+
OrHash =
|
2194
|
+
T.type_alias do
|
2195
|
+
T.any(
|
2196
|
+
Increase::RealTimeDecision::DigitalWalletToken,
|
2197
|
+
Increase::Internal::AnyHash
|
2198
|
+
)
|
2199
|
+
end
|
2200
|
+
|
2201
|
+
# The identifier of the Card that is being tokenized.
|
2202
|
+
sig { returns(String) }
|
2203
|
+
attr_accessor :card_id
|
2204
|
+
|
2205
|
+
# The identifier of the Card Profile that was set via the real time decision. This
|
2206
|
+
# will be null until the real time decision is responded to or if the real time
|
2207
|
+
# decision did not set a card profile.
|
2208
|
+
sig { returns(T.nilable(String)) }
|
2209
|
+
attr_accessor :card_profile_id
|
2210
|
+
|
2211
|
+
# Whether or not the provisioning request was approved. This will be null until
|
2212
|
+
# the real time decision is responded to.
|
2213
|
+
sig do
|
2214
|
+
returns(
|
2215
|
+
T.nilable(
|
2216
|
+
Increase::RealTimeDecision::DigitalWalletToken::Decision::TaggedSymbol
|
2217
|
+
)
|
2218
|
+
)
|
2219
|
+
end
|
2220
|
+
attr_accessor :decision
|
2221
|
+
|
2222
|
+
# Device that is being used to provision the digital wallet token.
|
2223
|
+
sig { returns(Increase::RealTimeDecision::DigitalWalletToken::Device) }
|
2224
|
+
attr_reader :device
|
2225
|
+
|
2226
|
+
sig do
|
2227
|
+
params(
|
2228
|
+
device:
|
2229
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::OrHash
|
2230
|
+
).void
|
2231
|
+
end
|
2232
|
+
attr_writer :device
|
2233
|
+
|
2234
|
+
# The digital wallet app being used.
|
2235
|
+
sig do
|
2236
|
+
returns(
|
2237
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
2238
|
+
)
|
2239
|
+
end
|
2240
|
+
attr_accessor :digital_wallet
|
2241
|
+
|
2242
|
+
# Fields related to a digital wallet token provisioning attempt.
|
2243
|
+
sig do
|
2244
|
+
params(
|
2245
|
+
card_id: String,
|
2246
|
+
card_profile_id: T.nilable(String),
|
2247
|
+
decision:
|
2248
|
+
T.nilable(
|
2249
|
+
Increase::RealTimeDecision::DigitalWalletToken::Decision::OrSymbol
|
2250
|
+
),
|
2251
|
+
device:
|
2252
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device::OrHash,
|
2253
|
+
digital_wallet:
|
2254
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::OrSymbol
|
2255
|
+
).returns(T.attached_class)
|
2256
|
+
end
|
2257
|
+
def self.new(
|
2258
|
+
# The identifier of the Card that is being tokenized.
|
2259
|
+
card_id:,
|
2260
|
+
# The identifier of the Card Profile that was set via the real time decision. This
|
2261
|
+
# will be null until the real time decision is responded to or if the real time
|
2262
|
+
# decision did not set a card profile.
|
2263
|
+
card_profile_id:,
|
2264
|
+
# Whether or not the provisioning request was approved. This will be null until
|
2265
|
+
# the real time decision is responded to.
|
2266
|
+
decision:,
|
2267
|
+
# Device that is being used to provision the digital wallet token.
|
2268
|
+
device:,
|
2269
|
+
# The digital wallet app being used.
|
2270
|
+
digital_wallet:
|
2271
|
+
)
|
2272
|
+
end
|
2273
|
+
|
2274
|
+
sig do
|
2275
|
+
override.returns(
|
2276
|
+
{
|
2277
|
+
card_id: String,
|
2278
|
+
card_profile_id: T.nilable(String),
|
2279
|
+
decision:
|
2280
|
+
T.nilable(
|
2281
|
+
Increase::RealTimeDecision::DigitalWalletToken::Decision::TaggedSymbol
|
2282
|
+
),
|
2283
|
+
device: Increase::RealTimeDecision::DigitalWalletToken::Device,
|
2284
|
+
digital_wallet:
|
2285
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
2286
|
+
}
|
2287
|
+
)
|
2288
|
+
end
|
2289
|
+
def to_hash
|
2290
|
+
end
|
2291
|
+
|
2292
|
+
# Whether or not the provisioning request was approved. This will be null until
|
2293
|
+
# the real time decision is responded to.
|
2294
|
+
module Decision
|
2295
|
+
extend Increase::Internal::Type::Enum
|
2296
|
+
|
2297
|
+
TaggedSymbol =
|
2298
|
+
T.type_alias do
|
2299
|
+
T.all(
|
2300
|
+
Symbol,
|
2301
|
+
Increase::RealTimeDecision::DigitalWalletToken::Decision
|
2302
|
+
)
|
2303
|
+
end
|
2304
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2305
|
+
|
2306
|
+
# Approve the provisioning request.
|
2307
|
+
APPROVE =
|
2308
|
+
T.let(
|
2309
|
+
:approve,
|
2310
|
+
Increase::RealTimeDecision::DigitalWalletToken::Decision::TaggedSymbol
|
2311
|
+
)
|
2312
|
+
|
2313
|
+
# Decline the provisioning request.
|
2314
|
+
DECLINE =
|
2315
|
+
T.let(
|
2316
|
+
:decline,
|
2317
|
+
Increase::RealTimeDecision::DigitalWalletToken::Decision::TaggedSymbol
|
2318
|
+
)
|
2319
|
+
|
2320
|
+
sig do
|
2321
|
+
override.returns(
|
2322
|
+
T::Array[
|
2323
|
+
Increase::RealTimeDecision::DigitalWalletToken::Decision::TaggedSymbol
|
2324
|
+
]
|
2325
|
+
)
|
2326
|
+
end
|
2327
|
+
def self.values
|
2328
|
+
end
|
2329
|
+
end
|
2330
|
+
|
2331
|
+
class Device < Increase::Internal::Type::BaseModel
|
2332
|
+
OrHash =
|
2333
|
+
T.type_alias do
|
2334
|
+
T.any(
|
2335
|
+
Increase::RealTimeDecision::DigitalWalletToken::Device,
|
2336
|
+
Increase::Internal::AnyHash
|
2337
|
+
)
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
# ID assigned to the device by the digital wallet provider.
|
2341
|
+
sig { returns(T.nilable(String)) }
|
2342
|
+
attr_accessor :identifier
|
2343
|
+
|
2344
|
+
# Device that is being used to provision the digital wallet token.
|
2345
|
+
sig do
|
2346
|
+
params(identifier: T.nilable(String)).returns(T.attached_class)
|
2347
|
+
end
|
2348
|
+
def self.new(
|
2349
|
+
# ID assigned to the device by the digital wallet provider.
|
2350
|
+
identifier:
|
2351
|
+
)
|
2352
|
+
end
|
2353
|
+
|
2354
|
+
sig { override.returns({ identifier: T.nilable(String) }) }
|
2355
|
+
def to_hash
|
2356
|
+
end
|
2357
|
+
end
|
2358
|
+
|
2359
|
+
# The digital wallet app being used.
|
2360
|
+
module DigitalWallet
|
2361
|
+
extend Increase::Internal::Type::Enum
|
2362
|
+
|
2363
|
+
TaggedSymbol =
|
2364
|
+
T.type_alias do
|
2365
|
+
T.all(
|
2366
|
+
Symbol,
|
2367
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet
|
2368
|
+
)
|
2369
|
+
end
|
2370
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2371
|
+
|
2372
|
+
# Apple Pay
|
2373
|
+
APPLE_PAY =
|
2374
|
+
T.let(
|
2375
|
+
:apple_pay,
|
2376
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
2377
|
+
)
|
2378
|
+
|
2379
|
+
# Google Pay
|
2380
|
+
GOOGLE_PAY =
|
2381
|
+
T.let(
|
2382
|
+
:google_pay,
|
2383
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
2384
|
+
)
|
2385
|
+
|
2386
|
+
# Samsung Pay
|
2387
|
+
SAMSUNG_PAY =
|
2388
|
+
T.let(
|
2389
|
+
:samsung_pay,
|
2390
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
2391
|
+
)
|
2392
|
+
|
2393
|
+
# Unknown
|
2394
|
+
UNKNOWN =
|
2395
|
+
T.let(
|
2396
|
+
:unknown,
|
2397
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
2398
|
+
)
|
2399
|
+
|
2400
|
+
sig do
|
2401
|
+
override.returns(
|
2402
|
+
T::Array[
|
2403
|
+
Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet::TaggedSymbol
|
2404
|
+
]
|
2405
|
+
)
|
2406
|
+
end
|
2407
|
+
def self.values
|
2408
|
+
end
|
2409
|
+
end
|
2410
|
+
end
|
2411
|
+
|
2412
|
+
# The status of the Real-Time Decision.
|
2413
|
+
module Status
|
2414
|
+
extend Increase::Internal::Type::Enum
|
2415
|
+
|
2416
|
+
TaggedSymbol =
|
2417
|
+
T.type_alias { T.all(Symbol, Increase::RealTimeDecision::Status) }
|
2418
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2419
|
+
|
2420
|
+
# The decision is pending action via real-time webhook.
|
2421
|
+
PENDING =
|
2422
|
+
T.let(:pending, Increase::RealTimeDecision::Status::TaggedSymbol)
|
2423
|
+
|
2424
|
+
# Your webhook actioned the real-time decision.
|
2425
|
+
RESPONDED =
|
2426
|
+
T.let(:responded, Increase::RealTimeDecision::Status::TaggedSymbol)
|
2427
|
+
|
2428
|
+
# Your webhook failed to respond to the authorization in time.
|
2429
|
+
TIMED_OUT =
|
2430
|
+
T.let(:timed_out, Increase::RealTimeDecision::Status::TaggedSymbol)
|
2431
|
+
|
2432
|
+
sig do
|
2433
|
+
override.returns(
|
2434
|
+
T::Array[Increase::RealTimeDecision::Status::TaggedSymbol]
|
2435
|
+
)
|
2436
|
+
end
|
2437
|
+
def self.values
|
2438
|
+
end
|
2439
|
+
end
|
2440
|
+
|
2441
|
+
# A constant representing the object's type. For this resource it will always be
|
2442
|
+
# `real_time_decision`.
|
2443
|
+
module Type
|
2444
|
+
extend Increase::Internal::Type::Enum
|
2445
|
+
|
2446
|
+
TaggedSymbol =
|
2447
|
+
T.type_alias { T.all(Symbol, Increase::RealTimeDecision::Type) }
|
2448
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
2449
|
+
|
2450
|
+
REAL_TIME_DECISION =
|
2451
|
+
T.let(
|
2452
|
+
:real_time_decision,
|
2453
|
+
Increase::RealTimeDecision::Type::TaggedSymbol
|
2454
|
+
)
|
2455
|
+
|
2456
|
+
sig do
|
2457
|
+
override.returns(
|
2458
|
+
T::Array[Increase::RealTimeDecision::Type::TaggedSymbol]
|
2459
|
+
)
|
2460
|
+
end
|
2461
|
+
def self.values
|
2462
|
+
end
|
2463
|
+
end
|
2464
|
+
end
|
2465
|
+
end
|
2466
|
+
end
|