increase 1.340.0 → 1.342.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/README.md +1 -1
- data/lib/increase/client.rb +8 -6
- data/lib/increase/internal/type/converter.rb +13 -12
- data/lib/increase/models/account.rb +40 -19
- data/lib/increase/models/account_create_params.rb +14 -11
- data/lib/increase/models/account_list_params.rb +25 -17
- data/lib/increase/models/account_number.rb +22 -14
- data/lib/increase/models/account_number_create_params.rb +12 -13
- data/lib/increase/models/account_number_list_params.rb +26 -20
- data/lib/increase/models/account_number_update_params.rb +12 -11
- data/lib/increase/models/account_statement.rb +15 -11
- data/lib/increase/models/account_statement_list_params.rb +15 -12
- data/lib/increase/models/account_transfer.rb +58 -29
- data/lib/increase/models/account_transfer_create_params.rb +12 -7
- data/lib/increase/models/account_transfer_list_params.rb +20 -12
- data/lib/increase/models/ach_prenotification.rb +49 -28
- data/lib/increase/models/ach_prenotification_create_params.rb +15 -8
- data/lib/increase/models/ach_prenotification_list_params.rb +20 -12
- data/lib/increase/models/ach_transfer.rb +220 -105
- data/lib/increase/models/ach_transfer_create_params.rb +110 -61
- data/lib/increase/models/ach_transfer_list_params.rb +23 -16
- data/lib/increase/models/balance_lookup.rb +14 -11
- data/lib/increase/models/beneficial_owner_create_params.rb +60 -46
- data/lib/increase/models/beneficial_owner_list_params.rb +11 -6
- data/lib/increase/models/beneficial_owner_update_params.rb +56 -40
- data/lib/increase/models/card.rb +69 -47
- data/lib/increase/models/card_create_details_iframe_params.rb +3 -4
- data/lib/increase/models/card_create_params.rb +65 -56
- data/lib/increase/models/card_details.rb +7 -5
- data/lib/increase/models/card_dispute.rb +530 -306
- data/lib/increase/models/card_dispute_create_params.rb +271 -175
- data/lib/increase/models/card_dispute_list_params.rb +24 -16
- data/lib/increase/models/card_dispute_submit_user_submission_params.rb +288 -191
- data/lib/increase/models/card_iframe_url.rb +3 -4
- data/lib/increase/models/card_list_params.rb +23 -16
- data/lib/increase/models/card_payment.rb +1941 -1200
- data/lib/increase/models/card_payment_list_params.rb +15 -11
- data/lib/increase/models/card_purchase_supplement.rb +37 -25
- data/lib/increase/models/card_purchase_supplement_list_params.rb +18 -13
- data/lib/increase/models/card_push_transfer.rb +121 -65
- data/lib/increase/models/card_push_transfer_create_params.rb +55 -25
- data/lib/increase/models/card_push_transfer_list_params.rb +23 -16
- data/lib/increase/models/card_token.rb +9 -6
- data/lib/increase/models/card_token_capabilities.rb +11 -8
- data/lib/increase/models/card_token_list_params.rb +15 -11
- data/lib/increase/models/card_update_params.rb +65 -57
- data/lib/increase/models/card_validation.rb +76 -43
- data/lib/increase/models/card_validation_create_params.rb +11 -7
- data/lib/increase/models/card_validation_list_params.rb +23 -16
- data/lib/increase/models/check_deposit.rb +103 -52
- data/lib/increase/models/check_deposit_create_params.rb +2 -4
- data/lib/increase/models/check_deposit_list_params.rb +20 -12
- data/lib/increase/models/check_transfer.rb +127 -76
- data/lib/increase/models/check_transfer_create_params.rb +91 -51
- data/lib/increase/models/check_transfer_list_params.rb +24 -16
- data/lib/increase/models/check_transfer_stop_payment_params.rb +2 -1
- data/lib/increase/models/declined_transaction.rb +339 -206
- data/lib/increase/models/declined_transaction_list_params.rb +18 -15
- data/lib/increase/models/digital_card_profile.rb +16 -9
- data/lib/increase/models/digital_card_profile_clone_params.rb +2 -1
- data/lib/increase/models/digital_card_profile_create_params.rb +2 -1
- data/lib/increase/models/digital_card_profile_list_params.rb +12 -9
- data/lib/increase/models/digital_wallet_token.rb +26 -17
- data/lib/increase/models/digital_wallet_token_list_params.rb +15 -11
- data/lib/increase/models/entity.rb +175 -135
- data/lib/increase/models/entity_archive_params.rb +3 -4
- data/lib/increase/models/entity_beneficial_owner.rb +24 -19
- data/lib/increase/models/entity_create_params.rb +395 -290
- data/lib/increase/models/entity_list_params.rb +67 -16
- data/lib/increase/models/entity_onboarding_session.rb +25 -11
- data/lib/increase/models/entity_onboarding_session_create_params.rb +8 -5
- data/lib/increase/models/entity_onboarding_session_list_params.rb +12 -9
- data/lib/increase/models/entity_supplemental_document.rb +10 -6
- data/lib/increase/models/entity_update_params.rb +136 -104
- data/lib/increase/models/event.rb +14 -5
- data/lib/increase/models/event_list_params.rb +31 -17
- data/lib/increase/models/event_subscription.rb +25 -9
- data/lib/increase/models/event_subscription_create_params.rb +22 -8
- data/lib/increase/models/event_subscription_list_params.rb +8 -5
- data/lib/increase/models/event_subscription_update_params.rb +2 -1
- data/lib/increase/models/export.rb +69 -30
- data/lib/increase/models/export_create_params.rb +76 -46
- data/lib/increase/models/export_list_params.rb +26 -17
- data/lib/increase/models/external_account.rb +14 -8
- data/lib/increase/models/external_account_create_params.rb +7 -6
- data/lib/increase/models/external_account_list_params.rb +12 -9
- data/lib/increase/models/external_account_update_params.rb +6 -3
- data/lib/increase/models/fednow_transfer.rb +62 -32
- data/lib/increase/models/fednow_transfer_create_params.rb +11 -8
- data/lib/increase/models/fednow_transfer_list_params.rb +25 -17
- data/lib/increase/models/file.rb +13 -7
- data/lib/increase/models/file_create_params.rb +6 -5
- data/lib/increase/models/file_link.rb +17 -8
- data/lib/increase/models/file_link_create_params.rb +3 -4
- data/lib/increase/models/file_list_params.rb +23 -16
- data/lib/increase/models/group.rb +6 -5
- data/lib/increase/models/inbound_ach_transfer.rb +115 -51
- data/lib/increase/models/inbound_ach_transfer_create_notification_of_change_params.rb +3 -5
- data/lib/increase/models/inbound_ach_transfer_decline_params.rb +4 -4
- data/lib/increase/models/inbound_ach_transfer_list_params.rb +21 -16
- data/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb +6 -5
- data/lib/increase/models/inbound_check_deposit.rb +46 -19
- data/lib/increase/models/inbound_check_deposit_list_params.rb +18 -12
- data/lib/increase/models/inbound_check_deposit_return_params.rb +2 -1
- data/lib/increase/models/inbound_fednow_transfer.rb +28 -14
- data/lib/increase/models/inbound_fednow_transfer_list_params.rb +18 -12
- data/lib/increase/models/inbound_fednow_transfer_retrieve_params.rb +2 -1
- data/lib/increase/models/inbound_mail_item.rb +13 -8
- data/lib/increase/models/inbound_mail_item_action_params.rb +4 -2
- data/lib/increase/models/inbound_mail_item_list_params.rb +17 -12
- data/lib/increase/models/inbound_real_time_payments_transfer.rb +21 -12
- data/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb +21 -14
- data/lib/increase/models/inbound_real_time_payments_transfer_retrieve_params.rb +2 -1
- data/lib/increase/models/inbound_wire_drawdown_request.rb +23 -10
- data/lib/increase/models/inbound_wire_drawdown_request_list_params.rb +3 -4
- data/lib/increase/models/inbound_wire_drawdown_request_retrieve_params.rb +2 -1
- data/lib/increase/models/inbound_wire_transfer.rb +51 -22
- data/lib/increase/models/inbound_wire_transfer_list_params.rb +24 -17
- data/lib/increase/models/inbound_wire_transfer_reverse_params.rb +2 -1
- data/lib/increase/models/intrafi_account_enrollment.rb +16 -8
- data/lib/increase/models/intrafi_account_enrollment_list_params.rb +12 -9
- data/lib/increase/models/intrafi_account_enrollment_retrieve_params.rb +2 -1
- data/lib/increase/models/intrafi_account_enrollment_unenroll_params.rb +2 -1
- data/lib/increase/models/intrafi_balance.rb +18 -12
- data/lib/increase/models/intrafi_exclusion.rb +13 -7
- data/lib/increase/models/intrafi_exclusion_archive_params.rb +4 -4
- data/lib/increase/models/intrafi_exclusion_create_params.rb +5 -4
- data/lib/increase/models/intrafi_exclusion_list_params.rb +8 -5
- data/lib/increase/models/lockbox_address.rb +16 -11
- data/lib/increase/models/lockbox_address_list_params.rb +20 -12
- data/lib/increase/models/lockbox_address_update_params.rb +2 -1
- data/lib/increase/models/lockbox_recipient.rb +22 -10
- data/lib/increase/models/lockbox_recipient_create_params.rb +5 -5
- data/lib/increase/models/lockbox_recipient_list_params.rb +22 -13
- data/lib/increase/models/lockbox_recipient_update_params.rb +2 -1
- data/lib/increase/models/oauth_application.rb +12 -7
- data/lib/increase/models/oauth_application_list_params.rb +18 -15
- data/lib/increase/models/oauth_connection.rb +9 -6
- data/lib/increase/models/oauth_connection_list_params.rb +10 -9
- data/lib/increase/models/oauth_token.rb +6 -5
- data/lib/increase/models/oauth_token_create_params.rb +14 -7
- data/lib/increase/models/pending_transaction.rb +392 -239
- data/lib/increase/models/pending_transaction_create_params.rb +6 -6
- data/lib/increase/models/pending_transaction_list_params.rb +23 -19
- data/lib/increase/models/physical_card.rb +36 -24
- data/lib/increase/models/physical_card_create_params.rb +22 -17
- data/lib/increase/models/physical_card_list_params.rb +20 -12
- data/lib/increase/models/physical_card_profile.rb +33 -17
- data/lib/increase/models/physical_card_profile_clone_params.rb +9 -9
- data/lib/increase/models/physical_card_profile_create_params.rb +9 -9
- data/lib/increase/models/physical_card_profile_list_params.rb +12 -9
- data/lib/increase/models/physical_card_update_params.rb +2 -1
- data/lib/increase/models/program.rb +15 -8
- data/lib/increase/models/program_list_params.rb +3 -4
- data/lib/increase/models/real_time_decision.rb +561 -370
- data/lib/increase/models/real_time_decision_action_params.rb +86 -75
- data/lib/increase/models/real_time_payments_transfer.rb +90 -47
- data/lib/increase/models/real_time_payments_transfer_approve_params.rb +2 -1
- data/lib/increase/models/real_time_payments_transfer_cancel_params.rb +2 -1
- data/lib/increase/models/real_time_payments_transfer_create_params.rb +24 -12
- data/lib/increase/models/real_time_payments_transfer_list_params.rb +28 -19
- data/lib/increase/models/routing_number_list_params.rb +3 -4
- data/lib/increase/models/routing_number_list_response.rb +11 -8
- data/lib/increase/models/simulations/account_revenue_payment_create_params.rb +9 -7
- data/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +5 -6
- data/lib/increase/models/simulations/ach_transfer_return_params.rb +18 -6
- data/lib/increase/models/simulations/ach_transfer_settle_params.rb +4 -4
- data/lib/increase/models/simulations/card_authentication_create_params.rb +10 -8
- data/lib/increase/models/simulations/card_authorization_create_params.rb +50 -27
- data/lib/increase/models/simulations/card_authorization_create_response.rb +11 -7
- data/lib/increase/models/simulations/card_balance_inquiry_create_params.rb +26 -13
- data/lib/increase/models/simulations/card_dispute_action_params.rb +39 -19
- data/lib/increase/models/simulations/card_fuel_confirmation_create_params.rb +3 -5
- data/lib/increase/models/simulations/card_increment_create_params.rb +5 -4
- data/lib/increase/models/simulations/card_purchase_supplement_create_params.rb +7 -7
- data/lib/increase/models/simulations/card_refund_create_params.rb +10 -6
- data/lib/increase/models/simulations/card_reversal_create_params.rb +3 -4
- data/lib/increase/models/simulations/card_settlement_create_params.rb +16 -13
- data/lib/increase/models/simulations/card_token_create_params.rb +18 -9
- data/lib/increase/models/simulations/check_deposit_adjustment_params.rb +8 -5
- data/lib/increase/models/simulations/check_deposit_submit_params.rb +9 -10
- data/lib/increase/models/simulations/digital_wallet_token_request_create_response.rb +9 -7
- data/lib/increase/models/simulations/entity_onboarding_session_submit_params.rb +2 -1
- data/lib/increase/models/simulations/entity_update_validation_params.rb +5 -5
- data/lib/increase/models/simulations/export_create_params.rb +5 -5
- data/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +20 -12
- data/lib/increase/models/simulations/inbound_check_deposit_adjustment_params.rb +5 -6
- data/lib/increase/models/simulations/inbound_check_deposit_create_params.rb +6 -6
- data/lib/increase/models/simulations/inbound_mail_item_create_params.rb +9 -6
- data/lib/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rb +5 -6
- data/lib/increase/models/simulations/inbound_wire_drawdown_request_create_params.rb +27 -13
- data/lib/increase/models/simulations/inbound_wire_transfer_create_params.rb +45 -19
- data/lib/increase/models/simulations/interest_payment_create_params.rb +4 -5
- data/lib/increase/models/simulations/pending_transaction_release_inbound_funds_hold_params.rb +3 -5
- data/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +2 -1
- data/lib/increase/models/simulations/physical_card_create_params.rb +5 -5
- data/lib/increase/models/simulations/program_create_params.rb +4 -5
- data/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +6 -3
- data/lib/increase/models/supplemental_document_list_params.rb +8 -5
- data/lib/increase/models/swift_transfer.rb +60 -27
- data/lib/increase/models/swift_transfer_create_params.rb +40 -20
- data/lib/increase/models/swift_transfer_list_params.rb +23 -16
- data/lib/increase/models/transaction.rb +1016 -536
- data/lib/increase/models/transaction_list_params.rb +21 -16
- data/lib/increase/models/unwrap_webhook_event.rb +14 -5
- data/lib/increase/models/wire_drawdown_request.rb +44 -26
- data/lib/increase/models/wire_drawdown_request_create_params.rb +23 -19
- data/lib/increase/models/wire_drawdown_request_list_params.rb +12 -9
- data/lib/increase/models/wire_transfer.rb +100 -55
- data/lib/increase/models/wire_transfer_create_params.rb +43 -26
- data/lib/increase/models/wire_transfer_list_params.rb +23 -16
- data/lib/increase/resources/account_numbers.rb +20 -16
- data/lib/increase/resources/account_statements.rb +3 -4
- data/lib/increase/resources/account_transfers.rb +20 -12
- data/lib/increase/resources/accounts.rb +19 -12
- data/lib/increase/resources/ach_prenotifications.rb +23 -13
- data/lib/increase/resources/ach_transfers.rb +93 -43
- data/lib/increase/resources/beneficial_owners.rb +35 -19
- data/lib/increase/resources/card_disputes.rb +43 -22
- data/lib/increase/resources/card_payments.rb +3 -4
- data/lib/increase/resources/card_purchase_supplements.rb +6 -5
- data/lib/increase/resources/card_push_transfers.rb +55 -24
- data/lib/increase/resources/card_tokens.rb +3 -4
- data/lib/increase/resources/card_validations.rb +19 -12
- data/lib/increase/resources/cards.rb +33 -22
- data/lib/increase/resources/check_deposits.rb +10 -9
- data/lib/increase/resources/check_transfers.rb +37 -17
- data/lib/increase/resources/declined_transactions.rb +3 -4
- data/lib/increase/resources/digital_card_profiles.rb +12 -7
- data/lib/increase/resources/digital_wallet_tokens.rb +3 -4
- data/lib/increase/resources/entities.rb +69 -33
- data/lib/increase/resources/entity_onboarding_sessions.rb +16 -10
- data/lib/increase/resources/event_subscriptions.rb +22 -13
- data/lib/increase/resources/events.rb +10 -9
- data/lib/increase/resources/exports.rb +40 -22
- data/lib/increase/resources/external_accounts.rb +21 -14
- data/lib/increase/resources/fednow_transfers.rb +21 -14
- data/lib/increase/resources/file_links.rb +3 -4
- data/lib/increase/resources/files.rb +14 -10
- data/lib/increase/resources/inbound_ach_transfers.rb +18 -19
- data/lib/increase/resources/inbound_check_deposits.rb +8 -6
- data/lib/increase/resources/inbound_fednow_transfers.rb +8 -6
- data/lib/increase/resources/inbound_mail_items.rb +7 -6
- data/lib/increase/resources/inbound_real_time_payments_transfers.rb +11 -7
- data/lib/increase/resources/inbound_wire_drawdown_requests.rb +5 -5
- data/lib/increase/resources/inbound_wire_transfers.rb +10 -7
- data/lib/increase/resources/intrafi_account_enrollments.rb +12 -7
- data/lib/increase/resources/intrafi_exclusions.rb +17 -13
- data/lib/increase/resources/lockbox_addresses.rb +10 -6
- data/lib/increase/resources/lockbox_recipients.rb +17 -12
- data/lib/increase/resources/oauth_applications.rb +3 -4
- data/lib/increase/resources/oauth_connections.rb +6 -5
- data/lib/increase/resources/oauth_tokens.rb +14 -7
- data/lib/increase/resources/pending_transactions.rb +7 -8
- data/lib/increase/resources/physical_card_profiles.rb +18 -15
- data/lib/increase/resources/physical_cards.rb +17 -12
- data/lib/increase/resources/programs.rb +3 -4
- data/lib/increase/resources/real_time_decisions.rb +18 -9
- data/lib/increase/resources/real_time_payments_transfers.rb +41 -21
- data/lib/increase/resources/routing_numbers.rb +3 -4
- data/lib/increase/resources/simulations/account_revenue_payments.rb +9 -7
- data/lib/increase/resources/simulations/ach_transfers.rb +18 -15
- data/lib/increase/resources/simulations/card_authentications.rb +10 -8
- data/lib/increase/resources/simulations/card_authorizations.rb +28 -12
- data/lib/increase/resources/simulations/card_balance_inquiries.rb +22 -11
- data/lib/increase/resources/simulations/card_disputes.rb +6 -5
- data/lib/increase/resources/simulations/card_fuel_confirmations.rb +3 -5
- data/lib/increase/resources/simulations/card_increments.rb +5 -4
- data/lib/increase/resources/simulations/card_purchase_supplements.rb +7 -7
- data/lib/increase/resources/simulations/card_refunds.rb +10 -6
- data/lib/increase/resources/simulations/card_reversals.rb +3 -4
- data/lib/increase/resources/simulations/card_settlements.rb +8 -6
- data/lib/increase/resources/simulations/card_tokens.rb +6 -3
- data/lib/increase/resources/simulations/check_deposits.rb +11 -9
- data/lib/increase/resources/simulations/entities.rb +3 -4
- data/lib/increase/resources/simulations/entity_onboarding_sessions.rb +2 -1
- data/lib/increase/resources/simulations/exports.rb +5 -5
- data/lib/increase/resources/simulations/inbound_ach_transfers.rb +14 -9
- data/lib/increase/resources/simulations/inbound_check_deposits.rb +11 -12
- data/lib/increase/resources/simulations/inbound_mail_items.rb +9 -6
- data/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +5 -6
- data/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +27 -13
- data/lib/increase/resources/simulations/inbound_wire_transfers.rb +45 -19
- data/lib/increase/resources/simulations/interest_payments.rb +4 -5
- data/lib/increase/resources/simulations/pending_transactions.rb +3 -5
- data/lib/increase/resources/simulations/physical_cards.rb +7 -6
- data/lib/increase/resources/simulations/programs.rb +4 -2
- data/lib/increase/resources/simulations/real_time_payments_transfers.rb +4 -2
- data/lib/increase/resources/supplemental_documents.rb +8 -5
- data/lib/increase/resources/swift_transfers.rb +33 -17
- data/lib/increase/resources/transactions.rb +6 -5
- data/lib/increase/resources/wire_drawdown_requests.rb +23 -14
- data/lib/increase/resources/wire_transfers.rb +29 -16
- data/lib/increase/version.rb +1 -1
- data/rbi/increase/models/ach_prenotification.rbi +1 -1
- data/rbi/increase/models/ach_transfer.rbi +19 -1
- data/rbi/increase/models/beneficial_owner_create_params.rbi +13 -8
- data/rbi/increase/models/beneficial_owner_update_params.rbi +13 -8
- data/rbi/increase/models/check_transfer.rbi +12 -2
- data/rbi/increase/models/check_transfer_create_params.rbi +35 -36
- data/rbi/increase/models/entity_create_params.rbi +78 -48
- data/rbi/increase/models/entity_list_params.rbi +119 -0
- data/rbi/increase/models/entity_update_params.rbi +26 -16
- data/rbi/increase/models/event.rbi +14 -0
- data/rbi/increase/models/event_list_params.rbi +14 -0
- data/rbi/increase/models/event_subscription.rbi +14 -0
- data/rbi/increase/models/event_subscription_create_params.rbi +14 -0
- data/rbi/increase/models/inbound_wire_transfer.rbi +16 -0
- data/rbi/increase/models/pending_transaction_create_params.rbi +4 -4
- data/rbi/increase/models/simulations/ach_transfer_return_params.rbi +16 -1
- data/rbi/increase/models/simulations/card_settlement_create_params.rbi +17 -12
- data/rbi/increase/models/simulations/program_create_params.rbi +0 -7
- data/rbi/increase/models/swift_transfer.rbi +10 -0
- data/rbi/increase/models/swift_transfer_create_params.rbi +13 -0
- data/rbi/increase/models/transaction.rbi +19 -1
- data/rbi/increase/models/unwrap_webhook_event.rbi +14 -0
- data/rbi/increase/resources/entities.rbi +3 -0
- data/rbi/increase/resources/pending_transactions.rbi +2 -2
- data/rbi/increase/resources/simulations/ach_transfers.rbi +5 -0
- data/rbi/increase/resources/simulations/card_settlements.rbi +6 -5
- data/rbi/increase/resources/swift_transfers.rbi +4 -0
- data/sig/increase/models/ach_prenotification.rbs +1 -1
- data/sig/increase/models/ach_transfer.rbs +6 -1
- data/sig/increase/models/beneficial_owner_create_params.rbs +7 -5
- data/sig/increase/models/beneficial_owner_update_params.rbs +7 -5
- data/sig/increase/models/check_transfer.rbs +5 -0
- data/sig/increase/models/check_transfer_create_params.rbs +12 -9
- data/sig/increase/models/entity_create_params.rbs +42 -30
- data/sig/increase/models/entity_list_params.rbs +48 -1
- data/sig/increase/models/entity_update_params.rbs +14 -10
- data/sig/increase/models/event.rbs +8 -0
- data/sig/increase/models/event_list_params.rbs +8 -0
- data/sig/increase/models/event_subscription.rbs +8 -0
- data/sig/increase/models/event_subscription_create_params.rbs +8 -0
- data/sig/increase/models/inbound_wire_transfer.rbs +10 -0
- data/sig/increase/models/simulations/ach_transfer_return_params.rbs +8 -1
- data/sig/increase/models/simulations/card_settlement_create_params.rbs +7 -5
- data/sig/increase/models/simulations/program_create_params.rbs +1 -8
- data/sig/increase/models/swift_transfer.rbs +5 -0
- data/sig/increase/models/swift_transfer_create_params.rbs +7 -0
- data/sig/increase/models/transaction.rbs +6 -1
- data/sig/increase/models/unwrap_webhook_event.rbs +8 -0
- data/sig/increase/resources/entities.rbs +1 -0
- data/sig/increase/resources/simulations/ach_transfers.rbs +1 -0
- data/sig/increase/resources/simulations/card_settlements.rbs +1 -1
- data/sig/increase/resources/swift_transfers.rbs +1 -0
- metadata +2 -2
|
@@ -50,6 +50,17 @@ module Increase
|
|
|
50
50
|
sig { params(status: Increase::EntityListParams::Status::OrHash).void }
|
|
51
51
|
attr_writer :status
|
|
52
52
|
|
|
53
|
+
sig { returns(T.nilable(Increase::EntityListParams::ValidationStatus)) }
|
|
54
|
+
attr_reader :validation_status
|
|
55
|
+
|
|
56
|
+
sig do
|
|
57
|
+
params(
|
|
58
|
+
validation_status:
|
|
59
|
+
Increase::EntityListParams::ValidationStatus::OrHash
|
|
60
|
+
).void
|
|
61
|
+
end
|
|
62
|
+
attr_writer :validation_status
|
|
63
|
+
|
|
53
64
|
sig do
|
|
54
65
|
params(
|
|
55
66
|
created_at: Increase::EntityListParams::CreatedAt::OrHash,
|
|
@@ -57,6 +68,8 @@ module Increase
|
|
|
57
68
|
idempotency_key: String,
|
|
58
69
|
limit: Integer,
|
|
59
70
|
status: Increase::EntityListParams::Status::OrHash,
|
|
71
|
+
validation_status:
|
|
72
|
+
Increase::EntityListParams::ValidationStatus::OrHash,
|
|
60
73
|
request_options: Increase::RequestOptions::OrHash
|
|
61
74
|
).returns(T.attached_class)
|
|
62
75
|
end
|
|
@@ -73,6 +86,7 @@ module Increase
|
|
|
73
86
|
# objects.
|
|
74
87
|
limit: nil,
|
|
75
88
|
status: nil,
|
|
89
|
+
validation_status: nil,
|
|
76
90
|
request_options: {}
|
|
77
91
|
)
|
|
78
92
|
end
|
|
@@ -85,6 +99,7 @@ module Increase
|
|
|
85
99
|
idempotency_key: String,
|
|
86
100
|
limit: Integer,
|
|
87
101
|
status: Increase::EntityListParams::Status,
|
|
102
|
+
validation_status: Increase::EntityListParams::ValidationStatus,
|
|
88
103
|
request_options: Increase::RequestOptions
|
|
89
104
|
}
|
|
90
105
|
)
|
|
@@ -251,6 +266,110 @@ module Increase
|
|
|
251
266
|
end
|
|
252
267
|
end
|
|
253
268
|
end
|
|
269
|
+
|
|
270
|
+
class ValidationStatus < Increase::Internal::Type::BaseModel
|
|
271
|
+
OrHash =
|
|
272
|
+
T.type_alias do
|
|
273
|
+
T.any(
|
|
274
|
+
Increase::EntityListParams::ValidationStatus,
|
|
275
|
+
Increase::Internal::AnyHash
|
|
276
|
+
)
|
|
277
|
+
end
|
|
278
|
+
|
|
279
|
+
# Filter Entities for those with the specified validation status. For GET
|
|
280
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
281
|
+
# `?in=one,two,three`.
|
|
282
|
+
sig do
|
|
283
|
+
returns(
|
|
284
|
+
T.nilable(
|
|
285
|
+
T::Array[
|
|
286
|
+
Increase::EntityListParams::ValidationStatus::In::OrSymbol
|
|
287
|
+
]
|
|
288
|
+
)
|
|
289
|
+
)
|
|
290
|
+
end
|
|
291
|
+
attr_reader :in_
|
|
292
|
+
|
|
293
|
+
sig do
|
|
294
|
+
params(
|
|
295
|
+
in_:
|
|
296
|
+
T::Array[
|
|
297
|
+
Increase::EntityListParams::ValidationStatus::In::OrSymbol
|
|
298
|
+
]
|
|
299
|
+
).void
|
|
300
|
+
end
|
|
301
|
+
attr_writer :in_
|
|
302
|
+
|
|
303
|
+
sig do
|
|
304
|
+
params(
|
|
305
|
+
in_:
|
|
306
|
+
T::Array[
|
|
307
|
+
Increase::EntityListParams::ValidationStatus::In::OrSymbol
|
|
308
|
+
]
|
|
309
|
+
).returns(T.attached_class)
|
|
310
|
+
end
|
|
311
|
+
def self.new(
|
|
312
|
+
# Filter Entities for those with the specified validation status. For GET
|
|
313
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
314
|
+
# `?in=one,two,three`.
|
|
315
|
+
in_: nil
|
|
316
|
+
)
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
sig do
|
|
320
|
+
override.returns(
|
|
321
|
+
{
|
|
322
|
+
in_:
|
|
323
|
+
T::Array[
|
|
324
|
+
Increase::EntityListParams::ValidationStatus::In::OrSymbol
|
|
325
|
+
]
|
|
326
|
+
}
|
|
327
|
+
)
|
|
328
|
+
end
|
|
329
|
+
def to_hash
|
|
330
|
+
end
|
|
331
|
+
|
|
332
|
+
module In
|
|
333
|
+
extend Increase::Internal::Type::Enum
|
|
334
|
+
|
|
335
|
+
TaggedSymbol =
|
|
336
|
+
T.type_alias do
|
|
337
|
+
T.all(Symbol, Increase::EntityListParams::ValidationStatus::In)
|
|
338
|
+
end
|
|
339
|
+
OrSymbol = T.type_alias { T.any(Symbol, String) }
|
|
340
|
+
|
|
341
|
+
# The submitted data is being validated.
|
|
342
|
+
PENDING =
|
|
343
|
+
T.let(
|
|
344
|
+
:pending,
|
|
345
|
+
Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
|
|
346
|
+
)
|
|
347
|
+
|
|
348
|
+
# The submitted data is valid.
|
|
349
|
+
VALID =
|
|
350
|
+
T.let(
|
|
351
|
+
:valid,
|
|
352
|
+
Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
|
|
353
|
+
)
|
|
354
|
+
|
|
355
|
+
# Additional information is required to validate the data.
|
|
356
|
+
INVALID =
|
|
357
|
+
T.let(
|
|
358
|
+
:invalid,
|
|
359
|
+
Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
|
|
360
|
+
)
|
|
361
|
+
|
|
362
|
+
sig do
|
|
363
|
+
override.returns(
|
|
364
|
+
T::Array[
|
|
365
|
+
Increase::EntityListParams::ValidationStatus::In::TaggedSymbol
|
|
366
|
+
]
|
|
367
|
+
)
|
|
368
|
+
end
|
|
369
|
+
def self.values
|
|
370
|
+
end
|
|
371
|
+
end
|
|
372
|
+
end
|
|
254
373
|
end
|
|
255
374
|
end
|
|
256
375
|
end
|
|
@@ -341,14 +341,18 @@ module Increase
|
|
|
341
341
|
sig { returns(String) }
|
|
342
342
|
attr_accessor :city
|
|
343
343
|
|
|
344
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
345
|
-
sig { returns(String) }
|
|
346
|
-
attr_accessor :country
|
|
347
|
-
|
|
348
344
|
# The first line of the address. This is usually the street number and street.
|
|
349
345
|
sig { returns(String) }
|
|
350
346
|
attr_accessor :line1
|
|
351
347
|
|
|
348
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
349
|
+
# to `US`.
|
|
350
|
+
sig { returns(T.nilable(String)) }
|
|
351
|
+
attr_reader :country
|
|
352
|
+
|
|
353
|
+
sig { params(country: String).void }
|
|
354
|
+
attr_writer :country
|
|
355
|
+
|
|
352
356
|
# The second line of the address. This might be the floor or room number.
|
|
353
357
|
sig { returns(T.nilable(String)) }
|
|
354
358
|
attr_reader :line2
|
|
@@ -376,8 +380,8 @@ module Increase
|
|
|
376
380
|
sig do
|
|
377
381
|
params(
|
|
378
382
|
city: String,
|
|
379
|
-
country: String,
|
|
380
383
|
line1: String,
|
|
384
|
+
country: String,
|
|
381
385
|
line2: String,
|
|
382
386
|
state: String,
|
|
383
387
|
zip: String
|
|
@@ -386,10 +390,11 @@ module Increase
|
|
|
386
390
|
def self.new(
|
|
387
391
|
# The city, district, town, or village of the address.
|
|
388
392
|
city:,
|
|
389
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
390
|
-
country:,
|
|
391
393
|
# The first line of the address. This is usually the street number and street.
|
|
392
394
|
line1:,
|
|
395
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
396
|
+
# to `US`.
|
|
397
|
+
country: nil,
|
|
393
398
|
# The second line of the address. This might be the floor or room number.
|
|
394
399
|
line2: nil,
|
|
395
400
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -404,8 +409,8 @@ module Increase
|
|
|
404
409
|
override.returns(
|
|
405
410
|
{
|
|
406
411
|
city: String,
|
|
407
|
-
country: String,
|
|
408
412
|
line1: String,
|
|
413
|
+
country: String,
|
|
409
414
|
line2: String,
|
|
410
415
|
state: String,
|
|
411
416
|
zip: String
|
|
@@ -774,14 +779,18 @@ module Increase
|
|
|
774
779
|
sig { returns(String) }
|
|
775
780
|
attr_accessor :city
|
|
776
781
|
|
|
777
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
778
|
-
sig { returns(String) }
|
|
779
|
-
attr_accessor :country
|
|
780
|
-
|
|
781
782
|
# The first line of the address. This is usually the street number and street.
|
|
782
783
|
sig { returns(String) }
|
|
783
784
|
attr_accessor :line1
|
|
784
785
|
|
|
786
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
787
|
+
# to `US`.
|
|
788
|
+
sig { returns(T.nilable(String)) }
|
|
789
|
+
attr_reader :country
|
|
790
|
+
|
|
791
|
+
sig { params(country: String).void }
|
|
792
|
+
attr_writer :country
|
|
793
|
+
|
|
785
794
|
# The second line of the address. This might be the floor or room number.
|
|
786
795
|
sig { returns(T.nilable(String)) }
|
|
787
796
|
attr_reader :line2
|
|
@@ -809,8 +818,8 @@ module Increase
|
|
|
809
818
|
sig do
|
|
810
819
|
params(
|
|
811
820
|
city: String,
|
|
812
|
-
country: String,
|
|
813
821
|
line1: String,
|
|
822
|
+
country: String,
|
|
814
823
|
line2: String,
|
|
815
824
|
state: String,
|
|
816
825
|
zip: String
|
|
@@ -819,10 +828,11 @@ module Increase
|
|
|
819
828
|
def self.new(
|
|
820
829
|
# The city, district, town, or village of the address.
|
|
821
830
|
city:,
|
|
822
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
823
|
-
country:,
|
|
824
831
|
# The first line of the address. This is usually the street number and street.
|
|
825
832
|
line1:,
|
|
833
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
834
|
+
# to `US`.
|
|
835
|
+
country: nil,
|
|
826
836
|
# The second line of the address. This might be the floor or room number.
|
|
827
837
|
line2: nil,
|
|
828
838
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -837,8 +847,8 @@ module Increase
|
|
|
837
847
|
override.returns(
|
|
838
848
|
{
|
|
839
849
|
city: String,
|
|
840
|
-
country: String,
|
|
841
850
|
line1: String,
|
|
851
|
+
country: String,
|
|
842
852
|
line2: String,
|
|
843
853
|
state: String,
|
|
844
854
|
zip: String
|
|
@@ -481,6 +481,20 @@ module Increase
|
|
|
481
481
|
Increase::Event::Category::TaggedSymbol
|
|
482
482
|
)
|
|
483
483
|
|
|
484
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
485
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
486
|
+
T.let(
|
|
487
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
488
|
+
Increase::Event::Category::TaggedSymbol
|
|
489
|
+
)
|
|
490
|
+
|
|
491
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
492
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
493
|
+
T.let(
|
|
494
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
495
|
+
Increase::Event::Category::TaggedSymbol
|
|
496
|
+
)
|
|
497
|
+
|
|
484
498
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
485
499
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
486
500
|
T.let(
|
|
@@ -580,6 +580,20 @@ module Increase
|
|
|
580
580
|
Increase::EventListParams::Category::In::TaggedSymbol
|
|
581
581
|
)
|
|
582
582
|
|
|
583
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
584
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
585
|
+
T.let(
|
|
586
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
587
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
588
|
+
)
|
|
589
|
+
|
|
590
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
591
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
592
|
+
T.let(
|
|
593
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
594
|
+
Increase::EventListParams::Category::In::TaggedSymbol
|
|
595
|
+
)
|
|
596
|
+
|
|
583
597
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
584
598
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
585
599
|
T.let(
|
|
@@ -605,6 +605,20 @@ module Increase
|
|
|
605
605
|
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
606
606
|
)
|
|
607
607
|
|
|
608
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
609
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
610
|
+
T.let(
|
|
611
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
612
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
613
|
+
)
|
|
614
|
+
|
|
615
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
616
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
617
|
+
T.let(
|
|
618
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
619
|
+
Increase::EventSubscription::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
620
|
+
)
|
|
621
|
+
|
|
608
622
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
609
623
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
610
624
|
T.let(
|
|
@@ -603,6 +603,20 @@ module Increase
|
|
|
603
603
|
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
604
604
|
)
|
|
605
605
|
|
|
606
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is created.
|
|
607
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_CREATED =
|
|
608
|
+
T.let(
|
|
609
|
+
:"inbound_real_time_payments_request_for_payment.created",
|
|
610
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
611
|
+
)
|
|
612
|
+
|
|
613
|
+
# Occurs whenever an Inbound Real-Time Payments Request for Payment is updated.
|
|
614
|
+
INBOUND_REAL_TIME_PAYMENTS_REQUEST_FOR_PAYMENT_UPDATED =
|
|
615
|
+
T.let(
|
|
616
|
+
:"inbound_real_time_payments_request_for_payment.updated",
|
|
617
|
+
Increase::EventSubscriptionCreateParams::SelectedEventCategory::EventCategory::TaggedSymbol
|
|
618
|
+
)
|
|
619
|
+
|
|
606
620
|
# Occurs whenever an Inbound Real-Time Payments Transfer is created.
|
|
607
621
|
INBOUND_REAL_TIME_PAYMENTS_TRANSFER_CREATED =
|
|
608
622
|
T.let(
|
|
@@ -57,6 +57,10 @@ module Increase
|
|
|
57
57
|
sig { returns(T.nilable(String)) }
|
|
58
58
|
attr_accessor :creditor_name
|
|
59
59
|
|
|
60
|
+
# The account number of the sender.
|
|
61
|
+
sig { returns(T.nilable(String)) }
|
|
62
|
+
attr_accessor :debtor_account_number
|
|
63
|
+
|
|
60
64
|
# A free-form address field set by the sender.
|
|
61
65
|
sig { returns(T.nilable(String)) }
|
|
62
66
|
attr_accessor :debtor_address_line1
|
|
@@ -73,6 +77,10 @@ module Increase
|
|
|
73
77
|
sig { returns(T.nilable(String)) }
|
|
74
78
|
attr_accessor :debtor_name
|
|
75
79
|
|
|
80
|
+
# The American Banking Association (ABA) routing number of the sender.
|
|
81
|
+
sig { returns(T.nilable(String)) }
|
|
82
|
+
attr_accessor :debtor_routing_number
|
|
83
|
+
|
|
76
84
|
# An Increase-constructed description of the transfer.
|
|
77
85
|
sig { returns(String) }
|
|
78
86
|
attr_accessor :description
|
|
@@ -149,10 +157,12 @@ module Increase
|
|
|
149
157
|
creditor_address_line2: T.nilable(String),
|
|
150
158
|
creditor_address_line3: T.nilable(String),
|
|
151
159
|
creditor_name: T.nilable(String),
|
|
160
|
+
debtor_account_number: T.nilable(String),
|
|
152
161
|
debtor_address_line1: T.nilable(String),
|
|
153
162
|
debtor_address_line2: T.nilable(String),
|
|
154
163
|
debtor_address_line3: T.nilable(String),
|
|
155
164
|
debtor_name: T.nilable(String),
|
|
165
|
+
debtor_routing_number: T.nilable(String),
|
|
156
166
|
description: String,
|
|
157
167
|
end_to_end_identification: T.nilable(String),
|
|
158
168
|
input_message_accountability_data: T.nilable(String),
|
|
@@ -189,6 +199,8 @@ module Increase
|
|
|
189
199
|
creditor_address_line3:,
|
|
190
200
|
# A name set by the sender.
|
|
191
201
|
creditor_name:,
|
|
202
|
+
# The account number of the sender.
|
|
203
|
+
debtor_account_number:,
|
|
192
204
|
# A free-form address field set by the sender.
|
|
193
205
|
debtor_address_line1:,
|
|
194
206
|
# A free-form address field set by the sender.
|
|
@@ -197,6 +209,8 @@ module Increase
|
|
|
197
209
|
debtor_address_line3:,
|
|
198
210
|
# A name set by the sender.
|
|
199
211
|
debtor_name:,
|
|
212
|
+
# The American Banking Association (ABA) routing number of the sender.
|
|
213
|
+
debtor_routing_number:,
|
|
200
214
|
# An Increase-constructed description of the transfer.
|
|
201
215
|
description:,
|
|
202
216
|
# A free-form reference string set by the sender, to help identify the transfer.
|
|
@@ -243,10 +257,12 @@ module Increase
|
|
|
243
257
|
creditor_address_line2: T.nilable(String),
|
|
244
258
|
creditor_address_line3: T.nilable(String),
|
|
245
259
|
creditor_name: T.nilable(String),
|
|
260
|
+
debtor_account_number: T.nilable(String),
|
|
246
261
|
debtor_address_line1: T.nilable(String),
|
|
247
262
|
debtor_address_line2: T.nilable(String),
|
|
248
263
|
debtor_address_line3: T.nilable(String),
|
|
249
264
|
debtor_name: T.nilable(String),
|
|
265
|
+
debtor_routing_number: T.nilable(String),
|
|
250
266
|
description: String,
|
|
251
267
|
end_to_end_identification: T.nilable(String),
|
|
252
268
|
input_message_accountability_data: T.nilable(String),
|
|
@@ -19,8 +19,8 @@ module Increase
|
|
|
19
19
|
attr_accessor :account_id
|
|
20
20
|
|
|
21
21
|
# The amount to hold in the minor unit of the account's currency. For dollars, for
|
|
22
|
-
# example, this is cents. This should be a negative amount
|
|
23
|
-
#
|
|
22
|
+
# example, this is cents. This should be a negative amount: To hold $1.00 from the
|
|
23
|
+
# account, pass -100 as `amount`.
|
|
24
24
|
sig { returns(Integer) }
|
|
25
25
|
attr_accessor :amount
|
|
26
26
|
|
|
@@ -43,8 +43,8 @@ module Increase
|
|
|
43
43
|
# The Account to place the hold on.
|
|
44
44
|
account_id:,
|
|
45
45
|
# The amount to hold in the minor unit of the account's currency. For dollars, for
|
|
46
|
-
# example, this is cents. This should be a negative amount
|
|
47
|
-
#
|
|
46
|
+
# example, this is cents. This should be a negative amount: To hold $1.00 from the
|
|
47
|
+
# account, pass -100 as `amount`.
|
|
48
48
|
amount:,
|
|
49
49
|
# The description you choose to give the hold.
|
|
50
50
|
description: nil,
|
|
@@ -19,6 +19,15 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :ach_transfer_id
|
|
21
21
|
|
|
22
|
+
# Free-form information the returning bank includes in the return addenda. For a
|
|
23
|
+
# `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
|
|
24
|
+
# a return the bank believes was initiated under questionable circumstances.
|
|
25
|
+
sig { returns(T.nilable(String)) }
|
|
26
|
+
attr_reader :addenda_information
|
|
27
|
+
|
|
28
|
+
sig { params(addenda_information: String).void }
|
|
29
|
+
attr_writer :addenda_information
|
|
30
|
+
|
|
22
31
|
# The reason why the Federal Reserve or destination bank returned this transfer.
|
|
23
32
|
# Defaults to `no_account`.
|
|
24
33
|
sig do
|
|
@@ -41,6 +50,7 @@ module Increase
|
|
|
41
50
|
sig do
|
|
42
51
|
params(
|
|
43
52
|
ach_transfer_id: String,
|
|
53
|
+
addenda_information: String,
|
|
44
54
|
reason:
|
|
45
55
|
Increase::Simulations::ACHTransferReturnParams::Reason::OrSymbol,
|
|
46
56
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -49,6 +59,10 @@ module Increase
|
|
|
49
59
|
def self.new(
|
|
50
60
|
# The identifier of the ACH Transfer you wish to return.
|
|
51
61
|
ach_transfer_id:,
|
|
62
|
+
# Free-form information the returning bank includes in the return addenda. For a
|
|
63
|
+
# `file_record_edit_criteria` (R17) return, set this to `QUESTIONABLE` to simulate
|
|
64
|
+
# a return the bank believes was initiated under questionable circumstances.
|
|
65
|
+
addenda_information: nil,
|
|
52
66
|
# The reason why the Federal Reserve or destination bank returned this transfer.
|
|
53
67
|
# Defaults to `no_account`.
|
|
54
68
|
reason: nil,
|
|
@@ -60,6 +74,7 @@ module Increase
|
|
|
60
74
|
override.returns(
|
|
61
75
|
{
|
|
62
76
|
ach_transfer_id: String,
|
|
77
|
+
addenda_information: String,
|
|
63
78
|
reason:
|
|
64
79
|
Increase::Simulations::ACHTransferReturnParams::Reason::OrSymbol,
|
|
65
80
|
request_options: Increase::RequestOptions
|
|
@@ -195,7 +210,7 @@ module Increase
|
|
|
195
210
|
Increase::Simulations::ACHTransferReturnParams::Reason::TaggedSymbol
|
|
196
211
|
)
|
|
197
212
|
|
|
198
|
-
# Code R17. The receiving bank
|
|
213
|
+
# Code R17. This return code has multiple meanings. The receiving bank was either unable to process a field in the transfer, or believes the transfer was initiated under questionable circumstances (such as fraud), or identified an improperly-initiated reversing entry.
|
|
199
214
|
FILE_RECORD_EDIT_CRITERIA =
|
|
200
215
|
T.let(
|
|
201
216
|
:file_record_edit_criteria,
|
|
@@ -19,36 +19,41 @@ module Increase
|
|
|
19
19
|
sig { returns(String) }
|
|
20
20
|
attr_accessor :card_id
|
|
21
21
|
|
|
22
|
-
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
23
|
-
# settle.
|
|
24
|
-
sig { returns(String) }
|
|
25
|
-
attr_accessor :pending_transaction_id
|
|
26
|
-
|
|
27
22
|
# The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
28
|
-
# being settled.
|
|
23
|
+
# being settled, or a random amount if `pending_transaction_id` is not provided.
|
|
29
24
|
sig { returns(T.nilable(Integer)) }
|
|
30
25
|
attr_reader :amount
|
|
31
26
|
|
|
32
27
|
sig { params(amount: Integer).void }
|
|
33
28
|
attr_writer :amount
|
|
34
29
|
|
|
30
|
+
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
31
|
+
# settle. If not provided, the settlement will be force posted without a Card
|
|
32
|
+
# Authorization.
|
|
33
|
+
sig { returns(T.nilable(String)) }
|
|
34
|
+
attr_reader :pending_transaction_id
|
|
35
|
+
|
|
36
|
+
sig { params(pending_transaction_id: String).void }
|
|
37
|
+
attr_writer :pending_transaction_id
|
|
38
|
+
|
|
35
39
|
sig do
|
|
36
40
|
params(
|
|
37
41
|
card_id: String,
|
|
38
|
-
pending_transaction_id: String,
|
|
39
42
|
amount: Integer,
|
|
43
|
+
pending_transaction_id: String,
|
|
40
44
|
request_options: Increase::RequestOptions::OrHash
|
|
41
45
|
).returns(T.attached_class)
|
|
42
46
|
end
|
|
43
47
|
def self.new(
|
|
44
48
|
# The identifier of the Card to create a settlement on.
|
|
45
49
|
card_id:,
|
|
46
|
-
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
47
|
-
# settle.
|
|
48
|
-
pending_transaction_id:,
|
|
49
50
|
# The amount to be settled. This defaults to the amount of the Pending Transaction
|
|
50
|
-
# being settled.
|
|
51
|
+
# being settled, or a random amount if `pending_transaction_id` is not provided.
|
|
51
52
|
amount: nil,
|
|
53
|
+
# The identifier of the Pending Transaction for the Card Authorization you wish to
|
|
54
|
+
# settle. If not provided, the settlement will be force posted without a Card
|
|
55
|
+
# Authorization.
|
|
56
|
+
pending_transaction_id: nil,
|
|
52
57
|
request_options: {}
|
|
53
58
|
)
|
|
54
59
|
end
|
|
@@ -57,8 +62,8 @@ module Increase
|
|
|
57
62
|
override.returns(
|
|
58
63
|
{
|
|
59
64
|
card_id: String,
|
|
60
|
-
pending_transaction_id: String,
|
|
61
65
|
amount: Integer,
|
|
66
|
+
pending_transaction_id: String,
|
|
62
67
|
request_options: Increase::RequestOptions
|
|
63
68
|
}
|
|
64
69
|
)
|
|
@@ -117,13 +117,6 @@ module Increase
|
|
|
117
117
|
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
|
118
118
|
)
|
|
119
119
|
|
|
120
|
-
# Twin City Bank
|
|
121
|
-
TWIN_CITY_BANK =
|
|
122
|
-
T.let(
|
|
123
|
-
:twin_city_bank,
|
|
124
|
-
Increase::Simulations::ProgramCreateParams::Bank::TaggedSymbol
|
|
125
|
-
)
|
|
126
|
-
|
|
127
120
|
sig do
|
|
128
121
|
override.returns(
|
|
129
122
|
T::Array[
|
|
@@ -88,6 +88,11 @@ module Increase
|
|
|
88
88
|
sig { returns(Increase::SwiftTransfer::InstructedCurrency::TaggedSymbol) }
|
|
89
89
|
attr_accessor :instructed_currency
|
|
90
90
|
|
|
91
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer is
|
|
92
|
+
# routed through one.
|
|
93
|
+
sig { returns(T.nilable(String)) }
|
|
94
|
+
attr_accessor :intermediary_bank_identification_code
|
|
95
|
+
|
|
91
96
|
# The ID for the pending transaction representing the transfer.
|
|
92
97
|
sig { returns(T.nilable(String)) }
|
|
93
98
|
attr_accessor :pending_transaction_id
|
|
@@ -143,6 +148,7 @@ module Increase
|
|
|
143
148
|
instructed_amount: Integer,
|
|
144
149
|
instructed_currency:
|
|
145
150
|
Increase::SwiftTransfer::InstructedCurrency::OrSymbol,
|
|
151
|
+
intermediary_bank_identification_code: T.nilable(String),
|
|
146
152
|
pending_transaction_id: T.nilable(String),
|
|
147
153
|
routing_number: T.nilable(String),
|
|
148
154
|
source_account_number_id: String,
|
|
@@ -187,6 +193,9 @@ module Increase
|
|
|
187
193
|
# The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code of the
|
|
188
194
|
# instructed amount.
|
|
189
195
|
instructed_currency:,
|
|
196
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer is
|
|
197
|
+
# routed through one.
|
|
198
|
+
intermediary_bank_identification_code:,
|
|
190
199
|
# The ID for the pending transaction representing the transfer.
|
|
191
200
|
pending_transaction_id:,
|
|
192
201
|
# The creditor's bank account routing or transit number. Required in certain
|
|
@@ -229,6 +238,7 @@ module Increase
|
|
|
229
238
|
instructed_amount: Integer,
|
|
230
239
|
instructed_currency:
|
|
231
240
|
Increase::SwiftTransfer::InstructedCurrency::TaggedSymbol,
|
|
241
|
+
intermediary_bank_identification_code: T.nilable(String),
|
|
232
242
|
pending_transaction_id: T.nilable(String),
|
|
233
243
|
routing_number: T.nilable(String),
|
|
234
244
|
source_account_number_id: String,
|
|
@@ -81,6 +81,14 @@ module Increase
|
|
|
81
81
|
sig { returns(String) }
|
|
82
82
|
attr_accessor :unstructured_remittance_information
|
|
83
83
|
|
|
84
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer
|
|
85
|
+
# should be routed through one.
|
|
86
|
+
sig { returns(T.nilable(String)) }
|
|
87
|
+
attr_reader :intermediary_bank_identification_code
|
|
88
|
+
|
|
89
|
+
sig { params(intermediary_bank_identification_code: String).void }
|
|
90
|
+
attr_writer :intermediary_bank_identification_code
|
|
91
|
+
|
|
84
92
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
85
93
|
sig { returns(T.nilable(T::Boolean)) }
|
|
86
94
|
attr_reader :require_approval
|
|
@@ -112,6 +120,7 @@ module Increase
|
|
|
112
120
|
Increase::SwiftTransferCreateParams::InstructedCurrency::OrSymbol,
|
|
113
121
|
source_account_number_id: String,
|
|
114
122
|
unstructured_remittance_information: String,
|
|
123
|
+
intermediary_bank_identification_code: String,
|
|
115
124
|
require_approval: T::Boolean,
|
|
116
125
|
routing_number: String,
|
|
117
126
|
request_options: Increase::RequestOptions::OrHash
|
|
@@ -143,6 +152,9 @@ module Increase
|
|
|
143
152
|
source_account_number_id:,
|
|
144
153
|
# Unstructured remittance information to include in the transfer.
|
|
145
154
|
unstructured_remittance_information:,
|
|
155
|
+
# The bank identification code (BIC) of the intermediary bank, if the transfer
|
|
156
|
+
# should be routed through one.
|
|
157
|
+
intermediary_bank_identification_code: nil,
|
|
146
158
|
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
147
159
|
require_approval: nil,
|
|
148
160
|
# The creditor's bank account routing or transit number. Required in certain
|
|
@@ -168,6 +180,7 @@ module Increase
|
|
|
168
180
|
Increase::SwiftTransferCreateParams::InstructedCurrency::OrSymbol,
|
|
169
181
|
source_account_number_id: String,
|
|
170
182
|
unstructured_remittance_information: String,
|
|
183
|
+
intermediary_bank_identification_code: String,
|
|
171
184
|
require_approval: T::Boolean,
|
|
172
185
|
routing_number: String,
|
|
173
186
|
request_options: Increase::RequestOptions
|