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
|
@@ -152,14 +152,18 @@ module Increase
|
|
|
152
152
|
sig { returns(String) }
|
|
153
153
|
attr_accessor :city
|
|
154
154
|
|
|
155
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
156
|
-
sig { returns(String) }
|
|
157
|
-
attr_accessor :country
|
|
158
|
-
|
|
159
155
|
# The first line of the address. This is usually the street number and street.
|
|
160
156
|
sig { returns(String) }
|
|
161
157
|
attr_accessor :line1
|
|
162
158
|
|
|
159
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
160
|
+
# to `US`.
|
|
161
|
+
sig { returns(T.nilable(String)) }
|
|
162
|
+
attr_reader :country
|
|
163
|
+
|
|
164
|
+
sig { params(country: String).void }
|
|
165
|
+
attr_writer :country
|
|
166
|
+
|
|
163
167
|
# The second line of the address. This might be the floor or room number.
|
|
164
168
|
sig { returns(T.nilable(String)) }
|
|
165
169
|
attr_reader :line2
|
|
@@ -187,8 +191,8 @@ module Increase
|
|
|
187
191
|
sig do
|
|
188
192
|
params(
|
|
189
193
|
city: String,
|
|
190
|
-
country: String,
|
|
191
194
|
line1: String,
|
|
195
|
+
country: String,
|
|
192
196
|
line2: String,
|
|
193
197
|
state: String,
|
|
194
198
|
zip: String
|
|
@@ -197,10 +201,11 @@ module Increase
|
|
|
197
201
|
def self.new(
|
|
198
202
|
# The city, district, town, or village of the address.
|
|
199
203
|
city:,
|
|
200
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
201
|
-
country:,
|
|
202
204
|
# The first line of the address. This is usually the street number and street.
|
|
203
205
|
line1:,
|
|
206
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
207
|
+
# to `US`.
|
|
208
|
+
country: nil,
|
|
204
209
|
# The second line of the address. This might be the floor or room number.
|
|
205
210
|
line2: nil,
|
|
206
211
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -215,8 +220,8 @@ module Increase
|
|
|
215
220
|
override.returns(
|
|
216
221
|
{
|
|
217
222
|
city: String,
|
|
218
|
-
country: String,
|
|
219
223
|
line1: String,
|
|
224
|
+
country: String,
|
|
220
225
|
line2: String,
|
|
221
226
|
state: String,
|
|
222
227
|
zip: String
|
|
@@ -813,6 +813,10 @@ module Increase
|
|
|
813
813
|
end
|
|
814
814
|
attr_writer :return_address
|
|
815
815
|
|
|
816
|
+
# A custom name printed above the Increase-managed return address.
|
|
817
|
+
sig { returns(T.nilable(String)) }
|
|
818
|
+
attr_accessor :return_address_name
|
|
819
|
+
|
|
816
820
|
# The shipping method for the check.
|
|
817
821
|
sig do
|
|
818
822
|
returns(
|
|
@@ -832,7 +836,8 @@ module Increase
|
|
|
832
836
|
end
|
|
833
837
|
attr_writer :signature
|
|
834
838
|
|
|
835
|
-
# Tracking updates relating to the physical check's delivery.
|
|
839
|
+
# Tracking updates relating to the physical check's delivery. Sorted by
|
|
840
|
+
# `created_at` in ascending order.
|
|
836
841
|
sig do
|
|
837
842
|
returns(
|
|
838
843
|
T::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate]
|
|
@@ -857,6 +862,7 @@ module Increase
|
|
|
857
862
|
T.nilable(
|
|
858
863
|
Increase::CheckTransfer::PhysicalCheck::ReturnAddress::OrHash
|
|
859
864
|
),
|
|
865
|
+
return_address_name: T.nilable(String),
|
|
860
866
|
shipping_method:
|
|
861
867
|
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::OrSymbol,
|
|
862
868
|
signature:
|
|
@@ -885,11 +891,14 @@ module Increase
|
|
|
885
891
|
recipient_name:,
|
|
886
892
|
# The return address to be printed on the check.
|
|
887
893
|
return_address:,
|
|
894
|
+
# A custom name printed above the Increase-managed return address.
|
|
895
|
+
return_address_name:,
|
|
888
896
|
# The shipping method for the check.
|
|
889
897
|
shipping_method:,
|
|
890
898
|
# The signature that will appear on the check.
|
|
891
899
|
signature:,
|
|
892
|
-
# Tracking updates relating to the physical check's delivery.
|
|
900
|
+
# Tracking updates relating to the physical check's delivery. Sorted by
|
|
901
|
+
# `created_at` in ascending order.
|
|
893
902
|
tracking_updates:
|
|
894
903
|
)
|
|
895
904
|
end
|
|
@@ -909,6 +918,7 @@ module Increase
|
|
|
909
918
|
T.nilable(
|
|
910
919
|
Increase::CheckTransfer::PhysicalCheck::ReturnAddress
|
|
911
920
|
),
|
|
921
|
+
return_address_name: T.nilable(String),
|
|
912
922
|
shipping_method:
|
|
913
923
|
Increase::CheckTransfer::PhysicalCheck::ShippingMethod::TaggedSymbol,
|
|
914
924
|
signature: Increase::CheckTransfer::PhysicalCheck::Signature,
|
|
@@ -288,6 +288,16 @@ module Increase
|
|
|
288
288
|
sig { returns(String) }
|
|
289
289
|
attr_accessor :memo
|
|
290
290
|
|
|
291
|
+
# The payer of the check. This will be printed on the top-left portion of the
|
|
292
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
293
|
+
# line of the payer.
|
|
294
|
+
sig do
|
|
295
|
+
returns(
|
|
296
|
+
T::Array[Increase::CheckTransferCreateParams::PhysicalCheck::Payer]
|
|
297
|
+
)
|
|
298
|
+
end
|
|
299
|
+
attr_accessor :payer
|
|
300
|
+
|
|
291
301
|
# The name that will be printed on the check in the 'To:' field.
|
|
292
302
|
sig { returns(String) }
|
|
293
303
|
attr_accessor :recipient_name
|
|
@@ -317,30 +327,6 @@ module Increase
|
|
|
317
327
|
sig { params(note: String).void }
|
|
318
328
|
attr_writer :note
|
|
319
329
|
|
|
320
|
-
# The payer of the check. This will be printed on the top-left portion of the
|
|
321
|
-
# check and defaults to the return address if unspecified. This should be an array
|
|
322
|
-
# of up to 4 elements, each of which represents a line of the payer.
|
|
323
|
-
sig do
|
|
324
|
-
returns(
|
|
325
|
-
T.nilable(
|
|
326
|
-
T::Array[
|
|
327
|
-
Increase::CheckTransferCreateParams::PhysicalCheck::Payer
|
|
328
|
-
]
|
|
329
|
-
)
|
|
330
|
-
)
|
|
331
|
-
end
|
|
332
|
-
attr_reader :payer
|
|
333
|
-
|
|
334
|
-
sig do
|
|
335
|
-
params(
|
|
336
|
-
payer:
|
|
337
|
-
T::Array[
|
|
338
|
-
Increase::CheckTransferCreateParams::PhysicalCheck::Payer::OrHash
|
|
339
|
-
]
|
|
340
|
-
).void
|
|
341
|
-
end
|
|
342
|
-
attr_writer :payer
|
|
343
|
-
|
|
344
330
|
# The return address to be printed on the check. If omitted this will default to
|
|
345
331
|
# an Increase-owned address that will mark checks as delivery failed and shred
|
|
346
332
|
# them.
|
|
@@ -361,6 +347,14 @@ module Increase
|
|
|
361
347
|
end
|
|
362
348
|
attr_writer :return_address
|
|
363
349
|
|
|
350
|
+
# A custom name to print above the default return address. Cannot be provided
|
|
351
|
+
# together with `return_address`.
|
|
352
|
+
sig { returns(T.nilable(String)) }
|
|
353
|
+
attr_reader :return_address_name
|
|
354
|
+
|
|
355
|
+
sig { params(return_address_name: String).void }
|
|
356
|
+
attr_writer :return_address_name
|
|
357
|
+
|
|
364
358
|
# How to ship the check. For details on pricing, timing, and restrictions, see
|
|
365
359
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
366
360
|
sig do
|
|
@@ -408,16 +402,17 @@ module Increase
|
|
|
408
402
|
mailing_address:
|
|
409
403
|
Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress::OrHash,
|
|
410
404
|
memo: String,
|
|
411
|
-
recipient_name: String,
|
|
412
|
-
attachment_file_id: String,
|
|
413
|
-
check_voucher_image_file_id: String,
|
|
414
|
-
note: String,
|
|
415
405
|
payer:
|
|
416
406
|
T::Array[
|
|
417
407
|
Increase::CheckTransferCreateParams::PhysicalCheck::Payer::OrHash
|
|
418
408
|
],
|
|
409
|
+
recipient_name: String,
|
|
410
|
+
attachment_file_id: String,
|
|
411
|
+
check_voucher_image_file_id: String,
|
|
412
|
+
note: String,
|
|
419
413
|
return_address:
|
|
420
414
|
Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress::OrHash,
|
|
415
|
+
return_address_name: String,
|
|
421
416
|
shipping_method:
|
|
422
417
|
Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod::OrSymbol,
|
|
423
418
|
signature:
|
|
@@ -429,6 +424,10 @@ module Increase
|
|
|
429
424
|
mailing_address:,
|
|
430
425
|
# The descriptor that will be printed on the memo field on the check.
|
|
431
426
|
memo:,
|
|
427
|
+
# The payer of the check. This will be printed on the top-left portion of the
|
|
428
|
+
# check. This should be an array of up to 4 elements, each of which represents a
|
|
429
|
+
# line of the payer.
|
|
430
|
+
payer:,
|
|
432
431
|
# The name that will be printed on the check in the 'To:' field.
|
|
433
432
|
recipient_name:,
|
|
434
433
|
# The ID of a File to be attached to the check. This must have
|
|
@@ -441,14 +440,13 @@ module Increase
|
|
|
441
440
|
check_voucher_image_file_id: nil,
|
|
442
441
|
# The descriptor that will be printed on the letter included with the check.
|
|
443
442
|
note: nil,
|
|
444
|
-
# The payer of the check. This will be printed on the top-left portion of the
|
|
445
|
-
# check and defaults to the return address if unspecified. This should be an array
|
|
446
|
-
# of up to 4 elements, each of which represents a line of the payer.
|
|
447
|
-
payer: nil,
|
|
448
443
|
# The return address to be printed on the check. If omitted this will default to
|
|
449
444
|
# an Increase-owned address that will mark checks as delivery failed and shred
|
|
450
445
|
# them.
|
|
451
446
|
return_address: nil,
|
|
447
|
+
# A custom name to print above the default return address. Cannot be provided
|
|
448
|
+
# together with `return_address`.
|
|
449
|
+
return_address_name: nil,
|
|
452
450
|
# How to ship the check. For details on pricing, timing, and restrictions, see
|
|
453
451
|
# https://increase.com/documentation/originating-checks#printing-checks .
|
|
454
452
|
shipping_method: nil,
|
|
@@ -465,16 +463,17 @@ module Increase
|
|
|
465
463
|
mailing_address:
|
|
466
464
|
Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress,
|
|
467
465
|
memo: String,
|
|
468
|
-
recipient_name: String,
|
|
469
|
-
attachment_file_id: String,
|
|
470
|
-
check_voucher_image_file_id: String,
|
|
471
|
-
note: String,
|
|
472
466
|
payer:
|
|
473
467
|
T::Array[
|
|
474
468
|
Increase::CheckTransferCreateParams::PhysicalCheck::Payer
|
|
475
469
|
],
|
|
470
|
+
recipient_name: String,
|
|
471
|
+
attachment_file_id: String,
|
|
472
|
+
check_voucher_image_file_id: String,
|
|
473
|
+
note: String,
|
|
476
474
|
return_address:
|
|
477
475
|
Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress,
|
|
476
|
+
return_address_name: String,
|
|
478
477
|
shipping_method:
|
|
479
478
|
Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod::OrSymbol,
|
|
480
479
|
signature:
|
|
@@ -477,14 +477,18 @@ module Increase
|
|
|
477
477
|
sig { returns(String) }
|
|
478
478
|
attr_accessor :city
|
|
479
479
|
|
|
480
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
481
|
-
sig { returns(String) }
|
|
482
|
-
attr_accessor :country
|
|
483
|
-
|
|
484
480
|
# The first line of the address. This is usually the street number and street.
|
|
485
481
|
sig { returns(String) }
|
|
486
482
|
attr_accessor :line1
|
|
487
483
|
|
|
484
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
485
|
+
# to `US`.
|
|
486
|
+
sig { returns(T.nilable(String)) }
|
|
487
|
+
attr_reader :country
|
|
488
|
+
|
|
489
|
+
sig { params(country: String).void }
|
|
490
|
+
attr_writer :country
|
|
491
|
+
|
|
488
492
|
# The second line of the address. This might be the floor or room number.
|
|
489
493
|
sig { returns(T.nilable(String)) }
|
|
490
494
|
attr_reader :line2
|
|
@@ -512,8 +516,8 @@ module Increase
|
|
|
512
516
|
sig do
|
|
513
517
|
params(
|
|
514
518
|
city: String,
|
|
515
|
-
country: String,
|
|
516
519
|
line1: String,
|
|
520
|
+
country: String,
|
|
517
521
|
line2: String,
|
|
518
522
|
state: String,
|
|
519
523
|
zip: String
|
|
@@ -522,10 +526,11 @@ module Increase
|
|
|
522
526
|
def self.new(
|
|
523
527
|
# The city, district, town, or village of the address.
|
|
524
528
|
city:,
|
|
525
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
526
|
-
country:,
|
|
527
529
|
# The first line of the address. This is usually the street number and street.
|
|
528
530
|
line1:,
|
|
531
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
532
|
+
# to `US`.
|
|
533
|
+
country: nil,
|
|
529
534
|
# The second line of the address. This might be the floor or room number.
|
|
530
535
|
line2: nil,
|
|
531
536
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -540,8 +545,8 @@ module Increase
|
|
|
540
545
|
override.returns(
|
|
541
546
|
{
|
|
542
547
|
city: String,
|
|
543
|
-
country: String,
|
|
544
548
|
line1: String,
|
|
549
|
+
country: String,
|
|
545
550
|
line2: String,
|
|
546
551
|
state: String,
|
|
547
552
|
zip: String
|
|
@@ -754,14 +759,18 @@ module Increase
|
|
|
754
759
|
sig { returns(String) }
|
|
755
760
|
attr_accessor :city
|
|
756
761
|
|
|
757
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
758
|
-
sig { returns(String) }
|
|
759
|
-
attr_accessor :country
|
|
760
|
-
|
|
761
762
|
# The first line of the address. This is usually the street number and street.
|
|
762
763
|
sig { returns(String) }
|
|
763
764
|
attr_accessor :line1
|
|
764
765
|
|
|
766
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
767
|
+
# to `US`.
|
|
768
|
+
sig { returns(T.nilable(String)) }
|
|
769
|
+
attr_reader :country
|
|
770
|
+
|
|
771
|
+
sig { params(country: String).void }
|
|
772
|
+
attr_writer :country
|
|
773
|
+
|
|
765
774
|
# The second line of the address. This might be the floor or room number.
|
|
766
775
|
sig { returns(T.nilable(String)) }
|
|
767
776
|
attr_reader :line2
|
|
@@ -789,8 +798,8 @@ module Increase
|
|
|
789
798
|
sig do
|
|
790
799
|
params(
|
|
791
800
|
city: String,
|
|
792
|
-
country: String,
|
|
793
801
|
line1: String,
|
|
802
|
+
country: String,
|
|
794
803
|
line2: String,
|
|
795
804
|
state: String,
|
|
796
805
|
zip: String
|
|
@@ -799,10 +808,11 @@ module Increase
|
|
|
799
808
|
def self.new(
|
|
800
809
|
# The city, district, town, or village of the address.
|
|
801
810
|
city:,
|
|
802
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
803
|
-
country:,
|
|
804
811
|
# The first line of the address. This is usually the street number and street.
|
|
805
812
|
line1:,
|
|
813
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
814
|
+
# to `US`.
|
|
815
|
+
country: nil,
|
|
806
816
|
# The second line of the address. This might be the floor or room number.
|
|
807
817
|
line2: nil,
|
|
808
818
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -817,8 +827,8 @@ module Increase
|
|
|
817
827
|
override.returns(
|
|
818
828
|
{
|
|
819
829
|
city: String,
|
|
820
|
-
country: String,
|
|
821
830
|
line1: String,
|
|
831
|
+
country: String,
|
|
822
832
|
line2: String,
|
|
823
833
|
state: String,
|
|
824
834
|
zip: String
|
|
@@ -1844,14 +1854,18 @@ module Increase
|
|
|
1844
1854
|
sig { returns(String) }
|
|
1845
1855
|
attr_accessor :city
|
|
1846
1856
|
|
|
1847
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1848
|
-
sig { returns(String) }
|
|
1849
|
-
attr_accessor :country
|
|
1850
|
-
|
|
1851
1857
|
# The first line of the address. This is usually the street number and street.
|
|
1852
1858
|
sig { returns(String) }
|
|
1853
1859
|
attr_accessor :line1
|
|
1854
1860
|
|
|
1861
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
1862
|
+
# to `US`.
|
|
1863
|
+
sig { returns(T.nilable(String)) }
|
|
1864
|
+
attr_reader :country
|
|
1865
|
+
|
|
1866
|
+
sig { params(country: String).void }
|
|
1867
|
+
attr_writer :country
|
|
1868
|
+
|
|
1855
1869
|
# The second line of the address. This might be the floor or room number.
|
|
1856
1870
|
sig { returns(T.nilable(String)) }
|
|
1857
1871
|
attr_reader :line2
|
|
@@ -1879,8 +1893,8 @@ module Increase
|
|
|
1879
1893
|
sig do
|
|
1880
1894
|
params(
|
|
1881
1895
|
city: String,
|
|
1882
|
-
country: String,
|
|
1883
1896
|
line1: String,
|
|
1897
|
+
country: String,
|
|
1884
1898
|
line2: String,
|
|
1885
1899
|
state: String,
|
|
1886
1900
|
zip: String
|
|
@@ -1889,10 +1903,11 @@ module Increase
|
|
|
1889
1903
|
def self.new(
|
|
1890
1904
|
# The city, district, town, or village of the address.
|
|
1891
1905
|
city:,
|
|
1892
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
1893
|
-
country:,
|
|
1894
1906
|
# The first line of the address. This is usually the street number and street.
|
|
1895
1907
|
line1:,
|
|
1908
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
1909
|
+
# to `US`.
|
|
1910
|
+
country: nil,
|
|
1896
1911
|
# The second line of the address. This might be the floor or room number.
|
|
1897
1912
|
line2: nil,
|
|
1898
1913
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -1907,8 +1922,8 @@ module Increase
|
|
|
1907
1922
|
override.returns(
|
|
1908
1923
|
{
|
|
1909
1924
|
city: String,
|
|
1910
|
-
country: String,
|
|
1911
1925
|
line1: String,
|
|
1926
|
+
country: String,
|
|
1912
1927
|
line2: String,
|
|
1913
1928
|
state: String,
|
|
1914
1929
|
zip: String
|
|
@@ -2425,14 +2440,18 @@ module Increase
|
|
|
2425
2440
|
sig { returns(String) }
|
|
2426
2441
|
attr_accessor :city
|
|
2427
2442
|
|
|
2428
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2429
|
-
sig { returns(String) }
|
|
2430
|
-
attr_accessor :country
|
|
2431
|
-
|
|
2432
2443
|
# The first line of the address. This is usually the street number and street.
|
|
2433
2444
|
sig { returns(String) }
|
|
2434
2445
|
attr_accessor :line1
|
|
2435
2446
|
|
|
2447
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
2448
|
+
# to `US`.
|
|
2449
|
+
sig { returns(T.nilable(String)) }
|
|
2450
|
+
attr_reader :country
|
|
2451
|
+
|
|
2452
|
+
sig { params(country: String).void }
|
|
2453
|
+
attr_writer :country
|
|
2454
|
+
|
|
2436
2455
|
# The second line of the address. This might be the floor or room number.
|
|
2437
2456
|
sig { returns(T.nilable(String)) }
|
|
2438
2457
|
attr_reader :line2
|
|
@@ -2460,8 +2479,8 @@ module Increase
|
|
|
2460
2479
|
sig do
|
|
2461
2480
|
params(
|
|
2462
2481
|
city: String,
|
|
2463
|
-
country: String,
|
|
2464
2482
|
line1: String,
|
|
2483
|
+
country: String,
|
|
2465
2484
|
line2: String,
|
|
2466
2485
|
state: String,
|
|
2467
2486
|
zip: String
|
|
@@ -2470,10 +2489,11 @@ module Increase
|
|
|
2470
2489
|
def self.new(
|
|
2471
2490
|
# The city, district, town, or village of the address.
|
|
2472
2491
|
city:,
|
|
2473
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2474
|
-
country:,
|
|
2475
2492
|
# The first line of the address. This is usually the street number and street.
|
|
2476
2493
|
line1:,
|
|
2494
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
2495
|
+
# to `US`.
|
|
2496
|
+
country: nil,
|
|
2477
2497
|
# The second line of the address. This might be the floor or room number.
|
|
2478
2498
|
line2: nil,
|
|
2479
2499
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -2488,8 +2508,8 @@ module Increase
|
|
|
2488
2508
|
override.returns(
|
|
2489
2509
|
{
|
|
2490
2510
|
city: String,
|
|
2491
|
-
country: String,
|
|
2492
2511
|
line1: String,
|
|
2512
|
+
country: String,
|
|
2493
2513
|
line2: String,
|
|
2494
2514
|
state: String,
|
|
2495
2515
|
zip: String
|
|
@@ -3618,14 +3638,18 @@ module Increase
|
|
|
3618
3638
|
sig { returns(String) }
|
|
3619
3639
|
attr_accessor :city
|
|
3620
3640
|
|
|
3621
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3622
|
-
sig { returns(String) }
|
|
3623
|
-
attr_accessor :country
|
|
3624
|
-
|
|
3625
3641
|
# The first line of the address. This is usually the street number and street.
|
|
3626
3642
|
sig { returns(String) }
|
|
3627
3643
|
attr_accessor :line1
|
|
3628
3644
|
|
|
3645
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
3646
|
+
# to `US`.
|
|
3647
|
+
sig { returns(T.nilable(String)) }
|
|
3648
|
+
attr_reader :country
|
|
3649
|
+
|
|
3650
|
+
sig { params(country: String).void }
|
|
3651
|
+
attr_writer :country
|
|
3652
|
+
|
|
3629
3653
|
# The second line of the address. This might be the floor or room number.
|
|
3630
3654
|
sig { returns(T.nilable(String)) }
|
|
3631
3655
|
attr_reader :line2
|
|
@@ -3653,8 +3677,8 @@ module Increase
|
|
|
3653
3677
|
sig do
|
|
3654
3678
|
params(
|
|
3655
3679
|
city: String,
|
|
3656
|
-
country: String,
|
|
3657
3680
|
line1: String,
|
|
3681
|
+
country: String,
|
|
3658
3682
|
line2: String,
|
|
3659
3683
|
state: String,
|
|
3660
3684
|
zip: String
|
|
@@ -3663,10 +3687,11 @@ module Increase
|
|
|
3663
3687
|
def self.new(
|
|
3664
3688
|
# The city, district, town, or village of the address.
|
|
3665
3689
|
city:,
|
|
3666
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
3667
|
-
country:,
|
|
3668
3690
|
# The first line of the address. This is usually the street number and street.
|
|
3669
3691
|
line1:,
|
|
3692
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
3693
|
+
# to `US`.
|
|
3694
|
+
country: nil,
|
|
3670
3695
|
# The second line of the address. This might be the floor or room number.
|
|
3671
3696
|
line2: nil,
|
|
3672
3697
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -3681,8 +3706,8 @@ module Increase
|
|
|
3681
3706
|
override.returns(
|
|
3682
3707
|
{
|
|
3683
3708
|
city: String,
|
|
3684
|
-
country: String,
|
|
3685
3709
|
line1: String,
|
|
3710
|
+
country: String,
|
|
3686
3711
|
line2: String,
|
|
3687
3712
|
state: String,
|
|
3688
3713
|
zip: String
|
|
@@ -4198,14 +4223,18 @@ module Increase
|
|
|
4198
4223
|
sig { returns(String) }
|
|
4199
4224
|
attr_accessor :city
|
|
4200
4225
|
|
|
4201
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
4202
|
-
sig { returns(String) }
|
|
4203
|
-
attr_accessor :country
|
|
4204
|
-
|
|
4205
4226
|
# The first line of the address. This is usually the street number and street.
|
|
4206
4227
|
sig { returns(String) }
|
|
4207
4228
|
attr_accessor :line1
|
|
4208
4229
|
|
|
4230
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
4231
|
+
# to `US`.
|
|
4232
|
+
sig { returns(T.nilable(String)) }
|
|
4233
|
+
attr_reader :country
|
|
4234
|
+
|
|
4235
|
+
sig { params(country: String).void }
|
|
4236
|
+
attr_writer :country
|
|
4237
|
+
|
|
4209
4238
|
# The second line of the address. This might be the floor or room number.
|
|
4210
4239
|
sig { returns(T.nilable(String)) }
|
|
4211
4240
|
attr_reader :line2
|
|
@@ -4233,8 +4262,8 @@ module Increase
|
|
|
4233
4262
|
sig do
|
|
4234
4263
|
params(
|
|
4235
4264
|
city: String,
|
|
4236
|
-
country: String,
|
|
4237
4265
|
line1: String,
|
|
4266
|
+
country: String,
|
|
4238
4267
|
line2: String,
|
|
4239
4268
|
state: String,
|
|
4240
4269
|
zip: String
|
|
@@ -4243,10 +4272,11 @@ module Increase
|
|
|
4243
4272
|
def self.new(
|
|
4244
4273
|
# The city, district, town, or village of the address.
|
|
4245
4274
|
city:,
|
|
4246
|
-
# The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
4247
|
-
country:,
|
|
4248
4275
|
# The first line of the address. This is usually the street number and street.
|
|
4249
4276
|
line1:,
|
|
4277
|
+
# The two-letter ISO 3166-1 alpha-2 code for the country of the address. Defaults
|
|
4278
|
+
# to `US`.
|
|
4279
|
+
country: nil,
|
|
4250
4280
|
# The second line of the address. This might be the floor or room number.
|
|
4251
4281
|
line2: nil,
|
|
4252
4282
|
# The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
@@ -4261,8 +4291,8 @@ module Increase
|
|
|
4261
4291
|
override.returns(
|
|
4262
4292
|
{
|
|
4263
4293
|
city: String,
|
|
4264
|
-
country: String,
|
|
4265
4294
|
line1: String,
|
|
4295
|
+
country: String,
|
|
4266
4296
|
line2: String,
|
|
4267
4297
|
state: String,
|
|
4268
4298
|
zip: String
|