increase 1.340.0 → 1.341.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 +48 -27
- 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 +199 -103
- 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 +48 -37
- data/lib/increase/models/beneficial_owner_list_params.rb +11 -6
- data/lib/increase/models/beneficial_owner_update_params.rb +44 -31
- 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 +124 -75
- 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 +323 -236
- 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 +112 -86
- data/lib/increase/models/event.rb +6 -5
- data/lib/increase/models/event_list_params.rb +23 -17
- data/lib/increase/models/event_subscription.rb +17 -9
- data/lib/increase/models/event_subscription_create_params.rb +14 -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 +33 -21
- 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 +3 -4
- 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 +6 -5
- 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 -2
- 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 +48 -26
- data/lib/increase/models/swift_transfer_create_params.rb +28 -19
- data/lib/increase/models/swift_transfer_list_params.rb +23 -16
- data/lib/increase/models/transaction.rb +995 -534
- data/lib/increase/models/transaction_list_params.rb +21 -16
- data/lib/increase/models/unwrap_webhook_event.rb +6 -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 +12 -14
- 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 +6 -5
- 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 +28 -16
- 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/check_transfer.rbi +8 -0
- data/rbi/increase/models/check_transfer_create_params.rbi +35 -36
- data/rbi/increase/models/entity_list_params.rbi +119 -0
- data/rbi/increase/models/pending_transaction_create_params.rbi +4 -4
- data/rbi/increase/resources/entities.rbi +3 -0
- data/rbi/increase/resources/pending_transactions.rbi +2 -2
- 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_list_params.rbs +48 -1
- data/sig/increase/resources/entities.rbs +1 -0
- metadata +2 -2
|
@@ -79,28 +79,44 @@ module Increase
|
|
|
79
79
|
optional :valid_until_date, Date
|
|
80
80
|
|
|
81
81
|
# @!method initialize(account_id:, amount:, fulfillment_method:, source_account_number_id:, balance_check: nil, check_number: nil, physical_check: nil, require_approval: nil, third_party: nil, valid_until_date: nil, request_options: {})
|
|
82
|
-
# Some parameter documentations has been truncated, see
|
|
83
|
-
# {Increase::Models::CheckTransferCreateParams} for more details.
|
|
84
|
-
#
|
|
85
82
|
# @param account_id [String] The identifier for the account that will send the transfer.
|
|
86
83
|
#
|
|
87
84
|
# @param amount [Integer] The transfer amount in USD cents.
|
|
88
85
|
#
|
|
89
|
-
# @param fulfillment_method [Symbol, Increase::Models::CheckTransferCreateParams::FulfillmentMethod]
|
|
86
|
+
# @param fulfillment_method [Symbol, Increase::Models::CheckTransferCreateParams::FulfillmentMethod]
|
|
87
|
+
# Whether Increase will print and mail the check or if you will do it yourself.
|
|
90
88
|
#
|
|
91
|
-
# @param source_account_number_id [String]
|
|
89
|
+
# @param source_account_number_id [String]
|
|
90
|
+
# The identifier of the Account Number from which to send the transfer and print
|
|
91
|
+
# on the check.
|
|
92
92
|
#
|
|
93
|
-
# @param balance_check [Symbol, Increase::Models::CheckTransferCreateParams::BalanceCheck]
|
|
93
|
+
# @param balance_check [Symbol, Increase::Models::CheckTransferCreateParams::BalanceCheck]
|
|
94
|
+
# How the account's available balance should be checked. If omitted, the default
|
|
95
|
+
# behavior is `balance_check: full`.
|
|
94
96
|
#
|
|
95
|
-
# @param check_number [String]
|
|
97
|
+
# @param check_number [String]
|
|
98
|
+
# The check number Increase should use for the check. This should not contain
|
|
99
|
+
# leading zeroes and must be unique across the `source_account_number`. If this is
|
|
100
|
+
# omitted, Increase will generate a check number for you.
|
|
96
101
|
#
|
|
97
|
-
# @param physical_check [Increase::Models::CheckTransferCreateParams::PhysicalCheck]
|
|
102
|
+
# @param physical_check [Increase::Models::CheckTransferCreateParams::PhysicalCheck]
|
|
103
|
+
# Details relating to the physical check that Increase will print and mail. This
|
|
104
|
+
# is required if `fulfillment_method` is equal to `physical_check`. It must not be
|
|
105
|
+
# included if any other `fulfillment_method` is provided.
|
|
98
106
|
#
|
|
99
|
-
# @param require_approval [Boolean]
|
|
107
|
+
# @param require_approval [Boolean]
|
|
108
|
+
# Whether the transfer requires explicit approval via the dashboard or API.
|
|
100
109
|
#
|
|
101
|
-
# @param third_party [Increase::Models::CheckTransferCreateParams::ThirdParty]
|
|
110
|
+
# @param third_party [Increase::Models::CheckTransferCreateParams::ThirdParty]
|
|
111
|
+
# Details relating to the custom fulfillment you will perform. This is required if
|
|
112
|
+
# `fulfillment_method` is equal to `third_party`. It must not be included if any
|
|
113
|
+
# other `fulfillment_method` is provided.
|
|
102
114
|
#
|
|
103
|
-
# @param valid_until_date [Date]
|
|
115
|
+
# @param valid_until_date [Date]
|
|
116
|
+
# If provided, the check will be valid on or before this date. After this date,
|
|
117
|
+
# the check transfer will be automatically stopped and deposits will not be
|
|
118
|
+
# accepted. For checks printed by Increase, this date is included on the check as
|
|
119
|
+
# its expiry.
|
|
104
120
|
#
|
|
105
121
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
106
122
|
|
|
@@ -146,6 +162,15 @@ module Increase
|
|
|
146
162
|
# @return [String]
|
|
147
163
|
required :memo, String
|
|
148
164
|
|
|
165
|
+
# @!attribute payer
|
|
166
|
+
# The payer of the check. This will be printed on the top-left portion of the
|
|
167
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
168
|
+
# line of the payer.
|
|
169
|
+
#
|
|
170
|
+
# @return [Array<Increase::Models::CheckTransferCreateParams::PhysicalCheck::Payer>]
|
|
171
|
+
required :payer,
|
|
172
|
+
-> { Increase::Internal::Type::ArrayOf[Increase::CheckTransferCreateParams::PhysicalCheck::Payer] }
|
|
173
|
+
|
|
149
174
|
# @!attribute recipient_name
|
|
150
175
|
# The name that will be printed on the check in the 'To:' field.
|
|
151
176
|
#
|
|
@@ -174,15 +199,6 @@ module Increase
|
|
|
174
199
|
# @return [String, nil]
|
|
175
200
|
optional :note, String
|
|
176
201
|
|
|
177
|
-
# @!attribute payer
|
|
178
|
-
# The payer of the check. This will be printed on the top-left portion of the
|
|
179
|
-
# check and defaults to the return address if unspecified. This should be an array
|
|
180
|
-
# of up to 4 elements, each of which represents a line of the payer.
|
|
181
|
-
#
|
|
182
|
-
# @return [Array<Increase::Models::CheckTransferCreateParams::PhysicalCheck::Payer>, nil]
|
|
183
|
-
optional :payer,
|
|
184
|
-
-> { Increase::Internal::Type::ArrayOf[Increase::CheckTransferCreateParams::PhysicalCheck::Payer] }
|
|
185
|
-
|
|
186
202
|
# @!attribute return_address
|
|
187
203
|
# The return address to be printed on the check. If omitted this will default to
|
|
188
204
|
# an Increase-owned address that will mark checks as delivery failed and shred
|
|
@@ -191,6 +207,13 @@ module Increase
|
|
|
191
207
|
# @return [Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress, nil]
|
|
192
208
|
optional :return_address, -> { Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress }
|
|
193
209
|
|
|
210
|
+
# @!attribute return_address_name
|
|
211
|
+
# A custom name to print above the default return address. Cannot be provided
|
|
212
|
+
# together with `return_address`.
|
|
213
|
+
#
|
|
214
|
+
# @return [String, nil]
|
|
215
|
+
optional :return_address_name, String
|
|
216
|
+
|
|
194
217
|
# @!attribute shipping_method
|
|
195
218
|
# How to ship the check. For details on pricing, timing, and restrictions, see
|
|
196
219
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
@@ -206,33 +229,52 @@ module Increase
|
|
|
206
229
|
# @return [Increase::Models::CheckTransferCreateParams::PhysicalCheck::Signature, nil]
|
|
207
230
|
optional :signature, -> { Increase::CheckTransferCreateParams::PhysicalCheck::Signature }
|
|
208
231
|
|
|
209
|
-
# @!method initialize(mailing_address:, memo:, recipient_name:, attachment_file_id: nil, check_voucher_image_file_id: nil, note: nil,
|
|
210
|
-
# Some parameter documentations has been truncated, see
|
|
211
|
-
# {Increase::Models::CheckTransferCreateParams::PhysicalCheck} for more details.
|
|
212
|
-
#
|
|
232
|
+
# @!method initialize(mailing_address:, memo:, payer:, recipient_name:, attachment_file_id: nil, check_voucher_image_file_id: nil, note: nil, return_address: nil, return_address_name: nil, shipping_method: nil, signature: nil)
|
|
213
233
|
# Details relating to the physical check that Increase will print and mail. This
|
|
214
234
|
# is required if `fulfillment_method` is equal to `physical_check`. It must not be
|
|
215
235
|
# included if any other `fulfillment_method` is provided.
|
|
216
236
|
#
|
|
217
|
-
# @param mailing_address [Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress]
|
|
237
|
+
# @param mailing_address [Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress]
|
|
238
|
+
# Details for where Increase will mail the check.
|
|
218
239
|
#
|
|
219
240
|
# @param memo [String] The descriptor that will be printed on the memo field on the check.
|
|
220
241
|
#
|
|
242
|
+
# @param payer [Array<Increase::Models::CheckTransferCreateParams::PhysicalCheck::Payer>]
|
|
243
|
+
# The payer of the check. This will be printed on the top-left portion of the
|
|
244
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
245
|
+
# line of the payer.
|
|
246
|
+
#
|
|
221
247
|
# @param recipient_name [String] The name that will be printed on the check in the 'To:' field.
|
|
222
248
|
#
|
|
223
|
-
# @param attachment_file_id [String]
|
|
249
|
+
# @param attachment_file_id [String]
|
|
250
|
+
# The ID of a File to be attached to the check. This must have
|
|
251
|
+
# `purpose: check_attachment`. For details on pricing and restrictions, see
|
|
252
|
+
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
224
253
|
#
|
|
225
|
-
# @param check_voucher_image_file_id [String]
|
|
254
|
+
# @param check_voucher_image_file_id [String]
|
|
255
|
+
# The ID of a File to be used as the check voucher image. This must have
|
|
256
|
+
# `purpose: check_voucher_image`. For details on pricing and restrictions, see
|
|
257
|
+
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
226
258
|
#
|
|
227
259
|
# @param note [String] The descriptor that will be printed on the letter included with the check.
|
|
228
260
|
#
|
|
229
|
-
# @param
|
|
261
|
+
# @param return_address [Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress]
|
|
262
|
+
# The return address to be printed on the check. If omitted this will default to
|
|
263
|
+
# an Increase-owned address that will mark checks as delivery failed and shred
|
|
264
|
+
# them.
|
|
230
265
|
#
|
|
231
|
-
# @param
|
|
266
|
+
# @param return_address_name [String]
|
|
267
|
+
# A custom name to print above the default return address. Cannot be provided
|
|
268
|
+
# together with `return_address`.
|
|
232
269
|
#
|
|
233
|
-
# @param shipping_method [Symbol, Increase::Models::CheckTransferCreateParams::PhysicalCheck::ShippingMethod]
|
|
270
|
+
# @param shipping_method [Symbol, Increase::Models::CheckTransferCreateParams::PhysicalCheck::ShippingMethod]
|
|
271
|
+
# How to ship the check. For details on pricing, timing, and restrictions, see
|
|
272
|
+
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
234
273
|
#
|
|
235
|
-
# @param signature [Increase::Models::CheckTransferCreateParams::PhysicalCheck::Signature]
|
|
274
|
+
# @param signature [Increase::Models::CheckTransferCreateParams::PhysicalCheck::Signature]
|
|
275
|
+
# The signature that will appear on the check. If not provided, the check will be
|
|
276
|
+
# printed with 'No Signature Required'. At most one of `text` and `image_file_id`
|
|
277
|
+
# may be provided.
|
|
236
278
|
|
|
237
279
|
# @see Increase::Models::CheckTransferCreateParams::PhysicalCheck#mailing_address
|
|
238
280
|
class MailingAddress < Increase::Internal::Type::BaseModel
|
|
@@ -282,10 +324,6 @@ module Increase
|
|
|
282
324
|
optional :phone, String
|
|
283
325
|
|
|
284
326
|
# @!method initialize(city:, line1:, postal_code:, state:, line2: nil, name: nil, phone: nil)
|
|
285
|
-
# Some parameter documentations has been truncated, see
|
|
286
|
-
# {Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress} for
|
|
287
|
-
# more details.
|
|
288
|
-
#
|
|
289
327
|
# Details for where Increase will mail the check.
|
|
290
328
|
#
|
|
291
329
|
# @param city [String] The city component of the check's destination address.
|
|
@@ -298,9 +336,14 @@ module Increase
|
|
|
298
336
|
#
|
|
299
337
|
# @param line2 [String] The second line of the address component of the check's destination address.
|
|
300
338
|
#
|
|
301
|
-
# @param name [String]
|
|
339
|
+
# @param name [String]
|
|
340
|
+
# The name component of the check's destination address. Defaults to the provided
|
|
341
|
+
# `recipient_name` parameter if `name` is not provided.
|
|
302
342
|
#
|
|
303
|
-
# @param phone [String]
|
|
343
|
+
# @param phone [String]
|
|
344
|
+
# The phone number to associate with the check's destination address. The phone
|
|
345
|
+
# number is only used when `shipping_method` is `fedex_overnight` and will be
|
|
346
|
+
# supplied to FedEx to be used in case of delivery issues.
|
|
304
347
|
end
|
|
305
348
|
|
|
306
349
|
class Payer < Increase::Internal::Type::BaseModel
|
|
@@ -361,10 +404,6 @@ module Increase
|
|
|
361
404
|
optional :phone, String
|
|
362
405
|
|
|
363
406
|
# @!method initialize(city:, line1:, name:, postal_code:, state:, line2: nil, phone: nil)
|
|
364
|
-
# Some parameter documentations has been truncated, see
|
|
365
|
-
# {Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress} for
|
|
366
|
-
# more details.
|
|
367
|
-
#
|
|
368
407
|
# The return address to be printed on the check. If omitted this will default to
|
|
369
408
|
# an Increase-owned address that will mark checks as delivery failed and shred
|
|
370
409
|
# them.
|
|
@@ -381,7 +420,10 @@ module Increase
|
|
|
381
420
|
#
|
|
382
421
|
# @param line2 [String] The second line of the return address.
|
|
383
422
|
#
|
|
384
|
-
# @param phone [String]
|
|
423
|
+
# @param phone [String]
|
|
424
|
+
# The phone number to associate with the shipper. The phone number is only used
|
|
425
|
+
# when `shipping_method` is `fedex_overnight` and will be supplied to FedEx to be
|
|
426
|
+
# used in case of delivery issues.
|
|
385
427
|
end
|
|
386
428
|
|
|
387
429
|
# How to ship the check. For details on pricing, timing, and restrictions, see
|
|
@@ -417,15 +459,13 @@ module Increase
|
|
|
417
459
|
optional :text, String
|
|
418
460
|
|
|
419
461
|
# @!method initialize(image_file_id: nil, text: nil)
|
|
420
|
-
# Some parameter documentations has been truncated, see
|
|
421
|
-
# {Increase::Models::CheckTransferCreateParams::PhysicalCheck::Signature} for more
|
|
422
|
-
# details.
|
|
423
|
-
#
|
|
424
462
|
# The signature that will appear on the check. If not provided, the check will be
|
|
425
463
|
# printed with 'No Signature Required'. At most one of `text` and `image_file_id`
|
|
426
464
|
# may be provided.
|
|
427
465
|
#
|
|
428
|
-
# @param image_file_id [String]
|
|
466
|
+
# @param image_file_id [String]
|
|
467
|
+
# The ID of a File containing a PNG of the signature. This must have
|
|
468
|
+
# `purpose: check_signature` and be a 1320x120 pixel PNG.
|
|
429
469
|
#
|
|
430
470
|
# @param text [String] The text that will appear as the signature on the check in cursive font.
|
|
431
471
|
end
|
|
@@ -441,14 +481,14 @@ module Increase
|
|
|
441
481
|
optional :recipient_name, String
|
|
442
482
|
|
|
443
483
|
# @!method initialize(recipient_name: nil)
|
|
444
|
-
# Some parameter documentations has been truncated, see
|
|
445
|
-
# {Increase::Models::CheckTransferCreateParams::ThirdParty} for more details.
|
|
446
|
-
#
|
|
447
484
|
# Details relating to the custom fulfillment you will perform. This is required if
|
|
448
485
|
# `fulfillment_method` is equal to `third_party`. It must not be included if any
|
|
449
486
|
# other `fulfillment_method` is provided.
|
|
450
487
|
#
|
|
451
|
-
# @param recipient_name [String]
|
|
488
|
+
# @param recipient_name [String]
|
|
489
|
+
# The pay-to name you will print on the check. If provided, this is used for
|
|
490
|
+
# [Positive Pay](/documentation/positive-pay). If this is omitted, Increase will
|
|
491
|
+
# be unable to validate the payer name when the check is deposited.
|
|
452
492
|
end
|
|
453
493
|
end
|
|
454
494
|
end
|
|
@@ -46,18 +46,21 @@ module Increase
|
|
|
46
46
|
optional :status, -> { Increase::CheckTransferListParams::Status }
|
|
47
47
|
|
|
48
48
|
# @!method initialize(account_id: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {})
|
|
49
|
-
# Some parameter documentations has been truncated, see
|
|
50
|
-
# {Increase::Models::CheckTransferListParams} for more details.
|
|
51
|
-
#
|
|
52
49
|
# @param account_id [String] Filter Check Transfers to those that originated from the specified Account.
|
|
53
50
|
#
|
|
54
51
|
# @param created_at [Increase::Models::CheckTransferListParams::CreatedAt]
|
|
55
52
|
#
|
|
56
53
|
# @param cursor [String] Return the page of entries after this one.
|
|
57
54
|
#
|
|
58
|
-
# @param idempotency_key [String]
|
|
55
|
+
# @param idempotency_key [String]
|
|
56
|
+
# Filter records to the one with the specified `idempotency_key` you chose for
|
|
57
|
+
# that object. This value is unique across Increase and is used to ensure that a
|
|
58
|
+
# request is only processed once. Learn more about
|
|
59
|
+
# [idempotency](https://increase.com/documentation/idempotency-keys).
|
|
59
60
|
#
|
|
60
|
-
# @param limit [Integer]
|
|
61
|
+
# @param limit [Integer]
|
|
62
|
+
# Limit the size of the list that is returned. The default (and maximum) is 100
|
|
63
|
+
# objects.
|
|
61
64
|
#
|
|
62
65
|
# @param status [Increase::Models::CheckTransferListParams::Status]
|
|
63
66
|
#
|
|
@@ -93,16 +96,21 @@ module Increase
|
|
|
93
96
|
optional :on_or_before, Time
|
|
94
97
|
|
|
95
98
|
# @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil)
|
|
96
|
-
#
|
|
97
|
-
#
|
|
98
|
-
#
|
|
99
|
-
# @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim
|
|
99
|
+
# @param after [Time]
|
|
100
|
+
# Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
101
|
+
# timestamp.
|
|
100
102
|
#
|
|
101
|
-
# @param before [Time]
|
|
103
|
+
# @param before [Time]
|
|
104
|
+
# Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
|
|
105
|
+
# timestamp.
|
|
102
106
|
#
|
|
103
|
-
# @param on_or_after [Time]
|
|
107
|
+
# @param on_or_after [Time]
|
|
108
|
+
# Return results on or after this
|
|
109
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
104
110
|
#
|
|
105
|
-
# @param on_or_before [Time]
|
|
111
|
+
# @param on_or_before [Time]
|
|
112
|
+
# Return results on or before this
|
|
113
|
+
# [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
|
|
106
114
|
end
|
|
107
115
|
|
|
108
116
|
class Status < Increase::Internal::Type::BaseModel
|
|
@@ -119,10 +127,10 @@ module Increase
|
|
|
119
127
|
api_name: :in
|
|
120
128
|
|
|
121
129
|
# @!method initialize(in_: nil)
|
|
122
|
-
#
|
|
123
|
-
#
|
|
124
|
-
#
|
|
125
|
-
#
|
|
130
|
+
# @param in_ [Array<Symbol, Increase::Models::CheckTransferListParams::Status::In>]
|
|
131
|
+
# Filter Check Transfers to those that have the specified status. For GET
|
|
132
|
+
# requests, this should be encoded as a comma-delimited string, such as
|
|
133
|
+
# `?in=one,two,three`.
|
|
126
134
|
|
|
127
135
|
module In
|
|
128
136
|
extend Increase::Internal::Type::Enum
|
|
@@ -22,7 +22,8 @@ module Increase
|
|
|
22
22
|
# @!method initialize(check_transfer_id:, reason: nil, request_options: {})
|
|
23
23
|
# @param check_transfer_id [String] The identifier of the Check Transfer.
|
|
24
24
|
#
|
|
25
|
-
# @param reason [Symbol, Increase::Models::CheckTransferStopPaymentParams::Reason]
|
|
25
|
+
# @param reason [Symbol, Increase::Models::CheckTransferStopPaymentParams::Reason]
|
|
26
|
+
# The reason why this transfer should be stopped.
|
|
26
27
|
#
|
|
27
28
|
# @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}]
|
|
28
29
|
|