From 3846f08fefcddec7cefbf86e3a3fbfa535318d94 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 20 May 2025 21:58:37 +0000 Subject: [PATCH 1/7] chore: refine Yard and Sorbet types and ensure linting is turned on for examples --- Rakefile | 13 ++++++++----- lib/increase/internal.rb | 3 +++ lib/increase/models/file_create_params.rb | 4 ++-- lib/increase/resources/files.rb | 2 +- rbi/increase/internal.rbi | 3 +++ rbi/increase/models/file_create_params.rbi | 6 +++--- rbi/increase/resources/files.rbi | 2 +- sig/increase/internal.rbs | 2 ++ sig/increase/models/file_create_params.rbs | 6 +++--- sig/increase/resources/files.rbs | 2 +- sorbet/config | 2 +- .../internal/sorbet_runtime_support_test.rb | 1 + 12 files changed, 29 insertions(+), 17 deletions(-) diff --git a/Rakefile b/Rakefile index 9e3c5de7b..02920f625 100644 --- a/Rakefile +++ b/Rakefile @@ -9,6 +9,7 @@ require "rake/clean" require "rubocop/rake_task" tapioca = "sorbet/tapioca" +examples = "examples" ignore_file = ".ignore" CLEAN.push(*%w[.idea/ .ruby-lsp/ .yardoc/ doc/], *FileList["*.gem"], ignore_file) @@ -39,7 +40,7 @@ locale = {"LC_ALL" => "C.UTF-8"} desc("Lint `*.rb(i)`") multitask(:"lint:rubocop") do - find = %w[find ./lib ./test ./rbi -type f -and ( -name *.rb -or -name *.rbi ) -print0] + find = %w[find ./lib ./test ./rbi ./examples -type f -and ( -name *.rb -or -name *.rbi ) -print0] rubocop = %w[rubocop] rubocop += %w[--format github] if ENV.key?("CI") @@ -54,7 +55,7 @@ end desc("Format `*.rb`") multitask(:"format:rb") do # while `syntax_tree` is much faster than `rubocop`, `rubocop` is the only formatter with full syntax support - find = %w[find ./lib ./test -type f -and -name *.rb -print0] + find = %w[find ./lib ./test ./examples -type f -and -name *.rb -print0] fmt = xargs + %w[rubocop --fail-level F --autocorrect --format simple --] sh("#{find.shelljoin} | #{fmt.shelljoin}") end @@ -117,12 +118,14 @@ multitask(:"typecheck:steep") do sh(*%w[steep check]) end +directory(examples) + desc("Typecheck `*.rbi`") -multitask(:"typecheck:sorbet") do - sh(*%w[srb typecheck]) +multitask("typecheck:sorbet": examples) do + sh(*%w[srb typecheck --dir], examples) end -file(tapioca) do +directory(tapioca) do sh(*%w[tapioca init]) end diff --git a/lib/increase/internal.rb b/lib/increase/internal.rb index 1f0b8df5f..c9f69d350 100644 --- a/lib/increase/internal.rb +++ b/lib/increase/internal.rb @@ -13,5 +13,8 @@ module Internal define_sorbet_constant!(:AnyHash) do T.type_alias { T::Hash[Symbol, T.anything] } end + define_sorbet_constant!(:FileInput) do + T.type_alias { T.any(Pathname, StringIO, IO, String, Increase::FilePart) } + end end end diff --git a/lib/increase/models/file_create_params.rb b/lib/increase/models/file_create_params.rb index 78c9d9c59..5ed9bdf2c 100644 --- a/lib/increase/models/file_create_params.rb +++ b/lib/increase/models/file_create_params.rb @@ -12,7 +12,7 @@ class FileCreateParams < Increase::Internal::Type::BaseModel # [RFC 7578](https://datatracker.ietf.org/doc/html/rfc7578) which defines file # transfers for the multipart/form-data protocol. # - # @return [Pathname, StringIO, IO, Increase::FilePart] + # @return [Pathname, StringIO, IO, String, Increase::FilePart] required :file, Increase::Internal::Type::FileInput # @!attribute purpose @@ -31,7 +31,7 @@ class FileCreateParams < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::FileCreateParams} for more details. # - # @param file [Pathname, StringIO, IO, Increase::FilePart] The file contents. This should follow the specifications of [RFC 7578](https://d + # @param file [Pathname, StringIO, IO, String, Increase::FilePart] The file contents. This should follow the specifications of [RFC 7578](https://d # # @param purpose [Symbol, Increase::FileCreateParams::Purpose] What the File will be used for in Increase's systems. # diff --git a/lib/increase/resources/files.rb b/lib/increase/resources/files.rb index 650ad4139..40c0a0641 100644 --- a/lib/increase/resources/files.rb +++ b/lib/increase/resources/files.rb @@ -12,7 +12,7 @@ class Files # # @overload create(file:, purpose:, description: nil, request_options: {}) # - # @param file [Pathname, StringIO, IO, Increase::FilePart] The file contents. This should follow the specifications of [RFC 7578](https://d + # @param file [Pathname, StringIO, IO, String, Increase::FilePart] The file contents. This should follow the specifications of [RFC 7578](https://d # # @param purpose [Symbol, Increase::FileCreateParams::Purpose] What the File will be used for in Increase's systems. # diff --git a/rbi/increase/internal.rbi b/rbi/increase/internal.rbi index ec191d1a6..26e47f56f 100644 --- a/rbi/increase/internal.rbi +++ b/rbi/increase/internal.rbi @@ -8,6 +8,9 @@ module Increase # this alias might be refined in the future. AnyHash = T.type_alias { T::Hash[Symbol, T.anything] } + FileInput = + T.type_alias { T.any(Pathname, StringIO, IO, String, Increase::FilePart) } + OMIT = T.let(Object.new.freeze, T.anything) end end diff --git a/rbi/increase/models/file_create_params.rbi b/rbi/increase/models/file_create_params.rbi index 4eaac5b30..8faf0e1ba 100644 --- a/rbi/increase/models/file_create_params.rbi +++ b/rbi/increase/models/file_create_params.rbi @@ -14,7 +14,7 @@ module Increase # The file contents. This should follow the specifications of # [RFC 7578](https://datatracker.ietf.org/doc/html/rfc7578) which defines file # transfers for the multipart/form-data protocol. - sig { returns(T.any(Pathname, StringIO, IO, Increase::FilePart)) } + sig { returns(Increase::Internal::FileInput) } attr_accessor :file # What the File will be used for in Increase's systems. @@ -30,7 +30,7 @@ module Increase sig do params( - file: T.any(Pathname, StringIO, IO, Increase::FilePart), + file: Increase::Internal::FileInput, purpose: Increase::FileCreateParams::Purpose::OrSymbol, description: String, request_options: Increase::RequestOptions::OrHash @@ -52,7 +52,7 @@ module Increase sig do override.returns( { - file: T.any(Pathname, StringIO, IO, Increase::FilePart), + file: Increase::Internal::FileInput, purpose: Increase::FileCreateParams::Purpose::OrSymbol, description: String, request_options: Increase::RequestOptions diff --git a/rbi/increase/resources/files.rbi b/rbi/increase/resources/files.rbi index 6d8375f0b..9c69bf0e5 100644 --- a/rbi/increase/resources/files.rbi +++ b/rbi/increase/resources/files.rbi @@ -8,7 +8,7 @@ module Increase # upload, as well as the parameters for creating a file. sig do params( - file: T.any(Pathname, StringIO, IO, Increase::FilePart), + file: Increase::Internal::FileInput, purpose: Increase::FileCreateParams::Purpose::OrSymbol, description: String, request_options: Increase::RequestOptions::OrHash diff --git a/sig/increase/internal.rbs b/sig/increase/internal.rbs index bc54d08f5..80a5a298d 100644 --- a/sig/increase/internal.rbs +++ b/sig/increase/internal.rbs @@ -2,6 +2,8 @@ module Increase module Internal extend Increase::Internal::Util::SorbetRuntimeSupport + type file_input = Pathname | StringIO | IO | String | Increase::FilePart + OMIT: Object end end diff --git a/sig/increase/models/file_create_params.rbs b/sig/increase/models/file_create_params.rbs index de843224c..f14e8f5ea 100644 --- a/sig/increase/models/file_create_params.rbs +++ b/sig/increase/models/file_create_params.rbs @@ -2,7 +2,7 @@ module Increase module Models type file_create_params = { - file: (Pathname | StringIO | IO | Increase::FilePart), + file: Increase::Internal::file_input, purpose: Increase::Models::FileCreateParams::purpose, description: String } @@ -12,7 +12,7 @@ module Increase extend Increase::Internal::Type::RequestParameters::Converter include Increase::Internal::Type::RequestParameters - attr_accessor file: Pathname | StringIO | IO | Increase::FilePart + attr_accessor file: Increase::Internal::file_input attr_accessor purpose: Increase::Models::FileCreateParams::purpose @@ -21,7 +21,7 @@ module Increase def description=: (String) -> String def initialize: ( - file: Pathname | StringIO | IO | Increase::FilePart, + file: Increase::Internal::file_input, purpose: Increase::Models::FileCreateParams::purpose, ?description: String, ?request_options: Increase::request_opts diff --git a/sig/increase/resources/files.rbs b/sig/increase/resources/files.rbs index f78a86a00..8f97b6d49 100644 --- a/sig/increase/resources/files.rbs +++ b/sig/increase/resources/files.rbs @@ -2,7 +2,7 @@ module Increase module Resources class Files def create: ( - file: Pathname | StringIO | IO | Increase::FilePart, + file: Increase::Internal::file_input, purpose: Increase::Models::FileCreateParams::purpose, ?description: String, ?request_options: Increase::request_opts diff --git a/sorbet/config b/sorbet/config index 538c15285..6fe84ed8c 100644 --- a/sorbet/config +++ b/sorbet/config @@ -1,2 +1,2 @@ ---dir=rbi +--dir=rbi/ --ignore=test/ diff --git a/test/increase/internal/sorbet_runtime_support_test.rb b/test/increase/internal/sorbet_runtime_support_test.rb index 73c980739..f1ca3c700 100644 --- a/test/increase/internal/sorbet_runtime_support_test.rb +++ b/test/increase/internal/sorbet_runtime_support_test.rb @@ -25,6 +25,7 @@ def test_nil_aliases err = Increase::Internal::Util::SorbetRuntimeSupport::MissingSorbetRuntimeError assert_raises(err) { Increase::Internal::AnyHash } + assert_raises(err) { Increase::Internal::FileInput } assert_raises(err) { Increase::Internal::Type::Converter::Input } assert_raises(err) { Increase::Internal::Type::Converter::CoerceState } assert_raises(err) { Increase::Internal::Type::Converter::DumpState } From 752878761b5cd474fe3f751b33b8a66f360ca2e3 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 15:12:17 +0000 Subject: [PATCH 2/7] chore(docs): grammar improvements --- README.md | 6 +++--- SECURITY.md | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index a743948ec..d67cf0c38 100644 --- a/README.md +++ b/README.md @@ -209,7 +209,7 @@ puts(account[:my_undocumented_property]) #### Undocumented request params -If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request as seen in examples above. +If you want to explicitly send an extra param, you can do so with the `extra_query`, `extra_body`, and `extra_headers` under the `request_options:` parameter when making a request, as seen in the examples above. #### Undocumented endpoints @@ -227,7 +227,7 @@ response = client.request( ### Concurrency & connection pooling -The `Increase::Client` instances are threadsafe, but only are fork-safe when there are no in-flight HTTP requests. +The `Increase::Client` instances are threadsafe, but are only are fork-safe when there are no in-flight HTTP requests. Each instance of `Increase::Client` has its own HTTP connection pool with a default size of 99. As such, we recommend instantiating the client once per application in most settings. @@ -289,7 +289,7 @@ increase.account_numbers.update( # … ) -# Literal values is also permissible: +# Literal values are also permissible: increase.account_numbers.update( status: :active, # … diff --git a/SECURITY.md b/SECURITY.md index 0f599b6d3..5a4b96c56 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -16,11 +16,11 @@ before making any information public. ## Reporting Non-SDK Related Security Issues If you encounter security issues that are not directly related to SDKs but pertain to the services -or products provided by Increase please follow the respective company's security reporting guidelines. +or products provided by Increase, please follow the respective company's security reporting guidelines. ### Increase Terms and Policies -Please contact dev-feedback@increase.com for any questions or concerns regarding security of our services. +Please contact dev-feedback@increase.com for any questions or concerns regarding the security of our services. --- From 9836cc43f50da4049117fd2724bfbcf41a2c3283 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 21 May 2025 15:59:49 +0000 Subject: [PATCH 3/7] chore: force utf-8 locale via `RUBYOPT` when formatting --- Rakefile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Rakefile b/Rakefile index 02920f625..31ab8652f 100644 --- a/Rakefile +++ b/Rakefile @@ -36,7 +36,7 @@ multitask(:test) do end xargs = %w[xargs --no-run-if-empty --null --max-procs=0 --max-args=300 --] -locale = {"LC_ALL" => "C.UTF-8"} +ruby_opt = {"RUBYOPT" => [ENV["RUBYOPT"], "--encoding=UTF-8"].compact.join(" ")} desc("Lint `*.rb(i)`") multitask(:"lint:rubocop") do @@ -64,7 +64,7 @@ desc("Format `*.rbi`") multitask(:"format:rbi") do find = %w[find ./rbi -type f -and -name *.rbi -print0] fmt = xargs + %w[stree write --] - sh(locale, "#{find.shelljoin} | #{fmt.shelljoin}") + sh(ruby_opt, "#{find.shelljoin} | #{fmt.shelljoin}") end desc("Format `*.rbs`") @@ -100,7 +100,7 @@ multitask(:"format:rbs") do # transform class aliases to type aliases, which syntax tree has no trouble with sh("#{find.shelljoin} | #{pre.shelljoin}") # run syntax tree to format `*.rbs` files - sh(locale, "#{find.shelljoin} | #{fmt.shelljoin}") do + sh(ruby_opt, "#{find.shelljoin} | #{fmt.shelljoin}") do success = _1 end # transform type aliases back to class aliases From 7a81744d65096fc1af4b633f04f85f0d01c90617 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 22 May 2025 01:23:13 +0000 Subject: [PATCH 4/7] chore: use fully qualified names for yard annotations and rbs aliases --- lib/increase/models/account.rb | 28 +- lib/increase/models/account_list_params.rb | 16 +- lib/increase/models/account_number.rb | 42 +- .../models/account_number_create_params.rb | 24 +- .../models/account_number_list_params.rb | 26 +- .../models/account_number_update_params.rb | 26 +- lib/increase/models/account_statement.rb | 8 +- .../models/account_statement_list_params.rb | 7 +- lib/increase/models/account_transfer.rb | 72 +- .../models/account_transfer_list_params.rb | 6 +- lib/increase/models/ach_prenotification.rb | 46 +- .../ach_prenotification_create_params.rb | 8 +- .../models/ach_prenotification_list_params.rb | 6 +- lib/increase/models/ach_transfer.rb | 226 +-- .../models/ach_transfer_create_params.rb | 65 +- .../models/ach_transfer_list_params.rb | 16 +- lib/increase/models/balance_lookup.rb | 10 +- lib/increase/models/bookkeeping_account.rb | 14 +- .../bookkeeping_account_create_params.rb | 4 +- .../models/bookkeeping_balance_lookup.rb | 8 +- lib/increase/models/bookkeeping_entry.rb | 8 +- lib/increase/models/bookkeeping_entry_set.rb | 12 +- .../bookkeeping_entry_set_create_params.rb | 6 +- lib/increase/models/card.rb | 30 +- lib/increase/models/card_create_params.rb | 10 +- lib/increase/models/card_details.rb | 10 +- lib/increase/models/card_dispute.rb | 48 +- .../models/card_dispute_list_params.rb | 16 +- lib/increase/models/card_list_params.rb | 16 +- lib/increase/models/card_payment.rb | 961 ++++++------- .../models/card_payment_list_params.rb | 6 +- .../models/card_purchase_supplement.rb | 46 +- .../card_purchase_supplement_list_params.rb | 7 +- lib/increase/models/card_update_params.rb | 14 +- lib/increase/models/check_deposit.rb | 104 +- .../models/check_deposit_list_params.rb | 6 +- lib/increase/models/check_transfer.rb | 167 +-- .../models/check_transfer_create_params.rb | 34 +- .../models/check_transfer_list_params.rb | 16 +- .../check_transfer_stop_payment_params.rb | 4 +- lib/increase/models/declined_transaction.rb | 251 ++-- .../declined_transaction_list_params.rb | 16 +- lib/increase/models/digital_card_profile.rb | 20 +- .../digital_card_profile_clone_params.rb | 4 +- .../digital_card_profile_create_params.rb | 4 +- .../digital_card_profile_list_params.rb | 10 +- lib/increase/models/digital_wallet_token.rb | 50 +- .../digital_wallet_token_list_params.rb | 6 +- lib/increase/models/document.rb | 16 +- lib/increase/models/document_list_params.rb | 16 +- lib/increase/models/entity.rb | 274 ++-- .../entity_create_beneficial_owner_params.rb | 63 +- lib/increase/models/entity_create_params.rb | 375 ++--- lib/increase/models/entity_list_params.rb | 16 +- .../models/entity_supplemental_document.rb | 8 +- .../models/entity_update_address_params.rb | 6 +- ..._update_beneficial_owner_address_params.rb | 7 +- lib/increase/models/event.rb | 16 +- lib/increase/models/event_list_params.rb | 16 +- lib/increase/models/event_subscription.rb | 20 +- .../event_subscription_create_params.rb | 4 +- .../event_subscription_update_params.rb | 4 +- lib/increase/models/export.rb | 22 +- lib/increase/models/export_create_params.rb | 72 +- lib/increase/models/export_list_params.rb | 26 +- lib/increase/models/external_account.rb | 32 +- .../models/external_account_create_params.rb | 8 +- .../models/external_account_list_params.rb | 10 +- .../models/external_account_update_params.rb | 12 +- lib/increase/models/file.rb | 22 +- lib/increase/models/file_create_params.rb | 4 +- lib/increase/models/file_link.rb | 10 +- lib/increase/models/file_list_params.rb | 16 +- lib/increase/models/group.rb | 22 +- lib/increase/models/inbound_ach_transfer.rb | 128 +- .../inbound_ach_transfer_decline_params.rb | 4 +- .../inbound_ach_transfer_list_params.rb | 16 +- ...und_ach_transfer_transfer_return_params.rb | 4 +- lib/increase/models/inbound_check_deposit.rb | 48 +- .../inbound_check_deposit_list_params.rb | 6 +- .../inbound_check_deposit_return_params.rb | 4 +- lib/increase/models/inbound_mail_item.rb | 20 +- .../models/inbound_mail_item_list_params.rb | 6 +- .../inbound_real_time_payments_transfer.rb | 38 +- ...real_time_payments_transfer_list_params.rb | 8 +- .../models/inbound_wire_drawdown_request.rb | 8 +- lib/increase/models/inbound_wire_transfer.rb | 28 +- .../inbound_wire_transfer_list_params.rb | 16 +- .../inbound_wire_transfer_reverse_params.rb | 4 +- .../models/intrafi_account_enrollment.rb | 14 +- .../intrafi_account_enrollment_list_params.rb | 10 +- lib/increase/models/intrafi_balance.rb | 28 +- lib/increase/models/intrafi_exclusion.rb | 14 +- lib/increase/models/lockbox.rb | 24 +- lib/increase/models/lockbox_list_params.rb | 6 +- lib/increase/models/lockbox_update_params.rb | 4 +- lib/increase/models/oauth_application.rb | 14 +- .../models/oauth_application_list_params.rb | 16 +- lib/increase/models/oauth_connection.rb | 14 +- .../models/oauth_connection_list_params.rb | 10 +- lib/increase/models/oauth_token.rb | 16 +- .../models/oauth_token_create_params.rb | 4 +- lib/increase/models/pending_transaction.rb | 280 ++-- .../models/pending_transaction_list_params.rb | 26 +- lib/increase/models/physical_card.rb | 66 +- .../models/physical_card_create_params.rb | 20 +- .../models/physical_card_list_params.rb | 6 +- lib/increase/models/physical_card_profile.rb | 20 +- .../physical_card_profile_clone_params.rb | 6 +- .../physical_card_profile_create_params.rb | 6 +- .../physical_card_profile_list_params.rb | 10 +- .../models/physical_card_update_params.rb | 4 +- lib/increase/models/program.rb | 16 +- lib/increase/models/real_time_decision.rb | 235 +-- .../real_time_decision_action_params.rb | 88 +- .../models/real_time_payments_transfer.rb | 94 +- ...real_time_payments_transfer_list_params.rb | 17 +- ...er_create_notification_of_change_params.rb | 4 +- .../simulations/ach_transfer_return_params.rb | 4 +- .../card_authorization_create_params.rb | 24 +- .../card_authorization_create_response.rb | 8 +- .../simulations/card_dispute_action_params.rb | 4 +- .../inbound_ach_transfer_create_params.rb | 4 +- .../physical_card_advance_shipment_params.rb | 4 +- ..._time_payments_transfer_complete_params.rb | 10 +- lib/increase/models/transaction.rb | 716 +++++----- .../models/transaction_list_params.rb | 16 +- lib/increase/models/wire_drawdown_request.rb | 22 +- .../wire_drawdown_request_list_params.rb | 10 +- lib/increase/models/wire_transfer.rb | 88 +- .../models/wire_transfer_list_params.rb | 6 +- lib/increase/resources/account_numbers.rb | 24 +- lib/increase/resources/account_statements.rb | 6 +- lib/increase/resources/account_transfers.rb | 12 +- lib/increase/resources/accounts.rb | 16 +- .../resources/ach_prenotifications.rb | 12 +- lib/increase/resources/ach_transfers.rb | 26 +- .../resources/bookkeeping_accounts.rb | 10 +- lib/increase/resources/bookkeeping_entries.rb | 4 +- .../resources/bookkeeping_entry_sets.rb | 8 +- lib/increase/resources/card_disputes.rb | 10 +- lib/increase/resources/card_payments.rb | 6 +- .../resources/card_purchase_supplements.rb | 6 +- lib/increase/resources/cards.rb | 24 +- lib/increase/resources/check_deposits.rb | 8 +- lib/increase/resources/check_transfers.rb | 24 +- .../resources/declined_transactions.rb | 8 +- .../resources/digital_card_profiles.rb | 16 +- .../resources/digital_wallet_tokens.rb | 6 +- lib/increase/resources/documents.rb | 8 +- lib/increase/resources/entities.rb | 46 +- lib/increase/resources/event_subscriptions.rb | 12 +- lib/increase/resources/events.rb | 8 +- lib/increase/resources/exports.rb | 24 +- lib/increase/resources/external_accounts.rb | 20 +- lib/increase/resources/file_links.rb | 2 +- lib/increase/resources/files.rb | 12 +- lib/increase/resources/groups.rb | 2 +- .../resources/inbound_ach_transfers.rb | 18 +- .../resources/inbound_check_deposits.rb | 12 +- lib/increase/resources/inbound_mail_items.rb | 6 +- .../inbound_real_time_payments_transfers.rb | 6 +- .../inbound_wire_drawdown_requests.rb | 4 +- .../resources/inbound_wire_transfers.rb | 12 +- .../resources/intrafi_account_enrollments.rb | 10 +- lib/increase/resources/intrafi_balances.rb | 2 +- lib/increase/resources/intrafi_exclusions.rb | 8 +- lib/increase/resources/lockboxes.rb | 12 +- lib/increase/resources/oauth_applications.rb | 8 +- lib/increase/resources/oauth_connections.rb | 6 +- lib/increase/resources/oauth_tokens.rb | 4 +- .../resources/pending_transactions.rb | 10 +- .../resources/physical_card_profiles.rb | 16 +- lib/increase/resources/physical_cards.rb | 16 +- lib/increase/resources/programs.rb | 4 +- lib/increase/resources/real_time_decisions.rb | 14 +- .../resources/real_time_payments_transfers.rb | 10 +- .../simulations/account_statements.rb | 2 +- .../simulations/account_transfers.rb | 2 +- .../resources/simulations/ach_transfers.rb | 14 +- .../card_authorization_expirations.rb | 2 +- .../simulations/card_authorizations.rb | 6 +- .../resources/simulations/card_disputes.rb | 4 +- .../simulations/card_fuel_confirmations.rb | 2 +- .../resources/simulations/card_increments.rb | 2 +- .../resources/simulations/card_refunds.rb | 2 +- .../resources/simulations/card_reversals.rb | 2 +- .../resources/simulations/card_settlements.rb | 2 +- .../resources/simulations/check_deposits.rb | 6 +- .../resources/simulations/check_transfers.rb | 2 +- .../resources/simulations/documents.rb | 2 +- .../simulations/inbound_ach_transfers.rb | 4 +- .../simulations/inbound_check_deposits.rb | 2 +- .../simulations/inbound_mail_items.rb | 2 +- .../inbound_real_time_payments_transfers.rb | 2 +- .../inbound_wire_drawdown_requests.rb | 2 +- .../simulations/inbound_wire_transfers.rb | 2 +- .../simulations/interest_payments.rb | 2 +- .../resources/simulations/physical_cards.rb | 4 +- .../resources/simulations/programs.rb | 2 +- .../real_time_payments_transfers.rb | 4 +- .../resources/simulations/wire_transfers.rb | 4 +- .../resources/supplemental_documents.rb | 4 +- lib/increase/resources/transactions.rb | 8 +- .../resources/wire_drawdown_requests.rb | 8 +- lib/increase/resources/wire_transfers.rb | 12 +- sig/increase/models/account.rbs | 50 +- .../models/account_balance_params.rbs | 5 + sig/increase/models/account_close_params.rbs | 2 + sig/increase/models/account_create_params.rbs | 8 + sig/increase/models/account_list_params.rbs | 36 +- sig/increase/models/account_number.rbs | 56 +- .../models/account_number_create_params.rbs | 34 +- .../models/account_number_list_params.rbs | 52 +- .../models/account_number_retrieve_params.rbs | 2 + .../models/account_number_update_params.rbs | 38 +- .../models/account_retrieve_params.rbs | 2 + sig/increase/models/account_statement.rbs | 20 +- .../models/account_statement_list_params.rbs | 15 + .../account_statement_retrieve_params.rbs | 2 + sig/increase/models/account_transfer.rbs | 77 +- .../account_transfer_approve_params.rbs | 2 + .../models/account_transfer_cancel_params.rbs | 2 + .../models/account_transfer_create_params.rbs | 9 + .../models/account_transfer_list_params.rbs | 16 + .../account_transfer_retrieve_params.rbs | 2 + sig/increase/models/account_update_params.rbs | 5 + sig/increase/models/ach_prenotification.rbs | 70 +- .../ach_prenotification_create_params.rbs | 17 + .../ach_prenotification_list_params.rbs | 15 + .../ach_prenotification_retrieve_params.rbs | 2 + sig/increase/models/ach_transfer.rbs | 247 +++- .../models/ach_transfer_approve_params.rbs | 2 + .../models/ach_transfer_cancel_params.rbs | 2 + .../models/ach_transfer_create_params.rbs | 66 +- .../models/ach_transfer_list_params.rbs | 34 +- .../models/ach_transfer_retrieve_params.rbs | 2 + sig/increase/models/balance_lookup.rbs | 15 +- sig/increase/models/bookkeeping_account.rbs | 26 +- .../bookkeeping_account_balance_params.rbs | 5 + .../bookkeeping_account_create_params.rbs | 8 + .../bookkeeping_account_list_params.rbs | 7 + .../bookkeeping_account_update_params.rbs | 5 + .../models/bookkeeping_balance_lookup.rbs | 14 +- sig/increase/models/bookkeeping_entry.rbs | 17 +- .../models/bookkeeping_entry_list_params.rbs | 7 + .../bookkeeping_entry_retrieve_params.rbs | 2 + sig/increase/models/bookkeeping_entry_set.rbs | 20 +- .../bookkeeping_entry_set_create_params.rbs | 9 + .../bookkeeping_entry_set_list_params.rbs | 8 + .../bookkeeping_entry_set_retrieve_params.rbs | 2 + sig/increase/models/card.rbs | 46 +- sig/increase/models/card_create_params.rbs | 23 + sig/increase/models/card_details.rbs | 17 +- sig/increase/models/card_details_params.rbs | 2 + sig/increase/models/card_dispute.rbs | 52 +- .../models/card_dispute_create_params.rbs | 7 + .../models/card_dispute_list_params.rbs | 32 +- .../models/card_dispute_retrieve_params.rbs | 2 + sig/increase/models/card_list_params.rbs | 34 +- sig/increase/models/card_payment.rbs | 1264 ++++++++++++----- .../models/card_payment_list_params.rbs | 16 + .../models/card_payment_retrieve_params.rbs | 2 + .../models/card_purchase_supplement.rbs | 88 +- .../card_purchase_supplement_list_params.rbs | 15 + ...rd_purchase_supplement_retrieve_params.rbs | 2 + sig/increase/models/card_retrieve_params.rbs | 2 + sig/increase/models/card_update_params.rbs | 23 + sig/increase/models/check_deposit.rbs | 148 +- .../models/check_deposit_create_params.rbs | 9 + .../models/check_deposit_list_params.rbs | 16 + .../models/check_deposit_retrieve_params.rbs | 2 + sig/increase/models/check_transfer.rbs | 189 ++- .../models/check_transfer_approve_params.rbs | 2 + .../models/check_transfer_cancel_params.rbs | 2 + .../models/check_transfer_create_params.rbs | 54 +- .../models/check_transfer_list_params.rbs | 33 +- .../models/check_transfer_retrieve_params.rbs | 2 + .../check_transfer_stop_payment_params.rbs | 5 + sig/increase/models/declined_transaction.rbs | 332 +++-- .../declined_transaction_list_params.rbs | 35 +- .../declined_transaction_retrieve_params.rbs | 2 + sig/increase/models/digital_card_profile.rbs | 35 +- .../digital_card_profile_archive_params.rbs | 2 + .../digital_card_profile_clone_params.rbs | 15 + .../digital_card_profile_create_params.rbs | 15 + .../digital_card_profile_list_params.rbs | 26 +- .../digital_card_profile_retrieve_params.rbs | 2 + sig/increase/models/digital_wallet_token.rbs | 66 +- .../digital_wallet_token_list_params.rbs | 15 + .../digital_wallet_token_retrieve_params.rbs | 2 + sig/increase/models/document.rbs | 25 +- sig/increase/models/document_list_params.rbs | 32 +- .../models/document_retrieve_params.rbs | 2 + sig/increase/models/entity.rbs | 301 +++- ...entity_archive_beneficial_owner_params.rbs | 5 + sig/increase/models/entity_archive_params.rbs | 2 + sig/increase/models/entity_confirm_params.rbs | 5 + .../entity_create_beneficial_owner_params.rbs | 73 +- sig/increase/models/entity_create_params.rbs | 411 +++++- sig/increase/models/entity_list_params.rbs | 33 +- .../models/entity_retrieve_params.rbs | 2 + .../models/entity_supplemental_document.rbs | 16 +- .../models/entity_update_address_params.rbs | 13 + ...update_beneficial_owner_address_params.rbs | 15 + .../entity_update_industry_code_params.rbs | 5 + sig/increase/models/event.rbs | 25 +- sig/increase/models/event_list_params.rbs | 33 +- sig/increase/models/event_retrieve_params.rbs | 2 + sig/increase/models/event_subscription.rbs | 35 +- .../event_subscription_create_params.rbs | 8 + .../models/event_subscription_list_params.rbs | 7 + .../event_subscription_retrieve_params.rbs | 2 + .../event_subscription_update_params.rbs | 5 + sig/increase/models/export.rbs | 35 +- sig/increase/models/export_create_params.rbs | 79 +- sig/increase/models/export_list_params.rbs | 50 +- .../models/export_retrieve_params.rbs | 2 + sig/increase/models/external_account.rbs | 54 +- .../models/external_account_create_params.rbs | 9 + .../models/external_account_list_params.rbs | 27 +- .../external_account_retrieve_params.rbs | 2 + .../models/external_account_update_params.rbs | 8 + sig/increase/models/file.rbs | 36 +- sig/increase/models/file_create_params.rbs | 7 + sig/increase/models/file_link.rbs | 18 +- .../models/file_link_create_params.rbs | 6 + sig/increase/models/file_list_params.rbs | 33 +- sig/increase/models/file_retrieve_params.rbs | 2 + sig/increase/models/group.rbs | 32 +- sig/increase/models/group_retrieve_params.rbs | 2 + sig/increase/models/inbound_ach_transfer.rbs | 200 ++- ...r_create_notification_of_change_params.rbs | 6 + .../inbound_ach_transfer_decline_params.rbs | 5 + .../inbound_ach_transfer_list_params.rbs | 35 +- .../inbound_ach_transfer_retrieve_params.rbs | 2 + ...nd_ach_transfer_transfer_return_params.rbs | 5 + sig/increase/models/inbound_check_deposit.rbs | 84 +- .../inbound_check_deposit_decline_params.rbs | 2 + .../inbound_check_deposit_list_params.rbs | 16 + .../inbound_check_deposit_retrieve_params.rbs | 2 + .../inbound_check_deposit_return_params.rbs | 5 + sig/increase/models/inbound_mail_item.rbs | 35 +- .../models/inbound_mail_item_list_params.rbs | 15 + .../inbound_mail_item_retrieve_params.rbs | 2 + .../inbound_real_time_payments_transfer.rbs | 59 +- ...eal_time_payments_transfer_list_params.rbs | 16 + ...time_payments_transfer_retrieve_params.rbs | 2 + .../models/inbound_wire_drawdown_request.rbs | 34 +- ...ound_wire_drawdown_request_list_params.rbs | 6 + ..._wire_drawdown_request_retrieve_params.rbs | 2 + sig/increase/models/inbound_wire_transfer.rbs | 58 +- .../inbound_wire_transfer_list_params.rbs | 35 +- .../inbound_wire_transfer_retrieve_params.rbs | 2 + .../inbound_wire_transfer_reverse_params.rbs | 5 + .../models/intrafi_account_enrollment.rbs | 26 +- ...trafi_account_enrollment_create_params.rbs | 6 + ...intrafi_account_enrollment_list_params.rbs | 25 +- ...afi_account_enrollment_retrieve_params.rbs | 2 + ...afi_account_enrollment_unenroll_params.rbs | 2 + sig/increase/models/intrafi_balance.rbs | 35 +- ...intrafi_balance_intrafi_balance_params.rbs | 2 + sig/increase/models/intrafi_exclusion.rbs | 29 +- .../intrafi_exclusion_archive_params.rbs | 2 + .../intrafi_exclusion_create_params.rbs | 6 + .../models/intrafi_exclusion_list_params.rbs | 8 + .../intrafi_exclusion_retrieve_params.rbs | 2 + sig/increase/models/lockbox.rbs | 37 +- sig/increase/models/lockbox_create_params.rbs | 7 + sig/increase/models/lockbox_list_params.rbs | 16 + .../models/lockbox_retrieve_params.rbs | 2 + sig/increase/models/lockbox_update_params.rbs | 7 + sig/increase/models/oauth_application.rbs | 26 +- .../models/oauth_application_list_params.rbs | 33 +- .../oauth_application_retrieve_params.rbs | 2 + sig/increase/models/oauth_connection.rbs | 26 +- .../models/oauth_connection_list_params.rbs | 26 +- .../oauth_connection_retrieve_params.rbs | 2 + sig/increase/models/oauth_token.rbs | 22 +- .../models/oauth_token_create_params.rbs | 9 + sig/increase/models/pending_transaction.rbs | 322 +++-- .../pending_transaction_list_params.rbs | 54 +- .../pending_transaction_retrieve_params.rbs | 2 + sig/increase/models/physical_card.rbs | 88 +- .../models/physical_card_create_params.rbs | 34 +- .../models/physical_card_list_params.rbs | 16 + sig/increase/models/physical_card_profile.rbs | 40 +- .../physical_card_profile_archive_params.rbs | 2 + .../physical_card_profile_clone_params.rbs | 11 + .../physical_card_profile_create_params.rbs | 12 + .../physical_card_profile_list_params.rbs | 26 +- .../physical_card_profile_retrieve_params.rbs | 2 + .../models/physical_card_retrieve_params.rbs | 2 + .../models/physical_card_update_params.rbs | 5 + sig/increase/models/program.rbs | 28 +- sig/increase/models/program_list_params.rbs | 6 + .../models/program_retrieve_params.rbs | 2 + sig/increase/models/real_time_decision.rbs | 282 ++-- .../real_time_decision_action_params.rbs | 82 +- .../real_time_decision_retrieve_params.rbs | 2 + .../models/real_time_payments_transfer.rbs | 98 +- ...l_time_payments_transfer_create_params.rbs | 15 + ...eal_time_payments_transfer_list_params.rbs | 34 +- ...time_payments_transfer_retrieve_params.rbs | 2 + .../models/routing_number_list_params.rbs | 7 + .../models/routing_number_list_response.rbs | 9 + .../account_statement_create_params.rbs | 5 + .../account_transfer_complete_params.rbs | 2 + .../ach_transfer_acknowledge_params.rbs | 2 + ...r_create_notification_of_change_params.rbs | 6 + .../ach_transfer_return_params.rbs | 5 + .../ach_transfer_settle_params.rbs | 2 + .../ach_transfer_submit_params.rbs | 2 + .../card_authorization_create_params.rbs | 41 +- .../card_authorization_create_response.rbs | 6 + ...authorization_expiration_create_params.rbs | 5 + .../card_dispute_action_params.rbs | 6 + .../card_fuel_confirmation_create_params.rbs | 6 + .../card_increment_create_params.rbs | 7 + .../simulations/card_refund_create_params.rbs | 5 + .../card_reversal_create_params.rbs | 6 + .../card_settlement_create_params.rbs | 7 + .../check_deposit_reject_params.rbs | 2 + .../check_deposit_return_params.rbs | 2 + .../check_deposit_submit_params.rbs | 2 + .../check_transfer_mail_params.rbs | 2 + ...tal_wallet_token_request_create_params.rbs | 5 + ...l_wallet_token_request_create_response.rbs | 6 + .../simulations/document_create_params.rbs | 5 + .../inbound_ach_transfer_create_params.rbs | 15 + .../inbound_check_deposit_create_params.rbs | 7 + .../inbound_funds_hold_release_params.rbs | 2 + .../inbound_funds_hold_release_response.rbs | 13 + .../inbound_mail_item_create_params.rbs | 7 + ...l_time_payments_transfer_create_params.rbs | 11 + ...nd_wire_drawdown_request_create_params.rbs | 24 + .../inbound_wire_transfer_create_params.rbs | 21 + .../interest_payment_create_params.rbs | 9 + .../physical_card_advance_shipment_params.rbs | 5 + .../simulations/program_create_params.rbs | 6 + ...time_payments_transfer_complete_params.rbs | 17 +- .../wire_transfer_reverse_params.rbs | 2 + .../wire_transfer_submit_params.rbs | 2 + .../supplemental_document_create_params.rbs | 6 + .../supplemental_document_list_params.rbs | 8 + sig/increase/models/transaction.rbs | 949 ++++++++++--- .../models/transaction_list_params.rbs | 33 +- .../models/transaction_retrieve_params.rbs | 2 + sig/increase/models/wire_drawdown_request.rbs | 42 +- .../wire_drawdown_request_create_params.rbs | 17 + .../wire_drawdown_request_list_params.rbs | 26 +- .../wire_drawdown_request_retrieve_params.rbs | 2 + sig/increase/models/wire_transfer.rbs | 114 +- .../models/wire_transfer_approve_params.rbs | 2 + .../models/wire_transfer_cancel_params.rbs | 2 + .../models/wire_transfer_create_params.rbs | 20 + .../models/wire_transfer_list_params.rbs | 17 + .../models/wire_transfer_retrieve_params.rbs | 2 + 458 files changed, 10336 insertions(+), 5105 deletions(-) diff --git a/lib/increase/models/account.rb b/lib/increase/models/account.rb index 2a08422c2..6d154e0ce 100644 --- a/lib/increase/models/account.rb +++ b/lib/increase/models/account.rb @@ -13,7 +13,7 @@ class Account < Increase::Internal::Type::BaseModel # @!attribute bank # The bank the Account is with. # - # @return [Symbol, Increase::Account::Bank] + # @return [Symbol, Increase::Models::Account::Bank] required :bank, enum: -> { Increase::Account::Bank } # @!attribute closed_at @@ -34,7 +34,7 @@ class Account < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Account # currency. # - # @return [Symbol, Increase::Account::Currency] + # @return [Symbol, Increase::Models::Account::Currency] required :currency, enum: -> { Increase::Account::Currency } # @!attribute entity_id @@ -96,32 +96,32 @@ class Account < Increase::Internal::Type::BaseModel # @!attribute status # The status of the Account. # - # @return [Symbol, Increase::Account::Status] + # @return [Symbol, Increase::Models::Account::Status] required :status, enum: -> { Increase::Account::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `account`. # - # @return [Symbol, Increase::Account::Type] + # @return [Symbol, Increase::Models::Account::Type] required :type, enum: -> { Increase::Account::Type } # @!method initialize(id:, bank:, closed_at:, created_at:, currency:, entity_id:, idempotency_key:, informational_entity_id:, interest_accrued:, interest_accrued_at:, interest_rate:, name:, program_id:, status:, type:) - # Some parameter documentations has been truncated, see {Increase::Account} for - # more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::Account} for more details. # # Accounts are your bank accounts with Increase. They store money, receive # transfers, and send payments. They earn interest and have depository insurance. # # @param id [String] The Account identifier. # - # @param bank [Symbol, Increase::Account::Bank] The bank the Account is with. + # @param bank [Symbol, Increase::Models::Account::Bank] The bank the Account is with. # # @param closed_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Account # - # @param currency [Symbol, Increase::Account::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Account curr + # @param currency [Symbol, Increase::Models::Account::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Account curr # # @param entity_id [String, nil] The identifier for the Entity the Account belongs to. # @@ -139,13 +139,13 @@ class Account < Increase::Internal::Type::BaseModel # # @param program_id [String] The identifier of the Program determining the compliance and commercial terms of # - # @param status [Symbol, Increase::Account::Status] The status of the Account. + # @param status [Symbol, Increase::Models::Account::Status] The status of the Account. # - # @param type [Symbol, Increase::Account::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Account::Type] A constant representing the object's type. For this resource it will always be ` # The bank the Account is with. # - # @see Increase::Account#bank + # @see Increase::Models::Account#bank module Bank extend Increase::Internal::Type::Enum @@ -165,7 +165,7 @@ module Bank # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Account # currency. # - # @see Increase::Account#currency + # @see Increase::Models::Account#currency module Currency extend Increase::Internal::Type::Enum @@ -193,7 +193,7 @@ module Currency # The status of the Account. # - # @see Increase::Account#status + # @see Increase::Models::Account#status module Status extend Increase::Internal::Type::Enum @@ -210,7 +210,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `account`. # - # @see Increase::Account#type + # @see Increase::Models::Account#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_list_params.rb b/lib/increase/models/account_list_params.rb index a742bddee..71eda6819 100644 --- a/lib/increase/models/account_list_params.rb +++ b/lib/increase/models/account_list_params.rb @@ -9,7 +9,7 @@ class AccountListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::AccountListParams::CreatedAt, nil] + # @return [Increase::Models::AccountListParams::CreatedAt, nil] optional :created_at, -> { Increase::AccountListParams::CreatedAt } # @!attribute cursor @@ -54,14 +54,14 @@ class AccountListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::AccountListParams::Status, nil] + # @return [Increase::Models::AccountListParams::Status, nil] optional :status, -> { Increase::AccountListParams::Status } # @!method initialize(created_at: nil, cursor: nil, entity_id: nil, idempotency_key: nil, informational_entity_id: nil, limit: nil, program_id: nil, status: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::AccountListParams} for more details. # - # @param created_at [Increase::AccountListParams::CreatedAt] + # @param created_at [Increase::Models::AccountListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -75,7 +75,7 @@ class AccountListParams < Increase::Internal::Type::BaseModel # # @param program_id [String] Filter Accounts for those in a specific Program. # - # @param status [Increase::AccountListParams::Status] + # @param status [Increase::Models::AccountListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -110,7 +110,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountListParams::CreatedAt} for more details. + # {Increase::Models::AccountListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -126,16 +126,16 @@ class Status < Increase::Internal::Type::BaseModel # Filter Accounts for those with the specified status. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::AccountListParams::Status::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountListParams::Status} for more details. + # {Increase::Models::AccountListParams::Status} for more details. # - # @param in_ [Array] Filter Accounts for those with the specified status. For GET requests, this shou + # @param in_ [Array] Filter Accounts for those with the specified status. For GET requests, this shou module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_number.rb b/lib/increase/models/account_number.rb index b2ae66370..91d9975cd 100644 --- a/lib/increase/models/account_number.rb +++ b/lib/increase/models/account_number.rb @@ -40,14 +40,14 @@ class AccountNumber < Increase::Internal::Type::BaseModel # @!attribute inbound_ach # Properties related to how this Account Number handles inbound ACH transfers. # - # @return [Increase::AccountNumber::InboundACH] + # @return [Increase::Models::AccountNumber::InboundACH] required :inbound_ach, -> { Increase::AccountNumber::InboundACH } # @!attribute inbound_checks # Properties related to how this Account Number should handle inbound check # withdrawals. # - # @return [Increase::AccountNumber::InboundChecks] + # @return [Increase::Models::AccountNumber::InboundChecks] required :inbound_checks, -> { Increase::AccountNumber::InboundChecks } # @!attribute name @@ -65,19 +65,19 @@ class AccountNumber < Increase::Internal::Type::BaseModel # @!attribute status # This indicates if payments can be made to the Account Number. # - # @return [Symbol, Increase::AccountNumber::Status] + # @return [Symbol, Increase::Models::AccountNumber::Status] required :status, enum: -> { Increase::AccountNumber::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `account_number`. # - # @return [Symbol, Increase::AccountNumber::Type] + # @return [Symbol, Increase::Models::AccountNumber::Type] required :type, enum: -> { Increase::AccountNumber::Type } # @!method initialize(id:, account_id:, account_number:, created_at:, idempotency_key:, inbound_ach:, inbound_checks:, name:, routing_number:, status:, type:) - # Some parameter documentations has been truncated, see {Increase::AccountNumber} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::AccountNumber} for more details. # # Each account can have multiple account and routing numbers. We recommend that # you use a set per vendor. This is similar to how you use different passwords for @@ -95,39 +95,39 @@ class AccountNumber < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param inbound_ach [Increase::AccountNumber::InboundACH] Properties related to how this Account Number handles inbound ACH transfers. + # @param inbound_ach [Increase::Models::AccountNumber::InboundACH] Properties related to how this Account Number handles inbound ACH transfers. # - # @param inbound_checks [Increase::AccountNumber::InboundChecks] Properties related to how this Account Number should handle inbound check withdr + # @param inbound_checks [Increase::Models::AccountNumber::InboundChecks] Properties related to how this Account Number should handle inbound check withdr # # @param name [String] The name you choose for the Account Number. # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN). # - # @param status [Symbol, Increase::AccountNumber::Status] This indicates if payments can be made to the Account Number. + # @param status [Symbol, Increase::Models::AccountNumber::Status] This indicates if payments can be made to the Account Number. # - # @param type [Symbol, Increase::AccountNumber::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::AccountNumber::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::AccountNumber#inbound_ach + # @see Increase::Models::AccountNumber#inbound_ach class InboundACH < Increase::Internal::Type::BaseModel # @!attribute debit_status # Whether ACH debits are allowed against this Account Number. Note that they will # still be declined if this is `allowed` if the Account Number is not active. # - # @return [Symbol, Increase::AccountNumber::InboundACH::DebitStatus] + # @return [Symbol, Increase::Models::AccountNumber::InboundACH::DebitStatus] required :debit_status, enum: -> { Increase::AccountNumber::InboundACH::DebitStatus } # @!method initialize(debit_status:) # Some parameter documentations has been truncated, see - # {Increase::AccountNumber::InboundACH} for more details. + # {Increase::Models::AccountNumber::InboundACH} for more details. # # Properties related to how this Account Number handles inbound ACH transfers. # - # @param debit_status [Symbol, Increase::AccountNumber::InboundACH::DebitStatus] Whether ACH debits are allowed against this Account Number. Note that they will + # @param debit_status [Symbol, Increase::Models::AccountNumber::InboundACH::DebitStatus] Whether ACH debits are allowed against this Account Number. Note that they will # Whether ACH debits are allowed against this Account Number. Note that they will # still be declined if this is `allowed` if the Account Number is not active. # - # @see Increase::AccountNumber::InboundACH#debit_status + # @see Increase::Models::AccountNumber::InboundACH#debit_status module DebitStatus extend Increase::Internal::Type::Enum @@ -142,23 +142,23 @@ module DebitStatus end end - # @see Increase::AccountNumber#inbound_checks + # @see Increase::Models::AccountNumber#inbound_checks class InboundChecks < Increase::Internal::Type::BaseModel # @!attribute status # How Increase should process checks with this account number printed on them. # - # @return [Symbol, Increase::AccountNumber::InboundChecks::Status] + # @return [Symbol, Increase::Models::AccountNumber::InboundChecks::Status] required :status, enum: -> { Increase::AccountNumber::InboundChecks::Status } # @!method initialize(status:) # Properties related to how this Account Number should handle inbound check # withdrawals. # - # @param status [Symbol, Increase::AccountNumber::InboundChecks::Status] How Increase should process checks with this account number printed on them. + # @param status [Symbol, Increase::Models::AccountNumber::InboundChecks::Status] How Increase should process checks with this account number printed on them. # How Increase should process checks with this account number printed on them. # - # @see Increase::AccountNumber::InboundChecks#status + # @see Increase::Models::AccountNumber::InboundChecks#status module Status extend Increase::Internal::Type::Enum @@ -175,7 +175,7 @@ module Status # This indicates if payments can be made to the Account Number. # - # @see Increase::AccountNumber#status + # @see Increase::Models::AccountNumber#status module Status extend Increase::Internal::Type::Enum @@ -195,7 +195,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `account_number`. # - # @see Increase::AccountNumber#type + # @see Increase::Models::AccountNumber#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_number_create_params.rb b/lib/increase/models/account_number_create_params.rb index 58e815470..09d17b348 100644 --- a/lib/increase/models/account_number_create_params.rb +++ b/lib/increase/models/account_number_create_params.rb @@ -22,14 +22,14 @@ class AccountNumberCreateParams < Increase::Internal::Type::BaseModel # @!attribute inbound_ach # Options related to how this Account Number should handle inbound ACH transfers. # - # @return [Increase::AccountNumberCreateParams::InboundACH, nil] + # @return [Increase::Models::AccountNumberCreateParams::InboundACH, nil] optional :inbound_ach, -> { Increase::AccountNumberCreateParams::InboundACH } # @!attribute inbound_checks # Options related to how this Account Number should handle inbound check # withdrawals. # - # @return [Increase::AccountNumberCreateParams::InboundChecks, nil] + # @return [Increase::Models::AccountNumberCreateParams::InboundChecks, nil] optional :inbound_checks, -> { Increase::AccountNumberCreateParams::InboundChecks } # @!method initialize(account_id:, name:, inbound_ach: nil, inbound_checks: nil, request_options: {}) @@ -40,9 +40,9 @@ class AccountNumberCreateParams < Increase::Internal::Type::BaseModel # # @param name [String] The name you choose for the Account Number. # - # @param inbound_ach [Increase::AccountNumberCreateParams::InboundACH] Options related to how this Account Number should handle inbound ACH transfers. + # @param inbound_ach [Increase::Models::AccountNumberCreateParams::InboundACH] Options related to how this Account Number should handle inbound ACH transfers. # - # @param inbound_checks [Increase::AccountNumberCreateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa + # @param inbound_checks [Increase::Models::AccountNumberCreateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -52,22 +52,22 @@ class InboundACH < Increase::Internal::Type::BaseModel # will be declined if this is `allowed` but the Account Number is not active. If # you do not specify this field, the default is `allowed`. # - # @return [Symbol, Increase::AccountNumberCreateParams::InboundACH::DebitStatus] + # @return [Symbol, Increase::Models::AccountNumberCreateParams::InboundACH::DebitStatus] required :debit_status, enum: -> { Increase::AccountNumberCreateParams::InboundACH::DebitStatus } # @!method initialize(debit_status:) # Some parameter documentations has been truncated, see - # {Increase::AccountNumberCreateParams::InboundACH} for more details. + # {Increase::Models::AccountNumberCreateParams::InboundACH} for more details. # # Options related to how this Account Number should handle inbound ACH transfers. # - # @param debit_status [Symbol, Increase::AccountNumberCreateParams::InboundACH::DebitStatus] Whether ACH debits are allowed against this Account Number. Note that ACH debits + # @param debit_status [Symbol, Increase::Models::AccountNumberCreateParams::InboundACH::DebitStatus] Whether ACH debits are allowed against this Account Number. Note that ACH debits # Whether ACH debits are allowed against this Account Number. Note that ACH debits # will be declined if this is `allowed` but the Account Number is not active. If # you do not specify this field, the default is `allowed`. # - # @see Increase::AccountNumberCreateParams::InboundACH#debit_status + # @see Increase::Models::AccountNumberCreateParams::InboundACH#debit_status module DebitStatus extend Increase::Internal::Type::Enum @@ -87,22 +87,22 @@ class InboundChecks < Increase::Internal::Type::BaseModel # How Increase should process checks with this account number printed on them. If # you do not specify this field, the default is `check_transfers_only`. # - # @return [Symbol, Increase::AccountNumberCreateParams::InboundChecks::Status] + # @return [Symbol, Increase::Models::AccountNumberCreateParams::InboundChecks::Status] required :status, enum: -> { Increase::AccountNumberCreateParams::InboundChecks::Status } # @!method initialize(status:) # Some parameter documentations has been truncated, see - # {Increase::AccountNumberCreateParams::InboundChecks} for more details. + # {Increase::Models::AccountNumberCreateParams::InboundChecks} for more details. # # Options related to how this Account Number should handle inbound check # withdrawals. # - # @param status [Symbol, Increase::AccountNumberCreateParams::InboundChecks::Status] How Increase should process checks with this account number printed on them. If + # @param status [Symbol, Increase::Models::AccountNumberCreateParams::InboundChecks::Status] How Increase should process checks with this account number printed on them. If # How Increase should process checks with this account number printed on them. If # you do not specify this field, the default is `check_transfers_only`. # - # @see Increase::AccountNumberCreateParams::InboundChecks#status + # @see Increase::Models::AccountNumberCreateParams::InboundChecks#status module Status extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_number_list_params.rb b/lib/increase/models/account_number_list_params.rb index 0166d184b..cafeaf652 100644 --- a/lib/increase/models/account_number_list_params.rb +++ b/lib/increase/models/account_number_list_params.rb @@ -15,12 +15,12 @@ class AccountNumberListParams < Increase::Internal::Type::BaseModel # @!attribute ach_debit_status # - # @return [Increase::AccountNumberListParams::ACHDebitStatus, nil] + # @return [Increase::Models::AccountNumberListParams::ACHDebitStatus, nil] optional :ach_debit_status, -> { Increase::AccountNumberListParams::ACHDebitStatus } # @!attribute created_at # - # @return [Increase::AccountNumberListParams::CreatedAt, nil] + # @return [Increase::Models::AccountNumberListParams::CreatedAt, nil] optional :created_at, -> { Increase::AccountNumberListParams::CreatedAt } # @!attribute cursor @@ -47,7 +47,7 @@ class AccountNumberListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::AccountNumberListParams::Status, nil] + # @return [Increase::Models::AccountNumberListParams::Status, nil] optional :status, -> { Increase::AccountNumberListParams::Status } # @!method initialize(account_id: nil, ach_debit_status: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -56,9 +56,9 @@ class AccountNumberListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Account Numbers to those belonging to the specified Account. # - # @param ach_debit_status [Increase::AccountNumberListParams::ACHDebitStatus] + # @param ach_debit_status [Increase::Models::AccountNumberListParams::ACHDebitStatus] # - # @param created_at [Increase::AccountNumberListParams::CreatedAt] + # @param created_at [Increase::Models::AccountNumberListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -66,7 +66,7 @@ class AccountNumberListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::AccountNumberListParams::Status] + # @param status [Increase::Models::AccountNumberListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -75,7 +75,7 @@ class ACHDebitStatus < Increase::Internal::Type::BaseModel # The ACH Debit status to retrieve Account Numbers for. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::AccountNumberListParams::ACHDebitStatus::In] @@ -84,9 +84,9 @@ class ACHDebitStatus < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountNumberListParams::ACHDebitStatus} for more details. + # {Increase::Models::AccountNumberListParams::ACHDebitStatus} for more details. # - # @param in_ [Array] The ACH Debit status to retrieve Account Numbers for. For GET requests, this sho + # @param in_ [Array] The ACH Debit status to retrieve Account Numbers for. For GET requests, this sho module In extend Increase::Internal::Type::Enum @@ -133,7 +133,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountNumberListParams::CreatedAt} for more details. + # {Increase::Models::AccountNumberListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -149,7 +149,7 @@ class Status < Increase::Internal::Type::BaseModel # The status to retrieve Account Numbers for. For GET requests, this should be # encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::AccountNumberListParams::Status::In] @@ -158,9 +158,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountNumberListParams::Status} for more details. + # {Increase::Models::AccountNumberListParams::Status} for more details. # - # @param in_ [Array] The status to retrieve Account Numbers for. For GET requests, this should be enc + # @param in_ [Array] The status to retrieve Account Numbers for. For GET requests, this should be enc module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_number_update_params.rb b/lib/increase/models/account_number_update_params.rb index 7fa097236..dbfb0e30c 100644 --- a/lib/increase/models/account_number_update_params.rb +++ b/lib/increase/models/account_number_update_params.rb @@ -10,14 +10,14 @@ class AccountNumberUpdateParams < Increase::Internal::Type::BaseModel # @!attribute inbound_ach # Options related to how this Account Number handles inbound ACH transfers. # - # @return [Increase::AccountNumberUpdateParams::InboundACH, nil] + # @return [Increase::Models::AccountNumberUpdateParams::InboundACH, nil] optional :inbound_ach, -> { Increase::AccountNumberUpdateParams::InboundACH } # @!attribute inbound_checks # Options related to how this Account Number should handle inbound check # withdrawals. # - # @return [Increase::AccountNumberUpdateParams::InboundChecks, nil] + # @return [Increase::Models::AccountNumberUpdateParams::InboundChecks, nil] optional :inbound_checks, -> { Increase::AccountNumberUpdateParams::InboundChecks } # @!attribute name @@ -29,20 +29,20 @@ class AccountNumberUpdateParams < Increase::Internal::Type::BaseModel # @!attribute status # This indicates if transfers can be made to the Account Number. # - # @return [Symbol, Increase::AccountNumberUpdateParams::Status, nil] + # @return [Symbol, Increase::Models::AccountNumberUpdateParams::Status, nil] optional :status, enum: -> { Increase::AccountNumberUpdateParams::Status } # @!method initialize(inbound_ach: nil, inbound_checks: nil, name: nil, status: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::AccountNumberUpdateParams} for more details. # - # @param inbound_ach [Increase::AccountNumberUpdateParams::InboundACH] Options related to how this Account Number handles inbound ACH transfers. + # @param inbound_ach [Increase::Models::AccountNumberUpdateParams::InboundACH] Options related to how this Account Number handles inbound ACH transfers. # - # @param inbound_checks [Increase::AccountNumberUpdateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa + # @param inbound_checks [Increase::Models::AccountNumberUpdateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa # # @param name [String] The name you choose for the Account Number. # - # @param status [Symbol, Increase::AccountNumberUpdateParams::Status] This indicates if transfers can be made to the Account Number. + # @param status [Symbol, Increase::Models::AccountNumberUpdateParams::Status] This indicates if transfers can be made to the Account Number. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -51,21 +51,21 @@ class InboundACH < Increase::Internal::Type::BaseModel # Whether ACH debits are allowed against this Account Number. Note that ACH debits # will be declined if this is `allowed` but the Account Number is not active. # - # @return [Symbol, Increase::AccountNumberUpdateParams::InboundACH::DebitStatus, nil] + # @return [Symbol, Increase::Models::AccountNumberUpdateParams::InboundACH::DebitStatus, nil] optional :debit_status, enum: -> { Increase::AccountNumberUpdateParams::InboundACH::DebitStatus } # @!method initialize(debit_status: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountNumberUpdateParams::InboundACH} for more details. + # {Increase::Models::AccountNumberUpdateParams::InboundACH} for more details. # # Options related to how this Account Number handles inbound ACH transfers. # - # @param debit_status [Symbol, Increase::AccountNumberUpdateParams::InboundACH::DebitStatus] Whether ACH debits are allowed against this Account Number. Note that ACH debits + # @param debit_status [Symbol, Increase::Models::AccountNumberUpdateParams::InboundACH::DebitStatus] Whether ACH debits are allowed against this Account Number. Note that ACH debits # Whether ACH debits are allowed against this Account Number. Note that ACH debits # will be declined if this is `allowed` but the Account Number is not active. # - # @see Increase::AccountNumberUpdateParams::InboundACH#debit_status + # @see Increase::Models::AccountNumberUpdateParams::InboundACH#debit_status module DebitStatus extend Increase::Internal::Type::Enum @@ -84,18 +84,18 @@ class InboundChecks < Increase::Internal::Type::BaseModel # @!attribute status # How Increase should process checks with this account number printed on them. # - # @return [Symbol, Increase::AccountNumberUpdateParams::InboundChecks::Status] + # @return [Symbol, Increase::Models::AccountNumberUpdateParams::InboundChecks::Status] required :status, enum: -> { Increase::AccountNumberUpdateParams::InboundChecks::Status } # @!method initialize(status:) # Options related to how this Account Number should handle inbound check # withdrawals. # - # @param status [Symbol, Increase::AccountNumberUpdateParams::InboundChecks::Status] How Increase should process checks with this account number printed on them. + # @param status [Symbol, Increase::Models::AccountNumberUpdateParams::InboundChecks::Status] How Increase should process checks with this account number printed on them. # How Increase should process checks with this account number printed on them. # - # @see Increase::AccountNumberUpdateParams::InboundChecks#status + # @see Increase::Models::AccountNumberUpdateParams::InboundChecks#status module Status extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_statement.rb b/lib/increase/models/account_statement.rb index eab9322d4..23d7f15e5 100644 --- a/lib/increase/models/account_statement.rb +++ b/lib/increase/models/account_statement.rb @@ -59,12 +59,12 @@ class AccountStatement < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `account_statement`. # - # @return [Symbol, Increase::AccountStatement::Type] + # @return [Symbol, Increase::Models::AccountStatement::Type] required :type, enum: -> { Increase::AccountStatement::Type } # @!method initialize(id:, account_id:, created_at:, ending_balance:, file_id:, starting_balance:, statement_period_end:, statement_period_start:, type:) # Some parameter documentations has been truncated, see - # {Increase::AccountStatement} for more details. + # {Increase::Models::AccountStatement} for more details. # # Account Statements are generated monthly for every active Account. You can # access the statement's data via the API or retrieve a PDF with its details via @@ -86,12 +86,12 @@ class AccountStatement < Increase::Internal::Type::BaseModel # # @param statement_period_start [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time representing the sta # - # @param type [Symbol, Increase::AccountStatement::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::AccountStatement::Type] A constant representing the object's type. For this resource it will always be ` # A constant representing the object's type. For this resource it will always be # `account_statement`. # - # @see Increase::AccountStatement#type + # @see Increase::Models::AccountStatement#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_statement_list_params.rb b/lib/increase/models/account_statement_list_params.rb index 2f5096c96..c8304bfbd 100644 --- a/lib/increase/models/account_statement_list_params.rb +++ b/lib/increase/models/account_statement_list_params.rb @@ -28,7 +28,7 @@ class AccountStatementListParams < Increase::Internal::Type::BaseModel # @!attribute statement_period_start # - # @return [Increase::AccountStatementListParams::StatementPeriodStart, nil] + # @return [Increase::Models::AccountStatementListParams::StatementPeriodStart, nil] optional :statement_period_start, -> { Increase::AccountStatementListParams::StatementPeriodStart } # @!method initialize(account_id: nil, cursor: nil, limit: nil, statement_period_start: nil, request_options: {}) @@ -41,7 +41,7 @@ class AccountStatementListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param statement_period_start [Increase::AccountStatementListParams::StatementPeriodStart] + # @param statement_period_start [Increase::Models::AccountStatementListParams::StatementPeriodStart] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -76,7 +76,8 @@ class StatementPeriodStart < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountStatementListParams::StatementPeriodStart} for more details. + # {Increase::Models::AccountStatementListParams::StatementPeriodStart} for more + # details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/account_transfer.rb b/lib/increase/models/account_transfer.rb index 11cb02504..6cf181db0 100644 --- a/lib/increase/models/account_transfer.rb +++ b/lib/increase/models/account_transfer.rb @@ -27,14 +27,14 @@ class AccountTransfer < Increase::Internal::Type::BaseModel # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. # - # @return [Increase::AccountTransfer::Approval, nil] + # @return [Increase::Models::AccountTransfer::Approval, nil] required :approval, -> { Increase::AccountTransfer::Approval }, nil?: true # @!attribute cancellation # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. # - # @return [Increase::AccountTransfer::Cancellation, nil] + # @return [Increase::Models::AccountTransfer::Cancellation, nil] required :cancellation, -> { Increase::AccountTransfer::Cancellation }, nil?: true # @!attribute created_at @@ -47,14 +47,14 @@ class AccountTransfer < Increase::Internal::Type::BaseModel # @!attribute created_by # What object created the transfer, either via the API or the dashboard. # - # @return [Increase::AccountTransfer::CreatedBy, nil] + # @return [Increase::Models::AccountTransfer::CreatedBy, nil] required :created_by, -> { Increase::AccountTransfer::CreatedBy }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @return [Symbol, Increase::AccountTransfer::Currency] + # @return [Symbol, Increase::Models::AccountTransfer::Currency] required :currency, enum: -> { Increase::AccountTransfer::Currency } # @!attribute description @@ -86,7 +86,7 @@ class AccountTransfer < Increase::Internal::Type::BaseModel # @!attribute network # The transfer's network. # - # @return [Symbol, Increase::AccountTransfer::Network] + # @return [Symbol, Increase::Models::AccountTransfer::Network] required :network, enum: -> { Increase::AccountTransfer::Network } # @!attribute pending_transaction_id @@ -101,7 +101,7 @@ class AccountTransfer < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the transfer. # - # @return [Symbol, Increase::AccountTransfer::Status] + # @return [Symbol, Increase::Models::AccountTransfer::Status] required :status, enum: -> { Increase::AccountTransfer::Status } # @!attribute transaction_id @@ -114,12 +114,12 @@ class AccountTransfer < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `account_transfer`. # - # @return [Symbol, Increase::AccountTransfer::Type] + # @return [Symbol, Increase::Models::AccountTransfer::Type] required :type, enum: -> { Increase::AccountTransfer::Type } # @!method initialize(id:, account_id:, amount:, approval:, cancellation:, created_at:, created_by:, currency:, description:, destination_account_id:, destination_transaction_id:, idempotency_key:, network:, pending_transaction_id:, status:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::AccountTransfer} for more details. + # {Increase::Models::AccountTransfer} for more details. # # Account transfers move funds between your own accounts at Increase. # @@ -129,15 +129,15 @@ class AccountTransfer < Increase::Internal::Type::BaseModel # # @param amount [Integer] The transfer amount in the minor unit of the destination account currency. For d # - # @param approval [Increase::AccountTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, + # @param approval [Increase::Models::AccountTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, # - # @param cancellation [Increase::AccountTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv + # @param cancellation [Increase::Models::AccountTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param created_by [Increase::AccountTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. + # @param created_by [Increase::Models::AccountTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. # - # @param currency [Symbol, Increase::AccountTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination + # @param currency [Symbol, Increase::Models::AccountTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # # @param description [String] The description that will show on the transactions. # @@ -147,17 +147,17 @@ class AccountTransfer < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param network [Symbol, Increase::AccountTransfer::Network] The transfer's network. + # @param network [Symbol, Increase::Models::AccountTransfer::Network] The transfer's network. # # @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer. A pending transact # - # @param status [Symbol, Increase::AccountTransfer::Status] The lifecycle status of the transfer. + # @param status [Symbol, Increase::Models::AccountTransfer::Status] The lifecycle status of the transfer. # # @param transaction_id [String, nil] The ID for the transaction funding the transfer. # - # @param type [Symbol, Increase::AccountTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::AccountTransfer::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::AccountTransfer#approval + # @see Increase::Models::AccountTransfer#approval class Approval < Increase::Internal::Type::BaseModel # @!attribute approved_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -175,7 +175,7 @@ class Approval < Increase::Internal::Type::BaseModel # @!method initialize(approved_at:, approved_by:) # Some parameter documentations has been truncated, see - # {Increase::AccountTransfer::Approval} for more details. + # {Increase::Models::AccountTransfer::Approval} for more details. # # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. @@ -185,7 +185,7 @@ class Approval < Increase::Internal::Type::BaseModel # @param approved_by [String, nil] If the Transfer was approved by a user in the dashboard, the email address of th end - # @see Increase::AccountTransfer#cancellation + # @see Increase::Models::AccountTransfer#cancellation class Cancellation < Increase::Internal::Type::BaseModel # @!attribute canceled_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -203,7 +203,7 @@ class Cancellation < Increase::Internal::Type::BaseModel # @!method initialize(canceled_at:, canceled_by:) # Some parameter documentations has been truncated, see - # {Increase::AccountTransfer::Cancellation} for more details. + # {Increase::Models::AccountTransfer::Cancellation} for more details. # # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. @@ -213,44 +213,44 @@ class Cancellation < Increase::Internal::Type::BaseModel # @param canceled_by [String, nil] If the Transfer was canceled by a user in the dashboard, the email address of th end - # @see Increase::AccountTransfer#created_by + # @see Increase::Models::AccountTransfer#created_by class CreatedBy < Increase::Internal::Type::BaseModel # @!attribute api_key # If present, details about the API key that created the transfer. # - # @return [Increase::AccountTransfer::CreatedBy::APIKey, nil] + # @return [Increase::Models::AccountTransfer::CreatedBy::APIKey, nil] required :api_key, -> { Increase::AccountTransfer::CreatedBy::APIKey }, nil?: true # @!attribute category # The type of object that created this transfer. # - # @return [Symbol, Increase::AccountTransfer::CreatedBy::Category] + # @return [Symbol, Increase::Models::AccountTransfer::CreatedBy::Category] required :category, enum: -> { Increase::AccountTransfer::CreatedBy::Category } # @!attribute oauth_application # If present, details about the OAuth Application that created the transfer. # - # @return [Increase::AccountTransfer::CreatedBy::OAuthApplication, nil] + # @return [Increase::Models::AccountTransfer::CreatedBy::OAuthApplication, nil] required :oauth_application, -> { Increase::AccountTransfer::CreatedBy::OAuthApplication }, nil?: true # @!attribute user # If present, details about the User that created the transfer. # - # @return [Increase::AccountTransfer::CreatedBy::User, nil] + # @return [Increase::Models::AccountTransfer::CreatedBy::User, nil] required :user, -> { Increase::AccountTransfer::CreatedBy::User }, nil?: true # @!method initialize(api_key:, category:, oauth_application:, user:) # What object created the transfer, either via the API or the dashboard. # - # @param api_key [Increase::AccountTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. + # @param api_key [Increase::Models::AccountTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. # - # @param category [Symbol, Increase::AccountTransfer::CreatedBy::Category] The type of object that created this transfer. + # @param category [Symbol, Increase::Models::AccountTransfer::CreatedBy::Category] The type of object that created this transfer. # - # @param oauth_application [Increase::AccountTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. + # @param oauth_application [Increase::Models::AccountTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. # - # @param user [Increase::AccountTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. + # @param user [Increase::Models::AccountTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. - # @see Increase::AccountTransfer::CreatedBy#api_key + # @see Increase::Models::AccountTransfer::CreatedBy#api_key class APIKey < Increase::Internal::Type::BaseModel # @!attribute description # The description set for the API key when it was created. @@ -266,7 +266,7 @@ class APIKey < Increase::Internal::Type::BaseModel # The type of object that created this transfer. # - # @see Increase::AccountTransfer::CreatedBy#category + # @see Increase::Models::AccountTransfer::CreatedBy#category module Category extend Increase::Internal::Type::Enum @@ -283,7 +283,7 @@ module Category # @return [Array] end - # @see Increase::AccountTransfer::CreatedBy#oauth_application + # @see Increase::Models::AccountTransfer::CreatedBy#oauth_application class OAuthApplication < Increase::Internal::Type::BaseModel # @!attribute name # The name of the OAuth Application. @@ -297,7 +297,7 @@ class OAuthApplication < Increase::Internal::Type::BaseModel # @param name [String] The name of the OAuth Application. end - # @see Increase::AccountTransfer::CreatedBy#user + # @see Increase::Models::AccountTransfer::CreatedBy#user class User < Increase::Internal::Type::BaseModel # @!attribute email # The email address of the User. @@ -315,7 +315,7 @@ class User < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @see Increase::AccountTransfer#currency + # @see Increase::Models::AccountTransfer#currency module Currency extend Increase::Internal::Type::Enum @@ -343,7 +343,7 @@ module Currency # The transfer's network. # - # @see Increase::AccountTransfer#network + # @see Increase::Models::AccountTransfer#network module Network extend Increase::Internal::Type::Enum @@ -355,7 +355,7 @@ module Network # The lifecycle status of the transfer. # - # @see Increase::AccountTransfer#status + # @see Increase::Models::AccountTransfer#status module Status extend Increase::Internal::Type::Enum @@ -375,7 +375,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `account_transfer`. # - # @see Increase::AccountTransfer#type + # @see Increase::Models::AccountTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/account_transfer_list_params.rb b/lib/increase/models/account_transfer_list_params.rb index a92a5987e..bda68a66e 100644 --- a/lib/increase/models/account_transfer_list_params.rb +++ b/lib/increase/models/account_transfer_list_params.rb @@ -15,7 +15,7 @@ class AccountTransferListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::AccountTransferListParams::CreatedAt, nil] + # @return [Increase::Models::AccountTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::AccountTransferListParams::CreatedAt } # @!attribute cursor @@ -46,7 +46,7 @@ class AccountTransferListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Account Transfers to those that originated from the specified Account. # - # @param created_at [Increase::AccountTransferListParams::CreatedAt] + # @param created_at [Increase::Models::AccountTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -87,7 +87,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::AccountTransferListParams::CreatedAt} for more details. + # {Increase::Models::AccountTransferListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/ach_prenotification.rb b/lib/increase/models/ach_prenotification.rb index 5ad315064..a43adda48 100644 --- a/lib/increase/models/ach_prenotification.rb +++ b/lib/increase/models/ach_prenotification.rb @@ -56,7 +56,7 @@ class ACHPrenotification < Increase::Internal::Type::BaseModel # @!attribute credit_debit_indicator # If the notification is for a future credit or debit. # - # @return [Symbol, Increase::ACHPrenotification::CreditDebitIndicator, nil] + # @return [Symbol, Increase::Models::ACHPrenotification::CreditDebitIndicator, nil] required :credit_debit_indicator, enum: -> { Increase::ACHPrenotification::CreditDebitIndicator }, nil?: true @@ -79,14 +79,14 @@ class ACHPrenotification < Increase::Internal::Type::BaseModel # If the receiving bank notifies that future transfers should use different # details, this will contain those details. # - # @return [Array] + # @return [Array] required :notifications_of_change, -> { Increase::Internal::Type::ArrayOf[Increase::ACHPrenotification::NotificationsOfChange] } # @!attribute prenotification_return # If your prenotification is returned, this will contain details of the return. # - # @return [Increase::ACHPrenotification::PrenotificationReturn, nil] + # @return [Increase::Models::ACHPrenotification::PrenotificationReturn, nil] required :prenotification_return, -> { Increase::ACHPrenotification::PrenotificationReturn }, nil?: true # @!attribute routing_number @@ -98,19 +98,19 @@ class ACHPrenotification < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the ACH Prenotification. # - # @return [Symbol, Increase::ACHPrenotification::Status] + # @return [Symbol, Increase::Models::ACHPrenotification::Status] required :status, enum: -> { Increase::ACHPrenotification::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `ach_prenotification`. # - # @return [Symbol, Increase::ACHPrenotification::Type] + # @return [Symbol, Increase::Models::ACHPrenotification::Type] required :type, enum: -> { Increase::ACHPrenotification::Type } # @!method initialize(id:, account_number:, addendum:, company_descriptive_date:, company_discretionary_data:, company_entry_description:, company_name:, created_at:, credit_debit_indicator:, effective_date:, idempotency_key:, notifications_of_change:, prenotification_return:, routing_number:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::ACHPrenotification} for more details. + # {Increase::Models::ACHPrenotification} for more details. # # ACH Prenotifications are one way you can verify account and routing numbers by # Automated Clearing House (ACH). @@ -131,25 +131,25 @@ class ACHPrenotification < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param credit_debit_indicator [Symbol, Increase::ACHPrenotification::CreditDebitIndicator, nil] If the notification is for a future credit or debit. + # @param credit_debit_indicator [Symbol, Increase::Models::ACHPrenotification::CreditDebitIndicator, nil] If the notification is for a future credit or debit. # # @param effective_date [Time, nil] The effective date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format. # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param notifications_of_change [Array] If the receiving bank notifies that future transfers should use different detail + # @param notifications_of_change [Array] If the receiving bank notifies that future transfers should use different detail # - # @param prenotification_return [Increase::ACHPrenotification::PrenotificationReturn, nil] If your prenotification is returned, this will contain details of the return. + # @param prenotification_return [Increase::Models::ACHPrenotification::PrenotificationReturn, nil] If your prenotification is returned, this will contain details of the return. # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN). # - # @param status [Symbol, Increase::ACHPrenotification::Status] The lifecycle status of the ACH Prenotification. + # @param status [Symbol, Increase::Models::ACHPrenotification::Status] The lifecycle status of the ACH Prenotification. # - # @param type [Symbol, Increase::ACHPrenotification::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::ACHPrenotification::Type] A constant representing the object's type. For this resource it will always be ` # If the notification is for a future credit or debit. # - # @see Increase::ACHPrenotification#credit_debit_indicator + # @see Increase::Models::ACHPrenotification#credit_debit_indicator module CreditDebitIndicator extend Increase::Internal::Type::Enum @@ -168,7 +168,7 @@ class NotificationsOfChange < Increase::Internal::Type::BaseModel # The required type of change that is being signaled by the receiving financial # institution. # - # @return [Symbol, Increase::ACHPrenotification::NotificationsOfChange::ChangeCode] + # @return [Symbol, Increase::Models::ACHPrenotification::NotificationsOfChange::ChangeCode] required :change_code, enum: -> { Increase::ACHPrenotification::NotificationsOfChange::ChangeCode } # @!attribute corrected_data @@ -190,9 +190,9 @@ class NotificationsOfChange < Increase::Internal::Type::BaseModel # @!method initialize(change_code:, corrected_data:, created_at:) # Some parameter documentations has been truncated, see - # {Increase::ACHPrenotification::NotificationsOfChange} for more details. + # {Increase::Models::ACHPrenotification::NotificationsOfChange} for more details. # - # @param change_code [Symbol, Increase::ACHPrenotification::NotificationsOfChange::ChangeCode] The required type of change that is being signaled by the receiving financial in + # @param change_code [Symbol, Increase::Models::ACHPrenotification::NotificationsOfChange::ChangeCode] The required type of change that is being signaled by the receiving financial in # # @param corrected_data [String] The corrected data that should be used in future ACHs to this account. This may # @@ -201,7 +201,7 @@ class NotificationsOfChange < Increase::Internal::Type::BaseModel # The required type of change that is being signaled by the receiving financial # institution. # - # @see Increase::ACHPrenotification::NotificationsOfChange#change_code + # @see Increase::Models::ACHPrenotification::NotificationsOfChange#change_code module ChangeCode extend Increase::Internal::Type::Enum @@ -273,7 +273,7 @@ module ChangeCode end end - # @see Increase::ACHPrenotification#prenotification_return + # @see Increase::Models::ACHPrenotification#prenotification_return class PrenotificationReturn < Increase::Internal::Type::BaseModel # @!attribute created_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -285,23 +285,23 @@ class PrenotificationReturn < Increase::Internal::Type::BaseModel # @!attribute return_reason_code # Why the Prenotification was returned. # - # @return [Symbol, Increase::ACHPrenotification::PrenotificationReturn::ReturnReasonCode] + # @return [Symbol, Increase::Models::ACHPrenotification::PrenotificationReturn::ReturnReasonCode] required :return_reason_code, enum: -> { Increase::ACHPrenotification::PrenotificationReturn::ReturnReasonCode } # @!method initialize(created_at:, return_reason_code:) # Some parameter documentations has been truncated, see - # {Increase::ACHPrenotification::PrenotificationReturn} for more details. + # {Increase::Models::ACHPrenotification::PrenotificationReturn} for more details. # # If your prenotification is returned, this will contain details of the return. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param return_reason_code [Symbol, Increase::ACHPrenotification::PrenotificationReturn::ReturnReasonCode] Why the Prenotification was returned. + # @param return_reason_code [Symbol, Increase::Models::ACHPrenotification::PrenotificationReturn::ReturnReasonCode] Why the Prenotification was returned. # Why the Prenotification was returned. # - # @see Increase::ACHPrenotification::PrenotificationReturn#return_reason_code + # @see Increase::Models::ACHPrenotification::PrenotificationReturn#return_reason_code module ReturnReasonCode extend Increase::Internal::Type::Enum @@ -525,7 +525,7 @@ module ReturnReasonCode # The lifecycle status of the ACH Prenotification. # - # @see Increase::ACHPrenotification#status + # @see Increase::Models::ACHPrenotification#status module Status extend Increase::Internal::Type::Enum @@ -548,7 +548,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `ach_prenotification`. # - # @see Increase::ACHPrenotification#type + # @see Increase::Models::ACHPrenotification#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/ach_prenotification_create_params.rb b/lib/increase/models/ach_prenotification_create_params.rb index 2ec0b68ee..19be932f1 100644 --- a/lib/increase/models/ach_prenotification_create_params.rb +++ b/lib/increase/models/ach_prenotification_create_params.rb @@ -59,7 +59,7 @@ class ACHPrenotificationCreateParams < Increase::Internal::Type::BaseModel # @!attribute credit_debit_indicator # Whether the Prenotification is for a future debit or credit. # - # @return [Symbol, Increase::ACHPrenotificationCreateParams::CreditDebitIndicator, nil] + # @return [Symbol, Increase::Models::ACHPrenotificationCreateParams::CreditDebitIndicator, nil] optional :credit_debit_indicator, enum: -> { Increase::ACHPrenotificationCreateParams::CreditDebitIndicator } @@ -86,7 +86,7 @@ class ACHPrenotificationCreateParams < Increase::Internal::Type::BaseModel # @!attribute standard_entry_class_code # The Standard Entry Class (SEC) code to use for the ACH Prenotification. # - # @return [Symbol, Increase::ACHPrenotificationCreateParams::StandardEntryClassCode, nil] + # @return [Symbol, Increase::Models::ACHPrenotificationCreateParams::StandardEntryClassCode, nil] optional :standard_entry_class_code, enum: -> { Increase::ACHPrenotificationCreateParams::StandardEntryClassCode } @@ -110,7 +110,7 @@ class ACHPrenotificationCreateParams < Increase::Internal::Type::BaseModel # # @param company_name [String] The name by which the recipient knows you. # - # @param credit_debit_indicator [Symbol, Increase::ACHPrenotificationCreateParams::CreditDebitIndicator] Whether the Prenotification is for a future debit or credit. + # @param credit_debit_indicator [Symbol, Increase::Models::ACHPrenotificationCreateParams::CreditDebitIndicator] Whether the Prenotification is for a future debit or credit. # # @param effective_date [Date] The transfer effective date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601 # @@ -118,7 +118,7 @@ class ACHPrenotificationCreateParams < Increase::Internal::Type::BaseModel # # @param individual_name [String] The name of the transfer recipient. This value is information and not verified b # - # @param standard_entry_class_code [Symbol, Increase::ACHPrenotificationCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the ACH Prenotification. + # @param standard_entry_class_code [Symbol, Increase::Models::ACHPrenotificationCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the ACH Prenotification. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/ach_prenotification_list_params.rb b/lib/increase/models/ach_prenotification_list_params.rb index e5f69ec93..129049a7a 100644 --- a/lib/increase/models/ach_prenotification_list_params.rb +++ b/lib/increase/models/ach_prenotification_list_params.rb @@ -9,7 +9,7 @@ class ACHPrenotificationListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::ACHPrenotificationListParams::CreatedAt, nil] + # @return [Increase::Models::ACHPrenotificationListParams::CreatedAt, nil] optional :created_at, -> { Increase::ACHPrenotificationListParams::CreatedAt } # @!attribute cursor @@ -38,7 +38,7 @@ class ACHPrenotificationListParams < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::ACHPrenotificationListParams} for more details. # - # @param created_at [Increase::ACHPrenotificationListParams::CreatedAt] + # @param created_at [Increase::Models::ACHPrenotificationListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -79,7 +79,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::ACHPrenotificationListParams::CreatedAt} for more details. + # {Increase::Models::ACHPrenotificationListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/ach_transfer.rb b/lib/increase/models/ach_transfer.rb index 7286f1036..43f787cf3 100644 --- a/lib/increase/models/ach_transfer.rb +++ b/lib/increase/models/ach_transfer.rb @@ -27,13 +27,13 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # details. The Federal Reserve sends an acknowledgement message for each file that # Increase submits. # - # @return [Increase::ACHTransfer::Acknowledgement, nil] + # @return [Increase::Models::ACHTransfer::Acknowledgement, nil] required :acknowledgement, -> { Increase::ACHTransfer::Acknowledgement }, nil?: true # @!attribute addenda # Additional information that will be sent to the recipient. # - # @return [Increase::ACHTransfer::Addenda, nil] + # @return [Increase::Models::ACHTransfer::Addenda, nil] required :addenda, -> { Increase::ACHTransfer::Addenda }, nil?: true # @!attribute amount @@ -48,14 +48,14 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. # - # @return [Increase::ACHTransfer::Approval, nil] + # @return [Increase::Models::ACHTransfer::Approval, nil] required :approval, -> { Increase::ACHTransfer::Approval }, nil?: true # @!attribute cancellation # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. # - # @return [Increase::ACHTransfer::Cancellation, nil] + # @return [Increase::Models::ACHTransfer::Cancellation, nil] required :cancellation, -> { Increase::ACHTransfer::Cancellation }, nil?: true # @!attribute company_descriptive_date @@ -98,21 +98,21 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # @!attribute created_by # What object created the transfer, either via the API or the dashboard. # - # @return [Increase::ACHTransfer::CreatedBy, nil] + # @return [Increase::Models::ACHTransfer::CreatedBy, nil] required :created_by, -> { Increase::ACHTransfer::CreatedBy }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's # currency. For ACH transfers this is always equal to `usd`. # - # @return [Symbol, Increase::ACHTransfer::Currency] + # @return [Symbol, Increase::Models::ACHTransfer::Currency] required :currency, enum: -> { Increase::ACHTransfer::Currency } # @!attribute destination_account_holder # The type of entity that owns the account to which the ACH Transfer is being # sent. # - # @return [Symbol, Increase::ACHTransfer::DestinationAccountHolder] + # @return [Symbol, Increase::Models::ACHTransfer::DestinationAccountHolder] required :destination_account_holder, enum: -> { Increase::ACHTransfer::DestinationAccountHolder } # @!attribute external_account_id @@ -124,7 +124,7 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # @!attribute funding # The type of the account to which the transfer will be sent. # - # @return [Symbol, Increase::ACHTransfer::Funding] + # @return [Symbol, Increase::Models::ACHTransfer::Funding] required :funding, enum: -> { Increase::ACHTransfer::Funding } # @!attribute idempotency_key @@ -139,7 +139,7 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # Increase will sometimes hold the funds for ACH debit transfers. If funds are # held, this sub-object will contain details of the hold. # - # @return [Increase::ACHTransfer::InboundFundsHold, nil] + # @return [Increase::Models::ACHTransfer::InboundFundsHold, nil] required :inbound_funds_hold, -> { Increase::ACHTransfer::InboundFundsHold }, nil?: true # @!attribute individual_id @@ -158,14 +158,14 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # @!attribute network # The transfer's network. # - # @return [Symbol, Increase::ACHTransfer::Network] + # @return [Symbol, Increase::Models::ACHTransfer::Network] required :network, enum: -> { Increase::ACHTransfer::Network } # @!attribute notifications_of_change # If the receiving bank accepts the transfer but notifies that future transfers # should use different details, this will contain those details. # - # @return [Array] + # @return [Array] required :notifications_of_change, -> { Increase::Internal::Type::ArrayOf[Increase::ACHTransfer::NotificationsOfChange] } @@ -184,13 +184,13 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # `settlement_schedule` of `same_day`. If set, exactly one of the child attributes # must be set. # - # @return [Increase::ACHTransfer::PreferredEffectiveDate] + # @return [Increase::Models::ACHTransfer::PreferredEffectiveDate] required :preferred_effective_date, -> { Increase::ACHTransfer::PreferredEffectiveDate } # @!attribute return_ # If your transfer is returned, this will contain details of the return. # - # @return [Increase::ACHTransfer::Return, nil] + # @return [Increase::Models::ACHTransfer::Return, nil] required :return_, -> { Increase::ACHTransfer::Return }, api_name: :return, nil?: true # @!attribute routing_number @@ -203,13 +203,13 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # A subhash containing information about when and how the transfer settled at the # Federal Reserve. # - # @return [Increase::ACHTransfer::Settlement, nil] + # @return [Increase::Models::ACHTransfer::Settlement, nil] required :settlement, -> { Increase::ACHTransfer::Settlement }, nil?: true # @!attribute standard_entry_class_code # The Standard Entry Class (SEC) code to use for the transfer. # - # @return [Symbol, Increase::ACHTransfer::StandardEntryClassCode] + # @return [Symbol, Increase::Models::ACHTransfer::StandardEntryClassCode] required :standard_entry_class_code, enum: -> { Increase::ACHTransfer::StandardEntryClassCode } # @!attribute statement_descriptor @@ -221,7 +221,7 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the transfer. # - # @return [Symbol, Increase::ACHTransfer::Status] + # @return [Symbol, Increase::Models::ACHTransfer::Status] required :status, enum: -> { Increase::ACHTransfer::Status } # @!attribute submission @@ -231,7 +231,7 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # weekdays according to their # [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html). # - # @return [Increase::ACHTransfer::Submission, nil] + # @return [Increase::Models::ACHTransfer::Submission, nil] required :submission, -> { Increase::ACHTransfer::Submission }, nil?: true # @!attribute transaction_id @@ -244,12 +244,12 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `ach_transfer`. # - # @return [Symbol, Increase::ACHTransfer::Type] + # @return [Symbol, Increase::Models::ACHTransfer::Type] required :type, enum: -> { Increase::ACHTransfer::Type } # @!method initialize(id:, account_id:, account_number:, acknowledgement:, addenda:, amount:, approval:, cancellation:, company_descriptive_date:, company_discretionary_data:, company_entry_description:, company_id:, company_name:, created_at:, created_by:, currency:, destination_account_holder:, external_account_id:, funding:, idempotency_key:, inbound_funds_hold:, individual_id:, individual_name:, network:, notifications_of_change:, pending_transaction_id:, preferred_effective_date:, return_:, routing_number:, settlement:, standard_entry_class_code:, statement_descriptor:, status:, submission:, transaction_id:, type:) - # Some parameter documentations has been truncated, see {Increase::ACHTransfer} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::ACHTransfer} for more details. # # ACH transfers move funds between your Increase account and any other account # accessible by the Automated Clearing House (ACH). @@ -260,15 +260,15 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # # @param account_number [String] The destination account number. # - # @param acknowledgement [Increase::ACHTransfer::Acknowledgement, nil] After the transfer is acknowledged by FedACH, this will contain supplemental det + # @param acknowledgement [Increase::Models::ACHTransfer::Acknowledgement, nil] After the transfer is acknowledged by FedACH, this will contain supplemental det # - # @param addenda [Increase::ACHTransfer::Addenda, nil] Additional information that will be sent to the recipient. + # @param addenda [Increase::Models::ACHTransfer::Addenda, nil] Additional information that will be sent to the recipient. # # @param amount [Integer] The transfer amount in USD cents. A positive amount indicates a credit transfer # - # @param approval [Increase::ACHTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, + # @param approval [Increase::Models::ACHTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, # - # @param cancellation [Increase::ACHTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv + # @param cancellation [Increase::Models::ACHTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv # # @param company_descriptive_date [String, nil] The description of the date of the transfer. # @@ -282,51 +282,51 @@ class ACHTransfer < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param created_by [Increase::ACHTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. + # @param created_by [Increase::Models::ACHTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. # - # @param currency [Symbol, Increase::ACHTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c + # @param currency [Symbol, Increase::Models::ACHTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c # - # @param destination_account_holder [Symbol, Increase::ACHTransfer::DestinationAccountHolder] The type of entity that owns the account to which the ACH Transfer is being sent + # @param destination_account_holder [Symbol, Increase::Models::ACHTransfer::DestinationAccountHolder] The type of entity that owns the account to which the ACH Transfer is being sent # # @param external_account_id [String, nil] The identifier of the External Account the transfer was made to, if any. # - # @param funding [Symbol, Increase::ACHTransfer::Funding] The type of the account to which the transfer will be sent. + # @param funding [Symbol, Increase::Models::ACHTransfer::Funding] The type of the account to which the transfer will be sent. # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param inbound_funds_hold [Increase::ACHTransfer::InboundFundsHold, nil] Increase will sometimes hold the funds for ACH debit transfers. If funds are hel + # @param inbound_funds_hold [Increase::Models::ACHTransfer::InboundFundsHold, nil] Increase will sometimes hold the funds for ACH debit transfers. If funds are hel # # @param individual_id [String, nil] Your identifier for the transfer recipient. # # @param individual_name [String, nil] The name of the transfer recipient. This value is information and not verified b # - # @param network [Symbol, Increase::ACHTransfer::Network] The transfer's network. + # @param network [Symbol, Increase::Models::ACHTransfer::Network] The transfer's network. # - # @param notifications_of_change [Array] If the receiving bank accepts the transfer but notifies that future transfers sh + # @param notifications_of_change [Array] If the receiving bank accepts the transfer but notifies that future transfers sh # # @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer. A pending transact # - # @param preferred_effective_date [Increase::ACHTransfer::PreferredEffectiveDate] Configuration for how the effective date of the transfer will be set. This deter + # @param preferred_effective_date [Increase::Models::ACHTransfer::PreferredEffectiveDate] Configuration for how the effective date of the transfer will be set. This deter # - # @param return_ [Increase::ACHTransfer::Return, nil] If your transfer is returned, this will contain details of the return. + # @param return_ [Increase::Models::ACHTransfer::Return, nil] If your transfer is returned, this will contain details of the return. # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN). # - # @param settlement [Increase::ACHTransfer::Settlement, nil] A subhash containing information about when and how the transfer settled at the + # @param settlement [Increase::Models::ACHTransfer::Settlement, nil] A subhash containing information about when and how the transfer settled at the # - # @param standard_entry_class_code [Symbol, Increase::ACHTransfer::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the transfer. + # @param standard_entry_class_code [Symbol, Increase::Models::ACHTransfer::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the transfer. # # @param statement_descriptor [String] The descriptor that will show on the recipient's bank statement. # - # @param status [Symbol, Increase::ACHTransfer::Status] The lifecycle status of the transfer. + # @param status [Symbol, Increase::Models::ACHTransfer::Status] The lifecycle status of the transfer. # - # @param submission [Increase::ACHTransfer::Submission, nil] After the transfer is submitted to FedACH, this will contain supplemental detail + # @param submission [Increase::Models::ACHTransfer::Submission, nil] After the transfer is submitted to FedACH, this will contain supplemental detail # # @param transaction_id [String, nil] The ID for the transaction funding the transfer. # - # @param type [Symbol, Increase::ACHTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::ACHTransfer::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::ACHTransfer#acknowledgement + # @see Increase::Models::ACHTransfer#acknowledgement class Acknowledgement < Increase::Internal::Type::BaseModel # @!attribute acknowledged_at # When the Federal Reserve acknowledged the submitted file containing this @@ -337,7 +337,7 @@ class Acknowledgement < Increase::Internal::Type::BaseModel # @!method initialize(acknowledged_at:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Acknowledgement} for more details. + # {Increase::Models::ACHTransfer::Acknowledgement} for more details. # # After the transfer is acknowledged by FedACH, this will contain supplemental # details. The Federal Reserve sends an acknowledgement message for each file that @@ -346,46 +346,46 @@ class Acknowledgement < Increase::Internal::Type::BaseModel # @param acknowledged_at [String] When the Federal Reserve acknowledged the submitted file containing this transfe end - # @see Increase::ACHTransfer#addenda + # @see Increase::Models::ACHTransfer#addenda class Addenda < Increase::Internal::Type::BaseModel # @!attribute category # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @return [Symbol, Increase::ACHTransfer::Addenda::Category] + # @return [Symbol, Increase::Models::ACHTransfer::Addenda::Category] required :category, enum: -> { Increase::ACHTransfer::Addenda::Category } # @!attribute freeform # Unstructured `payment_related_information` passed through with the transfer. # - # @return [Increase::ACHTransfer::Addenda::Freeform, nil] + # @return [Increase::Models::ACHTransfer::Addenda::Freeform, nil] required :freeform, -> { Increase::ACHTransfer::Addenda::Freeform }, nil?: true # @!attribute payment_order_remittance_advice # Structured ASC X12 820 remittance advice records. Please reach out to # [support@increase.com](mailto:support@increase.com) for more information. # - # @return [Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice, nil] + # @return [Increase::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice, nil] required :payment_order_remittance_advice, -> { Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice }, nil?: true # @!method initialize(category:, freeform:, payment_order_remittance_advice:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Addenda} for more details. + # {Increase::Models::ACHTransfer::Addenda} for more details. # # Additional information that will be sent to the recipient. # - # @param category [Symbol, Increase::ACHTransfer::Addenda::Category] The type of the resource. We may add additional possible values for this enum ov + # @param category [Symbol, Increase::Models::ACHTransfer::Addenda::Category] The type of the resource. We may add additional possible values for this enum ov # - # @param freeform [Increase::ACHTransfer::Addenda::Freeform, nil] Unstructured `payment_related_information` passed through with the transfer. + # @param freeform [Increase::Models::ACHTransfer::Addenda::Freeform, nil] Unstructured `payment_related_information` passed through with the transfer. # - # @param payment_order_remittance_advice [Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice, nil] Structured ASC X12 820 remittance advice records. Please reach out to [support@i + # @param payment_order_remittance_advice [Increase::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice, nil] Structured ASC X12 820 remittance advice records. Please reach out to [support@i # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @see Increase::ACHTransfer::Addenda#category + # @see Increase::Models::ACHTransfer::Addenda#category module Category extend Increase::Internal::Type::Enum @@ -402,19 +402,19 @@ module Category # @return [Array] end - # @see Increase::ACHTransfer::Addenda#freeform + # @see Increase::Models::ACHTransfer::Addenda#freeform class Freeform < Increase::Internal::Type::BaseModel # @!attribute entries # Each entry represents an addendum sent with the transfer. # - # @return [Array] + # @return [Array] required :entries, -> { Increase::Internal::Type::ArrayOf[Increase::ACHTransfer::Addenda::Freeform::Entry] } # @!method initialize(entries:) # Unstructured `payment_related_information` passed through with the transfer. # - # @param entries [Array] Each entry represents an addendum sent with the transfer. + # @param entries [Array] Each entry represents an addendum sent with the transfer. class Entry < Increase::Internal::Type::BaseModel # @!attribute payment_related_information @@ -428,12 +428,12 @@ class Entry < Increase::Internal::Type::BaseModel end end - # @see Increase::ACHTransfer::Addenda#payment_order_remittance_advice + # @see Increase::Models::ACHTransfer::Addenda#payment_order_remittance_advice class PaymentOrderRemittanceAdvice < Increase::Internal::Type::BaseModel # @!attribute invoices # ASC X12 RMR records for this specific transfer. # - # @return [Array] + # @return [Array] required :invoices, -> { Increase::Internal::Type::ArrayOf[Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice] @@ -443,7 +443,7 @@ class PaymentOrderRemittanceAdvice < Increase::Internal::Type::BaseModel # Structured ASC X12 820 remittance advice records. Please reach out to # [support@increase.com](mailto:support@increase.com) for more information. # - # @param invoices [Array] ASC X12 RMR records for this specific transfer. + # @param invoices [Array] ASC X12 RMR records for this specific transfer. class Invoice < Increase::Internal::Type::BaseModel # @!attribute invoice_number @@ -461,8 +461,8 @@ class Invoice < Increase::Internal::Type::BaseModel # @!method initialize(invoice_number:, paid_amount:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice} for more - # details. + # {Increase::Models::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice} + # for more details. # # @param invoice_number [String] The invoice number for this reference, determined in advance with the receiver. # @@ -471,7 +471,7 @@ class Invoice < Increase::Internal::Type::BaseModel end end - # @see Increase::ACHTransfer#approval + # @see Increase::Models::ACHTransfer#approval class Approval < Increase::Internal::Type::BaseModel # @!attribute approved_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -489,7 +489,7 @@ class Approval < Increase::Internal::Type::BaseModel # @!method initialize(approved_at:, approved_by:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Approval} for more details. + # {Increase::Models::ACHTransfer::Approval} for more details. # # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. @@ -499,7 +499,7 @@ class Approval < Increase::Internal::Type::BaseModel # @param approved_by [String, nil] If the Transfer was approved by a user in the dashboard, the email address of th end - # @see Increase::ACHTransfer#cancellation + # @see Increase::Models::ACHTransfer#cancellation class Cancellation < Increase::Internal::Type::BaseModel # @!attribute canceled_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -517,7 +517,7 @@ class Cancellation < Increase::Internal::Type::BaseModel # @!method initialize(canceled_at:, canceled_by:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Cancellation} for more details. + # {Increase::Models::ACHTransfer::Cancellation} for more details. # # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. @@ -527,44 +527,44 @@ class Cancellation < Increase::Internal::Type::BaseModel # @param canceled_by [String, nil] If the Transfer was canceled by a user in the dashboard, the email address of th end - # @see Increase::ACHTransfer#created_by + # @see Increase::Models::ACHTransfer#created_by class CreatedBy < Increase::Internal::Type::BaseModel # @!attribute api_key # If present, details about the API key that created the transfer. # - # @return [Increase::ACHTransfer::CreatedBy::APIKey, nil] + # @return [Increase::Models::ACHTransfer::CreatedBy::APIKey, nil] required :api_key, -> { Increase::ACHTransfer::CreatedBy::APIKey }, nil?: true # @!attribute category # The type of object that created this transfer. # - # @return [Symbol, Increase::ACHTransfer::CreatedBy::Category] + # @return [Symbol, Increase::Models::ACHTransfer::CreatedBy::Category] required :category, enum: -> { Increase::ACHTransfer::CreatedBy::Category } # @!attribute oauth_application # If present, details about the OAuth Application that created the transfer. # - # @return [Increase::ACHTransfer::CreatedBy::OAuthApplication, nil] + # @return [Increase::Models::ACHTransfer::CreatedBy::OAuthApplication, nil] required :oauth_application, -> { Increase::ACHTransfer::CreatedBy::OAuthApplication }, nil?: true # @!attribute user # If present, details about the User that created the transfer. # - # @return [Increase::ACHTransfer::CreatedBy::User, nil] + # @return [Increase::Models::ACHTransfer::CreatedBy::User, nil] required :user, -> { Increase::ACHTransfer::CreatedBy::User }, nil?: true # @!method initialize(api_key:, category:, oauth_application:, user:) # What object created the transfer, either via the API or the dashboard. # - # @param api_key [Increase::ACHTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. + # @param api_key [Increase::Models::ACHTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. # - # @param category [Symbol, Increase::ACHTransfer::CreatedBy::Category] The type of object that created this transfer. + # @param category [Symbol, Increase::Models::ACHTransfer::CreatedBy::Category] The type of object that created this transfer. # - # @param oauth_application [Increase::ACHTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. + # @param oauth_application [Increase::Models::ACHTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. # - # @param user [Increase::ACHTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. + # @param user [Increase::Models::ACHTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. - # @see Increase::ACHTransfer::CreatedBy#api_key + # @see Increase::Models::ACHTransfer::CreatedBy#api_key class APIKey < Increase::Internal::Type::BaseModel # @!attribute description # The description set for the API key when it was created. @@ -580,7 +580,7 @@ class APIKey < Increase::Internal::Type::BaseModel # The type of object that created this transfer. # - # @see Increase::ACHTransfer::CreatedBy#category + # @see Increase::Models::ACHTransfer::CreatedBy#category module Category extend Increase::Internal::Type::Enum @@ -597,7 +597,7 @@ module Category # @return [Array] end - # @see Increase::ACHTransfer::CreatedBy#oauth_application + # @see Increase::Models::ACHTransfer::CreatedBy#oauth_application class OAuthApplication < Increase::Internal::Type::BaseModel # @!attribute name # The name of the OAuth Application. @@ -611,7 +611,7 @@ class OAuthApplication < Increase::Internal::Type::BaseModel # @param name [String] The name of the OAuth Application. end - # @see Increase::ACHTransfer::CreatedBy#user + # @see Increase::Models::ACHTransfer::CreatedBy#user class User < Increase::Internal::Type::BaseModel # @!attribute email # The email address of the User. @@ -629,7 +629,7 @@ class User < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's # currency. For ACH transfers this is always equal to `usd`. # - # @see Increase::ACHTransfer#currency + # @see Increase::Models::ACHTransfer#currency module Currency extend Increase::Internal::Type::Enum @@ -658,7 +658,7 @@ module Currency # The type of entity that owns the account to which the ACH Transfer is being # sent. # - # @see Increase::ACHTransfer#destination_account_holder + # @see Increase::Models::ACHTransfer#destination_account_holder module DestinationAccountHolder extend Increase::Internal::Type::Enum @@ -677,7 +677,7 @@ module DestinationAccountHolder # The type of the account to which the transfer will be sent. # - # @see Increase::ACHTransfer#funding + # @see Increase::Models::ACHTransfer#funding module Funding extend Increase::Internal::Type::Enum @@ -691,7 +691,7 @@ module Funding # @return [Array] end - # @see Increase::ACHTransfer#inbound_funds_hold + # @see Increase::Models::ACHTransfer#inbound_funds_hold class InboundFundsHold < Increase::Internal::Type::BaseModel # @!attribute id # The Inbound Funds Hold identifier. @@ -724,7 +724,7 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's # currency. # - # @return [Symbol, Increase::ACHTransfer::InboundFundsHold::Currency] + # @return [Symbol, Increase::Models::ACHTransfer::InboundFundsHold::Currency] required :currency, enum: -> { Increase::ACHTransfer::InboundFundsHold::Currency } # @!attribute held_transaction_id @@ -748,19 +748,19 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # @!attribute status # The status of the hold. # - # @return [Symbol, Increase::ACHTransfer::InboundFundsHold::Status] + # @return [Symbol, Increase::Models::ACHTransfer::InboundFundsHold::Status] required :status, enum: -> { Increase::ACHTransfer::InboundFundsHold::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `inbound_funds_hold`. # - # @return [Symbol, Increase::ACHTransfer::InboundFundsHold::Type] + # @return [Symbol, Increase::Models::ACHTransfer::InboundFundsHold::Type] required :type, enum: -> { Increase::ACHTransfer::InboundFundsHold::Type } # @!method initialize(id:, amount:, automatically_releases_at:, created_at:, currency:, held_transaction_id:, pending_transaction_id:, released_at:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::InboundFundsHold} for more details. + # {Increase::Models::ACHTransfer::InboundFundsHold} for more details. # # Increase will sometimes hold the funds for ACH debit transfers. If funds are # held, this sub-object will contain details of the hold. @@ -773,7 +773,7 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold wa # - # @param currency [Symbol, Increase::ACHTransfer::InboundFundsHold::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's curre + # @param currency [Symbol, Increase::Models::ACHTransfer::InboundFundsHold::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's curre # # @param held_transaction_id [String, nil] The ID of the Transaction for which funds were held. # @@ -781,14 +781,14 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # # @param released_at [Time, nil] When the hold was released (if it has been released). # - # @param status [Symbol, Increase::ACHTransfer::InboundFundsHold::Status] The status of the hold. + # @param status [Symbol, Increase::Models::ACHTransfer::InboundFundsHold::Status] The status of the hold. # - # @param type [Symbol, Increase::ACHTransfer::InboundFundsHold::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::ACHTransfer::InboundFundsHold::Type] A constant representing the object's type. For this resource it will always be ` # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's # currency. # - # @see Increase::ACHTransfer::InboundFundsHold#currency + # @see Increase::Models::ACHTransfer::InboundFundsHold#currency module Currency extend Increase::Internal::Type::Enum @@ -816,7 +816,7 @@ module Currency # The status of the hold. # - # @see Increase::ACHTransfer::InboundFundsHold#status + # @see Increase::Models::ACHTransfer::InboundFundsHold#status module Status extend Increase::Internal::Type::Enum @@ -833,7 +833,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `inbound_funds_hold`. # - # @see Increase::ACHTransfer::InboundFundsHold#type + # @see Increase::Models::ACHTransfer::InboundFundsHold#type module Type extend Increase::Internal::Type::Enum @@ -846,7 +846,7 @@ module Type # The transfer's network. # - # @see Increase::ACHTransfer#network + # @see Increase::Models::ACHTransfer#network module Network extend Increase::Internal::Type::Enum @@ -861,7 +861,7 @@ class NotificationsOfChange < Increase::Internal::Type::BaseModel # The required type of change that is being signaled by the receiving financial # institution. # - # @return [Symbol, Increase::ACHTransfer::NotificationsOfChange::ChangeCode] + # @return [Symbol, Increase::Models::ACHTransfer::NotificationsOfChange::ChangeCode] required :change_code, enum: -> { Increase::ACHTransfer::NotificationsOfChange::ChangeCode } # @!attribute corrected_data @@ -883,9 +883,9 @@ class NotificationsOfChange < Increase::Internal::Type::BaseModel # @!method initialize(change_code:, corrected_data:, created_at:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::NotificationsOfChange} for more details. + # {Increase::Models::ACHTransfer::NotificationsOfChange} for more details. # - # @param change_code [Symbol, Increase::ACHTransfer::NotificationsOfChange::ChangeCode] The required type of change that is being signaled by the receiving financial in + # @param change_code [Symbol, Increase::Models::ACHTransfer::NotificationsOfChange::ChangeCode] The required type of change that is being signaled by the receiving financial in # # @param corrected_data [String] The corrected data that should be used in future ACHs to this account. This may # @@ -894,7 +894,7 @@ class NotificationsOfChange < Increase::Internal::Type::BaseModel # The required type of change that is being signaled by the receiving financial # institution. # - # @see Increase::ACHTransfer::NotificationsOfChange#change_code + # @see Increase::Models::ACHTransfer::NotificationsOfChange#change_code module ChangeCode extend Increase::Internal::Type::Enum @@ -966,7 +966,7 @@ module ChangeCode end end - # @see Increase::ACHTransfer#preferred_effective_date + # @see Increase::Models::ACHTransfer#preferred_effective_date class PreferredEffectiveDate < Increase::Internal::Type::BaseModel # @!attribute date # A specific date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format to @@ -978,14 +978,14 @@ class PreferredEffectiveDate < Increase::Internal::Type::BaseModel # @!attribute settlement_schedule # A schedule by which Increase will choose an effective date for the transfer. # - # @return [Symbol, Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule, nil] + # @return [Symbol, Increase::Models::ACHTransfer::PreferredEffectiveDate::SettlementSchedule, nil] required :settlement_schedule, enum: -> { Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule }, nil?: true # @!method initialize(date:, settlement_schedule:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::PreferredEffectiveDate} for more details. + # {Increase::Models::ACHTransfer::PreferredEffectiveDate} for more details. # # Configuration for how the effective date of the transfer will be set. This # determines same-day vs future-dated settlement timing. If not set, defaults to a @@ -994,11 +994,11 @@ class PreferredEffectiveDate < Increase::Internal::Type::BaseModel # # @param date [Date, nil] A specific date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format to # - # @param settlement_schedule [Symbol, Increase::ACHTransfer::PreferredEffectiveDate::SettlementSchedule, nil] A schedule by which Increase will choose an effective date for the transfer. + # @param settlement_schedule [Symbol, Increase::Models::ACHTransfer::PreferredEffectiveDate::SettlementSchedule, nil] A schedule by which Increase will choose an effective date for the transfer. # A schedule by which Increase will choose an effective date for the transfer. # - # @see Increase::ACHTransfer::PreferredEffectiveDate#settlement_schedule + # @see Increase::Models::ACHTransfer::PreferredEffectiveDate#settlement_schedule module SettlementSchedule extend Increase::Internal::Type::Enum @@ -1016,7 +1016,7 @@ module SettlementSchedule end end - # @see Increase::ACHTransfer#return_ + # @see Increase::Models::ACHTransfer#return_ class Return < Increase::Internal::Type::BaseModel # @!attribute created_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -1035,7 +1035,7 @@ class Return < Increase::Internal::Type::BaseModel # Why the ACH Transfer was returned. This reason code is sent by the receiving # bank back to Increase. # - # @return [Symbol, Increase::ACHTransfer::Return::ReturnReasonCode] + # @return [Symbol, Increase::Models::ACHTransfer::Return::ReturnReasonCode] required :return_reason_code, enum: -> { Increase::ACHTransfer::Return::ReturnReasonCode } # @!attribute trace_number @@ -1061,7 +1061,7 @@ class Return < Increase::Internal::Type::BaseModel # @!method initialize(created_at:, raw_return_reason_code:, return_reason_code:, trace_number:, transaction_id:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Return} for more details. + # {Increase::Models::ACHTransfer::Return} for more details. # # If your transfer is returned, this will contain details of the return. # @@ -1069,7 +1069,7 @@ class Return < Increase::Internal::Type::BaseModel # # @param raw_return_reason_code [String] The three character ACH return code, in the range R01 to R85. # - # @param return_reason_code [Symbol, Increase::ACHTransfer::Return::ReturnReasonCode] Why the ACH Transfer was returned. This reason code is sent by the receiving ban + # @param return_reason_code [Symbol, Increase::Models::ACHTransfer::Return::ReturnReasonCode] Why the ACH Transfer was returned. This reason code is sent by the receiving ban # # @param trace_number [String] A 15 digit number that was generated by the bank that initiated the return. The # @@ -1080,7 +1080,7 @@ class Return < Increase::Internal::Type::BaseModel # Why the ACH Transfer was returned. This reason code is sent by the receiving # bank back to Increase. # - # @see Increase::ACHTransfer::Return#return_reason_code + # @see Increase::Models::ACHTransfer::Return#return_reason_code module ReturnReasonCode extend Increase::Internal::Type::Enum @@ -1302,7 +1302,7 @@ module ReturnReasonCode end end - # @see Increase::ACHTransfer#settlement + # @see Increase::Models::ACHTransfer#settlement class Settlement < Increase::Internal::Type::BaseModel # @!attribute settled_at # When the funds for this transfer have settled at the destination bank at the @@ -1313,7 +1313,7 @@ class Settlement < Increase::Internal::Type::BaseModel # @!method initialize(settled_at:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Settlement} for more details. + # {Increase::Models::ACHTransfer::Settlement} for more details. # # A subhash containing information about when and how the transfer settled at the # Federal Reserve. @@ -1323,7 +1323,7 @@ class Settlement < Increase::Internal::Type::BaseModel # The Standard Entry Class (SEC) code to use for the transfer. # - # @see Increase::ACHTransfer#standard_entry_class_code + # @see Increase::Models::ACHTransfer#standard_entry_class_code module StandardEntryClassCode extend Increase::Internal::Type::Enum @@ -1345,7 +1345,7 @@ module StandardEntryClassCode # The lifecycle status of the transfer. # - # @see Increase::ACHTransfer#status + # @see Increase::Models::ACHTransfer#status module Status extend Increase::Internal::Type::Enum @@ -1380,7 +1380,7 @@ module Status # @return [Array] end - # @see Increase::ACHTransfer#submission + # @see Increase::Models::ACHTransfer#submission class Submission < Increase::Internal::Type::BaseModel # @!attribute effective_date # The ACH transfer's effective date as sent to the Federal Reserve. If a specific @@ -1405,7 +1405,7 @@ class Submission < Increase::Internal::Type::BaseModel # takes into account the `effective_date`, `submitted_at`, and the amount of the # transfer. # - # @return [Symbol, Increase::ACHTransfer::Submission::ExpectedSettlementSchedule] + # @return [Symbol, Increase::Models::ACHTransfer::Submission::ExpectedSettlementSchedule] required :expected_settlement_schedule, enum: -> { Increase::ACHTransfer::Submission::ExpectedSettlementSchedule } @@ -1427,7 +1427,7 @@ class Submission < Increase::Internal::Type::BaseModel # @!method initialize(effective_date:, expected_funds_settlement_at:, expected_settlement_schedule:, submitted_at:, trace_number:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransfer::Submission} for more details. + # {Increase::Models::ACHTransfer::Submission} for more details. # # After the transfer is submitted to FedACH, this will contain supplemental # details. Increase batches transfers and submits a file to the Federal Reserve @@ -1439,7 +1439,7 @@ class Submission < Increase::Internal::Type::BaseModel # # @param expected_funds_settlement_at [Time] When the transfer is expected to settle in the recipient's account. Credits may # - # @param expected_settlement_schedule [Symbol, Increase::ACHTransfer::Submission::ExpectedSettlementSchedule] The settlement schedule the transfer is expected to follow. This expectation tak + # @param expected_settlement_schedule [Symbol, Increase::Models::ACHTransfer::Submission::ExpectedSettlementSchedule] The settlement schedule the transfer is expected to follow. This expectation tak # # @param submitted_at [Time] When the ACH transfer was sent to FedACH. # @@ -1449,7 +1449,7 @@ class Submission < Increase::Internal::Type::BaseModel # takes into account the `effective_date`, `submitted_at`, and the amount of the # transfer. # - # @see Increase::ACHTransfer::Submission#expected_settlement_schedule + # @see Increase::Models::ACHTransfer::Submission#expected_settlement_schedule module ExpectedSettlementSchedule extend Increase::Internal::Type::Enum @@ -1467,7 +1467,7 @@ module ExpectedSettlementSchedule # A constant representing the object's type. For this resource it will always be # `ach_transfer`. # - # @see Increase::ACHTransfer#type + # @see Increase::Models::ACHTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/ach_transfer_create_params.rb b/lib/increase/models/ach_transfer_create_params.rb index 6aba9de7b..fdfc0faee 100644 --- a/lib/increase/models/ach_transfer_create_params.rb +++ b/lib/increase/models/ach_transfer_create_params.rb @@ -42,7 +42,7 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel # Additional information that will be sent to the recipient. This is included in # the transfer data sent to the receiving bank. # - # @return [Increase::ACHTransferCreateParams::Addenda, nil] + # @return [Increase::Models::ACHTransferCreateParams::Addenda, nil] optional :addenda, -> { Increase::ACHTransferCreateParams::Addenda } # @!attribute company_descriptive_date @@ -77,7 +77,7 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel # The type of entity that owns the account to which the ACH Transfer is being # sent. # - # @return [Symbol, Increase::ACHTransferCreateParams::DestinationAccountHolder, nil] + # @return [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder, nil] optional :destination_account_holder, enum: -> { Increase::ACHTransferCreateParams::DestinationAccountHolder } @@ -91,7 +91,7 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel # @!attribute funding # The type of the account to which the transfer will be sent. # - # @return [Symbol, Increase::ACHTransferCreateParams::Funding, nil] + # @return [Symbol, Increase::Models::ACHTransferCreateParams::Funding, nil] optional :funding, enum: -> { Increase::ACHTransferCreateParams::Funding } # @!attribute individual_id @@ -113,7 +113,7 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel # `settlement_schedule` of `same_day`. If set, exactly one of the child attributes # must be set. # - # @return [Increase::ACHTransferCreateParams::PreferredEffectiveDate, nil] + # @return [Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate, nil] optional :preferred_effective_date, -> { Increase::ACHTransferCreateParams::PreferredEffectiveDate } # @!attribute require_approval @@ -132,14 +132,14 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel # @!attribute standard_entry_class_code # The Standard Entry Class (SEC) code to use for the transfer. # - # @return [Symbol, Increase::ACHTransferCreateParams::StandardEntryClassCode, nil] + # @return [Symbol, Increase::Models::ACHTransferCreateParams::StandardEntryClassCode, nil] optional :standard_entry_class_code, enum: -> { Increase::ACHTransferCreateParams::StandardEntryClassCode } # @!attribute transaction_timing # The timing of the transaction. # - # @return [Symbol, Increase::ACHTransferCreateParams::TransactionTiming, nil] + # @return [Symbol, Increase::Models::ACHTransferCreateParams::TransactionTiming, nil] optional :transaction_timing, enum: -> { Increase::ACHTransferCreateParams::TransactionTiming } # @!method initialize(account_id:, amount:, statement_descriptor:, account_number: nil, addenda: nil, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, company_name: nil, destination_account_holder: nil, external_account_id: nil, funding: nil, individual_id: nil, individual_name: nil, preferred_effective_date: nil, require_approval: nil, routing_number: nil, standard_entry_class_code: nil, transaction_timing: nil, request_options: {}) @@ -154,7 +154,7 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel # # @param account_number [String] The account number for the destination account. # - # @param addenda [Increase::ACHTransferCreateParams::Addenda] Additional information that will be sent to the recipient. This is included in t + # @param addenda [Increase::Models::ACHTransferCreateParams::Addenda] Additional information that will be sent to the recipient. This is included in t # # @param company_descriptive_date [String] The description of the date of the transfer, usually in the format `YYMMDD`. Thi # @@ -164,25 +164,25 @@ class ACHTransferCreateParams < Increase::Internal::Type::BaseModel # # @param company_name [String] The name by which the recipient knows you. This is included in the transfer data # - # @param destination_account_holder [Symbol, Increase::ACHTransferCreateParams::DestinationAccountHolder] The type of entity that owns the account to which the ACH Transfer is being sent + # @param destination_account_holder [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder] The type of entity that owns the account to which the ACH Transfer is being sent # # @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr # - # @param funding [Symbol, Increase::ACHTransferCreateParams::Funding] The type of the account to which the transfer will be sent. + # @param funding [Symbol, Increase::Models::ACHTransferCreateParams::Funding] The type of the account to which the transfer will be sent. # # @param individual_id [String] Your identifier for the transfer recipient. # # @param individual_name [String] The name of the transfer recipient. This value is informational and not verified # - # @param preferred_effective_date [Increase::ACHTransferCreateParams::PreferredEffectiveDate] Configuration for how the effective date of the transfer will be set. This deter + # @param preferred_effective_date [Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate] Configuration for how the effective date of the transfer will be set. This deter # # @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API. # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des # - # @param standard_entry_class_code [Symbol, Increase::ACHTransferCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the transfer. + # @param standard_entry_class_code [Symbol, Increase::Models::ACHTransferCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the transfer. # - # @param transaction_timing [Symbol, Increase::ACHTransferCreateParams::TransactionTiming] The timing of the transaction. + # @param transaction_timing [Symbol, Increase::Models::ACHTransferCreateParams::TransactionTiming] The timing of the transaction. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -190,39 +190,39 @@ class Addenda < Increase::Internal::Type::BaseModel # @!attribute category # The type of addenda to pass with the transfer. # - # @return [Symbol, Increase::ACHTransferCreateParams::Addenda::Category] + # @return [Symbol, Increase::Models::ACHTransferCreateParams::Addenda::Category] required :category, enum: -> { Increase::ACHTransferCreateParams::Addenda::Category } # @!attribute freeform # Unstructured `payment_related_information` passed through with the transfer. # - # @return [Increase::ACHTransferCreateParams::Addenda::Freeform, nil] + # @return [Increase::Models::ACHTransferCreateParams::Addenda::Freeform, nil] optional :freeform, -> { Increase::ACHTransferCreateParams::Addenda::Freeform } # @!attribute payment_order_remittance_advice # Structured ASC X12 820 remittance advice records. Please reach out to # [support@increase.com](mailto:support@increase.com) for more information. # - # @return [Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice, nil] + # @return [Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice, nil] optional :payment_order_remittance_advice, -> { Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice } # @!method initialize(category:, freeform: nil, payment_order_remittance_advice: nil) # Some parameter documentations has been truncated, see - # {Increase::ACHTransferCreateParams::Addenda} for more details. + # {Increase::Models::ACHTransferCreateParams::Addenda} for more details. # # Additional information that will be sent to the recipient. This is included in # the transfer data sent to the receiving bank. # - # @param category [Symbol, Increase::ACHTransferCreateParams::Addenda::Category] The type of addenda to pass with the transfer. + # @param category [Symbol, Increase::Models::ACHTransferCreateParams::Addenda::Category] The type of addenda to pass with the transfer. # - # @param freeform [Increase::ACHTransferCreateParams::Addenda::Freeform] Unstructured `payment_related_information` passed through with the transfer. + # @param freeform [Increase::Models::ACHTransferCreateParams::Addenda::Freeform] Unstructured `payment_related_information` passed through with the transfer. # - # @param payment_order_remittance_advice [Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice] Structured ASC X12 820 remittance advice records. Please reach out to [support@i + # @param payment_order_remittance_advice [Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice] Structured ASC X12 820 remittance advice records. Please reach out to [support@i # The type of addenda to pass with the transfer. # - # @see Increase::ACHTransferCreateParams::Addenda#category + # @see Increase::Models::ACHTransferCreateParams::Addenda#category module Category extend Increase::Internal::Type::Enum @@ -236,7 +236,7 @@ module Category # @return [Array] end - # @see Increase::ACHTransferCreateParams::Addenda#freeform + # @see Increase::Models::ACHTransferCreateParams::Addenda#freeform class Freeform < Increase::Internal::Type::BaseModel # @!attribute entries # Each entry represents an addendum sent with the transfer. In general, you should @@ -245,7 +245,7 @@ class Freeform < Increase::Internal::Type::BaseModel # [support@increase.com](mailto:support@increase.com) to send 2 or more addenda to # a recipient expecting a specific addendum format. # - # @return [Array] + # @return [Array] required :entries, -> { Increase::Internal::Type::ArrayOf[Increase::ACHTransferCreateParams::Addenda::Freeform::Entry] @@ -253,11 +253,11 @@ class Freeform < Increase::Internal::Type::BaseModel # @!method initialize(entries:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransferCreateParams::Addenda::Freeform} for more details. + # {Increase::Models::ACHTransferCreateParams::Addenda::Freeform} for more details. # # Unstructured `payment_related_information` passed through with the transfer. # - # @param entries [Array] Each entry represents an addendum sent with the transfer. In general, you should + # @param entries [Array] Each entry represents an addendum sent with the transfer. In general, you should class Entry < Increase::Internal::Type::BaseModel # @!attribute payment_related_information @@ -271,12 +271,12 @@ class Entry < Increase::Internal::Type::BaseModel end end - # @see Increase::ACHTransferCreateParams::Addenda#payment_order_remittance_advice + # @see Increase::Models::ACHTransferCreateParams::Addenda#payment_order_remittance_advice class PaymentOrderRemittanceAdvice < Increase::Internal::Type::BaseModel # @!attribute invoices # ASC X12 RMR records for this specific transfer. # - # @return [Array] + # @return [Array] required :invoices, -> { Increase::Internal::Type::ArrayOf[Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice] @@ -286,7 +286,7 @@ class PaymentOrderRemittanceAdvice < Increase::Internal::Type::BaseModel # Structured ASC X12 820 remittance advice records. Please reach out to # [support@increase.com](mailto:support@increase.com) for more information. # - # @param invoices [Array] ASC X12 RMR records for this specific transfer. + # @param invoices [Array] ASC X12 RMR records for this specific transfer. class Invoice < Increase::Internal::Type::BaseModel # @!attribute invoice_number @@ -304,7 +304,7 @@ class Invoice < Increase::Internal::Type::BaseModel # @!method initialize(invoice_number:, paid_amount:) # Some parameter documentations has been truncated, see - # {Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice} + # {Increase::Models::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice} # for more details. # # @param invoice_number [String] The invoice number for this reference, determined in advance with the receiver. @@ -357,13 +357,14 @@ class PreferredEffectiveDate < Increase::Internal::Type::BaseModel # @!attribute settlement_schedule # A schedule by which Increase will choose an effective date for the transfer. # - # @return [Symbol, Increase::ACHTransferCreateParams::PreferredEffectiveDate::SettlementSchedule, nil] + # @return [Symbol, Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::SettlementSchedule, nil] optional :settlement_schedule, enum: -> { Increase::ACHTransferCreateParams::PreferredEffectiveDate::SettlementSchedule } # @!method initialize(date: nil, settlement_schedule: nil) # Some parameter documentations has been truncated, see - # {Increase::ACHTransferCreateParams::PreferredEffectiveDate} for more details. + # {Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate} for more + # details. # # Configuration for how the effective date of the transfer will be set. This # determines same-day vs future-dated settlement timing. If not set, defaults to a @@ -372,11 +373,11 @@ class PreferredEffectiveDate < Increase::Internal::Type::BaseModel # # @param date [Date] A specific date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format to # - # @param settlement_schedule [Symbol, Increase::ACHTransferCreateParams::PreferredEffectiveDate::SettlementSchedule] A schedule by which Increase will choose an effective date for the transfer. + # @param settlement_schedule [Symbol, Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::SettlementSchedule] A schedule by which Increase will choose an effective date for the transfer. # A schedule by which Increase will choose an effective date for the transfer. # - # @see Increase::ACHTransferCreateParams::PreferredEffectiveDate#settlement_schedule + # @see Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate#settlement_schedule module SettlementSchedule extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/ach_transfer_list_params.rb b/lib/increase/models/ach_transfer_list_params.rb index f58e7e787..b8939fc37 100644 --- a/lib/increase/models/ach_transfer_list_params.rb +++ b/lib/increase/models/ach_transfer_list_params.rb @@ -15,7 +15,7 @@ class ACHTransferListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::ACHTransferListParams::CreatedAt, nil] + # @return [Increase::Models::ACHTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::ACHTransferListParams::CreatedAt } # @!attribute cursor @@ -48,7 +48,7 @@ class ACHTransferListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::ACHTransferListParams::Status, nil] + # @return [Increase::Models::ACHTransferListParams::Status, nil] optional :status, -> { Increase::ACHTransferListParams::Status } # @!method initialize(account_id: nil, created_at: nil, cursor: nil, external_account_id: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -57,7 +57,7 @@ class ACHTransferListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter ACH Transfers to those that originated from the specified Account. # - # @param created_at [Increase::ACHTransferListParams::CreatedAt] + # @param created_at [Increase::Models::ACHTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -67,7 +67,7 @@ class ACHTransferListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::ACHTransferListParams::Status] + # @param status [Increase::Models::ACHTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -102,7 +102,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::ACHTransferListParams::CreatedAt} for more details. + # {Increase::Models::ACHTransferListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -118,16 +118,16 @@ class Status < Increase::Internal::Type::BaseModel # Return results whose value is in the provided list. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::ACHTransferListParams::Status::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::ACHTransferListParams::Status} for more details. + # {Increase::Models::ACHTransferListParams::Status} for more details. # - # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul + # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/balance_lookup.rb b/lib/increase/models/balance_lookup.rb index 6f1509435..3df36fb5f 100644 --- a/lib/increase/models/balance_lookup.rb +++ b/lib/increase/models/balance_lookup.rb @@ -28,12 +28,12 @@ class BalanceLookup < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `balance_lookup`. # - # @return [Symbol, Increase::BalanceLookup::Type] + # @return [Symbol, Increase::Models::BalanceLookup::Type] required :type, enum: -> { Increase::BalanceLookup::Type } # @!method initialize(account_id:, available_balance:, current_balance:, type:) - # Some parameter documentations has been truncated, see {Increase::BalanceLookup} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::BalanceLookup} for more details. # # Represents a request to lookup the balance of an Account at a given point in # time. @@ -44,12 +44,12 @@ class BalanceLookup < Increase::Internal::Type::BaseModel # # @param current_balance [Integer] The Account's current balance, representing the sum of all posted Transactions o # - # @param type [Symbol, Increase::BalanceLookup::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::BalanceLookup::Type] A constant representing the object's type. For this resource it will always be ` # A constant representing the object's type. For this resource it will always be # `balance_lookup`. # - # @see Increase::BalanceLookup#type + # @see Increase::Models::BalanceLookup#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/bookkeeping_account.rb b/lib/increase/models/bookkeeping_account.rb index f80e3fe73..184f7f19a 100644 --- a/lib/increase/models/bookkeeping_account.rb +++ b/lib/increase/models/bookkeeping_account.rb @@ -19,7 +19,7 @@ class BookkeepingAccount < Increase::Internal::Type::BaseModel # @!attribute compliance_category # The compliance category of the account. # - # @return [Symbol, Increase::BookkeepingAccount::ComplianceCategory, nil] + # @return [Symbol, Increase::Models::BookkeepingAccount::ComplianceCategory, nil] required :compliance_category, enum: -> { Increase::BookkeepingAccount::ComplianceCategory }, nil?: true # @!attribute entity_id @@ -46,12 +46,12 @@ class BookkeepingAccount < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `bookkeeping_account`. # - # @return [Symbol, Increase::BookkeepingAccount::Type] + # @return [Symbol, Increase::Models::BookkeepingAccount::Type] required :type, enum: -> { Increase::BookkeepingAccount::Type } # @!method initialize(id:, account_id:, compliance_category:, entity_id:, idempotency_key:, name:, type:) # Some parameter documentations has been truncated, see - # {Increase::BookkeepingAccount} for more details. + # {Increase::Models::BookkeepingAccount} for more details. # # Accounts are T-accounts. They can store accounting entries. Your compliance # setup might require annotating money movements using this API. Learn more in our @@ -61,7 +61,7 @@ class BookkeepingAccount < Increase::Internal::Type::BaseModel # # @param account_id [String, nil] The API Account associated with this bookkeeping account. # - # @param compliance_category [Symbol, Increase::BookkeepingAccount::ComplianceCategory, nil] The compliance category of the account. + # @param compliance_category [Symbol, Increase::Models::BookkeepingAccount::ComplianceCategory, nil] The compliance category of the account. # # @param entity_id [String, nil] The Entity associated with this bookkeeping account. # @@ -69,11 +69,11 @@ class BookkeepingAccount < Increase::Internal::Type::BaseModel # # @param name [String] The name you choose for the account. # - # @param type [Symbol, Increase::BookkeepingAccount::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::BookkeepingAccount::Type] A constant representing the object's type. For this resource it will always be ` # The compliance category of the account. # - # @see Increase::BookkeepingAccount#compliance_category + # @see Increase::Models::BookkeepingAccount#compliance_category module ComplianceCategory extend Increase::Internal::Type::Enum @@ -90,7 +90,7 @@ module ComplianceCategory # A constant representing the object's type. For this resource it will always be # `bookkeeping_account`. # - # @see Increase::BookkeepingAccount#type + # @see Increase::Models::BookkeepingAccount#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/bookkeeping_account_create_params.rb b/lib/increase/models/bookkeeping_account_create_params.rb index 5fe5dcf2a..752aa2073 100644 --- a/lib/increase/models/bookkeeping_account_create_params.rb +++ b/lib/increase/models/bookkeeping_account_create_params.rb @@ -22,7 +22,7 @@ class BookkeepingAccountCreateParams < Increase::Internal::Type::BaseModel # @!attribute compliance_category # The account compliance category. # - # @return [Symbol, Increase::BookkeepingAccountCreateParams::ComplianceCategory, nil] + # @return [Symbol, Increase::Models::BookkeepingAccountCreateParams::ComplianceCategory, nil] optional :compliance_category, enum: -> { Increase::BookkeepingAccountCreateParams::ComplianceCategory } # @!attribute entity_id @@ -36,7 +36,7 @@ class BookkeepingAccountCreateParams < Increase::Internal::Type::BaseModel # # @param account_id [String] The entity, if `compliance_category` is `commingled_cash`. # - # @param compliance_category [Symbol, Increase::BookkeepingAccountCreateParams::ComplianceCategory] The account compliance category. + # @param compliance_category [Symbol, Increase::Models::BookkeepingAccountCreateParams::ComplianceCategory] The account compliance category. # # @param entity_id [String] The entity, if `compliance_category` is `customer_balance`. # diff --git a/lib/increase/models/bookkeeping_balance_lookup.rb b/lib/increase/models/bookkeeping_balance_lookup.rb index 7c75c8a2c..53c0d123a 100644 --- a/lib/increase/models/bookkeeping_balance_lookup.rb +++ b/lib/increase/models/bookkeeping_balance_lookup.rb @@ -21,12 +21,12 @@ class BookkeepingBalanceLookup < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `bookkeeping_balance_lookup`. # - # @return [Symbol, Increase::BookkeepingBalanceLookup::Type] + # @return [Symbol, Increase::Models::BookkeepingBalanceLookup::Type] required :type, enum: -> { Increase::BookkeepingBalanceLookup::Type } # @!method initialize(balance:, bookkeeping_account_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::BookkeepingBalanceLookup} for more details. + # {Increase::Models::BookkeepingBalanceLookup} for more details. # # Represents a request to lookup the balance of an Bookkeeping Account at a given # point in time. @@ -35,12 +35,12 @@ class BookkeepingBalanceLookup < Increase::Internal::Type::BaseModel # # @param bookkeeping_account_id [String] The identifier for the account for which the balance was queried. # - # @param type [Symbol, Increase::BookkeepingBalanceLookup::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::BookkeepingBalanceLookup::Type] A constant representing the object's type. For this resource it will always be ` # A constant representing the object's type. For this resource it will always be # `bookkeeping_balance_lookup`. # - # @see Increase::BookkeepingBalanceLookup#type + # @see Increase::Models::BookkeepingBalanceLookup#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/bookkeeping_entry.rb b/lib/increase/models/bookkeeping_entry.rb index 4eba7d1f0..ab1575ec9 100644 --- a/lib/increase/models/bookkeeping_entry.rb +++ b/lib/increase/models/bookkeeping_entry.rb @@ -39,12 +39,12 @@ class BookkeepingEntry < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `bookkeeping_entry`. # - # @return [Symbol, Increase::BookkeepingEntry::Type] + # @return [Symbol, Increase::Models::BookkeepingEntry::Type] required :type, enum: -> { Increase::BookkeepingEntry::Type } # @!method initialize(id:, account_id:, amount:, created_at:, entry_set_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::BookkeepingEntry} for more details. + # {Increase::Models::BookkeepingEntry} for more details. # # Entries are T-account entries recording debits and credits. Your compliance # setup might require annotating money movements using this API. Learn more in our @@ -60,12 +60,12 @@ class BookkeepingEntry < Increase::Internal::Type::BaseModel # # @param entry_set_id [String] The identifier for the Account the Entry belongs to. # - # @param type [Symbol, Increase::BookkeepingEntry::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::BookkeepingEntry::Type] A constant representing the object's type. For this resource it will always be ` # A constant representing the object's type. For this resource it will always be # `bookkeeping_entry`. # - # @see Increase::BookkeepingEntry#type + # @see Increase::Models::BookkeepingEntry#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/bookkeeping_entry_set.rb b/lib/increase/models/bookkeeping_entry_set.rb index c779e0d8d..5338f1517 100644 --- a/lib/increase/models/bookkeeping_entry_set.rb +++ b/lib/increase/models/bookkeeping_entry_set.rb @@ -25,7 +25,7 @@ class BookkeepingEntrySet < Increase::Internal::Type::BaseModel # @!attribute entries # The entries. # - # @return [Array] + # @return [Array] required :entries, -> { Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntrySet::Entry] } # @!attribute idempotency_key @@ -46,12 +46,12 @@ class BookkeepingEntrySet < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `bookkeeping_entry_set`. # - # @return [Symbol, Increase::BookkeepingEntrySet::Type] + # @return [Symbol, Increase::Models::BookkeepingEntrySet::Type] required :type, enum: -> { Increase::BookkeepingEntrySet::Type } # @!method initialize(id:, created_at:, date:, entries:, idempotency_key:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::BookkeepingEntrySet} for more details. + # {Increase::Models::BookkeepingEntrySet} for more details. # # Entry Sets are accounting entries that are transactionally applied. Your # compliance setup might require annotating money movements using this API. Learn @@ -64,13 +64,13 @@ class BookkeepingEntrySet < Increase::Internal::Type::BaseModel # # @param date [Time] The timestamp of the entry set. # - # @param entries [Array] The entries. + # @param entries [Array] The entries. # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # # @param transaction_id [String, nil] The transaction identifier, if any. # - # @param type [Symbol, Increase::BookkeepingEntrySet::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::BookkeepingEntrySet::Type] A constant representing the object's type. For this resource it will always be ` class Entry < Increase::Internal::Type::BaseModel # @!attribute id @@ -102,7 +102,7 @@ class Entry < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `bookkeeping_entry_set`. # - # @see Increase::BookkeepingEntrySet#type + # @see Increase::Models::BookkeepingEntrySet#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/bookkeeping_entry_set_create_params.rb b/lib/increase/models/bookkeeping_entry_set_create_params.rb index 49ff32c5c..4cb6be87b 100644 --- a/lib/increase/models/bookkeeping_entry_set_create_params.rb +++ b/lib/increase/models/bookkeeping_entry_set_create_params.rb @@ -10,7 +10,7 @@ class BookkeepingEntrySetCreateParams < Increase::Internal::Type::BaseModel # @!attribute entries # The bookkeeping entries. # - # @return [Array] + # @return [Array] required :entries, -> { Increase::Internal::Type::ArrayOf[Increase::BookkeepingEntrySetCreateParams::Entry] } @@ -31,7 +31,7 @@ class BookkeepingEntrySetCreateParams < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::BookkeepingEntrySetCreateParams} for more details. # - # @param entries [Array] The bookkeeping entries. + # @param entries [Array] The bookkeeping entries. # # @param date [Time] The date of the transaction. Optional if `transaction_id` is provided, in which # @@ -56,7 +56,7 @@ class Entry < Increase::Internal::Type::BaseModel # @!method initialize(account_id:, amount:) # Some parameter documentations has been truncated, see - # {Increase::BookkeepingEntrySetCreateParams::Entry} for more details. + # {Increase::Models::BookkeepingEntrySetCreateParams::Entry} for more details. # # @param account_id [String] The identifier for the Bookkeeping Account impacted by this entry. # diff --git a/lib/increase/models/card.rb b/lib/increase/models/card.rb index ce06f67e3..c14c22ceb 100644 --- a/lib/increase/models/card.rb +++ b/lib/increase/models/card.rb @@ -19,7 +19,7 @@ class Card < Increase::Internal::Type::BaseModel # @!attribute billing_address # The Card's billing address. # - # @return [Increase::Card::BillingAddress] + # @return [Increase::Models::Card::BillingAddress] required :billing_address, -> { Increase::Card::BillingAddress } # @!attribute created_at @@ -40,7 +40,7 @@ class Card < Increase::Internal::Type::BaseModel # creation. At least one field must be present to complete the digital wallet # steps. # - # @return [Increase::Card::DigitalWallet, nil] + # @return [Increase::Models::Card::DigitalWallet, nil] required :digital_wallet, -> { Increase::Card::DigitalWallet }, nil?: true # @!attribute entity_id @@ -78,19 +78,19 @@ class Card < Increase::Internal::Type::BaseModel # @!attribute status # This indicates if payments can be made with the card. # - # @return [Symbol, Increase::Card::Status] + # @return [Symbol, Increase::Models::Card::Status] required :status, enum: -> { Increase::Card::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `card`. # - # @return [Symbol, Increase::Card::Type] + # @return [Symbol, Increase::Models::Card::Type] required :type, enum: -> { Increase::Card::Type } # @!method initialize(id:, account_id:, billing_address:, created_at:, description:, digital_wallet:, entity_id:, expiration_month:, expiration_year:, idempotency_key:, last4:, status:, type:) - # Some parameter documentations has been truncated, see {Increase::Card} for more - # details. + # Some parameter documentations has been truncated, see {Increase::Models::Card} + # for more details. # # Cards are commercial credit cards. They'll immediately work for online purchases # after you create them. All cards maintain a credit limit of 100% of the @@ -101,13 +101,13 @@ class Card < Increase::Internal::Type::BaseModel # # @param account_id [String] The identifier for the account this card belongs to. # - # @param billing_address [Increase::Card::BillingAddress] The Card's billing address. + # @param billing_address [Increase::Models::Card::BillingAddress] The Card's billing address. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # # @param description [String, nil] The card's description for display purposes. # - # @param digital_wallet [Increase::Card::DigitalWallet, nil] The contact information used in the two-factor steps for digital wallet card cre + # @param digital_wallet [Increase::Models::Card::DigitalWallet, nil] The contact information used in the two-factor steps for digital wallet card cre # # @param entity_id [String, nil] The identifier for the entity associated with this card. # @@ -119,11 +119,11 @@ class Card < Increase::Internal::Type::BaseModel # # @param last4 [String] The last 4 digits of the Card's Primary Account Number. # - # @param status [Symbol, Increase::Card::Status] This indicates if payments can be made with the card. + # @param status [Symbol, Increase::Models::Card::Status] This indicates if payments can be made with the card. # - # @param type [Symbol, Increase::Card::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Card::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::Card#billing_address + # @see Increase::Models::Card#billing_address class BillingAddress < Increase::Internal::Type::BaseModel # @!attribute city # The city of the billing address. @@ -169,7 +169,7 @@ class BillingAddress < Increase::Internal::Type::BaseModel # @param state [String, nil] The US state of the billing address. end - # @see Increase::Card#digital_wallet + # @see Increase::Models::Card#digital_wallet class DigitalWallet < Increase::Internal::Type::BaseModel # @!attribute digital_card_profile_id # The digital card profile assigned to this digital card. Card profiles may also @@ -194,7 +194,7 @@ class DigitalWallet < Increase::Internal::Type::BaseModel # @!method initialize(digital_card_profile_id:, email:, phone:) # Some parameter documentations has been truncated, see - # {Increase::Card::DigitalWallet} for more details. + # {Increase::Models::Card::DigitalWallet} for more details. # # The contact information used in the two-factor steps for digital wallet card # creation. At least one field must be present to complete the digital wallet @@ -209,7 +209,7 @@ class DigitalWallet < Increase::Internal::Type::BaseModel # This indicates if payments can be made with the card. # - # @see Increase::Card#status + # @see Increase::Models::Card#status module Status extend Increase::Internal::Type::Enum @@ -229,7 +229,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `card`. # - # @see Increase::Card#type + # @see Increase::Models::Card#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/card_create_params.rb b/lib/increase/models/card_create_params.rb index 851e94dac..45510d79e 100644 --- a/lib/increase/models/card_create_params.rb +++ b/lib/increase/models/card_create_params.rb @@ -16,7 +16,7 @@ class CardCreateParams < Increase::Internal::Type::BaseModel # @!attribute billing_address # The card's billing address. # - # @return [Increase::CardCreateParams::BillingAddress, nil] + # @return [Increase::Models::CardCreateParams::BillingAddress, nil] optional :billing_address, -> { Increase::CardCreateParams::BillingAddress } # @!attribute description @@ -32,7 +32,7 @@ class CardCreateParams < Increase::Internal::Type::BaseModel # Decision with the category `digital_wallet_token_requested` or # `digital_wallet_authentication_requested`. # - # @return [Increase::CardCreateParams::DigitalWallet, nil] + # @return [Increase::Models::CardCreateParams::DigitalWallet, nil] optional :digital_wallet, -> { Increase::CardCreateParams::DigitalWallet } # @!attribute entity_id @@ -48,11 +48,11 @@ class CardCreateParams < Increase::Internal::Type::BaseModel # # @param account_id [String] The Account the card should belong to. # - # @param billing_address [Increase::CardCreateParams::BillingAddress] The card's billing address. + # @param billing_address [Increase::Models::CardCreateParams::BillingAddress] The card's billing address. # # @param description [String] The description you choose to give the card. # - # @param digital_wallet [Increase::CardCreateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre + # @param digital_wallet [Increase::Models::CardCreateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre # # @param entity_id [String] The Entity the card belongs to. You only need to supply this in rare situations # @@ -126,7 +126,7 @@ class DigitalWallet < Increase::Internal::Type::BaseModel # @!method initialize(digital_card_profile_id: nil, email: nil, phone: nil) # Some parameter documentations has been truncated, see - # {Increase::CardCreateParams::DigitalWallet} for more details. + # {Increase::Models::CardCreateParams::DigitalWallet} for more details. # # The contact information used in the two-factor steps for digital wallet card # creation. To add the card to a digital wallet, you may supply an email or phone diff --git a/lib/increase/models/card_details.rb b/lib/increase/models/card_details.rb index 328708340..b529ee246 100644 --- a/lib/increase/models/card_details.rb +++ b/lib/increase/models/card_details.rb @@ -32,7 +32,7 @@ class CardDetails < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_details`. # - # @return [Symbol, Increase::CardDetails::Type] + # @return [Symbol, Increase::Models::CardDetails::Type] required :type, enum: -> { Increase::CardDetails::Type } # @!attribute verification_code @@ -44,8 +44,8 @@ class CardDetails < Increase::Internal::Type::BaseModel required :verification_code, String # @!method initialize(card_id:, expiration_month:, expiration_year:, primary_account_number:, type:, verification_code:) - # Some parameter documentations has been truncated, see {Increase::CardDetails} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::CardDetails} for more details. # # An object containing the sensitive details (card number, cvc, etc) for a Card. # @@ -57,14 +57,14 @@ class CardDetails < Increase::Internal::Type::BaseModel # # @param primary_account_number [String] The card number. # - # @param type [Symbol, Increase::CardDetails::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardDetails::Type] A constant representing the object's type. For this resource it will always be ` # # @param verification_code [String] The three-digit verification code for the card. It's also known as the Card Veri # A constant representing the object's type. For this resource it will always be # `card_details`. # - # @see Increase::CardDetails#type + # @see Increase::Models::CardDetails#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/card_dispute.rb b/lib/increase/models/card_dispute.rb index 1c90416c7..ea51948cb 100644 --- a/lib/increase/models/card_dispute.rb +++ b/lib/increase/models/card_dispute.rb @@ -14,7 +14,7 @@ class CardDispute < Increase::Internal::Type::BaseModel # If the Card Dispute's status is `accepted`, this will contain details of the # successful dispute. # - # @return [Increase::CardDispute::Acceptance, nil] + # @return [Increase::Models::CardDispute::Acceptance, nil] required :acceptance, -> { Increase::CardDispute::Acceptance }, nil?: true # @!attribute amount @@ -54,46 +54,46 @@ class CardDispute < Increase::Internal::Type::BaseModel # If the Card Dispute's status is `lost`, this will contain details of the lost # dispute. # - # @return [Increase::CardDispute::Loss, nil] + # @return [Increase::Models::CardDispute::Loss, nil] required :loss, -> { Increase::CardDispute::Loss }, nil?: true # @!attribute rejection # If the Card Dispute's status is `rejected`, this will contain details of the # unsuccessful dispute. # - # @return [Increase::CardDispute::Rejection, nil] + # @return [Increase::Models::CardDispute::Rejection, nil] required :rejection, -> { Increase::CardDispute::Rejection }, nil?: true # @!attribute status # The results of the Dispute investigation. # - # @return [Symbol, Increase::CardDispute::Status] + # @return [Symbol, Increase::Models::CardDispute::Status] required :status, enum: -> { Increase::CardDispute::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `card_dispute`. # - # @return [Symbol, Increase::CardDispute::Type] + # @return [Symbol, Increase::Models::CardDispute::Type] required :type, enum: -> { Increase::CardDispute::Type } # @!attribute win # If the Card Dispute's status is `won`, this will contain details of the won # dispute. # - # @return [Increase::CardDispute::Win, nil] + # @return [Increase::Models::CardDispute::Win, nil] required :win, -> { Increase::CardDispute::Win }, nil?: true # @!method initialize(id:, acceptance:, amount:, created_at:, disputed_transaction_id:, explanation:, idempotency_key:, loss:, rejection:, status:, type:, win:) - # Some parameter documentations has been truncated, see {Increase::CardDispute} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::CardDispute} for more details. # # If unauthorized activity occurs on a card, you can create a Card Dispute and # we'll return the funds if appropriate. # # @param id [String] The Card Dispute identifier. # - # @param acceptance [Increase::CardDispute::Acceptance, nil] If the Card Dispute's status is `accepted`, this will contain details of the suc + # @param acceptance [Increase::Models::CardDispute::Acceptance, nil] If the Card Dispute's status is `accepted`, this will contain details of the suc # # @param amount [Integer, nil] The amount of the dispute, if provided, or the transaction amount otherwise. # @@ -105,17 +105,17 @@ class CardDispute < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param loss [Increase::CardDispute::Loss, nil] If the Card Dispute's status is `lost`, this will contain details of the lost di + # @param loss [Increase::Models::CardDispute::Loss, nil] If the Card Dispute's status is `lost`, this will contain details of the lost di # - # @param rejection [Increase::CardDispute::Rejection, nil] If the Card Dispute's status is `rejected`, this will contain details of the uns + # @param rejection [Increase::Models::CardDispute::Rejection, nil] If the Card Dispute's status is `rejected`, this will contain details of the uns # - # @param status [Symbol, Increase::CardDispute::Status] The results of the Dispute investigation. + # @param status [Symbol, Increase::Models::CardDispute::Status] The results of the Dispute investigation. # - # @param type [Symbol, Increase::CardDispute::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardDispute::Type] A constant representing the object's type. For this resource it will always be ` # - # @param win [Increase::CardDispute::Win, nil] If the Card Dispute's status is `won`, this will contain details of the won disp + # @param win [Increase::Models::CardDispute::Win, nil] If the Card Dispute's status is `won`, this will contain details of the won disp - # @see Increase::CardDispute#acceptance + # @see Increase::Models::CardDispute#acceptance class Acceptance < Increase::Internal::Type::BaseModel # @!attribute accepted_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -139,7 +139,7 @@ class Acceptance < Increase::Internal::Type::BaseModel # @!method initialize(accepted_at:, card_dispute_id:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardDispute::Acceptance} for more details. + # {Increase::Models::CardDispute::Acceptance} for more details. # # If the Card Dispute's status is `accepted`, this will contain details of the # successful dispute. @@ -151,7 +151,7 @@ class Acceptance < Increase::Internal::Type::BaseModel # @param transaction_id [String] The identifier of the Transaction that was created to return the disputed funds end - # @see Increase::CardDispute#loss + # @see Increase::Models::CardDispute#loss class Loss < Increase::Internal::Type::BaseModel # @!attribute card_dispute_id # The identifier of the Card Dispute that was lost. @@ -181,7 +181,7 @@ class Loss < Increase::Internal::Type::BaseModel # @!method initialize(card_dispute_id:, explanation:, lost_at:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardDispute::Loss} for more details. + # {Increase::Models::CardDispute::Loss} for more details. # # If the Card Dispute's status is `lost`, this will contain details of the lost # dispute. @@ -195,7 +195,7 @@ class Loss < Increase::Internal::Type::BaseModel # @param transaction_id [String] The identifier of the Transaction that was created to debit the disputed funds f end - # @see Increase::CardDispute#rejection + # @see Increase::Models::CardDispute#rejection class Rejection < Increase::Internal::Type::BaseModel # @!attribute card_dispute_id # The identifier of the Card Dispute that was rejected. @@ -218,7 +218,7 @@ class Rejection < Increase::Internal::Type::BaseModel # @!method initialize(card_dispute_id:, explanation:, rejected_at:) # Some parameter documentations has been truncated, see - # {Increase::CardDispute::Rejection} for more details. + # {Increase::Models::CardDispute::Rejection} for more details. # # If the Card Dispute's status is `rejected`, this will contain details of the # unsuccessful dispute. @@ -232,7 +232,7 @@ class Rejection < Increase::Internal::Type::BaseModel # The results of the Dispute investigation. # - # @see Increase::CardDispute#status + # @see Increase::Models::CardDispute#status module Status extend Increase::Internal::Type::Enum @@ -261,7 +261,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `card_dispute`. # - # @see Increase::CardDispute#type + # @see Increase::Models::CardDispute#type module Type extend Increase::Internal::Type::Enum @@ -271,7 +271,7 @@ module Type # @return [Array] end - # @see Increase::CardDispute#win + # @see Increase::Models::CardDispute#win class Win < Increase::Internal::Type::BaseModel # @!attribute card_dispute_id # The identifier of the Card Dispute that was won. @@ -288,7 +288,7 @@ class Win < Increase::Internal::Type::BaseModel # @!method initialize(card_dispute_id:, won_at:) # Some parameter documentations has been truncated, see - # {Increase::CardDispute::Win} for more details. + # {Increase::Models::CardDispute::Win} for more details. # # If the Card Dispute's status is `won`, this will contain details of the won # dispute. diff --git a/lib/increase/models/card_dispute_list_params.rb b/lib/increase/models/card_dispute_list_params.rb index 31e4138f4..a37f90a0b 100644 --- a/lib/increase/models/card_dispute_list_params.rb +++ b/lib/increase/models/card_dispute_list_params.rb @@ -9,7 +9,7 @@ class CardDisputeListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::CardDisputeListParams::CreatedAt, nil] + # @return [Increase::Models::CardDisputeListParams::CreatedAt, nil] optional :created_at, -> { Increase::CardDisputeListParams::CreatedAt } # @!attribute cursor @@ -36,14 +36,14 @@ class CardDisputeListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::CardDisputeListParams::Status, nil] + # @return [Increase::Models::CardDisputeListParams::Status, nil] optional :status, -> { Increase::CardDisputeListParams::Status } # @!method initialize(created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::CardDisputeListParams} for more details. # - # @param created_at [Increase::CardDisputeListParams::CreatedAt] + # @param created_at [Increase::Models::CardDisputeListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -51,7 +51,7 @@ class CardDisputeListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::CardDisputeListParams::Status] + # @param status [Increase::Models::CardDisputeListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -86,7 +86,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::CardDisputeListParams::CreatedAt} for more details. + # {Increase::Models::CardDisputeListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -103,16 +103,16 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::CardDisputeListParams::Status::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::CardDisputeListParams::Status} for more details. + # {Increase::Models::CardDisputeListParams::Status} for more details. # - # @param in_ [Array] Filter Card Disputes for those with the specified status or statuses. For GET re + # @param in_ [Array] Filter Card Disputes for those with the specified status or statuses. For GET re module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/card_list_params.rb b/lib/increase/models/card_list_params.rb index c2cc68486..a0eb28794 100644 --- a/lib/increase/models/card_list_params.rb +++ b/lib/increase/models/card_list_params.rb @@ -15,7 +15,7 @@ class CardListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::CardListParams::CreatedAt, nil] + # @return [Increase::Models::CardListParams::CreatedAt, nil] optional :created_at, -> { Increase::CardListParams::CreatedAt } # @!attribute cursor @@ -42,7 +42,7 @@ class CardListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::CardListParams::Status, nil] + # @return [Increase::Models::CardListParams::Status, nil] optional :status, -> { Increase::CardListParams::Status } # @!method initialize(account_id: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -51,7 +51,7 @@ class CardListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Cards to ones belonging to the specified Account. # - # @param created_at [Increase::CardListParams::CreatedAt] + # @param created_at [Increase::Models::CardListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -59,7 +59,7 @@ class CardListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::CardListParams::Status] + # @param status [Increase::Models::CardListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -94,7 +94,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::CardListParams::CreatedAt} for more details. + # {Increase::Models::CardListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -110,16 +110,16 @@ class Status < Increase::Internal::Type::BaseModel # Filter Cards by status. For GET requests, this should be encoded as a # comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::CardListParams::Status::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::CardListParams::Status} for more details. + # {Increase::Models::CardListParams::Status} for more details. # - # @param in_ [Array] Filter Cards by status. For GET requests, this should be encoded as a comma-deli + # @param in_ [Array] Filter Cards by status. For GET requests, this should be encoded as a comma-deli module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/card_payment.rb b/lib/increase/models/card_payment.rb index b344620b5..451c3a871 100644 --- a/lib/increase/models/card_payment.rb +++ b/lib/increase/models/card_payment.rb @@ -38,7 +38,7 @@ class CardPayment < Increase::Internal::Type::BaseModel # @!attribute elements # The interactions related to this card payment. # - # @return [Array] + # @return [Array] required :elements, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element] } # @!attribute physical_card_id @@ -50,19 +50,19 @@ class CardPayment < Increase::Internal::Type::BaseModel # @!attribute state # The summarized state of this card payment. # - # @return [Increase::CardPayment::State] + # @return [Increase::Models::CardPayment::State] required :state, -> { Increase::CardPayment::State } # @!attribute type # A constant representing the object's type. For this resource it will always be # `card_payment`. # - # @return [Symbol, Increase::CardPayment::Type] + # @return [Symbol, Increase::Models::CardPayment::Type] required :type, enum: -> { Increase::CardPayment::Type } # @!method initialize(id:, account_id:, card_id:, created_at:, digital_wallet_token_id:, elements:, physical_card_id:, state:, type:) - # Some parameter documentations has been truncated, see {Increase::CardPayment} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::CardPayment} for more details. # # Card Payments group together interactions related to a single card payment, such # as an authorization and its corresponding settlement. @@ -77,13 +77,13 @@ class CardPayment < Increase::Internal::Type::BaseModel # # @param digital_wallet_token_id [String, nil] The Digital Wallet Token identifier for this payment. # - # @param elements [Array] The interactions related to this card payment. + # @param elements [Array] The interactions related to this card payment. # # @param physical_card_id [String, nil] The Physical Card identifier for this payment. # - # @param state [Increase::CardPayment::State] The summarized state of this card payment. + # @param state [Increase::Models::CardPayment::State] The summarized state of this card payment. # - # @param type [Symbol, Increase::CardPayment::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Type] A constant representing the object's type. For this resource it will always be ` class Element < Increase::Internal::Type::BaseModel # @!attribute card_authentication @@ -91,7 +91,7 @@ class Element < Increase::Internal::Type::BaseModel # and only if `category` is equal to `card_authentication`. Card Authentications # are attempts to authenticate a transaction or a card with 3DS. # - # @return [Increase::CardPayment::Element::CardAuthentication, nil] + # @return [Increase::Models::CardPayment::Element::CardAuthentication, nil] required :card_authentication, -> { Increase::CardPayment::Element::CardAuthentication }, nil?: true # @!attribute card_authorization @@ -100,7 +100,7 @@ class Element < Increase::Internal::Type::BaseModel # temporary holds placed on a customers funds with the intent to later clear a # transaction. # - # @return [Increase::CardPayment::Element::CardAuthorization, nil] + # @return [Increase::Models::CardPayment::Element::CardAuthorization, nil] required :card_authorization, -> { Increase::CardPayment::Element::CardAuthorization }, nil?: true # @!attribute card_authorization_expiration @@ -109,7 +109,7 @@ class Element < Increase::Internal::Type::BaseModel # Card Authorization Expirations are cancellations of authorizations that were # never settled by the acquirer. # - # @return [Increase::CardPayment::Element::CardAuthorizationExpiration, nil] + # @return [Increase::Models::CardPayment::Element::CardAuthorizationExpiration, nil] required :card_authorization_expiration, -> { Increase::CardPayment::Element::CardAuthorizationExpiration }, nil?: true @@ -118,7 +118,7 @@ class Element < Increase::Internal::Type::BaseModel # A Card Decline object. This field will be present in the JSON response if and # only if `category` is equal to `card_decline`. # - # @return [Increase::CardPayment::Element::CardDecline, nil] + # @return [Increase::Models::CardPayment::Element::CardDecline, nil] required :card_decline, -> { Increase::CardPayment::Element::CardDecline }, nil?: true # @!attribute card_fuel_confirmation @@ -127,7 +127,7 @@ class Element < Increase::Internal::Type::BaseModel # Confirmations update the amount of a Card Authorization after a fuel pump # transaction is completed. # - # @return [Increase::CardPayment::Element::CardFuelConfirmation, nil] + # @return [Increase::Models::CardPayment::Element::CardFuelConfirmation, nil] required :card_fuel_confirmation, -> { Increase::CardPayment::Element::CardFuelConfirmation @@ -139,7 +139,7 @@ class Element < Increase::Internal::Type::BaseModel # only if `category` is equal to `card_increment`. Card Increments increase the # pending amount of an authorized transaction. # - # @return [Increase::CardPayment::Element::CardIncrement, nil] + # @return [Increase::Models::CardPayment::Element::CardIncrement, nil] required :card_increment, -> { Increase::CardPayment::Element::CardIncrement }, nil?: true # @!attribute card_refund @@ -149,7 +149,7 @@ class Element < Increase::Internal::Type::BaseModel # acquirer can also refund money directly to a card without relation to a # transaction. # - # @return [Increase::CardPayment::Element::CardRefund, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund, nil] required :card_refund, -> { Increase::CardPayment::Element::CardRefund }, nil?: true # @!attribute card_reversal @@ -157,7 +157,7 @@ class Element < Increase::Internal::Type::BaseModel # only if `category` is equal to `card_reversal`. Card Reversals cancel parts of # or the entirety of an existing Card Authorization. # - # @return [Increase::CardPayment::Element::CardReversal, nil] + # @return [Increase::Models::CardPayment::Element::CardReversal, nil] required :card_reversal, -> { Increase::CardPayment::Element::CardReversal }, nil?: true # @!attribute card_settlement @@ -167,7 +167,7 @@ class Element < Increase::Internal::Type::BaseModel # preceded by an authorization, an acquirer can also directly clear a transaction # without first authorizing it. # - # @return [Increase::CardPayment::Element::CardSettlement, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement, nil] required :card_settlement, -> { Increase::CardPayment::Element::CardSettlement }, nil?: true # @!attribute card_validation @@ -176,14 +176,14 @@ class Element < Increase::Internal::Type::BaseModel # from a merchant to verify that a card number and optionally its address and/or # Card Verification Value are valid. # - # @return [Increase::CardPayment::Element::CardValidation, nil] + # @return [Increase::Models::CardPayment::Element::CardValidation, nil] required :card_validation, -> { Increase::CardPayment::Element::CardValidation }, nil?: true # @!attribute category # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @return [Symbol, Increase::CardPayment::Element::Category] + # @return [Symbol, Increase::Models::CardPayment::Element::Category] required :category, enum: -> { Increase::CardPayment::Element::Category } # @!attribute created_at @@ -202,35 +202,35 @@ class Element < Increase::Internal::Type::BaseModel # @!method initialize(card_authentication:, card_authorization:, card_authorization_expiration:, card_decline:, card_fuel_confirmation:, card_increment:, card_refund:, card_reversal:, card_settlement:, card_validation:, category:, created_at:, other:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element} for more details. + # {Increase::Models::CardPayment::Element} for more details. # - # @param card_authentication [Increase::CardPayment::Element::CardAuthentication, nil] A Card Authentication object. This field will be present in the JSON response if + # @param card_authentication [Increase::Models::CardPayment::Element::CardAuthentication, nil] A Card Authentication object. This field will be present in the JSON response if # - # @param card_authorization [Increase::CardPayment::Element::CardAuthorization, nil] A Card Authorization object. This field will be present in the JSON response if + # @param card_authorization [Increase::Models::CardPayment::Element::CardAuthorization, nil] A Card Authorization object. This field will be present in the JSON response if # - # @param card_authorization_expiration [Increase::CardPayment::Element::CardAuthorizationExpiration, nil] A Card Authorization Expiration object. This field will be present in the JSON r + # @param card_authorization_expiration [Increase::Models::CardPayment::Element::CardAuthorizationExpiration, nil] A Card Authorization Expiration object. This field will be present in the JSON r # - # @param card_decline [Increase::CardPayment::Element::CardDecline, nil] A Card Decline object. This field will be present in the JSON response if and on + # @param card_decline [Increase::Models::CardPayment::Element::CardDecline, nil] A Card Decline object. This field will be present in the JSON response if and on # - # @param card_fuel_confirmation [Increase::CardPayment::Element::CardFuelConfirmation, nil] A Card Fuel Confirmation object. This field will be present in the JSON response + # @param card_fuel_confirmation [Increase::Models::CardPayment::Element::CardFuelConfirmation, nil] A Card Fuel Confirmation object. This field will be present in the JSON response # - # @param card_increment [Increase::CardPayment::Element::CardIncrement, nil] A Card Increment object. This field will be present in the JSON response if and + # @param card_increment [Increase::Models::CardPayment::Element::CardIncrement, nil] A Card Increment object. This field will be present in the JSON response if and # - # @param card_refund [Increase::CardPayment::Element::CardRefund, nil] A Card Refund object. This field will be present in the JSON response if and onl + # @param card_refund [Increase::Models::CardPayment::Element::CardRefund, nil] A Card Refund object. This field will be present in the JSON response if and onl # - # @param card_reversal [Increase::CardPayment::Element::CardReversal, nil] A Card Reversal object. This field will be present in the JSON response if and o + # @param card_reversal [Increase::Models::CardPayment::Element::CardReversal, nil] A Card Reversal object. This field will be present in the JSON response if and o # - # @param card_settlement [Increase::CardPayment::Element::CardSettlement, nil] A Card Settlement object. This field will be present in the JSON response if and + # @param card_settlement [Increase::Models::CardPayment::Element::CardSettlement, nil] A Card Settlement object. This field will be present in the JSON response if and # - # @param card_validation [Increase::CardPayment::Element::CardValidation, nil] A Card Validation object. This field will be present in the JSON response if and + # @param card_validation [Increase::Models::CardPayment::Element::CardValidation, nil] A Card Validation object. This field will be present in the JSON response if and # - # @param category [Symbol, Increase::CardPayment::Element::Category] The type of the resource. We may add additional possible values for this enum ov + # @param category [Symbol, Increase::Models::CardPayment::Element::Category] The type of the resource. We may add additional possible values for this enum ov # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will - # @see Increase::CardPayment::Element#card_authentication + # @see Increase::Models::CardPayment::Element#card_authentication class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute id # The Card Authentication identifier. @@ -253,7 +253,7 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute category # The category of the card authentication attempt. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthentication::Category, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Category, nil] required :category, enum: -> { Increase::CardPayment::Element::CardAuthentication::Category @@ -263,7 +263,7 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute challenge # Details about the challenge, if one was requested. # - # @return [Increase::CardPayment::Element::CardAuthentication::Challenge, nil] + # @return [Increase::Models::CardPayment::Element::CardAuthentication::Challenge, nil] required :challenge, -> { Increase::CardPayment::Element::CardAuthentication::Challenge @@ -280,7 +280,7 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute deny_reason # The reason why this authentication attempt was denied, if it was. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthentication::DenyReason, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DenyReason, nil] required :deny_reason, enum: -> { Increase::CardPayment::Element::CardAuthentication::DenyReason }, nil?: true @@ -288,7 +288,7 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute device_channel # The device channel of the card authentication attempt. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthentication::DeviceChannel, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel, nil] required :device_channel, enum: -> { Increase::CardPayment::Element::CardAuthentication::DeviceChannel }, nil?: true @@ -342,19 +342,19 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute status # The status of the card authentication. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthentication::Status] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Status] required :status, enum: -> { Increase::CardPayment::Element::CardAuthentication::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `card_authentication`. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthentication::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type] required :type, enum: -> { Increase::CardPayment::Element::CardAuthentication::Type } # @!method initialize(id:, card_id:, card_payment_id:, category:, challenge:, created_at:, deny_reason:, device_channel:, merchant_acceptor_id:, merchant_category_code:, merchant_country:, merchant_name:, purchase_amount:, purchase_currency:, real_time_decision_id:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthentication} for more details. + # {Increase::Models::CardPayment::Element::CardAuthentication} for more details. # # A Card Authentication object. This field will be present in the JSON response if # and only if `category` is equal to `card_authentication`. Card Authentications @@ -366,15 +366,15 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param category [Symbol, Increase::CardPayment::Element::CardAuthentication::Category, nil] The category of the card authentication attempt. + # @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Category, nil] The category of the card authentication attempt. # - # @param challenge [Increase::CardPayment::Element::CardAuthentication::Challenge, nil] Details about the challenge, if one was requested. + # @param challenge [Increase::Models::CardPayment::Element::CardAuthentication::Challenge, nil] Details about the challenge, if one was requested. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Card Au # - # @param deny_reason [Symbol, Increase::CardPayment::Element::CardAuthentication::DenyReason, nil] The reason why this authentication attempt was denied, if it was. + # @param deny_reason [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DenyReason, nil] The reason why this authentication attempt was denied, if it was. # - # @param device_channel [Symbol, Increase::CardPayment::Element::CardAuthentication::DeviceChannel, nil] The device channel of the card authentication attempt. + # @param device_channel [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::DeviceChannel, nil] The device channel of the card authentication attempt. # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -390,13 +390,13 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this authent # - # @param status [Symbol, Increase::CardPayment::Element::CardAuthentication::Status] The status of the card authentication. + # @param status [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Status] The status of the card authentication. # - # @param type [Symbol, Increase::CardPayment::Element::CardAuthentication::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Type] A constant representing the object's type. For this resource it will always be ` # The category of the card authentication attempt. # - # @see Increase::CardPayment::Element::CardAuthentication#category + # @see Increase::Models::CardPayment::Element::CardAuthentication#category module Category extend Increase::Internal::Type::Enum @@ -410,12 +410,12 @@ module Category # @return [Array] end - # @see Increase::CardPayment::Element::CardAuthentication#challenge + # @see Increase::Models::CardPayment::Element::CardAuthentication#challenge class Challenge < Increase::Internal::Type::BaseModel # @!attribute attempts # Details about the challenge verification attempts, if any happened. # - # @return [Array] + # @return [Array] required :attempts, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt] @@ -437,7 +437,7 @@ class Challenge < Increase::Internal::Type::BaseModel # @!attribute verification_method # The method used to verify the Card Authentication Challenge. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod] required :verification_method, enum: -> { Increase::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod @@ -452,18 +452,18 @@ class Challenge < Increase::Internal::Type::BaseModel # @!method initialize(attempts:, created_at:, one_time_code:, verification_method:, verification_value:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthentication::Challenge} for more + # {Increase::Models::CardPayment::Element::CardAuthentication::Challenge} for more # details. # # Details about the challenge, if one was requested. # - # @param attempts [Array] Details about the challenge verification attempts, if any happened. + # @param attempts [Array] Details about the challenge verification attempts, if any happened. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Card Au # # @param one_time_code [String] The one-time code used for the Card Authentication Challenge. # - # @param verification_method [Symbol, Increase::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod] The method used to verify the Card Authentication Challenge. + # @param verification_method [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::VerificationMethod] The method used to verify the Card Authentication Challenge. # # @param verification_value [String, nil] E.g., the email address or phone number used for the Card Authentication Challen @@ -478,7 +478,7 @@ class Attempt < Increase::Internal::Type::BaseModel # @!attribute outcome # The outcome of the Card Authentication Challenge Attempt. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome] required :outcome, enum: -> { Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome @@ -486,16 +486,16 @@ class Attempt < Increase::Internal::Type::BaseModel # @!method initialize(created_at:, outcome:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt} for - # more details. + # {Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt} + # for more details. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time of the Card Authenti # - # @param outcome [Symbol, Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome] The outcome of the Card Authentication Challenge Attempt. + # @param outcome [Symbol, Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::Outcome] The outcome of the Card Authentication Challenge Attempt. # The outcome of the Card Authentication Challenge Attempt. # - # @see Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt#outcome + # @see Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt#outcome module Outcome extend Increase::Internal::Type::Enum @@ -512,7 +512,7 @@ module Outcome # The method used to verify the Card Authentication Challenge. # - # @see Increase::CardPayment::Element::CardAuthentication::Challenge#verification_method + # @see Increase::Models::CardPayment::Element::CardAuthentication::Challenge#verification_method module VerificationMethod extend Increase::Internal::Type::Enum @@ -532,7 +532,7 @@ module VerificationMethod # The reason why this authentication attempt was denied, if it was. # - # @see Increase::CardPayment::Element::CardAuthentication#deny_reason + # @see Increase::Models::CardPayment::Element::CardAuthentication#deny_reason module DenyReason extend Increase::Internal::Type::Enum @@ -560,7 +560,7 @@ module DenyReason # The device channel of the card authentication attempt. # - # @see Increase::CardPayment::Element::CardAuthentication#device_channel + # @see Increase::Models::CardPayment::Element::CardAuthentication#device_channel module DeviceChannel extend Increase::Internal::Type::Enum @@ -579,7 +579,7 @@ module DeviceChannel # The status of the card authentication. # - # @see Increase::CardPayment::Element::CardAuthentication#status + # @see Increase::Models::CardPayment::Element::CardAuthentication#status module Status extend Increase::Internal::Type::Enum @@ -617,7 +617,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `card_authentication`. # - # @see Increase::CardPayment::Element::CardAuthentication#type + # @see Increase::Models::CardPayment::Element::CardAuthentication#type module Type extend Increase::Internal::Type::Enum @@ -628,7 +628,7 @@ module Type end end - # @see Increase::CardPayment::Element#card_authorization + # @see Increase::Models::CardPayment::Element#card_authorization class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute id # The Card Authorization identifier. @@ -640,7 +640,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::Actioner] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Actioner] required :actioner, enum: -> { Increase::CardPayment::Element::CardAuthorization::Actioner } # @!attribute amount @@ -660,7 +660,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardAuthorization::Currency } # @!attribute digital_wallet_token_id @@ -674,7 +674,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::Direction] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Direction] required :direction, enum: -> { Increase::CardPayment::Element::CardAuthorization::Direction } # @!attribute expires_at @@ -732,13 +732,13 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute network_details # Fields specific to the `network`. # - # @return [Increase::CardPayment::Element::CardAuthorization::NetworkDetails] + # @return [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails] required :network_details, -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardAuthorization::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers } @@ -779,7 +779,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::ProcessingCategory] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::ProcessingCategory] required :processing_category, enum: -> { Increase::CardPayment::Element::CardAuthorization::ProcessingCategory } @@ -801,18 +801,18 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_authorization`. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Type] required :type, enum: -> { Increase::CardPayment::Element::CardAuthorization::Type } # @!attribute verification # Fields related to verification of cardholder-provided values. # - # @return [Increase::CardPayment::Element::CardAuthorization::Verification] + # @return [Increase::Models::CardPayment::Element::CardAuthorization::Verification] required :verification, -> { Increase::CardPayment::Element::CardAuthorization::Verification } # @!method initialize(id:, actioner:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, expires_at:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, pending_transaction_id:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, terminal_id:, type:, verification:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthorization} for more details. + # {Increase::Models::CardPayment::Element::CardAuthorization} for more details. # # A Card Authorization object. This field will be present in the JSON response if # and only if `category` is equal to `card_authorization`. Card Authorizations are @@ -821,17 +821,17 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param id [String] The Card Authorization identifier. # - # @param actioner [Symbol, Increase::CardPayment::Element::CardAuthorization::Actioner] Whether this authorization was approved by Increase, the card network through st + # @param actioner [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Actioner] Whether this authorization was approved by Increase, the card network through st # # @param amount [Integer] The pending amount in the minor unit of the transaction's currency. For dollars, # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param currency [Symbol, Increase::CardPayment::Element::CardAuthorization::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p # - # @param direction [Symbol, Increase::CardPayment::Element::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh + # @param direction [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh # # @param expires_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization w # @@ -849,9 +849,9 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_details [Increase::CardPayment::Element::CardAuthorization::NetworkDetails] Fields specific to the `network`. + # @param network_details [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails] Fields specific to the `network`. # - # @param network_identifiers [Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardAuthorization::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -863,20 +863,20 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param processing_category [Symbol, Increase::CardPayment::Element::CardAuthorization::ProcessingCategory] The processing category describes the intent behind the authorization, such as w + # @param processing_category [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::ProcessingCategory] The processing category describes the intent behind the authorization, such as w # # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac # # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i # - # @param type [Symbol, Increase::CardPayment::Element::CardAuthorization::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Type] A constant representing the object's type. For this resource it will always be ` # - # @param verification [Increase::CardPayment::Element::CardAuthorization::Verification] Fields related to verification of cardholder-provided values. + # @param verification [Increase::Models::CardPayment::Element::CardAuthorization::Verification] Fields related to verification of cardholder-provided values. # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @see Increase::CardPayment::Element::CardAuthorization#actioner + # @see Increase::Models::CardPayment::Element::CardAuthorization#actioner module Actioner extend Increase::Internal::Type::Enum @@ -896,7 +896,7 @@ module Actioner # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::CardPayment::Element::CardAuthorization#currency + # @see Increase::Models::CardPayment::Element::CardAuthorization#currency module Currency extend Increase::Internal::Type::Enum @@ -925,7 +925,7 @@ module Currency # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @see Increase::CardPayment::Element::CardAuthorization#direction + # @see Increase::Models::CardPayment::Element::CardAuthorization#direction module Direction extend Increase::Internal::Type::Enum @@ -939,19 +939,19 @@ module Direction # @return [Array] end - # @see Increase::CardPayment::Element::CardAuthorization#network_details + # @see Increase::Models::CardPayment::Element::CardAuthorization#network_details class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute category # The payment network used to process this card authorization. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Category] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Category] required :category, enum: -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Category } # @!attribute visa # Fields specific to the `visa` network. # - # @return [Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] + # @return [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] required :visa, -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa @@ -961,13 +961,13 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!method initialize(category:, visa:) # Fields specific to the `network`. # - # @param category [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. + # @param category [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param visa [Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. + # @param visa [Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. # The payment network used to process this card authorization. # - # @see Increase::CardPayment::Element::CardAuthorization::NetworkDetails#category + # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#category module Category extend Increase::Internal::Type::Enum @@ -978,14 +978,14 @@ module Category # @return [Array] end - # @see Increase::CardPayment::Element::CardAuthorization::NetworkDetails#visa + # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] required :electronic_commerce_indicator, enum: -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator @@ -996,7 +996,7 @@ class Visa < Increase::Internal::Type::BaseModel # The method used to enter the cardholder's primary account number and card # expiration date. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] required :point_of_service_entry_mode, enum: -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode @@ -1007,7 +1007,7 @@ class Visa < Increase::Internal::Type::BaseModel # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] required :stand_in_processing_reason, enum: -> { Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason @@ -1016,22 +1016,22 @@ class Visa < Increase::Internal::Type::BaseModel # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa} for - # more details. + # {Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa} + # for more details. # # Fields specific to the `visa` network. # - # @param electronic_commerce_indicator [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used + # @param electronic_commerce_indicator [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used # - # @param point_of_service_entry_mode [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira + # @param point_of_service_entry_mode [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira # - # @param stand_in_processing_reason [Symbol, Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap + # @param stand_in_processing_reason [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @see Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa#electronic_commerce_indicator + # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa#electronic_commerce_indicator module ElectronicCommerceIndicator extend Increase::Internal::Type::Enum @@ -1067,7 +1067,7 @@ module ElectronicCommerceIndicator # The method used to enter the cardholder's primary account number and card # expiration date. # - # @see Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa#point_of_service_entry_mode + # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa#point_of_service_entry_mode module PointOfServiceEntryMode extend Increase::Internal::Type::Enum @@ -1108,7 +1108,7 @@ module PointOfServiceEntryMode # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @see Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa#stand_in_processing_reason + # @see Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa#stand_in_processing_reason module StandInProcessingReason extend Increase::Internal::Type::Enum @@ -1141,7 +1141,7 @@ module StandInProcessingReason end end - # @see Increase::CardPayment::Element::CardAuthorization#network_identifiers + # @see Increase::Models::CardPayment::Element::CardAuthorization#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -1167,8 +1167,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers} for more - # details. + # {Increase::Models::CardPayment::Element::CardAuthorization::NetworkIdentifiers} + # for more details. # # Network-specific identifiers for a specific request or transaction. # @@ -1182,7 +1182,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @see Increase::CardPayment::Element::CardAuthorization#processing_category + # @see Increase::Models::CardPayment::Element::CardAuthorization#processing_category module ProcessingCategory extend Increase::Internal::Type::Enum @@ -1211,7 +1211,7 @@ module ProcessingCategory # A constant representing the object's type. For this resource it will always be # `card_authorization`. # - # @see Increase::CardPayment::Element::CardAuthorization#type + # @see Increase::Models::CardPayment::Element::CardAuthorization#type module Type extend Increase::Internal::Type::Enum @@ -1221,13 +1221,13 @@ module Type # @return [Array] end - # @see Increase::CardPayment::Element::CardAuthorization#verification + # @see Increase::Models::CardPayment::Element::CardAuthorization#verification class Verification < Increase::Internal::Type::BaseModel # @!attribute card_verification_code # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @return [Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode] + # @return [Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode] required :card_verification_code, -> { Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode @@ -1237,27 +1237,27 @@ class Verification < Increase::Internal::Type::BaseModel # Cardholder address provided in the authorization request and the address on file # we verified it against. # - # @return [Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress] + # @return [Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress] required :cardholder_address, -> { Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress } # @!method initialize(card_verification_code:, cardholder_address:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthorization::Verification} for more - # details. + # {Increase::Models::CardPayment::Element::CardAuthorization::Verification} for + # more details. # # Fields related to verification of cardholder-provided values. # - # @param card_verification_code [Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on + # @param card_verification_code [Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on # - # @param cardholder_address [Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file + # @param cardholder_address [Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file - # @see Increase::CardPayment::Element::CardAuthorization::Verification#card_verification_code + # @see Increase::Models::CardPayment::Element::CardAuthorization::Verification#card_verification_code class CardVerificationCode < Increase::Internal::Type::BaseModel # @!attribute result # The result of verifying the Card Verification Code. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result] required :result, enum: -> { Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result @@ -1267,11 +1267,11 @@ class CardVerificationCode < Increase::Internal::Type::BaseModel # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @param result [Symbol, Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. + # @param result [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. # The result of verifying the Card Verification Code. # - # @see Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode#result + # @see Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode#result module Result extend Increase::Internal::Type::Enum @@ -1289,7 +1289,7 @@ module Result end end - # @see Increase::CardPayment::Element::CardAuthorization::Verification#cardholder_address + # @see Increase::Models::CardPayment::Element::CardAuthorization::Verification#cardholder_address class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute actual_line1 # Line 1 of the address on file for the cardholder. @@ -1319,7 +1319,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute result # The address verification result returned to the card network. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result] required :result, enum: -> { Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result @@ -1327,7 +1327,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress} + # {Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress} # for more details. # # Cardholder address provided in the authorization request and the address on file @@ -1341,11 +1341,11 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request. # - # @param result [Symbol, Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result] The address verification result returned to the card network. + # @param result [Symbol, Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::Result] The address verification result returned to the card network. # The address verification result returned to the card network. # - # @see Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress#result + # @see Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress#result module Result extend Increase::Internal::Type::Enum @@ -1374,7 +1374,7 @@ module Result end end - # @see Increase::CardPayment::Element#card_authorization_expiration + # @see Increase::Models::CardPayment::Element#card_authorization_expiration class CardAuthorizationExpiration < Increase::Internal::Type::BaseModel # @!attribute id # The Card Authorization Expiration identifier. @@ -1392,7 +1392,7 @@ class CardAuthorizationExpiration < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's # currency. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorizationExpiration::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardAuthorizationExpiration::Currency @@ -1408,19 +1408,20 @@ class CardAuthorizationExpiration < Increase::Internal::Type::BaseModel # @!attribute network # The card network used to process this card authorization. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorizationExpiration::Network] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Network] required :network, enum: -> { Increase::CardPayment::Element::CardAuthorizationExpiration::Network } # @!attribute type # A constant representing the object's type. For this resource it will always be # `card_authorization_expiration`. # - # @return [Symbol, Increase::CardPayment::Element::CardAuthorizationExpiration::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Type] required :type, enum: -> { Increase::CardPayment::Element::CardAuthorizationExpiration::Type } # @!method initialize(id:, card_authorization_id:, currency:, expired_amount:, network:, type:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardAuthorizationExpiration} for more details. + # {Increase::Models::CardPayment::Element::CardAuthorizationExpiration} for more + # details. # # A Card Authorization Expiration object. This field will be present in the JSON # response if and only if `category` is equal to `card_authorization_expiration`. @@ -1431,18 +1432,18 @@ class CardAuthorizationExpiration < Increase::Internal::Type::BaseModel # # @param card_authorization_id [String] The identifier for the Card Authorization this reverses. # - # @param currency [Symbol, Increase::CardPayment::Element::CardAuthorizationExpiration::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's c + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's c # # @param expired_amount [Integer] The amount of this authorization expiration in the minor unit of the transaction # - # @param network [Symbol, Increase::CardPayment::Element::CardAuthorizationExpiration::Network] The card network used to process this card authorization. + # @param network [Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Network] The card network used to process this card authorization. # - # @param type [Symbol, Increase::CardPayment::Element::CardAuthorizationExpiration::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardAuthorizationExpiration::Type] A constant representing the object's type. For this resource it will always be ` # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's # currency. # - # @see Increase::CardPayment::Element::CardAuthorizationExpiration#currency + # @see Increase::Models::CardPayment::Element::CardAuthorizationExpiration#currency module Currency extend Increase::Internal::Type::Enum @@ -1470,7 +1471,7 @@ module Currency # The card network used to process this card authorization. # - # @see Increase::CardPayment::Element::CardAuthorizationExpiration#network + # @see Increase::Models::CardPayment::Element::CardAuthorizationExpiration#network module Network extend Increase::Internal::Type::Enum @@ -1484,7 +1485,7 @@ module Network # A constant representing the object's type. For this resource it will always be # `card_authorization_expiration`. # - # @see Increase::CardPayment::Element::CardAuthorizationExpiration#type + # @see Increase::Models::CardPayment::Element::CardAuthorizationExpiration#type module Type extend Increase::Internal::Type::Enum @@ -1495,7 +1496,7 @@ module Type end end - # @see Increase::CardPayment::Element#card_decline + # @see Increase::Models::CardPayment::Element#card_decline class CardDecline < Increase::Internal::Type::BaseModel # @!attribute id # The Card Decline identifier. @@ -1507,7 +1508,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::Actioner] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Actioner] required :actioner, enum: -> { Increase::CardPayment::Element::CardDecline::Actioner } # @!attribute amount @@ -1527,7 +1528,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardDecline::Currency } # @!attribute declined_transaction_id @@ -1547,7 +1548,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::Direction] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction] required :direction, enum: -> { Increase::CardPayment::Element::CardDecline::Direction } # @!attribute merchant_acceptor_id @@ -1598,13 +1599,13 @@ class CardDecline < Increase::Internal::Type::BaseModel # @!attribute network_details # Fields specific to the `network`. # - # @return [Increase::CardPayment::Element::CardDecline::NetworkDetails] + # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails] required :network_details, -> { Increase::CardPayment::Element::CardDecline::NetworkDetails } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::CardPayment::Element::CardDecline::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardDecline::NetworkIdentifiers @@ -1641,7 +1642,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::ProcessingCategory] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::ProcessingCategory] required :processing_category, enum: -> { Increase::CardPayment::Element::CardDecline::ProcessingCategory } @@ -1656,7 +1657,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # This is present if a specific decline reason was given in the real-time # decision. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil] required :real_time_decision_reason, enum: -> { Increase::CardPayment::Element::CardDecline::RealTimeDecisionReason }, nil?: true @@ -1664,7 +1665,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # @!attribute reason # Why the transaction was declined. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::Reason] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason] required :reason, enum: -> { Increase::CardPayment::Element::CardDecline::Reason } # @!attribute terminal_id @@ -1677,31 +1678,31 @@ class CardDecline < Increase::Internal::Type::BaseModel # @!attribute verification # Fields related to verification of cardholder-provided values. # - # @return [Increase::CardPayment::Element::CardDecline::Verification] + # @return [Increase::Models::CardPayment::Element::CardDecline::Verification] required :verification, -> { Increase::CardPayment::Element::CardDecline::Verification } # @!method initialize(id:, actioner:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardDecline} for more details. + # {Increase::Models::CardPayment::Element::CardDecline} for more details. # # A Card Decline object. This field will be present in the JSON response if and # only if `category` is equal to `card_decline`. # # @param id [String] The Card Decline identifier. # - # @param actioner [Symbol, Increase::CardPayment::Element::CardDecline::Actioner] Whether this authorization was approved by Increase, the card network through st + # @param actioner [Symbol, Increase::Models::CardPayment::Element::CardDecline::Actioner] Whether this authorization was approved by Increase, the card network through st # # @param amount [Integer] The declined amount in the minor unit of the destination account currency. For d # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param currency [Symbol, Increase::CardPayment::Element::CardDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # # @param declined_transaction_id [String] The identifier of the declined transaction created for this Card Decline. # # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p # - # @param direction [Symbol, Increase::CardPayment::Element::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh + # @param direction [Symbol, Increase::Models::CardPayment::Element::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -1717,9 +1718,9 @@ class CardDecline < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_details [Increase::CardPayment::Element::CardDecline::NetworkDetails] Fields specific to the `network`. + # @param network_details [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails] Fields specific to the `network`. # - # @param network_identifiers [Increase::CardPayment::Element::CardDecline::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -1729,22 +1730,22 @@ class CardDecline < Increase::Internal::Type::BaseModel # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param processing_category [Symbol, Increase::CardPayment::Element::CardDecline::ProcessingCategory] The processing category describes the intent behind the authorization, such as w + # @param processing_category [Symbol, Increase::Models::CardPayment::Element::CardDecline::ProcessingCategory] The processing category describes the intent behind the authorization, such as w # # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac # - # @param real_time_decision_reason [Symbol, Increase::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil] This is present if a specific decline reason was given in the real-time decision + # @param real_time_decision_reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::RealTimeDecisionReason, nil] This is present if a specific decline reason was given in the real-time decision # - # @param reason [Symbol, Increase::CardPayment::Element::CardDecline::Reason] Why the transaction was declined. + # @param reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::Reason] Why the transaction was declined. # # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i # - # @param verification [Increase::CardPayment::Element::CardDecline::Verification] Fields related to verification of cardholder-provided values. + # @param verification [Increase::Models::CardPayment::Element::CardDecline::Verification] Fields related to verification of cardholder-provided values. # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @see Increase::CardPayment::Element::CardDecline#actioner + # @see Increase::Models::CardPayment::Element::CardDecline#actioner module Actioner extend Increase::Internal::Type::Enum @@ -1764,7 +1765,7 @@ module Actioner # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @see Increase::CardPayment::Element::CardDecline#currency + # @see Increase::Models::CardPayment::Element::CardDecline#currency module Currency extend Increase::Internal::Type::Enum @@ -1793,7 +1794,7 @@ module Currency # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @see Increase::CardPayment::Element::CardDecline#direction + # @see Increase::Models::CardPayment::Element::CardDecline#direction module Direction extend Increase::Internal::Type::Enum @@ -1807,12 +1808,12 @@ module Direction # @return [Array] end - # @see Increase::CardPayment::Element::CardDecline#network_details + # @see Increase::Models::CardPayment::Element::CardDecline#network_details class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute category # The payment network used to process this card authorization. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Category] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] required :category, enum: -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Category @@ -1821,7 +1822,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute visa # Fields specific to the `visa` network. # - # @return [Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] + # @return [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] required :visa, -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa @@ -1831,13 +1832,13 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!method initialize(category:, visa:) # Fields specific to the `network`. # - # @param category [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization. + # @param category [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param visa [Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network. + # @param visa [Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network. # The payment network used to process this card authorization. # - # @see Increase::CardPayment::Element::CardDecline::NetworkDetails#category + # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#category module Category extend Increase::Internal::Type::Enum @@ -1848,14 +1849,14 @@ module Category # @return [Array] end - # @see Increase::CardPayment::Element::CardDecline::NetworkDetails#visa + # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] required :electronic_commerce_indicator, enum: -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator @@ -1866,7 +1867,7 @@ class Visa < Increase::Internal::Type::BaseModel # The method used to enter the cardholder's primary account number and card # expiration date. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] required :point_of_service_entry_mode, enum: -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode @@ -1877,7 +1878,7 @@ class Visa < Increase::Internal::Type::BaseModel # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] required :stand_in_processing_reason, enum: -> { Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason @@ -1886,22 +1887,22 @@ class Visa < Increase::Internal::Type::BaseModel # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa} for more - # details. + # {Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa} for + # more details. # # Fields specific to the `visa` network. # - # @param electronic_commerce_indicator [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used + # @param electronic_commerce_indicator [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used # - # @param point_of_service_entry_mode [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira + # @param point_of_service_entry_mode [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira # - # @param stand_in_processing_reason [Symbol, Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap + # @param stand_in_processing_reason [Symbol, Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @see Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa#electronic_commerce_indicator + # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#electronic_commerce_indicator module ElectronicCommerceIndicator extend Increase::Internal::Type::Enum @@ -1937,7 +1938,7 @@ module ElectronicCommerceIndicator # The method used to enter the cardholder's primary account number and card # expiration date. # - # @see Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa#point_of_service_entry_mode + # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#point_of_service_entry_mode module PointOfServiceEntryMode extend Increase::Internal::Type::Enum @@ -1978,7 +1979,7 @@ module PointOfServiceEntryMode # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @see Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa#stand_in_processing_reason + # @see Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa#stand_in_processing_reason module StandInProcessingReason extend Increase::Internal::Type::Enum @@ -2011,7 +2012,7 @@ module StandInProcessingReason end end - # @see Increase::CardPayment::Element::CardDecline#network_identifiers + # @see Increase::Models::CardPayment::Element::CardDecline#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -2037,8 +2038,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardDecline::NetworkIdentifiers} for more - # details. + # {Increase::Models::CardPayment::Element::CardDecline::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for a specific request or transaction. # @@ -2052,7 +2053,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @see Increase::CardPayment::Element::CardDecline#processing_category + # @see Increase::Models::CardPayment::Element::CardDecline#processing_category module ProcessingCategory extend Increase::Internal::Type::Enum @@ -2081,7 +2082,7 @@ module ProcessingCategory # This is present if a specific decline reason was given in the real-time # decision. # - # @see Increase::CardPayment::Element::CardDecline#real_time_decision_reason + # @see Increase::Models::CardPayment::Element::CardDecline#real_time_decision_reason module RealTimeDecisionReason extend Increase::Internal::Type::Enum @@ -2109,7 +2110,7 @@ module RealTimeDecisionReason # Why the transaction was declined. # - # @see Increase::CardPayment::Element::CardDecline#reason + # @see Increase::Models::CardPayment::Element::CardDecline#reason module Reason extend Increase::Internal::Type::Enum @@ -2171,13 +2172,13 @@ module Reason # @return [Array] end - # @see Increase::CardPayment::Element::CardDecline#verification + # @see Increase::Models::CardPayment::Element::CardDecline#verification class Verification < Increase::Internal::Type::BaseModel # @!attribute card_verification_code # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @return [Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode] + # @return [Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode] required :card_verification_code, -> { Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode } @@ -2185,26 +2186,27 @@ class Verification < Increase::Internal::Type::BaseModel # Cardholder address provided in the authorization request and the address on file # we verified it against. # - # @return [Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress] + # @return [Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress] required :cardholder_address, -> { Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress } # @!method initialize(card_verification_code:, cardholder_address:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardDecline::Verification} for more details. + # {Increase::Models::CardPayment::Element::CardDecline::Verification} for more + # details. # # Fields related to verification of cardholder-provided values. # - # @param card_verification_code [Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on + # @param card_verification_code [Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on # - # @param cardholder_address [Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file + # @param cardholder_address [Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file - # @see Increase::CardPayment::Element::CardDecline::Verification#card_verification_code + # @see Increase::Models::CardPayment::Element::CardDecline::Verification#card_verification_code class CardVerificationCode < Increase::Internal::Type::BaseModel # @!attribute result # The result of verifying the Card Verification Code. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result] required :result, enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result @@ -2214,11 +2216,11 @@ class CardVerificationCode < Increase::Internal::Type::BaseModel # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @param result [Symbol, Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. + # @param result [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. # The result of verifying the Card Verification Code. # - # @see Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode#result + # @see Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode#result module Result extend Increase::Internal::Type::Enum @@ -2236,7 +2238,7 @@ module Result end end - # @see Increase::CardPayment::Element::CardDecline::Verification#cardholder_address + # @see Increase::Models::CardPayment::Element::CardDecline::Verification#cardholder_address class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute actual_line1 # Line 1 of the address on file for the cardholder. @@ -2266,7 +2268,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute result # The address verification result returned to the card network. # - # @return [Symbol, Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result] + # @return [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result] required :result, enum: -> { Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result @@ -2274,7 +2276,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress} + # {Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress} # for more details. # # Cardholder address provided in the authorization request and the address on file @@ -2288,11 +2290,11 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request. # - # @param result [Symbol, Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result] The address verification result returned to the card network. + # @param result [Symbol, Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::Result] The address verification result returned to the card network. # The address verification result returned to the card network. # - # @see Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress#result + # @see Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress#result module Result extend Increase::Internal::Type::Enum @@ -2321,7 +2323,7 @@ module Result end end - # @see Increase::CardPayment::Element#card_fuel_confirmation + # @see Increase::Models::CardPayment::Element#card_fuel_confirmation class CardFuelConfirmation < Increase::Internal::Type::BaseModel # @!attribute id # The Card Fuel Confirmation identifier. @@ -2339,19 +2341,19 @@ class CardFuelConfirmation < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's # currency. # - # @return [Symbol, Increase::CardPayment::Element::CardFuelConfirmation::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardFuelConfirmation::Currency } # @!attribute network # The card network used to process this card authorization. # - # @return [Symbol, Increase::CardPayment::Element::CardFuelConfirmation::Network] + # @return [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::Network] required :network, enum: -> { Increase::CardPayment::Element::CardFuelConfirmation::Network } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers } @@ -2366,7 +2368,7 @@ class CardFuelConfirmation < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_fuel_confirmation`. # - # @return [Symbol, Increase::CardPayment::Element::CardFuelConfirmation::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::Type] required :type, enum: -> { Increase::CardPayment::Element::CardFuelConfirmation::Type } # @!attribute updated_authorization_amount @@ -2378,7 +2380,7 @@ class CardFuelConfirmation < Increase::Internal::Type::BaseModel # @!method initialize(id:, card_authorization_id:, currency:, network:, network_identifiers:, pending_transaction_id:, type:, updated_authorization_amount:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardFuelConfirmation} for more details. + # {Increase::Models::CardPayment::Element::CardFuelConfirmation} for more details. # # A Card Fuel Confirmation object. This field will be present in the JSON response # if and only if `category` is equal to `card_fuel_confirmation`. Card Fuel @@ -2389,22 +2391,22 @@ class CardFuelConfirmation < Increase::Internal::Type::BaseModel # # @param card_authorization_id [String] The identifier for the Card Authorization this updates. # - # @param currency [Symbol, Increase::CardPayment::Element::CardFuelConfirmation::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's # - # @param network [Symbol, Increase::CardPayment::Element::CardFuelConfirmation::Network] The card network used to process this card authorization. + # @param network [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::Network] The card network used to process this card authorization. # - # @param network_identifiers [Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Card Fuel Confirm # - # @param type [Symbol, Increase::CardPayment::Element::CardFuelConfirmation::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardFuelConfirmation::Type] A constant representing the object's type. For this resource it will always be ` # # @param updated_authorization_amount [Integer] The updated authorization amount after this fuel confirmation, in the minor unit # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's # currency. # - # @see Increase::CardPayment::Element::CardFuelConfirmation#currency + # @see Increase::Models::CardPayment::Element::CardFuelConfirmation#currency module Currency extend Increase::Internal::Type::Enum @@ -2432,7 +2434,7 @@ module Currency # The card network used to process this card authorization. # - # @see Increase::CardPayment::Element::CardFuelConfirmation#network + # @see Increase::Models::CardPayment::Element::CardFuelConfirmation#network module Network extend Increase::Internal::Type::Enum @@ -2443,7 +2445,7 @@ module Network # @return [Array] end - # @see Increase::CardPayment::Element::CardFuelConfirmation#network_identifiers + # @see Increase::Models::CardPayment::Element::CardFuelConfirmation#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -2469,8 +2471,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers} for - # more details. + # {Increase::Models::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers} + # for more details. # # Network-specific identifiers for a specific request or transaction. # @@ -2484,7 +2486,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_fuel_confirmation`. # - # @see Increase::CardPayment::Element::CardFuelConfirmation#type + # @see Increase::Models::CardPayment::Element::CardFuelConfirmation#type module Type extend Increase::Internal::Type::Enum @@ -2495,7 +2497,7 @@ module Type end end - # @see Increase::CardPayment::Element#card_increment + # @see Increase::Models::CardPayment::Element#card_increment class CardIncrement < Increase::Internal::Type::BaseModel # @!attribute id # The Card Increment identifier. @@ -2507,7 +2509,7 @@ class CardIncrement < Increase::Internal::Type::BaseModel # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @return [Symbol, Increase::CardPayment::Element::CardIncrement::Actioner] + # @return [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Actioner] required :actioner, enum: -> { Increase::CardPayment::Element::CardIncrement::Actioner } # @!attribute amount @@ -2527,19 +2529,19 @@ class CardIncrement < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's # currency. # - # @return [Symbol, Increase::CardPayment::Element::CardIncrement::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardIncrement::Currency } # @!attribute network # The card network used to process this card authorization. # - # @return [Symbol, Increase::CardPayment::Element::CardIncrement::Network] + # @return [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Network] required :network, enum: -> { Increase::CardPayment::Element::CardIncrement::Network } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardIncrement::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers @@ -2569,7 +2571,7 @@ class CardIncrement < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_increment`. # - # @return [Symbol, Increase::CardPayment::Element::CardIncrement::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Type] required :type, enum: -> { Increase::CardPayment::Element::CardIncrement::Type } # @!attribute updated_authorization_amount @@ -2581,7 +2583,7 @@ class CardIncrement < Increase::Internal::Type::BaseModel # @!method initialize(id:, actioner:, amount:, card_authorization_id:, currency:, network:, network_identifiers:, network_risk_score:, pending_transaction_id:, real_time_decision_id:, type:, updated_authorization_amount:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardIncrement} for more details. + # {Increase::Models::CardPayment::Element::CardIncrement} for more details. # # A Card Increment object. This field will be present in the JSON response if and # only if `category` is equal to `card_increment`. Card Increments increase the @@ -2589,17 +2591,17 @@ class CardIncrement < Increase::Internal::Type::BaseModel # # @param id [String] The Card Increment identifier. # - # @param actioner [Symbol, Increase::CardPayment::Element::CardIncrement::Actioner] Whether this authorization was approved by Increase, the card network through st + # @param actioner [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Actioner] Whether this authorization was approved by Increase, the card network through st # # @param amount [Integer] The amount of this increment in the minor unit of the transaction's currency. Fo # # @param card_authorization_id [String] The identifier for the Card Authorization this increments. # - # @param currency [Symbol, Increase::CardPayment::Element::CardIncrement::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's # - # @param network [Symbol, Increase::CardPayment::Element::CardIncrement::Network] The card network used to process this card authorization. + # @param network [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Network] The card network used to process this card authorization. # - # @param network_identifiers [Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardIncrement::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -2607,14 +2609,14 @@ class CardIncrement < Increase::Internal::Type::BaseModel # # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this increme # - # @param type [Symbol, Increase::CardPayment::Element::CardIncrement::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardIncrement::Type] A constant representing the object's type. For this resource it will always be ` # # @param updated_authorization_amount [Integer] The updated authorization amount after this increment, in the minor unit of the # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @see Increase::CardPayment::Element::CardIncrement#actioner + # @see Increase::Models::CardPayment::Element::CardIncrement#actioner module Actioner extend Increase::Internal::Type::Enum @@ -2634,7 +2636,7 @@ module Actioner # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the increment's # currency. # - # @see Increase::CardPayment::Element::CardIncrement#currency + # @see Increase::Models::CardPayment::Element::CardIncrement#currency module Currency extend Increase::Internal::Type::Enum @@ -2662,7 +2664,7 @@ module Currency # The card network used to process this card authorization. # - # @see Increase::CardPayment::Element::CardIncrement#network + # @see Increase::Models::CardPayment::Element::CardIncrement#network module Network extend Increase::Internal::Type::Enum @@ -2673,7 +2675,7 @@ module Network # @return [Array] end - # @see Increase::CardPayment::Element::CardIncrement#network_identifiers + # @see Increase::Models::CardPayment::Element::CardIncrement#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -2699,8 +2701,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers} for more - # details. + # {Increase::Models::CardPayment::Element::CardIncrement::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for a specific request or transaction. # @@ -2714,7 +2716,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_increment`. # - # @see Increase::CardPayment::Element::CardIncrement#type + # @see Increase::Models::CardPayment::Element::CardIncrement#type module Type extend Increase::Internal::Type::Enum @@ -2725,7 +2727,7 @@ module Type end end - # @see Increase::CardPayment::Element#card_refund + # @see Increase::Models::CardPayment::Element#card_refund class CardRefund < Increase::Internal::Type::BaseModel # @!attribute id # The Card Refund identifier. @@ -2750,20 +2752,20 @@ class CardRefund < Increase::Internal::Type::BaseModel # Cashback debited for this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # - # @return [Increase::CardPayment::Element::CardRefund::Cashback, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund::Cashback, nil] required :cashback, -> { Increase::CardPayment::Element::CardRefund::Cashback }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardRefund::Currency } # @!attribute interchange # Interchange assessed as a part of this transaciton. # - # @return [Increase::CardPayment::Element::CardRefund::Interchange, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund::Interchange, nil] required :interchange, -> { Increase::CardPayment::Element::CardRefund::Interchange }, nil?: true # @!attribute merchant_acceptor_id @@ -2812,7 +2814,7 @@ class CardRefund < Increase::Internal::Type::BaseModel # @!attribute network_identifiers # Network-specific identifiers for this refund. # - # @return [Increase::CardPayment::Element::CardRefund::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardRefund::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardRefund::NetworkIdentifiers } # @!attribute presentment_amount @@ -2832,7 +2834,7 @@ class CardRefund < Increase::Internal::Type::BaseModel # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @return [Increase::CardPayment::Element::CardRefund::PurchaseDetails, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails, nil] required :purchase_details, -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails @@ -2849,12 +2851,12 @@ class CardRefund < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_refund`. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::Type] required :type, enum: -> { Increase::CardPayment::Element::CardRefund::Type } # @!method initialize(id:, amount:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund} for more details. + # {Increase::Models::CardPayment::Element::CardRefund} for more details. # # A Card Refund object. This field will be present in the JSON response if and # only if `category` is equal to `card_refund`. Card Refunds move money back to @@ -2868,11 +2870,11 @@ class CardRefund < Increase::Internal::Type::BaseModel # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param cashback [Increase::CardPayment::Element::CardRefund::Cashback, nil] Cashback debited for this transaction, if eligible. Cashback is paid out in aggr + # @param cashback [Increase::Models::CardPayment::Element::CardRefund::Cashback, nil] Cashback debited for this transaction, if eligible. Cashback is paid out in aggr # - # @param currency [Symbol, Increase::CardPayment::Element::CardRefund::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardRefund::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param interchange [Increase::CardPayment::Element::CardRefund::Interchange, nil] Interchange assessed as a part of this transaciton. + # @param interchange [Increase::Models::CardPayment::Element::CardRefund::Interchange, nil] Interchange assessed as a part of this transaciton. # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -2888,19 +2890,19 @@ class CardRefund < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_identifiers [Increase::CardPayment::Element::CardRefund::NetworkIdentifiers] Network-specific identifiers for this refund. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardRefund::NetworkIdentifiers] Network-specific identifiers for this refund. # # @param presentment_amount [Integer] The amount in the minor unit of the transaction's presentment currency. # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param purchase_details [Increase::CardPayment::Element::CardRefund::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi + # @param purchase_details [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi # # @param transaction_id [String] The identifier of the Transaction associated with this Transaction. # - # @param type [Symbol, Increase::CardPayment::Element::CardRefund::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardRefund::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::CardPayment::Element::CardRefund#cashback + # @see Increase::Models::CardPayment::Element::CardRefund#cashback class Cashback < Increase::Internal::Type::BaseModel # @!attribute amount # The cashback amount given as a string containing a decimal number. The amount is @@ -2913,23 +2915,23 @@ class Cashback < Increase::Internal::Type::BaseModel # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::Cashback::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::Cashback::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardRefund::Cashback::Currency } # @!method initialize(amount:, currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund::Cashback} for more details. + # {Increase::Models::CardPayment::Element::CardRefund::Cashback} for more details. # # Cashback debited for this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # # @param amount [String] The cashback amount given as a string containing a decimal number. The amount is # - # @param currency [Symbol, Increase::CardPayment::Element::CardRefund::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardRefund::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @see Increase::CardPayment::Element::CardRefund::Cashback#currency + # @see Increase::Models::CardPayment::Element::CardRefund::Cashback#currency module Currency extend Increase::Internal::Type::Enum @@ -2959,7 +2961,7 @@ module Currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @see Increase::CardPayment::Element::CardRefund#currency + # @see Increase::Models::CardPayment::Element::CardRefund#currency module Currency extend Increase::Internal::Type::Enum @@ -2985,7 +2987,7 @@ module Currency # @return [Array] end - # @see Increase::CardPayment::Element::CardRefund#interchange + # @see Increase::Models::CardPayment::Element::CardRefund#interchange class Interchange < Increase::Internal::Type::BaseModel # @!attribute amount # The interchange amount given as a string containing a decimal number in major @@ -3006,12 +3008,13 @@ class Interchange < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::Interchange::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::Interchange::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardRefund::Interchange::Currency } # @!method initialize(amount:, code:, currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund::Interchange} for more details. + # {Increase::Models::CardPayment::Element::CardRefund::Interchange} for more + # details. # # Interchange assessed as a part of this transaciton. # @@ -3019,12 +3022,12 @@ class Interchange < Increase::Internal::Type::BaseModel # # @param code [String, nil] The card network specific interchange code. # - # @param currency [Symbol, Increase::CardPayment::Element::CardRefund::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardRefund::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @see Increase::CardPayment::Element::CardRefund::Interchange#currency + # @see Increase::Models::CardPayment::Element::CardRefund::Interchange#currency module Currency extend Increase::Internal::Type::Enum @@ -3051,7 +3054,7 @@ module Currency end end - # @see Increase::CardPayment::Element::CardRefund#network_identifiers + # @see Increase::Models::CardPayment::Element::CardRefund#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute acquirer_business_id # A network assigned business ID that identifies the acquirer that processed this @@ -3075,8 +3078,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(acquirer_business_id:, acquirer_reference_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund::NetworkIdentifiers} for more - # details. + # {Increase::Models::CardPayment::Element::CardRefund::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for this refund. # @@ -3087,12 +3090,12 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro end - # @see Increase::CardPayment::Element::CardRefund#purchase_details + # @see Increase::Models::CardPayment::Element::CardRefund#purchase_details class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute car_rental # Fields specific to car rentals. # - # @return [Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental, nil] required :car_rental, -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental }, nil?: true @@ -3119,7 +3122,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute lodging # Fields specific to lodging. # - # @return [Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging, nil] required :lodging, -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging @@ -3148,7 +3151,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute purchase_identifier_format # The format of the purchase identifier. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] required :purchase_identifier_format, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat @@ -3158,7 +3161,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute travel # Fields specific to travel. # - # @return [Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel, nil] required :travel, -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel @@ -3167,12 +3170,13 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!method initialize(car_rental:, customer_reference_identifier:, local_tax_amount:, local_tax_currency:, lodging:, national_tax_amount:, national_tax_currency:, purchase_identifier:, purchase_identifier_format:, travel:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund::PurchaseDetails} for more details. + # {Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails} for more + # details. # # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @param car_rental [Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental, nil] Fields specific to car rentals. + # @param car_rental [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental, nil] Fields specific to car rentals. # # @param customer_reference_identifier [String, nil] An identifier from the merchant for the customer or consumer. # @@ -3180,7 +3184,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param local_tax_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax as # - # @param lodging [Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging, nil] Fields specific to lodging. + # @param lodging [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging, nil] Fields specific to lodging. # # @param national_tax_amount [Integer, nil] The national tax amount in minor units. # @@ -3188,11 +3192,11 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param purchase_identifier [String, nil] An identifier from the merchant for the purchase to the issuer and cardholder. # - # @param purchase_identifier_format [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. + # @param purchase_identifier_format [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. # - # @param travel [Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel, nil] Fields specific to travel. + # @param travel [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel, nil] Fields specific to travel. - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails#car_rental + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails#car_rental class CarRental < Increase::Internal::Type::BaseModel # @!attribute car_class_code # Code indicating the vehicle's class. @@ -3229,7 +3233,7 @@ class CarRental < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (gas, late fee, etc.) being billed. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::ExtraCharges @@ -3266,7 +3270,7 @@ class CarRental < Increase::Internal::Type::BaseModel # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::NoShowIndicator @@ -3308,8 +3312,8 @@ class CarRental < Increase::Internal::Type::BaseModel # @!method initialize(car_class_code:, checkout_date:, daily_rental_rate_amount:, daily_rental_rate_currency:, days_rented:, extra_charges:, fuel_charges_amount:, fuel_charges_currency:, insurance_charges_amount:, insurance_charges_currency:, no_show_indicator:, one_way_drop_off_charges_amount:, one_way_drop_off_charges_currency:, renter_name:, weekly_rental_rate_amount:, weekly_rental_rate_currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental} for - # more details. + # {Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental} + # for more details. # # Fields specific to car rentals. # @@ -3323,7 +3327,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param days_rented [Integer, nil] Number of days the vehicle was rented. # - # @param extra_charges [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. # # @param fuel_charges_amount [Integer, nil] Fuel charges for the vehicle. # @@ -3333,7 +3337,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param insurance_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance ch # - # @param no_show_indicator [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was + # @param no_show_indicator [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was # # @param one_way_drop_off_charges_amount [Integer, nil] Charges for returning the vehicle at a different location than where it was pick # @@ -3347,7 +3351,7 @@ class CarRental < Increase::Internal::Type::BaseModel # Additional charges (gas, late fee, etc.) being billed. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental#extra_charges + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -3376,7 +3380,7 @@ module ExtraCharges # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental#no_show_indicator + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -3391,7 +3395,7 @@ module NoShowIndicator end end - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails#lodging + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails#lodging class Lodging < Increase::Internal::Type::BaseModel # @!attribute check_in_date # Date the customer checked in. @@ -3415,7 +3419,7 @@ class Lodging < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (phone, late check-out, etc.) being billed. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::ExtraCharges @@ -3452,7 +3456,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::NoShowIndicator @@ -3506,8 +3510,8 @@ class Lodging < Increase::Internal::Type::BaseModel # @!method initialize(check_in_date:, daily_room_rate_amount:, daily_room_rate_currency:, extra_charges:, folio_cash_advances_amount:, folio_cash_advances_currency:, food_beverage_charges_amount:, food_beverage_charges_currency:, no_show_indicator:, prepaid_expenses_amount:, prepaid_expenses_currency:, room_nights:, total_room_tax_amount:, total_room_tax_currency:, total_tax_amount:, total_tax_currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging} for more - # details. + # {Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging} + # for more details. # # Fields specific to lodging. # @@ -3517,7 +3521,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param daily_room_rate_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room r # - # @param extra_charges [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. # # @param folio_cash_advances_amount [Integer, nil] Folio cash advances for the room. # @@ -3527,7 +3531,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param food_beverage_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and bev # - # @param no_show_indicator [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a + # @param no_show_indicator [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a # # @param prepaid_expenses_amount [Integer, nil] Prepaid expenses being charged for the room. # @@ -3545,7 +3549,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Additional charges (phone, late check-out, etc.) being billed. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging#extra_charges + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -3577,7 +3581,7 @@ module ExtraCharges # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging#no_show_indicator + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -3594,7 +3598,7 @@ module NoShowIndicator # The format of the purchase identifier. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails#purchase_identifier_format + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails#purchase_identifier_format module PurchaseIdentifierFormat extend Increase::Internal::Type::Enum @@ -3617,12 +3621,12 @@ module PurchaseIdentifierFormat # @return [Array] end - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails#travel + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails#travel class Travel < Increase::Internal::Type::BaseModel # @!attribute ancillary # Ancillary purchases in addition to the airfare. # - # @return [Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary, nil] + # @return [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary, nil] required :ancillary, -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary }, nil?: true @@ -3636,7 +3640,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator @@ -3664,7 +3668,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute restricted_ticket_indicator # Indicates whether this ticket is non-refundable. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] required :restricted_ticket_indicator, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator @@ -3674,7 +3678,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute ticket_change_indicator # Indicates why a ticket was changed. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] required :ticket_change_indicator, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator @@ -3702,7 +3706,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute trip_legs # Fields specific to each leg of the journey. # - # @return [Array, nil] + # @return [Array, nil] required :trip_legs, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg] @@ -3712,11 +3716,11 @@ class Travel < Increase::Internal::Type::BaseModel # @!method initialize(ancillary:, computerized_reservation_system:, credit_reason_indicator:, departure_date:, origination_city_airport_code:, passenger_name:, restricted_ticket_indicator:, ticket_change_indicator:, ticket_number:, travel_agency_code:, travel_agency_name:, trip_legs:) # Fields specific to travel. # - # @param ancillary [Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. + # @param ancillary [Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. # # @param computerized_reservation_system [String, nil] Indicates the computerized reservation system used to book the ticket. # - # @param credit_reason_indicator [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param departure_date [Date, nil] Date of departure. # @@ -3724,9 +3728,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param passenger_name [String, nil] Name of the passenger. # - # @param restricted_ticket_indicator [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. + # @param restricted_ticket_indicator [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. # - # @param ticket_change_indicator [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. + # @param ticket_change_indicator [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. # # @param ticket_number [String, nil] Ticket number. # @@ -3734,9 +3738,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param travel_agency_name [String, nil] Name of the travel agency if the ticket was issued by a travel agency. # - # @param trip_legs [Array, nil] Fields specific to each leg of the journey. + # @param trip_legs [Array, nil] Fields specific to each leg of the journey. - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel#ancillary + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel#ancillary class Ancillary < Increase::Internal::Type::BaseModel # @!attribute connected_ticket_document_number # If this purchase has a connection or relationship to another purchase, such as a @@ -3749,7 +3753,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator @@ -3765,7 +3769,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute services # Additional travel charges, such as baggage fees. # - # @return [Array] + # @return [Array] required :services, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service] @@ -3779,24 +3783,24 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!method initialize(connected_ticket_document_number:, credit_reason_indicator:, passenger_name_or_description:, services:, ticket_document_number:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary} + # {Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary} # for more details. # # Ancillary purchases in addition to the airfare. # # @param connected_ticket_document_number [String, nil] If this purchase has a connection or relationship to another purchase, such as a # - # @param credit_reason_indicator [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param passenger_name_or_description [String, nil] Name of the passenger or description of the ancillary purchase. # - # @param services [Array] Additional travel charges, such as baggage fees. + # @param services [Array] Additional travel charges, such as baggage fees. # # @param ticket_document_number [String, nil] Ticket document number. # Indicates the reason for a credit to the cardholder. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary#credit_reason_indicator + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -3822,7 +3826,7 @@ class Service < Increase::Internal::Type::BaseModel # @!attribute category # Category of the ancillary service. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] required :category, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category @@ -3836,13 +3840,13 @@ class Service < Increase::Internal::Type::BaseModel required :sub_category, String, nil?: true # @!method initialize(category:, sub_category:) - # @param category [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. + # @param category [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. # # @param sub_category [String, nil] Sub-category of the ancillary service, free-form. # Category of the ancillary service. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service#category + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service#category module Category extend Increase::Internal::Type::Enum @@ -3926,7 +3930,7 @@ module Category # Indicates the reason for a credit to the cardholder. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel#credit_reason_indicator + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -3956,7 +3960,7 @@ module CreditReasonIndicator # Indicates whether this ticket is non-refundable. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel#restricted_ticket_indicator + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel#restricted_ticket_indicator module RestrictedTicketIndicator extend Increase::Internal::Type::Enum @@ -3972,7 +3976,7 @@ module RestrictedTicketIndicator # Indicates why a ticket was changed. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel#ticket_change_indicator + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel#ticket_change_indicator module TicketChangeIndicator extend Increase::Internal::Type::Enum @@ -4023,7 +4027,7 @@ class TripLeg < Increase::Internal::Type::BaseModel # @!attribute stop_over_code # Indicates whether a stopover is allowed on this ticket. # - # @return [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] required :stop_over_code, enum: -> { Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode @@ -4041,11 +4045,11 @@ class TripLeg < Increase::Internal::Type::BaseModel # # @param service_class [String, nil] Service class (e.g., first class, business class, etc.). # - # @param stop_over_code [Symbol, Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. + # @param stop_over_code [Symbol, Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. # Indicates whether a stopover is allowed on this ticket. # - # @see Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg#stop_over_code + # @see Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg#stop_over_code module StopOverCode extend Increase::Internal::Type::Enum @@ -4068,7 +4072,7 @@ module StopOverCode # A constant representing the object's type. For this resource it will always be # `card_refund`. # - # @see Increase::CardPayment::Element::CardRefund#type + # @see Increase::Models::CardPayment::Element::CardRefund#type module Type extend Increase::Internal::Type::Enum @@ -4079,7 +4083,7 @@ module Type end end - # @see Increase::CardPayment::Element#card_reversal + # @see Increase::Models::CardPayment::Element#card_reversal class CardReversal < Increase::Internal::Type::BaseModel # @!attribute id # The Card Reversal identifier. @@ -4097,7 +4101,7 @@ class CardReversal < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's # currency. # - # @return [Symbol, Increase::CardPayment::Element::CardReversal::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardReversal::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardReversal::Currency } # @!attribute merchant_acceptor_id @@ -4148,13 +4152,13 @@ class CardReversal < Increase::Internal::Type::BaseModel # @!attribute network # The card network used to process this card authorization. # - # @return [Symbol, Increase::CardPayment::Element::CardReversal::Network] + # @return [Symbol, Increase::Models::CardPayment::Element::CardReversal::Network] required :network, enum: -> { Increase::CardPayment::Element::CardReversal::Network } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::CardPayment::Element::CardReversal::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardReversal::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardReversal::NetworkIdentifiers @@ -4176,7 +4180,7 @@ class CardReversal < Increase::Internal::Type::BaseModel # @!attribute reversal_reason # Why this reversal was initiated. # - # @return [Symbol, Increase::CardPayment::Element::CardReversal::ReversalReason, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardReversal::ReversalReason, nil] required :reversal_reason, enum: -> { Increase::CardPayment::Element::CardReversal::ReversalReason }, nil?: true @@ -4192,7 +4196,7 @@ class CardReversal < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_reversal`. # - # @return [Symbol, Increase::CardPayment::Element::CardReversal::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardReversal::Type] required :type, enum: -> { Increase::CardPayment::Element::CardReversal::Type } # @!attribute updated_authorization_amount @@ -4204,7 +4208,7 @@ class CardReversal < Increase::Internal::Type::BaseModel # @!method initialize(id:, card_authorization_id:, currency:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network:, network_identifiers:, pending_transaction_id:, reversal_amount:, reversal_reason:, terminal_id:, type:, updated_authorization_amount:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardReversal} for more details. + # {Increase::Models::CardPayment::Element::CardReversal} for more details. # # A Card Reversal object. This field will be present in the JSON response if and # only if `category` is equal to `card_reversal`. Card Reversals cancel parts of @@ -4214,7 +4218,7 @@ class CardReversal < Increase::Internal::Type::BaseModel # # @param card_authorization_id [String] The identifier for the Card Authorization this reverses. # - # @param currency [Symbol, Increase::CardPayment::Element::CardReversal::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's c + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardReversal::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's c # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -4230,26 +4234,26 @@ class CardReversal < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network [Symbol, Increase::CardPayment::Element::CardReversal::Network] The card network used to process this card authorization. + # @param network [Symbol, Increase::Models::CardPayment::Element::CardReversal::Network] The card network used to process this card authorization. # - # @param network_identifiers [Increase::CardPayment::Element::CardReversal::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardReversal::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Card Reversal. # # @param reversal_amount [Integer] The amount of this reversal in the minor unit of the transaction's currency. For # - # @param reversal_reason [Symbol, Increase::CardPayment::Element::CardReversal::ReversalReason, nil] Why this reversal was initiated. + # @param reversal_reason [Symbol, Increase::Models::CardPayment::Element::CardReversal::ReversalReason, nil] Why this reversal was initiated. # # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i # - # @param type [Symbol, Increase::CardPayment::Element::CardReversal::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardReversal::Type] A constant representing the object's type. For this resource it will always be ` # # @param updated_authorization_amount [Integer] The amount left pending on the Card Authorization in the minor unit of the trans # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the reversal's # currency. # - # @see Increase::CardPayment::Element::CardReversal#currency + # @see Increase::Models::CardPayment::Element::CardReversal#currency module Currency extend Increase::Internal::Type::Enum @@ -4277,7 +4281,7 @@ module Currency # The card network used to process this card authorization. # - # @see Increase::CardPayment::Element::CardReversal#network + # @see Increase::Models::CardPayment::Element::CardReversal#network module Network extend Increase::Internal::Type::Enum @@ -4288,7 +4292,7 @@ module Network # @return [Array] end - # @see Increase::CardPayment::Element::CardReversal#network_identifiers + # @see Increase::Models::CardPayment::Element::CardReversal#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -4314,8 +4318,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardReversal::NetworkIdentifiers} for more - # details. + # {Increase::Models::CardPayment::Element::CardReversal::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for a specific request or transaction. # @@ -4328,7 +4332,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # Why this reversal was initiated. # - # @see Increase::CardPayment::Element::CardReversal#reversal_reason + # @see Increase::Models::CardPayment::Element::CardReversal#reversal_reason module ReversalReason extend Increase::Internal::Type::Enum @@ -4351,7 +4355,7 @@ module ReversalReason # A constant representing the object's type. For this resource it will always be # `card_reversal`. # - # @see Increase::CardPayment::Element::CardReversal#type + # @see Increase::Models::CardPayment::Element::CardReversal#type module Type extend Increase::Internal::Type::Enum @@ -4362,7 +4366,7 @@ module Type end end - # @see Increase::CardPayment::Element#card_settlement + # @see Increase::Models::CardPayment::Element#card_settlement class CardSettlement < Increase::Internal::Type::BaseModel # @!attribute id # The Card Settlement identifier. @@ -4394,20 +4398,20 @@ class CardSettlement < Increase::Internal::Type::BaseModel # Cashback earned on this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # - # @return [Increase::CardPayment::Element::CardSettlement::Cashback, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement::Cashback, nil] required :cashback, -> { Increase::CardPayment::Element::CardSettlement::Cashback }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardSettlement::Currency } # @!attribute interchange # Interchange assessed as a part of this transaction. # - # @return [Increase::CardPayment::Element::CardSettlement::Interchange, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement::Interchange, nil] required :interchange, -> { Increase::CardPayment::Element::CardSettlement::Interchange @@ -4460,7 +4464,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # @!attribute network_identifiers # Network-specific identifiers for this refund. # - # @return [Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardSettlement::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers @@ -4489,7 +4493,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @return [Increase::CardPayment::Element::CardSettlement::PurchaseDetails, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails, nil] required :purchase_details, -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails }, nil?: true @@ -4504,12 +4508,12 @@ class CardSettlement < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_settlement`. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type] required :type, enum: -> { Increase::CardPayment::Element::CardSettlement::Type } # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement} for more details. + # {Increase::Models::CardPayment::Element::CardSettlement} for more details. # # A Card Settlement object. This field will be present in the JSON response if and # only if `category` is equal to `card_settlement`. Card Settlements are card @@ -4525,11 +4529,11 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param cashback [Increase::CardPayment::Element::CardSettlement::Cashback, nil] Cashback earned on this transaction, if eligible. Cashback is paid out in aggreg + # @param cashback [Increase::Models::CardPayment::Element::CardSettlement::Cashback, nil] Cashback earned on this transaction, if eligible. Cashback is paid out in aggreg # - # @param currency [Symbol, Increase::CardPayment::Element::CardSettlement::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param interchange [Increase::CardPayment::Element::CardSettlement::Interchange, nil] Interchange assessed as a part of this transaction. + # @param interchange [Increase::Models::CardPayment::Element::CardSettlement::Interchange, nil] Interchange assessed as a part of this transaction. # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -4545,7 +4549,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_identifiers [Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund. # # @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Transaction. # @@ -4553,13 +4557,13 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param purchase_details [Increase::CardPayment::Element::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi + # @param purchase_details [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi # # @param transaction_id [String] The identifier of the Transaction associated with this Transaction. # - # @param type [Symbol, Increase::CardPayment::Element::CardSettlement::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::CardPayment::Element::CardSettlement#cashback + # @see Increase::Models::CardPayment::Element::CardSettlement#cashback class Cashback < Increase::Internal::Type::BaseModel # @!attribute amount # The cashback amount given as a string containing a decimal number. The amount is @@ -4572,7 +4576,7 @@ class Cashback < Increase::Internal::Type::BaseModel # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::Cashback::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Cashback::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardSettlement::Cashback::Currency @@ -4580,18 +4584,19 @@ class Cashback < Increase::Internal::Type::BaseModel # @!method initialize(amount:, currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement::Cashback} for more details. + # {Increase::Models::CardPayment::Element::CardSettlement::Cashback} for more + # details. # # Cashback earned on this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # # @param amount [String] The cashback amount given as a string containing a decimal number. The amount is # - # @param currency [Symbol, Increase::CardPayment::Element::CardSettlement::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @see Increase::CardPayment::Element::CardSettlement::Cashback#currency + # @see Increase::Models::CardPayment::Element::CardSettlement::Cashback#currency module Currency extend Increase::Internal::Type::Enum @@ -4621,7 +4626,7 @@ module Currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @see Increase::CardPayment::Element::CardSettlement#currency + # @see Increase::Models::CardPayment::Element::CardSettlement#currency module Currency extend Increase::Internal::Type::Enum @@ -4647,7 +4652,7 @@ module Currency # @return [Array] end - # @see Increase::CardPayment::Element::CardSettlement#interchange + # @see Increase::Models::CardPayment::Element::CardSettlement#interchange class Interchange < Increase::Internal::Type::BaseModel # @!attribute amount # The interchange amount given as a string containing a decimal number in major @@ -4668,7 +4673,7 @@ class Interchange < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::Interchange::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Interchange::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardSettlement::Interchange::Currency @@ -4676,7 +4681,8 @@ class Interchange < Increase::Internal::Type::BaseModel # @!method initialize(amount:, code:, currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement::Interchange} for more details. + # {Increase::Models::CardPayment::Element::CardSettlement::Interchange} for more + # details. # # Interchange assessed as a part of this transaction. # @@ -4684,12 +4690,12 @@ class Interchange < Increase::Internal::Type::BaseModel # # @param code [String, nil] The card network specific interchange code. # - # @param currency [Symbol, Increase::CardPayment::Element::CardSettlement::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardSettlement::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @see Increase::CardPayment::Element::CardSettlement::Interchange#currency + # @see Increase::Models::CardPayment::Element::CardSettlement::Interchange#currency module Currency extend Increase::Internal::Type::Enum @@ -4716,7 +4722,7 @@ module Currency end end - # @see Increase::CardPayment::Element::CardSettlement#network_identifiers + # @see Increase::Models::CardPayment::Element::CardSettlement#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute acquirer_business_id # A network assigned business ID that identifies the acquirer that processed this @@ -4740,8 +4746,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(acquirer_business_id:, acquirer_reference_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers} for more - # details. + # {Increase::Models::CardPayment::Element::CardSettlement::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for this refund. # @@ -4752,12 +4758,12 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro end - # @see Increase::CardPayment::Element::CardSettlement#purchase_details + # @see Increase::Models::CardPayment::Element::CardSettlement#purchase_details class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute car_rental # Fields specific to car rentals. # - # @return [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental, nil] required :car_rental, -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental }, nil?: true @@ -4784,7 +4790,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute lodging # Fields specific to lodging. # - # @return [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging, nil] required :lodging, -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging }, nil?: true @@ -4811,7 +4817,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute purchase_identifier_format # The format of the purchase identifier. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] required :purchase_identifier_format, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat @@ -4821,20 +4827,20 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute travel # Fields specific to travel. # - # @return [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel, nil] required :travel, -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel }, nil?: true # @!method initialize(car_rental:, customer_reference_identifier:, local_tax_amount:, local_tax_currency:, lodging:, national_tax_amount:, national_tax_currency:, purchase_identifier:, purchase_identifier_format:, travel:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement::PurchaseDetails} for more - # details. + # {Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails} for + # more details. # # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @param car_rental [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental, nil] Fields specific to car rentals. + # @param car_rental [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental, nil] Fields specific to car rentals. # # @param customer_reference_identifier [String, nil] An identifier from the merchant for the customer or consumer. # @@ -4842,7 +4848,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param local_tax_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax as # - # @param lodging [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging, nil] Fields specific to lodging. + # @param lodging [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging, nil] Fields specific to lodging. # # @param national_tax_amount [Integer, nil] The national tax amount in minor units. # @@ -4850,11 +4856,11 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param purchase_identifier [String, nil] An identifier from the merchant for the purchase to the issuer and cardholder. # - # @param purchase_identifier_format [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. + # @param purchase_identifier_format [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. # - # @param travel [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel, nil] Fields specific to travel. + # @param travel [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel, nil] Fields specific to travel. - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails#car_rental + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails#car_rental class CarRental < Increase::Internal::Type::BaseModel # @!attribute car_class_code # Code indicating the vehicle's class. @@ -4891,7 +4897,7 @@ class CarRental < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (gas, late fee, etc.) being billed. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::ExtraCharges @@ -4928,7 +4934,7 @@ class CarRental < Increase::Internal::Type::BaseModel # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator @@ -4970,8 +4976,8 @@ class CarRental < Increase::Internal::Type::BaseModel # @!method initialize(car_class_code:, checkout_date:, daily_rental_rate_amount:, daily_rental_rate_currency:, days_rented:, extra_charges:, fuel_charges_amount:, fuel_charges_currency:, insurance_charges_amount:, insurance_charges_currency:, no_show_indicator:, one_way_drop_off_charges_amount:, one_way_drop_off_charges_currency:, renter_name:, weekly_rental_rate_amount:, weekly_rental_rate_currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental} for - # more details. + # {Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental} + # for more details. # # Fields specific to car rentals. # @@ -4985,7 +4991,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param days_rented [Integer, nil] Number of days the vehicle was rented. # - # @param extra_charges [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. # # @param fuel_charges_amount [Integer, nil] Fuel charges for the vehicle. # @@ -4995,7 +5001,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param insurance_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance ch # - # @param no_show_indicator [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was + # @param no_show_indicator [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was # # @param one_way_drop_off_charges_amount [Integer, nil] Charges for returning the vehicle at a different location than where it was pick # @@ -5009,7 +5015,7 @@ class CarRental < Increase::Internal::Type::BaseModel # Additional charges (gas, late fee, etc.) being billed. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental#extra_charges + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -5038,7 +5044,7 @@ module ExtraCharges # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental#no_show_indicator + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -5053,7 +5059,7 @@ module NoShowIndicator end end - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails#lodging + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails#lodging class Lodging < Increase::Internal::Type::BaseModel # @!attribute check_in_date # Date the customer checked in. @@ -5077,7 +5083,7 @@ class Lodging < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (phone, late check-out, etc.) being billed. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::ExtraCharges @@ -5114,7 +5120,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator @@ -5168,8 +5174,8 @@ class Lodging < Increase::Internal::Type::BaseModel # @!method initialize(check_in_date:, daily_room_rate_amount:, daily_room_rate_currency:, extra_charges:, folio_cash_advances_amount:, folio_cash_advances_currency:, food_beverage_charges_amount:, food_beverage_charges_currency:, no_show_indicator:, prepaid_expenses_amount:, prepaid_expenses_currency:, room_nights:, total_room_tax_amount:, total_room_tax_currency:, total_tax_amount:, total_tax_currency:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging} for - # more details. + # {Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging} + # for more details. # # Fields specific to lodging. # @@ -5179,7 +5185,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param daily_room_rate_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room r # - # @param extra_charges [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. # # @param folio_cash_advances_amount [Integer, nil] Folio cash advances for the room. # @@ -5189,7 +5195,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param food_beverage_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and bev # - # @param no_show_indicator [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a + # @param no_show_indicator [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a # # @param prepaid_expenses_amount [Integer, nil] Prepaid expenses being charged for the room. # @@ -5207,7 +5213,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Additional charges (phone, late check-out, etc.) being billed. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging#extra_charges + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -5239,7 +5245,7 @@ module ExtraCharges # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging#no_show_indicator + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -5256,7 +5262,7 @@ module NoShowIndicator # The format of the purchase identifier. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails#purchase_identifier_format + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails#purchase_identifier_format module PurchaseIdentifierFormat extend Increase::Internal::Type::Enum @@ -5279,12 +5285,12 @@ module PurchaseIdentifierFormat # @return [Array] end - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails#travel + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails#travel class Travel < Increase::Internal::Type::BaseModel # @!attribute ancillary # Ancillary purchases in addition to the airfare. # - # @return [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] + # @return [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] required :ancillary, -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary @@ -5300,7 +5306,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator @@ -5328,7 +5334,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute restricted_ticket_indicator # Indicates whether this ticket is non-refundable. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] required :restricted_ticket_indicator, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator @@ -5338,7 +5344,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute ticket_change_indicator # Indicates why a ticket was changed. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] required :ticket_change_indicator, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator @@ -5366,7 +5372,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute trip_legs # Fields specific to each leg of the journey. # - # @return [Array, nil] + # @return [Array, nil] required :trip_legs, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg] @@ -5376,11 +5382,11 @@ class Travel < Increase::Internal::Type::BaseModel # @!method initialize(ancillary:, computerized_reservation_system:, credit_reason_indicator:, departure_date:, origination_city_airport_code:, passenger_name:, restricted_ticket_indicator:, ticket_change_indicator:, ticket_number:, travel_agency_code:, travel_agency_name:, trip_legs:) # Fields specific to travel. # - # @param ancillary [Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. + # @param ancillary [Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. # # @param computerized_reservation_system [String, nil] Indicates the computerized reservation system used to book the ticket. # - # @param credit_reason_indicator [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param departure_date [Date, nil] Date of departure. # @@ -5388,9 +5394,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param passenger_name [String, nil] Name of the passenger. # - # @param restricted_ticket_indicator [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. + # @param restricted_ticket_indicator [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. # - # @param ticket_change_indicator [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. + # @param ticket_change_indicator [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. # # @param ticket_number [String, nil] Ticket number. # @@ -5398,9 +5404,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param travel_agency_name [String, nil] Name of the travel agency if the ticket was issued by a travel agency. # - # @param trip_legs [Array, nil] Fields specific to each leg of the journey. + # @param trip_legs [Array, nil] Fields specific to each leg of the journey. - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#ancillary + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#ancillary class Ancillary < Increase::Internal::Type::BaseModel # @!attribute connected_ticket_document_number # If this purchase has a connection or relationship to another purchase, such as a @@ -5413,7 +5419,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator @@ -5429,7 +5435,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute services # Additional travel charges, such as baggage fees. # - # @return [Array] + # @return [Array] required :services, -> { Increase::Internal::Type::ArrayOf[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service] @@ -5443,24 +5449,24 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!method initialize(connected_ticket_document_number:, credit_reason_indicator:, passenger_name_or_description:, services:, ticket_document_number:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary} + # {Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary} # for more details. # # Ancillary purchases in addition to the airfare. # # @param connected_ticket_document_number [String, nil] If this purchase has a connection or relationship to another purchase, such as a # - # @param credit_reason_indicator [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param passenger_name_or_description [String, nil] Name of the passenger or description of the ancillary purchase. # - # @param services [Array] Additional travel charges, such as baggage fees. + # @param services [Array] Additional travel charges, such as baggage fees. # # @param ticket_document_number [String, nil] Ticket document number. # Indicates the reason for a credit to the cardholder. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary#credit_reason_indicator + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -5486,7 +5492,7 @@ class Service < Increase::Internal::Type::BaseModel # @!attribute category # Category of the ancillary service. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] required :category, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category @@ -5500,13 +5506,13 @@ class Service < Increase::Internal::Type::BaseModel required :sub_category, String, nil?: true # @!method initialize(category:, sub_category:) - # @param category [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. + # @param category [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. # # @param sub_category [String, nil] Sub-category of the ancillary service, free-form. # Category of the ancillary service. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service#category + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service#category module Category extend Increase::Internal::Type::Enum @@ -5590,7 +5596,7 @@ module Category # Indicates the reason for a credit to the cardholder. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#credit_reason_indicator + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -5620,7 +5626,7 @@ module CreditReasonIndicator # Indicates whether this ticket is non-refundable. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#restricted_ticket_indicator + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#restricted_ticket_indicator module RestrictedTicketIndicator extend Increase::Internal::Type::Enum @@ -5636,7 +5642,7 @@ module RestrictedTicketIndicator # Indicates why a ticket was changed. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#ticket_change_indicator + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel#ticket_change_indicator module TicketChangeIndicator extend Increase::Internal::Type::Enum @@ -5687,7 +5693,7 @@ class TripLeg < Increase::Internal::Type::BaseModel # @!attribute stop_over_code # Indicates whether a stopover is allowed on this ticket. # - # @return [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] required :stop_over_code, enum: -> { Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode @@ -5705,11 +5711,11 @@ class TripLeg < Increase::Internal::Type::BaseModel # # @param service_class [String, nil] Service class (e.g., first class, business class, etc.). # - # @param stop_over_code [Symbol, Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. + # @param stop_over_code [Symbol, Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. # Indicates whether a stopover is allowed on this ticket. # - # @see Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg#stop_over_code + # @see Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg#stop_over_code module StopOverCode extend Increase::Internal::Type::Enum @@ -5732,7 +5738,7 @@ module StopOverCode # A constant representing the object's type. For this resource it will always be # `card_settlement`. # - # @see Increase::CardPayment::Element::CardSettlement#type + # @see Increase::Models::CardPayment::Element::CardSettlement#type module Type extend Increase::Internal::Type::Enum @@ -5743,7 +5749,7 @@ module Type end end - # @see Increase::CardPayment::Element#card_validation + # @see Increase::Models::CardPayment::Element#card_validation class CardValidation < Increase::Internal::Type::BaseModel # @!attribute id # The Card Validation identifier. @@ -5755,7 +5761,7 @@ class CardValidation < Increase::Internal::Type::BaseModel # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::Actioner] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::Actioner] required :actioner, enum: -> { Increase::CardPayment::Element::CardValidation::Actioner } # @!attribute card_payment_id @@ -5768,7 +5774,7 @@ class CardValidation < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::Currency] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::Currency] required :currency, enum: -> { Increase::CardPayment::Element::CardValidation::Currency } # @!attribute digital_wallet_token_id @@ -5826,13 +5832,13 @@ class CardValidation < Increase::Internal::Type::BaseModel # @!attribute network_details # Fields specific to the `network`. # - # @return [Increase::CardPayment::Element::CardValidation::NetworkDetails] + # @return [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails] required :network_details, -> { Increase::CardPayment::Element::CardValidation::NetworkDetails } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::CardPayment::Element::CardValidation::NetworkIdentifiers] + # @return [Increase::Models::CardPayment::Element::CardValidation::NetworkIdentifiers] required :network_identifiers, -> { Increase::CardPayment::Element::CardValidation::NetworkIdentifiers @@ -5870,18 +5876,18 @@ class CardValidation < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_validation`. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::Type] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::Type] required :type, enum: -> { Increase::CardPayment::Element::CardValidation::Type } # @!attribute verification # Fields related to verification of cardholder-provided values. # - # @return [Increase::CardPayment::Element::CardValidation::Verification] + # @return [Increase::Models::CardPayment::Element::CardValidation::Verification] required :verification, -> { Increase::CardPayment::Element::CardValidation::Verification } # @!method initialize(id:, actioner:, card_payment_id:, currency:, digital_wallet_token_id:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, real_time_decision_id:, terminal_id:, type:, verification:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardValidation} for more details. + # {Increase::Models::CardPayment::Element::CardValidation} for more details. # # A Card Validation object. This field will be present in the JSON response if and # only if `category` is equal to `card_validation`. Card Validations are requests @@ -5890,11 +5896,11 @@ class CardValidation < Increase::Internal::Type::BaseModel # # @param id [String] The Card Validation identifier. # - # @param actioner [Symbol, Increase::CardPayment::Element::CardValidation::Actioner] Whether this authorization was approved by Increase, the card network through st + # @param actioner [Symbol, Increase::Models::CardPayment::Element::CardValidation::Actioner] Whether this authorization was approved by Increase, the card network through st # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param currency [Symbol, Increase::CardPayment::Element::CardValidation::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::CardPayment::Element::CardValidation::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p # @@ -5912,9 +5918,9 @@ class CardValidation < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_details [Increase::CardPayment::Element::CardValidation::NetworkDetails] Fields specific to the `network`. + # @param network_details [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails] Fields specific to the `network`. # - # @param network_identifiers [Increase::CardPayment::Element::CardValidation::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::CardPayment::Element::CardValidation::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -5924,14 +5930,14 @@ class CardValidation < Increase::Internal::Type::BaseModel # # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i # - # @param type [Symbol, Increase::CardPayment::Element::CardValidation::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPayment::Element::CardValidation::Type] A constant representing the object's type. For this resource it will always be ` # - # @param verification [Increase::CardPayment::Element::CardValidation::Verification] Fields related to verification of cardholder-provided values. + # @param verification [Increase::Models::CardPayment::Element::CardValidation::Verification] Fields related to verification of cardholder-provided values. # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @see Increase::CardPayment::Element::CardValidation#actioner + # @see Increase::Models::CardPayment::Element::CardValidation#actioner module Actioner extend Increase::Internal::Type::Enum @@ -5951,7 +5957,7 @@ module Actioner # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::CardPayment::Element::CardValidation#currency + # @see Increase::Models::CardPayment::Element::CardValidation#currency module Currency extend Increase::Internal::Type::Enum @@ -5977,12 +5983,12 @@ module Currency # @return [Array] end - # @see Increase::CardPayment::Element::CardValidation#network_details + # @see Increase::Models::CardPayment::Element::CardValidation#network_details class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute category # The payment network used to process this card authorization. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Category] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Category] required :category, enum: -> { Increase::CardPayment::Element::CardValidation::NetworkDetails::Category @@ -5991,7 +5997,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute visa # Fields specific to the `visa` network. # - # @return [Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] + # @return [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] required :visa, -> { Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa @@ -6001,13 +6007,13 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!method initialize(category:, visa:) # Fields specific to the `network`. # - # @param category [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Category] The payment network used to process this card authorization. + # @param category [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param visa [Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] Fields specific to the `visa` network. + # @param visa [Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa, nil] Fields specific to the `visa` network. # The payment network used to process this card authorization. # - # @see Increase::CardPayment::Element::CardValidation::NetworkDetails#category + # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#category module Category extend Increase::Internal::Type::Enum @@ -6018,14 +6024,14 @@ module Category # @return [Array] end - # @see Increase::CardPayment::Element::CardValidation::NetworkDetails#visa + # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] required :electronic_commerce_indicator, enum: -> { Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::ElectronicCommerceIndicator @@ -6036,7 +6042,7 @@ class Visa < Increase::Internal::Type::BaseModel # The method used to enter the cardholder's primary account number and card # expiration date. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::PointOfServiceEntryMode, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::PointOfServiceEntryMode, nil] required :point_of_service_entry_mode, enum: -> { Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::PointOfServiceEntryMode @@ -6047,7 +6053,7 @@ class Visa < Increase::Internal::Type::BaseModel # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::StandInProcessingReason, nil] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::StandInProcessingReason, nil] required :stand_in_processing_reason, enum: -> { Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::StandInProcessingReason @@ -6056,22 +6062,22 @@ class Visa < Increase::Internal::Type::BaseModel # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa} for more - # details. + # {Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa} + # for more details. # # Fields specific to the `visa` network. # - # @param electronic_commerce_indicator [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used + # @param electronic_commerce_indicator [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used # - # @param point_of_service_entry_mode [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira + # @param point_of_service_entry_mode [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira # - # @param stand_in_processing_reason [Symbol, Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap + # @param stand_in_processing_reason [Symbol, Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @see Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa#electronic_commerce_indicator + # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa#electronic_commerce_indicator module ElectronicCommerceIndicator extend Increase::Internal::Type::Enum @@ -6107,7 +6113,7 @@ module ElectronicCommerceIndicator # The method used to enter the cardholder's primary account number and card # expiration date. # - # @see Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa#point_of_service_entry_mode + # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa#point_of_service_entry_mode module PointOfServiceEntryMode extend Increase::Internal::Type::Enum @@ -6148,7 +6154,7 @@ module PointOfServiceEntryMode # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @see Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa#stand_in_processing_reason + # @see Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa#stand_in_processing_reason module StandInProcessingReason extend Increase::Internal::Type::Enum @@ -6181,7 +6187,7 @@ module StandInProcessingReason end end - # @see Increase::CardPayment::Element::CardValidation#network_identifiers + # @see Increase::Models::CardPayment::Element::CardValidation#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -6207,8 +6213,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardValidation::NetworkIdentifiers} for more - # details. + # {Increase::Models::CardPayment::Element::CardValidation::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for a specific request or transaction. # @@ -6222,7 +6228,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_validation`. # - # @see Increase::CardPayment::Element::CardValidation#type + # @see Increase::Models::CardPayment::Element::CardValidation#type module Type extend Increase::Internal::Type::Enum @@ -6232,13 +6238,13 @@ module Type # @return [Array] end - # @see Increase::CardPayment::Element::CardValidation#verification + # @see Increase::Models::CardPayment::Element::CardValidation#verification class Verification < Increase::Internal::Type::BaseModel # @!attribute card_verification_code # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @return [Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode] + # @return [Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode] required :card_verification_code, -> { Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode } @@ -6246,26 +6252,27 @@ class Verification < Increase::Internal::Type::BaseModel # Cardholder address provided in the authorization request and the address on file # we verified it against. # - # @return [Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress] + # @return [Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress] required :cardholder_address, -> { Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress } # @!method initialize(card_verification_code:, cardholder_address:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardValidation::Verification} for more details. + # {Increase::Models::CardPayment::Element::CardValidation::Verification} for more + # details. # # Fields related to verification of cardholder-provided values. # - # @param card_verification_code [Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on + # @param card_verification_code [Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on # - # @param cardholder_address [Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file + # @param cardholder_address [Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file - # @see Increase::CardPayment::Element::CardValidation::Verification#card_verification_code + # @see Increase::Models::CardPayment::Element::CardValidation::Verification#card_verification_code class CardVerificationCode < Increase::Internal::Type::BaseModel # @!attribute result # The result of verifying the Card Verification Code. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result] required :result, enum: -> { Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result @@ -6275,11 +6282,11 @@ class CardVerificationCode < Increase::Internal::Type::BaseModel # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @param result [Symbol, Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. + # @param result [Symbol, Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. # The result of verifying the Card Verification Code. # - # @see Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode#result + # @see Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode#result module Result extend Increase::Internal::Type::Enum @@ -6297,7 +6304,7 @@ module Result end end - # @see Increase::CardPayment::Element::CardValidation::Verification#cardholder_address + # @see Increase::Models::CardPayment::Element::CardValidation::Verification#cardholder_address class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute actual_line1 # Line 1 of the address on file for the cardholder. @@ -6327,7 +6334,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute result # The address verification result returned to the card network. # - # @return [Symbol, Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result] + # @return [Symbol, Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result] required :result, enum: -> { Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result @@ -6335,7 +6342,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress} + # {Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress} # for more details. # # Cardholder address provided in the authorization request and the address on file @@ -6349,11 +6356,11 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request. # - # @param result [Symbol, Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result] The address verification result returned to the card network. + # @param result [Symbol, Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::Result] The address verification result returned to the card network. # The address verification result returned to the card network. # - # @see Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress#result + # @see Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress#result module Result extend Increase::Internal::Type::Enum @@ -6385,7 +6392,7 @@ module Result # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @see Increase::CardPayment::Element#category + # @see Increase::Models::CardPayment::Element#category module Category extend Increase::Internal::Type::Enum @@ -6427,7 +6434,7 @@ module Category end end - # @see Increase::CardPayment#state + # @see Increase::Models::CardPayment#state class State < Increase::Internal::Type::BaseModel # @!attribute authorized_amount # The total authorized amount in the minor unit of the transaction's currency. For @@ -6466,7 +6473,7 @@ class State < Increase::Internal::Type::BaseModel # @!method initialize(authorized_amount:, fuel_confirmed_amount:, incremented_amount:, reversed_amount:, settled_amount:) # Some parameter documentations has been truncated, see - # {Increase::CardPayment::State} for more details. + # {Increase::Models::CardPayment::State} for more details. # # The summarized state of this card payment. # @@ -6484,7 +6491,7 @@ class State < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_payment`. # - # @see Increase::CardPayment#type + # @see Increase::Models::CardPayment#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/card_payment_list_params.rb b/lib/increase/models/card_payment_list_params.rb index fed095e69..c0dbd6731 100644 --- a/lib/increase/models/card_payment_list_params.rb +++ b/lib/increase/models/card_payment_list_params.rb @@ -21,7 +21,7 @@ class CardPaymentListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::CardPaymentListParams::CreatedAt, nil] + # @return [Increase::Models::CardPaymentListParams::CreatedAt, nil] optional :created_at, -> { Increase::CardPaymentListParams::CreatedAt } # @!attribute cursor @@ -45,7 +45,7 @@ class CardPaymentListParams < Increase::Internal::Type::BaseModel # # @param card_id [String] Filter Card Payments to ones belonging to the specified Card. # - # @param created_at [Increase::CardPaymentListParams::CreatedAt] + # @param created_at [Increase::Models::CardPaymentListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -84,7 +84,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::CardPaymentListParams::CreatedAt} for more details. + # {Increase::Models::CardPaymentListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/card_purchase_supplement.rb b/lib/increase/models/card_purchase_supplement.rb index 64cb62e7f..19fce0bf1 100644 --- a/lib/increase/models/card_purchase_supplement.rb +++ b/lib/increase/models/card_purchase_supplement.rb @@ -19,13 +19,13 @@ class CardPurchaseSupplement < Increase::Internal::Type::BaseModel # @!attribute invoice # Invoice-level information about the payment. # - # @return [Increase::CardPurchaseSupplement::Invoice, nil] + # @return [Increase::Models::CardPurchaseSupplement::Invoice, nil] required :invoice, -> { Increase::CardPurchaseSupplement::Invoice }, nil?: true # @!attribute line_items # Line item information, such as individual products purchased. # - # @return [Array, nil] + # @return [Array, nil] required :line_items, -> { Increase::Internal::Type::ArrayOf[Increase::CardPurchaseSupplement::LineItem] }, nil?: true @@ -40,12 +40,12 @@ class CardPurchaseSupplement < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_purchase_supplement`. # - # @return [Symbol, Increase::CardPurchaseSupplement::Type] + # @return [Symbol, Increase::Models::CardPurchaseSupplement::Type] required :type, enum: -> { Increase::CardPurchaseSupplement::Type } # @!method initialize(id:, card_payment_id:, invoice:, line_items:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::CardPurchaseSupplement} for more details. + # {Increase::Models::CardPurchaseSupplement} for more details. # # Additional information about a card purchase (e.g., settlement or refund), such # as level 3 line item data. @@ -54,15 +54,15 @@ class CardPurchaseSupplement < Increase::Internal::Type::BaseModel # # @param card_payment_id [String, nil] The ID of the Card Payment this transaction belongs to. # - # @param invoice [Increase::CardPurchaseSupplement::Invoice, nil] Invoice-level information about the payment. + # @param invoice [Increase::Models::CardPurchaseSupplement::Invoice, nil] Invoice-level information about the payment. # - # @param line_items [Array, nil] Line item information, such as individual products purchased. + # @param line_items [Array, nil] Line item information, such as individual products purchased. # # @param transaction_id [String] The ID of the transaction. # - # @param type [Symbol, Increase::CardPurchaseSupplement::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CardPurchaseSupplement::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::CardPurchaseSupplement#invoice + # @see Increase::Models::CardPurchaseSupplement#invoice class Invoice < Increase::Internal::Type::BaseModel # @!attribute discount_amount # Discount given to cardholder. @@ -79,7 +79,7 @@ class Invoice < Increase::Internal::Type::BaseModel # @!attribute discount_treatment_code # Indicates how the merchant applied the discount. # - # @return [Symbol, Increase::CardPurchaseSupplement::Invoice::DiscountTreatmentCode, nil] + # @return [Symbol, Increase::Models::CardPurchaseSupplement::Invoice::DiscountTreatmentCode, nil] required :discount_treatment_code, enum: -> { Increase::CardPurchaseSupplement::Invoice::DiscountTreatmentCode }, nil?: true @@ -155,7 +155,7 @@ class Invoice < Increase::Internal::Type::BaseModel # @!attribute tax_treatments # Indicates how the merchant applied taxes. # - # @return [Symbol, Increase::CardPurchaseSupplement::Invoice::TaxTreatments, nil] + # @return [Symbol, Increase::Models::CardPurchaseSupplement::Invoice::TaxTreatments, nil] required :tax_treatments, enum: -> { Increase::CardPurchaseSupplement::Invoice::TaxTreatments }, nil?: true @@ -168,7 +168,7 @@ class Invoice < Increase::Internal::Type::BaseModel # @!method initialize(discount_amount:, discount_currency:, discount_treatment_code:, duty_tax_amount:, duty_tax_currency:, order_date:, shipping_amount:, shipping_currency:, shipping_destination_country_code:, shipping_destination_postal_code:, shipping_source_postal_code:, shipping_tax_amount:, shipping_tax_currency:, shipping_tax_rate:, tax_treatments:, unique_value_added_tax_invoice_reference:) # Some parameter documentations has been truncated, see - # {Increase::CardPurchaseSupplement::Invoice} for more details. + # {Increase::Models::CardPurchaseSupplement::Invoice} for more details. # # Invoice-level information about the payment. # @@ -176,7 +176,7 @@ class Invoice < Increase::Internal::Type::BaseModel # # @param discount_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the discount. # - # @param discount_treatment_code [Symbol, Increase::CardPurchaseSupplement::Invoice::DiscountTreatmentCode, nil] Indicates how the merchant applied the discount. + # @param discount_treatment_code [Symbol, Increase::Models::CardPurchaseSupplement::Invoice::DiscountTreatmentCode, nil] Indicates how the merchant applied the discount. # # @param duty_tax_amount [Integer, nil] Amount of duty taxes. # @@ -200,13 +200,13 @@ class Invoice < Increase::Internal::Type::BaseModel # # @param shipping_tax_rate [String, nil] Tax rate for freight and shipping. # - # @param tax_treatments [Symbol, Increase::CardPurchaseSupplement::Invoice::TaxTreatments, nil] Indicates how the merchant applied taxes. + # @param tax_treatments [Symbol, Increase::Models::CardPurchaseSupplement::Invoice::TaxTreatments, nil] Indicates how the merchant applied taxes. # # @param unique_value_added_tax_invoice_reference [String, nil] Value added tax invoice reference number. # Indicates how the merchant applied the discount. # - # @see Increase::CardPurchaseSupplement::Invoice#discount_treatment_code + # @see Increase::Models::CardPurchaseSupplement::Invoice#discount_treatment_code module DiscountTreatmentCode extend Increase::Internal::Type::Enum @@ -225,7 +225,7 @@ module DiscountTreatmentCode # Indicates how the merchant applied taxes. # - # @see Increase::CardPurchaseSupplement::Invoice#tax_treatments + # @see Increase::Models::CardPurchaseSupplement::Invoice#tax_treatments module TaxTreatments extend Increase::Internal::Type::Enum @@ -259,7 +259,7 @@ class LineItem < Increase::Internal::Type::BaseModel # @!attribute detail_indicator # Indicates the type of line item. # - # @return [Symbol, Increase::CardPurchaseSupplement::LineItem::DetailIndicator, nil] + # @return [Symbol, Increase::Models::CardPurchaseSupplement::LineItem::DetailIndicator, nil] required :detail_indicator, enum: -> { Increase::CardPurchaseSupplement::LineItem::DetailIndicator }, nil?: true @@ -279,7 +279,7 @@ class LineItem < Increase::Internal::Type::BaseModel # @!attribute discount_treatment_code # Indicates how the merchant applied the discount for this specific line item. # - # @return [Symbol, Increase::CardPurchaseSupplement::LineItem::DiscountTreatmentCode, nil] + # @return [Symbol, Increase::Models::CardPurchaseSupplement::LineItem::DiscountTreatmentCode, nil] required :discount_treatment_code, enum: -> { Increase::CardPurchaseSupplement::LineItem::DiscountTreatmentCode }, nil?: true @@ -360,17 +360,17 @@ class LineItem < Increase::Internal::Type::BaseModel # @!method initialize(id:, detail_indicator:, discount_amount:, discount_currency:, discount_treatment_code:, item_commodity_code:, item_descriptor:, item_quantity:, product_code:, sales_tax_amount:, sales_tax_currency:, sales_tax_rate:, total_amount:, total_amount_currency:, unit_cost:, unit_cost_currency:, unit_of_measure_code:) # Some parameter documentations has been truncated, see - # {Increase::CardPurchaseSupplement::LineItem} for more details. + # {Increase::Models::CardPurchaseSupplement::LineItem} for more details. # # @param id [String] The Card Purchase Supplement Line Item identifier. # - # @param detail_indicator [Symbol, Increase::CardPurchaseSupplement::LineItem::DetailIndicator, nil] Indicates the type of line item. + # @param detail_indicator [Symbol, Increase::Models::CardPurchaseSupplement::LineItem::DetailIndicator, nil] Indicates the type of line item. # # @param discount_amount [Integer, nil] Discount amount for this specific line item. # # @param discount_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the discount. # - # @param discount_treatment_code [Symbol, Increase::CardPurchaseSupplement::LineItem::DiscountTreatmentCode, nil] Indicates how the merchant applied the discount for this specific line item. + # @param discount_treatment_code [Symbol, Increase::Models::CardPurchaseSupplement::LineItem::DiscountTreatmentCode, nil] Indicates how the merchant applied the discount for this specific line item. # # @param item_commodity_code [String, nil] Code used to categorize the purchase item. # @@ -398,7 +398,7 @@ class LineItem < Increase::Internal::Type::BaseModel # Indicates the type of line item. # - # @see Increase::CardPurchaseSupplement::LineItem#detail_indicator + # @see Increase::Models::CardPurchaseSupplement::LineItem#detail_indicator module DetailIndicator extend Increase::Internal::Type::Enum @@ -417,7 +417,7 @@ module DetailIndicator # Indicates how the merchant applied the discount for this specific line item. # - # @see Increase::CardPurchaseSupplement::LineItem#discount_treatment_code + # @see Increase::Models::CardPurchaseSupplement::LineItem#discount_treatment_code module DiscountTreatmentCode extend Increase::Internal::Type::Enum @@ -438,7 +438,7 @@ module DiscountTreatmentCode # A constant representing the object's type. For this resource it will always be # `card_purchase_supplement`. # - # @see Increase::CardPurchaseSupplement#type + # @see Increase::Models::CardPurchaseSupplement#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/card_purchase_supplement_list_params.rb b/lib/increase/models/card_purchase_supplement_list_params.rb index b200786a6..69f9fa658 100644 --- a/lib/increase/models/card_purchase_supplement_list_params.rb +++ b/lib/increase/models/card_purchase_supplement_list_params.rb @@ -16,7 +16,7 @@ class CardPurchaseSupplementListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::CardPurchaseSupplementListParams::CreatedAt, nil] + # @return [Increase::Models::CardPurchaseSupplementListParams::CreatedAt, nil] optional :created_at, -> { Increase::CardPurchaseSupplementListParams::CreatedAt } # @!attribute cursor @@ -38,7 +38,7 @@ class CardPurchaseSupplementListParams < Increase::Internal::Type::BaseModel # # @param card_payment_id [String] Filter Card Purchase Supplements to ones belonging to the specified Card Payment # - # @param created_at [Increase::CardPurchaseSupplementListParams::CreatedAt] + # @param created_at [Increase::Models::CardPurchaseSupplementListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -77,7 +77,8 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::CardPurchaseSupplementListParams::CreatedAt} for more details. + # {Increase::Models::CardPurchaseSupplementListParams::CreatedAt} for more + # details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/card_update_params.rb b/lib/increase/models/card_update_params.rb index 3e23a1a86..ce98cf8db 100644 --- a/lib/increase/models/card_update_params.rb +++ b/lib/increase/models/card_update_params.rb @@ -10,7 +10,7 @@ class CardUpdateParams < Increase::Internal::Type::BaseModel # @!attribute billing_address # The card's updated billing address. # - # @return [Increase::CardUpdateParams::BillingAddress, nil] + # @return [Increase::Models::CardUpdateParams::BillingAddress, nil] optional :billing_address, -> { Increase::CardUpdateParams::BillingAddress } # @!attribute description @@ -24,7 +24,7 @@ class CardUpdateParams < Increase::Internal::Type::BaseModel # creation. At least one field must be present to complete the digital wallet # steps. # - # @return [Increase::CardUpdateParams::DigitalWallet, nil] + # @return [Increase::Models::CardUpdateParams::DigitalWallet, nil] optional :digital_wallet, -> { Increase::CardUpdateParams::DigitalWallet } # @!attribute entity_id @@ -37,22 +37,22 @@ class CardUpdateParams < Increase::Internal::Type::BaseModel # @!attribute status # The status to update the Card with. # - # @return [Symbol, Increase::CardUpdateParams::Status, nil] + # @return [Symbol, Increase::Models::CardUpdateParams::Status, nil] optional :status, enum: -> { Increase::CardUpdateParams::Status } # @!method initialize(billing_address: nil, description: nil, digital_wallet: nil, entity_id: nil, status: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::CardUpdateParams} for more details. # - # @param billing_address [Increase::CardUpdateParams::BillingAddress] The card's updated billing address. + # @param billing_address [Increase::Models::CardUpdateParams::BillingAddress] The card's updated billing address. # # @param description [String] The description you choose to give the card. # - # @param digital_wallet [Increase::CardUpdateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre + # @param digital_wallet [Increase::Models::CardUpdateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre # # @param entity_id [String] The Entity the card belongs to. You only need to supply this in rare situations # - # @param status [Symbol, Increase::CardUpdateParams::Status] The status to update the Card with. + # @param status [Symbol, Increase::Models::CardUpdateParams::Status] The status to update the Card with. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -124,7 +124,7 @@ class DigitalWallet < Increase::Internal::Type::BaseModel # @!method initialize(digital_card_profile_id: nil, email: nil, phone: nil) # Some parameter documentations has been truncated, see - # {Increase::CardUpdateParams::DigitalWallet} for more details. + # {Increase::Models::CardUpdateParams::DigitalWallet} for more details. # # The contact information used in the two-factor steps for digital wallet card # creation. At least one field must be present to complete the digital wallet diff --git a/lib/increase/models/check_deposit.rb b/lib/increase/models/check_deposit.rb index 892226130..bce71af06 100644 --- a/lib/increase/models/check_deposit.rb +++ b/lib/increase/models/check_deposit.rb @@ -39,28 +39,28 @@ class CheckDeposit < Increase::Internal::Type::BaseModel # If your deposit is successfully parsed and accepted by Increase, this will # contain details of the parsed check. # - # @return [Increase::CheckDeposit::DepositAcceptance, nil] + # @return [Increase::Models::CheckDeposit::DepositAcceptance, nil] required :deposit_acceptance, -> { Increase::CheckDeposit::DepositAcceptance }, nil?: true # @!attribute deposit_rejection # If your deposit is rejected by Increase, this will contain details as to why it # was rejected. # - # @return [Increase::CheckDeposit::DepositRejection, nil] + # @return [Increase::Models::CheckDeposit::DepositRejection, nil] required :deposit_rejection, -> { Increase::CheckDeposit::DepositRejection }, nil?: true # @!attribute deposit_return # If your deposit is returned, this will contain details as to why it was # returned. # - # @return [Increase::CheckDeposit::DepositReturn, nil] + # @return [Increase::Models::CheckDeposit::DepositReturn, nil] required :deposit_return, -> { Increase::CheckDeposit::DepositReturn }, nil?: true # @!attribute deposit_submission # After the check is parsed, it is submitted to the Check21 network for # processing. This will contain details of the submission. # - # @return [Increase::CheckDeposit::DepositSubmission, nil] + # @return [Increase::Models::CheckDeposit::DepositSubmission, nil] required :deposit_submission, -> { Increase::CheckDeposit::DepositSubmission }, nil?: true # @!attribute description @@ -87,7 +87,7 @@ class CheckDeposit < Increase::Internal::Type::BaseModel # Increase will sometimes hold the funds for Check Deposits. If funds are held, # this sub-object will contain details of the hold. # - # @return [Increase::CheckDeposit::InboundFundsHold, nil] + # @return [Increase::Models::CheckDeposit::InboundFundsHold, nil] required :inbound_funds_hold, -> { Increase::CheckDeposit::InboundFundsHold }, nil?: true # @!attribute inbound_mail_item_id @@ -107,7 +107,7 @@ class CheckDeposit < Increase::Internal::Type::BaseModel # @!attribute status # The status of the Check Deposit. # - # @return [Symbol, Increase::CheckDeposit::Status] + # @return [Symbol, Increase::Models::CheckDeposit::Status] required :status, enum: -> { Increase::CheckDeposit::Status } # @!attribute transaction_id @@ -120,12 +120,12 @@ class CheckDeposit < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `check_deposit`. # - # @return [Symbol, Increase::CheckDeposit::Type] + # @return [Symbol, Increase::Models::CheckDeposit::Type] required :type, enum: -> { Increase::CheckDeposit::Type } # @!method initialize(id:, account_id:, amount:, back_image_file_id:, created_at:, deposit_acceptance:, deposit_rejection:, deposit_return:, deposit_submission:, description:, front_image_file_id:, idempotency_key:, inbound_funds_hold:, inbound_mail_item_id:, lockbox_id:, status:, transaction_id:, type:) - # Some parameter documentations has been truncated, see {Increase::CheckDeposit} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::CheckDeposit} for more details. # # Check Deposits allow you to deposit images of paper checks into your account. # @@ -139,13 +139,13 @@ class CheckDeposit < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param deposit_acceptance [Increase::CheckDeposit::DepositAcceptance, nil] If your deposit is successfully parsed and accepted by Increase, this will conta + # @param deposit_acceptance [Increase::Models::CheckDeposit::DepositAcceptance, nil] If your deposit is successfully parsed and accepted by Increase, this will conta # - # @param deposit_rejection [Increase::CheckDeposit::DepositRejection, nil] If your deposit is rejected by Increase, this will contain details as to why it + # @param deposit_rejection [Increase::Models::CheckDeposit::DepositRejection, nil] If your deposit is rejected by Increase, this will contain details as to why it # - # @param deposit_return [Increase::CheckDeposit::DepositReturn, nil] If your deposit is returned, this will contain details as to why it was returned + # @param deposit_return [Increase::Models::CheckDeposit::DepositReturn, nil] If your deposit is returned, this will contain details as to why it was returned # - # @param deposit_submission [Increase::CheckDeposit::DepositSubmission, nil] After the check is parsed, it is submitted to the Check21 network for processing + # @param deposit_submission [Increase::Models::CheckDeposit::DepositSubmission, nil] After the check is parsed, it is submitted to the Check21 network for processing # # @param description [String, nil] The description of the Check Deposit, for display purposes only. # @@ -153,19 +153,19 @@ class CheckDeposit < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param inbound_funds_hold [Increase::CheckDeposit::InboundFundsHold, nil] Increase will sometimes hold the funds for Check Deposits. If funds are held, th + # @param inbound_funds_hold [Increase::Models::CheckDeposit::InboundFundsHold, nil] Increase will sometimes hold the funds for Check Deposits. If funds are held, th # # @param inbound_mail_item_id [String, nil] If the Check Deposit was the result of an Inbound Mail Item, this will contain t # # @param lockbox_id [String, nil] If the Check Deposit was the result of an Inbound Mail Item, this will contain t # - # @param status [Symbol, Increase::CheckDeposit::Status] The status of the Check Deposit. + # @param status [Symbol, Increase::Models::CheckDeposit::Status] The status of the Check Deposit. # # @param transaction_id [String, nil] The ID for the Transaction created by the deposit. # - # @param type [Symbol, Increase::CheckDeposit::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CheckDeposit::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::CheckDeposit#deposit_acceptance + # @see Increase::Models::CheckDeposit#deposit_acceptance class DepositAcceptance < Increase::Internal::Type::BaseModel # @!attribute account_number # The account number printed on the check. @@ -197,7 +197,7 @@ class DepositAcceptance < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::CheckDeposit::DepositAcceptance::Currency] + # @return [Symbol, Increase::Models::CheckDeposit::DepositAcceptance::Currency] required :currency, enum: -> { Increase::CheckDeposit::DepositAcceptance::Currency } # @!attribute routing_number @@ -215,7 +215,7 @@ class DepositAcceptance < Increase::Internal::Type::BaseModel # @!method initialize(account_number:, amount:, auxiliary_on_us:, check_deposit_id:, currency:, routing_number:, serial_number:) # Some parameter documentations has been truncated, see - # {Increase::CheckDeposit::DepositAcceptance} for more details. + # {Increase::Models::CheckDeposit::DepositAcceptance} for more details. # # If your deposit is successfully parsed and accepted by Increase, this will # contain details of the parsed check. @@ -228,7 +228,7 @@ class DepositAcceptance < Increase::Internal::Type::BaseModel # # @param check_deposit_id [String] The ID of the Check Deposit that was accepted. # - # @param currency [Symbol, Increase::CheckDeposit::DepositAcceptance::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::CheckDeposit::DepositAcceptance::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # # @param routing_number [String] The routing number printed on the check. # @@ -237,7 +237,7 @@ class DepositAcceptance < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::CheckDeposit::DepositAcceptance#currency + # @see Increase::Models::CheckDeposit::DepositAcceptance#currency module Currency extend Increase::Internal::Type::Enum @@ -264,7 +264,7 @@ module Currency end end - # @see Increase::CheckDeposit#deposit_rejection + # @see Increase::Models::CheckDeposit#deposit_rejection class DepositRejection < Increase::Internal::Type::BaseModel # @!attribute amount # The rejected amount in the minor unit of check's currency. For dollars, for @@ -283,7 +283,7 @@ class DepositRejection < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @return [Symbol, Increase::CheckDeposit::DepositRejection::Currency] + # @return [Symbol, Increase::Models::CheckDeposit::DepositRejection::Currency] required :currency, enum: -> { Increase::CheckDeposit::DepositRejection::Currency } # @!attribute declined_transaction_id @@ -295,7 +295,7 @@ class DepositRejection < Increase::Internal::Type::BaseModel # @!attribute reason # Why the check deposit was rejected. # - # @return [Symbol, Increase::CheckDeposit::DepositRejection::Reason] + # @return [Symbol, Increase::Models::CheckDeposit::DepositRejection::Reason] required :reason, enum: -> { Increase::CheckDeposit::DepositRejection::Reason } # @!attribute rejected_at @@ -307,7 +307,7 @@ class DepositRejection < Increase::Internal::Type::BaseModel # @!method initialize(amount:, check_deposit_id:, currency:, declined_transaction_id:, reason:, rejected_at:) # Some parameter documentations has been truncated, see - # {Increase::CheckDeposit::DepositRejection} for more details. + # {Increase::Models::CheckDeposit::DepositRejection} for more details. # # If your deposit is rejected by Increase, this will contain details as to why it # was rejected. @@ -316,18 +316,18 @@ class DepositRejection < Increase::Internal::Type::BaseModel # # @param check_deposit_id [String] The identifier of the Check Deposit that was rejected. # - # @param currency [Symbol, Increase::CheckDeposit::DepositRejection::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr + # @param currency [Symbol, Increase::Models::CheckDeposit::DepositRejection::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr # # @param declined_transaction_id [String] The identifier of the associated declined transaction. # - # @param reason [Symbol, Increase::CheckDeposit::DepositRejection::Reason] Why the check deposit was rejected. + # @param reason [Symbol, Increase::Models::CheckDeposit::DepositRejection::Reason] Why the check deposit was rejected. # # @param rejected_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @see Increase::CheckDeposit::DepositRejection#currency + # @see Increase::Models::CheckDeposit::DepositRejection#currency module Currency extend Increase::Internal::Type::Enum @@ -355,7 +355,7 @@ module Currency # Why the check deposit was rejected. # - # @see Increase::CheckDeposit::DepositRejection#reason + # @see Increase::Models::CheckDeposit::DepositRejection#reason module Reason extend Increase::Internal::Type::Enum @@ -397,7 +397,7 @@ module Reason end end - # @see Increase::CheckDeposit#deposit_return + # @see Increase::Models::CheckDeposit#deposit_return class DepositReturn < Increase::Internal::Type::BaseModel # @!attribute amount # The returned amount in USD cents. @@ -415,14 +415,14 @@ class DepositReturn < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::CheckDeposit::DepositReturn::Currency] + # @return [Symbol, Increase::Models::CheckDeposit::DepositReturn::Currency] required :currency, enum: -> { Increase::CheckDeposit::DepositReturn::Currency } # @!attribute return_reason # Why this check was returned by the bank holding the account it was drawn # against. # - # @return [Symbol, Increase::CheckDeposit::DepositReturn::ReturnReason] + # @return [Symbol, Increase::Models::CheckDeposit::DepositReturn::ReturnReason] required :return_reason, enum: -> { Increase::CheckDeposit::DepositReturn::ReturnReason } # @!attribute returned_at @@ -441,7 +441,7 @@ class DepositReturn < Increase::Internal::Type::BaseModel # @!method initialize(amount:, check_deposit_id:, currency:, return_reason:, returned_at:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::CheckDeposit::DepositReturn} for more details. + # {Increase::Models::CheckDeposit::DepositReturn} for more details. # # If your deposit is returned, this will contain details as to why it was # returned. @@ -450,9 +450,9 @@ class DepositReturn < Increase::Internal::Type::BaseModel # # @param check_deposit_id [String] The identifier of the Check Deposit that was returned. # - # @param currency [Symbol, Increase::CheckDeposit::DepositReturn::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::CheckDeposit::DepositReturn::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param return_reason [Symbol, Increase::CheckDeposit::DepositReturn::ReturnReason] Why this check was returned by the bank holding the account it was drawn against + # @param return_reason [Symbol, Increase::Models::CheckDeposit::DepositReturn::ReturnReason] Why this check was returned by the bank holding the account it was drawn against # # @param returned_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # @@ -461,7 +461,7 @@ class DepositReturn < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::CheckDeposit::DepositReturn#currency + # @see Increase::Models::CheckDeposit::DepositReturn#currency module Currency extend Increase::Internal::Type::Enum @@ -490,7 +490,7 @@ module Currency # Why this check was returned by the bank holding the account it was drawn # against. # - # @see Increase::CheckDeposit::DepositReturn#return_reason + # @see Increase::Models::CheckDeposit::DepositReturn#return_reason module ReturnReason extend Increase::Internal::Type::Enum @@ -577,7 +577,7 @@ module ReturnReason end end - # @see Increase::CheckDeposit#deposit_submission + # @see Increase::Models::CheckDeposit#deposit_submission class DepositSubmission < Increase::Internal::Type::BaseModel # @!attribute back_file_id # The ID for the File containing the check back image that was submitted to the @@ -603,7 +603,7 @@ class DepositSubmission < Increase::Internal::Type::BaseModel # @!method initialize(back_file_id:, front_file_id:, submitted_at:) # Some parameter documentations has been truncated, see - # {Increase::CheckDeposit::DepositSubmission} for more details. + # {Increase::Models::CheckDeposit::DepositSubmission} for more details. # # After the check is parsed, it is submitted to the Check21 network for # processing. This will contain details of the submission. @@ -615,7 +615,7 @@ class DepositSubmission < Increase::Internal::Type::BaseModel # @param submitted_at [Time] When the check deposit was submitted to the Check21 network for processing. Duri end - # @see Increase::CheckDeposit#inbound_funds_hold + # @see Increase::Models::CheckDeposit#inbound_funds_hold class InboundFundsHold < Increase::Internal::Type::BaseModel # @!attribute id # The Inbound Funds Hold identifier. @@ -648,7 +648,7 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's # currency. # - # @return [Symbol, Increase::CheckDeposit::InboundFundsHold::Currency] + # @return [Symbol, Increase::Models::CheckDeposit::InboundFundsHold::Currency] required :currency, enum: -> { Increase::CheckDeposit::InboundFundsHold::Currency } # @!attribute held_transaction_id @@ -672,19 +672,19 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # @!attribute status # The status of the hold. # - # @return [Symbol, Increase::CheckDeposit::InboundFundsHold::Status] + # @return [Symbol, Increase::Models::CheckDeposit::InboundFundsHold::Status] required :status, enum: -> { Increase::CheckDeposit::InboundFundsHold::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `inbound_funds_hold`. # - # @return [Symbol, Increase::CheckDeposit::InboundFundsHold::Type] + # @return [Symbol, Increase::Models::CheckDeposit::InboundFundsHold::Type] required :type, enum: -> { Increase::CheckDeposit::InboundFundsHold::Type } # @!method initialize(id:, amount:, automatically_releases_at:, created_at:, currency:, held_transaction_id:, pending_transaction_id:, released_at:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::CheckDeposit::InboundFundsHold} for more details. + # {Increase::Models::CheckDeposit::InboundFundsHold} for more details. # # Increase will sometimes hold the funds for Check Deposits. If funds are held, # this sub-object will contain details of the hold. @@ -697,7 +697,7 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold wa # - # @param currency [Symbol, Increase::CheckDeposit::InboundFundsHold::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's curre + # @param currency [Symbol, Increase::Models::CheckDeposit::InboundFundsHold::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's curre # # @param held_transaction_id [String, nil] The ID of the Transaction for which funds were held. # @@ -705,14 +705,14 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # # @param released_at [Time, nil] When the hold was released (if it has been released). # - # @param status [Symbol, Increase::CheckDeposit::InboundFundsHold::Status] The status of the hold. + # @param status [Symbol, Increase::Models::CheckDeposit::InboundFundsHold::Status] The status of the hold. # - # @param type [Symbol, Increase::CheckDeposit::InboundFundsHold::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CheckDeposit::InboundFundsHold::Type] A constant representing the object's type. For this resource it will always be ` # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's # currency. # - # @see Increase::CheckDeposit::InboundFundsHold#currency + # @see Increase::Models::CheckDeposit::InboundFundsHold#currency module Currency extend Increase::Internal::Type::Enum @@ -740,7 +740,7 @@ module Currency # The status of the hold. # - # @see Increase::CheckDeposit::InboundFundsHold#status + # @see Increase::Models::CheckDeposit::InboundFundsHold#status module Status extend Increase::Internal::Type::Enum @@ -757,7 +757,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `inbound_funds_hold`. # - # @see Increase::CheckDeposit::InboundFundsHold#type + # @see Increase::Models::CheckDeposit::InboundFundsHold#type module Type extend Increase::Internal::Type::Enum @@ -770,7 +770,7 @@ module Type # The status of the Check Deposit. # - # @see Increase::CheckDeposit#status + # @see Increase::Models::CheckDeposit#status module Status extend Increase::Internal::Type::Enum @@ -793,7 +793,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `check_deposit`. # - # @see Increase::CheckDeposit#type + # @see Increase::Models::CheckDeposit#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/check_deposit_list_params.rb b/lib/increase/models/check_deposit_list_params.rb index 134468864..36587274b 100644 --- a/lib/increase/models/check_deposit_list_params.rb +++ b/lib/increase/models/check_deposit_list_params.rb @@ -15,7 +15,7 @@ class CheckDepositListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::CheckDepositListParams::CreatedAt, nil] + # @return [Increase::Models::CheckDepositListParams::CreatedAt, nil] optional :created_at, -> { Increase::CheckDepositListParams::CreatedAt } # @!attribute cursor @@ -46,7 +46,7 @@ class CheckDepositListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Check Deposits to those belonging to the specified Account. # - # @param created_at [Increase::CheckDepositListParams::CreatedAt] + # @param created_at [Increase::Models::CheckDepositListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -87,7 +87,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::CheckDepositListParams::CreatedAt} for more details. + # {Increase::Models::CheckDepositListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/check_transfer.rb b/lib/increase/models/check_transfer.rb index 99a14d509..a9d1c38b9 100644 --- a/lib/increase/models/check_transfer.rb +++ b/lib/increase/models/check_transfer.rb @@ -32,7 +32,7 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. # - # @return [Increase::CheckTransfer::Approval, nil] + # @return [Increase::Models::CheckTransfer::Approval, nil] required :approval, -> { Increase::CheckTransfer::Approval }, nil?: true # @!attribute approved_inbound_check_deposit_id @@ -46,7 +46,7 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. # - # @return [Increase::CheckTransfer::Cancellation, nil] + # @return [Increase::Models::CheckTransfer::Cancellation, nil] required :cancellation, -> { Increase::CheckTransfer::Cancellation }, nil?: true # @!attribute check_number @@ -65,20 +65,20 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # @!attribute created_by # What object created the transfer, either via the API or the dashboard. # - # @return [Increase::CheckTransfer::CreatedBy, nil] + # @return [Increase::Models::CheckTransfer::CreatedBy, nil] required :created_by, -> { Increase::CheckTransfer::CreatedBy }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @return [Symbol, Increase::CheckTransfer::Currency] + # @return [Symbol, Increase::Models::CheckTransfer::Currency] required :currency, enum: -> { Increase::CheckTransfer::Currency } # @!attribute fulfillment_method # Whether Increase will print and mail the check or if you will do it yourself. # - # @return [Symbol, Increase::CheckTransfer::FulfillmentMethod] + # @return [Symbol, Increase::Models::CheckTransfer::FulfillmentMethod] required :fulfillment_method, enum: -> { Increase::CheckTransfer::FulfillmentMethod } # @!attribute idempotency_key @@ -93,7 +93,7 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # If the check has been mailed by Increase, this will contain details of the # shipment. # - # @return [Increase::CheckTransfer::Mailing, nil] + # @return [Increase::Models::CheckTransfer::Mailing, nil] required :mailing, -> { Increase::CheckTransfer::Mailing }, nil?: true # @!attribute pending_transaction_id @@ -109,7 +109,7 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # Details relating to the physical check that Increase will print and mail. Will # be present if and only if `fulfillment_method` is equal to `physical_check`. # - # @return [Increase::CheckTransfer::PhysicalCheck, nil] + # @return [Increase::Models::CheckTransfer::PhysicalCheck, nil] required :physical_check, -> { Increase::CheckTransfer::PhysicalCheck }, nil?: true # @!attribute routing_number @@ -128,39 +128,39 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the transfer. # - # @return [Symbol, Increase::CheckTransfer::Status] + # @return [Symbol, Increase::Models::CheckTransfer::Status] required :status, enum: -> { Increase::CheckTransfer::Status } # @!attribute stop_payment_request # After a stop-payment is requested on the check, this will contain supplemental # details. # - # @return [Increase::CheckTransfer::StopPaymentRequest, nil] + # @return [Increase::Models::CheckTransfer::StopPaymentRequest, nil] required :stop_payment_request, -> { Increase::CheckTransfer::StopPaymentRequest }, nil?: true # @!attribute submission # After the transfer is submitted, this will contain supplemental details. # - # @return [Increase::CheckTransfer::Submission, nil] + # @return [Increase::Models::CheckTransfer::Submission, nil] required :submission, -> { Increase::CheckTransfer::Submission }, nil?: true # @!attribute third_party # Details relating to the custom fulfillment you will perform. Will be present if # and only if `fulfillment_method` is equal to `third_party`. # - # @return [Increase::CheckTransfer::ThirdParty, nil] + # @return [Increase::Models::CheckTransfer::ThirdParty, nil] required :third_party, -> { Increase::CheckTransfer::ThirdParty }, nil?: true # @!attribute type # A constant representing the object's type. For this resource it will always be # `check_transfer`. # - # @return [Symbol, Increase::CheckTransfer::Type] + # @return [Symbol, Increase::Models::CheckTransfer::Type] required :type, enum: -> { Increase::CheckTransfer::Type } # @!method initialize(id:, account_id:, account_number:, amount:, approval:, approved_inbound_check_deposit_id:, cancellation:, check_number:, created_at:, created_by:, currency:, fulfillment_method:, idempotency_key:, mailing:, pending_transaction_id:, physical_check:, routing_number:, source_account_number_id:, status:, stop_payment_request:, submission:, third_party:, type:) - # Some parameter documentations has been truncated, see {Increase::CheckTransfer} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::CheckTransfer} for more details. # # Check Transfers move funds from your Increase account by mailing a physical # check. @@ -173,45 +173,45 @@ class CheckTransfer < Increase::Internal::Type::BaseModel # # @param amount [Integer] The transfer amount in USD cents. # - # @param approval [Increase::CheckTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, + # @param approval [Increase::Models::CheckTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, # # @param approved_inbound_check_deposit_id [String, nil] If the Check Transfer was successfully deposited, this will contain the identifi # - # @param cancellation [Increase::CheckTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv + # @param cancellation [Increase::Models::CheckTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv # # @param check_number [String] The check number printed on the check. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param created_by [Increase::CheckTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. + # @param created_by [Increase::Models::CheckTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. # - # @param currency [Symbol, Increase::CheckTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr + # @param currency [Symbol, Increase::Models::CheckTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr # - # @param fulfillment_method [Symbol, Increase::CheckTransfer::FulfillmentMethod] Whether Increase will print and mail the check or if you will do it yourself. + # @param fulfillment_method [Symbol, Increase::Models::CheckTransfer::FulfillmentMethod] Whether Increase will print and mail the check or if you will do it yourself. # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param mailing [Increase::CheckTransfer::Mailing, nil] If the check has been mailed by Increase, this will contain details of the shipm + # @param mailing [Increase::Models::CheckTransfer::Mailing, nil] If the check has been mailed by Increase, this will contain details of the shipm # # @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer. A pending transact # - # @param physical_check [Increase::CheckTransfer::PhysicalCheck, nil] Details relating to the physical check that Increase will print and mail. Will b + # @param physical_check [Increase::Models::CheckTransfer::PhysicalCheck, nil] Details relating to the physical check that Increase will print and mail. Will b # # @param routing_number [String] The routing number printed on the check. # # @param source_account_number_id [String, nil] The identifier of the Account Number from which to send the transfer and print o # - # @param status [Symbol, Increase::CheckTransfer::Status] The lifecycle status of the transfer. + # @param status [Symbol, Increase::Models::CheckTransfer::Status] The lifecycle status of the transfer. # - # @param stop_payment_request [Increase::CheckTransfer::StopPaymentRequest, nil] After a stop-payment is requested on the check, this will contain supplemental d + # @param stop_payment_request [Increase::Models::CheckTransfer::StopPaymentRequest, nil] After a stop-payment is requested on the check, this will contain supplemental d # - # @param submission [Increase::CheckTransfer::Submission, nil] After the transfer is submitted, this will contain supplemental details. + # @param submission [Increase::Models::CheckTransfer::Submission, nil] After the transfer is submitted, this will contain supplemental details. # - # @param third_party [Increase::CheckTransfer::ThirdParty, nil] Details relating to the custom fulfillment you will perform. Will be present if + # @param third_party [Increase::Models::CheckTransfer::ThirdParty, nil] Details relating to the custom fulfillment you will perform. Will be present if # - # @param type [Symbol, Increase::CheckTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CheckTransfer::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::CheckTransfer#approval + # @see Increase::Models::CheckTransfer#approval class Approval < Increase::Internal::Type::BaseModel # @!attribute approved_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -229,7 +229,7 @@ class Approval < Increase::Internal::Type::BaseModel # @!method initialize(approved_at:, approved_by:) # Some parameter documentations has been truncated, see - # {Increase::CheckTransfer::Approval} for more details. + # {Increase::Models::CheckTransfer::Approval} for more details. # # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. @@ -239,7 +239,7 @@ class Approval < Increase::Internal::Type::BaseModel # @param approved_by [String, nil] If the Transfer was approved by a user in the dashboard, the email address of th end - # @see Increase::CheckTransfer#cancellation + # @see Increase::Models::CheckTransfer#cancellation class Cancellation < Increase::Internal::Type::BaseModel # @!attribute canceled_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -257,7 +257,7 @@ class Cancellation < Increase::Internal::Type::BaseModel # @!method initialize(canceled_at:, canceled_by:) # Some parameter documentations has been truncated, see - # {Increase::CheckTransfer::Cancellation} for more details. + # {Increase::Models::CheckTransfer::Cancellation} for more details. # # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. @@ -267,44 +267,44 @@ class Cancellation < Increase::Internal::Type::BaseModel # @param canceled_by [String, nil] If the Transfer was canceled by a user in the dashboard, the email address of th end - # @see Increase::CheckTransfer#created_by + # @see Increase::Models::CheckTransfer#created_by class CreatedBy < Increase::Internal::Type::BaseModel # @!attribute api_key # If present, details about the API key that created the transfer. # - # @return [Increase::CheckTransfer::CreatedBy::APIKey, nil] + # @return [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil] required :api_key, -> { Increase::CheckTransfer::CreatedBy::APIKey }, nil?: true # @!attribute category # The type of object that created this transfer. # - # @return [Symbol, Increase::CheckTransfer::CreatedBy::Category] + # @return [Symbol, Increase::Models::CheckTransfer::CreatedBy::Category] required :category, enum: -> { Increase::CheckTransfer::CreatedBy::Category } # @!attribute oauth_application # If present, details about the OAuth Application that created the transfer. # - # @return [Increase::CheckTransfer::CreatedBy::OAuthApplication, nil] + # @return [Increase::Models::CheckTransfer::CreatedBy::OAuthApplication, nil] required :oauth_application, -> { Increase::CheckTransfer::CreatedBy::OAuthApplication }, nil?: true # @!attribute user # If present, details about the User that created the transfer. # - # @return [Increase::CheckTransfer::CreatedBy::User, nil] + # @return [Increase::Models::CheckTransfer::CreatedBy::User, nil] required :user, -> { Increase::CheckTransfer::CreatedBy::User }, nil?: true # @!method initialize(api_key:, category:, oauth_application:, user:) # What object created the transfer, either via the API or the dashboard. # - # @param api_key [Increase::CheckTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. + # @param api_key [Increase::Models::CheckTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. # - # @param category [Symbol, Increase::CheckTransfer::CreatedBy::Category] The type of object that created this transfer. + # @param category [Symbol, Increase::Models::CheckTransfer::CreatedBy::Category] The type of object that created this transfer. # - # @param oauth_application [Increase::CheckTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. + # @param oauth_application [Increase::Models::CheckTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. # - # @param user [Increase::CheckTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. + # @param user [Increase::Models::CheckTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. - # @see Increase::CheckTransfer::CreatedBy#api_key + # @see Increase::Models::CheckTransfer::CreatedBy#api_key class APIKey < Increase::Internal::Type::BaseModel # @!attribute description # The description set for the API key when it was created. @@ -320,7 +320,7 @@ class APIKey < Increase::Internal::Type::BaseModel # The type of object that created this transfer. # - # @see Increase::CheckTransfer::CreatedBy#category + # @see Increase::Models::CheckTransfer::CreatedBy#category module Category extend Increase::Internal::Type::Enum @@ -337,7 +337,7 @@ module Category # @return [Array] end - # @see Increase::CheckTransfer::CreatedBy#oauth_application + # @see Increase::Models::CheckTransfer::CreatedBy#oauth_application class OAuthApplication < Increase::Internal::Type::BaseModel # @!attribute name # The name of the OAuth Application. @@ -351,7 +351,7 @@ class OAuthApplication < Increase::Internal::Type::BaseModel # @param name [String] The name of the OAuth Application. end - # @see Increase::CheckTransfer::CreatedBy#user + # @see Increase::Models::CheckTransfer::CreatedBy#user class User < Increase::Internal::Type::BaseModel # @!attribute email # The email address of the User. @@ -369,7 +369,7 @@ class User < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @see Increase::CheckTransfer#currency + # @see Increase::Models::CheckTransfer#currency module Currency extend Increase::Internal::Type::Enum @@ -397,7 +397,7 @@ module Currency # Whether Increase will print and mail the check or if you will do it yourself. # - # @see Increase::CheckTransfer#fulfillment_method + # @see Increase::Models::CheckTransfer#fulfillment_method module FulfillmentMethod extend Increase::Internal::Type::Enum @@ -411,7 +411,7 @@ module FulfillmentMethod # @return [Array] end - # @see Increase::CheckTransfer#mailing + # @see Increase::Models::CheckTransfer#mailing class Mailing < Increase::Internal::Type::BaseModel # @!attribute image_id # The ID of the file corresponding to an image of the check that was mailed, if @@ -435,7 +435,7 @@ class Mailing < Increase::Internal::Type::BaseModel # @!method initialize(image_id:, mailed_at:, tracking_number:) # Some parameter documentations has been truncated, see - # {Increase::CheckTransfer::Mailing} for more details. + # {Increase::Models::CheckTransfer::Mailing} for more details. # # If the check has been mailed by Increase, this will contain details of the # shipment. @@ -447,7 +447,7 @@ class Mailing < Increase::Internal::Type::BaseModel # @param tracking_number [String, nil] The tracking number of the shipment, if available for the shipping method. end - # @see Increase::CheckTransfer#physical_check + # @see Increase::Models::CheckTransfer#physical_check class PhysicalCheck < Increase::Internal::Type::BaseModel # @!attribute attachment_file_id # The ID of the file for the check attachment. @@ -458,7 +458,7 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # @!attribute mailing_address # Details for where Increase will mail the check. # - # @return [Increase::CheckTransfer::PhysicalCheck::MailingAddress] + # @return [Increase::Models::CheckTransfer::PhysicalCheck::MailingAddress] required :mailing_address, -> { Increase::CheckTransfer::PhysicalCheck::MailingAddress } # @!attribute memo @@ -482,13 +482,13 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # @!attribute return_address # The return address to be printed on the check. # - # @return [Increase::CheckTransfer::PhysicalCheck::ReturnAddress, nil] + # @return [Increase::Models::CheckTransfer::PhysicalCheck::ReturnAddress, nil] required :return_address, -> { Increase::CheckTransfer::PhysicalCheck::ReturnAddress }, nil?: true # @!attribute shipping_method # The shipping method for the check. # - # @return [Symbol, Increase::CheckTransfer::PhysicalCheck::ShippingMethod, nil] + # @return [Symbol, Increase::Models::CheckTransfer::PhysicalCheck::ShippingMethod, nil] required :shipping_method, enum: -> { Increase::CheckTransfer::PhysicalCheck::ShippingMethod @@ -505,7 +505,7 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # @!attribute tracking_updates # Tracking updates relating to the physical check's delivery. # - # @return [Array] + # @return [Array] required :tracking_updates, -> { Increase::Internal::Type::ArrayOf[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] @@ -513,14 +513,14 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # @!method initialize(attachment_file_id:, mailing_address:, memo:, note:, recipient_name:, return_address:, shipping_method:, signature_text:, tracking_updates:) # Some parameter documentations has been truncated, see - # {Increase::CheckTransfer::PhysicalCheck} for more details. + # {Increase::Models::CheckTransfer::PhysicalCheck} for more details. # # Details relating to the physical check that Increase will print and mail. Will # be present if and only if `fulfillment_method` is equal to `physical_check`. # # @param attachment_file_id [String, nil] The ID of the file for the check attachment. # - # @param mailing_address [Increase::CheckTransfer::PhysicalCheck::MailingAddress] Details for where Increase will mail the check. + # @param mailing_address [Increase::Models::CheckTransfer::PhysicalCheck::MailingAddress] Details for where Increase will mail the check. # # @param memo [String, nil] The descriptor that will be printed on the memo field on the check. # @@ -528,15 +528,15 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # # @param recipient_name [String] The name that will be printed on the check. # - # @param return_address [Increase::CheckTransfer::PhysicalCheck::ReturnAddress, nil] The return address to be printed on the check. + # @param return_address [Increase::Models::CheckTransfer::PhysicalCheck::ReturnAddress, nil] The return address to be printed on the check. # - # @param shipping_method [Symbol, Increase::CheckTransfer::PhysicalCheck::ShippingMethod, nil] The shipping method for the check. + # @param shipping_method [Symbol, Increase::Models::CheckTransfer::PhysicalCheck::ShippingMethod, nil] The shipping method for the check. # # @param signature_text [String, nil] The text that will appear as the signature on the check in cursive font. If blan # - # @param tracking_updates [Array] Tracking updates relating to the physical check's delivery. + # @param tracking_updates [Array] Tracking updates relating to the physical check's delivery. - # @see Increase::CheckTransfer::PhysicalCheck#mailing_address + # @see Increase::Models::CheckTransfer::PhysicalCheck#mailing_address class MailingAddress < Increase::Internal::Type::BaseModel # @!attribute city # The city of the check's destination. @@ -590,7 +590,7 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @param state [String, nil] The state of the check's destination. end - # @see Increase::CheckTransfer::PhysicalCheck#return_address + # @see Increase::Models::CheckTransfer::PhysicalCheck#return_address class ReturnAddress < Increase::Internal::Type::BaseModel # @!attribute city # The city of the check's destination. @@ -646,7 +646,7 @@ class ReturnAddress < Increase::Internal::Type::BaseModel # The shipping method for the check. # - # @see Increase::CheckTransfer::PhysicalCheck#shipping_method + # @see Increase::Models::CheckTransfer::PhysicalCheck#shipping_method module ShippingMethod extend Increase::Internal::Type::Enum @@ -664,7 +664,7 @@ class TrackingUpdate < Increase::Internal::Type::BaseModel # @!attribute category # The type of tracking event. # - # @return [Symbol, Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::Category] + # @return [Symbol, Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::Category] required :category, enum: -> { Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::Category } # @!attribute created_at @@ -682,9 +682,10 @@ class TrackingUpdate < Increase::Internal::Type::BaseModel # @!method initialize(category:, created_at:, postal_code:) # Some parameter documentations has been truncated, see - # {Increase::CheckTransfer::PhysicalCheck::TrackingUpdate} for more details. + # {Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate} for more + # details. # - # @param category [Symbol, Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::Category] The type of tracking event. + # @param category [Symbol, Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::Category] The type of tracking event. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # @@ -692,7 +693,7 @@ class TrackingUpdate < Increase::Internal::Type::BaseModel # The type of tracking event. # - # @see Increase::CheckTransfer::PhysicalCheck::TrackingUpdate#category + # @see Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate#category module Category extend Increase::Internal::Type::Enum @@ -716,7 +717,7 @@ module Category # The lifecycle status of the transfer. # - # @see Increase::CheckTransfer#status + # @see Increase::Models::CheckTransfer#status module Status extend Increase::Internal::Type::Enum @@ -754,12 +755,12 @@ module Status # @return [Array] end - # @see Increase::CheckTransfer#stop_payment_request + # @see Increase::Models::CheckTransfer#stop_payment_request class StopPaymentRequest < Increase::Internal::Type::BaseModel # @!attribute reason # The reason why this transfer was stopped. # - # @return [Symbol, Increase::CheckTransfer::StopPaymentRequest::Reason] + # @return [Symbol, Increase::Models::CheckTransfer::StopPaymentRequest::Reason] required :reason, enum: -> { Increase::CheckTransfer::StopPaymentRequest::Reason } # @!attribute requested_at @@ -778,27 +779,27 @@ class StopPaymentRequest < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `check_transfer_stop_payment_request`. # - # @return [Symbol, Increase::CheckTransfer::StopPaymentRequest::Type] + # @return [Symbol, Increase::Models::CheckTransfer::StopPaymentRequest::Type] required :type, enum: -> { Increase::CheckTransfer::StopPaymentRequest::Type } # @!method initialize(reason:, requested_at:, transfer_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::CheckTransfer::StopPaymentRequest} for more details. + # {Increase::Models::CheckTransfer::StopPaymentRequest} for more details. # # After a stop-payment is requested on the check, this will contain supplemental # details. # - # @param reason [Symbol, Increase::CheckTransfer::StopPaymentRequest::Reason] The reason why this transfer was stopped. + # @param reason [Symbol, Increase::Models::CheckTransfer::StopPaymentRequest::Reason] The reason why this transfer was stopped. # # @param requested_at [Time] The time the stop-payment was requested. # # @param transfer_id [String] The ID of the check transfer that was stopped. # - # @param type [Symbol, Increase::CheckTransfer::StopPaymentRequest::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::CheckTransfer::StopPaymentRequest::Type] A constant representing the object's type. For this resource it will always be ` # The reason why this transfer was stopped. # - # @see Increase::CheckTransfer::StopPaymentRequest#reason + # @see Increase::Models::CheckTransfer::StopPaymentRequest#reason module Reason extend Increase::Internal::Type::Enum @@ -821,7 +822,7 @@ module Reason # A constant representing the object's type. For this resource it will always be # `check_transfer_stop_payment_request`. # - # @see Increase::CheckTransfer::StopPaymentRequest#type + # @see Increase::Models::CheckTransfer::StopPaymentRequest#type module Type extend Increase::Internal::Type::Enum @@ -832,7 +833,7 @@ module Type end end - # @see Increase::CheckTransfer#submission + # @see Increase::Models::CheckTransfer#submission class Submission < Increase::Internal::Type::BaseModel # @!attribute address_correction_action # Per USPS requirements, Increase will standardize the address to USPS standards @@ -840,7 +841,7 @@ class Submission < Increase::Internal::Type::BaseModel # mailing it. This indicates what modifications, if any, were made to the address # before printing and mailing the check. # - # @return [Symbol, Increase::CheckTransfer::Submission::AddressCorrectionAction] + # @return [Symbol, Increase::Models::CheckTransfer::Submission::AddressCorrectionAction] required :address_correction_action, enum: -> { Increase::CheckTransfer::Submission::AddressCorrectionAction } @@ -848,7 +849,7 @@ class Submission < Increase::Internal::Type::BaseModel # The address we submitted to the printer. This is what is physically printed on # the check. # - # @return [Increase::CheckTransfer::Submission::SubmittedAddress] + # @return [Increase::Models::CheckTransfer::Submission::SubmittedAddress] required :submitted_address, -> { Increase::CheckTransfer::Submission::SubmittedAddress } # @!attribute submitted_at @@ -859,13 +860,13 @@ class Submission < Increase::Internal::Type::BaseModel # @!method initialize(address_correction_action:, submitted_address:, submitted_at:) # Some parameter documentations has been truncated, see - # {Increase::CheckTransfer::Submission} for more details. + # {Increase::Models::CheckTransfer::Submission} for more details. # # After the transfer is submitted, this will contain supplemental details. # - # @param address_correction_action [Symbol, Increase::CheckTransfer::Submission::AddressCorrectionAction] Per USPS requirements, Increase will standardize the address to USPS standards a + # @param address_correction_action [Symbol, Increase::Models::CheckTransfer::Submission::AddressCorrectionAction] Per USPS requirements, Increase will standardize the address to USPS standards a # - # @param submitted_address [Increase::CheckTransfer::Submission::SubmittedAddress] The address we submitted to the printer. This is what is physically printed on t + # @param submitted_address [Increase::Models::CheckTransfer::Submission::SubmittedAddress] The address we submitted to the printer. This is what is physically printed on t # # @param submitted_at [Time] When this check transfer was submitted to our check printer. @@ -874,7 +875,7 @@ class Submission < Increase::Internal::Type::BaseModel # mailing it. This indicates what modifications, if any, were made to the address # before printing and mailing the check. # - # @see Increase::CheckTransfer::Submission#address_correction_action + # @see Increase::Models::CheckTransfer::Submission#address_correction_action module AddressCorrectionAction extend Increase::Internal::Type::Enum @@ -894,7 +895,7 @@ module AddressCorrectionAction # @return [Array] end - # @see Increase::CheckTransfer::Submission#submitted_address + # @see Increase::Models::CheckTransfer::Submission#submitted_address class SubmittedAddress < Increase::Internal::Type::BaseModel # @!attribute city # The submitted address city. @@ -950,7 +951,7 @@ class SubmittedAddress < Increase::Internal::Type::BaseModel end end - # @see Increase::CheckTransfer#third_party + # @see Increase::Models::CheckTransfer#third_party class ThirdParty < Increase::Internal::Type::BaseModel # @!attribute recipient_name # The name that you will print on the check. @@ -968,7 +969,7 @@ class ThirdParty < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `check_transfer`. # - # @see Increase::CheckTransfer#type + # @see Increase::Models::CheckTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/check_transfer_create_params.rb b/lib/increase/models/check_transfer_create_params.rb index f6ed99b59..4ceb49bdd 100644 --- a/lib/increase/models/check_transfer_create_params.rb +++ b/lib/increase/models/check_transfer_create_params.rb @@ -22,7 +22,7 @@ class CheckTransferCreateParams < Increase::Internal::Type::BaseModel # @!attribute fulfillment_method # Whether Increase will print and mail the check or if you will do it yourself. # - # @return [Symbol, Increase::CheckTransferCreateParams::FulfillmentMethod] + # @return [Symbol, Increase::Models::CheckTransferCreateParams::FulfillmentMethod] required :fulfillment_method, enum: -> { Increase::CheckTransferCreateParams::FulfillmentMethod } # @!attribute source_account_number_id @@ -45,7 +45,7 @@ class CheckTransferCreateParams < Increase::Internal::Type::BaseModel # is required if `fulfillment_method` is equal to `physical_check`. It must not be # included if any other `fulfillment_method` is provided. # - # @return [Increase::CheckTransferCreateParams::PhysicalCheck, nil] + # @return [Increase::Models::CheckTransferCreateParams::PhysicalCheck, nil] optional :physical_check, -> { Increase::CheckTransferCreateParams::PhysicalCheck } # @!attribute require_approval @@ -59,7 +59,7 @@ class CheckTransferCreateParams < Increase::Internal::Type::BaseModel # `fulfillment_method` is equal to `third_party`. It must not be included if any # other `fulfillment_method` is provided. # - # @return [Increase::CheckTransferCreateParams::ThirdParty, nil] + # @return [Increase::Models::CheckTransferCreateParams::ThirdParty, nil] optional :third_party, -> { Increase::CheckTransferCreateParams::ThirdParty } # @!method initialize(account_id:, amount:, fulfillment_method:, source_account_number_id:, check_number: nil, physical_check: nil, require_approval: nil, third_party: nil, request_options: {}) @@ -70,17 +70,17 @@ class CheckTransferCreateParams < Increase::Internal::Type::BaseModel # # @param amount [Integer] The transfer amount in USD cents. # - # @param fulfillment_method [Symbol, Increase::CheckTransferCreateParams::FulfillmentMethod] Whether Increase will print and mail the check or if you will do it yourself. + # @param fulfillment_method [Symbol, Increase::Models::CheckTransferCreateParams::FulfillmentMethod] Whether Increase will print and mail the check or if you will do it yourself. # # @param source_account_number_id [String] The identifier of the Account Number from which to send the transfer and print o # # @param check_number [String] The check number Increase should use for the check. This should not contain lead # - # @param physical_check [Increase::CheckTransferCreateParams::PhysicalCheck] Details relating to the physical check that Increase will print and mail. This i + # @param physical_check [Increase::Models::CheckTransferCreateParams::PhysicalCheck] Details relating to the physical check that Increase will print and mail. This i # # @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API. # - # @param third_party [Increase::CheckTransferCreateParams::ThirdParty] Details relating to the custom fulfillment you will perform. This is required if + # @param third_party [Increase::Models::CheckTransferCreateParams::ThirdParty] Details relating to the custom fulfillment you will perform. This is required if # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -102,7 +102,7 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # @!attribute mailing_address # Details for where Increase will mail the check. # - # @return [Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress] + # @return [Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress] required :mailing_address, -> { Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress } # @!attribute memo @@ -136,14 +136,14 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # an Increase-owned address that will mark checks as delivery failed and shred # them. # - # @return [Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress, nil] + # @return [Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress, nil] optional :return_address, -> { Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress } # @!attribute shipping_method # How to ship the check. For details on pricing, timing, and restrictions, see # https://increase.com/documentation/originating-checks#printing-checks . # - # @return [Symbol, Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod, nil] + # @return [Symbol, Increase::Models::CheckTransferCreateParams::PhysicalCheck::ShippingMethod, nil] optional :shipping_method, enum: -> { Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod @@ -158,13 +158,13 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # @!method initialize(mailing_address:, memo:, recipient_name:, attachment_file_id: nil, note: nil, return_address: nil, shipping_method: nil, signature_text: nil) # Some parameter documentations has been truncated, see - # {Increase::CheckTransferCreateParams::PhysicalCheck} for more details. + # {Increase::Models::CheckTransferCreateParams::PhysicalCheck} for more details. # # Details relating to the physical check that Increase will print and mail. This # is required if `fulfillment_method` is equal to `physical_check`. It must not be # included if any other `fulfillment_method` is provided. # - # @param mailing_address [Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress] Details for where Increase will mail the check. + # @param mailing_address [Increase::Models::CheckTransferCreateParams::PhysicalCheck::MailingAddress] Details for where Increase will mail the check. # # @param memo [String] The descriptor that will be printed on the memo field on the check. # @@ -174,13 +174,13 @@ class PhysicalCheck < Increase::Internal::Type::BaseModel # # @param note [String] The descriptor that will be printed on the letter included with the check. # - # @param return_address [Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress] The return address to be printed on the check. If omitted this will default to a + # @param return_address [Increase::Models::CheckTransferCreateParams::PhysicalCheck::ReturnAddress] The return address to be printed on the check. If omitted this will default to a # - # @param shipping_method [Symbol, Increase::CheckTransferCreateParams::PhysicalCheck::ShippingMethod] How to ship the check. For details on pricing, timing, and restrictions, see htt + # @param shipping_method [Symbol, Increase::Models::CheckTransferCreateParams::PhysicalCheck::ShippingMethod] How to ship the check. For details on pricing, timing, and restrictions, see htt # # @param signature_text [String] The text that will appear as the signature on the check in cursive font. If not - # @see Increase::CheckTransferCreateParams::PhysicalCheck#mailing_address + # @see Increase::Models::CheckTransferCreateParams::PhysicalCheck#mailing_address class MailingAddress < Increase::Internal::Type::BaseModel # @!attribute city # The city component of the check's destination address. @@ -226,7 +226,7 @@ class MailingAddress < Increase::Internal::Type::BaseModel # @param line2 [String] The second line of the address component of the check's destination address. end - # @see Increase::CheckTransferCreateParams::PhysicalCheck#return_address + # @see Increase::Models::CheckTransferCreateParams::PhysicalCheck#return_address class ReturnAddress < Increase::Internal::Type::BaseModel # @!attribute city # The city of the return address. @@ -285,7 +285,7 @@ class ReturnAddress < Increase::Internal::Type::BaseModel # How to ship the check. For details on pricing, timing, and restrictions, see # https://increase.com/documentation/originating-checks#printing-checks . # - # @see Increase::CheckTransferCreateParams::PhysicalCheck#shipping_method + # @see Increase::Models::CheckTransferCreateParams::PhysicalCheck#shipping_method module ShippingMethod extend Increase::Internal::Type::Enum @@ -311,7 +311,7 @@ class ThirdParty < Increase::Internal::Type::BaseModel # @!method initialize(recipient_name: nil) # Some parameter documentations has been truncated, see - # {Increase::CheckTransferCreateParams::ThirdParty} for more details. + # {Increase::Models::CheckTransferCreateParams::ThirdParty} for more details. # # Details relating to the custom fulfillment you will perform. This is required if # `fulfillment_method` is equal to `third_party`. It must not be included if any diff --git a/lib/increase/models/check_transfer_list_params.rb b/lib/increase/models/check_transfer_list_params.rb index f9c04ad21..3784881dd 100644 --- a/lib/increase/models/check_transfer_list_params.rb +++ b/lib/increase/models/check_transfer_list_params.rb @@ -15,7 +15,7 @@ class CheckTransferListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::CheckTransferListParams::CreatedAt, nil] + # @return [Increase::Models::CheckTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::CheckTransferListParams::CreatedAt } # @!attribute cursor @@ -42,7 +42,7 @@ class CheckTransferListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::CheckTransferListParams::Status, nil] + # @return [Increase::Models::CheckTransferListParams::Status, nil] optional :status, -> { Increase::CheckTransferListParams::Status } # @!method initialize(account_id: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -51,7 +51,7 @@ class CheckTransferListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Check Transfers to those that originated from the specified Account. # - # @param created_at [Increase::CheckTransferListParams::CreatedAt] + # @param created_at [Increase::Models::CheckTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -59,7 +59,7 @@ class CheckTransferListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::CheckTransferListParams::Status] + # @param status [Increase::Models::CheckTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -94,7 +94,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::CheckTransferListParams::CreatedAt} for more details. + # {Increase::Models::CheckTransferListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -111,7 +111,7 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::CheckTransferListParams::Status::In] @@ -120,9 +120,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::CheckTransferListParams::Status} for more details. + # {Increase::Models::CheckTransferListParams::Status} for more details. # - # @param in_ [Array] Filter Check Transfers to those that have the specified status. For GET requests + # @param in_ [Array] Filter Check Transfers to those that have the specified status. For GET requests module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/check_transfer_stop_payment_params.rb b/lib/increase/models/check_transfer_stop_payment_params.rb index 2b05b5c9b..2fad5432d 100644 --- a/lib/increase/models/check_transfer_stop_payment_params.rb +++ b/lib/increase/models/check_transfer_stop_payment_params.rb @@ -10,11 +10,11 @@ class CheckTransferStopPaymentParams < Increase::Internal::Type::BaseModel # @!attribute reason # The reason why this transfer should be stopped. # - # @return [Symbol, Increase::CheckTransferStopPaymentParams::Reason, nil] + # @return [Symbol, Increase::Models::CheckTransferStopPaymentParams::Reason, nil] optional :reason, enum: -> { Increase::CheckTransferStopPaymentParams::Reason } # @!method initialize(reason: nil, request_options: {}) - # @param reason [Symbol, Increase::CheckTransferStopPaymentParams::Reason] The reason why this transfer should be stopped. + # @param reason [Symbol, Increase::Models::CheckTransferStopPaymentParams::Reason] The reason why this transfer should be stopped. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/declined_transaction.rb b/lib/increase/models/declined_transaction.rb index f8e36fbe0..828b0cfdd 100644 --- a/lib/increase/models/declined_transaction.rb +++ b/lib/increase/models/declined_transaction.rb @@ -35,7 +35,7 @@ class DeclinedTransaction < Increase::Internal::Type::BaseModel # Transaction's currency. This will match the currency on the Declined # Transaction's Account. # - # @return [Symbol, Increase::DeclinedTransaction::Currency] + # @return [Symbol, Increase::Models::DeclinedTransaction::Currency] required :currency, enum: -> { Increase::DeclinedTransaction::Currency } # @!attribute description @@ -54,7 +54,7 @@ class DeclinedTransaction < Increase::Internal::Type::BaseModel # @!attribute route_type # The type of the route this Declined Transaction came through. # - # @return [Symbol, Increase::DeclinedTransaction::RouteType, nil] + # @return [Symbol, Increase::Models::DeclinedTransaction::RouteType, nil] required :route_type, enum: -> { Increase::DeclinedTransaction::RouteType }, nil?: true # @!attribute source @@ -64,19 +64,19 @@ class DeclinedTransaction < Increase::Internal::Type::BaseModel # additional undocumented keys may appear in this object. These should be treated # as deprecated and will be removed in the future. # - # @return [Increase::DeclinedTransaction::Source] + # @return [Increase::Models::DeclinedTransaction::Source] required :source, -> { Increase::DeclinedTransaction::Source } # @!attribute type # A constant representing the object's type. For this resource it will always be # `declined_transaction`. # - # @return [Symbol, Increase::DeclinedTransaction::Type] + # @return [Symbol, Increase::Models::DeclinedTransaction::Type] required :type, enum: -> { Increase::DeclinedTransaction::Type } # @!method initialize(id:, account_id:, amount:, created_at:, currency:, description:, route_id:, route_type:, source:, type:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction} for more details. + # {Increase::Models::DeclinedTransaction} for more details. # # Declined Transactions are refused additions and removals of money from your bank # account. For example, Declined Transactions are caused when your Account has an @@ -90,23 +90,23 @@ class DeclinedTransaction < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Transac # - # @param currency [Symbol, Increase::DeclinedTransaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined Tra + # @param currency [Symbol, Increase::Models::DeclinedTransaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined Tra # # @param description [String] This is the description the vendor provides. # # @param route_id [String, nil] The identifier for the route this Declined Transaction came through. Routes are # - # @param route_type [Symbol, Increase::DeclinedTransaction::RouteType, nil] The type of the route this Declined Transaction came through. + # @param route_type [Symbol, Increase::Models::DeclinedTransaction::RouteType, nil] The type of the route this Declined Transaction came through. # - # @param source [Increase::DeclinedTransaction::Source] This is an object giving more details on the network-level event that caused the + # @param source [Increase::Models::DeclinedTransaction::Source] This is an object giving more details on the network-level event that caused the # - # @param type [Symbol, Increase::DeclinedTransaction::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::DeclinedTransaction::Type] A constant representing the object's type. For this resource it will always be ` # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Declined # Transaction's currency. This will match the currency on the Declined # Transaction's Account. # - # @see Increase::DeclinedTransaction#currency + # @see Increase::Models::DeclinedTransaction#currency module Currency extend Increase::Internal::Type::Enum @@ -134,7 +134,7 @@ module Currency # The type of the route this Declined Transaction came through. # - # @see Increase::DeclinedTransaction#route_type + # @see Increase::Models::DeclinedTransaction#route_type module RouteType extend Increase::Internal::Type::Enum @@ -151,41 +151,41 @@ module RouteType # @return [Array] end - # @see Increase::DeclinedTransaction#source + # @see Increase::Models::DeclinedTransaction#source class Source < Increase::Internal::Type::BaseModel # @!attribute ach_decline # An ACH Decline object. This field will be present in the JSON response if and # only if `category` is equal to `ach_decline`. # - # @return [Increase::DeclinedTransaction::Source::ACHDecline, nil] + # @return [Increase::Models::DeclinedTransaction::Source::ACHDecline, nil] required :ach_decline, -> { Increase::DeclinedTransaction::Source::ACHDecline }, nil?: true # @!attribute card_decline # A Card Decline object. This field will be present in the JSON response if and # only if `category` is equal to `card_decline`. # - # @return [Increase::DeclinedTransaction::Source::CardDecline, nil] + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline, nil] required :card_decline, -> { Increase::DeclinedTransaction::Source::CardDecline }, nil?: true # @!attribute category # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @return [Symbol, Increase::DeclinedTransaction::Source::Category] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::Category] required :category, enum: -> { Increase::DeclinedTransaction::Source::Category } # @!attribute check_decline # A Check Decline object. This field will be present in the JSON response if and # only if `category` is equal to `check_decline`. # - # @return [Increase::DeclinedTransaction::Source::CheckDecline, nil] + # @return [Increase::Models::DeclinedTransaction::Source::CheckDecline, nil] required :check_decline, -> { Increase::DeclinedTransaction::Source::CheckDecline }, nil?: true # @!attribute check_deposit_rejection # A Check Deposit Rejection object. This field will be present in the JSON # response if and only if `category` is equal to `check_deposit_rejection`. # - # @return [Increase::DeclinedTransaction::Source::CheckDepositRejection, nil] + # @return [Increase::Models::DeclinedTransaction::Source::CheckDepositRejection, nil] required :check_deposit_rejection, -> { Increase::DeclinedTransaction::Source::CheckDepositRejection }, nil?: true @@ -195,7 +195,7 @@ class Source < Increase::Internal::Type::BaseModel # present in the JSON response if and only if `category` is equal to # `inbound_real_time_payments_transfer_decline`. # - # @return [Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] + # @return [Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] required :inbound_real_time_payments_transfer_decline, -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline }, nil?: true @@ -211,12 +211,12 @@ class Source < Increase::Internal::Type::BaseModel # A Wire Decline object. This field will be present in the JSON response if and # only if `category` is equal to `wire_decline`. # - # @return [Increase::DeclinedTransaction::Source::WireDecline, nil] + # @return [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] required :wire_decline, -> { Increase::DeclinedTransaction::Source::WireDecline }, nil?: true # @!method initialize(ach_decline:, card_decline:, category:, check_decline:, check_deposit_rejection:, inbound_real_time_payments_transfer_decline:, other:, wire_decline:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source} for more details. + # {Increase::Models::DeclinedTransaction::Source} for more details. # # This is an object giving more details on the network-level event that caused the # Declined Transaction. For example, for a card transaction this lists the @@ -224,23 +224,23 @@ class Source < Increase::Internal::Type::BaseModel # additional undocumented keys may appear in this object. These should be treated # as deprecated and will be removed in the future. # - # @param ach_decline [Increase::DeclinedTransaction::Source::ACHDecline, nil] An ACH Decline object. This field will be present in the JSON response if and on + # @param ach_decline [Increase::Models::DeclinedTransaction::Source::ACHDecline, nil] An ACH Decline object. This field will be present in the JSON response if and on # - # @param card_decline [Increase::DeclinedTransaction::Source::CardDecline, nil] A Card Decline object. This field will be present in the JSON response if and on + # @param card_decline [Increase::Models::DeclinedTransaction::Source::CardDecline, nil] A Card Decline object. This field will be present in the JSON response if and on # - # @param category [Symbol, Increase::DeclinedTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov + # @param category [Symbol, Increase::Models::DeclinedTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov # - # @param check_decline [Increase::DeclinedTransaction::Source::CheckDecline, nil] A Check Decline object. This field will be present in the JSON response if and o + # @param check_decline [Increase::Models::DeclinedTransaction::Source::CheckDecline, nil] A Check Decline object. This field will be present in the JSON response if and o # - # @param check_deposit_rejection [Increase::DeclinedTransaction::Source::CheckDepositRejection, nil] A Check Deposit Rejection object. This field will be present in the JSON respons + # @param check_deposit_rejection [Increase::Models::DeclinedTransaction::Source::CheckDepositRejection, nil] A Check Deposit Rejection object. This field will be present in the JSON respons # - # @param inbound_real_time_payments_transfer_decline [Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen + # @param inbound_real_time_payments_transfer_decline [Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen # # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will # - # @param wire_decline [Increase::DeclinedTransaction::Source::WireDecline, nil] A Wire Decline object. This field will be present in the JSON response if and on + # @param wire_decline [Increase::Models::DeclinedTransaction::Source::WireDecline, nil] A Wire Decline object. This field will be present in the JSON response if and on - # @see Increase::DeclinedTransaction::Source#ach_decline + # @see Increase::Models::DeclinedTransaction::Source#ach_decline class ACHDecline < Increase::Internal::Type::BaseModel # @!attribute id # The ACH Decline's identifier. @@ -287,7 +287,7 @@ class ACHDecline < Increase::Internal::Type::BaseModel # @!attribute reason # Why the ACH transfer was declined. # - # @return [Symbol, Increase::DeclinedTransaction::Source::ACHDecline::Reason] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Reason] required :reason, enum: -> { Increase::DeclinedTransaction::Source::ACHDecline::Reason } # @!attribute receiver_id_number @@ -312,12 +312,12 @@ class ACHDecline < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `ach_decline`. # - # @return [Symbol, Increase::DeclinedTransaction::Source::ACHDecline::Type] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Type] required :type, enum: -> { Increase::DeclinedTransaction::Source::ACHDecline::Type } # @!method initialize(id:, amount:, inbound_ach_transfer_id:, originator_company_descriptive_date:, originator_company_discretionary_data:, originator_company_id:, originator_company_name:, reason:, receiver_id_number:, receiver_name:, trace_number:, type:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::ACHDecline} for more details. + # {Increase::Models::DeclinedTransaction::Source::ACHDecline} for more details. # # An ACH Decline object. This field will be present in the JSON response if and # only if `category` is equal to `ach_decline`. @@ -336,7 +336,7 @@ class ACHDecline < Increase::Internal::Type::BaseModel # # @param originator_company_name [String] The name of the company that initiated the transfer. # - # @param reason [Symbol, Increase::DeclinedTransaction::Source::ACHDecline::Reason] Why the ACH transfer was declined. + # @param reason [Symbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Reason] Why the ACH transfer was declined. # # @param receiver_id_number [String, nil] The id of the receiver of the transfer. # @@ -344,11 +344,11 @@ class ACHDecline < Increase::Internal::Type::BaseModel # # @param trace_number [String] The trace number of the transfer. # - # @param type [Symbol, Increase::DeclinedTransaction::Source::ACHDecline::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::DeclinedTransaction::Source::ACHDecline::Type] A constant representing the object's type. For this resource it will always be ` # Why the ACH transfer was declined. # - # @see Increase::DeclinedTransaction::Source::ACHDecline#reason + # @see Increase::Models::DeclinedTransaction::Source::ACHDecline#reason module Reason extend Increase::Internal::Type::Enum @@ -412,7 +412,7 @@ module Reason # A constant representing the object's type. For this resource it will always be # `ach_decline`. # - # @see Increase::DeclinedTransaction::Source::ACHDecline#type + # @see Increase::Models::DeclinedTransaction::Source::ACHDecline#type module Type extend Increase::Internal::Type::Enum @@ -423,7 +423,7 @@ module Type end end - # @see Increase::DeclinedTransaction::Source#card_decline + # @see Increase::Models::DeclinedTransaction::Source#card_decline class CardDecline < Increase::Internal::Type::BaseModel # @!attribute id # The Card Decline identifier. @@ -435,7 +435,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Actioner] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Actioner] required :actioner, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Actioner } # @!attribute amount @@ -455,7 +455,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Currency] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Currency] required :currency, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Currency } # @!attribute declined_transaction_id @@ -475,7 +475,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Direction] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Direction] required :direction, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Direction } # @!attribute merchant_acceptor_id @@ -526,13 +526,13 @@ class CardDecline < Increase::Internal::Type::BaseModel # @!attribute network_details # Fields specific to the `network`. # - # @return [Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails] + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails] required :network_details, -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers] + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers] required :network_identifiers, -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers } @@ -567,7 +567,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::ProcessingCategory] required :processing_category, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory } @@ -582,7 +582,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # This is present if a specific decline reason was given in the real-time # decision. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason, nil] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason, nil] required :real_time_decision_reason, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason }, nil?: true @@ -590,7 +590,7 @@ class CardDecline < Increase::Internal::Type::BaseModel # @!attribute reason # Why the transaction was declined. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Reason] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Reason] required :reason, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Reason } # @!attribute terminal_id @@ -603,31 +603,31 @@ class CardDecline < Increase::Internal::Type::BaseModel # @!attribute verification # Fields related to verification of cardholder-provided values. # - # @return [Increase::DeclinedTransaction::Source::CardDecline::Verification] + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification] required :verification, -> { Increase::DeclinedTransaction::Source::CardDecline::Verification } # @!method initialize(id:, actioner:, amount:, card_payment_id:, currency:, declined_transaction_id:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, real_time_decision_reason:, reason:, terminal_id:, verification:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::CardDecline} for more details. + # {Increase::Models::DeclinedTransaction::Source::CardDecline} for more details. # # A Card Decline object. This field will be present in the JSON response if and # only if `category` is equal to `card_decline`. # # @param id [String] The Card Decline identifier. # - # @param actioner [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Actioner] Whether this authorization was approved by Increase, the card network through st + # @param actioner [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Actioner] Whether this authorization was approved by Increase, the card network through st # # @param amount [Integer] The declined amount in the minor unit of the destination account currency. For d # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param currency [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination + # @param currency [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # # @param declined_transaction_id [String] The identifier of the declined transaction created for this Card Decline. # # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p # - # @param direction [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh + # @param direction [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Direction] The direction describes the direction the funds will move, either from the cardh # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -643,9 +643,9 @@ class CardDecline < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_details [Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails] Fields specific to the `network`. + # @param network_details [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails] Fields specific to the `network`. # - # @param network_identifiers [Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -655,22 +655,22 @@ class CardDecline < Increase::Internal::Type::BaseModel # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param processing_category [Symbol, Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory] The processing category describes the intent behind the authorization, such as w + # @param processing_category [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::ProcessingCategory] The processing category describes the intent behind the authorization, such as w # # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac # - # @param real_time_decision_reason [Symbol, Increase::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason, nil] This is present if a specific decline reason was given in the real-time decision + # @param real_time_decision_reason [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::RealTimeDecisionReason, nil] This is present if a specific decline reason was given in the real-time decision # - # @param reason [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Reason] Why the transaction was declined. + # @param reason [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Reason] Why the transaction was declined. # # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i # - # @param verification [Increase::DeclinedTransaction::Source::CardDecline::Verification] Fields related to verification of cardholder-provided values. + # @param verification [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification] Fields related to verification of cardholder-provided values. # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @see Increase::DeclinedTransaction::Source::CardDecline#actioner + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#actioner module Actioner extend Increase::Internal::Type::Enum @@ -690,7 +690,7 @@ module Actioner # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @see Increase::DeclinedTransaction::Source::CardDecline#currency + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#currency module Currency extend Increase::Internal::Type::Enum @@ -719,7 +719,7 @@ module Currency # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @see Increase::DeclinedTransaction::Source::CardDecline#direction + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#direction module Direction extend Increase::Internal::Type::Enum @@ -733,19 +733,19 @@ module Direction # @return [Array] end - # @see Increase::DeclinedTransaction::Source::CardDecline#network_details + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#network_details class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute category # The payment network used to process this card authorization. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] required :category, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category } # @!attribute visa # Fields specific to the `visa` network. # - # @return [Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] required :visa, -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa }, nil?: true @@ -753,13 +753,13 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!method initialize(category:, visa:) # Fields specific to the `network`. # - # @param category [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization. + # @param category [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param visa [Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network. + # @param visa [Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa, nil] Fields specific to the `visa` network. # The payment network used to process this card authorization. # - # @see Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails#category + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#category module Category extend Increase::Internal::Type::Enum @@ -770,14 +770,14 @@ module Category # @return [Array] end - # @see Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails#visa + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] required :electronic_commerce_indicator, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator @@ -788,7 +788,7 @@ class Visa < Increase::Internal::Type::BaseModel # The method used to enter the cardholder's primary account number and card # expiration date. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] required :point_of_service_entry_mode, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode @@ -799,7 +799,7 @@ class Visa < Increase::Internal::Type::BaseModel # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] required :stand_in_processing_reason, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason @@ -808,22 +808,22 @@ class Visa < Increase::Internal::Type::BaseModel # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa} for - # more details. + # {Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa} + # for more details. # # Fields specific to the `visa` network. # - # @param electronic_commerce_indicator [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used + # @param electronic_commerce_indicator [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used # - # @param point_of_service_entry_mode [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira + # @param point_of_service_entry_mode [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira # - # @param stand_in_processing_reason [Symbol, Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap + # @param stand_in_processing_reason [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @see Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa#electronic_commerce_indicator + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa#electronic_commerce_indicator module ElectronicCommerceIndicator extend Increase::Internal::Type::Enum @@ -859,7 +859,7 @@ module ElectronicCommerceIndicator # The method used to enter the cardholder's primary account number and card # expiration date. # - # @see Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa#point_of_service_entry_mode + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa#point_of_service_entry_mode module PointOfServiceEntryMode extend Increase::Internal::Type::Enum @@ -900,7 +900,7 @@ module PointOfServiceEntryMode # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @see Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa#stand_in_processing_reason + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa#stand_in_processing_reason module StandInProcessingReason extend Increase::Internal::Type::Enum @@ -933,7 +933,7 @@ module StandInProcessingReason end end - # @see Increase::DeclinedTransaction::Source::CardDecline#network_identifiers + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -959,8 +959,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers} for - # more details. + # {Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers} + # for more details. # # Network-specific identifiers for a specific request or transaction. # @@ -974,7 +974,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @see Increase::DeclinedTransaction::Source::CardDecline#processing_category + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#processing_category module ProcessingCategory extend Increase::Internal::Type::Enum @@ -1003,7 +1003,7 @@ module ProcessingCategory # This is present if a specific decline reason was given in the real-time # decision. # - # @see Increase::DeclinedTransaction::Source::CardDecline#real_time_decision_reason + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#real_time_decision_reason module RealTimeDecisionReason extend Increase::Internal::Type::Enum @@ -1031,7 +1031,7 @@ module RealTimeDecisionReason # Why the transaction was declined. # - # @see Increase::DeclinedTransaction::Source::CardDecline#reason + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#reason module Reason extend Increase::Internal::Type::Enum @@ -1093,13 +1093,13 @@ module Reason # @return [Array] end - # @see Increase::DeclinedTransaction::Source::CardDecline#verification + # @see Increase::Models::DeclinedTransaction::Source::CardDecline#verification class Verification < Increase::Internal::Type::BaseModel # @!attribute card_verification_code # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @return [Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode] + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode] required :card_verification_code, -> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode @@ -1109,7 +1109,7 @@ class Verification < Increase::Internal::Type::BaseModel # Cardholder address provided in the authorization request and the address on file # we verified it against. # - # @return [Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress] + # @return [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress] required :cardholder_address, -> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress @@ -1117,21 +1117,21 @@ class Verification < Increase::Internal::Type::BaseModel # @!method initialize(card_verification_code:, cardholder_address:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::CardDecline::Verification} for more - # details. + # {Increase::Models::DeclinedTransaction::Source::CardDecline::Verification} for + # more details. # # Fields related to verification of cardholder-provided values. # - # @param card_verification_code [Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on + # @param card_verification_code [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on # - # @param cardholder_address [Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file + # @param cardholder_address [Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file - # @see Increase::DeclinedTransaction::Source::CardDecline::Verification#card_verification_code + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::Verification#card_verification_code class CardVerificationCode < Increase::Internal::Type::BaseModel # @!attribute result # The result of verifying the Card Verification Code. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result] required :result, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result @@ -1141,11 +1141,11 @@ class CardVerificationCode < Increase::Internal::Type::BaseModel # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @param result [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. + # @param result [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. # The result of verifying the Card Verification Code. # - # @see Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode#result + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode#result module Result extend Increase::Internal::Type::Enum @@ -1163,7 +1163,7 @@ module Result end end - # @see Increase::DeclinedTransaction::Source::CardDecline::Verification#cardholder_address + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::Verification#cardholder_address class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute actual_line1 # Line 1 of the address on file for the cardholder. @@ -1193,7 +1193,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute result # The address verification result returned to the card network. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result] required :result, enum: -> { Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result @@ -1201,7 +1201,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress} + # {Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress} # for more details. # # Cardholder address provided in the authorization request and the address on file @@ -1215,11 +1215,11 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request. # - # @param result [Symbol, Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result] The address verification result returned to the card network. + # @param result [Symbol, Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::Result] The address verification result returned to the card network. # The address verification result returned to the card network. # - # @see Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress#result + # @see Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress#result module Result extend Increase::Internal::Type::Enum @@ -1251,7 +1251,7 @@ module Result # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @see Increase::DeclinedTransaction::Source#category + # @see Increase::Models::DeclinedTransaction::Source#category module Category extend Increase::Internal::Type::Enum @@ -1280,7 +1280,7 @@ module Category # @return [Array] end - # @see Increase::DeclinedTransaction::Source#check_decline + # @see Increase::Models::DeclinedTransaction::Source#check_decline class CheckDecline < Increase::Internal::Type::BaseModel # @!attribute amount # The declined amount in USD cents. @@ -1325,12 +1325,12 @@ class CheckDecline < Increase::Internal::Type::BaseModel # @!attribute reason # Why the check was declined. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CheckDecline::Reason] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDecline::Reason] required :reason, enum: -> { Increase::DeclinedTransaction::Source::CheckDecline::Reason } # @!method initialize(amount:, auxiliary_on_us:, back_image_file_id:, check_transfer_id:, front_image_file_id:, inbound_check_deposit_id:, reason:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::CheckDecline} for more details. + # {Increase::Models::DeclinedTransaction::Source::CheckDecline} for more details. # # A Check Decline object. This field will be present in the JSON response if and # only if `category` is equal to `check_decline`. @@ -1347,11 +1347,11 @@ class CheckDecline < Increase::Internal::Type::BaseModel # # @param inbound_check_deposit_id [String, nil] The identifier of the Inbound Check Deposit object associated with this decline. # - # @param reason [Symbol, Increase::DeclinedTransaction::Source::CheckDecline::Reason] Why the check was declined. + # @param reason [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDecline::Reason] Why the check was declined. # Why the check was declined. # - # @see Increase::DeclinedTransaction::Source::CheckDecline#reason + # @see Increase::Models::DeclinedTransaction::Source::CheckDecline#reason module Reason extend Increase::Internal::Type::Enum @@ -1411,7 +1411,7 @@ module Reason end end - # @see Increase::DeclinedTransaction::Source#check_deposit_rejection + # @see Increase::Models::DeclinedTransaction::Source#check_deposit_rejection class CheckDepositRejection < Increase::Internal::Type::BaseModel # @!attribute amount # The rejected amount in the minor unit of check's currency. For dollars, for @@ -1430,7 +1430,7 @@ class CheckDepositRejection < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::Currency] required :currency, enum: -> { Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency @@ -1445,7 +1445,7 @@ class CheckDepositRejection < Increase::Internal::Type::BaseModel # @!attribute reason # Why the check deposit was rejected. # - # @return [Symbol, Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::Reason] required :reason, enum: -> { Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason } # @!attribute rejected_at @@ -1457,7 +1457,8 @@ class CheckDepositRejection < Increase::Internal::Type::BaseModel # @!method initialize(amount:, check_deposit_id:, currency:, declined_transaction_id:, reason:, rejected_at:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::CheckDepositRejection} for more details. + # {Increase::Models::DeclinedTransaction::Source::CheckDepositRejection} for more + # details. # # A Check Deposit Rejection object. This field will be present in the JSON # response if and only if `category` is equal to `check_deposit_rejection`. @@ -1466,18 +1467,18 @@ class CheckDepositRejection < Increase::Internal::Type::BaseModel # # @param check_deposit_id [String] The identifier of the Check Deposit that was rejected. # - # @param currency [Symbol, Increase::DeclinedTransaction::Source::CheckDepositRejection::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr + # @param currency [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr # # @param declined_transaction_id [String] The identifier of the associated declined transaction. # - # @param reason [Symbol, Increase::DeclinedTransaction::Source::CheckDepositRejection::Reason] Why the check deposit was rejected. + # @param reason [Symbol, Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::Reason] Why the check deposit was rejected. # # @param rejected_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @see Increase::DeclinedTransaction::Source::CheckDepositRejection#currency + # @see Increase::Models::DeclinedTransaction::Source::CheckDepositRejection#currency module Currency extend Increase::Internal::Type::Enum @@ -1505,7 +1506,7 @@ module Currency # Why the check deposit was rejected. # - # @see Increase::DeclinedTransaction::Source::CheckDepositRejection#reason + # @see Increase::Models::DeclinedTransaction::Source::CheckDepositRejection#reason module Reason extend Increase::Internal::Type::Enum @@ -1547,7 +1548,7 @@ module Reason end end - # @see Increase::DeclinedTransaction::Source#inbound_real_time_payments_transfer_decline + # @see Increase::Models::DeclinedTransaction::Source#inbound_real_time_payments_transfer_decline class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel # @!attribute amount # The declined amount in the minor unit of the destination account currency. For @@ -1567,7 +1568,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # transfer's currency. This will always be "USD" for a Real-Time Payments # transfer. # - # @return [Symbol, Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency] required :currency, enum: -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency @@ -1594,7 +1595,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # @!attribute reason # Why the transfer was declined. # - # @return [Symbol, Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason] required :reason, enum: -> { Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason @@ -1620,7 +1621,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # @!method initialize(amount:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, reason:, remittance_information:, transaction_identification:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline} + # {Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline} # for more details. # # An Inbound Real-Time Payments Transfer Decline object. This field will be @@ -1631,7 +1632,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # # @param creditor_name [String] The name the sender of the transfer specified as the recipient of the transfer. # - # @param currency [Symbol, Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined tran + # @param currency [Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined tran # # @param debtor_account_number [String] The account number of the account that sent the transfer. # @@ -1639,7 +1640,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # # @param debtor_routing_number [String] The routing number of the account that sent the transfer. # - # @param reason [Symbol, Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason] Why the transfer was declined. + # @param reason [Symbol, Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::Reason] Why the transfer was declined. # # @param remittance_information [String, nil] Additional information included with the transfer. # @@ -1651,7 +1652,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # transfer's currency. This will always be "USD" for a Real-Time Payments # transfer. # - # @see Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline#currency + # @see Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline#currency module Currency extend Increase::Internal::Type::Enum @@ -1679,7 +1680,7 @@ module Currency # Why the transfer was declined. # - # @see Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline#reason + # @see Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline#reason module Reason extend Increase::Internal::Type::Enum @@ -1706,7 +1707,7 @@ module Reason end end - # @see Increase::DeclinedTransaction::Source#wire_decline + # @see Increase::Models::DeclinedTransaction::Source#wire_decline class WireDecline < Increase::Internal::Type::BaseModel # @!attribute inbound_wire_transfer_id # The identifier of the Inbound Wire Transfer that was declined. @@ -1717,7 +1718,7 @@ class WireDecline < Increase::Internal::Type::BaseModel # @!attribute reason # Why the wire transfer was declined. # - # @return [Symbol, Increase::DeclinedTransaction::Source::WireDecline::Reason] + # @return [Symbol, Increase::Models::DeclinedTransaction::Source::WireDecline::Reason] required :reason, enum: -> { Increase::DeclinedTransaction::Source::WireDecline::Reason } # @!method initialize(inbound_wire_transfer_id:, reason:) @@ -1726,11 +1727,11 @@ class WireDecline < Increase::Internal::Type::BaseModel # # @param inbound_wire_transfer_id [String] The identifier of the Inbound Wire Transfer that was declined. # - # @param reason [Symbol, Increase::DeclinedTransaction::Source::WireDecline::Reason] Why the wire transfer was declined. + # @param reason [Symbol, Increase::Models::DeclinedTransaction::Source::WireDecline::Reason] Why the wire transfer was declined. # Why the wire transfer was declined. # - # @see Increase::DeclinedTransaction::Source::WireDecline#reason + # @see Increase::Models::DeclinedTransaction::Source::WireDecline#reason module Reason extend Increase::Internal::Type::Enum @@ -1761,7 +1762,7 @@ module Reason # A constant representing the object's type. For this resource it will always be # `declined_transaction`. # - # @see Increase::DeclinedTransaction#type + # @see Increase::Models::DeclinedTransaction#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/declined_transaction_list_params.rb b/lib/increase/models/declined_transaction_list_params.rb index 8ca0de6af..c7ecd84a9 100644 --- a/lib/increase/models/declined_transaction_list_params.rb +++ b/lib/increase/models/declined_transaction_list_params.rb @@ -15,12 +15,12 @@ class DeclinedTransactionListParams < Increase::Internal::Type::BaseModel # @!attribute category # - # @return [Increase::DeclinedTransactionListParams::Category, nil] + # @return [Increase::Models::DeclinedTransactionListParams::Category, nil] optional :category, -> { Increase::DeclinedTransactionListParams::Category } # @!attribute created_at # - # @return [Increase::DeclinedTransactionListParams::CreatedAt, nil] + # @return [Increase::Models::DeclinedTransactionListParams::CreatedAt, nil] optional :created_at, -> { Increase::DeclinedTransactionListParams::CreatedAt } # @!attribute cursor @@ -48,9 +48,9 @@ class DeclinedTransactionListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Declined Transactions to ones belonging to the specified Account. # - # @param category [Increase::DeclinedTransactionListParams::Category] + # @param category [Increase::Models::DeclinedTransactionListParams::Category] # - # @param created_at [Increase::DeclinedTransactionListParams::CreatedAt] + # @param created_at [Increase::Models::DeclinedTransactionListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -65,7 +65,7 @@ class Category < Increase::Internal::Type::BaseModel # Return results whose value is in the provided list. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::DeclinedTransactionListParams::Category::In] @@ -74,9 +74,9 @@ class Category < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransactionListParams::Category} for more details. + # {Increase::Models::DeclinedTransactionListParams::Category} for more details. # - # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul + # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul module In extend Increase::Internal::Type::Enum @@ -138,7 +138,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::DeclinedTransactionListParams::CreatedAt} for more details. + # {Increase::Models::DeclinedTransactionListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/digital_card_profile.rb b/lib/increase/models/digital_card_profile.rb index b2a68056d..2c5a5bfee 100644 --- a/lib/increase/models/digital_card_profile.rb +++ b/lib/increase/models/digital_card_profile.rb @@ -76,25 +76,25 @@ class DigitalCardProfile < Increase::Internal::Type::BaseModel # @!attribute status # The status of the Card Profile. # - # @return [Symbol, Increase::DigitalCardProfile::Status] + # @return [Symbol, Increase::Models::DigitalCardProfile::Status] required :status, enum: -> { Increase::DigitalCardProfile::Status } # @!attribute text_color # The Card's text color, specified as an RGB triple. # - # @return [Increase::DigitalCardProfile::TextColor] + # @return [Increase::Models::DigitalCardProfile::TextColor] required :text_color, -> { Increase::DigitalCardProfile::TextColor } # @!attribute type # A constant representing the object's type. For this resource it will always be # `digital_card_profile`. # - # @return [Symbol, Increase::DigitalCardProfile::Type] + # @return [Symbol, Increase::Models::DigitalCardProfile::Type] required :type, enum: -> { Increase::DigitalCardProfile::Type } # @!method initialize(id:, app_icon_file_id:, background_image_file_id:, card_description:, contact_email:, contact_phone:, contact_website:, created_at:, description:, idempotency_key:, issuer_name:, status:, text_color:, type:) # Some parameter documentations has been truncated, see - # {Increase::DigitalCardProfile} for more details. + # {Increase::Models::DigitalCardProfile} for more details. # # This contains artwork and metadata relating to a Card's appearance in digital # wallet apps like Apple Pay and Google Pay. For more information, see our guide @@ -122,15 +122,15 @@ class DigitalCardProfile < Increase::Internal::Type::BaseModel # # @param issuer_name [String] A user-facing description for whoever is issuing the card. # - # @param status [Symbol, Increase::DigitalCardProfile::Status] The status of the Card Profile. + # @param status [Symbol, Increase::Models::DigitalCardProfile::Status] The status of the Card Profile. # - # @param text_color [Increase::DigitalCardProfile::TextColor] The Card's text color, specified as an RGB triple. + # @param text_color [Increase::Models::DigitalCardProfile::TextColor] The Card's text color, specified as an RGB triple. # - # @param type [Symbol, Increase::DigitalCardProfile::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::DigitalCardProfile::Type] A constant representing the object's type. For this resource it will always be ` # The status of the Card Profile. # - # @see Increase::DigitalCardProfile#status + # @see Increase::Models::DigitalCardProfile#status module Status extend Increase::Internal::Type::Enum @@ -150,7 +150,7 @@ module Status # @return [Array] end - # @see Increase::DigitalCardProfile#text_color + # @see Increase::Models::DigitalCardProfile#text_color class TextColor < Increase::Internal::Type::BaseModel # @!attribute blue # The value of the blue channel in the RGB color. @@ -183,7 +183,7 @@ class TextColor < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `digital_card_profile`. # - # @see Increase::DigitalCardProfile#type + # @see Increase::Models::DigitalCardProfile#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/digital_card_profile_clone_params.rb b/lib/increase/models/digital_card_profile_clone_params.rb index 97e660124..8d6787a3e 100644 --- a/lib/increase/models/digital_card_profile_clone_params.rb +++ b/lib/increase/models/digital_card_profile_clone_params.rb @@ -58,7 +58,7 @@ class DigitalCardProfileCloneParams < Increase::Internal::Type::BaseModel # @!attribute text_color # The Card's text color, specified as an RGB triple. The default is white. # - # @return [Increase::DigitalCardProfileCloneParams::TextColor, nil] + # @return [Increase::Models::DigitalCardProfileCloneParams::TextColor, nil] optional :text_color, -> { Increase::DigitalCardProfileCloneParams::TextColor } # @!method initialize(app_icon_file_id: nil, background_image_file_id: nil, card_description: nil, contact_email: nil, contact_phone: nil, contact_website: nil, description: nil, issuer_name: nil, text_color: nil, request_options: {}) @@ -78,7 +78,7 @@ class DigitalCardProfileCloneParams < Increase::Internal::Type::BaseModel # # @param issuer_name [String] A user-facing description for whoever is issuing the card. # - # @param text_color [Increase::DigitalCardProfileCloneParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. + # @param text_color [Increase::Models::DigitalCardProfileCloneParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/digital_card_profile_create_params.rb b/lib/increase/models/digital_card_profile_create_params.rb index 72c0863cd..09b5913b1 100644 --- a/lib/increase/models/digital_card_profile_create_params.rb +++ b/lib/increase/models/digital_card_profile_create_params.rb @@ -58,7 +58,7 @@ class DigitalCardProfileCreateParams < Increase::Internal::Type::BaseModel # @!attribute text_color # The Card's text color, specified as an RGB triple. The default is white. # - # @return [Increase::DigitalCardProfileCreateParams::TextColor, nil] + # @return [Increase::Models::DigitalCardProfileCreateParams::TextColor, nil] optional :text_color, -> { Increase::DigitalCardProfileCreateParams::TextColor } # @!method initialize(app_icon_file_id:, background_image_file_id:, card_description:, description:, issuer_name:, contact_email: nil, contact_phone: nil, contact_website: nil, text_color: nil, request_options: {}) @@ -78,7 +78,7 @@ class DigitalCardProfileCreateParams < Increase::Internal::Type::BaseModel # # @param contact_website [String] A website the user can visit to view and receive support for their card. # - # @param text_color [Increase::DigitalCardProfileCreateParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. + # @param text_color [Increase::Models::DigitalCardProfileCreateParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/digital_card_profile_list_params.rb b/lib/increase/models/digital_card_profile_list_params.rb index 3a559222c..03d17012a 100644 --- a/lib/increase/models/digital_card_profile_list_params.rb +++ b/lib/increase/models/digital_card_profile_list_params.rb @@ -31,7 +31,7 @@ class DigitalCardProfileListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::DigitalCardProfileListParams::Status, nil] + # @return [Increase::Models::DigitalCardProfileListParams::Status, nil] optional :status, -> { Increase::DigitalCardProfileListParams::Status } # @!method initialize(cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -44,7 +44,7 @@ class DigitalCardProfileListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::DigitalCardProfileListParams::Status] + # @param status [Increase::Models::DigitalCardProfileListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -54,7 +54,7 @@ class Status < Increase::Internal::Type::BaseModel # or statuses. For GET requests, this should be encoded as a comma-delimited # string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::DigitalCardProfileListParams::Status::In] @@ -63,9 +63,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::DigitalCardProfileListParams::Status} for more details. + # {Increase::Models::DigitalCardProfileListParams::Status} for more details. # - # @param in_ [Array] Filter Digital Card Profiles for those with the specified digital wallet status + # @param in_ [Array] Filter Digital Card Profiles for those with the specified digital wallet status module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/digital_wallet_token.rb b/lib/increase/models/digital_wallet_token.rb index 56af6ef58..9d6012098 100644 --- a/lib/increase/models/digital_wallet_token.rb +++ b/lib/increase/models/digital_wallet_token.rb @@ -19,7 +19,7 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel # @!attribute cardholder # The cardholder information given when the Digital Wallet Token was created. # - # @return [Increase::DigitalWalletToken::Cardholder] + # @return [Increase::Models::DigitalWalletToken::Cardholder] required :cardholder, -> { Increase::DigitalWalletToken::Cardholder } # @!attribute created_at @@ -32,37 +32,37 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel # @!attribute device # The device that was used to create the Digital Wallet Token. # - # @return [Increase::DigitalWalletToken::Device] + # @return [Increase::Models::DigitalWalletToken::Device] required :device, -> { Increase::DigitalWalletToken::Device } # @!attribute status # This indicates if payments can be made with the Digital Wallet Token. # - # @return [Symbol, Increase::DigitalWalletToken::Status] + # @return [Symbol, Increase::Models::DigitalWalletToken::Status] required :status, enum: -> { Increase::DigitalWalletToken::Status } # @!attribute token_requestor # The digital wallet app being used. # - # @return [Symbol, Increase::DigitalWalletToken::TokenRequestor] + # @return [Symbol, Increase::Models::DigitalWalletToken::TokenRequestor] required :token_requestor, enum: -> { Increase::DigitalWalletToken::TokenRequestor } # @!attribute type # A constant representing the object's type. For this resource it will always be # `digital_wallet_token`. # - # @return [Symbol, Increase::DigitalWalletToken::Type] + # @return [Symbol, Increase::Models::DigitalWalletToken::Type] required :type, enum: -> { Increase::DigitalWalletToken::Type } # @!attribute updates # Updates to the Digital Wallet Token. # - # @return [Array] + # @return [Array] required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::DigitalWalletToken::Update] } # @!method initialize(id:, card_id:, cardholder:, created_at:, device:, status:, token_requestor:, type:, updates:) # Some parameter documentations has been truncated, see - # {Increase::DigitalWalletToken} for more details. + # {Increase::Models::DigitalWalletToken} for more details. # # A Digital Wallet Token is created when a user adds a Card to their Apple Pay or # Google Pay app. The Digital Wallet Token can be used for purchases just like a @@ -72,21 +72,21 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel # # @param card_id [String] The identifier for the Card this Digital Wallet Token belongs to. # - # @param cardholder [Increase::DigitalWalletToken::Cardholder] The cardholder information given when the Digital Wallet Token was created. + # @param cardholder [Increase::Models::DigitalWalletToken::Cardholder] The cardholder information given when the Digital Wallet Token was created. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param device [Increase::DigitalWalletToken::Device] The device that was used to create the Digital Wallet Token. + # @param device [Increase::Models::DigitalWalletToken::Device] The device that was used to create the Digital Wallet Token. # - # @param status [Symbol, Increase::DigitalWalletToken::Status] This indicates if payments can be made with the Digital Wallet Token. + # @param status [Symbol, Increase::Models::DigitalWalletToken::Status] This indicates if payments can be made with the Digital Wallet Token. # - # @param token_requestor [Symbol, Increase::DigitalWalletToken::TokenRequestor] The digital wallet app being used. + # @param token_requestor [Symbol, Increase::Models::DigitalWalletToken::TokenRequestor] The digital wallet app being used. # - # @param type [Symbol, Increase::DigitalWalletToken::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::DigitalWalletToken::Type] A constant representing the object's type. For this resource it will always be ` # - # @param updates [Array] Updates to the Digital Wallet Token. + # @param updates [Array] Updates to the Digital Wallet Token. - # @see Increase::DigitalWalletToken#cardholder + # @see Increase::Models::DigitalWalletToken#cardholder class Cardholder < Increase::Internal::Type::BaseModel # @!attribute name # Name of the cardholder, for example "John Smith". @@ -100,12 +100,12 @@ class Cardholder < Increase::Internal::Type::BaseModel # @param name [String, nil] Name of the cardholder, for example "John Smith". end - # @see Increase::DigitalWalletToken#device + # @see Increase::Models::DigitalWalletToken#device class Device < Increase::Internal::Type::BaseModel # @!attribute device_type # Device type. # - # @return [Symbol, Increase::DigitalWalletToken::Device::DeviceType, nil] + # @return [Symbol, Increase::Models::DigitalWalletToken::Device::DeviceType, nil] required :device_type, enum: -> { Increase::DigitalWalletToken::Device::DeviceType }, nil?: true # @!attribute identifier @@ -129,7 +129,7 @@ class Device < Increase::Internal::Type::BaseModel # @!method initialize(device_type:, identifier:, ip_address:, name:) # The device that was used to create the Digital Wallet Token. # - # @param device_type [Symbol, Increase::DigitalWalletToken::Device::DeviceType, nil] Device type. + # @param device_type [Symbol, Increase::Models::DigitalWalletToken::Device::DeviceType, nil] Device type. # # @param identifier [String, nil] ID assigned to the device by the digital wallet provider. # @@ -139,7 +139,7 @@ class Device < Increase::Internal::Type::BaseModel # Device type. # - # @see Increase::DigitalWalletToken::Device#device_type + # @see Increase::Models::DigitalWalletToken::Device#device_type module DeviceType extend Increase::Internal::Type::Enum @@ -177,7 +177,7 @@ module DeviceType # This indicates if payments can be made with the Digital Wallet Token. # - # @see Increase::DigitalWalletToken#status + # @see Increase::Models::DigitalWalletToken#status module Status extend Increase::Internal::Type::Enum @@ -199,7 +199,7 @@ module Status # The digital wallet app being used. # - # @see Increase::DigitalWalletToken#token_requestor + # @see Increase::Models::DigitalWalletToken#token_requestor module TokenRequestor extend Increase::Internal::Type::Enum @@ -222,7 +222,7 @@ module TokenRequestor # A constant representing the object's type. For this resource it will always be # `digital_wallet_token`. # - # @see Increase::DigitalWalletToken#type + # @see Increase::Models::DigitalWalletToken#type module Type extend Increase::Internal::Type::Enum @@ -236,7 +236,7 @@ class Update < Increase::Internal::Type::BaseModel # @!attribute status # The status the update changed this Digital Wallet Token to. # - # @return [Symbol, Increase::DigitalWalletToken::Update::Status] + # @return [Symbol, Increase::Models::DigitalWalletToken::Update::Status] required :status, enum: -> { Increase::DigitalWalletToken::Update::Status } # @!attribute timestamp @@ -248,15 +248,15 @@ class Update < Increase::Internal::Type::BaseModel # @!method initialize(status:, timestamp:) # Some parameter documentations has been truncated, see - # {Increase::DigitalWalletToken::Update} for more details. + # {Increase::Models::DigitalWalletToken::Update} for more details. # - # @param status [Symbol, Increase::DigitalWalletToken::Update::Status] The status the update changed this Digital Wallet Token to. + # @param status [Symbol, Increase::Models::DigitalWalletToken::Update::Status] The status the update changed this Digital Wallet Token to. # # @param timestamp [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # The status the update changed this Digital Wallet Token to. # - # @see Increase::DigitalWalletToken::Update#status + # @see Increase::Models::DigitalWalletToken::Update#status module Status extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/digital_wallet_token_list_params.rb b/lib/increase/models/digital_wallet_token_list_params.rb index f676830b8..8889ecfd9 100644 --- a/lib/increase/models/digital_wallet_token_list_params.rb +++ b/lib/increase/models/digital_wallet_token_list_params.rb @@ -15,7 +15,7 @@ class DigitalWalletTokenListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::DigitalWalletTokenListParams::CreatedAt, nil] + # @return [Increase::Models::DigitalWalletTokenListParams::CreatedAt, nil] optional :created_at, -> { Increase::DigitalWalletTokenListParams::CreatedAt } # @!attribute cursor @@ -37,7 +37,7 @@ class DigitalWalletTokenListParams < Increase::Internal::Type::BaseModel # # @param card_id [String] Filter Digital Wallet Tokens to ones belonging to the specified Card. # - # @param created_at [Increase::DigitalWalletTokenListParams::CreatedAt] + # @param created_at [Increase::Models::DigitalWalletTokenListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -76,7 +76,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::DigitalWalletTokenListParams::CreatedAt} for more details. + # {Increase::Models::DigitalWalletTokenListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/document.rb b/lib/increase/models/document.rb index afce10480..24fb30536 100644 --- a/lib/increase/models/document.rb +++ b/lib/increase/models/document.rb @@ -13,7 +13,7 @@ class Document < Increase::Internal::Type::BaseModel # @!attribute category # The type of document. # - # @return [Symbol, Increase::Document::Category] + # @return [Symbol, Increase::Models::Document::Category] required :category, enum: -> { Increase::Document::Category } # @!attribute created_at @@ -39,19 +39,19 @@ class Document < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `document`. # - # @return [Symbol, Increase::Document::Type] + # @return [Symbol, Increase::Models::Document::Type] required :type, enum: -> { Increase::Document::Type } # @!method initialize(id:, category:, created_at:, entity_id:, file_id:, type:) - # Some parameter documentations has been truncated, see {Increase::Document} for - # more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::Document} for more details. # # Increase generates certain documents / forms automatically for your application; # they can be listed here. # # @param id [String] The Document identifier. # - # @param category [Symbol, Increase::Document::Category] The type of document. + # @param category [Symbol, Increase::Models::Document::Category] The type of document. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Documen # @@ -59,11 +59,11 @@ class Document < Increase::Internal::Type::BaseModel # # @param file_id [String] The identifier of the File containing the Document's contents. # - # @param type [Symbol, Increase::Document::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Document::Type] A constant representing the object's type. For this resource it will always be ` # The type of document. # - # @see Increase::Document#category + # @see Increase::Models::Document#category module Category extend Increase::Internal::Type::Enum @@ -86,7 +86,7 @@ module Category # A constant representing the object's type. For this resource it will always be # `document`. # - # @see Increase::Document#type + # @see Increase::Models::Document#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/document_list_params.rb b/lib/increase/models/document_list_params.rb index a020e8cff..564925220 100644 --- a/lib/increase/models/document_list_params.rb +++ b/lib/increase/models/document_list_params.rb @@ -9,12 +9,12 @@ class DocumentListParams < Increase::Internal::Type::BaseModel # @!attribute category # - # @return [Increase::DocumentListParams::Category, nil] + # @return [Increase::Models::DocumentListParams::Category, nil] optional :category, -> { Increase::DocumentListParams::Category } # @!attribute created_at # - # @return [Increase::DocumentListParams::CreatedAt, nil] + # @return [Increase::Models::DocumentListParams::CreatedAt, nil] optional :created_at, -> { Increase::DocumentListParams::CreatedAt } # @!attribute cursor @@ -40,9 +40,9 @@ class DocumentListParams < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::DocumentListParams} for more details. # - # @param category [Increase::DocumentListParams::Category] + # @param category [Increase::Models::DocumentListParams::Category] # - # @param created_at [Increase::DocumentListParams::CreatedAt] + # @param created_at [Increase::Models::DocumentListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -58,16 +58,16 @@ class Category < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::DocumentListParams::Category::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::DocumentListParams::Category} for more details. + # {Increase::Models::DocumentListParams::Category} for more details. # - # @param in_ [Array] Filter Documents for those with the specified category or categories. For GET re + # @param in_ [Array] Filter Documents for those with the specified category or categories. For GET re module In extend Increase::Internal::Type::Enum @@ -120,7 +120,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::DocumentListParams::CreatedAt} for more details. + # {Increase::Models::DocumentListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/entity.rb b/lib/increase/models/entity.rb index 35a9caafd..62e19ce4f 100644 --- a/lib/increase/models/entity.rb +++ b/lib/increase/models/entity.rb @@ -14,7 +14,7 @@ class Entity < Increase::Internal::Type::BaseModel # Details of the corporation entity. Will be present if `structure` is equal to # `corporation`. # - # @return [Increase::Entity::Corporation, nil] + # @return [Increase::Models::Entity::Corporation, nil] required :corporation, -> { Increase::Entity::Corporation }, nil?: true # @!attribute created_at @@ -41,7 +41,7 @@ class Entity < Increase::Internal::Type::BaseModel # Details of the government authority entity. Will be present if `structure` is # equal to `government_authority`. # - # @return [Increase::Entity::GovernmentAuthority, nil] + # @return [Increase::Models::Entity::GovernmentAuthority, nil] required :government_authority, -> { Increase::Entity::GovernmentAuthority }, nil?: true # @!attribute idempotency_key @@ -55,26 +55,26 @@ class Entity < Increase::Internal::Type::BaseModel # @!attribute joint # Details of the joint entity. Will be present if `structure` is equal to `joint`. # - # @return [Increase::Entity::Joint, nil] + # @return [Increase::Models::Entity::Joint, nil] required :joint, -> { Increase::Entity::Joint }, nil?: true # @!attribute natural_person # Details of the natural person entity. Will be present if `structure` is equal to # `natural_person`. # - # @return [Increase::Entity::NaturalPerson, nil] + # @return [Increase::Models::Entity::NaturalPerson, nil] required :natural_person, -> { Increase::Entity::NaturalPerson }, nil?: true # @!attribute status # The status of the entity. # - # @return [Symbol, Increase::Entity::Status] + # @return [Symbol, Increase::Models::Entity::Status] required :status, enum: -> { Increase::Entity::Status } # @!attribute structure # The entity's legal structure. # - # @return [Symbol, Increase::Entity::Structure] + # @return [Symbol, Increase::Models::Entity::Structure] required :structure, enum: -> { Increase::Entity::Structure } # @!attribute supplemental_documents @@ -82,7 +82,7 @@ class Entity < Increase::Internal::Type::BaseModel # first 10 documents for an entity. If an entity has more than 10 documents, use # the GET /entity_supplemental_documents list endpoint to retrieve them. # - # @return [Array] + # @return [Array] required :supplemental_documents, -> { Increase::Internal::Type::ArrayOf[Increase::EntitySupplementalDocument] } @@ -90,32 +90,32 @@ class Entity < Increase::Internal::Type::BaseModel # A reference to data stored in a third-party verification service. Your # integration may or may not use this field. # - # @return [Increase::Entity::ThirdPartyVerification, nil] + # @return [Increase::Models::Entity::ThirdPartyVerification, nil] required :third_party_verification, -> { Increase::Entity::ThirdPartyVerification }, nil?: true # @!attribute trust # Details of the trust entity. Will be present if `structure` is equal to `trust`. # - # @return [Increase::Entity::Trust, nil] + # @return [Increase::Models::Entity::Trust, nil] required :trust, -> { Increase::Entity::Trust }, nil?: true # @!attribute type # A constant representing the object's type. For this resource it will always be # `entity`. # - # @return [Symbol, Increase::Entity::Type] + # @return [Symbol, Increase::Models::Entity::Type] required :type, enum: -> { Increase::Entity::Type } # @!method initialize(id:, corporation:, created_at:, description:, details_confirmed_at:, government_authority:, idempotency_key:, joint:, natural_person:, status:, structure:, supplemental_documents:, third_party_verification:, trust:, type:) - # Some parameter documentations has been truncated, see {Increase::Entity} for - # more details. + # Some parameter documentations has been truncated, see {Increase::Models::Entity} + # for more details. # # Entities are the legal entities that own accounts. They can be people, # corporations, partnerships, government authorities, or trusts. # # @param id [String] The entity's identifier. # - # @param corporation [Increase::Entity::Corporation, nil] Details of the corporation entity. Will be present if `structure` is equal to `c + # @param corporation [Increase::Models::Entity::Corporation, nil] Details of the corporation entity. Will be present if `structure` is equal to `c # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity # @@ -123,39 +123,39 @@ class Entity < Increase::Internal::Type::BaseModel # # @param details_confirmed_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Entity' # - # @param government_authority [Increase::Entity::GovernmentAuthority, nil] Details of the government authority entity. Will be present if `structure` is eq + # @param government_authority [Increase::Models::Entity::GovernmentAuthority, nil] Details of the government authority entity. Will be present if `structure` is eq # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param joint [Increase::Entity::Joint, nil] Details of the joint entity. Will be present if `structure` is equal to `joint`. + # @param joint [Increase::Models::Entity::Joint, nil] Details of the joint entity. Will be present if `structure` is equal to `joint`. # - # @param natural_person [Increase::Entity::NaturalPerson, nil] Details of the natural person entity. Will be present if `structure` is equal to + # @param natural_person [Increase::Models::Entity::NaturalPerson, nil] Details of the natural person entity. Will be present if `structure` is equal to # - # @param status [Symbol, Increase::Entity::Status] The status of the entity. + # @param status [Symbol, Increase::Models::Entity::Status] The status of the entity. # - # @param structure [Symbol, Increase::Entity::Structure] The entity's legal structure. + # @param structure [Symbol, Increase::Models::Entity::Structure] The entity's legal structure. # - # @param supplemental_documents [Array] Additional documentation associated with the entity. This is limited to the firs + # @param supplemental_documents [Array] Additional documentation associated with the entity. This is limited to the firs # - # @param third_party_verification [Increase::Entity::ThirdPartyVerification, nil] A reference to data stored in a third-party verification service. Your integrati + # @param third_party_verification [Increase::Models::Entity::ThirdPartyVerification, nil] A reference to data stored in a third-party verification service. Your integrati # - # @param trust [Increase::Entity::Trust, nil] Details of the trust entity. Will be present if `structure` is equal to `trust`. + # @param trust [Increase::Models::Entity::Trust, nil] Details of the trust entity. Will be present if `structure` is equal to `trust`. # - # @param type [Symbol, Increase::Entity::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Entity::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::Entity#corporation + # @see Increase::Models::Entity#corporation class Corporation < Increase::Internal::Type::BaseModel # @!attribute address # The corporation's address. # - # @return [Increase::Entity::Corporation::Address] + # @return [Increase::Models::Entity::Corporation::Address] required :address, -> { Increase::Entity::Corporation::Address } # @!attribute beneficial_owners # The identifying details of anyone controlling or owning 25% or more of the # corporation. # - # @return [Array] + # @return [Array] required :beneficial_owners, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::Corporation::BeneficialOwner] } @@ -193,14 +193,14 @@ class Corporation < Increase::Internal::Type::BaseModel # @!method initialize(address:, beneficial_owners:, incorporation_state:, industry_code:, name:, tax_identifier:, website:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Corporation} for more details. + # {Increase::Models::Entity::Corporation} for more details. # # Details of the corporation entity. Will be present if `structure` is equal to # `corporation`. # - # @param address [Increase::Entity::Corporation::Address] The corporation's address. + # @param address [Increase::Models::Entity::Corporation::Address] The corporation's address. # - # @param beneficial_owners [Array] The identifying details of anyone controlling or owning 25% or more of the corpo + # @param beneficial_owners [Array] The identifying details of anyone controlling or owning 25% or more of the corpo # # @param incorporation_state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the corporat # @@ -212,7 +212,7 @@ class Corporation < Increase::Internal::Type::BaseModel # # @param website [String, nil] The website of the corporation. - # @see Increase::Entity::Corporation#address + # @see Increase::Models::Entity::Corporation#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -247,7 +247,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Corporation::Address} for more details. + # {Increase::Models::Entity::Corporation::Address} for more details. # # The corporation's address. # @@ -278,13 +278,13 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # @!attribute individual # Personal details for the beneficial owner. # - # @return [Increase::Entity::Corporation::BeneficialOwner::Individual] + # @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual] required :individual, -> { Increase::Entity::Corporation::BeneficialOwner::Individual } # @!attribute prong # Why this person is considered a beneficial owner of the entity. # - # @return [Symbol, Increase::Entity::Corporation::BeneficialOwner::Prong] + # @return [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Prong] required :prong, enum: -> { Increase::Entity::Corporation::BeneficialOwner::Prong } # @!method initialize(beneficial_owner_id:, company_title:, individual:, prong:) @@ -292,16 +292,16 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # # @param company_title [String, nil] This person's role or title within the entity. # - # @param individual [Increase::Entity::Corporation::BeneficialOwner::Individual] Personal details for the beneficial owner. + # @param individual [Increase::Models::Entity::Corporation::BeneficialOwner::Individual] Personal details for the beneficial owner. # - # @param prong [Symbol, Increase::Entity::Corporation::BeneficialOwner::Prong] Why this person is considered a beneficial owner of the entity. + # @param prong [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Prong] Why this person is considered a beneficial owner of the entity. - # @see Increase::Entity::Corporation::BeneficialOwner#individual + # @see Increase::Models::Entity::Corporation::BeneficialOwner#individual class Individual < Increase::Internal::Type::BaseModel # @!attribute address # The person's address. # - # @return [Increase::Entity::Corporation::BeneficialOwner::Individual::Address] + # @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address] required :address, -> { Increase::Entity::Corporation::BeneficialOwner::Individual::Address } # @!attribute date_of_birth @@ -313,7 +313,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::Entity::Corporation::BeneficialOwner::Individual::Identification] + # @return [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification] required :identification, -> { Increase::Entity::Corporation::BeneficialOwner::Individual::Identification } @@ -326,15 +326,15 @@ class Individual < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:) # Personal details for the beneficial owner. # - # @param address [Increase::Entity::Corporation::BeneficialOwner::Individual::Address] The person's address. + # @param address [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address] The person's address. # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::Entity::Corporation::BeneficialOwner::Individual::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. - # @see Increase::Entity::Corporation::BeneficialOwner::Individual#address + # @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city, district, town, or village of the address. @@ -375,8 +375,8 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, country:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Corporation::BeneficialOwner::Individual::Address} for more - # details. + # {Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Address} + # for more details. # # The person's address. # @@ -393,12 +393,12 @@ class Address < Increase::Internal::Type::BaseModel # @param zip [String, nil] The ZIP or postal code of the address. end - # @see Increase::Entity::Corporation::BeneficialOwner::Individual#identification + # @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method] + # @return [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::Method] required :method_, enum: -> { Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method @@ -414,18 +414,18 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number_last4:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Corporation::BeneficialOwner::Individual::Identification} for - # more details. + # {Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification} + # for more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity. # # @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in # A method that can be used to verify the individual's identity. # - # @see Increase::Entity::Corporation::BeneficialOwner::Individual::Identification#method_ + # @see Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -452,7 +452,7 @@ module Method # Why this person is considered a beneficial owner of the entity. # - # @see Increase::Entity::Corporation::BeneficialOwner#prong + # @see Increase::Models::Entity::Corporation::BeneficialOwner#prong module Prong extend Increase::Internal::Type::Enum @@ -468,18 +468,18 @@ module Prong end end - # @see Increase::Entity#government_authority + # @see Increase::Models::Entity#government_authority class GovernmentAuthority < Increase::Internal::Type::BaseModel # @!attribute address # The government authority's address. # - # @return [Increase::Entity::GovernmentAuthority::Address] + # @return [Increase::Models::Entity::GovernmentAuthority::Address] required :address, -> { Increase::Entity::GovernmentAuthority::Address } # @!attribute authorized_persons # The identifying details of authorized persons of the government authority. # - # @return [Array] + # @return [Array] required :authorized_persons, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::GovernmentAuthority::AuthorizedPerson] @@ -488,7 +488,7 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel # @!attribute category # The category of the government authority. # - # @return [Symbol, Increase::Entity::GovernmentAuthority::Category] + # @return [Symbol, Increase::Models::Entity::GovernmentAuthority::Category] required :category, enum: -> { Increase::Entity::GovernmentAuthority::Category } # @!attribute name @@ -513,11 +513,11 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel # Details of the government authority entity. Will be present if `structure` is # equal to `government_authority`. # - # @param address [Increase::Entity::GovernmentAuthority::Address] The government authority's address. + # @param address [Increase::Models::Entity::GovernmentAuthority::Address] The government authority's address. # - # @param authorized_persons [Array] The identifying details of authorized persons of the government authority. + # @param authorized_persons [Array] The identifying details of authorized persons of the government authority. # - # @param category [Symbol, Increase::Entity::GovernmentAuthority::Category] The category of the government authority. + # @param category [Symbol, Increase::Models::Entity::GovernmentAuthority::Category] The category of the government authority. # # @param name [String] The government authority's name. # @@ -525,7 +525,7 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel # # @param website [String, nil] The government authority's website. - # @see Increase::Entity::GovernmentAuthority#address + # @see Increase::Models::Entity::GovernmentAuthority#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -560,7 +560,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::GovernmentAuthority::Address} for more details. + # {Increase::Models::Entity::GovernmentAuthority::Address} for more details. # # The government authority's address. # @@ -596,7 +596,7 @@ class AuthorizedPerson < Increase::Internal::Type::BaseModel # The category of the government authority. # - # @see Increase::Entity::GovernmentAuthority#category + # @see Increase::Models::Entity::GovernmentAuthority#category module Category extend Increase::Internal::Type::Enum @@ -608,12 +608,12 @@ module Category end end - # @see Increase::Entity#joint + # @see Increase::Models::Entity#joint class Joint < Increase::Internal::Type::BaseModel # @!attribute individuals # The two individuals that share control of the entity. # - # @return [Array] + # @return [Array] required :individuals, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::Joint::Individual] } # @!attribute name @@ -625,7 +625,7 @@ class Joint < Increase::Internal::Type::BaseModel # @!method initialize(individuals:, name:) # Details of the joint entity. Will be present if `structure` is equal to `joint`. # - # @param individuals [Array] The two individuals that share control of the entity. + # @param individuals [Array] The two individuals that share control of the entity. # # @param name [String] The entity's name. @@ -633,7 +633,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute address # The person's address. # - # @return [Increase::Entity::Joint::Individual::Address] + # @return [Increase::Models::Entity::Joint::Individual::Address] required :address, -> { Increase::Entity::Joint::Individual::Address } # @!attribute date_of_birth @@ -645,7 +645,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::Entity::Joint::Individual::Identification] + # @return [Increase::Models::Entity::Joint::Individual::Identification] required :identification, -> { Increase::Entity::Joint::Individual::Identification } # @!attribute name @@ -655,15 +655,15 @@ class Individual < Increase::Internal::Type::BaseModel required :name, String # @!method initialize(address:, date_of_birth:, identification:, name:) - # @param address [Increase::Entity::Joint::Individual::Address] The person's address. + # @param address [Increase::Models::Entity::Joint::Individual::Address] The person's address. # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::Entity::Joint::Individual::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::Entity::Joint::Individual::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. - # @see Increase::Entity::Joint::Individual#address + # @see Increase::Models::Entity::Joint::Individual#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -698,7 +698,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Joint::Individual::Address} for more details. + # {Increase::Models::Entity::Joint::Individual::Address} for more details. # # The person's address. # @@ -713,12 +713,12 @@ class Address < Increase::Internal::Type::BaseModel # @param zip [String] The ZIP code of the address. end - # @see Increase::Entity::Joint::Individual#identification + # @see Increase::Models::Entity::Joint::Individual#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::Entity::Joint::Individual::Identification::Method] + # @return [Symbol, Increase::Models::Entity::Joint::Individual::Identification::Method] required :method_, enum: -> { Increase::Entity::Joint::Individual::Identification::Method }, api_name: :method @@ -732,17 +732,17 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number_last4:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Joint::Individual::Identification} for more details. + # {Increase::Models::Entity::Joint::Individual::Identification} for more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::Entity::Joint::Individual::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::Entity::Joint::Individual::Identification::Method] A method that can be used to verify the individual's identity. # # @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in # A method that can be used to verify the individual's identity. # - # @see Increase::Entity::Joint::Individual::Identification#method_ + # @see Increase::Models::Entity::Joint::Individual::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -768,12 +768,12 @@ module Method end end - # @see Increase::Entity#natural_person + # @see Increase::Models::Entity#natural_person class NaturalPerson < Increase::Internal::Type::BaseModel # @!attribute address # The person's address. # - # @return [Increase::Entity::NaturalPerson::Address] + # @return [Increase::Models::Entity::NaturalPerson::Address] required :address, -> { Increase::Entity::NaturalPerson::Address } # @!attribute date_of_birth @@ -785,7 +785,7 @@ class NaturalPerson < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::Entity::NaturalPerson::Identification] + # @return [Increase::Models::Entity::NaturalPerson::Identification] required :identification, -> { Increase::Entity::NaturalPerson::Identification } # @!attribute name @@ -798,15 +798,15 @@ class NaturalPerson < Increase::Internal::Type::BaseModel # Details of the natural person entity. Will be present if `structure` is equal to # `natural_person`. # - # @param address [Increase::Entity::NaturalPerson::Address] The person's address. + # @param address [Increase::Models::Entity::NaturalPerson::Address] The person's address. # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::Entity::NaturalPerson::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::Entity::NaturalPerson::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. - # @see Increase::Entity::NaturalPerson#address + # @see Increase::Models::Entity::NaturalPerson#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -841,7 +841,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::NaturalPerson::Address} for more details. + # {Increase::Models::Entity::NaturalPerson::Address} for more details. # # The person's address. # @@ -856,12 +856,12 @@ class Address < Increase::Internal::Type::BaseModel # @param zip [String] The ZIP code of the address. end - # @see Increase::Entity::NaturalPerson#identification + # @see Increase::Models::Entity::NaturalPerson#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::Entity::NaturalPerson::Identification::Method] + # @return [Symbol, Increase::Models::Entity::NaturalPerson::Identification::Method] required :method_, enum: -> { Increase::Entity::NaturalPerson::Identification::Method @@ -877,17 +877,17 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number_last4:) # Some parameter documentations has been truncated, see - # {Increase::Entity::NaturalPerson::Identification} for more details. + # {Increase::Models::Entity::NaturalPerson::Identification} for more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::Entity::NaturalPerson::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::Entity::NaturalPerson::Identification::Method] A method that can be used to verify the individual's identity. # # @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in # A method that can be used to verify the individual's identity. # - # @see Increase::Entity::NaturalPerson::Identification#method_ + # @see Increase::Models::Entity::NaturalPerson::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -914,7 +914,7 @@ module Method # The status of the entity. # - # @see Increase::Entity#status + # @see Increase::Models::Entity#status module Status extend Increase::Internal::Type::Enum @@ -933,7 +933,7 @@ module Status # The entity's legal structure. # - # @see Increase::Entity#structure + # @see Increase::Models::Entity#structure module Structure extend Increase::Internal::Type::Enum @@ -956,7 +956,7 @@ module Structure # @return [Array] end - # @see Increase::Entity#third_party_verification + # @see Increase::Models::Entity#third_party_verification class ThirdPartyVerification < Increase::Internal::Type::BaseModel # @!attribute reference # The reference identifier for the third party verification. @@ -967,7 +967,7 @@ class ThirdPartyVerification < Increase::Internal::Type::BaseModel # @!attribute vendor # The vendor that was used to perform the verification. # - # @return [Symbol, Increase::Entity::ThirdPartyVerification::Vendor] + # @return [Symbol, Increase::Models::Entity::ThirdPartyVerification::Vendor] required :vendor, enum: -> { Increase::Entity::ThirdPartyVerification::Vendor } # @!method initialize(reference:, vendor:) @@ -976,11 +976,11 @@ class ThirdPartyVerification < Increase::Internal::Type::BaseModel # # @param reference [String] The reference identifier for the third party verification. # - # @param vendor [Symbol, Increase::Entity::ThirdPartyVerification::Vendor] The vendor that was used to perform the verification. + # @param vendor [Symbol, Increase::Models::Entity::ThirdPartyVerification::Vendor] The vendor that was used to perform the verification. # The vendor that was used to perform the verification. # - # @see Increase::Entity::ThirdPartyVerification#vendor + # @see Increase::Models::Entity::ThirdPartyVerification#vendor module Vendor extend Increase::Internal::Type::Enum @@ -998,18 +998,18 @@ module Vendor end end - # @see Increase::Entity#trust + # @see Increase::Models::Entity#trust class Trust < Increase::Internal::Type::BaseModel # @!attribute address # The trust's address. # - # @return [Increase::Entity::Trust::Address] + # @return [Increase::Models::Entity::Trust::Address] required :address, -> { Increase::Entity::Trust::Address } # @!attribute category # Whether the trust is `revocable` or `irrevocable`. # - # @return [Symbol, Increase::Entity::Trust::Category] + # @return [Symbol, Increase::Models::Entity::Trust::Category] required :category, enum: -> { Increase::Entity::Trust::Category } # @!attribute formation_document_file_id @@ -1028,7 +1028,7 @@ class Trust < Increase::Internal::Type::BaseModel # @!attribute grantor # The grantor of the trust. Will be present if the `category` is `revocable`. # - # @return [Increase::Entity::Trust::Grantor, nil] + # @return [Increase::Models::Entity::Trust::Grantor, nil] required :grantor, -> { Increase::Entity::Trust::Grantor }, nil?: true # @!attribute name @@ -1046,32 +1046,32 @@ class Trust < Increase::Internal::Type::BaseModel # @!attribute trustees # The trustees of the trust. # - # @return [Array] + # @return [Array] required :trustees, -> { Increase::Internal::Type::ArrayOf[Increase::Entity::Trust::Trustee] } # @!method initialize(address:, category:, formation_document_file_id:, formation_state:, grantor:, name:, tax_identifier:, trustees:) - # Some parameter documentations has been truncated, see {Increase::Entity::Trust} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::Entity::Trust} for more details. # # Details of the trust entity. Will be present if `structure` is equal to `trust`. # - # @param address [Increase::Entity::Trust::Address] The trust's address. + # @param address [Increase::Models::Entity::Trust::Address] The trust's address. # - # @param category [Symbol, Increase::Entity::Trust::Category] Whether the trust is `revocable` or `irrevocable`. + # @param category [Symbol, Increase::Models::Entity::Trust::Category] Whether the trust is `revocable` or `irrevocable`. # # @param formation_document_file_id [String, nil] The ID for the File containing the formation document of the trust. # # @param formation_state [String, nil] The two-letter United States Postal Service (USPS) abbreviation for the state in # - # @param grantor [Increase::Entity::Trust::Grantor, nil] The grantor of the trust. Will be present if the `category` is `revocable`. + # @param grantor [Increase::Models::Entity::Trust::Grantor, nil] The grantor of the trust. Will be present if the `category` is `revocable`. # # @param name [String] The trust's name. # # @param tax_identifier [String, nil] The Employer Identification Number (EIN) of the trust itself. # - # @param trustees [Array] The trustees of the trust. + # @param trustees [Array] The trustees of the trust. - # @see Increase::Entity::Trust#address + # @see Increase::Models::Entity::Trust#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -1106,7 +1106,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Trust::Address} for more details. + # {Increase::Models::Entity::Trust::Address} for more details. # # The trust's address. # @@ -1123,7 +1123,7 @@ class Address < Increase::Internal::Type::BaseModel # Whether the trust is `revocable` or `irrevocable`. # - # @see Increase::Entity::Trust#category + # @see Increase::Models::Entity::Trust#category module Category extend Increase::Internal::Type::Enum @@ -1137,12 +1137,12 @@ module Category # @return [Array] end - # @see Increase::Entity::Trust#grantor + # @see Increase::Models::Entity::Trust#grantor class Grantor < Increase::Internal::Type::BaseModel # @!attribute address # The person's address. # - # @return [Increase::Entity::Trust::Grantor::Address] + # @return [Increase::Models::Entity::Trust::Grantor::Address] required :address, -> { Increase::Entity::Trust::Grantor::Address } # @!attribute date_of_birth @@ -1154,7 +1154,7 @@ class Grantor < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::Entity::Trust::Grantor::Identification] + # @return [Increase::Models::Entity::Trust::Grantor::Identification] required :identification, -> { Increase::Entity::Trust::Grantor::Identification } # @!attribute name @@ -1166,15 +1166,15 @@ class Grantor < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:) # The grantor of the trust. Will be present if the `category` is `revocable`. # - # @param address [Increase::Entity::Trust::Grantor::Address] The person's address. + # @param address [Increase::Models::Entity::Trust::Grantor::Address] The person's address. # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::Entity::Trust::Grantor::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::Entity::Trust::Grantor::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. - # @see Increase::Entity::Trust::Grantor#address + # @see Increase::Models::Entity::Trust::Grantor#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -1209,7 +1209,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Trust::Grantor::Address} for more details. + # {Increase::Models::Entity::Trust::Grantor::Address} for more details. # # The person's address. # @@ -1224,12 +1224,12 @@ class Address < Increase::Internal::Type::BaseModel # @param zip [String] The ZIP code of the address. end - # @see Increase::Entity::Trust::Grantor#identification + # @see Increase::Models::Entity::Trust::Grantor#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::Entity::Trust::Grantor::Identification::Method] + # @return [Symbol, Increase::Models::Entity::Trust::Grantor::Identification::Method] required :method_, enum: -> { Increase::Entity::Trust::Grantor::Identification::Method }, api_name: :method @@ -1243,17 +1243,17 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number_last4:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Trust::Grantor::Identification} for more details. + # {Increase::Models::Entity::Trust::Grantor::Identification} for more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::Entity::Trust::Grantor::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::Entity::Trust::Grantor::Identification::Method] A method that can be used to verify the individual's identity. # # @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in # A method that can be used to verify the individual's identity. # - # @see Increase::Entity::Trust::Grantor::Identification#method_ + # @see Increase::Models::Entity::Trust::Grantor::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -1283,29 +1283,29 @@ class Trustee < Increase::Internal::Type::BaseModel # The individual trustee of the trust. Will be present if the trustee's # `structure` is equal to `individual`. # - # @return [Increase::Entity::Trust::Trustee::Individual, nil] + # @return [Increase::Models::Entity::Trust::Trustee::Individual, nil] required :individual, -> { Increase::Entity::Trust::Trustee::Individual }, nil?: true # @!attribute structure # The structure of the trustee. Will always be equal to `individual`. # - # @return [Symbol, Increase::Entity::Trust::Trustee::Structure] + # @return [Symbol, Increase::Models::Entity::Trust::Trustee::Structure] required :structure, enum: -> { Increase::Entity::Trust::Trustee::Structure } # @!method initialize(individual:, structure:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Trust::Trustee} for more details. + # {Increase::Models::Entity::Trust::Trustee} for more details. # - # @param individual [Increase::Entity::Trust::Trustee::Individual, nil] The individual trustee of the trust. Will be present if the trustee's `structure + # @param individual [Increase::Models::Entity::Trust::Trustee::Individual, nil] The individual trustee of the trust. Will be present if the trustee's `structure # - # @param structure [Symbol, Increase::Entity::Trust::Trustee::Structure] The structure of the trustee. Will always be equal to `individual`. + # @param structure [Symbol, Increase::Models::Entity::Trust::Trustee::Structure] The structure of the trustee. Will always be equal to `individual`. - # @see Increase::Entity::Trust::Trustee#individual + # @see Increase::Models::Entity::Trust::Trustee#individual class Individual < Increase::Internal::Type::BaseModel # @!attribute address # The person's address. # - # @return [Increase::Entity::Trust::Trustee::Individual::Address] + # @return [Increase::Models::Entity::Trust::Trustee::Individual::Address] required :address, -> { Increase::Entity::Trust::Trustee::Individual::Address } # @!attribute date_of_birth @@ -1317,7 +1317,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::Entity::Trust::Trustee::Individual::Identification] + # @return [Increase::Models::Entity::Trust::Trustee::Individual::Identification] required :identification, -> { Increase::Entity::Trust::Trustee::Individual::Identification } # @!attribute name @@ -1330,15 +1330,15 @@ class Individual < Increase::Internal::Type::BaseModel # The individual trustee of the trust. Will be present if the trustee's # `structure` is equal to `individual`. # - # @param address [Increase::Entity::Trust::Trustee::Individual::Address] The person's address. + # @param address [Increase::Models::Entity::Trust::Trustee::Individual::Address] The person's address. # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::Entity::Trust::Trustee::Individual::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::Entity::Trust::Trustee::Individual::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. - # @see Increase::Entity::Trust::Trustee::Individual#address + # @see Increase::Models::Entity::Trust::Trustee::Individual#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -1373,7 +1373,8 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, state:, zip:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Trust::Trustee::Individual::Address} for more details. + # {Increase::Models::Entity::Trust::Trustee::Individual::Address} for more + # details. # # The person's address. # @@ -1388,12 +1389,12 @@ class Address < Increase::Internal::Type::BaseModel # @param zip [String] The ZIP code of the address. end - # @see Increase::Entity::Trust::Trustee::Individual#identification + # @see Increase::Models::Entity::Trust::Trustee::Individual#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::Entity::Trust::Trustee::Individual::Identification::Method] + # @return [Symbol, Increase::Models::Entity::Trust::Trustee::Individual::Identification::Method] required :method_, enum: -> { Increase::Entity::Trust::Trustee::Individual::Identification::Method }, api_name: :method @@ -1407,17 +1408,18 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number_last4:) # Some parameter documentations has been truncated, see - # {Increase::Entity::Trust::Trustee::Individual::Identification} for more details. + # {Increase::Models::Entity::Trust::Trustee::Individual::Identification} for more + # details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::Entity::Trust::Trustee::Individual::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::Entity::Trust::Trustee::Individual::Identification::Method] A method that can be used to verify the individual's identity. # # @param number_last4 [String] The last 4 digits of the identification number that can be used to verify the in # A method that can be used to verify the individual's identity. # - # @see Increase::Entity::Trust::Trustee::Individual::Identification#method_ + # @see Increase::Models::Entity::Trust::Trustee::Individual::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -1444,7 +1446,7 @@ module Method # The structure of the trustee. Will always be equal to `individual`. # - # @see Increase::Entity::Trust::Trustee#structure + # @see Increase::Models::Entity::Trust::Trustee#structure module Structure extend Increase::Internal::Type::Enum @@ -1460,7 +1462,7 @@ module Structure # A constant representing the object's type. For this resource it will always be # `entity`. # - # @see Increase::Entity#type + # @see Increase::Models::Entity#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/entity_create_beneficial_owner_params.rb b/lib/increase/models/entity_create_beneficial_owner_params.rb index 4a58e5ccf..c13cf6e5a 100644 --- a/lib/increase/models/entity_create_beneficial_owner_params.rb +++ b/lib/increase/models/entity_create_beneficial_owner_params.rb @@ -11,14 +11,14 @@ class EntityCreateBeneficialOwnerParams < Increase::Internal::Type::BaseModel # The identifying details of anyone controlling or owning 25% or more of the # corporation. # - # @return [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner] + # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner] required :beneficial_owner, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner } # @!method initialize(beneficial_owner:, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::EntityCreateBeneficialOwnerParams} for more details. # - # @param beneficial_owner [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner] The identifying details of anyone controlling or owning 25% or more of the corpo + # @param beneficial_owner [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner] The identifying details of anyone controlling or owning 25% or more of the corpo # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -26,7 +26,7 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # @!attribute individual # Personal details for the beneficial owner. # - # @return [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual] + # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual] required :individual, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual } # @!attribute prongs @@ -34,7 +34,7 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # option is required, if a person is both a control person and owner, submit an # array containing both. # - # @return [Array] + # @return [Array] required :prongs, -> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Prong] @@ -48,24 +48,25 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # @!method initialize(individual:, prongs:, company_title: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner} for more details. + # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner} for more + # details. # # The identifying details of anyone controlling or owning 25% or more of the # corporation. # - # @param individual [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual] Personal details for the beneficial owner. + # @param individual [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual] Personal details for the beneficial owner. # - # @param prongs [Array] Why this person is considered a beneficial owner of the entity. At least one opt + # @param prongs [Array] Why this person is considered a beneficial owner of the entity. At least one opt # # @param company_title [String] This person's role or title within the entity. - # @see Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner#individual + # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner#individual class Individual < Increase::Internal::Type::BaseModel # @!attribute address # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. # - # @return [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address] + # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address] required :address, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address } @@ -78,7 +79,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification] + # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification] required :identification, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification @@ -101,22 +102,22 @@ class Individual < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:, confirmed_no_us_tax_id: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual} for - # more details. + # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual} + # for more details. # # Personal details for the beneficial owner. # - # @param address [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. # # @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic - # @see Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual#address + # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual#address class Address < Increase::Internal::Type::BaseModel # @!attribute country # The two-letter ISO 3166-1 alpha-2 code for the country of the address. @@ -158,7 +159,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(country:, line1:, city: nil, line2: nil, state: nil, zip: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address} + # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address} # for more details. # # The individual's physical address. Mail receiving locations like PO Boxes and @@ -177,12 +178,12 @@ class Address < Increase::Internal::Type::BaseModel # @param zip [String] The ZIP or postal code of the address. Required in certain countries. end - # @see Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual#identification + # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method] + # @return [Symbol, Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method] required :method_, enum: -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method @@ -200,7 +201,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the United States driver's license used for identification. # Required if `method` is equal to `drivers_license`. # - # @return [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense, nil] + # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense, nil] optional :drivers_license, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense @@ -210,7 +211,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the identification document provided. Required if `method` is # equal to `other`. # - # @return [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other, nil] + # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other, nil] optional :other, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other @@ -220,7 +221,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the passport used for identification. Required if `method` is # equal to `passport`. # - # @return [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport, nil] + # @return [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport, nil] optional :passport, -> { Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport @@ -228,24 +229,24 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification} + # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification} # for more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity. # # @param number [String] An identification number that can be used to verify the individual's identity, s # - # @param drivers_license [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re + # @param drivers_license [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re # - # @param other [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other] Information about the identification document provided. Required if `method` is + # @param other [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other] Information about the identification document provided. Required if `method` is # - # @param passport [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is + # @param passport [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is # A method that can be used to verify the individual's identity. # - # @see Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#method_ + # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -268,7 +269,7 @@ module Method # @return [Array] end - # @see Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#drivers_license + # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#drivers_license class DriversLicense < Increase::Internal::Type::BaseModel # @!attribute expiration_date # The driver's license's expiration date in YYYY-MM-DD format. @@ -307,7 +308,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel # @param back_file_id [String] The identifier of the File containing the back of the driver's license. end - # @see Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#other + # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#other class Other < Increase::Internal::Type::BaseModel # @!attribute country # The two-character ISO 3166-1 code representing the country that issued the @@ -343,7 +344,7 @@ class Other < Increase::Internal::Type::BaseModel # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other} + # {Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other} # for more details. # # Information about the identification document provided. Required if `method` is @@ -360,7 +361,7 @@ class Other < Increase::Internal::Type::BaseModel # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format. end - # @see Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#passport + # @see Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification#passport class Passport < Increase::Internal::Type::BaseModel # @!attribute country # The country that issued the passport. diff --git a/lib/increase/models/entity_create_params.rb b/lib/increase/models/entity_create_params.rb index 0fd4f8e5a..36ab8a285 100644 --- a/lib/increase/models/entity_create_params.rb +++ b/lib/increase/models/entity_create_params.rb @@ -10,14 +10,14 @@ class EntityCreateParams < Increase::Internal::Type::BaseModel # @!attribute structure # The type of Entity to create. # - # @return [Symbol, Increase::EntityCreateParams::Structure] + # @return [Symbol, Increase::Models::EntityCreateParams::Structure] required :structure, enum: -> { Increase::EntityCreateParams::Structure } # @!attribute corporation # Details of the corporation entity to create. Required if `structure` is equal to # `corporation`. # - # @return [Increase::EntityCreateParams::Corporation, nil] + # @return [Increase::Models::EntityCreateParams::Corporation, nil] optional :corporation, -> { Increase::EntityCreateParams::Corporation } # @!attribute description @@ -30,14 +30,14 @@ class EntityCreateParams < Increase::Internal::Type::BaseModel # Details of the Government Authority entity to create. Required if `structure` is # equal to `Government Authority`. # - # @return [Increase::EntityCreateParams::GovernmentAuthority, nil] + # @return [Increase::Models::EntityCreateParams::GovernmentAuthority, nil] optional :government_authority, -> { Increase::EntityCreateParams::GovernmentAuthority } # @!attribute joint # Details of the joint entity to create. Required if `structure` is equal to # `joint`. # - # @return [Increase::EntityCreateParams::Joint, nil] + # @return [Increase::Models::EntityCreateParams::Joint, nil] optional :joint, -> { Increase::EntityCreateParams::Joint } # @!attribute natural_person @@ -46,13 +46,13 @@ class EntityCreateParams < Increase::Internal::Type::BaseModel # `social_security_number` or `individual_taxpayer_identification_number` # identification methods. # - # @return [Increase::EntityCreateParams::NaturalPerson, nil] + # @return [Increase::Models::EntityCreateParams::NaturalPerson, nil] optional :natural_person, -> { Increase::EntityCreateParams::NaturalPerson } # @!attribute supplemental_documents # Additional documentation associated with the entity. # - # @return [Array, nil] + # @return [Array, nil] optional :supplemental_documents, -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::SupplementalDocument] } @@ -60,37 +60,37 @@ class EntityCreateParams < Increase::Internal::Type::BaseModel # A reference to data stored in a third-party verification service. Your # integration may or may not use this field. # - # @return [Increase::EntityCreateParams::ThirdPartyVerification, nil] + # @return [Increase::Models::EntityCreateParams::ThirdPartyVerification, nil] optional :third_party_verification, -> { Increase::EntityCreateParams::ThirdPartyVerification } # @!attribute trust # Details of the trust entity to create. Required if `structure` is equal to # `trust`. # - # @return [Increase::EntityCreateParams::Trust, nil] + # @return [Increase::Models::EntityCreateParams::Trust, nil] optional :trust, -> { Increase::EntityCreateParams::Trust } # @!method initialize(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::EntityCreateParams} for more details. # - # @param structure [Symbol, Increase::EntityCreateParams::Structure] The type of Entity to create. + # @param structure [Symbol, Increase::Models::EntityCreateParams::Structure] The type of Entity to create. # - # @param corporation [Increase::EntityCreateParams::Corporation] Details of the corporation entity to create. Required if `structure` is equal to + # @param corporation [Increase::Models::EntityCreateParams::Corporation] Details of the corporation entity to create. Required if `structure` is equal to # # @param description [String] The description you choose to give the entity. # - # @param government_authority [Increase::EntityCreateParams::GovernmentAuthority] Details of the Government Authority entity to create. Required if `structure` is + # @param government_authority [Increase::Models::EntityCreateParams::GovernmentAuthority] Details of the Government Authority entity to create. Required if `structure` is # - # @param joint [Increase::EntityCreateParams::Joint] Details of the joint entity to create. Required if `structure` is equal to `join + # @param joint [Increase::Models::EntityCreateParams::Joint] Details of the joint entity to create. Required if `structure` is equal to `join # - # @param natural_person [Increase::EntityCreateParams::NaturalPerson] Details of the natural person entity to create. Required if `structure` is equal + # @param natural_person [Increase::Models::EntityCreateParams::NaturalPerson] Details of the natural person entity to create. Required if `structure` is equal # - # @param supplemental_documents [Array] Additional documentation associated with the entity. + # @param supplemental_documents [Array] Additional documentation associated with the entity. # - # @param third_party_verification [Increase::EntityCreateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati + # @param third_party_verification [Increase::Models::EntityCreateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati # - # @param trust [Increase::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus + # @param trust [Increase::Models::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -122,7 +122,7 @@ class Corporation < Increase::Internal::Type::BaseModel # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. # - # @return [Increase::EntityCreateParams::Corporation::Address] + # @return [Increase::Models::EntityCreateParams::Corporation::Address] required :address, -> { Increase::EntityCreateParams::Corporation::Address } # @!attribute beneficial_owners @@ -130,7 +130,7 @@ class Corporation < Increase::Internal::Type::BaseModel # one control person, like the CEO, CFO, or other executive. You can submit # between 1 and 5 people to this list. # - # @return [Array] + # @return [Array] required :beneficial_owners, -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Corporation::BeneficialOwner] @@ -153,7 +153,7 @@ class Corporation < Increase::Internal::Type::BaseModel # provide the justification. If a reason is provided, you do not need to submit a # list of beneficial owners. # - # @return [Symbol, Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason, nil] + # @return [Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason, nil] optional :beneficial_ownership_exemption_reason, enum: -> { Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason } @@ -181,20 +181,20 @@ class Corporation < Increase::Internal::Type::BaseModel # @!method initialize(address:, beneficial_owners:, name:, tax_identifier:, beneficial_ownership_exemption_reason: nil, incorporation_state: nil, industry_code: nil, website: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Corporation} for more details. + # {Increase::Models::EntityCreateParams::Corporation} for more details. # # Details of the corporation entity to create. Required if `structure` is equal to # `corporation`. # - # @param address [Increase::EntityCreateParams::Corporation::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # @param address [Increase::Models::EntityCreateParams::Corporation::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's # - # @param beneficial_owners [Array] The identifying details of each person who owns 25% or more of the business and + # @param beneficial_owners [Array] The identifying details of each person who owns 25% or more of the business and # # @param name [String] The legal name of the corporation. # # @param tax_identifier [String] The Employer Identification Number (EIN) for the corporation. # - # @param beneficial_ownership_exemption_reason [Symbol, Increase::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason] If the entity is exempt from the requirement to submit beneficial owners, provid + # @param beneficial_ownership_exemption_reason [Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwnershipExemptionReason] If the entity is exempt from the requirement to submit beneficial owners, provid # # @param incorporation_state [String] The two-letter United States Postal Service (USPS) abbreviation for the corporat # @@ -202,7 +202,7 @@ class Corporation < Increase::Internal::Type::BaseModel # # @param website [String] The website of the corporation. - # @see Increase::EntityCreateParams::Corporation#address + # @see Increase::Models::EntityCreateParams::Corporation#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -237,7 +237,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Corporation::Address} for more details. + # {Increase::Models::EntityCreateParams::Corporation::Address} for more details. # # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. @@ -257,7 +257,7 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # @!attribute individual # Personal details for the beneficial owner. # - # @return [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual] + # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual] required :individual, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual } # @!attribute prongs @@ -265,7 +265,7 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # option is required, if a person is both a control person and owner, submit an # array containing both. # - # @return [Array] + # @return [Array] required :prongs, -> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityCreateParams::Corporation::BeneficialOwner::Prong] @@ -279,21 +279,22 @@ class BeneficialOwner < Increase::Internal::Type::BaseModel # @!method initialize(individual:, prongs:, company_title: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Corporation::BeneficialOwner} for more details. + # {Increase::Models::EntityCreateParams::Corporation::BeneficialOwner} for more + # details. # - # @param individual [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual] Personal details for the beneficial owner. + # @param individual [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual] Personal details for the beneficial owner. # - # @param prongs [Array] Why this person is considered a beneficial owner of the entity. At least one opt + # @param prongs [Array] Why this person is considered a beneficial owner of the entity. At least one opt # # @param company_title [String] This person's role or title within the entity. - # @see Increase::EntityCreateParams::Corporation::BeneficialOwner#individual + # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner#individual class Individual < Increase::Internal::Type::BaseModel # @!attribute address # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. # - # @return [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address] + # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address] required :address, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address @@ -308,7 +309,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification] + # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification] required :identification, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification @@ -331,22 +332,22 @@ class Individual < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:, confirmed_no_us_tax_id: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual} for - # more details. + # {Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual} + # for more details. # # Personal details for the beneficial owner. # - # @param address [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. # # @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic - # @see Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual#address + # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual#address class Address < Increase::Internal::Type::BaseModel # @!attribute country # The two-letter ISO 3166-1 alpha-2 code for the country of the address. @@ -388,7 +389,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(country:, line1:, city: nil, line2: nil, state: nil, zip: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address} + # {Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address} # for more details. # # The individual's physical address. Mail receiving locations like PO Boxes and @@ -407,12 +408,12 @@ class Address < Increase::Internal::Type::BaseModel # @param zip [String] The ZIP or postal code of the address. Required in certain countries. end - # @see Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual#identification + # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Method] + # @return [Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Method] required :method_, enum: -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Method @@ -430,7 +431,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the United States driver's license used for identification. # Required if `method` is equal to `drivers_license`. # - # @return [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense, nil] + # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense, nil] optional :drivers_license, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense @@ -440,7 +441,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the identification document provided. Required if `method` is # equal to `other`. # - # @return [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other, nil] + # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other, nil] optional :other, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other @@ -450,7 +451,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the passport used for identification. Required if `method` is # equal to `passport`. # - # @return [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport, nil] + # @return [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport, nil] optional :passport, -> { Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport @@ -458,24 +459,24 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification} + # {Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification} # for more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Method] A method that can be used to verify the individual's identity. # # @param number [String] An identification number that can be used to verify the individual's identity, s # - # @param drivers_license [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re + # @param drivers_license [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re # - # @param other [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other] Information about the identification document provided. Required if `method` is + # @param other [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other] Information about the identification document provided. Required if `method` is # - # @param passport [Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is + # @param passport [Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is # A method that can be used to verify the individual's identity. # - # @see Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#method_ + # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -498,7 +499,7 @@ module Method # @return [Array] end - # @see Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#drivers_license + # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#drivers_license class DriversLicense < Increase::Internal::Type::BaseModel # @!attribute expiration_date # The driver's license's expiration date in YYYY-MM-DD format. @@ -537,7 +538,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel # @param back_file_id [String] The identifier of the File containing the back of the driver's license. end - # @see Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#other + # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#other class Other < Increase::Internal::Type::BaseModel # @!attribute country # The two-character ISO 3166-1 code representing the country that issued the @@ -573,7 +574,7 @@ class Other < Increase::Internal::Type::BaseModel # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other} + # {Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other} # for more details. # # Information about the identification document provided. Required if `method` is @@ -590,7 +591,7 @@ class Other < Increase::Internal::Type::BaseModel # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format. end - # @see Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#passport + # @see Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification#passport class Passport < Increase::Internal::Type::BaseModel # @!attribute country # The country that issued the passport. @@ -641,7 +642,7 @@ module Prong # provide the justification. If a reason is provided, you do not need to submit a # list of beneficial owners. # - # @see Increase::EntityCreateParams::Corporation#beneficial_ownership_exemption_reason + # @see Increase::Models::EntityCreateParams::Corporation#beneficial_ownership_exemption_reason module BeneficialOwnershipExemptionReason extend Increase::Internal::Type::Enum @@ -664,13 +665,13 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. # - # @return [Increase::EntityCreateParams::GovernmentAuthority::Address] + # @return [Increase::Models::EntityCreateParams::GovernmentAuthority::Address] required :address, -> { Increase::EntityCreateParams::GovernmentAuthority::Address } # @!attribute authorized_persons # The identifying details of authorized officials acting on the entity's behalf. # - # @return [Array] + # @return [Array] required :authorized_persons, -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson] @@ -679,7 +680,7 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel # @!attribute category # The category of the government authority. # - # @return [Symbol, Increase::EntityCreateParams::GovernmentAuthority::Category] + # @return [Symbol, Increase::Models::EntityCreateParams::GovernmentAuthority::Category] required :category, enum: -> { Increase::EntityCreateParams::GovernmentAuthority::Category } # @!attribute name @@ -702,16 +703,16 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel # @!method initialize(address:, authorized_persons:, category:, name:, tax_identifier:, website: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::GovernmentAuthority} for more details. + # {Increase::Models::EntityCreateParams::GovernmentAuthority} for more details. # # Details of the Government Authority entity to create. Required if `structure` is # equal to `Government Authority`. # - # @param address [Increase::EntityCreateParams::GovernmentAuthority::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # @param address [Increase::Models::EntityCreateParams::GovernmentAuthority::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's # - # @param authorized_persons [Array] The identifying details of authorized officials acting on the entity's behalf. + # @param authorized_persons [Array] The identifying details of authorized officials acting on the entity's behalf. # - # @param category [Symbol, Increase::EntityCreateParams::GovernmentAuthority::Category] The category of the government authority. + # @param category [Symbol, Increase::Models::EntityCreateParams::GovernmentAuthority::Category] The category of the government authority. # # @param name [String] The legal name of the government authority. # @@ -719,7 +720,7 @@ class GovernmentAuthority < Increase::Internal::Type::BaseModel # # @param website [String] The website of the government authority. - # @see Increase::EntityCreateParams::GovernmentAuthority#address + # @see Increase::Models::EntityCreateParams::GovernmentAuthority#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -754,7 +755,8 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::GovernmentAuthority::Address} for more details. + # {Increase::Models::EntityCreateParams::GovernmentAuthority::Address} for more + # details. # # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. @@ -783,7 +785,7 @@ class AuthorizedPerson < Increase::Internal::Type::BaseModel # The category of the government authority. # - # @see Increase::EntityCreateParams::GovernmentAuthority#category + # @see Increase::Models::EntityCreateParams::GovernmentAuthority#category module Category extend Increase::Internal::Type::Enum @@ -799,7 +801,7 @@ class Joint < Increase::Internal::Type::BaseModel # @!attribute individuals # The two individuals that share control of the entity. # - # @return [Array] + # @return [Array] required :individuals, -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Joint::Individual] } @@ -813,7 +815,7 @@ class Joint < Increase::Internal::Type::BaseModel # Details of the joint entity to create. Required if `structure` is equal to # `joint`. # - # @param individuals [Array] The two individuals that share control of the entity. + # @param individuals [Array] The two individuals that share control of the entity. # # @param name [String] The name of the joint entity. @@ -822,7 +824,7 @@ class Individual < Increase::Internal::Type::BaseModel # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. # - # @return [Increase::EntityCreateParams::Joint::Individual::Address] + # @return [Increase::Models::EntityCreateParams::Joint::Individual::Address] required :address, -> { Increase::EntityCreateParams::Joint::Individual::Address } # @!attribute date_of_birth @@ -834,7 +836,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::EntityCreateParams::Joint::Individual::Identification] + # @return [Increase::Models::EntityCreateParams::Joint::Individual::Identification] required :identification, -> { Increase::EntityCreateParams::Joint::Individual::Identification } # @!attribute name @@ -854,19 +856,19 @@ class Individual < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:, confirmed_no_us_tax_id: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Joint::Individual} for more details. + # {Increase::Models::EntityCreateParams::Joint::Individual} for more details. # - # @param address [Increase::EntityCreateParams::Joint::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityCreateParams::Joint::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::EntityCreateParams::Joint::Individual::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::EntityCreateParams::Joint::Individual::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. # # @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic - # @see Increase::EntityCreateParams::Joint::Individual#address + # @see Increase::Models::EntityCreateParams::Joint::Individual#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -901,7 +903,8 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Joint::Individual::Address} for more details. + # {Increase::Models::EntityCreateParams::Joint::Individual::Address} for more + # details. # # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. @@ -917,12 +920,12 @@ class Address < Increase::Internal::Type::BaseModel # @param line2 [String] The second line of the address. This might be the floor or room number. end - # @see Increase::EntityCreateParams::Joint::Individual#identification + # @see Increase::Models::EntityCreateParams::Joint::Individual#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::EntityCreateParams::Joint::Individual::Identification::Method] + # @return [Symbol, Increase::Models::EntityCreateParams::Joint::Individual::Identification::Method] required :method_, enum: -> { Increase::EntityCreateParams::Joint::Individual::Identification::Method }, api_name: :method @@ -938,7 +941,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the United States driver's license used for identification. # Required if `method` is equal to `drivers_license`. # - # @return [Increase::EntityCreateParams::Joint::Individual::Identification::DriversLicense, nil] + # @return [Increase::Models::EntityCreateParams::Joint::Individual::Identification::DriversLicense, nil] optional :drivers_license, -> { Increase::EntityCreateParams::Joint::Individual::Identification::DriversLicense } @@ -946,14 +949,14 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the identification document provided. Required if `method` is # equal to `other`. # - # @return [Increase::EntityCreateParams::Joint::Individual::Identification::Other, nil] + # @return [Increase::Models::EntityCreateParams::Joint::Individual::Identification::Other, nil] optional :other, -> { Increase::EntityCreateParams::Joint::Individual::Identification::Other } # @!attribute passport # Information about the passport used for identification. Required if `method` is # equal to `passport`. # - # @return [Increase::EntityCreateParams::Joint::Individual::Identification::Passport, nil] + # @return [Increase::Models::EntityCreateParams::Joint::Individual::Identification::Passport, nil] optional :passport, -> { Increase::EntityCreateParams::Joint::Individual::Identification::Passport @@ -961,24 +964,24 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Joint::Individual::Identification} for more - # details. + # {Increase::Models::EntityCreateParams::Joint::Individual::Identification} for + # more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::EntityCreateParams::Joint::Individual::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::EntityCreateParams::Joint::Individual::Identification::Method] A method that can be used to verify the individual's identity. # # @param number [String] An identification number that can be used to verify the individual's identity, s # - # @param drivers_license [Increase::EntityCreateParams::Joint::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re + # @param drivers_license [Increase::Models::EntityCreateParams::Joint::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re # - # @param other [Increase::EntityCreateParams::Joint::Individual::Identification::Other] Information about the identification document provided. Required if `method` is + # @param other [Increase::Models::EntityCreateParams::Joint::Individual::Identification::Other] Information about the identification document provided. Required if `method` is # - # @param passport [Increase::EntityCreateParams::Joint::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is + # @param passport [Increase::Models::EntityCreateParams::Joint::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is # A method that can be used to verify the individual's identity. # - # @see Increase::EntityCreateParams::Joint::Individual::Identification#method_ + # @see Increase::Models::EntityCreateParams::Joint::Individual::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -1001,7 +1004,7 @@ module Method # @return [Array] end - # @see Increase::EntityCreateParams::Joint::Individual::Identification#drivers_license + # @see Increase::Models::EntityCreateParams::Joint::Individual::Identification#drivers_license class DriversLicense < Increase::Internal::Type::BaseModel # @!attribute expiration_date # The driver's license's expiration date in YYYY-MM-DD format. @@ -1040,7 +1043,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel # @param back_file_id [String] The identifier of the File containing the back of the driver's license. end - # @see Increase::EntityCreateParams::Joint::Individual::Identification#other + # @see Increase::Models::EntityCreateParams::Joint::Individual::Identification#other class Other < Increase::Internal::Type::BaseModel # @!attribute country # The two-character ISO 3166-1 code representing the country that issued the @@ -1076,8 +1079,8 @@ class Other < Increase::Internal::Type::BaseModel # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Joint::Individual::Identification::Other} for - # more details. + # {Increase::Models::EntityCreateParams::Joint::Individual::Identification::Other} + # for more details. # # Information about the identification document provided. Required if `method` is # equal to `other`. @@ -1093,7 +1096,7 @@ class Other < Increase::Internal::Type::BaseModel # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format. end - # @see Increase::EntityCreateParams::Joint::Individual::Identification#passport + # @see Increase::Models::EntityCreateParams::Joint::Individual::Identification#passport class Passport < Increase::Internal::Type::BaseModel # @!attribute country # The country that issued the passport. @@ -1132,7 +1135,7 @@ class NaturalPerson < Increase::Internal::Type::BaseModel # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. # - # @return [Increase::EntityCreateParams::NaturalPerson::Address] + # @return [Increase::Models::EntityCreateParams::NaturalPerson::Address] required :address, -> { Increase::EntityCreateParams::NaturalPerson::Address } # @!attribute date_of_birth @@ -1144,7 +1147,7 @@ class NaturalPerson < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::EntityCreateParams::NaturalPerson::Identification] + # @return [Increase::Models::EntityCreateParams::NaturalPerson::Identification] required :identification, -> { Increase::EntityCreateParams::NaturalPerson::Identification } # @!attribute name @@ -1164,24 +1167,24 @@ class NaturalPerson < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:, confirmed_no_us_tax_id: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::NaturalPerson} for more details. + # {Increase::Models::EntityCreateParams::NaturalPerson} for more details. # # Details of the natural person entity to create. Required if `structure` is equal # to `natural_person`. Natural people entities should be submitted with # `social_security_number` or `individual_taxpayer_identification_number` # identification methods. # - # @param address [Increase::EntityCreateParams::NaturalPerson::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityCreateParams::NaturalPerson::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::EntityCreateParams::NaturalPerson::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::EntityCreateParams::NaturalPerson::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. # # @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic - # @see Increase::EntityCreateParams::NaturalPerson#address + # @see Increase::Models::EntityCreateParams::NaturalPerson#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -1216,7 +1219,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::NaturalPerson::Address} for more details. + # {Increase::Models::EntityCreateParams::NaturalPerson::Address} for more details. # # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. @@ -1232,12 +1235,12 @@ class Address < Increase::Internal::Type::BaseModel # @param line2 [String] The second line of the address. This might be the floor or room number. end - # @see Increase::EntityCreateParams::NaturalPerson#identification + # @see Increase::Models::EntityCreateParams::NaturalPerson#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::EntityCreateParams::NaturalPerson::Identification::Method] + # @return [Symbol, Increase::Models::EntityCreateParams::NaturalPerson::Identification::Method] required :method_, enum: -> { Increase::EntityCreateParams::NaturalPerson::Identification::Method }, api_name: :method @@ -1253,7 +1256,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the United States driver's license used for identification. # Required if `method` is equal to `drivers_license`. # - # @return [Increase::EntityCreateParams::NaturalPerson::Identification::DriversLicense, nil] + # @return [Increase::Models::EntityCreateParams::NaturalPerson::Identification::DriversLicense, nil] optional :drivers_license, -> { Increase::EntityCreateParams::NaturalPerson::Identification::DriversLicense } @@ -1261,35 +1264,36 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the identification document provided. Required if `method` is # equal to `other`. # - # @return [Increase::EntityCreateParams::NaturalPerson::Identification::Other, nil] + # @return [Increase::Models::EntityCreateParams::NaturalPerson::Identification::Other, nil] optional :other, -> { Increase::EntityCreateParams::NaturalPerson::Identification::Other } # @!attribute passport # Information about the passport used for identification. Required if `method` is # equal to `passport`. # - # @return [Increase::EntityCreateParams::NaturalPerson::Identification::Passport, nil] + # @return [Increase::Models::EntityCreateParams::NaturalPerson::Identification::Passport, nil] optional :passport, -> { Increase::EntityCreateParams::NaturalPerson::Identification::Passport } # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::NaturalPerson::Identification} for more details. + # {Increase::Models::EntityCreateParams::NaturalPerson::Identification} for more + # details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::EntityCreateParams::NaturalPerson::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::EntityCreateParams::NaturalPerson::Identification::Method] A method that can be used to verify the individual's identity. # # @param number [String] An identification number that can be used to verify the individual's identity, s # - # @param drivers_license [Increase::EntityCreateParams::NaturalPerson::Identification::DriversLicense] Information about the United States driver's license used for identification. Re + # @param drivers_license [Increase::Models::EntityCreateParams::NaturalPerson::Identification::DriversLicense] Information about the United States driver's license used for identification. Re # - # @param other [Increase::EntityCreateParams::NaturalPerson::Identification::Other] Information about the identification document provided. Required if `method` is + # @param other [Increase::Models::EntityCreateParams::NaturalPerson::Identification::Other] Information about the identification document provided. Required if `method` is # - # @param passport [Increase::EntityCreateParams::NaturalPerson::Identification::Passport] Information about the passport used for identification. Required if `method` is + # @param passport [Increase::Models::EntityCreateParams::NaturalPerson::Identification::Passport] Information about the passport used for identification. Required if `method` is # A method that can be used to verify the individual's identity. # - # @see Increase::EntityCreateParams::NaturalPerson::Identification#method_ + # @see Increase::Models::EntityCreateParams::NaturalPerson::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -1312,7 +1316,7 @@ module Method # @return [Array] end - # @see Increase::EntityCreateParams::NaturalPerson::Identification#drivers_license + # @see Increase::Models::EntityCreateParams::NaturalPerson::Identification#drivers_license class DriversLicense < Increase::Internal::Type::BaseModel # @!attribute expiration_date # The driver's license's expiration date in YYYY-MM-DD format. @@ -1351,7 +1355,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel # @param back_file_id [String] The identifier of the File containing the back of the driver's license. end - # @see Increase::EntityCreateParams::NaturalPerson::Identification#other + # @see Increase::Models::EntityCreateParams::NaturalPerson::Identification#other class Other < Increase::Internal::Type::BaseModel # @!attribute country # The two-character ISO 3166-1 code representing the country that issued the @@ -1387,8 +1391,8 @@ class Other < Increase::Internal::Type::BaseModel # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::NaturalPerson::Identification::Other} for more - # details. + # {Increase::Models::EntityCreateParams::NaturalPerson::Identification::Other} for + # more details. # # Information about the identification document provided. Required if `method` is # equal to `other`. @@ -1404,7 +1408,7 @@ class Other < Increase::Internal::Type::BaseModel # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format. end - # @see Increase::EntityCreateParams::NaturalPerson::Identification#passport + # @see Increase::Models::EntityCreateParams::NaturalPerson::Identification#passport class Passport < Increase::Internal::Type::BaseModel # @!attribute country # The country that issued the passport. @@ -1458,7 +1462,7 @@ class ThirdPartyVerification < Increase::Internal::Type::BaseModel # @!attribute vendor # The vendor that was used to perform the verification. # - # @return [Symbol, Increase::EntityCreateParams::ThirdPartyVerification::Vendor] + # @return [Symbol, Increase::Models::EntityCreateParams::ThirdPartyVerification::Vendor] required :vendor, enum: -> { Increase::EntityCreateParams::ThirdPartyVerification::Vendor } # @!method initialize(reference:, vendor:) @@ -1467,11 +1471,11 @@ class ThirdPartyVerification < Increase::Internal::Type::BaseModel # # @param reference [String] The reference identifier for the third party verification. # - # @param vendor [Symbol, Increase::EntityCreateParams::ThirdPartyVerification::Vendor] The vendor that was used to perform the verification. + # @param vendor [Symbol, Increase::Models::EntityCreateParams::ThirdPartyVerification::Vendor] The vendor that was used to perform the verification. # The vendor that was used to perform the verification. # - # @see Increase::EntityCreateParams::ThirdPartyVerification#vendor + # @see Increase::Models::EntityCreateParams::ThirdPartyVerification#vendor module Vendor extend Increase::Internal::Type::Enum @@ -1494,7 +1498,7 @@ class Trust < Increase::Internal::Type::BaseModel # The trust's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. # - # @return [Increase::EntityCreateParams::Trust::Address] + # @return [Increase::Models::EntityCreateParams::Trust::Address] required :address, -> { Increase::EntityCreateParams::Trust::Address } # @!attribute category @@ -1502,7 +1506,7 @@ class Trust < Increase::Internal::Type::BaseModel # their own Employer Identification Number. Revocable trusts require information # about the individual `grantor` who created the trust. # - # @return [Symbol, Increase::EntityCreateParams::Trust::Category] + # @return [Symbol, Increase::Models::EntityCreateParams::Trust::Category] required :category, enum: -> { Increase::EntityCreateParams::Trust::Category } # @!attribute name @@ -1514,7 +1518,7 @@ class Trust < Increase::Internal::Type::BaseModel # @!attribute trustees # The trustees of the trust. # - # @return [Array] + # @return [Array] required :trustees, -> { Increase::Internal::Type::ArrayOf[Increase::EntityCreateParams::Trust::Trustee] @@ -1536,7 +1540,7 @@ class Trust < Increase::Internal::Type::BaseModel # @!attribute grantor # The grantor of the trust. Required if `category` is equal to `revocable`. # - # @return [Increase::EntityCreateParams::Trust::Grantor, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Grantor, nil] optional :grantor, -> { Increase::EntityCreateParams::Trust::Grantor } # @!attribute tax_identifier @@ -1548,28 +1552,28 @@ class Trust < Increase::Internal::Type::BaseModel # @!method initialize(address:, category:, name:, trustees:, formation_document_file_id: nil, formation_state: nil, grantor: nil, tax_identifier: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust} for more details. + # {Increase::Models::EntityCreateParams::Trust} for more details. # # Details of the trust entity to create. Required if `structure` is equal to # `trust`. # - # @param address [Increase::EntityCreateParams::Trust::Address] The trust's physical address. Mail receiving locations like PO Boxes and PMB's a + # @param address [Increase::Models::EntityCreateParams::Trust::Address] The trust's physical address. Mail receiving locations like PO Boxes and PMB's a # - # @param category [Symbol, Increase::EntityCreateParams::Trust::Category] Whether the trust is `revocable` or `irrevocable`. Irrevocable trusts require th + # @param category [Symbol, Increase::Models::EntityCreateParams::Trust::Category] Whether the trust is `revocable` or `irrevocable`. Irrevocable trusts require th # # @param name [String] The legal name of the trust. # - # @param trustees [Array] The trustees of the trust. + # @param trustees [Array] The trustees of the trust. # # @param formation_document_file_id [String] The identifier of the File containing the formation document of the trust. # # @param formation_state [String] The two-letter United States Postal Service (USPS) abbreviation for the state in # - # @param grantor [Increase::EntityCreateParams::Trust::Grantor] The grantor of the trust. Required if `category` is equal to `revocable`. + # @param grantor [Increase::Models::EntityCreateParams::Trust::Grantor] The grantor of the trust. Required if `category` is equal to `revocable`. # # @param tax_identifier [String] The Employer Identification Number (EIN) for the trust. Required if `category` i - # @see Increase::EntityCreateParams::Trust#address + # @see Increase::Models::EntityCreateParams::Trust#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -1604,7 +1608,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Address} for more details. + # {Increase::Models::EntityCreateParams::Trust::Address} for more details. # # The trust's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. @@ -1624,7 +1628,7 @@ class Address < Increase::Internal::Type::BaseModel # their own Employer Identification Number. Revocable trusts require information # about the individual `grantor` who created the trust. # - # @see Increase::EntityCreateParams::Trust#category + # @see Increase::Models::EntityCreateParams::Trust#category module Category extend Increase::Internal::Type::Enum @@ -1642,27 +1646,27 @@ class Trustee < Increase::Internal::Type::BaseModel # @!attribute structure # The structure of the trustee. # - # @return [Symbol, Increase::EntityCreateParams::Trust::Trustee::Structure] + # @return [Symbol, Increase::Models::EntityCreateParams::Trust::Trustee::Structure] required :structure, enum: -> { Increase::EntityCreateParams::Trust::Trustee::Structure } # @!attribute individual # Details of the individual trustee. Required when the trustee `structure` is # equal to `individual`. # - # @return [Increase::EntityCreateParams::Trust::Trustee::Individual, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual, nil] optional :individual, -> { Increase::EntityCreateParams::Trust::Trustee::Individual } # @!method initialize(structure:, individual: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Trustee} for more details. + # {Increase::Models::EntityCreateParams::Trust::Trustee} for more details. # - # @param structure [Symbol, Increase::EntityCreateParams::Trust::Trustee::Structure] The structure of the trustee. + # @param structure [Symbol, Increase::Models::EntityCreateParams::Trust::Trustee::Structure] The structure of the trustee. # - # @param individual [Increase::EntityCreateParams::Trust::Trustee::Individual] Details of the individual trustee. Required when the trustee `structure` is equa + # @param individual [Increase::Models::EntityCreateParams::Trust::Trustee::Individual] Details of the individual trustee. Required when the trustee `structure` is equa # The structure of the trustee. # - # @see Increase::EntityCreateParams::Trust::Trustee#structure + # @see Increase::Models::EntityCreateParams::Trust::Trustee#structure module Structure extend Increase::Internal::Type::Enum @@ -1673,13 +1677,13 @@ module Structure # @return [Array] end - # @see Increase::EntityCreateParams::Trust::Trustee#individual + # @see Increase::Models::EntityCreateParams::Trust::Trustee#individual class Individual < Increase::Internal::Type::BaseModel # @!attribute address # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. # - # @return [Increase::EntityCreateParams::Trust::Trustee::Individual::Address] + # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Address] required :address, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Address } # @!attribute date_of_birth @@ -1691,7 +1695,7 @@ class Individual < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification] + # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification] required :identification, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification @@ -1714,22 +1718,23 @@ class Individual < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:, confirmed_no_us_tax_id: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Trustee::Individual} for more details. + # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual} for more + # details. # # Details of the individual trustee. Required when the trustee `structure` is # equal to `individual`. # - # @param address [Increase::EntityCreateParams::Trust::Trustee::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. # # @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic - # @see Increase::EntityCreateParams::Trust::Trustee::Individual#address + # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -1764,8 +1769,8 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Trustee::Individual::Address} for more - # details. + # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Address} for + # more details. # # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. @@ -1781,12 +1786,12 @@ class Address < Increase::Internal::Type::BaseModel # @param line2 [String] The second line of the address. This might be the floor or room number. end - # @see Increase::EntityCreateParams::Trust::Trustee::Individual#identification + # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Method] + # @return [Symbol, Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Method] required :method_, enum: -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Method @@ -1804,7 +1809,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the United States driver's license used for identification. # Required if `method` is equal to `drivers_license`. # - # @return [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense, nil] optional :drivers_license, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense @@ -1814,7 +1819,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the identification document provided. Required if `method` is # equal to `other`. # - # @return [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Other, nil] optional :other, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other @@ -1824,7 +1829,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the passport used for identification. Required if `method` is # equal to `passport`. # - # @return [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport, nil] optional :passport, -> { Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport @@ -1832,24 +1837,24 @@ class Identification < Increase::Internal::Type::BaseModel # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Trustee::Individual::Identification} for - # more details. + # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification} + # for more details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Method] A method that can be used to verify the individual's identity. # # @param number [String] An identification number that can be used to verify the individual's identity, s # - # @param drivers_license [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re + # @param drivers_license [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense] Information about the United States driver's license used for identification. Re # - # @param other [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other] Information about the identification document provided. Required if `method` is + # @param other [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Other] Information about the identification document provided. Required if `method` is # - # @param passport [Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is + # @param passport [Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport] Information about the passport used for identification. Required if `method` is # A method that can be used to verify the individual's identity. # - # @see Increase::EntityCreateParams::Trust::Trustee::Individual::Identification#method_ + # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -1872,7 +1877,7 @@ module Method # @return [Array] end - # @see Increase::EntityCreateParams::Trust::Trustee::Individual::Identification#drivers_license + # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification#drivers_license class DriversLicense < Increase::Internal::Type::BaseModel # @!attribute expiration_date # The driver's license's expiration date in YYYY-MM-DD format. @@ -1911,7 +1916,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel # @param back_file_id [String] The identifier of the File containing the back of the driver's license. end - # @see Increase::EntityCreateParams::Trust::Trustee::Individual::Identification#other + # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification#other class Other < Increase::Internal::Type::BaseModel # @!attribute country # The two-character ISO 3166-1 code representing the country that issued the @@ -1947,7 +1952,7 @@ class Other < Increase::Internal::Type::BaseModel # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other} + # {Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::Other} # for more details. # # Information about the identification document provided. Required if `method` is @@ -1964,7 +1969,7 @@ class Other < Increase::Internal::Type::BaseModel # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format. end - # @see Increase::EntityCreateParams::Trust::Trustee::Individual::Identification#passport + # @see Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification#passport class Passport < Increase::Internal::Type::BaseModel # @!attribute country # The country that issued the passport. @@ -1998,13 +2003,13 @@ class Passport < Increase::Internal::Type::BaseModel end end - # @see Increase::EntityCreateParams::Trust#grantor + # @see Increase::Models::EntityCreateParams::Trust#grantor class Grantor < Increase::Internal::Type::BaseModel # @!attribute address # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. # - # @return [Increase::EntityCreateParams::Trust::Grantor::Address] + # @return [Increase::Models::EntityCreateParams::Trust::Grantor::Address] required :address, -> { Increase::EntityCreateParams::Trust::Grantor::Address } # @!attribute date_of_birth @@ -2016,7 +2021,7 @@ class Grantor < Increase::Internal::Type::BaseModel # @!attribute identification # A means of verifying the person's identity. # - # @return [Increase::EntityCreateParams::Trust::Grantor::Identification] + # @return [Increase::Models::EntityCreateParams::Trust::Grantor::Identification] required :identification, -> { Increase::EntityCreateParams::Trust::Grantor::Identification } # @!attribute name @@ -2036,21 +2041,21 @@ class Grantor < Increase::Internal::Type::BaseModel # @!method initialize(address:, date_of_birth:, identification:, name:, confirmed_no_us_tax_id: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Grantor} for more details. + # {Increase::Models::EntityCreateParams::Trust::Grantor} for more details. # # The grantor of the trust. Required if `category` is equal to `revocable`. # - # @param address [Increase::EntityCreateParams::Trust::Grantor::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityCreateParams::Trust::Grantor::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param date_of_birth [Date] The person's date of birth in YYYY-MM-DD format. # - # @param identification [Increase::EntityCreateParams::Trust::Grantor::Identification] A means of verifying the person's identity. + # @param identification [Increase::Models::EntityCreateParams::Trust::Grantor::Identification] A means of verifying the person's identity. # # @param name [String] The person's legal name. # # @param confirmed_no_us_tax_id [Boolean] The identification method for an individual can only be a passport, driver's lic - # @see Increase::EntityCreateParams::Trust::Grantor#address + # @see Increase::Models::EntityCreateParams::Trust::Grantor#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -2085,7 +2090,8 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Grantor::Address} for more details. + # {Increase::Models::EntityCreateParams::Trust::Grantor::Address} for more + # details. # # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. @@ -2101,12 +2107,12 @@ class Address < Increase::Internal::Type::BaseModel # @param line2 [String] The second line of the address. This might be the floor or room number. end - # @see Increase::EntityCreateParams::Trust::Grantor#identification + # @see Increase::Models::EntityCreateParams::Trust::Grantor#identification class Identification < Increase::Internal::Type::BaseModel # @!attribute method_ # A method that can be used to verify the individual's identity. # - # @return [Symbol, Increase::EntityCreateParams::Trust::Grantor::Identification::Method] + # @return [Symbol, Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Method] required :method_, enum: -> { Increase::EntityCreateParams::Trust::Grantor::Identification::Method }, api_name: :method @@ -2122,7 +2128,7 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the United States driver's license used for identification. # Required if `method` is equal to `drivers_license`. # - # @return [Increase::EntityCreateParams::Trust::Grantor::Identification::DriversLicense, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Grantor::Identification::DriversLicense, nil] optional :drivers_license, -> { Increase::EntityCreateParams::Trust::Grantor::Identification::DriversLicense } @@ -2130,35 +2136,36 @@ class Identification < Increase::Internal::Type::BaseModel # Information about the identification document provided. Required if `method` is # equal to `other`. # - # @return [Increase::EntityCreateParams::Trust::Grantor::Identification::Other, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Other, nil] optional :other, -> { Increase::EntityCreateParams::Trust::Grantor::Identification::Other } # @!attribute passport # Information about the passport used for identification. Required if `method` is # equal to `passport`. # - # @return [Increase::EntityCreateParams::Trust::Grantor::Identification::Passport, nil] + # @return [Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Passport, nil] optional :passport, -> { Increase::EntityCreateParams::Trust::Grantor::Identification::Passport } # @!method initialize(method_:, number:, drivers_license: nil, other: nil, passport: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Grantor::Identification} for more details. + # {Increase::Models::EntityCreateParams::Trust::Grantor::Identification} for more + # details. # # A means of verifying the person's identity. # - # @param method_ [Symbol, Increase::EntityCreateParams::Trust::Grantor::Identification::Method] A method that can be used to verify the individual's identity. + # @param method_ [Symbol, Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Method] A method that can be used to verify the individual's identity. # # @param number [String] An identification number that can be used to verify the individual's identity, s # - # @param drivers_license [Increase::EntityCreateParams::Trust::Grantor::Identification::DriversLicense] Information about the United States driver's license used for identification. Re + # @param drivers_license [Increase::Models::EntityCreateParams::Trust::Grantor::Identification::DriversLicense] Information about the United States driver's license used for identification. Re # - # @param other [Increase::EntityCreateParams::Trust::Grantor::Identification::Other] Information about the identification document provided. Required if `method` is + # @param other [Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Other] Information about the identification document provided. Required if `method` is # - # @param passport [Increase::EntityCreateParams::Trust::Grantor::Identification::Passport] Information about the passport used for identification. Required if `method` is + # @param passport [Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Passport] Information about the passport used for identification. Required if `method` is # A method that can be used to verify the individual's identity. # - # @see Increase::EntityCreateParams::Trust::Grantor::Identification#method_ + # @see Increase::Models::EntityCreateParams::Trust::Grantor::Identification#method_ module Method extend Increase::Internal::Type::Enum @@ -2181,7 +2188,7 @@ module Method # @return [Array] end - # @see Increase::EntityCreateParams::Trust::Grantor::Identification#drivers_license + # @see Increase::Models::EntityCreateParams::Trust::Grantor::Identification#drivers_license class DriversLicense < Increase::Internal::Type::BaseModel # @!attribute expiration_date # The driver's license's expiration date in YYYY-MM-DD format. @@ -2220,7 +2227,7 @@ class DriversLicense < Increase::Internal::Type::BaseModel # @param back_file_id [String] The identifier of the File containing the back of the driver's license. end - # @see Increase::EntityCreateParams::Trust::Grantor::Identification#other + # @see Increase::Models::EntityCreateParams::Trust::Grantor::Identification#other class Other < Increase::Internal::Type::BaseModel # @!attribute country # The two-character ISO 3166-1 code representing the country that issued the @@ -2256,8 +2263,8 @@ class Other < Increase::Internal::Type::BaseModel # @!method initialize(country:, description:, file_id:, back_file_id: nil, expiration_date: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityCreateParams::Trust::Grantor::Identification::Other} for more - # details. + # {Increase::Models::EntityCreateParams::Trust::Grantor::Identification::Other} + # for more details. # # Information about the identification document provided. Required if `method` is # equal to `other`. @@ -2273,7 +2280,7 @@ class Other < Increase::Internal::Type::BaseModel # @param expiration_date [Date] The document's expiration date in YYYY-MM-DD format. end - # @see Increase::EntityCreateParams::Trust::Grantor::Identification#passport + # @see Increase::Models::EntityCreateParams::Trust::Grantor::Identification#passport class Passport < Increase::Internal::Type::BaseModel # @!attribute country # The country that issued the passport. diff --git a/lib/increase/models/entity_list_params.rb b/lib/increase/models/entity_list_params.rb index ef97ab65b..04b0d1bfe 100644 --- a/lib/increase/models/entity_list_params.rb +++ b/lib/increase/models/entity_list_params.rb @@ -9,7 +9,7 @@ class EntityListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::EntityListParams::CreatedAt, nil] + # @return [Increase::Models::EntityListParams::CreatedAt, nil] optional :created_at, -> { Increase::EntityListParams::CreatedAt } # @!attribute cursor @@ -36,14 +36,14 @@ class EntityListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::EntityListParams::Status, nil] + # @return [Increase::Models::EntityListParams::Status, nil] optional :status, -> { Increase::EntityListParams::Status } # @!method initialize(created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::EntityListParams} for more details. # - # @param created_at [Increase::EntityListParams::CreatedAt] + # @param created_at [Increase::Models::EntityListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -51,7 +51,7 @@ class EntityListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::EntityListParams::Status] + # @param status [Increase::Models::EntityListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -86,7 +86,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityListParams::CreatedAt} for more details. + # {Increase::Models::EntityListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -103,16 +103,16 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::EntityListParams::Status::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityListParams::Status} for more details. + # {Increase::Models::EntityListParams::Status} for more details. # - # @param in_ [Array] Filter Entities for those with the specified status or statuses. For GET request + # @param in_ [Array] Filter Entities for those with the specified status or statuses. For GET request module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/entity_supplemental_document.rb b/lib/increase/models/entity_supplemental_document.rb index c4e7799b1..544b94165 100644 --- a/lib/increase/models/entity_supplemental_document.rb +++ b/lib/increase/models/entity_supplemental_document.rb @@ -35,12 +35,12 @@ class EntitySupplementalDocument < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `entity_supplemental_document`. # - # @return [Symbol, Increase::EntitySupplementalDocument::Type] + # @return [Symbol, Increase::Models::EntitySupplementalDocument::Type] required :type, enum: -> { Increase::EntitySupplementalDocument::Type } # @!method initialize(created_at:, entity_id:, file_id:, idempotency_key:, type:) # Some parameter documentations has been truncated, see - # {Increase::EntitySupplementalDocument} for more details. + # {Increase::Models::EntitySupplementalDocument} for more details. # # Supplemental Documents are uploaded files connected to an Entity during # onboarding. @@ -53,12 +53,12 @@ class EntitySupplementalDocument < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param type [Symbol, Increase::EntitySupplementalDocument::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::EntitySupplementalDocument::Type] A constant representing the object's type. For this resource it will always be ` # A constant representing the object's type. For this resource it will always be # `entity_supplemental_document`. # - # @see Increase::EntitySupplementalDocument#type + # @see Increase::Models::EntitySupplementalDocument#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/entity_update_address_params.rb b/lib/increase/models/entity_update_address_params.rb index 54b9393a6..17384d35e 100644 --- a/lib/increase/models/entity_update_address_params.rb +++ b/lib/increase/models/entity_update_address_params.rb @@ -11,14 +11,14 @@ class EntityUpdateAddressParams < Increase::Internal::Type::BaseModel # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. # - # @return [Increase::EntityUpdateAddressParams::Address] + # @return [Increase::Models::EntityUpdateAddressParams::Address] required :address, -> { Increase::EntityUpdateAddressParams::Address } # @!method initialize(address:, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::EntityUpdateAddressParams} for more details. # - # @param address [Increase::EntityUpdateAddressParams::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # @param address [Increase::Models::EntityUpdateAddressParams::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -56,7 +56,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, state:, zip:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityUpdateAddressParams::Address} for more details. + # {Increase::Models::EntityUpdateAddressParams::Address} for more details. # # The entity's physical address. Mail receiving locations like PO Boxes and PMB's # are disallowed. diff --git a/lib/increase/models/entity_update_beneficial_owner_address_params.rb b/lib/increase/models/entity_update_beneficial_owner_address_params.rb index 0526dd205..869d062ef 100644 --- a/lib/increase/models/entity_update_beneficial_owner_address_params.rb +++ b/lib/increase/models/entity_update_beneficial_owner_address_params.rb @@ -11,7 +11,7 @@ class EntityUpdateBeneficialOwnerAddressParams < Increase::Internal::Type::BaseM # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. # - # @return [Increase::EntityUpdateBeneficialOwnerAddressParams::Address] + # @return [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address] required :address, -> { Increase::EntityUpdateBeneficialOwnerAddressParams::Address } # @!attribute beneficial_owner_id @@ -25,7 +25,7 @@ class EntityUpdateBeneficialOwnerAddressParams < Increase::Internal::Type::BaseM # Some parameter documentations has been truncated, see # {Increase::Models::EntityUpdateBeneficialOwnerAddressParams} for more details. # - # @param address [Increase::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo # @@ -72,7 +72,8 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(country:, line1:, city: nil, line2: nil, state: nil, zip: nil) # Some parameter documentations has been truncated, see - # {Increase::EntityUpdateBeneficialOwnerAddressParams::Address} for more details. + # {Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address} for more + # details. # # The individual's physical address. Mail receiving locations like PO Boxes and # PMB's are disallowed. diff --git a/lib/increase/models/event.rb b/lib/increase/models/event.rb index 7c73d0f4f..1b41fe831 100644 --- a/lib/increase/models/event.rb +++ b/lib/increase/models/event.rb @@ -26,7 +26,7 @@ class Event < Increase::Internal::Type::BaseModel # The category of the Event. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @return [Symbol, Increase::Event::Category] + # @return [Symbol, Increase::Models::Event::Category] required :category, enum: -> { Increase::Event::Category } # @!attribute created_at @@ -39,12 +39,12 @@ class Event < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `event`. # - # @return [Symbol, Increase::Event::Type] + # @return [Symbol, Increase::Models::Event::Type] required :type, enum: -> { Increase::Event::Type } # @!method initialize(id:, associated_object_id:, associated_object_type:, category:, created_at:, type:) - # Some parameter documentations has been truncated, see {Increase::Event} for more - # details. + # Some parameter documentations has been truncated, see {Increase::Models::Event} + # for more details. # # Events are records of things that happened to objects at Increase. Events are # accessible via the List Events endpoint and can be delivered to your application @@ -57,16 +57,16 @@ class Event < Increase::Internal::Type::BaseModel # # @param associated_object_type [String] The type of the object that generated this Event. # - # @param category [Symbol, Increase::Event::Category] The category of the Event. We may add additional possible values for this enum o + # @param category [Symbol, Increase::Models::Event::Category] The category of the Event. We may add additional possible values for this enum o # # @param created_at [Time] The time the Event was created. # - # @param type [Symbol, Increase::Event::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Event::Type] A constant representing the object's type. For this resource it will always be ` # The category of the Event. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @see Increase::Event#category + # @see Increase::Models::Event#category module Category extend Increase::Internal::Type::Enum @@ -343,7 +343,7 @@ module Category # A constant representing the object's type. For this resource it will always be # `event`. # - # @see Increase::Event#type + # @see Increase::Models::Event#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/event_list_params.rb b/lib/increase/models/event_list_params.rb index 93ec3c729..058f85005 100644 --- a/lib/increase/models/event_list_params.rb +++ b/lib/increase/models/event_list_params.rb @@ -15,12 +15,12 @@ class EventListParams < Increase::Internal::Type::BaseModel # @!attribute category # - # @return [Increase::EventListParams::Category, nil] + # @return [Increase::Models::EventListParams::Category, nil] optional :category, -> { Increase::EventListParams::Category } # @!attribute created_at # - # @return [Increase::EventListParams::CreatedAt, nil] + # @return [Increase::Models::EventListParams::CreatedAt, nil] optional :created_at, -> { Increase::EventListParams::CreatedAt } # @!attribute cursor @@ -42,9 +42,9 @@ class EventListParams < Increase::Internal::Type::BaseModel # # @param associated_object_id [String] Filter Events to those belonging to the object with the provided identifier. # - # @param category [Increase::EventListParams::Category] + # @param category [Increase::Models::EventListParams::Category] # - # @param created_at [Increase::EventListParams::CreatedAt] + # @param created_at [Increase::Models::EventListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -58,16 +58,16 @@ class Category < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::EventListParams::Category::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::EventListParams::Category} for more details. + # {Increase::Models::EventListParams::Category} for more details. # - # @param in_ [Array] Filter Events for those with the specified category or categories. For GET reque + # @param in_ [Array] Filter Events for those with the specified category or categories. For GET reque module In extend Increase::Internal::Type::Enum @@ -374,7 +374,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::EventListParams::CreatedAt} for more details. + # {Increase::Models::EventListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/event_subscription.rb b/lib/increase/models/event_subscription.rb index 3e3e8d4c8..7e50ce2f0 100644 --- a/lib/increase/models/event_subscription.rb +++ b/lib/increase/models/event_subscription.rb @@ -35,7 +35,7 @@ class EventSubscription < Increase::Internal::Type::BaseModel # If specified, this subscription will only receive webhooks for Events with the # specified `category`. # - # @return [Symbol, Increase::EventSubscription::SelectedEventCategory, nil] + # @return [Symbol, Increase::Models::EventSubscription::SelectedEventCategory, nil] required :selected_event_category, enum: -> { Increase::EventSubscription::SelectedEventCategory }, nil?: true @@ -43,14 +43,14 @@ class EventSubscription < Increase::Internal::Type::BaseModel # @!attribute status # This indicates if we'll send notifications to this subscription. # - # @return [Symbol, Increase::EventSubscription::Status] + # @return [Symbol, Increase::Models::EventSubscription::Status] required :status, enum: -> { Increase::EventSubscription::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `event_subscription`. # - # @return [Symbol, Increase::EventSubscription::Type] + # @return [Symbol, Increase::Models::EventSubscription::Type] required :type, enum: -> { Increase::EventSubscription::Type } # @!attribute url @@ -61,7 +61,7 @@ class EventSubscription < Increase::Internal::Type::BaseModel # @!method initialize(id:, created_at:, idempotency_key:, oauth_connection_id:, selected_event_category:, status:, type:, url:) # Some parameter documentations has been truncated, see - # {Increase::EventSubscription} for more details. + # {Increase::Models::EventSubscription} for more details. # # Webhooks are event notifications we send to you by HTTPS POST requests. Event # Subscriptions are how you configure your application to listen for them. You can @@ -78,18 +78,18 @@ class EventSubscription < Increase::Internal::Type::BaseModel # # @param oauth_connection_id [String, nil] If specified, this subscription will only receive webhooks for Events associated # - # @param selected_event_category [Symbol, Increase::EventSubscription::SelectedEventCategory, nil] If specified, this subscription will only receive webhooks for Events with the s + # @param selected_event_category [Symbol, Increase::Models::EventSubscription::SelectedEventCategory, nil] If specified, this subscription will only receive webhooks for Events with the s # - # @param status [Symbol, Increase::EventSubscription::Status] This indicates if we'll send notifications to this subscription. + # @param status [Symbol, Increase::Models::EventSubscription::Status] This indicates if we'll send notifications to this subscription. # - # @param type [Symbol, Increase::EventSubscription::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::EventSubscription::Type] A constant representing the object's type. For this resource it will always be ` # # @param url [String] The webhook url where we'll send notifications. # If specified, this subscription will only receive webhooks for Events with the # specified `category`. # - # @see Increase::EventSubscription#selected_event_category + # @see Increase::Models::EventSubscription#selected_event_category module SelectedEventCategory extend Increase::Internal::Type::Enum @@ -365,7 +365,7 @@ module SelectedEventCategory # This indicates if we'll send notifications to this subscription. # - # @see Increase::EventSubscription#status + # @see Increase::Models::EventSubscription#status module Status extend Increase::Internal::Type::Enum @@ -388,7 +388,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `event_subscription`. # - # @see Increase::EventSubscription#type + # @see Increase::Models::EventSubscription#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/event_subscription_create_params.rb b/lib/increase/models/event_subscription_create_params.rb index d8aa86695..65e38ce0f 100644 --- a/lib/increase/models/event_subscription_create_params.rb +++ b/lib/increase/models/event_subscription_create_params.rb @@ -24,7 +24,7 @@ class EventSubscriptionCreateParams < Increase::Internal::Type::BaseModel # If specified, this subscription will only receive webhooks for Events with the # specified `category`. # - # @return [Symbol, Increase::EventSubscriptionCreateParams::SelectedEventCategory, nil] + # @return [Symbol, Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory, nil] optional :selected_event_category, enum: -> { Increase::EventSubscriptionCreateParams::SelectedEventCategory } @@ -43,7 +43,7 @@ class EventSubscriptionCreateParams < Increase::Internal::Type::BaseModel # # @param oauth_connection_id [String] If specified, this subscription will only receive webhooks for Events associated # - # @param selected_event_category [Symbol, Increase::EventSubscriptionCreateParams::SelectedEventCategory] If specified, this subscription will only receive webhooks for Events with the s + # @param selected_event_category [Symbol, Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory] If specified, this subscription will only receive webhooks for Events with the s # # @param shared_secret [String] The key that will be used to sign webhooks. If no value is passed, a random stri # diff --git a/lib/increase/models/event_subscription_update_params.rb b/lib/increase/models/event_subscription_update_params.rb index 948b9f453..37970cd38 100644 --- a/lib/increase/models/event_subscription_update_params.rb +++ b/lib/increase/models/event_subscription_update_params.rb @@ -10,11 +10,11 @@ class EventSubscriptionUpdateParams < Increase::Internal::Type::BaseModel # @!attribute status # The status to update the Event Subscription with. # - # @return [Symbol, Increase::EventSubscriptionUpdateParams::Status, nil] + # @return [Symbol, Increase::Models::EventSubscriptionUpdateParams::Status, nil] optional :status, enum: -> { Increase::EventSubscriptionUpdateParams::Status } # @!method initialize(status: nil, request_options: {}) - # @param status [Symbol, Increase::EventSubscriptionUpdateParams::Status] The status to update the Event Subscription with. + # @param status [Symbol, Increase::Models::EventSubscriptionUpdateParams::Status] The status to update the Event Subscription with. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/export.rb b/lib/increase/models/export.rb index 414c24c41..ebfa9953a 100644 --- a/lib/increase/models/export.rb +++ b/lib/increase/models/export.rb @@ -14,7 +14,7 @@ class Export < Increase::Internal::Type::BaseModel # The category of the Export. We may add additional possible values for this enum # over time; your application should be able to handle that gracefully. # - # @return [Symbol, Increase::Export::Category] + # @return [Symbol, Increase::Models::Export::Category] required :category, enum: -> { Increase::Export::Category } # @!attribute created_at @@ -48,19 +48,19 @@ class Export < Increase::Internal::Type::BaseModel # @!attribute status # The status of the Export. # - # @return [Symbol, Increase::Export::Status] + # @return [Symbol, Increase::Models::Export::Status] required :status, enum: -> { Increase::Export::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `export`. # - # @return [Symbol, Increase::Export::Type] + # @return [Symbol, Increase::Models::Export::Type] required :type, enum: -> { Increase::Export::Type } # @!method initialize(id:, category:, created_at:, file_download_url:, file_id:, idempotency_key:, status:, type:) - # Some parameter documentations has been truncated, see {Increase::Export} for - # more details. + # Some parameter documentations has been truncated, see {Increase::Models::Export} + # for more details. # # Exports are batch summaries of your Increase data. You can make them from the # API or dashboard. Since they can take a while, they are generated @@ -70,7 +70,7 @@ class Export < Increase::Internal::Type::BaseModel # # @param id [String] The Export identifier. # - # @param category [Symbol, Increase::Export::Category] The category of the Export. We may add additional possible values for this enum + # @param category [Symbol, Increase::Models::Export::Category] The category of the Export. We may add additional possible values for this enum # # @param created_at [Time] The time the Export was created. # @@ -80,14 +80,14 @@ class Export < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param status [Symbol, Increase::Export::Status] The status of the Export. + # @param status [Symbol, Increase::Models::Export::Status] The status of the Export. # - # @param type [Symbol, Increase::Export::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Export::Type] A constant representing the object's type. For this resource it will always be ` # The category of the Export. We may add additional possible values for this enum # over time; your application should be able to handle that gracefully. # - # @see Increase::Export#category + # @see Increase::Models::Export#category module Category extend Increase::Internal::Type::Enum @@ -118,7 +118,7 @@ module Category # The status of the Export. # - # @see Increase::Export#status + # @see Increase::Models::Export#status module Status extend Increase::Internal::Type::Enum @@ -138,7 +138,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `export`. # - # @see Increase::Export#type + # @see Increase::Models::Export#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/export_create_params.rb b/lib/increase/models/export_create_params.rb index 18f332ff3..c22eb48bc 100644 --- a/lib/increase/models/export_create_params.rb +++ b/lib/increase/models/export_create_params.rb @@ -10,42 +10,42 @@ class ExportCreateParams < Increase::Internal::Type::BaseModel # @!attribute category # The type of Export to create. # - # @return [Symbol, Increase::ExportCreateParams::Category] + # @return [Symbol, Increase::Models::ExportCreateParams::Category] required :category, enum: -> { Increase::ExportCreateParams::Category } # @!attribute account_statement_ofx # Options for the created export. Required if `category` is equal to # `account_statement_ofx`. # - # @return [Increase::ExportCreateParams::AccountStatementOfx, nil] + # @return [Increase::Models::ExportCreateParams::AccountStatementOfx, nil] optional :account_statement_ofx, -> { Increase::ExportCreateParams::AccountStatementOfx } # @!attribute balance_csv # Options for the created export. Required if `category` is equal to # `balance_csv`. # - # @return [Increase::ExportCreateParams::BalanceCsv, nil] + # @return [Increase::Models::ExportCreateParams::BalanceCsv, nil] optional :balance_csv, -> { Increase::ExportCreateParams::BalanceCsv } # @!attribute bookkeeping_account_balance_csv # Options for the created export. Required if `category` is equal to # `bookkeeping_account_balance_csv`. # - # @return [Increase::ExportCreateParams::BookkeepingAccountBalanceCsv, nil] + # @return [Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv, nil] optional :bookkeeping_account_balance_csv, -> { Increase::ExportCreateParams::BookkeepingAccountBalanceCsv } # @!attribute entity_csv # Options for the created export. Required if `category` is equal to `entity_csv`. # - # @return [Increase::ExportCreateParams::EntityCsv, nil] + # @return [Increase::Models::ExportCreateParams::EntityCsv, nil] optional :entity_csv, -> { Increase::ExportCreateParams::EntityCsv } # @!attribute transaction_csv # Options for the created export. Required if `category` is equal to # `transaction_csv`. # - # @return [Increase::ExportCreateParams::TransactionCsv, nil] + # @return [Increase::Models::ExportCreateParams::TransactionCsv, nil] optional :transaction_csv, -> { Increase::ExportCreateParams::TransactionCsv } # @!attribute vendor_csv @@ -58,18 +58,18 @@ class ExportCreateParams < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::ExportCreateParams} for more details. # - # @param category [Symbol, Increase::ExportCreateParams::Category] The type of Export to create. + # @param category [Symbol, Increase::Models::ExportCreateParams::Category] The type of Export to create. # - # @param account_statement_ofx [Increase::ExportCreateParams::AccountStatementOfx] Options for the created export. Required if `category` is equal to `account_stat + # @param account_statement_ofx [Increase::Models::ExportCreateParams::AccountStatementOfx] Options for the created export. Required if `category` is equal to `account_stat # - # @param balance_csv [Increase::ExportCreateParams::BalanceCsv] Options for the created export. Required if `category` is equal to `balance_csv` + # @param balance_csv [Increase::Models::ExportCreateParams::BalanceCsv] Options for the created export. Required if `category` is equal to `balance_csv` # - # @param bookkeeping_account_balance_csv [Increase::ExportCreateParams::BookkeepingAccountBalanceCsv] Options for the created export. Required if `category` is equal to + # @param bookkeeping_account_balance_csv [Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv] Options for the created export. Required if `category` is equal to # `bookkeeping\_ # - # @param entity_csv [Increase::ExportCreateParams::EntityCsv] Options for the created export. Required if `category` is equal to `entity_csv`. + # @param entity_csv [Increase::Models::ExportCreateParams::EntityCsv] Options for the created export. Required if `category` is equal to `entity_csv`. # - # @param transaction_csv [Increase::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to + # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to # `transaction\_ # # @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`. @@ -112,7 +112,7 @@ class AccountStatementOfx < Increase::Internal::Type::BaseModel # @!attribute created_at # Filter results by time range on the `created_at` attribute. # - # @return [Increase::ExportCreateParams::AccountStatementOfx::CreatedAt, nil] + # @return [Increase::Models::ExportCreateParams::AccountStatementOfx::CreatedAt, nil] optional :created_at, -> { Increase::ExportCreateParams::AccountStatementOfx::CreatedAt } # @!method initialize(account_id:, created_at: nil) @@ -121,9 +121,9 @@ class AccountStatementOfx < Increase::Internal::Type::BaseModel # # @param account_id [String] The Account to create a statement for. # - # @param created_at [Increase::ExportCreateParams::AccountStatementOfx::CreatedAt] Filter results by time range on the `created_at` attribute. + # @param created_at [Increase::Models::ExportCreateParams::AccountStatementOfx::CreatedAt] Filter results by time range on the `created_at` attribute. - # @see Increase::ExportCreateParams::AccountStatementOfx#created_at + # @see Increase::Models::ExportCreateParams::AccountStatementOfx#created_at class CreatedAt < Increase::Internal::Type::BaseModel # @!attribute after # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -155,7 +155,8 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::ExportCreateParams::AccountStatementOfx::CreatedAt} for more details. + # {Increase::Models::ExportCreateParams::AccountStatementOfx::CreatedAt} for more + # details. # # Filter results by time range on the `created_at` attribute. # @@ -179,7 +180,7 @@ class BalanceCsv < Increase::Internal::Type::BaseModel # @!attribute created_at # Filter results by time range on the `created_at` attribute. # - # @return [Increase::ExportCreateParams::BalanceCsv::CreatedAt, nil] + # @return [Increase::Models::ExportCreateParams::BalanceCsv::CreatedAt, nil] optional :created_at, -> { Increase::ExportCreateParams::BalanceCsv::CreatedAt } # @!attribute program_id @@ -194,11 +195,11 @@ class BalanceCsv < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter exported Transactions to the specified Account. # - # @param created_at [Increase::ExportCreateParams::BalanceCsv::CreatedAt] Filter results by time range on the `created_at` attribute. + # @param created_at [Increase::Models::ExportCreateParams::BalanceCsv::CreatedAt] Filter results by time range on the `created_at` attribute. # # @param program_id [String] Filter exported Transactions to the specified Program. - # @see Increase::ExportCreateParams::BalanceCsv#created_at + # @see Increase::Models::ExportCreateParams::BalanceCsv#created_at class CreatedAt < Increase::Internal::Type::BaseModel # @!attribute after # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -230,7 +231,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::ExportCreateParams::BalanceCsv::CreatedAt} for more details. + # {Increase::Models::ExportCreateParams::BalanceCsv::CreatedAt} for more details. # # Filter results by time range on the `created_at` attribute. # @@ -254,7 +255,7 @@ class BookkeepingAccountBalanceCsv < Increase::Internal::Type::BaseModel # @!attribute created_at # Filter results by time range on the `created_at` attribute. # - # @return [Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt, nil] + # @return [Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt, nil] optional :created_at, -> { Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt } # @!method initialize(bookkeeping_account_id: nil, created_at: nil) @@ -263,9 +264,9 @@ class BookkeepingAccountBalanceCsv < Increase::Internal::Type::BaseModel # # @param bookkeeping_account_id [String] Filter exported Transactions to the specified Bookkeeping Account. # - # @param created_at [Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt] Filter results by time range on the `created_at` attribute. + # @param created_at [Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt] Filter results by time range on the `created_at` attribute. - # @see Increase::ExportCreateParams::BookkeepingAccountBalanceCsv#created_at + # @see Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv#created_at class CreatedAt < Increase::Internal::Type::BaseModel # @!attribute after # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -297,8 +298,8 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt} for more - # details. + # {Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt} + # for more details. # # Filter results by time range on the `created_at` attribute. # @@ -316,21 +317,21 @@ class EntityCsv < Increase::Internal::Type::BaseModel # @!attribute status # Entity statuses to filter by. # - # @return [Increase::ExportCreateParams::EntityCsv::Status, nil] + # @return [Increase::Models::ExportCreateParams::EntityCsv::Status, nil] optional :status, -> { Increase::ExportCreateParams::EntityCsv::Status } # @!method initialize(status: nil) # Options for the created export. Required if `category` is equal to `entity_csv`. # - # @param status [Increase::ExportCreateParams::EntityCsv::Status] Entity statuses to filter by. + # @param status [Increase::Models::ExportCreateParams::EntityCsv::Status] Entity statuses to filter by. - # @see Increase::ExportCreateParams::EntityCsv#status + # @see Increase::Models::ExportCreateParams::EntityCsv#status class Status < Increase::Internal::Type::BaseModel # @!attribute in_ # Entity statuses to filter by. For GET requests, this should be encoded as a # comma-delimited string, such as `?in=one,two,three`. # - # @return [Array] + # @return [Array] required :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::ExportCreateParams::EntityCsv::Status::In] @@ -339,11 +340,11 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_:) # Some parameter documentations has been truncated, see - # {Increase::ExportCreateParams::EntityCsv::Status} for more details. + # {Increase::Models::ExportCreateParams::EntityCsv::Status} for more details. # # Entity statuses to filter by. # - # @param in_ [Array] Entity statuses to filter by. For GET requests, this should be encoded as a comm + # @param in_ [Array] Entity statuses to filter by. For GET requests, this should be encoded as a comm module In extend Increase::Internal::Type::Enum @@ -373,7 +374,7 @@ class TransactionCsv < Increase::Internal::Type::BaseModel # @!attribute created_at # Filter results by time range on the `created_at` attribute. # - # @return [Increase::ExportCreateParams::TransactionCsv::CreatedAt, nil] + # @return [Increase::Models::ExportCreateParams::TransactionCsv::CreatedAt, nil] optional :created_at, -> { Increase::ExportCreateParams::TransactionCsv::CreatedAt } # @!attribute program_id @@ -388,11 +389,11 @@ class TransactionCsv < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter exported Transactions to the specified Account. # - # @param created_at [Increase::ExportCreateParams::TransactionCsv::CreatedAt] Filter results by time range on the `created_at` attribute. + # @param created_at [Increase::Models::ExportCreateParams::TransactionCsv::CreatedAt] Filter results by time range on the `created_at` attribute. # # @param program_id [String] Filter exported Transactions to the specified Program. - # @see Increase::ExportCreateParams::TransactionCsv#created_at + # @see Increase::Models::ExportCreateParams::TransactionCsv#created_at class CreatedAt < Increase::Internal::Type::BaseModel # @!attribute after # Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) @@ -424,7 +425,8 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::ExportCreateParams::TransactionCsv::CreatedAt} for more details. + # {Increase::Models::ExportCreateParams::TransactionCsv::CreatedAt} for more + # details. # # Filter results by time range on the `created_at` attribute. # diff --git a/lib/increase/models/export_list_params.rb b/lib/increase/models/export_list_params.rb index 5eb4d0463..6ab95fcef 100644 --- a/lib/increase/models/export_list_params.rb +++ b/lib/increase/models/export_list_params.rb @@ -9,12 +9,12 @@ class ExportListParams < Increase::Internal::Type::BaseModel # @!attribute category # - # @return [Increase::ExportListParams::Category, nil] + # @return [Increase::Models::ExportListParams::Category, nil] optional :category, -> { Increase::ExportListParams::Category } # @!attribute created_at # - # @return [Increase::ExportListParams::CreatedAt, nil] + # @return [Increase::Models::ExportListParams::CreatedAt, nil] optional :created_at, -> { Increase::ExportListParams::CreatedAt } # @!attribute cursor @@ -41,16 +41,16 @@ class ExportListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::ExportListParams::Status, nil] + # @return [Increase::Models::ExportListParams::Status, nil] optional :status, -> { Increase::ExportListParams::Status } # @!method initialize(category: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::ExportListParams} for more details. # - # @param category [Increase::ExportListParams::Category] + # @param category [Increase::Models::ExportListParams::Category] # - # @param created_at [Increase::ExportListParams::CreatedAt] + # @param created_at [Increase::Models::ExportListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -58,7 +58,7 @@ class ExportListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::ExportListParams::Status] + # @param status [Increase::Models::ExportListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -68,16 +68,16 @@ class Category < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::ExportListParams::Category::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::ExportListParams::Category} for more details. + # {Increase::Models::ExportListParams::Category} for more details. # - # @param in_ [Array] Filter Exports for those with the specified category or categories. For GET requ + # @param in_ [Array] Filter Exports for those with the specified category or categories. For GET requ module In extend Increase::Internal::Type::Enum @@ -139,7 +139,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::ExportListParams::CreatedAt} for more details. + # {Increase::Models::ExportListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -156,16 +156,16 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::ExportListParams::Status::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::ExportListParams::Status} for more details. + # {Increase::Models::ExportListParams::Status} for more details. # - # @param in_ [Array] Filter Exports for those with the specified status or statuses. For GET requests + # @param in_ [Array] Filter Exports for those with the specified status or statuses. For GET requests module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/external_account.rb b/lib/increase/models/external_account.rb index 741cf222b..6b0ea6c71 100644 --- a/lib/increase/models/external_account.rb +++ b/lib/increase/models/external_account.rb @@ -13,7 +13,7 @@ class ExternalAccount < Increase::Internal::Type::BaseModel # @!attribute account_holder # The type of entity that owns the External Account. # - # @return [Symbol, Increase::ExternalAccount::AccountHolder] + # @return [Symbol, Increase::Models::ExternalAccount::AccountHolder] required :account_holder, enum: -> { Increase::ExternalAccount::AccountHolder } # @!attribute account_number @@ -38,7 +38,7 @@ class ExternalAccount < Increase::Internal::Type::BaseModel # @!attribute funding # The type of the account to which the transfer will be sent. # - # @return [Symbol, Increase::ExternalAccount::Funding] + # @return [Symbol, Increase::Models::ExternalAccount::Funding] required :funding, enum: -> { Increase::ExternalAccount::Funding } # @!attribute idempotency_key @@ -58,32 +58,32 @@ class ExternalAccount < Increase::Internal::Type::BaseModel # @!attribute status # The External Account's status. # - # @return [Symbol, Increase::ExternalAccount::Status] + # @return [Symbol, Increase::Models::ExternalAccount::Status] required :status, enum: -> { Increase::ExternalAccount::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `external_account`. # - # @return [Symbol, Increase::ExternalAccount::Type] + # @return [Symbol, Increase::Models::ExternalAccount::Type] required :type, enum: -> { Increase::ExternalAccount::Type } # @!attribute verification_status # If you have verified ownership of the External Account. # - # @return [Symbol, Increase::ExternalAccount::VerificationStatus] + # @return [Symbol, Increase::Models::ExternalAccount::VerificationStatus] required :verification_status, enum: -> { Increase::ExternalAccount::VerificationStatus } # @!method initialize(id:, account_holder:, account_number:, created_at:, description:, funding:, idempotency_key:, routing_number:, status:, type:, verification_status:) # Some parameter documentations has been truncated, see - # {Increase::ExternalAccount} for more details. + # {Increase::Models::ExternalAccount} for more details. # # External Accounts represent accounts at financial institutions other than # Increase. You can use this API to store their details for reuse. # # @param id [String] The External Account's identifier. # - # @param account_holder [Symbol, Increase::ExternalAccount::AccountHolder] The type of entity that owns the External Account. + # @param account_holder [Symbol, Increase::Models::ExternalAccount::AccountHolder] The type of entity that owns the External Account. # # @param account_number [String] The destination account number. # @@ -91,21 +91,21 @@ class ExternalAccount < Increase::Internal::Type::BaseModel # # @param description [String] The External Account's description for display purposes. # - # @param funding [Symbol, Increase::ExternalAccount::Funding] The type of the account to which the transfer will be sent. + # @param funding [Symbol, Increase::Models::ExternalAccount::Funding] The type of the account to which the transfer will be sent. # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN). # - # @param status [Symbol, Increase::ExternalAccount::Status] The External Account's status. + # @param status [Symbol, Increase::Models::ExternalAccount::Status] The External Account's status. # - # @param type [Symbol, Increase::ExternalAccount::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::ExternalAccount::Type] A constant representing the object's type. For this resource it will always be ` # - # @param verification_status [Symbol, Increase::ExternalAccount::VerificationStatus] If you have verified ownership of the External Account. + # @param verification_status [Symbol, Increase::Models::ExternalAccount::VerificationStatus] If you have verified ownership of the External Account. # The type of entity that owns the External Account. # - # @see Increase::ExternalAccount#account_holder + # @see Increase::Models::ExternalAccount#account_holder module AccountHolder extend Increase::Internal::Type::Enum @@ -124,7 +124,7 @@ module AccountHolder # The type of the account to which the transfer will be sent. # - # @see Increase::ExternalAccount#funding + # @see Increase::Models::ExternalAccount#funding module Funding extend Increase::Internal::Type::Enum @@ -143,7 +143,7 @@ module Funding # The External Account's status. # - # @see Increase::ExternalAccount#status + # @see Increase::Models::ExternalAccount#status module Status extend Increase::Internal::Type::Enum @@ -160,7 +160,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `external_account`. # - # @see Increase::ExternalAccount#type + # @see Increase::Models::ExternalAccount#type module Type extend Increase::Internal::Type::Enum @@ -172,7 +172,7 @@ module Type # If you have verified ownership of the External Account. # - # @see Increase::ExternalAccount#verification_status + # @see Increase::Models::ExternalAccount#verification_status module VerificationStatus extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/external_account_create_params.rb b/lib/increase/models/external_account_create_params.rb index a02105073..c2ddcea12 100644 --- a/lib/increase/models/external_account_create_params.rb +++ b/lib/increase/models/external_account_create_params.rb @@ -29,13 +29,13 @@ class ExternalAccountCreateParams < Increase::Internal::Type::BaseModel # @!attribute account_holder # The type of entity that owns the External Account. # - # @return [Symbol, Increase::ExternalAccountCreateParams::AccountHolder, nil] + # @return [Symbol, Increase::Models::ExternalAccountCreateParams::AccountHolder, nil] optional :account_holder, enum: -> { Increase::ExternalAccountCreateParams::AccountHolder } # @!attribute funding # The type of the destination account. Defaults to `checking`. # - # @return [Symbol, Increase::ExternalAccountCreateParams::Funding, nil] + # @return [Symbol, Increase::Models::ExternalAccountCreateParams::Funding, nil] optional :funding, enum: -> { Increase::ExternalAccountCreateParams::Funding } # @!method initialize(account_number:, description:, routing_number:, account_holder: nil, funding: nil, request_options: {}) @@ -48,9 +48,9 @@ class ExternalAccountCreateParams < Increase::Internal::Type::BaseModel # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des # - # @param account_holder [Symbol, Increase::ExternalAccountCreateParams::AccountHolder] The type of entity that owns the External Account. + # @param account_holder [Symbol, Increase::Models::ExternalAccountCreateParams::AccountHolder] The type of entity that owns the External Account. # - # @param funding [Symbol, Increase::ExternalAccountCreateParams::Funding] The type of the destination account. Defaults to `checking`. + # @param funding [Symbol, Increase::Models::ExternalAccountCreateParams::Funding] The type of the destination account. Defaults to `checking`. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/external_account_list_params.rb b/lib/increase/models/external_account_list_params.rb index 8d4a9bb6b..d76884002 100644 --- a/lib/increase/models/external_account_list_params.rb +++ b/lib/increase/models/external_account_list_params.rb @@ -37,7 +37,7 @@ class ExternalAccountListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::ExternalAccountListParams::Status, nil] + # @return [Increase::Models::ExternalAccountListParams::Status, nil] optional :status, -> { Increase::ExternalAccountListParams::Status } # @!method initialize(cursor: nil, idempotency_key: nil, limit: nil, routing_number: nil, status: nil, request_options: {}) @@ -52,7 +52,7 @@ class ExternalAccountListParams < Increase::Internal::Type::BaseModel # # @param routing_number [String] Filter External Accounts to those with the specified Routing Number. # - # @param status [Increase::ExternalAccountListParams::Status] + # @param status [Increase::Models::ExternalAccountListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -62,7 +62,7 @@ class Status < Increase::Internal::Type::BaseModel # GET requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::ExternalAccountListParams::Status::In] @@ -71,9 +71,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::ExternalAccountListParams::Status} for more details. + # {Increase::Models::ExternalAccountListParams::Status} for more details. # - # @param in_ [Array] Filter External Accounts for those with the specified status or statuses. For GE + # @param in_ [Array] Filter External Accounts for those with the specified status or statuses. For GE module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/external_account_update_params.rb b/lib/increase/models/external_account_update_params.rb index 0a21e8b00..4e5fa7449 100644 --- a/lib/increase/models/external_account_update_params.rb +++ b/lib/increase/models/external_account_update_params.rb @@ -10,7 +10,7 @@ class ExternalAccountUpdateParams < Increase::Internal::Type::BaseModel # @!attribute account_holder # The type of entity that owns the External Account. # - # @return [Symbol, Increase::ExternalAccountUpdateParams::AccountHolder, nil] + # @return [Symbol, Increase::Models::ExternalAccountUpdateParams::AccountHolder, nil] optional :account_holder, enum: -> { Increase::ExternalAccountUpdateParams::AccountHolder } # @!attribute description @@ -22,23 +22,23 @@ class ExternalAccountUpdateParams < Increase::Internal::Type::BaseModel # @!attribute funding # The funding type of the External Account. # - # @return [Symbol, Increase::ExternalAccountUpdateParams::Funding, nil] + # @return [Symbol, Increase::Models::ExternalAccountUpdateParams::Funding, nil] optional :funding, enum: -> { Increase::ExternalAccountUpdateParams::Funding } # @!attribute status # The status of the External Account. # - # @return [Symbol, Increase::ExternalAccountUpdateParams::Status, nil] + # @return [Symbol, Increase::Models::ExternalAccountUpdateParams::Status, nil] optional :status, enum: -> { Increase::ExternalAccountUpdateParams::Status } # @!method initialize(account_holder: nil, description: nil, funding: nil, status: nil, request_options: {}) - # @param account_holder [Symbol, Increase::ExternalAccountUpdateParams::AccountHolder] The type of entity that owns the External Account. + # @param account_holder [Symbol, Increase::Models::ExternalAccountUpdateParams::AccountHolder] The type of entity that owns the External Account. # # @param description [String] The description you choose to give the external account. # - # @param funding [Symbol, Increase::ExternalAccountUpdateParams::Funding] The funding type of the External Account. + # @param funding [Symbol, Increase::Models::ExternalAccountUpdateParams::Funding] The funding type of the External Account. # - # @param status [Symbol, Increase::ExternalAccountUpdateParams::Status] The status of the External Account. + # @param status [Symbol, Increase::Models::ExternalAccountUpdateParams::Status] The status of the External Account. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/file.rb b/lib/increase/models/file.rb index e1cb3f5e6..ffabe4d72 100644 --- a/lib/increase/models/file.rb +++ b/lib/increase/models/file.rb @@ -25,7 +25,7 @@ class File < Increase::Internal::Type::BaseModel # @!attribute direction # Whether the File was generated by Increase or by you and sent to Increase. # - # @return [Symbol, Increase::File::Direction] + # @return [Symbol, Increase::Models::File::Direction] required :direction, enum: -> { Increase::File::Direction } # @!attribute filename @@ -53,19 +53,19 @@ class File < Increase::Internal::Type::BaseModel # enum over time; your application should be able to handle such additions # gracefully. # - # @return [Symbol, Increase::File::Purpose] + # @return [Symbol, Increase::Models::File::Purpose] required :purpose, enum: -> { Increase::File::Purpose } # @!attribute type # A constant representing the object's type. For this resource it will always be # `file`. # - # @return [Symbol, Increase::File::Type] + # @return [Symbol, Increase::Models::File::Type] required :type, enum: -> { Increase::File::Type } # @!method initialize(id:, created_at:, description:, direction:, filename:, idempotency_key:, mime_type:, purpose:, type:) - # Some parameter documentations has been truncated, see {Increase::File} for more - # details. + # Some parameter documentations has been truncated, see {Increase::Models::File} + # for more details. # # Files are objects that represent a file hosted on Increase's servers. The file # may have been uploaded by you (for example, when uploading a check image) or it @@ -78,7 +78,7 @@ class File < Increase::Internal::Type::BaseModel # # @param description [String, nil] A description of the File. # - # @param direction [Symbol, Increase::File::Direction] Whether the File was generated by Increase or by you and sent to Increase. + # @param direction [Symbol, Increase::Models::File::Direction] Whether the File was generated by Increase or by you and sent to Increase. # # @param filename [String, nil] The filename that was provided upon upload or generated by Increase. # @@ -86,13 +86,13 @@ class File < Increase::Internal::Type::BaseModel # # @param mime_type [String] The MIME type of the file. # - # @param purpose [Symbol, Increase::File::Purpose] What the File will be used for. We may add additional possible values for this e + # @param purpose [Symbol, Increase::Models::File::Purpose] What the File will be used for. We may add additional possible values for this e # - # @param type [Symbol, Increase::File::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::File::Type] A constant representing the object's type. For this resource it will always be ` # Whether the File was generated by Increase or by you and sent to Increase. # - # @see Increase::File#direction + # @see Increase::Models::File#direction module Direction extend Increase::Internal::Type::Enum @@ -110,7 +110,7 @@ module Direction # enum over time; your application should be able to handle such additions # gracefully. # - # @see Increase::File#purpose + # @see Increase::Models::File#purpose module Purpose extend Increase::Internal::Type::Enum @@ -196,7 +196,7 @@ module Purpose # A constant representing the object's type. For this resource it will always be # `file`. # - # @see Increase::File#type + # @see Increase::Models::File#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/file_create_params.rb b/lib/increase/models/file_create_params.rb index 5ed9bdf2c..8316325b1 100644 --- a/lib/increase/models/file_create_params.rb +++ b/lib/increase/models/file_create_params.rb @@ -18,7 +18,7 @@ class FileCreateParams < Increase::Internal::Type::BaseModel # @!attribute purpose # What the File will be used for in Increase's systems. # - # @return [Symbol, Increase::FileCreateParams::Purpose] + # @return [Symbol, Increase::Models::FileCreateParams::Purpose] required :purpose, enum: -> { Increase::FileCreateParams::Purpose } # @!attribute description @@ -33,7 +33,7 @@ class FileCreateParams < Increase::Internal::Type::BaseModel # # @param file [Pathname, StringIO, IO, String, Increase::FilePart] The file contents. This should follow the specifications of [RFC 7578](https://d # - # @param purpose [Symbol, Increase::FileCreateParams::Purpose] What the File will be used for in Increase's systems. + # @param purpose [Symbol, Increase::Models::FileCreateParams::Purpose] What the File will be used for in Increase's systems. # # @param description [String] The description you choose to give the File. # diff --git a/lib/increase/models/file_link.rb b/lib/increase/models/file_link.rb index 3f0f083cc..81e485301 100644 --- a/lib/increase/models/file_link.rb +++ b/lib/increase/models/file_link.rb @@ -42,7 +42,7 @@ class FileLink < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `file_link`. # - # @return [Symbol, Increase::FileLink::Type] + # @return [Symbol, Increase::Models::FileLink::Type] required :type, enum: -> { Increase::FileLink::Type } # @!attribute unauthenticated_url @@ -54,8 +54,8 @@ class FileLink < Increase::Internal::Type::BaseModel required :unauthenticated_url, String # @!method initialize(id:, created_at:, expires_at:, file_id:, idempotency_key:, type:, unauthenticated_url:) - # Some parameter documentations has been truncated, see {Increase::FileLink} for - # more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::FileLink} for more details. # # File Links let you generate a URL that can be used to download a File. # @@ -69,14 +69,14 @@ class FileLink < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param type [Symbol, Increase::FileLink::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::FileLink::Type] A constant representing the object's type. For this resource it will always be ` # # @param unauthenticated_url [String] A URL where the File can be downloaded. The URL will expire after the `expires_a # A constant representing the object's type. For this resource it will always be # `file_link`. # - # @see Increase::FileLink#type + # @see Increase::Models::FileLink#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/file_list_params.rb b/lib/increase/models/file_list_params.rb index 6071b9707..36dfe7d63 100644 --- a/lib/increase/models/file_list_params.rb +++ b/lib/increase/models/file_list_params.rb @@ -9,7 +9,7 @@ class FileListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::FileListParams::CreatedAt, nil] + # @return [Increase::Models::FileListParams::CreatedAt, nil] optional :created_at, -> { Increase::FileListParams::CreatedAt } # @!attribute cursor @@ -36,14 +36,14 @@ class FileListParams < Increase::Internal::Type::BaseModel # @!attribute purpose # - # @return [Increase::FileListParams::Purpose, nil] + # @return [Increase::Models::FileListParams::Purpose, nil] optional :purpose, -> { Increase::FileListParams::Purpose } # @!method initialize(created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, purpose: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::FileListParams} for more details. # - # @param created_at [Increase::FileListParams::CreatedAt] + # @param created_at [Increase::Models::FileListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -51,7 +51,7 @@ class FileListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param purpose [Increase::FileListParams::Purpose] + # @param purpose [Increase::Models::FileListParams::Purpose] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -86,7 +86,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::FileListParams::CreatedAt} for more details. + # {Increase::Models::FileListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -102,16 +102,16 @@ class Purpose < Increase::Internal::Type::BaseModel # Filter Files for those with the specified purpose or purposes. For GET requests, # this should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::FileListParams::Purpose::In] }, api_name: :in # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::FileListParams::Purpose} for more details. + # {Increase::Models::FileListParams::Purpose} for more details. # - # @param in_ [Array] Filter Files for those with the specified purpose or purposes. For GET requests, + # @param in_ [Array] Filter Files for those with the specified purpose or purposes. For GET requests, module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/group.rb b/lib/increase/models/group.rb index 58c61a28b..eb2cdf877 100644 --- a/lib/increase/models/group.rb +++ b/lib/increase/models/group.rb @@ -13,13 +13,13 @@ class Group < Increase::Internal::Type::BaseModel # @!attribute ach_debit_status # If the Group is allowed to create ACH debits. # - # @return [Symbol, Increase::Group::ACHDebitStatus] + # @return [Symbol, Increase::Models::Group::ACHDebitStatus] required :ach_debit_status, enum: -> { Increase::Group::ACHDebitStatus } # @!attribute activation_status # If the Group is activated or not. # - # @return [Symbol, Increase::Group::ActivationStatus] + # @return [Symbol, Increase::Models::Group::ActivationStatus] required :activation_status, enum: -> { Increase::Group::ActivationStatus } # @!attribute created_at @@ -33,12 +33,12 @@ class Group < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `group`. # - # @return [Symbol, Increase::Group::Type] + # @return [Symbol, Increase::Models::Group::Type] required :type, enum: -> { Increase::Group::Type } # @!method initialize(id:, ach_debit_status:, activation_status:, created_at:, type:) - # Some parameter documentations has been truncated, see {Increase::Group} for more - # details. + # Some parameter documentations has been truncated, see {Increase::Models::Group} + # for more details. # # Groups represent organizations using Increase. You can retrieve information # about your own organization via the API. More commonly, OAuth platforms can @@ -47,17 +47,17 @@ class Group < Increase::Internal::Type::BaseModel # # @param id [String] The Group identifier. # - # @param ach_debit_status [Symbol, Increase::Group::ACHDebitStatus] If the Group is allowed to create ACH debits. + # @param ach_debit_status [Symbol, Increase::Models::Group::ACHDebitStatus] If the Group is allowed to create ACH debits. # - # @param activation_status [Symbol, Increase::Group::ActivationStatus] If the Group is activated or not. + # @param activation_status [Symbol, Increase::Models::Group::ActivationStatus] If the Group is activated or not. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Group w # - # @param type [Symbol, Increase::Group::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Group::Type] A constant representing the object's type. For this resource it will always be ` # If the Group is allowed to create ACH debits. # - # @see Increase::Group#ach_debit_status + # @see Increase::Models::Group#ach_debit_status module ACHDebitStatus extend Increase::Internal::Type::Enum @@ -73,7 +73,7 @@ module ACHDebitStatus # If the Group is activated or not. # - # @see Increase::Group#activation_status + # @see Increase::Models::Group#activation_status module ActivationStatus extend Increase::Internal::Type::Enum @@ -90,7 +90,7 @@ module ActivationStatus # A constant representing the object's type. For this resource it will always be # `group`. # - # @see Increase::Group#type + # @see Increase::Models::Group#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_ach_transfer.rb b/lib/increase/models/inbound_ach_transfer.rb index 4b3520874..1be0ed0c3 100644 --- a/lib/increase/models/inbound_ach_transfer.rb +++ b/lib/increase/models/inbound_ach_transfer.rb @@ -13,7 +13,7 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!attribute acceptance # If your transfer is accepted, this will contain details of the acceptance. # - # @return [Increase::InboundACHTransfer::Acceptance, nil] + # @return [Increase::Models::InboundACHTransfer::Acceptance, nil] required :acceptance, -> { Increase::InboundACHTransfer::Acceptance }, nil?: true # @!attribute account_id @@ -31,7 +31,7 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!attribute addenda # Additional information sent from the originator. # - # @return [Increase::InboundACHTransfer::Addenda, nil] + # @return [Increase::Models::InboundACHTransfer::Addenda, nil] required :addenda, -> { Increase::InboundACHTransfer::Addenda }, nil?: true # @!attribute amount @@ -56,13 +56,13 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!attribute decline # If your transfer is declined, this will contain details of the decline. # - # @return [Increase::InboundACHTransfer::Decline, nil] + # @return [Increase::Models::InboundACHTransfer::Decline, nil] required :decline, -> { Increase::InboundACHTransfer::Decline }, nil?: true # @!attribute direction # The direction of the transfer. # - # @return [Symbol, Increase::InboundACHTransfer::Direction] + # @return [Symbol, Increase::Models::InboundACHTransfer::Direction] required :direction, enum: -> { Increase::InboundACHTransfer::Direction } # @!attribute effective_date @@ -75,7 +75,7 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!attribute expected_settlement_schedule # The settlement schedule the transfer is expected to follow. # - # @return [Symbol, Increase::InboundACHTransfer::ExpectedSettlementSchedule] + # @return [Symbol, Increase::Models::InboundACHTransfer::ExpectedSettlementSchedule] required :expected_settlement_schedule, enum: -> { Increase::InboundACHTransfer::ExpectedSettlementSchedule } @@ -83,14 +83,14 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will # contain fields pertaining to the International ACH Transaction. # - # @return [Increase::InboundACHTransfer::InternationalAddenda, nil] + # @return [Increase::Models::InboundACHTransfer::InternationalAddenda, nil] required :international_addenda, -> { Increase::InboundACHTransfer::InternationalAddenda }, nil?: true # @!attribute notification_of_change # If you initiate a notification of change in response to the transfer, this will # contain its details. # - # @return [Increase::InboundACHTransfer::NotificationOfChange, nil] + # @return [Increase::Models::InboundACHTransfer::NotificationOfChange, nil] required :notification_of_change, -> { Increase::InboundACHTransfer::NotificationOfChange }, nil?: true # @!attribute originator_company_descriptive_date @@ -145,13 +145,13 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!attribute standard_entry_class_code # The Standard Entry Class (SEC) code of the transfer. # - # @return [Symbol, Increase::InboundACHTransfer::StandardEntryClassCode] + # @return [Symbol, Increase::Models::InboundACHTransfer::StandardEntryClassCode] required :standard_entry_class_code, enum: -> { Increase::InboundACHTransfer::StandardEntryClassCode } # @!attribute status # The status of the transfer. # - # @return [Symbol, Increase::InboundACHTransfer::Status] + # @return [Symbol, Increase::Models::InboundACHTransfer::Status] required :status, enum: -> { Increase::InboundACHTransfer::Status } # @!attribute trace_number @@ -166,32 +166,32 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!attribute transfer_return # If your transfer is returned, this will contain details of the return. # - # @return [Increase::InboundACHTransfer::TransferReturn, nil] + # @return [Increase::Models::InboundACHTransfer::TransferReturn, nil] required :transfer_return, -> { Increase::InboundACHTransfer::TransferReturn }, nil?: true # @!attribute type # A constant representing the object's type. For this resource it will always be # `inbound_ach_transfer`. # - # @return [Symbol, Increase::InboundACHTransfer::Type] + # @return [Symbol, Increase::Models::InboundACHTransfer::Type] required :type, enum: -> { Increase::InboundACHTransfer::Type } # @!method initialize(id:, acceptance:, account_id:, account_number_id:, addenda:, amount:, automatically_resolves_at:, created_at:, decline:, direction:, effective_date:, expected_settlement_schedule:, international_addenda:, notification_of_change:, originator_company_descriptive_date:, originator_company_discretionary_data:, originator_company_entry_description:, originator_company_id:, originator_company_name:, originator_routing_number:, receiver_id_number:, receiver_name:, standard_entry_class_code:, status:, trace_number:, transfer_return:, type:) # Some parameter documentations has been truncated, see - # {Increase::InboundACHTransfer} for more details. + # {Increase::Models::InboundACHTransfer} for more details. # # An Inbound ACH Transfer is an ACH transfer initiated outside of Increase to your # account. # # @param id [String] The inbound ACH transfer's identifier. # - # @param acceptance [Increase::InboundACHTransfer::Acceptance, nil] If your transfer is accepted, this will contain details of the acceptance. + # @param acceptance [Increase::Models::InboundACHTransfer::Acceptance, nil] If your transfer is accepted, this will contain details of the acceptance. # # @param account_id [String] The Account to which the transfer belongs. # # @param account_number_id [String] The identifier of the Account Number to which this transfer was sent. # - # @param addenda [Increase::InboundACHTransfer::Addenda, nil] Additional information sent from the originator. + # @param addenda [Increase::Models::InboundACHTransfer::Addenda, nil] Additional information sent from the originator. # # @param amount [Integer] The transfer amount in USD cents. # @@ -199,17 +199,17 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param decline [Increase::InboundACHTransfer::Decline, nil] If your transfer is declined, this will contain details of the decline. + # @param decline [Increase::Models::InboundACHTransfer::Decline, nil] If your transfer is declined, this will contain details of the decline. # - # @param direction [Symbol, Increase::InboundACHTransfer::Direction] The direction of the transfer. + # @param direction [Symbol, Increase::Models::InboundACHTransfer::Direction] The direction of the transfer. # # @param effective_date [Date] The effective date of the transfer. This is sent by the sending bank and is a fa # - # @param expected_settlement_schedule [Symbol, Increase::InboundACHTransfer::ExpectedSettlementSchedule] The settlement schedule the transfer is expected to follow. + # @param expected_settlement_schedule [Symbol, Increase::Models::InboundACHTransfer::ExpectedSettlementSchedule] The settlement schedule the transfer is expected to follow. # - # @param international_addenda [Increase::InboundACHTransfer::InternationalAddenda, nil] If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will co + # @param international_addenda [Increase::Models::InboundACHTransfer::InternationalAddenda, nil] If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will co # - # @param notification_of_change [Increase::InboundACHTransfer::NotificationOfChange, nil] If you initiate a notification of change in response to the transfer, this will + # @param notification_of_change [Increase::Models::InboundACHTransfer::NotificationOfChange, nil] If you initiate a notification of change in response to the transfer, this will # # @param originator_company_descriptive_date [String, nil] The descriptive date of the transfer. # @@ -227,17 +227,17 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # # @param receiver_name [String, nil] The name of the receiver of the transfer. # - # @param standard_entry_class_code [Symbol, Increase::InboundACHTransfer::StandardEntryClassCode] The Standard Entry Class (SEC) code of the transfer. + # @param standard_entry_class_code [Symbol, Increase::Models::InboundACHTransfer::StandardEntryClassCode] The Standard Entry Class (SEC) code of the transfer. # - # @param status [Symbol, Increase::InboundACHTransfer::Status] The status of the transfer. + # @param status [Symbol, Increase::Models::InboundACHTransfer::Status] The status of the transfer. # # @param trace_number [String] A 15 digit number set by the sending bank and transmitted to the receiving bank. # - # @param transfer_return [Increase::InboundACHTransfer::TransferReturn, nil] If your transfer is returned, this will contain details of the return. + # @param transfer_return [Increase::Models::InboundACHTransfer::TransferReturn, nil] If your transfer is returned, this will contain details of the return. # - # @param type [Symbol, Increase::InboundACHTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::InboundACHTransfer::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::InboundACHTransfer#acceptance + # @see Increase::Models::InboundACHTransfer#acceptance class Acceptance < Increase::Internal::Type::BaseModel # @!attribute accepted_at # The time at which the transfer was accepted. @@ -259,30 +259,30 @@ class Acceptance < Increase::Internal::Type::BaseModel # @param transaction_id [String] The id of the transaction for the accepted transfer. end - # @see Increase::InboundACHTransfer#addenda + # @see Increase::Models::InboundACHTransfer#addenda class Addenda < Increase::Internal::Type::BaseModel # @!attribute category # The type of addendum. # - # @return [Symbol, Increase::InboundACHTransfer::Addenda::Category] + # @return [Symbol, Increase::Models::InboundACHTransfer::Addenda::Category] required :category, enum: -> { Increase::InboundACHTransfer::Addenda::Category } # @!attribute freeform # Unstructured `payment_related_information` passed through by the originator. # - # @return [Increase::InboundACHTransfer::Addenda::Freeform, nil] + # @return [Increase::Models::InboundACHTransfer::Addenda::Freeform, nil] required :freeform, -> { Increase::InboundACHTransfer::Addenda::Freeform }, nil?: true # @!method initialize(category:, freeform:) # Additional information sent from the originator. # - # @param category [Symbol, Increase::InboundACHTransfer::Addenda::Category] The type of addendum. + # @param category [Symbol, Increase::Models::InboundACHTransfer::Addenda::Category] The type of addendum. # - # @param freeform [Increase::InboundACHTransfer::Addenda::Freeform, nil] Unstructured `payment_related_information` passed through by the originator. + # @param freeform [Increase::Models::InboundACHTransfer::Addenda::Freeform, nil] Unstructured `payment_related_information` passed through by the originator. # The type of addendum. # - # @see Increase::InboundACHTransfer::Addenda#category + # @see Increase::Models::InboundACHTransfer::Addenda#category module Category extend Increase::Internal::Type::Enum @@ -293,12 +293,12 @@ module Category # @return [Array] end - # @see Increase::InboundACHTransfer::Addenda#freeform + # @see Increase::Models::InboundACHTransfer::Addenda#freeform class Freeform < Increase::Internal::Type::BaseModel # @!attribute entries # Each entry represents an addendum received from the originator. # - # @return [Array] + # @return [Array] required :entries, -> { Increase::Internal::Type::ArrayOf[Increase::InboundACHTransfer::Addenda::Freeform::Entry] @@ -307,7 +307,7 @@ class Freeform < Increase::Internal::Type::BaseModel # @!method initialize(entries:) # Unstructured `payment_related_information` passed through by the originator. # - # @param entries [Array] Each entry represents an addendum received from the originator. + # @param entries [Array] Each entry represents an addendum received from the originator. class Entry < Increase::Internal::Type::BaseModel # @!attribute payment_related_information @@ -322,7 +322,7 @@ class Entry < Increase::Internal::Type::BaseModel end end - # @see Increase::InboundACHTransfer#decline + # @see Increase::Models::InboundACHTransfer#decline class Decline < Increase::Internal::Type::BaseModel # @!attribute declined_at # The time at which the transfer was declined. @@ -339,7 +339,7 @@ class Decline < Increase::Internal::Type::BaseModel # @!attribute reason # The reason for the transfer decline. # - # @return [Symbol, Increase::InboundACHTransfer::Decline::Reason] + # @return [Symbol, Increase::Models::InboundACHTransfer::Decline::Reason] required :reason, enum: -> { Increase::InboundACHTransfer::Decline::Reason } # @!method initialize(declined_at:, declined_transaction_id:, reason:) @@ -349,11 +349,11 @@ class Decline < Increase::Internal::Type::BaseModel # # @param declined_transaction_id [String] The id of the transaction for the declined transfer. # - # @param reason [Symbol, Increase::InboundACHTransfer::Decline::Reason] The reason for the transfer decline. + # @param reason [Symbol, Increase::Models::InboundACHTransfer::Decline::Reason] The reason for the transfer decline. # The reason for the transfer decline. # - # @see Increase::InboundACHTransfer::Decline#reason + # @see Increase::Models::InboundACHTransfer::Decline#reason module Reason extend Increase::Internal::Type::Enum @@ -417,7 +417,7 @@ module Reason # The direction of the transfer. # - # @see Increase::InboundACHTransfer#direction + # @see Increase::Models::InboundACHTransfer#direction module Direction extend Increase::Internal::Type::Enum @@ -433,7 +433,7 @@ module Direction # The settlement schedule the transfer is expected to follow. # - # @see Increase::InboundACHTransfer#expected_settlement_schedule + # @see Increase::Models::InboundACHTransfer#expected_settlement_schedule module ExpectedSettlementSchedule extend Increase::Internal::Type::Enum @@ -447,7 +447,7 @@ module ExpectedSettlementSchedule # @return [Array] end - # @see Increase::InboundACHTransfer#international_addenda + # @see Increase::Models::InboundACHTransfer#international_addenda class InternationalAddenda < Increase::Internal::Type::BaseModel # @!attribute destination_country_code # The [ISO 3166](https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2), Alpha-2 @@ -466,7 +466,7 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # @!attribute foreign_exchange_indicator # A description of how the foreign exchange rate was calculated. # - # @return [Symbol, Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeIndicator] + # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ForeignExchangeIndicator] required :foreign_exchange_indicator, enum: -> { Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeIndicator } @@ -481,7 +481,7 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # An instruction of how to interpret the `foreign_exchange_reference` field for # this Transaction. # - # @return [Symbol, Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator] + # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator] required :foreign_exchange_reference_indicator, enum: -> { Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator @@ -503,7 +503,7 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # @!attribute international_transaction_type_code # The type of transfer. Set by the originator. # - # @return [Symbol, Increase::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode] + # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode] required :international_transaction_type_code, enum: -> { Increase::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode @@ -535,7 +535,7 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # An instruction of how to interpret the # `originating_depository_financial_institution_id` field for this Transaction. # - # @return [Symbol, Increase::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier] + # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier] required :originating_depository_financial_institution_id_qualifier, enum: -> { Increase::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier @@ -668,7 +668,7 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # An instruction of how to interpret the # `receiving_depository_financial_institution_id` field for this Transaction. # - # @return [Symbol, Increase::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier] + # @return [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier] required :receiving_depository_financial_institution_id_qualifier, enum: -> { Increase::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier @@ -682,7 +682,7 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # @!method initialize(destination_country_code:, destination_currency_code:, foreign_exchange_indicator:, foreign_exchange_reference:, foreign_exchange_reference_indicator:, foreign_payment_amount:, foreign_trace_number:, international_transaction_type_code:, originating_currency_code:, originating_depository_financial_institution_branch_country:, originating_depository_financial_institution_id:, originating_depository_financial_institution_id_qualifier:, originating_depository_financial_institution_name:, originator_city:, originator_country:, originator_identification:, originator_name:, originator_postal_code:, originator_state_or_province:, originator_street_address:, payment_related_information:, payment_related_information2:, receiver_city:, receiver_country:, receiver_identification_number:, receiver_postal_code:, receiver_state_or_province:, receiver_street_address:, receiving_company_or_individual_name:, receiving_depository_financial_institution_country:, receiving_depository_financial_institution_id:, receiving_depository_financial_institution_id_qualifier:, receiving_depository_financial_institution_name:) # Some parameter documentations has been truncated, see - # {Increase::InboundACHTransfer::InternationalAddenda} for more details. + # {Increase::Models::InboundACHTransfer::InternationalAddenda} for more details. # # If the Inbound ACH Transfer has a Standard Entry Class Code of IAT, this will # contain fields pertaining to the International ACH Transaction. @@ -691,17 +691,17 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # # @param destination_currency_code [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the des # - # @param foreign_exchange_indicator [Symbol, Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeIndicator] A description of how the foreign exchange rate was calculated. + # @param foreign_exchange_indicator [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ForeignExchangeIndicator] A description of how the foreign exchange rate was calculated. # # @param foreign_exchange_reference [String, nil] Depending on the `foreign_exchange_reference_indicator`, an exchange rate or a r # - # @param foreign_exchange_reference_indicator [Symbol, Increase::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator] An instruction of how to interpret the `foreign_exchange_reference` field for th + # @param foreign_exchange_reference_indicator [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ForeignExchangeReferenceIndicator] An instruction of how to interpret the `foreign_exchange_reference` field for th # # @param foreign_payment_amount [Integer] The amount in the minor unit of the foreign payment currency. For dollars, for e # # @param foreign_trace_number [String, nil] A reference number in the foreign banking infrastructure. # - # @param international_transaction_type_code [Symbol, Increase::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode] The type of transfer. Set by the originator. + # @param international_transaction_type_code [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::InternationalTransactionTypeCode] The type of transfer. Set by the originator. # # @param originating_currency_code [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) currency code for the ori # @@ -709,7 +709,7 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # # @param originating_depository_financial_institution_id [String] An identifier for the originating bank. One of an International Bank Account Num # - # @param originating_depository_financial_institution_id_qualifier [Symbol, Increase::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier] An instruction of how to interpret the `originating_depository_financial_institu + # @param originating_depository_financial_institution_id_qualifier [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::OriginatingDepositoryFinancialInstitutionIDQualifier] An instruction of how to interpret the `originating_depository_financial_institu # # @param originating_depository_financial_institution_name [String] The name of the originating bank. Sometimes this will refer to an American bank # @@ -749,13 +749,13 @@ class InternationalAddenda < Increase::Internal::Type::BaseModel # # @param receiving_depository_financial_institution_id [String] An identifier for the receiving bank. One of an International Bank Account Numbe # - # @param receiving_depository_financial_institution_id_qualifier [Symbol, Increase::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier] An instruction of how to interpret the `receiving_depository_financial_instituti + # @param receiving_depository_financial_institution_id_qualifier [Symbol, Increase::Models::InboundACHTransfer::InternationalAddenda::ReceivingDepositoryFinancialInstitutionIDQualifier] An instruction of how to interpret the `receiving_depository_financial_instituti # # @param receiving_depository_financial_institution_name [String] The name of the receiving bank, as set by the sending financial institution. # A description of how the foreign exchange rate was calculated. # - # @see Increase::InboundACHTransfer::InternationalAddenda#foreign_exchange_indicator + # @see Increase::Models::InboundACHTransfer::InternationalAddenda#foreign_exchange_indicator module ForeignExchangeIndicator extend Increase::Internal::Type::Enum @@ -775,7 +775,7 @@ module ForeignExchangeIndicator # An instruction of how to interpret the `foreign_exchange_reference` field for # this Transaction. # - # @see Increase::InboundACHTransfer::InternationalAddenda#foreign_exchange_reference_indicator + # @see Increase::Models::InboundACHTransfer::InternationalAddenda#foreign_exchange_reference_indicator module ForeignExchangeReferenceIndicator extend Increase::Internal::Type::Enum @@ -794,7 +794,7 @@ module ForeignExchangeReferenceIndicator # The type of transfer. Set by the originator. # - # @see Increase::InboundACHTransfer::InternationalAddenda#international_transaction_type_code + # @see Increase::Models::InboundACHTransfer::InternationalAddenda#international_transaction_type_code module InternationalTransactionTypeCode extend Increase::Internal::Type::Enum @@ -865,7 +865,7 @@ module InternationalTransactionTypeCode # An instruction of how to interpret the # `originating_depository_financial_institution_id` field for this Transaction. # - # @see Increase::InboundACHTransfer::InternationalAddenda#originating_depository_financial_institution_id_qualifier + # @see Increase::Models::InboundACHTransfer::InternationalAddenda#originating_depository_financial_institution_id_qualifier module OriginatingDepositoryFinancialInstitutionIDQualifier extend Increase::Internal::Type::Enum @@ -885,7 +885,7 @@ module OriginatingDepositoryFinancialInstitutionIDQualifier # An instruction of how to interpret the # `receiving_depository_financial_institution_id` field for this Transaction. # - # @see Increase::InboundACHTransfer::InternationalAddenda#receiving_depository_financial_institution_id_qualifier + # @see Increase::Models::InboundACHTransfer::InternationalAddenda#receiving_depository_financial_institution_id_qualifier module ReceivingDepositoryFinancialInstitutionIDQualifier extend Increase::Internal::Type::Enum @@ -903,7 +903,7 @@ module ReceivingDepositoryFinancialInstitutionIDQualifier end end - # @see Increase::InboundACHTransfer#notification_of_change + # @see Increase::Models::InboundACHTransfer#notification_of_change class NotificationOfChange < Increase::Internal::Type::BaseModel # @!attribute updated_account_number # The new account number provided in the notification of change. @@ -928,7 +928,7 @@ class NotificationOfChange < Increase::Internal::Type::BaseModel # The Standard Entry Class (SEC) code of the transfer. # - # @see Increase::InboundACHTransfer#standard_entry_class_code + # @see Increase::Models::InboundACHTransfer#standard_entry_class_code module StandardEntryClassCode extend Increase::Internal::Type::Enum @@ -986,7 +986,7 @@ module StandardEntryClassCode # The status of the transfer. # - # @see Increase::InboundACHTransfer#status + # @see Increase::Models::InboundACHTransfer#status module Status extend Increase::Internal::Type::Enum @@ -1006,12 +1006,12 @@ module Status # @return [Array] end - # @see Increase::InboundACHTransfer#transfer_return + # @see Increase::Models::InboundACHTransfer#transfer_return class TransferReturn < Increase::Internal::Type::BaseModel # @!attribute reason # The reason for the transfer return. # - # @return [Symbol, Increase::InboundACHTransfer::TransferReturn::Reason] + # @return [Symbol, Increase::Models::InboundACHTransfer::TransferReturn::Reason] required :reason, enum: -> { Increase::InboundACHTransfer::TransferReturn::Reason } # @!attribute returned_at @@ -1029,7 +1029,7 @@ class TransferReturn < Increase::Internal::Type::BaseModel # @!method initialize(reason:, returned_at:, transaction_id:) # If your transfer is returned, this will contain details of the return. # - # @param reason [Symbol, Increase::InboundACHTransfer::TransferReturn::Reason] The reason for the transfer return. + # @param reason [Symbol, Increase::Models::InboundACHTransfer::TransferReturn::Reason] The reason for the transfer return. # # @param returned_at [Time] The time at which the transfer was returned. # @@ -1037,7 +1037,7 @@ class TransferReturn < Increase::Internal::Type::BaseModel # The reason for the transfer return. # - # @see Increase::InboundACHTransfer::TransferReturn#reason + # @see Increase::Models::InboundACHTransfer::TransferReturn#reason module Reason extend Increase::Internal::Type::Enum @@ -1081,7 +1081,7 @@ module Reason # A constant representing the object's type. For this resource it will always be # `inbound_ach_transfer`. # - # @see Increase::InboundACHTransfer#type + # @see Increase::Models::InboundACHTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_ach_transfer_decline_params.rb b/lib/increase/models/inbound_ach_transfer_decline_params.rb index ae1182f73..bfe82266b 100644 --- a/lib/increase/models/inbound_ach_transfer_decline_params.rb +++ b/lib/increase/models/inbound_ach_transfer_decline_params.rb @@ -12,14 +12,14 @@ class InboundACHTransferDeclineParams < Increase::Internal::Type::BaseModel # return codes will be `payment_stopped` for debits and # `credit_entry_refused_by_receiver` for credits. # - # @return [Symbol, Increase::InboundACHTransferDeclineParams::Reason, nil] + # @return [Symbol, Increase::Models::InboundACHTransferDeclineParams::Reason, nil] optional :reason, enum: -> { Increase::InboundACHTransferDeclineParams::Reason } # @!method initialize(reason: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::InboundACHTransferDeclineParams} for more details. # - # @param reason [Symbol, Increase::InboundACHTransferDeclineParams::Reason] The reason why this transfer will be returned. If this parameter is unset, the r + # @param reason [Symbol, Increase::Models::InboundACHTransferDeclineParams::Reason] The reason why this transfer will be returned. If this parameter is unset, the r # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/inbound_ach_transfer_list_params.rb b/lib/increase/models/inbound_ach_transfer_list_params.rb index 8f5b12cf5..579aa5e80 100644 --- a/lib/increase/models/inbound_ach_transfer_list_params.rb +++ b/lib/increase/models/inbound_ach_transfer_list_params.rb @@ -21,7 +21,7 @@ class InboundACHTransferListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::InboundACHTransferListParams::CreatedAt, nil] + # @return [Increase::Models::InboundACHTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::InboundACHTransferListParams::CreatedAt } # @!attribute cursor @@ -39,7 +39,7 @@ class InboundACHTransferListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::InboundACHTransferListParams::Status, nil] + # @return [Increase::Models::InboundACHTransferListParams::Status, nil] optional :status, -> { Increase::InboundACHTransferListParams::Status } # @!method initialize(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, status: nil, request_options: {}) @@ -50,13 +50,13 @@ class InboundACHTransferListParams < Increase::Internal::Type::BaseModel # # @param account_number_id [String] Filter Inbound ACH Transfers to ones belonging to the specified Account Number. # - # @param created_at [Increase::InboundACHTransferListParams::CreatedAt] + # @param created_at [Increase::Models::InboundACHTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::InboundACHTransferListParams::Status] + # @param status [Increase::Models::InboundACHTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -91,7 +91,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::InboundACHTransferListParams::CreatedAt} for more details. + # {Increase::Models::InboundACHTransferListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -108,7 +108,7 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::InboundACHTransferListParams::Status::In] @@ -117,9 +117,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::InboundACHTransferListParams::Status} for more details. + # {Increase::Models::InboundACHTransferListParams::Status} for more details. # - # @param in_ [Array] Filter Inbound ACH Transfers to those with the specified status. For GET request + # @param in_ [Array] Filter Inbound ACH Transfers to those with the specified status. For GET request module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb b/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb index 0ed17984c..a8e1f516e 100644 --- a/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb +++ b/lib/increase/models/inbound_ach_transfer_transfer_return_params.rb @@ -11,14 +11,14 @@ class InboundACHTransferTransferReturnParams < Increase::Internal::Type::BaseMod # The reason why this transfer will be returned. The most usual return codes are # `payment_stopped` for debits and `credit_entry_refused_by_receiver` for credits. # - # @return [Symbol, Increase::InboundACHTransferTransferReturnParams::Reason] + # @return [Symbol, Increase::Models::InboundACHTransferTransferReturnParams::Reason] required :reason, enum: -> { Increase::InboundACHTransferTransferReturnParams::Reason } # @!method initialize(reason:, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::InboundACHTransferTransferReturnParams} for more details. # - # @param reason [Symbol, Increase::InboundACHTransferTransferReturnParams::Reason] The reason why this transfer will be returned. The most usual return codes are ` + # @param reason [Symbol, Increase::Models::InboundACHTransferTransferReturnParams::Reason] The reason why this transfer will be returned. The most usual return codes are ` # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/inbound_check_deposit.rb b/lib/increase/models/inbound_check_deposit.rb index 967df7907..838f4f021 100644 --- a/lib/increase/models/inbound_check_deposit.rb +++ b/lib/increase/models/inbound_check_deposit.rb @@ -34,7 +34,7 @@ class InboundCheckDeposit < Increase::Internal::Type::BaseModel # If the deposit or the return was adjusted by the sending institution, this will # contain details of the adjustments. # - # @return [Array] + # @return [Array] required :adjustments, -> { Increase::Internal::Type::ArrayOf[Increase::InboundCheckDeposit::Adjustment] @@ -83,7 +83,7 @@ class InboundCheckDeposit < Increase::Internal::Type::BaseModel # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the deposit. # - # @return [Symbol, Increase::InboundCheckDeposit::Currency] + # @return [Symbol, Increase::Models::InboundCheckDeposit::Currency] required :currency, enum: -> { Increase::InboundCheckDeposit::Currency } # @!attribute declined_at @@ -105,7 +105,7 @@ class InboundCheckDeposit < Increase::Internal::Type::BaseModel # If you requested a return of this deposit, this will contain details of the # return. # - # @return [Increase::InboundCheckDeposit::DepositReturn, nil] + # @return [Increase::Models::InboundCheckDeposit::DepositReturn, nil] required :deposit_return, -> { Increase::InboundCheckDeposit::DepositReturn }, nil?: true # @!attribute front_image_file_id @@ -118,13 +118,13 @@ class InboundCheckDeposit < Increase::Internal::Type::BaseModel # Whether the details on the check match the recipient name of the check transfer. # This is an optional feature, contact sales to enable. # - # @return [Symbol, Increase::InboundCheckDeposit::PayeeNameAnalysis] + # @return [Symbol, Increase::Models::InboundCheckDeposit::PayeeNameAnalysis] required :payee_name_analysis, enum: -> { Increase::InboundCheckDeposit::PayeeNameAnalysis } # @!attribute status # The status of the Inbound Check Deposit. # - # @return [Symbol, Increase::InboundCheckDeposit::Status] + # @return [Symbol, Increase::Models::InboundCheckDeposit::Status] required :status, enum: -> { Increase::InboundCheckDeposit::Status } # @!attribute transaction_id @@ -138,12 +138,12 @@ class InboundCheckDeposit < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `inbound_check_deposit`. # - # @return [Symbol, Increase::InboundCheckDeposit::Type] + # @return [Symbol, Increase::Models::InboundCheckDeposit::Type] required :type, enum: -> { Increase::InboundCheckDeposit::Type } # @!method initialize(id:, accepted_at:, account_id:, account_number_id:, adjustments:, amount:, back_image_file_id:, bank_of_first_deposit_routing_number:, check_number:, check_transfer_id:, created_at:, currency:, declined_at:, declined_transaction_id:, deposit_return:, front_image_file_id:, payee_name_analysis:, status:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::InboundCheckDeposit} for more details. + # {Increase::Models::InboundCheckDeposit} for more details. # # Inbound Check Deposits are records of third-parties attempting to deposit checks # against your account. @@ -156,7 +156,7 @@ class InboundCheckDeposit < Increase::Internal::Type::BaseModel # # @param account_number_id [String, nil] The Account Number the check is being deposited against. # - # @param adjustments [Array] If the deposit or the return was adjusted by the sending institution, this will + # @param adjustments [Array] If the deposit or the return was adjusted by the sending institution, this will # # @param amount [Integer] The deposited amount in USD cents. # @@ -170,23 +170,23 @@ class InboundCheckDeposit < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param currency [Symbol, Increase::InboundCheckDeposit::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the deposit. + # @param currency [Symbol, Increase::Models::InboundCheckDeposit::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the deposit. # # @param declined_at [Time, nil] If the Inbound Check Deposit was declined, the [ISO 8601](https://en.wikipedia.o # # @param declined_transaction_id [String, nil] If the deposit attempt has been rejected, the identifier of the Declined Transac # - # @param deposit_return [Increase::InboundCheckDeposit::DepositReturn, nil] If you requested a return of this deposit, this will contain details of the retu + # @param deposit_return [Increase::Models::InboundCheckDeposit::DepositReturn, nil] If you requested a return of this deposit, this will contain details of the retu # # @param front_image_file_id [String, nil] The ID for the File containing the image of the front of the check. # - # @param payee_name_analysis [Symbol, Increase::InboundCheckDeposit::PayeeNameAnalysis] Whether the details on the check match the recipient name of the check transfer. + # @param payee_name_analysis [Symbol, Increase::Models::InboundCheckDeposit::PayeeNameAnalysis] Whether the details on the check match the recipient name of the check transfer. # - # @param status [Symbol, Increase::InboundCheckDeposit::Status] The status of the Inbound Check Deposit. + # @param status [Symbol, Increase::Models::InboundCheckDeposit::Status] The status of the Inbound Check Deposit. # # @param transaction_id [String, nil] If the deposit attempt has been accepted, the identifier of the Transaction obje # - # @param type [Symbol, Increase::InboundCheckDeposit::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::InboundCheckDeposit::Type] A constant representing the object's type. For this resource it will always be ` class Adjustment < Increase::Internal::Type::BaseModel # @!attribute adjusted_at @@ -204,7 +204,7 @@ class Adjustment < Increase::Internal::Type::BaseModel # @!attribute reason # The reason for the adjustment. # - # @return [Symbol, Increase::InboundCheckDeposit::Adjustment::Reason] + # @return [Symbol, Increase::Models::InboundCheckDeposit::Adjustment::Reason] required :reason, enum: -> { Increase::InboundCheckDeposit::Adjustment::Reason } # @!attribute transaction_id @@ -218,13 +218,13 @@ class Adjustment < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount of the adjustment. # - # @param reason [Symbol, Increase::InboundCheckDeposit::Adjustment::Reason] The reason for the adjustment. + # @param reason [Symbol, Increase::Models::InboundCheckDeposit::Adjustment::Reason] The reason for the adjustment. # # @param transaction_id [String] The id of the transaction for the adjustment. # The reason for the adjustment. # - # @see Increase::InboundCheckDeposit::Adjustment#reason + # @see Increase::Models::InboundCheckDeposit::Adjustment#reason module Reason extend Increase::Internal::Type::Enum @@ -247,7 +247,7 @@ module Reason # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the deposit. # - # @see Increase::InboundCheckDeposit#currency + # @see Increase::Models::InboundCheckDeposit#currency module Currency extend Increase::Internal::Type::Enum @@ -273,12 +273,12 @@ module Currency # @return [Array] end - # @see Increase::InboundCheckDeposit#deposit_return + # @see Increase::Models::InboundCheckDeposit#deposit_return class DepositReturn < Increase::Internal::Type::BaseModel # @!attribute reason # The reason the deposit was returned. # - # @return [Symbol, Increase::InboundCheckDeposit::DepositReturn::Reason] + # @return [Symbol, Increase::Models::InboundCheckDeposit::DepositReturn::Reason] required :reason, enum: -> { Increase::InboundCheckDeposit::DepositReturn::Reason } # @!attribute returned_at @@ -297,7 +297,7 @@ class DepositReturn < Increase::Internal::Type::BaseModel # If you requested a return of this deposit, this will contain details of the # return. # - # @param reason [Symbol, Increase::InboundCheckDeposit::DepositReturn::Reason] The reason the deposit was returned. + # @param reason [Symbol, Increase::Models::InboundCheckDeposit::DepositReturn::Reason] The reason the deposit was returned. # # @param returned_at [Time] The time at which the deposit was returned. # @@ -305,7 +305,7 @@ class DepositReturn < Increase::Internal::Type::BaseModel # The reason the deposit was returned. # - # @see Increase::InboundCheckDeposit::DepositReturn#reason + # @see Increase::Models::InboundCheckDeposit::DepositReturn#reason module Reason extend Increase::Internal::Type::Enum @@ -332,7 +332,7 @@ module Reason # Whether the details on the check match the recipient name of the check transfer. # This is an optional feature, contact sales to enable. # - # @see Increase::InboundCheckDeposit#payee_name_analysis + # @see Increase::Models::InboundCheckDeposit#payee_name_analysis module PayeeNameAnalysis extend Increase::Internal::Type::Enum @@ -351,7 +351,7 @@ module PayeeNameAnalysis # The status of the Inbound Check Deposit. # - # @see Increase::InboundCheckDeposit#status + # @see Increase::Models::InboundCheckDeposit#status module Status extend Increase::Internal::Type::Enum @@ -377,7 +377,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `inbound_check_deposit`. # - # @see Increase::InboundCheckDeposit#type + # @see Increase::Models::InboundCheckDeposit#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_check_deposit_list_params.rb b/lib/increase/models/inbound_check_deposit_list_params.rb index 7ad7ae9ab..9a6a0bc5d 100644 --- a/lib/increase/models/inbound_check_deposit_list_params.rb +++ b/lib/increase/models/inbound_check_deposit_list_params.rb @@ -22,7 +22,7 @@ class InboundCheckDepositListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::InboundCheckDepositListParams::CreatedAt, nil] + # @return [Increase::Models::InboundCheckDepositListParams::CreatedAt, nil] optional :created_at, -> { Increase::InboundCheckDepositListParams::CreatedAt } # @!attribute cursor @@ -46,7 +46,7 @@ class InboundCheckDepositListParams < Increase::Internal::Type::BaseModel # # @param check_transfer_id [String] Filter Inbound Check Deposits to those belonging to the specified Check Transfer # - # @param created_at [Increase::InboundCheckDepositListParams::CreatedAt] + # @param created_at [Increase::Models::InboundCheckDepositListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -85,7 +85,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::InboundCheckDepositListParams::CreatedAt} for more details. + # {Increase::Models::InboundCheckDepositListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/inbound_check_deposit_return_params.rb b/lib/increase/models/inbound_check_deposit_return_params.rb index dd172eacc..02c2b5319 100644 --- a/lib/increase/models/inbound_check_deposit_return_params.rb +++ b/lib/increase/models/inbound_check_deposit_return_params.rb @@ -10,11 +10,11 @@ class InboundCheckDepositReturnParams < Increase::Internal::Type::BaseModel # @!attribute reason # The reason to return the Inbound Check Deposit. # - # @return [Symbol, Increase::InboundCheckDepositReturnParams::Reason] + # @return [Symbol, Increase::Models::InboundCheckDepositReturnParams::Reason] required :reason, enum: -> { Increase::InboundCheckDepositReturnParams::Reason } # @!method initialize(reason:, request_options: {}) - # @param reason [Symbol, Increase::InboundCheckDepositReturnParams::Reason] The reason to return the Inbound Check Deposit. + # @param reason [Symbol, Increase::Models::InboundCheckDepositReturnParams::Reason] The reason to return the Inbound Check Deposit. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/inbound_mail_item.rb b/lib/increase/models/inbound_mail_item.rb index 7ab7decb6..310c3ef1e 100644 --- a/lib/increase/models/inbound_mail_item.rb +++ b/lib/increase/models/inbound_mail_item.rb @@ -39,25 +39,25 @@ class InboundMailItem < Increase::Internal::Type::BaseModel # @!attribute rejection_reason # If the mail item has been rejected, why it was rejected. # - # @return [Symbol, Increase::InboundMailItem::RejectionReason, nil] + # @return [Symbol, Increase::Models::InboundMailItem::RejectionReason, nil] required :rejection_reason, enum: -> { Increase::InboundMailItem::RejectionReason }, nil?: true # @!attribute status # If the mail item has been processed. # - # @return [Symbol, Increase::InboundMailItem::Status] + # @return [Symbol, Increase::Models::InboundMailItem::Status] required :status, enum: -> { Increase::InboundMailItem::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `inbound_mail_item`. # - # @return [Symbol, Increase::InboundMailItem::Type] + # @return [Symbol, Increase::Models::InboundMailItem::Type] required :type, enum: -> { Increase::InboundMailItem::Type } # @!method initialize(id:, created_at:, file_id:, lockbox_id:, recipient_name:, rejection_reason:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::InboundMailItem} for more details. + # {Increase::Models::InboundMailItem} for more details. # # Inbound Mail Items represent pieces of physical mail delivered to a Lockbox. # @@ -71,15 +71,15 @@ class InboundMailItem < Increase::Internal::Type::BaseModel # # @param recipient_name [String, nil] The recipient name as written on the mail item. # - # @param rejection_reason [Symbol, Increase::InboundMailItem::RejectionReason, nil] If the mail item has been rejected, why it was rejected. + # @param rejection_reason [Symbol, Increase::Models::InboundMailItem::RejectionReason, nil] If the mail item has been rejected, why it was rejected. # - # @param status [Symbol, Increase::InboundMailItem::Status] If the mail item has been processed. + # @param status [Symbol, Increase::Models::InboundMailItem::Status] If the mail item has been processed. # - # @param type [Symbol, Increase::InboundMailItem::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::InboundMailItem::Type] A constant representing the object's type. For this resource it will always be ` # If the mail item has been rejected, why it was rejected. # - # @see Increase::InboundMailItem#rejection_reason + # @see Increase::Models::InboundMailItem#rejection_reason module RejectionReason extend Increase::Internal::Type::Enum @@ -98,7 +98,7 @@ module RejectionReason # If the mail item has been processed. # - # @see Increase::InboundMailItem#status + # @see Increase::Models::InboundMailItem#status module Status extend Increase::Internal::Type::Enum @@ -118,7 +118,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `inbound_mail_item`. # - # @see Increase::InboundMailItem#type + # @see Increase::Models::InboundMailItem#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_mail_item_list_params.rb b/lib/increase/models/inbound_mail_item_list_params.rb index e6e499af2..1f0d92b9b 100644 --- a/lib/increase/models/inbound_mail_item_list_params.rb +++ b/lib/increase/models/inbound_mail_item_list_params.rb @@ -9,7 +9,7 @@ class InboundMailItemListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::InboundMailItemListParams::CreatedAt, nil] + # @return [Increase::Models::InboundMailItemListParams::CreatedAt, nil] optional :created_at, -> { Increase::InboundMailItemListParams::CreatedAt } # @!attribute cursor @@ -35,7 +35,7 @@ class InboundMailItemListParams < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::InboundMailItemListParams} for more details. # - # @param created_at [Increase::InboundMailItemListParams::CreatedAt] + # @param created_at [Increase::Models::InboundMailItemListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -76,7 +76,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::InboundMailItemListParams::CreatedAt} for more details. + # {Increase::Models::InboundMailItemListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/inbound_real_time_payments_transfer.rb b/lib/increase/models/inbound_real_time_payments_transfer.rb index 22f7c8092..f49bd00ba 100755 --- a/lib/increase/models/inbound_real_time_payments_transfer.rb +++ b/lib/increase/models/inbound_real_time_payments_transfer.rb @@ -31,7 +31,7 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # @!attribute confirmation # If your transfer is confirmed, this will contain details of the confirmation. # - # @return [Increase::InboundRealTimePaymentsTransfer::Confirmation, nil] + # @return [Increase::Models::InboundRealTimePaymentsTransfer::Confirmation, nil] required :confirmation, -> { Increase::InboundRealTimePaymentsTransfer::Confirmation }, nil?: true # @!attribute created_at @@ -51,7 +51,7 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's # currency. This will always be "USD" for a Real-Time Payments transfer. # - # @return [Symbol, Increase::InboundRealTimePaymentsTransfer::Currency] + # @return [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Currency] required :currency, enum: -> { Increase::InboundRealTimePaymentsTransfer::Currency } # @!attribute debtor_account_number @@ -75,7 +75,7 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # @!attribute decline # If your transfer is declined, this will contain details of the decline. # - # @return [Increase::InboundRealTimePaymentsTransfer::Decline, nil] + # @return [Increase::Models::InboundRealTimePaymentsTransfer::Decline, nil] required :decline, -> { Increase::InboundRealTimePaymentsTransfer::Decline }, nil?: true # @!attribute remittance_information @@ -87,7 +87,7 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the transfer. # - # @return [Symbol, Increase::InboundRealTimePaymentsTransfer::Status] + # @return [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Status] required :status, enum: -> { Increase::InboundRealTimePaymentsTransfer::Status } # @!attribute transaction_identification @@ -100,12 +100,12 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `inbound_real_time_payments_transfer`. # - # @return [Symbol, Increase::InboundRealTimePaymentsTransfer::Type] + # @return [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Type] required :type, enum: -> { Increase::InboundRealTimePaymentsTransfer::Type } # @!method initialize(id:, account_id:, account_number_id:, amount:, confirmation:, created_at:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, decline:, remittance_information:, status:, transaction_identification:, type:) # Some parameter documentations has been truncated, see - # {Increase::InboundRealTimePaymentsTransfer} for more details. + # {Increase::Models::InboundRealTimePaymentsTransfer} for more details. # # An Inbound Real-Time Payments Transfer is a Real-Time Payments transfer # initiated outside of Increase to your account. @@ -118,13 +118,13 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount in USD cents. # - # @param confirmation [Increase::InboundRealTimePaymentsTransfer::Confirmation, nil] If your transfer is confirmed, this will contain details of the confirmation. + # @param confirmation [Increase::Models::InboundRealTimePaymentsTransfer::Confirmation, nil] If your transfer is confirmed, this will contain details of the confirmation. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # # @param creditor_name [String] The name the sender of the transfer specified as the recipient of the transfer. # - # @param currency [Symbol, Increase::InboundRealTimePaymentsTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's cu + # @param currency [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's cu # # @param debtor_account_number [String] The account number of the account that sent the transfer. # @@ -132,17 +132,17 @@ class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # # @param debtor_routing_number [String] The routing number of the account that sent the transfer. # - # @param decline [Increase::InboundRealTimePaymentsTransfer::Decline, nil] If your transfer is declined, this will contain details of the decline. + # @param decline [Increase::Models::InboundRealTimePaymentsTransfer::Decline, nil] If your transfer is declined, this will contain details of the decline. # # @param remittance_information [String, nil] Additional information included with the transfer. # - # @param status [Symbol, Increase::InboundRealTimePaymentsTransfer::Status] The lifecycle status of the transfer. + # @param status [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Status] The lifecycle status of the transfer. # # @param transaction_identification [String] The Real-Time Payments network identification of the transfer. # - # @param type [Symbol, Increase::InboundRealTimePaymentsTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::InboundRealTimePaymentsTransfer#confirmation + # @see Increase::Models::InboundRealTimePaymentsTransfer#confirmation class Confirmation < Increase::Internal::Type::BaseModel # @!attribute confirmed_at # The time at which the transfer was confirmed. @@ -167,7 +167,7 @@ class Confirmation < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's # currency. This will always be "USD" for a Real-Time Payments transfer. # - # @see Increase::InboundRealTimePaymentsTransfer#currency + # @see Increase::Models::InboundRealTimePaymentsTransfer#currency module Currency extend Increase::Internal::Type::Enum @@ -193,7 +193,7 @@ module Currency # @return [Array] end - # @see Increase::InboundRealTimePaymentsTransfer#decline + # @see Increase::Models::InboundRealTimePaymentsTransfer#decline class Decline < Increase::Internal::Type::BaseModel # @!attribute declined_at # The time at which the transfer was declined. @@ -210,7 +210,7 @@ class Decline < Increase::Internal::Type::BaseModel # @!attribute reason # The reason for the transfer decline. # - # @return [Symbol, Increase::InboundRealTimePaymentsTransfer::Decline::Reason] + # @return [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Decline::Reason] required :reason, enum: -> { Increase::InboundRealTimePaymentsTransfer::Decline::Reason } # @!method initialize(declined_at:, declined_transaction_id:, reason:) @@ -220,11 +220,11 @@ class Decline < Increase::Internal::Type::BaseModel # # @param declined_transaction_id [String] The id of the transaction for the declined transfer. # - # @param reason [Symbol, Increase::InboundRealTimePaymentsTransfer::Decline::Reason] The reason for the transfer decline. + # @param reason [Symbol, Increase::Models::InboundRealTimePaymentsTransfer::Decline::Reason] The reason for the transfer decline. # The reason for the transfer decline. # - # @see Increase::InboundRealTimePaymentsTransfer::Decline#reason + # @see Increase::Models::InboundRealTimePaymentsTransfer::Decline#reason module Reason extend Increase::Internal::Type::Enum @@ -253,7 +253,7 @@ module Reason # The lifecycle status of the transfer. # - # @see Increase::InboundRealTimePaymentsTransfer#status + # @see Increase::Models::InboundRealTimePaymentsTransfer#status module Status extend Increase::Internal::Type::Enum @@ -276,7 +276,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `inbound_real_time_payments_transfer`. # - # @see Increase::InboundRealTimePaymentsTransfer#type + # @see Increase::Models::InboundRealTimePaymentsTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb b/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb index 571348de2..002539da9 100644 --- a/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb +++ b/lib/increase/models/inbound_real_time_payments_transfer_list_params.rb @@ -23,7 +23,7 @@ class InboundRealTimePaymentsTransferListParams < Increase::Internal::Type::Base # @!attribute created_at # - # @return [Increase::InboundRealTimePaymentsTransferListParams::CreatedAt, nil] + # @return [Increase::Models::InboundRealTimePaymentsTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::InboundRealTimePaymentsTransferListParams::CreatedAt } # @!attribute cursor @@ -47,7 +47,7 @@ class InboundRealTimePaymentsTransferListParams < Increase::Internal::Type::Base # # @param account_number_id [String] Filter Inbound Real-Time Payments Transfers to ones belonging to the specified A # - # @param created_at [Increase::InboundRealTimePaymentsTransferListParams::CreatedAt] + # @param created_at [Increase::Models::InboundRealTimePaymentsTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -86,8 +86,8 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::InboundRealTimePaymentsTransferListParams::CreatedAt} for more - # details. + # {Increase::Models::InboundRealTimePaymentsTransferListParams::CreatedAt} for + # more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/inbound_wire_drawdown_request.rb b/lib/increase/models/inbound_wire_drawdown_request.rb index 873a3b5a9..82013fd42 100644 --- a/lib/increase/models/inbound_wire_drawdown_request.rb +++ b/lib/increase/models/inbound_wire_drawdown_request.rb @@ -147,12 +147,12 @@ class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `inbound_wire_drawdown_request`. # - # @return [Symbol, Increase::InboundWireDrawdownRequest::Type] + # @return [Symbol, Increase::Models::InboundWireDrawdownRequest::Type] required :type, enum: -> { Increase::InboundWireDrawdownRequest::Type } # @!method initialize(id:, amount:, beneficiary_account_number:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_routing_number:, created_at:, currency:, message_to_recipient:, originator_account_number:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, recipient_account_number_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::InboundWireDrawdownRequest} for more details. + # {Increase::Models::InboundWireDrawdownRequest} for more details. # # Inbound wire drawdown requests are requests from someone else to send them a # wire. This feature is in beta; reach out to @@ -202,12 +202,12 @@ class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel # # @param recipient_account_number_id [String] The Account Number from which the recipient of this request is being requested t # - # @param type [Symbol, Increase::InboundWireDrawdownRequest::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::InboundWireDrawdownRequest::Type] A constant representing the object's type. For this resource it will always be ` # A constant representing the object's type. For this resource it will always be # `inbound_wire_drawdown_request`. # - # @see Increase::InboundWireDrawdownRequest#type + # @see Increase::Models::InboundWireDrawdownRequest#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_wire_transfer.rb b/lib/increase/models/inbound_wire_transfer.rb index 0cfa27700..bc32d12a4 100644 --- a/lib/increase/models/inbound_wire_transfer.rb +++ b/lib/increase/models/inbound_wire_transfer.rb @@ -144,7 +144,7 @@ class InboundWireTransfer < Increase::Internal::Type::BaseModel # Information about the reversal of the inbound wire transfer if it has been # reversed. # - # @return [Increase::InboundWireTransfer::Reversal, nil] + # @return [Increase::Models::InboundWireTransfer::Reversal, nil] required :reversal, -> { Increase::InboundWireTransfer::Reversal }, nil?: true # @!attribute sender_reference @@ -156,19 +156,19 @@ class InboundWireTransfer < Increase::Internal::Type::BaseModel # @!attribute status # The status of the transfer. # - # @return [Symbol, Increase::InboundWireTransfer::Status] + # @return [Symbol, Increase::Models::InboundWireTransfer::Status] required :status, enum: -> { Increase::InboundWireTransfer::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `inbound_wire_transfer`. # - # @return [Symbol, Increase::InboundWireTransfer::Type] + # @return [Symbol, Increase::Models::InboundWireTransfer::Type] required :type, enum: -> { Increase::InboundWireTransfer::Type } # @!method initialize(id:, account_id:, account_number_id:, amount:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_reference:, created_at:, description:, input_message_accountability_data:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, reversal:, sender_reference:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::InboundWireTransfer} for more details. + # {Increase::Models::InboundWireTransfer} for more details. # # An Inbound Wire Transfer is a wire transfer initiated outside of Increase to # your account. @@ -217,20 +217,20 @@ class InboundWireTransfer < Increase::Internal::Type::BaseModel # # @param originator_to_beneficiary_information_line4 [String, nil] A free-form message set by the wire originator. # - # @param reversal [Increase::InboundWireTransfer::Reversal, nil] Information about the reversal of the inbound wire transfer if it has been rever + # @param reversal [Increase::Models::InboundWireTransfer::Reversal, nil] Information about the reversal of the inbound wire transfer if it has been rever # # @param sender_reference [String, nil] The sending bank's reference number for the wire transfer. # - # @param status [Symbol, Increase::InboundWireTransfer::Status] The status of the transfer. + # @param status [Symbol, Increase::Models::InboundWireTransfer::Status] The status of the transfer. # - # @param type [Symbol, Increase::InboundWireTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::InboundWireTransfer::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::InboundWireTransfer#reversal + # @see Increase::Models::InboundWireTransfer#reversal class Reversal < Increase::Internal::Type::BaseModel # @!attribute reason # The reason for the reversal. # - # @return [Symbol, Increase::InboundWireTransfer::Reversal::Reason] + # @return [Symbol, Increase::Models::InboundWireTransfer::Reversal::Reason] required :reason, enum: -> { Increase::InboundWireTransfer::Reversal::Reason } # @!attribute reversed_at @@ -242,18 +242,18 @@ class Reversal < Increase::Internal::Type::BaseModel # @!method initialize(reason:, reversed_at:) # Some parameter documentations has been truncated, see - # {Increase::InboundWireTransfer::Reversal} for more details. + # {Increase::Models::InboundWireTransfer::Reversal} for more details. # # Information about the reversal of the inbound wire transfer if it has been # reversed. # - # @param reason [Symbol, Increase::InboundWireTransfer::Reversal::Reason] The reason for the reversal. + # @param reason [Symbol, Increase::Models::InboundWireTransfer::Reversal::Reason] The reason for the reversal. # # @param reversed_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # The reason for the reversal. # - # @see Increase::InboundWireTransfer::Reversal#reason + # @see Increase::Models::InboundWireTransfer::Reversal#reason module Reason extend Increase::Internal::Type::Enum @@ -270,7 +270,7 @@ module Reason # The status of the transfer. # - # @see Increase::InboundWireTransfer#status + # @see Increase::Models::InboundWireTransfer#status module Status extend Increase::Internal::Type::Enum @@ -293,7 +293,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `inbound_wire_transfer`. # - # @see Increase::InboundWireTransfer#type + # @see Increase::Models::InboundWireTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_wire_transfer_list_params.rb b/lib/increase/models/inbound_wire_transfer_list_params.rb index 9326822e3..0761540de 100644 --- a/lib/increase/models/inbound_wire_transfer_list_params.rb +++ b/lib/increase/models/inbound_wire_transfer_list_params.rb @@ -21,7 +21,7 @@ class InboundWireTransferListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::InboundWireTransferListParams::CreatedAt, nil] + # @return [Increase::Models::InboundWireTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::InboundWireTransferListParams::CreatedAt } # @!attribute cursor @@ -39,7 +39,7 @@ class InboundWireTransferListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::InboundWireTransferListParams::Status, nil] + # @return [Increase::Models::InboundWireTransferListParams::Status, nil] optional :status, -> { Increase::InboundWireTransferListParams::Status } # @!method initialize(account_id: nil, account_number_id: nil, created_at: nil, cursor: nil, limit: nil, status: nil, request_options: {}) @@ -50,13 +50,13 @@ class InboundWireTransferListParams < Increase::Internal::Type::BaseModel # # @param account_number_id [String] Filter Inbound Wire Transfers to ones belonging to the specified Account Number. # - # @param created_at [Increase::InboundWireTransferListParams::CreatedAt] + # @param created_at [Increase::Models::InboundWireTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::InboundWireTransferListParams::Status] + # @param status [Increase::Models::InboundWireTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -91,7 +91,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::InboundWireTransferListParams::CreatedAt} for more details. + # {Increase::Models::InboundWireTransferListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -108,7 +108,7 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::InboundWireTransferListParams::Status::In] @@ -117,9 +117,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::InboundWireTransferListParams::Status} for more details. + # {Increase::Models::InboundWireTransferListParams::Status} for more details. # - # @param in_ [Array] Filter Inbound Wire Transfers to those with the specified status. For GET reques + # @param in_ [Array] Filter Inbound Wire Transfers to those with the specified status. For GET reques module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/inbound_wire_transfer_reverse_params.rb b/lib/increase/models/inbound_wire_transfer_reverse_params.rb index 7c5d067b9..07658d945 100644 --- a/lib/increase/models/inbound_wire_transfer_reverse_params.rb +++ b/lib/increase/models/inbound_wire_transfer_reverse_params.rb @@ -10,11 +10,11 @@ class InboundWireTransferReverseParams < Increase::Internal::Type::BaseModel # @!attribute reason # Reason for the reversal. # - # @return [Symbol, Increase::InboundWireTransferReverseParams::Reason] + # @return [Symbol, Increase::Models::InboundWireTransferReverseParams::Reason] required :reason, enum: -> { Increase::InboundWireTransferReverseParams::Reason } # @!method initialize(reason:, request_options: {}) - # @param reason [Symbol, Increase::InboundWireTransferReverseParams::Reason] Reason for the reversal. + # @param reason [Symbol, Increase::Models::InboundWireTransferReverseParams::Reason] Reason for the reversal. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/intrafi_account_enrollment.rb b/lib/increase/models/intrafi_account_enrollment.rb index 6d10f83fb..66c7b0569 100644 --- a/lib/increase/models/intrafi_account_enrollment.rb +++ b/lib/increase/models/intrafi_account_enrollment.rb @@ -42,19 +42,19 @@ class IntrafiAccountEnrollment < Increase::Internal::Type::BaseModel # The status of the account in the network. An account takes about one business # day to go from `pending_enrolling` to `enrolled`. # - # @return [Symbol, Increase::IntrafiAccountEnrollment::Status] + # @return [Symbol, Increase::Models::IntrafiAccountEnrollment::Status] required :status, enum: -> { Increase::IntrafiAccountEnrollment::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `intrafi_account_enrollment`. # - # @return [Symbol, Increase::IntrafiAccountEnrollment::Type] + # @return [Symbol, Increase::Models::IntrafiAccountEnrollment::Type] required :type, enum: -> { Increase::IntrafiAccountEnrollment::Type } # @!method initialize(id:, account_id:, created_at:, idempotency_key:, intrafi_id:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::IntrafiAccountEnrollment} for more details. + # {Increase::Models::IntrafiAccountEnrollment} for more details. # # IntraFi is a # [network of financial institutions](https://www.intrafi.com/network-banks) that @@ -74,14 +74,14 @@ class IntrafiAccountEnrollment < Increase::Internal::Type::BaseModel # # @param intrafi_id [String] The identifier of the account in IntraFi's system. This identifier will be print # - # @param status [Symbol, Increase::IntrafiAccountEnrollment::Status] The status of the account in the network. An account takes about one business da + # @param status [Symbol, Increase::Models::IntrafiAccountEnrollment::Status] The status of the account in the network. An account takes about one business da # - # @param type [Symbol, Increase::IntrafiAccountEnrollment::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::IntrafiAccountEnrollment::Type] A constant representing the object's type. For this resource it will always be ` # The status of the account in the network. An account takes about one business # day to go from `pending_enrolling` to `enrolled`. # - # @see Increase::IntrafiAccountEnrollment#status + # @see Increase::Models::IntrafiAccountEnrollment#status module Status extend Increase::Internal::Type::Enum @@ -107,7 +107,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `intrafi_account_enrollment`. # - # @see Increase::IntrafiAccountEnrollment#type + # @see Increase::Models::IntrafiAccountEnrollment#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/intrafi_account_enrollment_list_params.rb b/lib/increase/models/intrafi_account_enrollment_list_params.rb index a685c3aa4..37c71f030 100644 --- a/lib/increase/models/intrafi_account_enrollment_list_params.rb +++ b/lib/increase/models/intrafi_account_enrollment_list_params.rb @@ -37,7 +37,7 @@ class IntrafiAccountEnrollmentListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::IntrafiAccountEnrollmentListParams::Status, nil] + # @return [Increase::Models::IntrafiAccountEnrollmentListParams::Status, nil] optional :status, -> { Increase::IntrafiAccountEnrollmentListParams::Status } # @!method initialize(account_id: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -52,7 +52,7 @@ class IntrafiAccountEnrollmentListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::IntrafiAccountEnrollmentListParams::Status] + # @param status [Increase::Models::IntrafiAccountEnrollmentListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -62,7 +62,7 @@ class Status < Increase::Internal::Type::BaseModel # statuses. For GET requests, this should be encoded as a comma-delimited string, # such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::IntrafiAccountEnrollmentListParams::Status::In] @@ -71,9 +71,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::IntrafiAccountEnrollmentListParams::Status} for more details. + # {Increase::Models::IntrafiAccountEnrollmentListParams::Status} for more details. # - # @param in_ [Array] Filter IntraFi Account Enrollments for those with the specified status or status + # @param in_ [Array] Filter IntraFi Account Enrollments for those with the specified status or status module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/intrafi_balance.rb b/lib/increase/models/intrafi_balance.rb index 0da8fa1fc..d9d647e2b 100644 --- a/lib/increase/models/intrafi_balance.rb +++ b/lib/increase/models/intrafi_balance.rb @@ -14,14 +14,14 @@ class IntrafiBalance < Increase::Internal::Type::BaseModel # Each entry represents a balance held at a different bank. IntraFi separates the # total balance across many participating banks in the network. # - # @return [Array] + # @return [Array] required :balances, -> { Increase::Internal::Type::ArrayOf[Increase::IntrafiBalance::Balance] } # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the account # currency. # - # @return [Symbol, Increase::IntrafiBalance::Currency] + # @return [Symbol, Increase::Models::IntrafiBalance::Currency] required :currency, enum: -> { Increase::IntrafiBalance::Currency } # @!attribute effective_date @@ -41,12 +41,12 @@ class IntrafiBalance < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `intrafi_balance`. # - # @return [Symbol, Increase::IntrafiBalance::Type] + # @return [Symbol, Increase::Models::IntrafiBalance::Type] required :type, enum: -> { Increase::IntrafiBalance::Type } # @!method initialize(id:, balances:, currency:, effective_date:, total_balance:, type:) - # Some parameter documentations has been truncated, see {Increase::IntrafiBalance} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::IntrafiBalance} for more details. # # When using IntraFi, each account's balance over the standard FDIC insurance # amount is swept to various other institutions. Funds are rebalanced across banks @@ -54,15 +54,15 @@ class IntrafiBalance < Increase::Internal::Type::BaseModel # # @param id [String] The identifier of this balance. # - # @param balances [Array] Each entry represents a balance held at a different bank. IntraFi separates the + # @param balances [Array] Each entry represents a balance held at a different bank. IntraFi separates the # - # @param currency [Symbol, Increase::IntrafiBalance::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the account curr + # @param currency [Symbol, Increase::Models::IntrafiBalance::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the account curr # # @param effective_date [Date] The date this balance reflects. # # @param total_balance [Integer] The total balance, in minor units of `currency`. Increase reports this balance t # - # @param type [Symbol, Increase::IntrafiBalance::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::IntrafiBalance::Type] A constant representing the object's type. For this resource it will always be ` class Balance < Increase::Internal::Type::BaseModel # @!attribute id @@ -86,7 +86,7 @@ class Balance < Increase::Internal::Type::BaseModel # @!attribute bank_location # The primary location of the bank. # - # @return [Increase::IntrafiBalance::Balance::BankLocation, nil] + # @return [Increase::Models::IntrafiBalance::Balance::BankLocation, nil] required :bank_location, -> { Increase::IntrafiBalance::Balance::BankLocation }, nil?: true # @!attribute fdic_certificate_number @@ -99,7 +99,7 @@ class Balance < Increase::Internal::Type::BaseModel # @!method initialize(id:, balance:, bank:, bank_location:, fdic_certificate_number:) # Some parameter documentations has been truncated, see - # {Increase::IntrafiBalance::Balance} for more details. + # {Increase::Models::IntrafiBalance::Balance} for more details. # # @param id [String] The identifier of this balance. # @@ -107,11 +107,11 @@ class Balance < Increase::Internal::Type::BaseModel # # @param bank [String] The name of the bank holding these funds. # - # @param bank_location [Increase::IntrafiBalance::Balance::BankLocation, nil] The primary location of the bank. + # @param bank_location [Increase::Models::IntrafiBalance::Balance::BankLocation, nil] The primary location of the bank. # # @param fdic_certificate_number [String] The Federal Deposit Insurance Corporation (FDIC) certificate number of the bank. - # @see Increase::IntrafiBalance::Balance#bank_location + # @see Increase::Models::IntrafiBalance::Balance#bank_location class BankLocation < Increase::Internal::Type::BaseModel # @!attribute city # The bank's city. @@ -137,7 +137,7 @@ class BankLocation < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the account # currency. # - # @see Increase::IntrafiBalance#currency + # @see Increase::Models::IntrafiBalance#currency module Currency extend Increase::Internal::Type::Enum @@ -166,7 +166,7 @@ module Currency # A constant representing the object's type. For this resource it will always be # `intrafi_balance`. # - # @see Increase::IntrafiBalance#type + # @see Increase::Models::IntrafiBalance#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/intrafi_exclusion.rb b/lib/increase/models/intrafi_exclusion.rb index f041e2fbf..17a06ecaa 100644 --- a/lib/increase/models/intrafi_exclusion.rb +++ b/lib/increase/models/intrafi_exclusion.rb @@ -53,7 +53,7 @@ class IntrafiExclusion < Increase::Internal::Type::BaseModel # @!attribute status # The status of the exclusion request. # - # @return [Symbol, Increase::IntrafiExclusion::Status] + # @return [Symbol, Increase::Models::IntrafiExclusion::Status] required :status, enum: -> { Increase::IntrafiExclusion::Status } # @!attribute submitted_at @@ -66,12 +66,12 @@ class IntrafiExclusion < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `intrafi_exclusion`. # - # @return [Symbol, Increase::IntrafiExclusion::Type] + # @return [Symbol, Increase::Models::IntrafiExclusion::Type] required :type, enum: -> { Increase::IntrafiExclusion::Type } # @!method initialize(id:, bank_name:, created_at:, entity_id:, excluded_at:, fdic_certificate_number:, idempotency_key:, status:, submitted_at:, type:) # Some parameter documentations has been truncated, see - # {Increase::IntrafiExclusion} for more details. + # {Increase::Models::IntrafiExclusion} for more details. # # Certain institutions may be excluded per Entity when sweeping funds into the # IntraFi network. This is useful when an Entity already has deposits at a @@ -92,15 +92,15 @@ class IntrafiExclusion < Increase::Internal::Type::BaseModel # # @param idempotency_key [String, nil] The idempotency key you chose for this object. This value is unique across Incre # - # @param status [Symbol, Increase::IntrafiExclusion::Status] The status of the exclusion request. + # @param status [Symbol, Increase::Models::IntrafiExclusion::Status] The status of the exclusion request. # # @param submitted_at [Time, nil] When this was exclusion was submitted to IntraFi by Increase. # - # @param type [Symbol, Increase::IntrafiExclusion::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::IntrafiExclusion::Type] A constant representing the object's type. For this resource it will always be ` # The status of the exclusion request. # - # @see Increase::IntrafiExclusion#status + # @see Increase::Models::IntrafiExclusion#status module Status extend Increase::Internal::Type::Enum @@ -120,7 +120,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `intrafi_exclusion`. # - # @see Increase::IntrafiExclusion#type + # @see Increase::Models::IntrafiExclusion#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/lockbox.rb b/lib/increase/models/lockbox.rb index d5465dff5..b24acb8e4 100644 --- a/lib/increase/models/lockbox.rb +++ b/lib/increase/models/lockbox.rb @@ -20,7 +20,7 @@ class Lockbox < Increase::Internal::Type::BaseModel # @!attribute address # The mailing address for the Lockbox. # - # @return [Increase::Lockbox::Address] + # @return [Increase::Models::Lockbox::Address] required :address, -> { Increase::Lockbox::Address } # @!attribute created_at @@ -53,19 +53,19 @@ class Lockbox < Increase::Internal::Type::BaseModel # @!attribute status # This indicates if mail can be sent to this address. # - # @return [Symbol, Increase::Lockbox::Status] + # @return [Symbol, Increase::Models::Lockbox::Status] required :status, enum: -> { Increase::Lockbox::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `lockbox`. # - # @return [Symbol, Increase::Lockbox::Type] + # @return [Symbol, Increase::Models::Lockbox::Type] required :type, enum: -> { Increase::Lockbox::Type } # @!method initialize(id:, account_id:, address:, created_at:, description:, idempotency_key:, recipient_name:, status:, type:) - # Some parameter documentations has been truncated, see {Increase::Lockbox} for - # more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::Lockbox} for more details. # # Lockboxes are physical locations that can receive mail containing paper checks. # Increase will automatically create a Check Deposit for checks received this way. @@ -74,7 +74,7 @@ class Lockbox < Increase::Internal::Type::BaseModel # # @param account_id [String] The identifier for the Account checks sent to this lockbox will be deposited int # - # @param address [Increase::Lockbox::Address] The mailing address for the Lockbox. + # @param address [Increase::Models::Lockbox::Address] The mailing address for the Lockbox. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Lockbox # @@ -84,11 +84,11 @@ class Lockbox < Increase::Internal::Type::BaseModel # # @param recipient_name [String, nil] The recipient name you choose for the Lockbox. # - # @param status [Symbol, Increase::Lockbox::Status] This indicates if mail can be sent to this address. + # @param status [Symbol, Increase::Models::Lockbox::Status] This indicates if mail can be sent to this address. # - # @param type [Symbol, Increase::Lockbox::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Lockbox::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::Lockbox#address + # @see Increase::Models::Lockbox#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the address. @@ -132,7 +132,7 @@ class Address < Increase::Internal::Type::BaseModel # @!method initialize(city:, line1:, line2:, postal_code:, recipient:, state:) # Some parameter documentations has been truncated, see - # {Increase::Lockbox::Address} for more details. + # {Increase::Models::Lockbox::Address} for more details. # # The mailing address for the Lockbox. # @@ -151,7 +151,7 @@ class Address < Increase::Internal::Type::BaseModel # This indicates if mail can be sent to this address. # - # @see Increase::Lockbox#status + # @see Increase::Models::Lockbox#status module Status extend Increase::Internal::Type::Enum @@ -168,7 +168,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `lockbox`. # - # @see Increase::Lockbox#type + # @see Increase::Models::Lockbox#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/lockbox_list_params.rb b/lib/increase/models/lockbox_list_params.rb index 29d8f7dfb..6def48f79 100644 --- a/lib/increase/models/lockbox_list_params.rb +++ b/lib/increase/models/lockbox_list_params.rb @@ -15,7 +15,7 @@ class LockboxListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::LockboxListParams::CreatedAt, nil] + # @return [Increase::Models::LockboxListParams::CreatedAt, nil] optional :created_at, -> { Increase::LockboxListParams::CreatedAt } # @!attribute cursor @@ -46,7 +46,7 @@ class LockboxListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Lockboxes to those associated with the provided Account. # - # @param created_at [Increase::LockboxListParams::CreatedAt] + # @param created_at [Increase::Models::LockboxListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -87,7 +87,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::LockboxListParams::CreatedAt} for more details. + # {Increase::Models::LockboxListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/lockbox_update_params.rb b/lib/increase/models/lockbox_update_params.rb index c11bfbff4..c0aa52a95 100644 --- a/lib/increase/models/lockbox_update_params.rb +++ b/lib/increase/models/lockbox_update_params.rb @@ -22,7 +22,7 @@ class LockboxUpdateParams < Increase::Internal::Type::BaseModel # @!attribute status # This indicates if checks can be sent to the Lockbox. # - # @return [Symbol, Increase::LockboxUpdateParams::Status, nil] + # @return [Symbol, Increase::Models::LockboxUpdateParams::Status, nil] optional :status, enum: -> { Increase::LockboxUpdateParams::Status } # @!method initialize(description: nil, recipient_name: nil, status: nil, request_options: {}) @@ -30,7 +30,7 @@ class LockboxUpdateParams < Increase::Internal::Type::BaseModel # # @param recipient_name [String] The recipient name you choose for the Lockbox. # - # @param status [Symbol, Increase::LockboxUpdateParams::Status] This indicates if checks can be sent to the Lockbox. + # @param status [Symbol, Increase::Models::LockboxUpdateParams::Status] This indicates if checks can be sent to the Lockbox. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/oauth_application.rb b/lib/increase/models/oauth_application.rb index 28b69c065..64d615cce 100644 --- a/lib/increase/models/oauth_application.rb +++ b/lib/increase/models/oauth_application.rb @@ -40,19 +40,19 @@ class OAuthApplication < Increase::Internal::Type::BaseModel # @!attribute status # Whether the application is active. # - # @return [Symbol, Increase::OAuthApplication::Status] + # @return [Symbol, Increase::Models::OAuthApplication::Status] required :status, enum: -> { Increase::OAuthApplication::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `oauth_application`. # - # @return [Symbol, Increase::OAuthApplication::Type] + # @return [Symbol, Increase::Models::OAuthApplication::Type] required :type, enum: -> { Increase::OAuthApplication::Type } # @!method initialize(id:, client_id:, created_at:, deleted_at:, name:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::OAuthApplication} for more details. + # {Increase::Models::OAuthApplication} for more details. # # An OAuth Application lets you build an application for others to use with their # Increase data. You can create an OAuth Application via the Dashboard and read @@ -69,13 +69,13 @@ class OAuthApplication < Increase::Internal::Type::BaseModel # # @param name [String, nil] The name you chose for this OAuth Application. # - # @param status [Symbol, Increase::OAuthApplication::Status] Whether the application is active. + # @param status [Symbol, Increase::Models::OAuthApplication::Status] Whether the application is active. # - # @param type [Symbol, Increase::OAuthApplication::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::OAuthApplication::Type] A constant representing the object's type. For this resource it will always be ` # Whether the application is active. # - # @see Increase::OAuthApplication#status + # @see Increase::Models::OAuthApplication#status module Status extend Increase::Internal::Type::Enum @@ -92,7 +92,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `oauth_application`. # - # @see Increase::OAuthApplication#type + # @see Increase::Models::OAuthApplication#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/oauth_application_list_params.rb b/lib/increase/models/oauth_application_list_params.rb index 0ae08d2cd..f57b017a3 100644 --- a/lib/increase/models/oauth_application_list_params.rb +++ b/lib/increase/models/oauth_application_list_params.rb @@ -9,7 +9,7 @@ class OAuthApplicationListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::OAuthApplicationListParams::CreatedAt, nil] + # @return [Increase::Models::OAuthApplicationListParams::CreatedAt, nil] optional :created_at, -> { Increase::OAuthApplicationListParams::CreatedAt } # @!attribute cursor @@ -27,20 +27,20 @@ class OAuthApplicationListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::OAuthApplicationListParams::Status, nil] + # @return [Increase::Models::OAuthApplicationListParams::Status, nil] optional :status, -> { Increase::OAuthApplicationListParams::Status } # @!method initialize(created_at: nil, cursor: nil, limit: nil, status: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::OAuthApplicationListParams} for more details. # - # @param created_at [Increase::OAuthApplicationListParams::CreatedAt] + # @param created_at [Increase::Models::OAuthApplicationListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::OAuthApplicationListParams::Status] + # @param status [Increase::Models::OAuthApplicationListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -75,7 +75,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::OAuthApplicationListParams::CreatedAt} for more details. + # {Increase::Models::OAuthApplicationListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -91,7 +91,7 @@ class Status < Increase::Internal::Type::BaseModel # Return results whose value is in the provided list. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::OAuthApplicationListParams::Status::In] @@ -100,9 +100,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::OAuthApplicationListParams::Status} for more details. + # {Increase::Models::OAuthApplicationListParams::Status} for more details. # - # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul + # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/oauth_connection.rb b/lib/increase/models/oauth_connection.rb index 2b458d10c..db5412f36 100644 --- a/lib/increase/models/oauth_connection.rb +++ b/lib/increase/models/oauth_connection.rb @@ -39,19 +39,19 @@ class OAuthConnection < Increase::Internal::Type::BaseModel # @!attribute status # Whether the connection is active. # - # @return [Symbol, Increase::OAuthConnection::Status] + # @return [Symbol, Increase::Models::OAuthConnection::Status] required :status, enum: -> { Increase::OAuthConnection::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `oauth_connection`. # - # @return [Symbol, Increase::OAuthConnection::Type] + # @return [Symbol, Increase::Models::OAuthConnection::Type] required :type, enum: -> { Increase::OAuthConnection::Type } # @!method initialize(id:, created_at:, deleted_at:, group_id:, oauth_application_id:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::OAuthConnection} for more details. + # {Increase::Models::OAuthConnection} for more details. # # When a user authorizes your OAuth application, an OAuth Connection object is # created. Learn more about OAuth @@ -67,13 +67,13 @@ class OAuthConnection < Increase::Internal::Type::BaseModel # # @param oauth_application_id [String] The identifier of the OAuth application this connection is for. # - # @param status [Symbol, Increase::OAuthConnection::Status] Whether the connection is active. + # @param status [Symbol, Increase::Models::OAuthConnection::Status] Whether the connection is active. # - # @param type [Symbol, Increase::OAuthConnection::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::OAuthConnection::Type] A constant representing the object's type. For this resource it will always be ` # Whether the connection is active. # - # @see Increase::OAuthConnection#status + # @see Increase::Models::OAuthConnection#status module Status extend Increase::Internal::Type::Enum @@ -90,7 +90,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `oauth_connection`. # - # @see Increase::OAuthConnection#type + # @see Increase::Models::OAuthConnection#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/oauth_connection_list_params.rb b/lib/increase/models/oauth_connection_list_params.rb index 2d275e46e..afc69928b 100644 --- a/lib/increase/models/oauth_connection_list_params.rb +++ b/lib/increase/models/oauth_connection_list_params.rb @@ -29,7 +29,7 @@ class OAuthConnectionListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::OAuthConnectionListParams::Status, nil] + # @return [Increase::Models::OAuthConnectionListParams::Status, nil] optional :status, -> { Increase::OAuthConnectionListParams::Status } # @!method initialize(cursor: nil, limit: nil, oauth_application_id: nil, status: nil, request_options: {}) @@ -42,7 +42,7 @@ class OAuthConnectionListParams < Increase::Internal::Type::BaseModel # # @param oauth_application_id [String] Filter results to only include OAuth Connections for a specific OAuth Applicatio # - # @param status [Increase::OAuthConnectionListParams::Status] + # @param status [Increase::Models::OAuthConnectionListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -52,7 +52,7 @@ class Status < Increase::Internal::Type::BaseModel # `active` ones. For GET requests, this should be encoded as a comma-delimited # string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::OAuthConnectionListParams::Status::In] @@ -61,9 +61,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::OAuthConnectionListParams::Status} for more details. + # {Increase::Models::OAuthConnectionListParams::Status} for more details. # - # @param in_ [Array] Filter to OAuth Connections by their status. By default, return only the `active + # @param in_ [Array] Filter to OAuth Connections by their status. By default, return only the `active module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/oauth_token.rb b/lib/increase/models/oauth_token.rb index af95094d7..514e887f5 100644 --- a/lib/increase/models/oauth_token.rb +++ b/lib/increase/models/oauth_token.rb @@ -14,19 +14,19 @@ class OAuthToken < Increase::Internal::Type::BaseModel # @!attribute token_type # The type of OAuth token. # - # @return [Symbol, Increase::OAuthToken::TokenType] + # @return [Symbol, Increase::Models::OAuthToken::TokenType] required :token_type, enum: -> { Increase::OAuthToken::TokenType } # @!attribute type # A constant representing the object's type. For this resource it will always be # `oauth_token`. # - # @return [Symbol, Increase::OAuthToken::Type] + # @return [Symbol, Increase::Models::OAuthToken::Type] required :type, enum: -> { Increase::OAuthToken::Type } # @!method initialize(access_token:, token_type:, type:) - # Some parameter documentations has been truncated, see {Increase::OAuthToken} for - # more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::OAuthToken} for more details. # # A token that is returned to your application when a user completes the OAuth # flow and may be used to authenticate requests. Learn more about OAuth @@ -34,13 +34,13 @@ class OAuthToken < Increase::Internal::Type::BaseModel # # @param access_token [String] You may use this token in place of an API key to make OAuth requests on a user's # - # @param token_type [Symbol, Increase::OAuthToken::TokenType] The type of OAuth token. + # @param token_type [Symbol, Increase::Models::OAuthToken::TokenType] The type of OAuth token. # - # @param type [Symbol, Increase::OAuthToken::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::OAuthToken::Type] A constant representing the object's type. For this resource it will always be ` # The type of OAuth token. # - # @see Increase::OAuthToken#token_type + # @see Increase::Models::OAuthToken#token_type module TokenType extend Increase::Internal::Type::Enum @@ -53,7 +53,7 @@ module TokenType # A constant representing the object's type. For this resource it will always be # `oauth_token`. # - # @see Increase::OAuthToken#type + # @see Increase::Models::OAuthToken#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/oauth_token_create_params.rb b/lib/increase/models/oauth_token_create_params.rb index 1ad2d4421..1cbc7e5c0 100644 --- a/lib/increase/models/oauth_token_create_params.rb +++ b/lib/increase/models/oauth_token_create_params.rb @@ -11,7 +11,7 @@ class OAuthTokenCreateParams < Increase::Internal::Type::BaseModel # The credential you request in exchange for the code. In Production, this is # always `authorization_code`. In Sandbox, you can pass either enum value. # - # @return [Symbol, Increase::OAuthTokenCreateParams::GrantType] + # @return [Symbol, Increase::Models::OAuthTokenCreateParams::GrantType] required :grant_type, enum: -> { Increase::OAuthTokenCreateParams::GrantType } # @!attribute client_id @@ -47,7 +47,7 @@ class OAuthTokenCreateParams < Increase::Internal::Type::BaseModel # Some parameter documentations has been truncated, see # {Increase::Models::OAuthTokenCreateParams} for more details. # - # @param grant_type [Symbol, Increase::OAuthTokenCreateParams::GrantType] The credential you request in exchange for the code. In Production, this is alwa + # @param grant_type [Symbol, Increase::Models::OAuthTokenCreateParams::GrantType] The credential you request in exchange for the code. In Production, this is alwa # # @param client_id [String] The public identifier for your application. # diff --git a/lib/increase/models/pending_transaction.rb b/lib/increase/models/pending_transaction.rb index f486740f1..b8154b870 100644 --- a/lib/increase/models/pending_transaction.rb +++ b/lib/increase/models/pending_transaction.rb @@ -42,7 +42,7 @@ class PendingTransaction < Increase::Internal::Type::BaseModel # Transaction's currency. This will match the currency on the Pending # Transaction's Account. # - # @return [Symbol, Increase::PendingTransaction::Currency] + # @return [Symbol, Increase::Models::PendingTransaction::Currency] required :currency, enum: -> { Increase::PendingTransaction::Currency } # @!attribute description @@ -63,7 +63,7 @@ class PendingTransaction < Increase::Internal::Type::BaseModel # @!attribute route_type # The type of the route this Pending Transaction came through. # - # @return [Symbol, Increase::PendingTransaction::RouteType, nil] + # @return [Symbol, Increase::Models::PendingTransaction::RouteType, nil] required :route_type, enum: -> { Increase::PendingTransaction::RouteType }, nil?: true # @!attribute source @@ -71,26 +71,26 @@ class PendingTransaction < Increase::Internal::Type::BaseModel # Pending Transaction. For example, for a card transaction this lists the # merchant's industry and location. # - # @return [Increase::PendingTransaction::Source] + # @return [Increase::Models::PendingTransaction::Source] required :source, -> { Increase::PendingTransaction::Source } # @!attribute status # Whether the Pending Transaction has been confirmed and has an associated # Transaction. # - # @return [Symbol, Increase::PendingTransaction::Status] + # @return [Symbol, Increase::Models::PendingTransaction::Status] required :status, enum: -> { Increase::PendingTransaction::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `pending_transaction`. # - # @return [Symbol, Increase::PendingTransaction::Type] + # @return [Symbol, Increase::Models::PendingTransaction::Type] required :type, enum: -> { Increase::PendingTransaction::Type } # @!method initialize(id:, account_id:, amount:, completed_at:, created_at:, currency:, description:, route_id:, route_type:, source:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction} for more details. + # {Increase::Models::PendingTransaction} for more details. # # Pending Transactions are potential future additions and removals of money from # your bank account. @@ -105,25 +105,25 @@ class PendingTransaction < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending # - # @param currency [Symbol, Increase::PendingTransaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending Tran + # @param currency [Symbol, Increase::Models::PendingTransaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending Tran # # @param description [String] For a Pending Transaction related to a transfer, this is the description you pro # # @param route_id [String, nil] The identifier for the route this Pending Transaction came through. Routes are t # - # @param route_type [Symbol, Increase::PendingTransaction::RouteType, nil] The type of the route this Pending Transaction came through. + # @param route_type [Symbol, Increase::Models::PendingTransaction::RouteType, nil] The type of the route this Pending Transaction came through. # - # @param source [Increase::PendingTransaction::Source] This is an object giving more details on the network-level event that caused the + # @param source [Increase::Models::PendingTransaction::Source] This is an object giving more details on the network-level event that caused the # - # @param status [Symbol, Increase::PendingTransaction::Status] Whether the Pending Transaction has been confirmed and has an associated Transac + # @param status [Symbol, Increase::Models::PendingTransaction::Status] Whether the Pending Transaction has been confirmed and has an associated Transac # - # @param type [Symbol, Increase::PendingTransaction::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::PendingTransaction::Type] A constant representing the object's type. For this resource it will always be ` # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending # Transaction's currency. This will match the currency on the Pending # Transaction's Account. # - # @see Increase::PendingTransaction#currency + # @see Increase::Models::PendingTransaction#currency module Currency extend Increase::Internal::Type::Enum @@ -151,7 +151,7 @@ module Currency # The type of the route this Pending Transaction came through. # - # @see Increase::PendingTransaction#route_type + # @see Increase::Models::PendingTransaction#route_type module RouteType extend Increase::Internal::Type::Enum @@ -168,13 +168,13 @@ module RouteType # @return [Array] end - # @see Increase::PendingTransaction#source + # @see Increase::Models::PendingTransaction#source class Source < Increase::Internal::Type::BaseModel # @!attribute account_transfer_instruction # An Account Transfer Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `account_transfer_instruction`. # - # @return [Increase::PendingTransaction::Source::AccountTransferInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::AccountTransferInstruction, nil] required :account_transfer_instruction, -> { Increase::PendingTransaction::Source::AccountTransferInstruction }, nil?: true @@ -183,7 +183,7 @@ class Source < Increase::Internal::Type::BaseModel # An ACH Transfer Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `ach_transfer_instruction`. # - # @return [Increase::PendingTransaction::Source::ACHTransferInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::ACHTransferInstruction, nil] required :ach_transfer_instruction, -> { Increase::PendingTransaction::Source::ACHTransferInstruction }, nil?: true @@ -194,7 +194,7 @@ class Source < Increase::Internal::Type::BaseModel # temporary holds placed on a customers funds with the intent to later clear a # transaction. # - # @return [Increase::PendingTransaction::Source::CardAuthorization, nil] + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization, nil] required :card_authorization, -> { Increase::PendingTransaction::Source::CardAuthorization @@ -205,14 +205,14 @@ class Source < Increase::Internal::Type::BaseModel # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @return [Symbol, Increase::PendingTransaction::Source::Category] + # @return [Symbol, Increase::Models::PendingTransaction::Source::Category] required :category, enum: -> { Increase::PendingTransaction::Source::Category } # @!attribute check_deposit_instruction # A Check Deposit Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `check_deposit_instruction`. # - # @return [Increase::PendingTransaction::Source::CheckDepositInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::CheckDepositInstruction, nil] required :check_deposit_instruction, -> { Increase::PendingTransaction::Source::CheckDepositInstruction }, nil?: true @@ -221,7 +221,7 @@ class Source < Increase::Internal::Type::BaseModel # A Check Transfer Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `check_transfer_instruction`. # - # @return [Increase::PendingTransaction::Source::CheckTransferInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::CheckTransferInstruction, nil] required :check_transfer_instruction, -> { Increase::PendingTransaction::Source::CheckTransferInstruction }, nil?: true @@ -232,7 +232,7 @@ class Source < Increase::Internal::Type::BaseModel # certain transaction types to account for return windows where funds might still # be clawed back by the sending institution. # - # @return [Increase::PendingTransaction::Source::InboundFundsHold, nil] + # @return [Increase::Models::PendingTransaction::Source::InboundFundsHold, nil] required :inbound_funds_hold, -> { Increase::PendingTransaction::Source::InboundFundsHold @@ -245,7 +245,7 @@ class Source < Increase::Internal::Type::BaseModel # An Inbound Wire Transfer Reversal is created when Increase has received a wire # and the User requests that it be reversed. # - # @return [Increase::PendingTransaction::Source::InboundWireTransferReversal, nil] + # @return [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil] required :inbound_wire_transfer_reversal, -> { Increase::PendingTransaction::Source::InboundWireTransferReversal }, nil?: true @@ -262,7 +262,7 @@ class Source < Increase::Internal::Type::BaseModel # the JSON response if and only if `category` is equal to # `outbound_card_push_transfer_instruction`. # - # @return [Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::OutboundCardPushTransferInstruction, nil] required :outbound_card_push_transfer_instruction, -> { Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction }, nil?: true @@ -272,7 +272,7 @@ class Source < Increase::Internal::Type::BaseModel # the JSON response if and only if `category` is equal to # `real_time_payments_transfer_instruction`. # - # @return [Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] required :real_time_payments_transfer_instruction, -> { Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction }, nil?: true @@ -281,7 +281,7 @@ class Source < Increase::Internal::Type::BaseModel # A Swift Transfer Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `swift_transfer_instruction`. # - # @return [Increase::PendingTransaction::Source::SwiftTransferInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::SwiftTransferInstruction, nil] required :swift_transfer_instruction, -> { Increase::PendingTransaction::Source::SwiftTransferInstruction }, nil?: true @@ -290,46 +290,46 @@ class Source < Increase::Internal::Type::BaseModel # A Wire Transfer Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `wire_transfer_instruction`. # - # @return [Increase::PendingTransaction::Source::WireTransferInstruction, nil] + # @return [Increase::Models::PendingTransaction::Source::WireTransferInstruction, nil] required :wire_transfer_instruction, -> { Increase::PendingTransaction::Source::WireTransferInstruction }, nil?: true # @!method initialize(account_transfer_instruction:, ach_transfer_instruction:, card_authorization:, category:, check_deposit_instruction:, check_transfer_instruction:, inbound_funds_hold:, inbound_wire_transfer_reversal:, other:, outbound_card_push_transfer_instruction:, real_time_payments_transfer_instruction:, swift_transfer_instruction:, wire_transfer_instruction:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source} for more details. + # {Increase::Models::PendingTransaction::Source} for more details. # # This is an object giving more details on the network-level event that caused the # Pending Transaction. For example, for a card transaction this lists the # merchant's industry and location. # - # @param account_transfer_instruction [Increase::PendingTransaction::Source::AccountTransferInstruction, nil] An Account Transfer Instruction object. This field will be present in the JSON r + # @param account_transfer_instruction [Increase::Models::PendingTransaction::Source::AccountTransferInstruction, nil] An Account Transfer Instruction object. This field will be present in the JSON r # - # @param ach_transfer_instruction [Increase::PendingTransaction::Source::ACHTransferInstruction, nil] An ACH Transfer Instruction object. This field will be present in the JSON respo + # @param ach_transfer_instruction [Increase::Models::PendingTransaction::Source::ACHTransferInstruction, nil] An ACH Transfer Instruction object. This field will be present in the JSON respo # - # @param card_authorization [Increase::PendingTransaction::Source::CardAuthorization, nil] A Card Authorization object. This field will be present in the JSON response if + # @param card_authorization [Increase::Models::PendingTransaction::Source::CardAuthorization, nil] A Card Authorization object. This field will be present in the JSON response if # - # @param category [Symbol, Increase::PendingTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov + # @param category [Symbol, Increase::Models::PendingTransaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov # - # @param check_deposit_instruction [Increase::PendingTransaction::Source::CheckDepositInstruction, nil] A Check Deposit Instruction object. This field will be present in the JSON respo + # @param check_deposit_instruction [Increase::Models::PendingTransaction::Source::CheckDepositInstruction, nil] A Check Deposit Instruction object. This field will be present in the JSON respo # - # @param check_transfer_instruction [Increase::PendingTransaction::Source::CheckTransferInstruction, nil] A Check Transfer Instruction object. This field will be present in the JSON resp + # @param check_transfer_instruction [Increase::Models::PendingTransaction::Source::CheckTransferInstruction, nil] A Check Transfer Instruction object. This field will be present in the JSON resp # - # @param inbound_funds_hold [Increase::PendingTransaction::Source::InboundFundsHold, nil] An Inbound Funds Hold object. This field will be present in the JSON response if + # @param inbound_funds_hold [Increase::Models::PendingTransaction::Source::InboundFundsHold, nil] An Inbound Funds Hold object. This field will be present in the JSON response if # - # @param inbound_wire_transfer_reversal [Increase::PendingTransaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal object. This field will be present in the JSON + # @param inbound_wire_transfer_reversal [Increase::Models::PendingTransaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal object. This field will be present in the JSON # # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will # - # @param outbound_card_push_transfer_instruction [Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction, nil] An Outbound Card Push Transfer Instruction object. This field will be present in + # @param outbound_card_push_transfer_instruction [Increase::Models::PendingTransaction::Source::OutboundCardPushTransferInstruction, nil] An Outbound Card Push Transfer Instruction object. This field will be present in # - # @param real_time_payments_transfer_instruction [Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] A Real-Time Payments Transfer Instruction object. This field will be present in + # @param real_time_payments_transfer_instruction [Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction, nil] A Real-Time Payments Transfer Instruction object. This field will be present in # - # @param swift_transfer_instruction [Increase::PendingTransaction::Source::SwiftTransferInstruction, nil] A Swift Transfer Instruction object. This field will be present in the JSON resp + # @param swift_transfer_instruction [Increase::Models::PendingTransaction::Source::SwiftTransferInstruction, nil] A Swift Transfer Instruction object. This field will be present in the JSON resp # - # @param wire_transfer_instruction [Increase::PendingTransaction::Source::WireTransferInstruction, nil] A Wire Transfer Instruction object. This field will be present in the JSON respo + # @param wire_transfer_instruction [Increase::Models::PendingTransaction::Source::WireTransferInstruction, nil] A Wire Transfer Instruction object. This field will be present in the JSON respo - # @see Increase::PendingTransaction::Source#account_transfer_instruction + # @see Increase::Models::PendingTransaction::Source#account_transfer_instruction class AccountTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute amount # The pending amount in the minor unit of the transaction's currency. For dollars, @@ -342,7 +342,7 @@ class AccountTransferInstruction < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @return [Symbol, Increase::PendingTransaction::Source::AccountTransferInstruction::Currency] + # @return [Symbol, Increase::Models::PendingTransaction::Source::AccountTransferInstruction::Currency] required :currency, enum: -> { Increase::PendingTransaction::Source::AccountTransferInstruction::Currency } @@ -354,22 +354,22 @@ class AccountTransferInstruction < Increase::Internal::Type::BaseModel # @!method initialize(amount:, currency:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::AccountTransferInstruction} for more - # details. + # {Increase::Models::PendingTransaction::Source::AccountTransferInstruction} for + # more details. # # An Account Transfer Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `account_transfer_instruction`. # # @param amount [Integer] The pending amount in the minor unit of the transaction's currency. For dollars, # - # @param currency [Symbol, Increase::PendingTransaction::Source::AccountTransferInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination + # @param currency [Symbol, Increase::Models::PendingTransaction::Source::AccountTransferInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # # @param transfer_id [String] The identifier of the Account Transfer that led to this Pending Transaction. # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @see Increase::PendingTransaction::Source::AccountTransferInstruction#currency + # @see Increase::Models::PendingTransaction::Source::AccountTransferInstruction#currency module Currency extend Increase::Internal::Type::Enum @@ -396,7 +396,7 @@ module Currency end end - # @see Increase::PendingTransaction::Source#ach_transfer_instruction + # @see Increase::Models::PendingTransaction::Source#ach_transfer_instruction class ACHTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute amount # The pending amount in USD cents. @@ -419,7 +419,7 @@ class ACHTransferInstruction < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the ACH Transfer that led to this Pending Transaction. end - # @see Increase::PendingTransaction::Source#card_authorization + # @see Increase::Models::PendingTransaction::Source#card_authorization class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute id # The Card Authorization identifier. @@ -431,7 +431,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Actioner] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Actioner] required :actioner, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Actioner } # @!attribute amount @@ -451,7 +451,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Currency] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Currency] required :currency, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Currency } # @!attribute digital_wallet_token_id @@ -465,7 +465,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Direction] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Direction] required :direction, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Direction } # @!attribute expires_at @@ -523,7 +523,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute network_details # Fields specific to the `network`. # - # @return [Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails] + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails] required :network_details, -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails @@ -532,7 +532,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers] + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers] required :network_identifiers, -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers } @@ -573,7 +573,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::ProcessingCategory] required :processing_category, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory } @@ -595,18 +595,19 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_authorization`. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Type] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Type] required :type, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Type } # @!attribute verification # Fields related to verification of cardholder-provided values. # - # @return [Increase::PendingTransaction::Source::CardAuthorization::Verification] + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification] required :verification, -> { Increase::PendingTransaction::Source::CardAuthorization::Verification } # @!method initialize(id:, actioner:, amount:, card_payment_id:, currency:, digital_wallet_token_id:, direction:, expires_at:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, pending_transaction_id:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, real_time_decision_id:, terminal_id:, type:, verification:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::CardAuthorization} for more details. + # {Increase::Models::PendingTransaction::Source::CardAuthorization} for more + # details. # # A Card Authorization object. This field will be present in the JSON response if # and only if `category` is equal to `card_authorization`. Card Authorizations are @@ -615,17 +616,17 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param id [String] The Card Authorization identifier. # - # @param actioner [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Actioner] Whether this authorization was approved by Increase, the card network through st + # @param actioner [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Actioner] Whether this authorization was approved by Increase, the card network through st # # @param amount [Integer] The pending amount in the minor unit of the transaction's currency. For dollars, # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param currency [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p # - # @param direction [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh + # @param direction [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh # # @param expires_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) when this authorization w # @@ -643,9 +644,9 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_details [Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails] Fields specific to the `network`. + # @param network_details [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails] Fields specific to the `network`. # - # @param network_identifiers [Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -657,20 +658,20 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param processing_category [Symbol, Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory] The processing category describes the intent behind the authorization, such as w + # @param processing_category [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::ProcessingCategory] The processing category describes the intent behind the authorization, such as w # # @param real_time_decision_id [String, nil] The identifier of the Real-Time Decision sent to approve or decline this transac # # @param terminal_id [String, nil] The terminal identifier (commonly abbreviated as TID) of the terminal the card i # - # @param type [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Type] A constant representing the object's type. For this resource it will always be ` # - # @param verification [Increase::PendingTransaction::Source::CardAuthorization::Verification] Fields related to verification of cardholder-provided values. + # @param verification [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification] Fields related to verification of cardholder-provided values. # Whether this authorization was approved by Increase, the card network through # stand-in processing, or the user through a real-time decision. # - # @see Increase::PendingTransaction::Source::CardAuthorization#actioner + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#actioner module Actioner extend Increase::Internal::Type::Enum @@ -690,7 +691,7 @@ module Actioner # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::PendingTransaction::Source::CardAuthorization#currency + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#currency module Currency extend Increase::Internal::Type::Enum @@ -719,7 +720,7 @@ module Currency # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @see Increase::PendingTransaction::Source::CardAuthorization#direction + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#direction module Direction extend Increase::Internal::Type::Enum @@ -733,12 +734,12 @@ module Direction # @return [Array] end - # @see Increase::PendingTransaction::Source::CardAuthorization#network_details + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#network_details class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute category # The payment network used to process this card authorization. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] required :category, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category @@ -747,7 +748,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute visa # Fields specific to the `visa` network. # - # @return [Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] required :visa, -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa }, nil?: true @@ -755,13 +756,13 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!method initialize(category:, visa:) # Fields specific to the `network`. # - # @param category [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. + # @param category [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param visa [Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. + # @param visa [Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. # The payment network used to process this card authorization. # - # @see Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails#category + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#category module Category extend Increase::Internal::Type::Enum @@ -772,14 +773,14 @@ module Category # @return [Array] end - # @see Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails#visa + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] required :electronic_commerce_indicator, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator @@ -790,7 +791,7 @@ class Visa < Increase::Internal::Type::BaseModel # The method used to enter the cardholder's primary account number and card # expiration date. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] required :point_of_service_entry_mode, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode @@ -801,7 +802,7 @@ class Visa < Increase::Internal::Type::BaseModel # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] required :stand_in_processing_reason, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason @@ -810,22 +811,22 @@ class Visa < Increase::Internal::Type::BaseModel # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa} + # {Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa} # for more details. # # Fields specific to the `visa` network. # - # @param electronic_commerce_indicator [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used + # @param electronic_commerce_indicator [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used # - # @param point_of_service_entry_mode [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira + # @param point_of_service_entry_mode [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira # - # @param stand_in_processing_reason [Symbol, Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap + # @param stand_in_processing_reason [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @see Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#electronic_commerce_indicator + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#electronic_commerce_indicator module ElectronicCommerceIndicator extend Increase::Internal::Type::Enum @@ -861,7 +862,7 @@ module ElectronicCommerceIndicator # The method used to enter the cardholder's primary account number and card # expiration date. # - # @see Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#point_of_service_entry_mode + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#point_of_service_entry_mode module PointOfServiceEntryMode extend Increase::Internal::Type::Enum @@ -902,7 +903,7 @@ module PointOfServiceEntryMode # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @see Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#stand_in_processing_reason + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa#stand_in_processing_reason module StandInProcessingReason extend Increase::Internal::Type::Enum @@ -935,7 +936,7 @@ module StandInProcessingReason end end - # @see Increase::PendingTransaction::Source::CardAuthorization#network_identifiers + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -961,7 +962,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers} + # {Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers} # for more details. # # Network-specific identifiers for a specific request or transaction. @@ -976,7 +977,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @see Increase::PendingTransaction::Source::CardAuthorization#processing_category + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#processing_category module ProcessingCategory extend Increase::Internal::Type::Enum @@ -1005,7 +1006,7 @@ module ProcessingCategory # A constant representing the object's type. For this resource it will always be # `card_authorization`. # - # @see Increase::PendingTransaction::Source::CardAuthorization#type + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#type module Type extend Increase::Internal::Type::Enum @@ -1015,13 +1016,13 @@ module Type # @return [Array] end - # @see Increase::PendingTransaction::Source::CardAuthorization#verification + # @see Increase::Models::PendingTransaction::Source::CardAuthorization#verification class Verification < Increase::Internal::Type::BaseModel # @!attribute card_verification_code # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @return [Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode] + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode] required :card_verification_code, -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode @@ -1031,7 +1032,7 @@ class Verification < Increase::Internal::Type::BaseModel # Cardholder address provided in the authorization request and the address on file # we verified it against. # - # @return [Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress] + # @return [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress] required :cardholder_address, -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress @@ -1039,21 +1040,21 @@ class Verification < Increase::Internal::Type::BaseModel # @!method initialize(card_verification_code:, cardholder_address:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::CardAuthorization::Verification} for more - # details. + # {Increase::Models::PendingTransaction::Source::CardAuthorization::Verification} + # for more details. # # Fields related to verification of cardholder-provided values. # - # @param card_verification_code [Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on + # @param card_verification_code [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on # - # @param cardholder_address [Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file + # @param cardholder_address [Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file - # @see Increase::PendingTransaction::Source::CardAuthorization::Verification#card_verification_code + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification#card_verification_code class CardVerificationCode < Increase::Internal::Type::BaseModel # @!attribute result # The result of verifying the Card Verification Code. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result] required :result, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result @@ -1063,11 +1064,11 @@ class CardVerificationCode < Increase::Internal::Type::BaseModel # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @param result [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. + # @param result [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. # The result of verifying the Card Verification Code. # - # @see Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode#result + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode#result module Result extend Increase::Internal::Type::Enum @@ -1085,7 +1086,7 @@ module Result end end - # @see Increase::PendingTransaction::Source::CardAuthorization::Verification#cardholder_address + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification#cardholder_address class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute actual_line1 # Line 1 of the address on file for the cardholder. @@ -1115,7 +1116,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute result # The address verification result returned to the card network. # - # @return [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result] required :result, enum: -> { Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result @@ -1123,7 +1124,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress} + # {Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress} # for more details. # # Cardholder address provided in the authorization request and the address on file @@ -1137,11 +1138,11 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request. # - # @param result [Symbol, Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result] The address verification result returned to the card network. + # @param result [Symbol, Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::Result] The address verification result returned to the card network. # The address verification result returned to the card network. # - # @see Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress#result + # @see Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress#result module Result extend Increase::Internal::Type::Enum @@ -1173,7 +1174,7 @@ module Result # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @see Increase::PendingTransaction::Source#category + # @see Increase::Models::PendingTransaction::Source#category module Category extend Increase::Internal::Type::Enum @@ -1217,7 +1218,7 @@ module Category # @return [Array] end - # @see Increase::PendingTransaction::Source#check_deposit_instruction + # @see Increase::Models::PendingTransaction::Source#check_deposit_instruction class CheckDepositInstruction < Increase::Internal::Type::BaseModel # @!attribute amount # The pending amount in USD cents. @@ -1242,7 +1243,7 @@ class CheckDepositInstruction < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::PendingTransaction::Source::CheckDepositInstruction::Currency] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CheckDepositInstruction::Currency] required :currency, enum: -> { Increase::PendingTransaction::Source::CheckDepositInstruction::Currency @@ -1257,7 +1258,7 @@ class CheckDepositInstruction < Increase::Internal::Type::BaseModel # @!method initialize(amount:, back_image_file_id:, check_deposit_id:, currency:, front_image_file_id:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::CheckDepositInstruction} for more + # {Increase::Models::PendingTransaction::Source::CheckDepositInstruction} for more # details. # # A Check Deposit Instruction object. This field will be present in the JSON @@ -1269,14 +1270,14 @@ class CheckDepositInstruction < Increase::Internal::Type::BaseModel # # @param check_deposit_id [String, nil] The identifier of the Check Deposit. # - # @param currency [Symbol, Increase::PendingTransaction::Source::CheckDepositInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::PendingTransaction::Source::CheckDepositInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # # @param front_image_file_id [String] The identifier of the File containing the image of the front of the check that w # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::PendingTransaction::Source::CheckDepositInstruction#currency + # @see Increase::Models::PendingTransaction::Source::CheckDepositInstruction#currency module Currency extend Increase::Internal::Type::Enum @@ -1303,7 +1304,7 @@ module Currency end end - # @see Increase::PendingTransaction::Source#check_transfer_instruction + # @see Increase::Models::PendingTransaction::Source#check_transfer_instruction class CheckTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute amount # The transfer amount in USD cents. @@ -1315,7 +1316,7 @@ class CheckTransferInstruction < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @return [Symbol, Increase::PendingTransaction::Source::CheckTransferInstruction::Currency] + # @return [Symbol, Increase::Models::PendingTransaction::Source::CheckTransferInstruction::Currency] required :currency, enum: -> { Increase::PendingTransaction::Source::CheckTransferInstruction::Currency @@ -1329,22 +1330,22 @@ class CheckTransferInstruction < Increase::Internal::Type::BaseModel # @!method initialize(amount:, currency:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::CheckTransferInstruction} for more - # details. + # {Increase::Models::PendingTransaction::Source::CheckTransferInstruction} for + # more details. # # A Check Transfer Instruction object. This field will be present in the JSON # response if and only if `category` is equal to `check_transfer_instruction`. # # @param amount [Integer] The transfer amount in USD cents. # - # @param currency [Symbol, Increase::PendingTransaction::Source::CheckTransferInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr + # @param currency [Symbol, Increase::Models::PendingTransaction::Source::CheckTransferInstruction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's curr # # @param transfer_id [String] The identifier of the Check Transfer that led to this Pending Transaction. # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the check's # currency. # - # @see Increase::PendingTransaction::Source::CheckTransferInstruction#currency + # @see Increase::Models::PendingTransaction::Source::CheckTransferInstruction#currency module Currency extend Increase::Internal::Type::Enum @@ -1371,7 +1372,7 @@ module Currency end end - # @see Increase::PendingTransaction::Source#inbound_funds_hold + # @see Increase::Models::PendingTransaction::Source#inbound_funds_hold class InboundFundsHold < Increase::Internal::Type::BaseModel # @!attribute id # The Inbound Funds Hold identifier. @@ -1404,7 +1405,7 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's # currency. # - # @return [Symbol, Increase::PendingTransaction::Source::InboundFundsHold::Currency] + # @return [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Currency] required :currency, enum: -> { Increase::PendingTransaction::Source::InboundFundsHold::Currency } # @!attribute held_transaction_id @@ -1428,19 +1429,20 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # @!attribute status # The status of the hold. # - # @return [Symbol, Increase::PendingTransaction::Source::InboundFundsHold::Status] + # @return [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Status] required :status, enum: -> { Increase::PendingTransaction::Source::InboundFundsHold::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `inbound_funds_hold`. # - # @return [Symbol, Increase::PendingTransaction::Source::InboundFundsHold::Type] + # @return [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Type] required :type, enum: -> { Increase::PendingTransaction::Source::InboundFundsHold::Type } # @!method initialize(id:, amount:, automatically_releases_at:, created_at:, currency:, held_transaction_id:, pending_transaction_id:, released_at:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::InboundFundsHold} for more details. + # {Increase::Models::PendingTransaction::Source::InboundFundsHold} for more + # details. # # An Inbound Funds Hold object. This field will be present in the JSON response if # and only if `category` is equal to `inbound_funds_hold`. We hold funds for @@ -1455,7 +1457,7 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the hold wa # - # @param currency [Symbol, Increase::PendingTransaction::Source::InboundFundsHold::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's curre + # @param currency [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's curre # # @param held_transaction_id [String, nil] The ID of the Transaction for which funds were held. # @@ -1463,14 +1465,14 @@ class InboundFundsHold < Increase::Internal::Type::BaseModel # # @param released_at [Time, nil] When the hold was released (if it has been released). # - # @param status [Symbol, Increase::PendingTransaction::Source::InboundFundsHold::Status] The status of the hold. + # @param status [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Status] The status of the hold. # - # @param type [Symbol, Increase::PendingTransaction::Source::InboundFundsHold::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::PendingTransaction::Source::InboundFundsHold::Type] A constant representing the object's type. For this resource it will always be ` # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the hold's # currency. # - # @see Increase::PendingTransaction::Source::InboundFundsHold#currency + # @see Increase::Models::PendingTransaction::Source::InboundFundsHold#currency module Currency extend Increase::Internal::Type::Enum @@ -1498,7 +1500,7 @@ module Currency # The status of the hold. # - # @see Increase::PendingTransaction::Source::InboundFundsHold#status + # @see Increase::Models::PendingTransaction::Source::InboundFundsHold#status module Status extend Increase::Internal::Type::Enum @@ -1515,7 +1517,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `inbound_funds_hold`. # - # @see Increase::PendingTransaction::Source::InboundFundsHold#type + # @see Increase::Models::PendingTransaction::Source::InboundFundsHold#type module Type extend Increase::Internal::Type::Enum @@ -1526,7 +1528,7 @@ module Type end end - # @see Increase::PendingTransaction::Source#inbound_wire_transfer_reversal + # @see Increase::Models::PendingTransaction::Source#inbound_wire_transfer_reversal class InboundWireTransferReversal < Increase::Internal::Type::BaseModel # @!attribute inbound_wire_transfer_id # The ID of the Inbound Wire Transfer that is being reversed. @@ -1543,7 +1545,7 @@ class InboundWireTransferReversal < Increase::Internal::Type::BaseModel # @param inbound_wire_transfer_id [String] The ID of the Inbound Wire Transfer that is being reversed. end - # @see Increase::PendingTransaction::Source#outbound_card_push_transfer_instruction + # @see Increase::Models::PendingTransaction::Source#outbound_card_push_transfer_instruction class OutboundCardPushTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute amount # The transfer amount in USD cents. @@ -1560,8 +1562,8 @@ class OutboundCardPushTransferInstruction < Increase::Internal::Type::BaseModel # @!method initialize(amount:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction} for - # more details. + # {Increase::Models::PendingTransaction::Source::OutboundCardPushTransferInstruction} + # for more details. # # An Outbound Card Push Transfer Instruction object. This field will be present in # the JSON response if and only if `category` is equal to @@ -1572,7 +1574,7 @@ class OutboundCardPushTransferInstruction < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the Outbound Card Push Transfer that led to this Pending Trans end - # @see Increase::PendingTransaction::Source#real_time_payments_transfer_instruction + # @see Increase::Models::PendingTransaction::Source#real_time_payments_transfer_instruction class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute amount # The transfer amount in USD cents. @@ -1589,8 +1591,8 @@ class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel # @!method initialize(amount:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction} for - # more details. + # {Increase::Models::PendingTransaction::Source::RealTimePaymentsTransferInstruction} + # for more details. # # A Real-Time Payments Transfer Instruction object. This field will be present in # the JSON response if and only if `category` is equal to @@ -1601,7 +1603,7 @@ class RealTimePaymentsTransferInstruction < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the Real-Time Payments Transfer that led to this Pending Trans end - # @see Increase::PendingTransaction::Source#swift_transfer_instruction + # @see Increase::Models::PendingTransaction::Source#swift_transfer_instruction class SwiftTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute transfer_id # The identifier of the Swift Transfer that led to this Pending Transaction. @@ -1616,7 +1618,7 @@ class SwiftTransferInstruction < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the Swift Transfer that led to this Pending Transaction. end - # @see Increase::PendingTransaction::Source#wire_transfer_instruction + # @see Increase::Models::PendingTransaction::Source#wire_transfer_instruction class WireTransferInstruction < Increase::Internal::Type::BaseModel # @!attribute account_number # The account number for the destination account. @@ -1651,7 +1653,7 @@ class WireTransferInstruction < Increase::Internal::Type::BaseModel # @!method initialize(account_number:, amount:, message_to_recipient:, routing_number:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::PendingTransaction::Source::WireTransferInstruction} for more + # {Increase::Models::PendingTransaction::Source::WireTransferInstruction} for more # details. # # A Wire Transfer Instruction object. This field will be present in the JSON @@ -1672,7 +1674,7 @@ class WireTransferInstruction < Increase::Internal::Type::BaseModel # Whether the Pending Transaction has been confirmed and has an associated # Transaction. # - # @see Increase::PendingTransaction#status + # @see Increase::Models::PendingTransaction#status module Status extend Increase::Internal::Type::Enum @@ -1689,7 +1691,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `pending_transaction`. # - # @see Increase::PendingTransaction#type + # @see Increase::Models::PendingTransaction#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/pending_transaction_list_params.rb b/lib/increase/models/pending_transaction_list_params.rb index 3a73f05d0..3b6d127a9 100644 --- a/lib/increase/models/pending_transaction_list_params.rb +++ b/lib/increase/models/pending_transaction_list_params.rb @@ -15,12 +15,12 @@ class PendingTransactionListParams < Increase::Internal::Type::BaseModel # @!attribute category # - # @return [Increase::PendingTransactionListParams::Category, nil] + # @return [Increase::Models::PendingTransactionListParams::Category, nil] optional :category, -> { Increase::PendingTransactionListParams::Category } # @!attribute created_at # - # @return [Increase::PendingTransactionListParams::CreatedAt, nil] + # @return [Increase::Models::PendingTransactionListParams::CreatedAt, nil] optional :created_at, -> { Increase::PendingTransactionListParams::CreatedAt } # @!attribute cursor @@ -44,7 +44,7 @@ class PendingTransactionListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::PendingTransactionListParams::Status, nil] + # @return [Increase::Models::PendingTransactionListParams::Status, nil] optional :status, -> { Increase::PendingTransactionListParams::Status } # @!method initialize(account_id: nil, category: nil, created_at: nil, cursor: nil, limit: nil, route_id: nil, status: nil, request_options: {}) @@ -53,9 +53,9 @@ class PendingTransactionListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter pending transactions to those belonging to the specified Account. # - # @param category [Increase::PendingTransactionListParams::Category] + # @param category [Increase::Models::PendingTransactionListParams::Category] # - # @param created_at [Increase::PendingTransactionListParams::CreatedAt] + # @param created_at [Increase::Models::PendingTransactionListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -63,7 +63,7 @@ class PendingTransactionListParams < Increase::Internal::Type::BaseModel # # @param route_id [String] Filter pending transactions to those belonging to the specified Route. # - # @param status [Increase::PendingTransactionListParams::Status] + # @param status [Increase::Models::PendingTransactionListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -72,7 +72,7 @@ class Category < Increase::Internal::Type::BaseModel # Return results whose value is in the provided list. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::PendingTransactionListParams::Category::In] @@ -81,9 +81,9 @@ class Category < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::PendingTransactionListParams::Category} for more details. + # {Increase::Models::PendingTransactionListParams::Category} for more details. # - # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul + # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul module In extend Increase::Internal::Type::Enum @@ -160,7 +160,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::PendingTransactionListParams::CreatedAt} for more details. + # {Increase::Models::PendingTransactionListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -178,7 +178,7 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::PendingTransactionListParams::Status::In] @@ -187,9 +187,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::PendingTransactionListParams::Status} for more details. + # {Increase::Models::PendingTransactionListParams::Status} for more details. # - # @param in_ [Array] Filter Pending Transactions for those with the specified status. By default only + # @param in_ [Array] Filter Pending Transactions for those with the specified status. By default only module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/physical_card.rb b/lib/increase/models/physical_card.rb index 823ab1e39..9e3807110 100644 --- a/lib/increase/models/physical_card.rb +++ b/lib/increase/models/physical_card.rb @@ -19,7 +19,7 @@ class PhysicalCard < Increase::Internal::Type::BaseModel # @!attribute cardholder # Details about the cardholder, as it appears on the printed card. # - # @return [Increase::PhysicalCard::Cardholder] + # @return [Increase::Models::PhysicalCard::Cardholder] required :cardholder, -> { Increase::PhysicalCard::Cardholder } # @!attribute created_at @@ -46,25 +46,25 @@ class PhysicalCard < Increase::Internal::Type::BaseModel # @!attribute shipment # The details used to ship this physical card. # - # @return [Increase::PhysicalCard::Shipment] + # @return [Increase::Models::PhysicalCard::Shipment] required :shipment, -> { Increase::PhysicalCard::Shipment } # @!attribute status # The status of the Physical Card. # - # @return [Symbol, Increase::PhysicalCard::Status] + # @return [Symbol, Increase::Models::PhysicalCard::Status] required :status, enum: -> { Increase::PhysicalCard::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `physical_card`. # - # @return [Symbol, Increase::PhysicalCard::Type] + # @return [Symbol, Increase::Models::PhysicalCard::Type] required :type, enum: -> { Increase::PhysicalCard::Type } # @!method initialize(id:, card_id:, cardholder:, created_at:, idempotency_key:, physical_card_profile_id:, shipment:, status:, type:) - # Some parameter documentations has been truncated, see {Increase::PhysicalCard} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::PhysicalCard} for more details. # # Custom physical Visa cards that are shipped to your customers. The artwork is # configurable by a connected [Card Profile](/documentation/api#card-profiles). @@ -76,7 +76,7 @@ class PhysicalCard < Increase::Internal::Type::BaseModel # # @param card_id [String] The identifier for the Card this Physical Card represents. # - # @param cardholder [Increase::PhysicalCard::Cardholder] Details about the cardholder, as it appears on the printed card. + # @param cardholder [Increase::Models::PhysicalCard::Cardholder] Details about the cardholder, as it appears on the printed card. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # @@ -84,13 +84,13 @@ class PhysicalCard < Increase::Internal::Type::BaseModel # # @param physical_card_profile_id [String, nil] The Physical Card Profile used for this Physical Card. # - # @param shipment [Increase::PhysicalCard::Shipment] The details used to ship this physical card. + # @param shipment [Increase::Models::PhysicalCard::Shipment] The details used to ship this physical card. # - # @param status [Symbol, Increase::PhysicalCard::Status] The status of the Physical Card. + # @param status [Symbol, Increase::Models::PhysicalCard::Status] The status of the Physical Card. # - # @param type [Symbol, Increase::PhysicalCard::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::PhysicalCard::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::PhysicalCard#cardholder + # @see Increase::Models::PhysicalCard#cardholder class Cardholder < Increase::Internal::Type::BaseModel # @!attribute first_name # The cardholder's first name. @@ -112,44 +112,44 @@ class Cardholder < Increase::Internal::Type::BaseModel # @param last_name [String] The cardholder's last name. end - # @see Increase::PhysicalCard#shipment + # @see Increase::Models::PhysicalCard#shipment class Shipment < Increase::Internal::Type::BaseModel # @!attribute address # The location to where the card's packing label is addressed. # - # @return [Increase::PhysicalCard::Shipment::Address] + # @return [Increase::Models::PhysicalCard::Shipment::Address] required :address, -> { Increase::PhysicalCard::Shipment::Address } # @!attribute method_ # The shipping method. # - # @return [Symbol, Increase::PhysicalCard::Shipment::Method] + # @return [Symbol, Increase::Models::PhysicalCard::Shipment::Method] required :method_, enum: -> { Increase::PhysicalCard::Shipment::Method }, api_name: :method # @!attribute status # The status of this shipment. # - # @return [Symbol, Increase::PhysicalCard::Shipment::Status] + # @return [Symbol, Increase::Models::PhysicalCard::Shipment::Status] required :status, enum: -> { Increase::PhysicalCard::Shipment::Status } # @!attribute tracking # Tracking details for the shipment. # - # @return [Increase::PhysicalCard::Shipment::Tracking, nil] + # @return [Increase::Models::PhysicalCard::Shipment::Tracking, nil] required :tracking, -> { Increase::PhysicalCard::Shipment::Tracking }, nil?: true # @!method initialize(address:, method_:, status:, tracking:) # The details used to ship this physical card. # - # @param address [Increase::PhysicalCard::Shipment::Address] The location to where the card's packing label is addressed. + # @param address [Increase::Models::PhysicalCard::Shipment::Address] The location to where the card's packing label is addressed. # - # @param method_ [Symbol, Increase::PhysicalCard::Shipment::Method] The shipping method. + # @param method_ [Symbol, Increase::Models::PhysicalCard::Shipment::Method] The shipping method. # - # @param status [Symbol, Increase::PhysicalCard::Shipment::Status] The status of this shipment. + # @param status [Symbol, Increase::Models::PhysicalCard::Shipment::Status] The status of this shipment. # - # @param tracking [Increase::PhysicalCard::Shipment::Tracking, nil] Tracking details for the shipment. + # @param tracking [Increase::Models::PhysicalCard::Shipment::Tracking, nil] Tracking details for the shipment. - # @see Increase::PhysicalCard::Shipment#address + # @see Increase::Models::PhysicalCard::Shipment#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the shipping address. @@ -213,7 +213,7 @@ class Address < Increase::Internal::Type::BaseModel # The shipping method. # - # @see Increase::PhysicalCard::Shipment#method_ + # @see Increase::Models::PhysicalCard::Shipment#method_ module Method extend Increase::Internal::Type::Enum @@ -232,7 +232,7 @@ module Method # The status of this shipment. # - # @see Increase::PhysicalCard::Shipment#status + # @see Increase::Models::PhysicalCard::Shipment#status module Status extend Increase::Internal::Type::Enum @@ -261,7 +261,7 @@ module Status # @return [Array] end - # @see Increase::PhysicalCard::Shipment#tracking + # @see Increase::Models::PhysicalCard::Shipment#tracking class Tracking < Increase::Internal::Type::BaseModel # @!attribute number # The tracking number. @@ -292,7 +292,7 @@ class Tracking < Increase::Internal::Type::BaseModel # @!attribute updates # Tracking updates relating to the physical card's delivery. # - # @return [Array] + # @return [Array] required :updates, -> { Increase::Internal::Type::ArrayOf[Increase::PhysicalCard::Shipment::Tracking::Update] @@ -300,7 +300,7 @@ class Tracking < Increase::Internal::Type::BaseModel # @!method initialize(number:, return_number:, return_reason:, shipped_at:, updates:) # Some parameter documentations has been truncated, see - # {Increase::PhysicalCard::Shipment::Tracking} for more details. + # {Increase::Models::PhysicalCard::Shipment::Tracking} for more details. # # Tracking details for the shipment. # @@ -312,7 +312,7 @@ class Tracking < Increase::Internal::Type::BaseModel # # @param shipped_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param updates [Array] Tracking updates relating to the physical card's delivery. + # @param updates [Array] Tracking updates relating to the physical card's delivery. class Update < Increase::Internal::Type::BaseModel # @!attribute carrier_estimated_delivery_at @@ -325,7 +325,7 @@ class Update < Increase::Internal::Type::BaseModel # @!attribute category # The type of tracking event. # - # @return [Symbol, Increase::PhysicalCard::Shipment::Tracking::Update::Category] + # @return [Symbol, Increase::Models::PhysicalCard::Shipment::Tracking::Update::Category] required :category, enum: -> { Increase::PhysicalCard::Shipment::Tracking::Update::Category } # @!attribute city @@ -355,11 +355,11 @@ class Update < Increase::Internal::Type::BaseModel # @!method initialize(carrier_estimated_delivery_at:, category:, city:, created_at:, postal_code:, state:) # Some parameter documentations has been truncated, see - # {Increase::PhysicalCard::Shipment::Tracking::Update} for more details. + # {Increase::Models::PhysicalCard::Shipment::Tracking::Update} for more details. # # @param carrier_estimated_delivery_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time when the ca # - # @param category [Symbol, Increase::PhysicalCard::Shipment::Tracking::Update::Category] The type of tracking event. + # @param category [Symbol, Increase::Models::PhysicalCard::Shipment::Tracking::Update::Category] The type of tracking event. # # @param city [String, nil] The city where the event took place. # @@ -371,7 +371,7 @@ class Update < Increase::Internal::Type::BaseModel # The type of tracking event. # - # @see Increase::PhysicalCard::Shipment::Tracking::Update#category + # @see Increase::Models::PhysicalCard::Shipment::Tracking::Update#category module Category extend Increase::Internal::Type::Enum @@ -396,7 +396,7 @@ module Category # The status of the Physical Card. # - # @see Increase::PhysicalCard#status + # @see Increase::Models::PhysicalCard#status module Status extend Increase::Internal::Type::Enum @@ -416,7 +416,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `physical_card`. # - # @see Increase::PhysicalCard#type + # @see Increase::Models::PhysicalCard#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/physical_card_create_params.rb b/lib/increase/models/physical_card_create_params.rb index 4300d5e69..5fa3976da 100644 --- a/lib/increase/models/physical_card_create_params.rb +++ b/lib/increase/models/physical_card_create_params.rb @@ -16,13 +16,13 @@ class PhysicalCardCreateParams < Increase::Internal::Type::BaseModel # @!attribute cardholder # Details about the cardholder, as it will appear on the physical card. # - # @return [Increase::PhysicalCardCreateParams::Cardholder] + # @return [Increase::Models::PhysicalCardCreateParams::Cardholder] required :cardholder, -> { Increase::PhysicalCardCreateParams::Cardholder } # @!attribute shipment # The details used to ship this physical card. # - # @return [Increase::PhysicalCardCreateParams::Shipment] + # @return [Increase::Models::PhysicalCardCreateParams::Shipment] required :shipment, -> { Increase::PhysicalCardCreateParams::Shipment } # @!attribute physical_card_profile_id @@ -38,9 +38,9 @@ class PhysicalCardCreateParams < Increase::Internal::Type::BaseModel # # @param card_id [String] The underlying card representing this physical card. # - # @param cardholder [Increase::PhysicalCardCreateParams::Cardholder] Details about the cardholder, as it will appear on the physical card. + # @param cardholder [Increase::Models::PhysicalCardCreateParams::Cardholder] Details about the cardholder, as it will appear on the physical card. # - # @param shipment [Increase::PhysicalCardCreateParams::Shipment] The details used to ship this physical card. + # @param shipment [Increase::Models::PhysicalCardCreateParams::Shipment] The details used to ship this physical card. # # @param physical_card_profile_id [String] The physical card profile to use for this physical card. The latest default phys # @@ -71,13 +71,13 @@ class Shipment < Increase::Internal::Type::BaseModel # @!attribute address # The address to where the card should be shipped. # - # @return [Increase::PhysicalCardCreateParams::Shipment::Address] + # @return [Increase::Models::PhysicalCardCreateParams::Shipment::Address] required :address, -> { Increase::PhysicalCardCreateParams::Shipment::Address } # @!attribute method_ # The shipping method to use. # - # @return [Symbol, Increase::PhysicalCardCreateParams::Shipment::Method] + # @return [Symbol, Increase::Models::PhysicalCardCreateParams::Shipment::Method] required :method_, enum: -> { Increase::PhysicalCardCreateParams::Shipment::Method @@ -87,11 +87,11 @@ class Shipment < Increase::Internal::Type::BaseModel # @!method initialize(address:, method_:) # The details used to ship this physical card. # - # @param address [Increase::PhysicalCardCreateParams::Shipment::Address] The address to where the card should be shipped. + # @param address [Increase::Models::PhysicalCardCreateParams::Shipment::Address] The address to where the card should be shipped. # - # @param method_ [Symbol, Increase::PhysicalCardCreateParams::Shipment::Method] The shipping method to use. + # @param method_ [Symbol, Increase::Models::PhysicalCardCreateParams::Shipment::Method] The shipping method to use. - # @see Increase::PhysicalCardCreateParams::Shipment#address + # @see Increase::Models::PhysicalCardCreateParams::Shipment#address class Address < Increase::Internal::Type::BaseModel # @!attribute city # The city of the shipping address. @@ -163,7 +163,7 @@ class Address < Increase::Internal::Type::BaseModel # The shipping method to use. # - # @see Increase::PhysicalCardCreateParams::Shipment#method_ + # @see Increase::Models::PhysicalCardCreateParams::Shipment#method_ module Method extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/physical_card_list_params.rb b/lib/increase/models/physical_card_list_params.rb index 5864667db..5e9d6b27d 100644 --- a/lib/increase/models/physical_card_list_params.rb +++ b/lib/increase/models/physical_card_list_params.rb @@ -15,7 +15,7 @@ class PhysicalCardListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::PhysicalCardListParams::CreatedAt, nil] + # @return [Increase::Models::PhysicalCardListParams::CreatedAt, nil] optional :created_at, -> { Increase::PhysicalCardListParams::CreatedAt } # @!attribute cursor @@ -46,7 +46,7 @@ class PhysicalCardListParams < Increase::Internal::Type::BaseModel # # @param card_id [String] Filter Physical Cards to ones belonging to the specified Card. # - # @param created_at [Increase::PhysicalCardListParams::CreatedAt] + # @param created_at [Increase::Models::PhysicalCardListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -87,7 +87,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::PhysicalCardListParams::CreatedAt} for more details. + # {Increase::Models::PhysicalCardListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/physical_card_profile.rb b/lib/increase/models/physical_card_profile.rb index d79756e8e..f5a7b515f 100644 --- a/lib/increase/models/physical_card_profile.rb +++ b/lib/increase/models/physical_card_profile.rb @@ -38,7 +38,7 @@ class PhysicalCardProfile < Increase::Internal::Type::BaseModel # @!attribute creator # The creator of this Physical Card Profile. # - # @return [Symbol, Increase::PhysicalCardProfile::Creator] + # @return [Symbol, Increase::Models::PhysicalCardProfile::Creator] required :creator, enum: -> { Increase::PhysicalCardProfile::Creator } # @!attribute description @@ -77,19 +77,19 @@ class PhysicalCardProfile < Increase::Internal::Type::BaseModel # @!attribute status # The status of the Physical Card Profile. # - # @return [Symbol, Increase::PhysicalCardProfile::Status] + # @return [Symbol, Increase::Models::PhysicalCardProfile::Status] required :status, enum: -> { Increase::PhysicalCardProfile::Status } # @!attribute type # A constant representing the object's type. For this resource it will always be # `physical_card_profile`. # - # @return [Symbol, Increase::PhysicalCardProfile::Type] + # @return [Symbol, Increase::Models::PhysicalCardProfile::Type] required :type, enum: -> { Increase::PhysicalCardProfile::Type } # @!method initialize(id:, back_image_file_id:, carrier_image_file_id:, contact_phone:, created_at:, creator:, description:, front_image_file_id:, idempotency_key:, is_default:, program_id:, status:, type:) # Some parameter documentations has been truncated, see - # {Increase::PhysicalCardProfile} for more details. + # {Increase::Models::PhysicalCardProfile} for more details. # # This contains artwork and metadata relating to a Physical Card's appearance. For # more information, see our guide on @@ -105,7 +105,7 @@ class PhysicalCardProfile < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param creator [Symbol, Increase::PhysicalCardProfile::Creator] The creator of this Physical Card Profile. + # @param creator [Symbol, Increase::Models::PhysicalCardProfile::Creator] The creator of this Physical Card Profile. # # @param description [String] A description you can use to identify the Physical Card Profile. # @@ -117,13 +117,13 @@ class PhysicalCardProfile < Increase::Internal::Type::BaseModel # # @param program_id [String] The identifier for the Program this Physical Card Profile belongs to. # - # @param status [Symbol, Increase::PhysicalCardProfile::Status] The status of the Physical Card Profile. + # @param status [Symbol, Increase::Models::PhysicalCardProfile::Status] The status of the Physical Card Profile. # - # @param type [Symbol, Increase::PhysicalCardProfile::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::PhysicalCardProfile::Type] A constant representing the object's type. For this resource it will always be ` # The creator of this Physical Card Profile. # - # @see Increase::PhysicalCardProfile#creator + # @see Increase::Models::PhysicalCardProfile#creator module Creator extend Increase::Internal::Type::Enum @@ -139,7 +139,7 @@ module Creator # The status of the Physical Card Profile. # - # @see Increase::PhysicalCardProfile#status + # @see Increase::Models::PhysicalCardProfile#status module Status extend Increase::Internal::Type::Enum @@ -168,7 +168,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `physical_card_profile`. # - # @see Increase::PhysicalCardProfile#type + # @see Increase::Models::PhysicalCardProfile#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/physical_card_profile_clone_params.rb b/lib/increase/models/physical_card_profile_clone_params.rb index 87bf86093..96cd8b122 100644 --- a/lib/increase/models/physical_card_profile_clone_params.rb +++ b/lib/increase/models/physical_card_profile_clone_params.rb @@ -35,7 +35,7 @@ class PhysicalCardProfileCloneParams < Increase::Internal::Type::BaseModel # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. # - # @return [Increase::PhysicalCardProfileCloneParams::FrontText, nil] + # @return [Increase::Models::PhysicalCardProfileCloneParams::FrontText, nil] optional :front_text, -> { Increase::PhysicalCardProfileCloneParams::FrontText } # @!method initialize(carrier_image_file_id: nil, contact_phone: nil, description: nil, front_image_file_id: nil, front_text: nil, request_options: {}) @@ -50,7 +50,7 @@ class PhysicalCardProfileCloneParams < Increase::Internal::Type::BaseModel # # @param front_image_file_id [String] The identifier of the File containing the physical card's front image. # - # @param front_text [Increase::PhysicalCardProfileCloneParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt + # @param front_text [Increase::Models::PhysicalCardProfileCloneParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -71,7 +71,7 @@ class FrontText < Increase::Internal::Type::BaseModel # @!method initialize(line1:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::PhysicalCardProfileCloneParams::FrontText} for more details. + # {Increase::Models::PhysicalCardProfileCloneParams::FrontText} for more details. # # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. diff --git a/lib/increase/models/physical_card_profile_create_params.rb b/lib/increase/models/physical_card_profile_create_params.rb index b169b77c1..e4fa0534a 100644 --- a/lib/increase/models/physical_card_profile_create_params.rb +++ b/lib/increase/models/physical_card_profile_create_params.rb @@ -41,7 +41,7 @@ class PhysicalCardProfileCreateParams < Increase::Internal::Type::BaseModel # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. # - # @return [Increase::PhysicalCardProfileCreateParams::FrontText, nil] + # @return [Increase::Models::PhysicalCardProfileCreateParams::FrontText, nil] optional :front_text, -> { Increase::PhysicalCardProfileCreateParams::FrontText } # @!method initialize(carrier_image_file_id:, contact_phone:, description:, front_image_file_id:, program_id:, front_text: nil, request_options: {}) @@ -58,7 +58,7 @@ class PhysicalCardProfileCreateParams < Increase::Internal::Type::BaseModel # # @param program_id [String] The identifier for the Program that this Physical Card Profile falls under. # - # @param front_text [Increase::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt + # @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -79,7 +79,7 @@ class FrontText < Increase::Internal::Type::BaseModel # @!method initialize(line1:, line2: nil) # Some parameter documentations has been truncated, see - # {Increase::PhysicalCardProfileCreateParams::FrontText} for more details. + # {Increase::Models::PhysicalCardProfileCreateParams::FrontText} for more details. # # Text printed on the front of the card. Reach out to # [support@increase.com](mailto:support@increase.com) for more information. diff --git a/lib/increase/models/physical_card_profile_list_params.rb b/lib/increase/models/physical_card_profile_list_params.rb index 7170df55d..118a3c86e 100644 --- a/lib/increase/models/physical_card_profile_list_params.rb +++ b/lib/increase/models/physical_card_profile_list_params.rb @@ -31,7 +31,7 @@ class PhysicalCardProfileListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::PhysicalCardProfileListParams::Status, nil] + # @return [Increase::Models::PhysicalCardProfileListParams::Status, nil] optional :status, -> { Increase::PhysicalCardProfileListParams::Status } # @!method initialize(cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -44,7 +44,7 @@ class PhysicalCardProfileListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::PhysicalCardProfileListParams::Status] + # @param status [Increase::Models::PhysicalCardProfileListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -54,7 +54,7 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::PhysicalCardProfileListParams::Status::In] @@ -63,9 +63,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::PhysicalCardProfileListParams::Status} for more details. + # {Increase::Models::PhysicalCardProfileListParams::Status} for more details. # - # @param in_ [Array] Filter Physical Card Profiles for those with the specified statuses. For GET req + # @param in_ [Array] Filter Physical Card Profiles for those with the specified statuses. For GET req module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/physical_card_update_params.rb b/lib/increase/models/physical_card_update_params.rb index 122ecaf89..84f7e0383 100644 --- a/lib/increase/models/physical_card_update_params.rb +++ b/lib/increase/models/physical_card_update_params.rb @@ -10,11 +10,11 @@ class PhysicalCardUpdateParams < Increase::Internal::Type::BaseModel # @!attribute status # The status to update the Physical Card to. # - # @return [Symbol, Increase::PhysicalCardUpdateParams::Status] + # @return [Symbol, Increase::Models::PhysicalCardUpdateParams::Status] required :status, enum: -> { Increase::PhysicalCardUpdateParams::Status } # @!method initialize(status:, request_options: {}) - # @param status [Symbol, Increase::PhysicalCardUpdateParams::Status] The status to update the Physical Card to. + # @param status [Symbol, Increase::Models::PhysicalCardUpdateParams::Status] The status to update the Physical Card to. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/program.rb b/lib/increase/models/program.rb index 366633770..344a6201f 100644 --- a/lib/increase/models/program.rb +++ b/lib/increase/models/program.rb @@ -13,7 +13,7 @@ class Program < Increase::Internal::Type::BaseModel # @!attribute bank # The Bank the Program is with. # - # @return [Symbol, Increase::Program::Bank] + # @return [Symbol, Increase::Models::Program::Bank] required :bank, enum: -> { Increase::Program::Bank } # @!attribute billing_account_id @@ -53,7 +53,7 @@ class Program < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `program`. # - # @return [Symbol, Increase::Program::Type] + # @return [Symbol, Increase::Models::Program::Type] required :type, enum: -> { Increase::Program::Type } # @!attribute updated_at @@ -64,8 +64,8 @@ class Program < Increase::Internal::Type::BaseModel required :updated_at, Time # @!method initialize(id:, bank:, billing_account_id:, created_at:, default_digital_card_profile_id:, interest_rate:, name:, type:, updated_at:) - # Some parameter documentations has been truncated, see {Increase::Program} for - # more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::Program} for more details. # # Programs determine the compliance and commercial terms of Accounts. By default, # you have a Commercial Banking program for managing your own funds. If you are @@ -74,7 +74,7 @@ class Program < Increase::Internal::Type::BaseModel # # @param id [String] The Program identifier. # - # @param bank [Symbol, Increase::Program::Bank] The Bank the Program is with. + # @param bank [Symbol, Increase::Models::Program::Bank] The Bank the Program is with. # # @param billing_account_id [String, nil] The Program billing account. # @@ -86,13 +86,13 @@ class Program < Increase::Internal::Type::BaseModel # # @param name [String] The name of the Program. # - # @param type [Symbol, Increase::Program::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Program::Type] A constant representing the object's type. For this resource it will always be ` # # @param updated_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the Program # The Bank the Program is with. # - # @see Increase::Program#bank + # @see Increase::Models::Program#bank module Bank extend Increase::Internal::Type::Enum @@ -112,7 +112,7 @@ module Bank # A constant representing the object's type. For this resource it will always be # `program`. # - # @see Increase::Program#type + # @see Increase::Models::Program#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/real_time_decision.rb b/lib/increase/models/real_time_decision.rb index 7562e6f62..178208666 100644 --- a/lib/increase/models/real_time_decision.rb +++ b/lib/increase/models/real_time_decision.rb @@ -13,13 +13,13 @@ class RealTimeDecision < Increase::Internal::Type::BaseModel # @!attribute card_authentication # Fields related to a 3DS authentication attempt. # - # @return [Increase::RealTimeDecision::CardAuthentication, nil] + # @return [Increase::Models::RealTimeDecision::CardAuthentication, nil] required :card_authentication, -> { Increase::RealTimeDecision::CardAuthentication }, nil?: true # @!attribute card_authentication_challenge # Fields related to a 3DS authentication attempt. # - # @return [Increase::RealTimeDecision::CardAuthenticationChallenge, nil] + # @return [Increase::Models::RealTimeDecision::CardAuthenticationChallenge, nil] required :card_authentication_challenge, -> { Increase::RealTimeDecision::CardAuthenticationChallenge }, nil?: true @@ -27,13 +27,13 @@ class RealTimeDecision < Increase::Internal::Type::BaseModel # @!attribute card_authorization # Fields related to a card authorization. # - # @return [Increase::RealTimeDecision::CardAuthorization, nil] + # @return [Increase::Models::RealTimeDecision::CardAuthorization, nil] required :card_authorization, -> { Increase::RealTimeDecision::CardAuthorization }, nil?: true # @!attribute category # The category of the Real-Time Decision. # - # @return [Symbol, Increase::RealTimeDecision::Category] + # @return [Symbol, Increase::Models::RealTimeDecision::Category] required :category, enum: -> { Increase::RealTimeDecision::Category } # @!attribute created_at @@ -46,7 +46,7 @@ class RealTimeDecision < Increase::Internal::Type::BaseModel # @!attribute digital_wallet_authentication # Fields related to a digital wallet authentication attempt. # - # @return [Increase::RealTimeDecision::DigitalWalletAuthentication, nil] + # @return [Increase::Models::RealTimeDecision::DigitalWalletAuthentication, nil] required :digital_wallet_authentication, -> { Increase::RealTimeDecision::DigitalWalletAuthentication }, nil?: true @@ -54,13 +54,13 @@ class RealTimeDecision < Increase::Internal::Type::BaseModel # @!attribute digital_wallet_token # Fields related to a digital wallet token provisioning attempt. # - # @return [Increase::RealTimeDecision::DigitalWalletToken, nil] + # @return [Increase::Models::RealTimeDecision::DigitalWalletToken, nil] required :digital_wallet_token, -> { Increase::RealTimeDecision::DigitalWalletToken }, nil?: true # @!attribute status # The status of the Real-Time Decision. # - # @return [Symbol, Increase::RealTimeDecision::Status] + # @return [Symbol, Increase::Models::RealTimeDecision::Status] required :status, enum: -> { Increase::RealTimeDecision::Status } # @!attribute timeout_at @@ -74,12 +74,12 @@ class RealTimeDecision < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `real_time_decision`. # - # @return [Symbol, Increase::RealTimeDecision::Type] + # @return [Symbol, Increase::Models::RealTimeDecision::Type] required :type, enum: -> { Increase::RealTimeDecision::Type } # @!method initialize(id:, card_authentication:, card_authentication_challenge:, card_authorization:, category:, created_at:, digital_wallet_authentication:, digital_wallet_token:, status:, timeout_at:, type:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision} for more details. + # {Increase::Models::RealTimeDecision} for more details. # # Real Time Decisions are created when your application needs to take action in # real-time to some event such as a card authorization. For more information, see @@ -88,27 +88,27 @@ class RealTimeDecision < Increase::Internal::Type::BaseModel # # @param id [String] The Real-Time Decision identifier. # - # @param card_authentication [Increase::RealTimeDecision::CardAuthentication, nil] Fields related to a 3DS authentication attempt. + # @param card_authentication [Increase::Models::RealTimeDecision::CardAuthentication, nil] Fields related to a 3DS authentication attempt. # - # @param card_authentication_challenge [Increase::RealTimeDecision::CardAuthenticationChallenge, nil] Fields related to a 3DS authentication attempt. + # @param card_authentication_challenge [Increase::Models::RealTimeDecision::CardAuthenticationChallenge, nil] Fields related to a 3DS authentication attempt. # - # @param card_authorization [Increase::RealTimeDecision::CardAuthorization, nil] Fields related to a card authorization. + # @param card_authorization [Increase::Models::RealTimeDecision::CardAuthorization, nil] Fields related to a card authorization. # - # @param category [Symbol, Increase::RealTimeDecision::Category] The category of the Real-Time Decision. + # @param category [Symbol, Increase::Models::RealTimeDecision::Category] The category of the Real-Time Decision. # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param digital_wallet_authentication [Increase::RealTimeDecision::DigitalWalletAuthentication, nil] Fields related to a digital wallet authentication attempt. + # @param digital_wallet_authentication [Increase::Models::RealTimeDecision::DigitalWalletAuthentication, nil] Fields related to a digital wallet authentication attempt. # - # @param digital_wallet_token [Increase::RealTimeDecision::DigitalWalletToken, nil] Fields related to a digital wallet token provisioning attempt. + # @param digital_wallet_token [Increase::Models::RealTimeDecision::DigitalWalletToken, nil] Fields related to a digital wallet token provisioning attempt. # - # @param status [Symbol, Increase::RealTimeDecision::Status] The status of the Real-Time Decision. + # @param status [Symbol, Increase::Models::RealTimeDecision::Status] The status of the Real-Time Decision. # # @param timeout_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which yo # - # @param type [Symbol, Increase::RealTimeDecision::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::RealTimeDecision::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::RealTimeDecision#card_authentication + # @see Increase::Models::RealTimeDecision#card_authentication class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute account_id # The identifier of the Account the card belongs to. @@ -125,7 +125,7 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute decision # Whether or not the authentication attempt was approved. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthentication::Decision, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthentication::Decision, nil] required :decision, enum: -> { Increase::RealTimeDecision::CardAuthentication::Decision }, nil?: true # @!attribute upcoming_card_payment_id @@ -137,7 +137,7 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!method initialize(account_id:, card_id:, decision:, upcoming_card_payment_id:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthentication} for more details. + # {Increase::Models::RealTimeDecision::CardAuthentication} for more details. # # Fields related to a 3DS authentication attempt. # @@ -145,13 +145,13 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # # @param card_id [String] The identifier of the Card that is being tokenized. # - # @param decision [Symbol, Increase::RealTimeDecision::CardAuthentication::Decision, nil] Whether or not the authentication attempt was approved. + # @param decision [Symbol, Increase::Models::RealTimeDecision::CardAuthentication::Decision, nil] Whether or not the authentication attempt was approved. # # @param upcoming_card_payment_id [String] The identifier of the Card Payment this authentication attempt will belong to. A # Whether or not the authentication attempt was approved. # - # @see Increase::RealTimeDecision::CardAuthentication#decision + # @see Increase::Models::RealTimeDecision::CardAuthentication#decision module Decision extend Increase::Internal::Type::Enum @@ -169,7 +169,7 @@ module Decision end end - # @see Increase::RealTimeDecision#card_authentication_challenge + # @see Increase::Models::RealTimeDecision#card_authentication_challenge class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel # @!attribute account_id # The identifier of the Account the card belongs to. @@ -199,7 +199,7 @@ class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel # @!attribute result # Whether or not the challenge was delivered to the cardholder. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthenticationChallenge::Result, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthenticationChallenge::Result, nil] required :result, enum: -> { Increase::RealTimeDecision::CardAuthenticationChallenge::Result @@ -208,7 +208,8 @@ class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel # @!method initialize(account_id:, card_id:, card_payment_id:, one_time_code:, result:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthenticationChallenge} for more details. + # {Increase::Models::RealTimeDecision::CardAuthenticationChallenge} for more + # details. # # Fields related to a 3DS authentication attempt. # @@ -220,11 +221,11 @@ class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel # # @param one_time_code [String] The one-time code delivered to the cardholder. # - # @param result [Symbol, Increase::RealTimeDecision::CardAuthenticationChallenge::Result, nil] Whether or not the challenge was delivered to the cardholder. + # @param result [Symbol, Increase::Models::RealTimeDecision::CardAuthenticationChallenge::Result, nil] Whether or not the challenge was delivered to the cardholder. # Whether or not the challenge was delivered to the cardholder. # - # @see Increase::RealTimeDecision::CardAuthenticationChallenge#result + # @see Increase::Models::RealTimeDecision::CardAuthenticationChallenge#result module Result extend Increase::Internal::Type::Enum @@ -239,7 +240,7 @@ module Result end end - # @see Increase::RealTimeDecision#card_authorization + # @see Increase::Models::RealTimeDecision#card_authorization class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute account_id # The identifier of the Account the authorization will debit. @@ -256,7 +257,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute decision # Whether or not the authorization was approved. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::Decision, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil] required :decision, enum: -> { Increase::RealTimeDecision::CardAuthorization::Decision }, nil?: true # @!attribute digital_wallet_token_id @@ -270,7 +271,7 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::Direction] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Direction] required :direction, enum: -> { Increase::RealTimeDecision::CardAuthorization::Direction } # @!attribute merchant_acceptor_id @@ -321,13 +322,13 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute network_details # Fields specific to the `network`. # - # @return [Increase::RealTimeDecision::CardAuthorization::NetworkDetails] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails] required :network_details, -> { Increase::RealTimeDecision::CardAuthorization::NetworkDetails } # @!attribute network_identifiers # Network-specific identifiers for a specific request or transaction. # - # @return [Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::NetworkIdentifiers] required :network_identifiers, -> { Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers @@ -366,14 +367,14 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::ProcessingCategory] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::ProcessingCategory] required :processing_category, enum: -> { Increase::RealTimeDecision::CardAuthorization::ProcessingCategory } # @!attribute request_details # Fields specific to the type of request, such as an incremental authorization. # - # @return [Increase::RealTimeDecision::CardAuthorization::RequestDetails] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails] required :request_details, -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails } # @!attribute settlement_amount @@ -407,12 +408,12 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute verification # Fields related to verification of cardholder-provided values. # - # @return [Increase::RealTimeDecision::CardAuthorization::Verification] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::Verification] required :verification, -> { Increase::RealTimeDecision::CardAuthorization::Verification } # @!method initialize(account_id:, card_id:, decision:, digital_wallet_token_id:, direction:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_descriptor:, merchant_postal_code:, merchant_state:, network_details:, network_identifiers:, network_risk_score:, physical_card_id:, presentment_amount:, presentment_currency:, processing_category:, request_details:, settlement_amount:, settlement_currency:, terminal_id:, upcoming_card_payment_id:, verification:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthorization} for more details. + # {Increase::Models::RealTimeDecision::CardAuthorization} for more details. # # Fields related to a card authorization. # @@ -420,11 +421,11 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param card_id [String] The identifier of the Card that is being authorized. # - # @param decision [Symbol, Increase::RealTimeDecision::CardAuthorization::Decision, nil] Whether or not the authorization was approved. + # @param decision [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Decision, nil] Whether or not the authorization was approved. # # @param digital_wallet_token_id [String, nil] If the authorization was made via a Digital Wallet Token (such as an Apple Pay p # - # @param direction [Symbol, Increase::RealTimeDecision::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh + # @param direction [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Direction] The direction describes the direction the funds will move, either from the cardh # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -440,9 +441,9 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_details [Increase::RealTimeDecision::CardAuthorization::NetworkDetails] Fields specific to the `network`. + # @param network_details [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails] Fields specific to the `network`. # - # @param network_identifiers [Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. + # @param network_identifiers [Increase::Models::RealTimeDecision::CardAuthorization::NetworkIdentifiers] Network-specific identifiers for a specific request or transaction. # # @param network_risk_score [Integer, nil] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -452,9 +453,9 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the currency the # - # @param processing_category [Symbol, Increase::RealTimeDecision::CardAuthorization::ProcessingCategory] The processing category describes the intent behind the authorization, such as w + # @param processing_category [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::ProcessingCategory] The processing category describes the intent behind the authorization, such as w # - # @param request_details [Increase::RealTimeDecision::CardAuthorization::RequestDetails] Fields specific to the type of request, such as an incremental authorization. + # @param request_details [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails] Fields specific to the type of request, such as an incremental authorization. # # @param settlement_amount [Integer] The amount of the attempted authorization in the currency it will be settled in. # @@ -464,11 +465,11 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # # @param upcoming_card_payment_id [String] The identifier of the Card Payment this authorization will belong to. Available # - # @param verification [Increase::RealTimeDecision::CardAuthorization::Verification] Fields related to verification of cardholder-provided values. + # @param verification [Increase::Models::RealTimeDecision::CardAuthorization::Verification] Fields related to verification of cardholder-provided values. # Whether or not the authorization was approved. # - # @see Increase::RealTimeDecision::CardAuthorization#decision + # @see Increase::Models::RealTimeDecision::CardAuthorization#decision module Decision extend Increase::Internal::Type::Enum @@ -485,7 +486,7 @@ module Decision # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @see Increase::RealTimeDecision::CardAuthorization#direction + # @see Increase::Models::RealTimeDecision::CardAuthorization#direction module Direction extend Increase::Internal::Type::Enum @@ -499,12 +500,12 @@ module Direction # @return [Array] end - # @see Increase::RealTimeDecision::CardAuthorization#network_details + # @see Increase::Models::RealTimeDecision::CardAuthorization#network_details class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute category # The payment network used to process this card authorization. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Category] required :category, enum: -> { Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category @@ -513,7 +514,7 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute visa # Fields specific to the `visa` network. # - # @return [Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa, nil] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa, nil] required :visa, -> { Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa @@ -523,13 +524,13 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!method initialize(category:, visa:) # Fields specific to the `network`. # - # @param category [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. + # @param category [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Category] The payment network used to process this card authorization. # - # @param visa [Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. + # @param visa [Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa, nil] Fields specific to the `visa` network. # The payment network used to process this card authorization. # - # @see Increase::RealTimeDecision::CardAuthorization::NetworkDetails#category + # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#category module Category extend Increase::Internal::Type::Enum @@ -540,14 +541,14 @@ module Category # @return [Array] end - # @see Increase::RealTimeDecision::CardAuthorization::NetworkDetails#visa + # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute electronic_commerce_indicator # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] required :electronic_commerce_indicator, enum: -> { Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator @@ -558,7 +559,7 @@ class Visa < Increase::Internal::Type::BaseModel # The method used to enter the cardholder's primary account number and card # expiration date. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] required :point_of_service_entry_mode, enum: -> { Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode @@ -569,7 +570,7 @@ class Visa < Increase::Internal::Type::BaseModel # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] required :stand_in_processing_reason, enum: -> { Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason @@ -578,22 +579,22 @@ class Visa < Increase::Internal::Type::BaseModel # @!method initialize(electronic_commerce_indicator:, point_of_service_entry_mode:, stand_in_processing_reason:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa} for more - # details. + # {Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa} + # for more details. # # Fields specific to the `visa` network. # - # @param electronic_commerce_indicator [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used + # @param electronic_commerce_indicator [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::ElectronicCommerceIndicator, nil] For electronic commerce transactions, this identifies the level of security used # - # @param point_of_service_entry_mode [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira + # @param point_of_service_entry_mode [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::PointOfServiceEntryMode, nil] The method used to enter the cardholder's primary account number and card expira # - # @param stand_in_processing_reason [Symbol, Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap + # @param stand_in_processing_reason [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::StandInProcessingReason, nil] Only present when `actioner: network`. Describes why a card authorization was ap # For electronic commerce transactions, this identifies the level of security used # in obtaining the customer's payment credential. For mail or telephone order # transactions, identifies the type of mail or telephone order. # - # @see Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa#electronic_commerce_indicator + # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa#electronic_commerce_indicator module ElectronicCommerceIndicator extend Increase::Internal::Type::Enum @@ -629,7 +630,7 @@ module ElectronicCommerceIndicator # The method used to enter the cardholder's primary account number and card # expiration date. # - # @see Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa#point_of_service_entry_mode + # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa#point_of_service_entry_mode module PointOfServiceEntryMode extend Increase::Internal::Type::Enum @@ -670,7 +671,7 @@ module PointOfServiceEntryMode # Only present when `actioner: network`. Describes why a card authorization was # approved or declined by Visa through stand-in processing. # - # @see Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa#stand_in_processing_reason + # @see Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa#stand_in_processing_reason module StandInProcessingReason extend Increase::Internal::Type::Enum @@ -703,7 +704,7 @@ module StandInProcessingReason end end - # @see Increase::RealTimeDecision::CardAuthorization#network_identifiers + # @see Increase::Models::RealTimeDecision::CardAuthorization#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute retrieval_reference_number # A life-cycle identifier used across e.g., an authorization and a reversal. @@ -729,8 +730,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(retrieval_reference_number:, trace_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers} for more - # details. + # {Increase::Models::RealTimeDecision::CardAuthorization::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for a specific request or transaction. # @@ -744,7 +745,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # The processing category describes the intent behind the authorization, such as # whether it was used for bill payments or an automatic fuel dispenser. # - # @see Increase::RealTimeDecision::CardAuthorization#processing_category + # @see Increase::Models::RealTimeDecision::CardAuthorization#processing_category module ProcessingCategory extend Increase::Internal::Type::Enum @@ -770,13 +771,13 @@ module ProcessingCategory # @return [Array] end - # @see Increase::RealTimeDecision::CardAuthorization#request_details + # @see Increase::Models::RealTimeDecision::CardAuthorization#request_details class RequestDetails < Increase::Internal::Type::BaseModel # @!attribute category # The type of this request (e.g., an initial authorization or an incremental # authorization). # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::Category] required :category, enum: -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category @@ -785,7 +786,7 @@ class RequestDetails < Increase::Internal::Type::BaseModel # @!attribute incremental_authorization # Fields specific to the category `incremental_authorization`. # - # @return [Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization, nil] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization, nil] required :incremental_authorization, -> { Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization @@ -800,21 +801,21 @@ class RequestDetails < Increase::Internal::Type::BaseModel # @!method initialize(category:, incremental_authorization:, initial_authorization:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthorization::RequestDetails} for more + # {Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails} for more # details. # # Fields specific to the type of request, such as an incremental authorization. # - # @param category [Symbol, Increase::RealTimeDecision::CardAuthorization::RequestDetails::Category] The type of this request (e.g., an initial authorization or an incremental autho + # @param category [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::Category] The type of this request (e.g., an initial authorization or an incremental autho # - # @param incremental_authorization [Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization, nil] Fields specific to the category `incremental_authorization`. + # @param incremental_authorization [Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization, nil] Fields specific to the category `incremental_authorization`. # # @param initial_authorization [Object, nil] Fields specific to the category `initial_authorization`. # The type of this request (e.g., an initial authorization or an incremental # authorization). # - # @see Increase::RealTimeDecision::CardAuthorization::RequestDetails#category + # @see Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails#category module Category extend Increase::Internal::Type::Enum @@ -828,7 +829,7 @@ module Category # @return [Array] end - # @see Increase::RealTimeDecision::CardAuthorization::RequestDetails#incremental_authorization + # @see Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails#incremental_authorization class IncrementalAuthorization < Increase::Internal::Type::BaseModel # @!attribute card_payment_id # The card payment for this authorization and increment. @@ -845,7 +846,7 @@ class IncrementalAuthorization < Increase::Internal::Type::BaseModel # @!method initialize(card_payment_id:, original_card_authorization_id:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization} + # {Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization} # for more details. # # Fields specific to the category `incremental_authorization`. @@ -856,13 +857,13 @@ class IncrementalAuthorization < Increase::Internal::Type::BaseModel end end - # @see Increase::RealTimeDecision::CardAuthorization#verification + # @see Increase::Models::RealTimeDecision::CardAuthorization#verification class Verification < Increase::Internal::Type::BaseModel # @!attribute card_verification_code # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @return [Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode] required :card_verification_code, -> { Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode } @@ -870,26 +871,27 @@ class Verification < Increase::Internal::Type::BaseModel # Cardholder address provided in the authorization request and the address on file # we verified it against. # - # @return [Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress] + # @return [Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress] required :cardholder_address, -> { Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress } # @!method initialize(card_verification_code:, cardholder_address:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthorization::Verification} for more details. + # {Increase::Models::RealTimeDecision::CardAuthorization::Verification} for more + # details. # # Fields related to verification of cardholder-provided values. # - # @param card_verification_code [Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on + # @param card_verification_code [Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode] Fields related to verification of the Card Verification Code, a 3-digit code on # - # @param cardholder_address [Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file + # @param cardholder_address [Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress] Cardholder address provided in the authorization request and the address on file - # @see Increase::RealTimeDecision::CardAuthorization::Verification#card_verification_code + # @see Increase::Models::RealTimeDecision::CardAuthorization::Verification#card_verification_code class CardVerificationCode < Increase::Internal::Type::BaseModel # @!attribute result # The result of verifying the Card Verification Code. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result] required :result, enum: -> { Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result @@ -899,11 +901,11 @@ class CardVerificationCode < Increase::Internal::Type::BaseModel # Fields related to verification of the Card Verification Code, a 3-digit code on # the back of the card. # - # @param result [Symbol, Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. + # @param result [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::Result] The result of verifying the Card Verification Code. # The result of verifying the Card Verification Code. # - # @see Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode#result + # @see Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode#result module Result extend Increase::Internal::Type::Enum @@ -921,7 +923,7 @@ module Result end end - # @see Increase::RealTimeDecision::CardAuthorization::Verification#cardholder_address + # @see Increase::Models::RealTimeDecision::CardAuthorization::Verification#cardholder_address class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute actual_line1 # Line 1 of the address on file for the cardholder. @@ -951,7 +953,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!attribute result # The address verification result returned to the card network. # - # @return [Symbol, Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result] + # @return [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result] required :result, enum: -> { Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result @@ -959,7 +961,7 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # @!method initialize(actual_line1:, actual_postal_code:, provided_line1:, provided_postal_code:, result:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress} + # {Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress} # for more details. # # Cardholder address provided in the authorization request and the address on file @@ -973,11 +975,11 @@ class CardholderAddress < Increase::Internal::Type::BaseModel # # @param provided_postal_code [String, nil] The postal code provided for verification in the authorization request. # - # @param result [Symbol, Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result] The address verification result returned to the card network. + # @param result [Symbol, Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::Result] The address verification result returned to the card network. # The address verification result returned to the card network. # - # @see Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress#result + # @see Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress#result module Result extend Increase::Internal::Type::Enum @@ -1008,7 +1010,7 @@ module Result # The category of the Real-Time Decision. # - # @see Increase::RealTimeDecision#category + # @see Increase::Models::RealTimeDecision#category module Category extend Increase::Internal::Type::Enum @@ -1031,7 +1033,7 @@ module Category # @return [Array] end - # @see Increase::RealTimeDecision#digital_wallet_authentication + # @see Increase::Models::RealTimeDecision#digital_wallet_authentication class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel # @!attribute card_id # The identifier of the Card that is being tokenized. @@ -1042,13 +1044,13 @@ class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel # @!attribute channel # The channel to send the card user their one-time passcode. # - # @return [Symbol, Increase::RealTimeDecision::DigitalWalletAuthentication::Channel] + # @return [Symbol, Increase::Models::RealTimeDecision::DigitalWalletAuthentication::Channel] required :channel, enum: -> { Increase::RealTimeDecision::DigitalWalletAuthentication::Channel } # @!attribute digital_wallet # The digital wallet app being used. # - # @return [Symbol, Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet] + # @return [Symbol, Increase::Models::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet] required :digital_wallet, enum: -> { Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet } @@ -1074,7 +1076,7 @@ class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel # @!attribute result # Whether your application successfully delivered the one-time passcode. # - # @return [Symbol, Increase::RealTimeDecision::DigitalWalletAuthentication::Result, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::DigitalWalletAuthentication::Result, nil] required :result, enum: -> { Increase::RealTimeDecision::DigitalWalletAuthentication::Result @@ -1083,15 +1085,16 @@ class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel # @!method initialize(card_id:, channel:, digital_wallet:, email:, one_time_passcode:, phone:, result:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::DigitalWalletAuthentication} for more details. + # {Increase::Models::RealTimeDecision::DigitalWalletAuthentication} for more + # details. # # Fields related to a digital wallet authentication attempt. # # @param card_id [String] The identifier of the Card that is being tokenized. # - # @param channel [Symbol, Increase::RealTimeDecision::DigitalWalletAuthentication::Channel] The channel to send the card user their one-time passcode. + # @param channel [Symbol, Increase::Models::RealTimeDecision::DigitalWalletAuthentication::Channel] The channel to send the card user their one-time passcode. # - # @param digital_wallet [Symbol, Increase::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet] The digital wallet app being used. + # @param digital_wallet [Symbol, Increase::Models::RealTimeDecision::DigitalWalletAuthentication::DigitalWallet] The digital wallet app being used. # # @param email [String, nil] The email to send the one-time passcode to if `channel` is equal to `email`. # @@ -1099,11 +1102,11 @@ class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel # # @param phone [String, nil] The phone number to send the one-time passcode to if `channel` is equal to `sms` # - # @param result [Symbol, Increase::RealTimeDecision::DigitalWalletAuthentication::Result, nil] Whether your application successfully delivered the one-time passcode. + # @param result [Symbol, Increase::Models::RealTimeDecision::DigitalWalletAuthentication::Result, nil] Whether your application successfully delivered the one-time passcode. # The channel to send the card user their one-time passcode. # - # @see Increase::RealTimeDecision::DigitalWalletAuthentication#channel + # @see Increase::Models::RealTimeDecision::DigitalWalletAuthentication#channel module Channel extend Increase::Internal::Type::Enum @@ -1119,7 +1122,7 @@ module Channel # The digital wallet app being used. # - # @see Increase::RealTimeDecision::DigitalWalletAuthentication#digital_wallet + # @see Increase::Models::RealTimeDecision::DigitalWalletAuthentication#digital_wallet module DigitalWallet extend Increase::Internal::Type::Enum @@ -1141,7 +1144,7 @@ module DigitalWallet # Whether your application successfully delivered the one-time passcode. # - # @see Increase::RealTimeDecision::DigitalWalletAuthentication#result + # @see Increase::Models::RealTimeDecision::DigitalWalletAuthentication#result module Result extend Increase::Internal::Type::Enum @@ -1156,7 +1159,7 @@ module Result end end - # @see Increase::RealTimeDecision#digital_wallet_token + # @see Increase::Models::RealTimeDecision#digital_wallet_token class DigitalWalletToken < Increase::Internal::Type::BaseModel # @!attribute card_id # The identifier of the Card that is being tokenized. @@ -1176,24 +1179,24 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel # Whether or not the provisioning request was approved. This will be null until # the real time decision is responded to. # - # @return [Symbol, Increase::RealTimeDecision::DigitalWalletToken::Decision, nil] + # @return [Symbol, Increase::Models::RealTimeDecision::DigitalWalletToken::Decision, nil] required :decision, enum: -> { Increase::RealTimeDecision::DigitalWalletToken::Decision }, nil?: true # @!attribute device # Device that is being used to provision the digital wallet token. # - # @return [Increase::RealTimeDecision::DigitalWalletToken::Device] + # @return [Increase::Models::RealTimeDecision::DigitalWalletToken::Device] required :device, -> { Increase::RealTimeDecision::DigitalWalletToken::Device } # @!attribute digital_wallet # The digital wallet app being used. # - # @return [Symbol, Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet] + # @return [Symbol, Increase::Models::RealTimeDecision::DigitalWalletToken::DigitalWallet] required :digital_wallet, enum: -> { Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet } # @!method initialize(card_id:, card_profile_id:, decision:, device:, digital_wallet:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecision::DigitalWalletToken} for more details. + # {Increase::Models::RealTimeDecision::DigitalWalletToken} for more details. # # Fields related to a digital wallet token provisioning attempt. # @@ -1201,16 +1204,16 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel # # @param card_profile_id [String, nil] The identifier of the Card Profile that was set via the real time decision. This # - # @param decision [Symbol, Increase::RealTimeDecision::DigitalWalletToken::Decision, nil] Whether or not the provisioning request was approved. This will be null until th + # @param decision [Symbol, Increase::Models::RealTimeDecision::DigitalWalletToken::Decision, nil] Whether or not the provisioning request was approved. This will be null until th # - # @param device [Increase::RealTimeDecision::DigitalWalletToken::Device] Device that is being used to provision the digital wallet token. + # @param device [Increase::Models::RealTimeDecision::DigitalWalletToken::Device] Device that is being used to provision the digital wallet token. # - # @param digital_wallet [Symbol, Increase::RealTimeDecision::DigitalWalletToken::DigitalWallet] The digital wallet app being used. + # @param digital_wallet [Symbol, Increase::Models::RealTimeDecision::DigitalWalletToken::DigitalWallet] The digital wallet app being used. # Whether or not the provisioning request was approved. This will be null until # the real time decision is responded to. # - # @see Increase::RealTimeDecision::DigitalWalletToken#decision + # @see Increase::Models::RealTimeDecision::DigitalWalletToken#decision module Decision extend Increase::Internal::Type::Enum @@ -1224,7 +1227,7 @@ module Decision # @return [Array] end - # @see Increase::RealTimeDecision::DigitalWalletToken#device + # @see Increase::Models::RealTimeDecision::DigitalWalletToken#device class Device < Increase::Internal::Type::BaseModel # @!attribute identifier # ID assigned to the device by the digital wallet provider. @@ -1240,7 +1243,7 @@ class Device < Increase::Internal::Type::BaseModel # The digital wallet app being used. # - # @see Increase::RealTimeDecision::DigitalWalletToken#digital_wallet + # @see Increase::Models::RealTimeDecision::DigitalWalletToken#digital_wallet module DigitalWallet extend Increase::Internal::Type::Enum @@ -1263,7 +1266,7 @@ module DigitalWallet # The status of the Real-Time Decision. # - # @see Increase::RealTimeDecision#status + # @see Increase::Models::RealTimeDecision#status module Status extend Increase::Internal::Type::Enum @@ -1283,7 +1286,7 @@ module Status # A constant representing the object's type. For this resource it will always be # `real_time_decision`. # - # @see Increase::RealTimeDecision#type + # @see Increase::Models::RealTimeDecision#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/real_time_decision_action_params.rb b/lib/increase/models/real_time_decision_action_params.rb index 06825292e..8f23cea9b 100644 --- a/lib/increase/models/real_time_decision_action_params.rb +++ b/lib/increase/models/real_time_decision_action_params.rb @@ -11,14 +11,14 @@ class RealTimeDecisionActionParams < Increase::Internal::Type::BaseModel # If the Real-Time Decision relates to a 3DS card authentication attempt, this # object contains your response to the authentication. # - # @return [Increase::RealTimeDecisionActionParams::CardAuthentication, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::CardAuthentication, nil] optional :card_authentication, -> { Increase::RealTimeDecisionActionParams::CardAuthentication } # @!attribute card_authentication_challenge # If the Real-Time Decision relates to 3DS card authentication challenge delivery, # this object contains your response. # - # @return [Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge, nil] optional :card_authentication_challenge, -> { Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge } @@ -26,14 +26,14 @@ class RealTimeDecisionActionParams < Increase::Internal::Type::BaseModel # If the Real-Time Decision relates to a card authorization attempt, this object # contains your response to the authorization. # - # @return [Increase::RealTimeDecisionActionParams::CardAuthorization, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::CardAuthorization, nil] optional :card_authorization, -> { Increase::RealTimeDecisionActionParams::CardAuthorization } # @!attribute digital_wallet_authentication # If the Real-Time Decision relates to a digital wallet authentication attempt, # this object contains your response to the authentication. # - # @return [Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication, nil] optional :digital_wallet_authentication, -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication } @@ -41,22 +41,22 @@ class RealTimeDecisionActionParams < Increase::Internal::Type::BaseModel # If the Real-Time Decision relates to a digital wallet token provisioning # attempt, this object contains your response to the attempt. # - # @return [Increase::RealTimeDecisionActionParams::DigitalWalletToken, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken, nil] optional :digital_wallet_token, -> { Increase::RealTimeDecisionActionParams::DigitalWalletToken } # @!method initialize(card_authentication: nil, card_authentication_challenge: nil, card_authorization: nil, digital_wallet_authentication: nil, digital_wallet_token: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::RealTimeDecisionActionParams} for more details. # - # @param card_authentication [Increase::RealTimeDecisionActionParams::CardAuthentication] If the Real-Time Decision relates to a 3DS card authentication attempt, this obj + # @param card_authentication [Increase::Models::RealTimeDecisionActionParams::CardAuthentication] If the Real-Time Decision relates to a 3DS card authentication attempt, this obj # - # @param card_authentication_challenge [Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge] If the Real-Time Decision relates to 3DS card authentication challenge delivery, + # @param card_authentication_challenge [Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge] If the Real-Time Decision relates to 3DS card authentication challenge delivery, # - # @param card_authorization [Increase::RealTimeDecisionActionParams::CardAuthorization] If the Real-Time Decision relates to a card authorization attempt, this object c + # @param card_authorization [Increase::Models::RealTimeDecisionActionParams::CardAuthorization] If the Real-Time Decision relates to a card authorization attempt, this object c # - # @param digital_wallet_authentication [Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication] If the Real-Time Decision relates to a digital wallet authentication attempt, th + # @param digital_wallet_authentication [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication] If the Real-Time Decision relates to a digital wallet authentication attempt, th # - # @param digital_wallet_token [Increase::RealTimeDecisionActionParams::DigitalWalletToken] If the Real-Time Decision relates to a digital wallet token provisioning attempt + # @param digital_wallet_token [Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken] If the Real-Time Decision relates to a digital wallet token provisioning attempt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -64,18 +64,18 @@ class CardAuthentication < Increase::Internal::Type::BaseModel # @!attribute decision # Whether the card authentication attempt should be approved or declined. # - # @return [Symbol, Increase::RealTimeDecisionActionParams::CardAuthentication::Decision] + # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthentication::Decision] required :decision, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthentication::Decision } # @!method initialize(decision:) # If the Real-Time Decision relates to a 3DS card authentication attempt, this # object contains your response to the authentication. # - # @param decision [Symbol, Increase::RealTimeDecisionActionParams::CardAuthentication::Decision] Whether the card authentication attempt should be approved or declined. + # @param decision [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthentication::Decision] Whether the card authentication attempt should be approved or declined. # Whether the card authentication attempt should be approved or declined. # - # @see Increase::RealTimeDecisionActionParams::CardAuthentication#decision + # @see Increase::Models::RealTimeDecisionActionParams::CardAuthentication#decision module Decision extend Increase::Internal::Type::Enum @@ -98,7 +98,7 @@ class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel # Whether the card authentication challenge was successfully delivered to the # cardholder. # - # @return [Symbol, Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result] + # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result] required :result, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result @@ -106,18 +106,18 @@ class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel # @!method initialize(result:) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge} for more - # details. + # {Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge} + # for more details. # # If the Real-Time Decision relates to 3DS card authentication challenge delivery, # this object contains your response. # - # @param result [Symbol, Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result] Whether the card authentication challenge was successfully delivered to the card + # @param result [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::Result] Whether the card authentication challenge was successfully delivered to the card # Whether the card authentication challenge was successfully delivered to the # cardholder. # - # @see Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge#result + # @see Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge#result module Result extend Increase::Internal::Type::Enum @@ -136,31 +136,32 @@ class CardAuthorization < Increase::Internal::Type::BaseModel # @!attribute decision # Whether the card authorization should be approved or declined. # - # @return [Symbol, Increase::RealTimeDecisionActionParams::CardAuthorization::Decision] + # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision] required :decision, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::Decision } # @!attribute decline_reason # The reason the card authorization was declined. This translates to a specific # decline code that is sent to the card network. # - # @return [Symbol, Increase::RealTimeDecisionActionParams::CardAuthorization::DeclineReason, nil] + # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::DeclineReason, nil] optional :decline_reason, enum: -> { Increase::RealTimeDecisionActionParams::CardAuthorization::DeclineReason } # @!method initialize(decision:, decline_reason: nil) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecisionActionParams::CardAuthorization} for more details. + # {Increase::Models::RealTimeDecisionActionParams::CardAuthorization} for more + # details. # # If the Real-Time Decision relates to a card authorization attempt, this object # contains your response to the authorization. # - # @param decision [Symbol, Increase::RealTimeDecisionActionParams::CardAuthorization::Decision] Whether the card authorization should be approved or declined. + # @param decision [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::Decision] Whether the card authorization should be approved or declined. # - # @param decline_reason [Symbol, Increase::RealTimeDecisionActionParams::CardAuthorization::DeclineReason] The reason the card authorization was declined. This translates to a specific de + # @param decline_reason [Symbol, Increase::Models::RealTimeDecisionActionParams::CardAuthorization::DeclineReason] The reason the card authorization was declined. This translates to a specific de # Whether the card authorization should be approved or declined. # - # @see Increase::RealTimeDecisionActionParams::CardAuthorization#decision + # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#decision module Decision extend Increase::Internal::Type::Enum @@ -177,7 +178,7 @@ module Decision # The reason the card authorization was declined. This translates to a specific # decline code that is sent to the card network. # - # @see Increase::RealTimeDecisionActionParams::CardAuthorization#decline_reason + # @see Increase::Models::RealTimeDecisionActionParams::CardAuthorization#decline_reason module DeclineReason extend Increase::Internal::Type::Enum @@ -208,7 +209,7 @@ class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel # @!attribute result # Whether your application was able to deliver the one-time passcode. # - # @return [Symbol, Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result] + # @return [Symbol, Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result] required :result, enum: -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result @@ -216,20 +217,20 @@ class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel # @!attribute success # - # @return [Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success, nil] optional :success, -> { Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success } # @!method initialize(result:, success: nil) # If the Real-Time Decision relates to a digital wallet authentication attempt, # this object contains your response to the authentication. # - # @param result [Symbol, Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result] Whether your application was able to deliver the one-time passcode. + # @param result [Symbol, Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Result] Whether your application was able to deliver the one-time passcode. # - # @param success [Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success] + # @param success [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success] # Whether your application was able to deliver the one-time passcode. # - # @see Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication#result + # @see Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication#result module Result extend Increase::Internal::Type::Enum @@ -243,7 +244,7 @@ module Result # @return [Array] end - # @see Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication#success + # @see Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication#success class Success < Increase::Internal::Type::BaseModel # @!attribute email # The email address that was used to verify the cardholder via one-time passcode. @@ -260,7 +261,7 @@ class Success < Increase::Internal::Type::BaseModel # @!method initialize(email: nil, phone: nil) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success} + # {Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success} # for more details. # # @param email [String] The email address that was used to verify the cardholder via one-time passcode. @@ -274,28 +275,29 @@ class DigitalWalletToken < Increase::Internal::Type::BaseModel # If your application approves the provisioning attempt, this contains metadata # about the digital wallet token that will be generated. # - # @return [Increase::RealTimeDecisionActionParams::DigitalWalletToken::Approval, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken::Approval, nil] optional :approval, -> { Increase::RealTimeDecisionActionParams::DigitalWalletToken::Approval } # @!attribute decline # If your application declines the provisioning attempt, this contains details # about the decline. # - # @return [Increase::RealTimeDecisionActionParams::DigitalWalletToken::Decline, nil] + # @return [Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken::Decline, nil] optional :decline, -> { Increase::RealTimeDecisionActionParams::DigitalWalletToken::Decline } # @!method initialize(approval: nil, decline: nil) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecisionActionParams::DigitalWalletToken} for more details. + # {Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken} for more + # details. # # If the Real-Time Decision relates to a digital wallet token provisioning # attempt, this object contains your response to the attempt. # - # @param approval [Increase::RealTimeDecisionActionParams::DigitalWalletToken::Approval] If your application approves the provisioning attempt, this contains metadata ab + # @param approval [Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken::Approval] If your application approves the provisioning attempt, this contains metadata ab # - # @param decline [Increase::RealTimeDecisionActionParams::DigitalWalletToken::Decline] If your application declines the provisioning attempt, this contains details abo + # @param decline [Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken::Decline] If your application declines the provisioning attempt, this contains details abo - # @see Increase::RealTimeDecisionActionParams::DigitalWalletToken#approval + # @see Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken#approval class Approval < Increase::Internal::Type::BaseModel # @!attribute email # An email address that can be used to verify the cardholder via one-time @@ -313,8 +315,8 @@ class Approval < Increase::Internal::Type::BaseModel # @!method initialize(email: nil, phone: nil) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecisionActionParams::DigitalWalletToken::Approval} for more - # details. + # {Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken::Approval} + # for more details. # # If your application approves the provisioning attempt, this contains metadata # about the digital wallet token that will be generated. @@ -324,7 +326,7 @@ class Approval < Increase::Internal::Type::BaseModel # @param phone [String] A phone number that can be used to verify the cardholder via one-time passcode o end - # @see Increase::RealTimeDecisionActionParams::DigitalWalletToken#decline + # @see Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken#decline class Decline < Increase::Internal::Type::BaseModel # @!attribute reason # Why the tokenization attempt was declined. This is for logging purposes only and @@ -335,8 +337,8 @@ class Decline < Increase::Internal::Type::BaseModel # @!method initialize(reason: nil) # Some parameter documentations has been truncated, see - # {Increase::RealTimeDecisionActionParams::DigitalWalletToken::Decline} for more - # details. + # {Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken::Decline} + # for more details. # # If your application declines the provisioning attempt, this contains details # about the decline. diff --git a/lib/increase/models/real_time_payments_transfer.rb b/lib/increase/models/real_time_payments_transfer.rb index 5cda713fb..4bef4621e 100644 --- a/lib/increase/models/real_time_payments_transfer.rb +++ b/lib/increase/models/real_time_payments_transfer.rb @@ -20,7 +20,7 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # If the transfer is acknowledged by the recipient bank, this will contain # supplemental details. # - # @return [Increase::RealTimePaymentsTransfer::Acknowledgement, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::Acknowledgement, nil] required :acknowledgement, -> { Increase::RealTimePaymentsTransfer::Acknowledgement }, nil?: true # @!attribute amount @@ -33,14 +33,14 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. # - # @return [Increase::RealTimePaymentsTransfer::Approval, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::Approval, nil] required :approval, -> { Increase::RealTimePaymentsTransfer::Approval }, nil?: true # @!attribute cancellation # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. # - # @return [Increase::RealTimePaymentsTransfer::Cancellation, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::Cancellation, nil] required :cancellation, -> { Increase::RealTimePaymentsTransfer::Cancellation }, nil?: true # @!attribute created_at @@ -53,7 +53,7 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # @!attribute created_by # What object created the transfer, either via the API or the dashboard. # - # @return [Increase::RealTimePaymentsTransfer::CreatedBy, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy, nil] required :created_by, -> { Increase::RealTimePaymentsTransfer::CreatedBy }, nil?: true # @!attribute creditor_name @@ -67,7 +67,7 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's # currency. For real-time payments transfers this is always equal to `USD`. # - # @return [Symbol, Increase::RealTimePaymentsTransfer::Currency] + # @return [Symbol, Increase::Models::RealTimePaymentsTransfer::Currency] required :currency, enum: -> { Increase::RealTimePaymentsTransfer::Currency } # @!attribute debtor_name @@ -117,7 +117,7 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # If the transfer is rejected by Real-Time Payments or the destination financial # institution, this will contain supplemental details. # - # @return [Increase::RealTimePaymentsTransfer::Rejection, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::Rejection, nil] required :rejection, -> { Increase::RealTimePaymentsTransfer::Rejection }, nil?: true # @!attribute remittance_information @@ -135,14 +135,14 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the transfer. # - # @return [Symbol, Increase::RealTimePaymentsTransfer::Status] + # @return [Symbol, Increase::Models::RealTimePaymentsTransfer::Status] required :status, enum: -> { Increase::RealTimePaymentsTransfer::Status } # @!attribute submission # After the transfer is submitted to Real-Time Payments, this will contain # supplemental details. # - # @return [Increase::RealTimePaymentsTransfer::Submission, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::Submission, nil] required :submission, -> { Increase::RealTimePaymentsTransfer::Submission }, nil?: true # @!attribute transaction_id @@ -155,7 +155,7 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `real_time_payments_transfer`. # - # @return [Symbol, Increase::RealTimePaymentsTransfer::Type] + # @return [Symbol, Increase::Models::RealTimePaymentsTransfer::Type] required :type, enum: -> { Increase::RealTimePaymentsTransfer::Type } # @!attribute ultimate_creditor_name @@ -174,7 +174,7 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # @!method initialize(id:, account_id:, acknowledgement:, amount:, approval:, cancellation:, created_at:, created_by:, creditor_name:, currency:, debtor_name:, destination_account_number:, destination_routing_number:, external_account_id:, idempotency_key:, pending_transaction_id:, rejection:, remittance_information:, source_account_number_id:, status:, submission:, transaction_id:, type:, ultimate_creditor_name:, ultimate_debtor_name:) # Some parameter documentations has been truncated, see - # {Increase::RealTimePaymentsTransfer} for more details. + # {Increase::Models::RealTimePaymentsTransfer} for more details. # # Real-Time Payments transfers move funds, within seconds, between your Increase # account and any other account on the Real-Time Payments network. @@ -183,21 +183,21 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # # @param account_id [String] The Account from which the transfer was sent. # - # @param acknowledgement [Increase::RealTimePaymentsTransfer::Acknowledgement, nil] If the transfer is acknowledged by the recipient bank, this will contain supplem + # @param acknowledgement [Increase::Models::RealTimePaymentsTransfer::Acknowledgement, nil] If the transfer is acknowledged by the recipient bank, this will contain supplem # # @param amount [Integer] The transfer amount in USD cents. # - # @param approval [Increase::RealTimePaymentsTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, + # @param approval [Increase::Models::RealTimePaymentsTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, # - # @param cancellation [Increase::RealTimePaymentsTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv + # @param cancellation [Increase::Models::RealTimePaymentsTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param created_by [Increase::RealTimePaymentsTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. + # @param created_by [Increase::Models::RealTimePaymentsTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. # # @param creditor_name [String] The name of the transfer's recipient. This is set by the sender when creating th # - # @param currency [Symbol, Increase::RealTimePaymentsTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c + # @param currency [Symbol, Increase::Models::RealTimePaymentsTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c # # @param debtor_name [String, nil] The name of the transfer's sender. If not provided, defaults to the name of the # @@ -211,25 +211,25 @@ class RealTimePaymentsTransfer < Increase::Internal::Type::BaseModel # # @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer. A pending transact # - # @param rejection [Increase::RealTimePaymentsTransfer::Rejection, nil] If the transfer is rejected by Real-Time Payments or the destination financial i + # @param rejection [Increase::Models::RealTimePaymentsTransfer::Rejection, nil] If the transfer is rejected by Real-Time Payments or the destination financial i # # @param remittance_information [String] Unstructured information that will show on the recipient's bank statement. # # @param source_account_number_id [String] The Account Number the recipient will see as having sent the transfer. # - # @param status [Symbol, Increase::RealTimePaymentsTransfer::Status] The lifecycle status of the transfer. + # @param status [Symbol, Increase::Models::RealTimePaymentsTransfer::Status] The lifecycle status of the transfer. # - # @param submission [Increase::RealTimePaymentsTransfer::Submission, nil] After the transfer is submitted to Real-Time Payments, this will contain supplem + # @param submission [Increase::Models::RealTimePaymentsTransfer::Submission, nil] After the transfer is submitted to Real-Time Payments, this will contain supplem # # @param transaction_id [String, nil] The Transaction funding the transfer once it is complete. # - # @param type [Symbol, Increase::RealTimePaymentsTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::RealTimePaymentsTransfer::Type] A constant representing the object's type. For this resource it will always be ` # # @param ultimate_creditor_name [String, nil] The name of the ultimate recipient of the transfer. Set this if the creditor is # # @param ultimate_debtor_name [String, nil] The name of the ultimate sender of the transfer. Set this if the funds are being - # @see Increase::RealTimePaymentsTransfer#acknowledgement + # @see Increase::Models::RealTimePaymentsTransfer#acknowledgement class Acknowledgement < Increase::Internal::Type::BaseModel # @!attribute acknowledged_at # When the transfer was acknowledged. @@ -244,7 +244,7 @@ class Acknowledgement < Increase::Internal::Type::BaseModel # @param acknowledged_at [Time] When the transfer was acknowledged. end - # @see Increase::RealTimePaymentsTransfer#approval + # @see Increase::Models::RealTimePaymentsTransfer#approval class Approval < Increase::Internal::Type::BaseModel # @!attribute approved_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -262,7 +262,7 @@ class Approval < Increase::Internal::Type::BaseModel # @!method initialize(approved_at:, approved_by:) # Some parameter documentations has been truncated, see - # {Increase::RealTimePaymentsTransfer::Approval} for more details. + # {Increase::Models::RealTimePaymentsTransfer::Approval} for more details. # # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. @@ -272,7 +272,7 @@ class Approval < Increase::Internal::Type::BaseModel # @param approved_by [String, nil] If the Transfer was approved by a user in the dashboard, the email address of th end - # @see Increase::RealTimePaymentsTransfer#cancellation + # @see Increase::Models::RealTimePaymentsTransfer#cancellation class Cancellation < Increase::Internal::Type::BaseModel # @!attribute canceled_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -290,7 +290,7 @@ class Cancellation < Increase::Internal::Type::BaseModel # @!method initialize(canceled_at:, canceled_by:) # Some parameter documentations has been truncated, see - # {Increase::RealTimePaymentsTransfer::Cancellation} for more details. + # {Increase::Models::RealTimePaymentsTransfer::Cancellation} for more details. # # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. @@ -300,24 +300,24 @@ class Cancellation < Increase::Internal::Type::BaseModel # @param canceled_by [String, nil] If the Transfer was canceled by a user in the dashboard, the email address of th end - # @see Increase::RealTimePaymentsTransfer#created_by + # @see Increase::Models::RealTimePaymentsTransfer#created_by class CreatedBy < Increase::Internal::Type::BaseModel # @!attribute api_key # If present, details about the API key that created the transfer. # - # @return [Increase::RealTimePaymentsTransfer::CreatedBy::APIKey, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy::APIKey, nil] required :api_key, -> { Increase::RealTimePaymentsTransfer::CreatedBy::APIKey }, nil?: true # @!attribute category # The type of object that created this transfer. # - # @return [Symbol, Increase::RealTimePaymentsTransfer::CreatedBy::Category] + # @return [Symbol, Increase::Models::RealTimePaymentsTransfer::CreatedBy::Category] required :category, enum: -> { Increase::RealTimePaymentsTransfer::CreatedBy::Category } # @!attribute oauth_application # If present, details about the OAuth Application that created the transfer. # - # @return [Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy::OAuthApplication, nil] required :oauth_application, -> { Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication }, nil?: true @@ -325,21 +325,21 @@ class CreatedBy < Increase::Internal::Type::BaseModel # @!attribute user # If present, details about the User that created the transfer. # - # @return [Increase::RealTimePaymentsTransfer::CreatedBy::User, nil] + # @return [Increase::Models::RealTimePaymentsTransfer::CreatedBy::User, nil] required :user, -> { Increase::RealTimePaymentsTransfer::CreatedBy::User }, nil?: true # @!method initialize(api_key:, category:, oauth_application:, user:) # What object created the transfer, either via the API or the dashboard. # - # @param api_key [Increase::RealTimePaymentsTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. + # @param api_key [Increase::Models::RealTimePaymentsTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. # - # @param category [Symbol, Increase::RealTimePaymentsTransfer::CreatedBy::Category] The type of object that created this transfer. + # @param category [Symbol, Increase::Models::RealTimePaymentsTransfer::CreatedBy::Category] The type of object that created this transfer. # - # @param oauth_application [Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. + # @param oauth_application [Increase::Models::RealTimePaymentsTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. # - # @param user [Increase::RealTimePaymentsTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. + # @param user [Increase::Models::RealTimePaymentsTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. - # @see Increase::RealTimePaymentsTransfer::CreatedBy#api_key + # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#api_key class APIKey < Increase::Internal::Type::BaseModel # @!attribute description # The description set for the API key when it was created. @@ -355,7 +355,7 @@ class APIKey < Increase::Internal::Type::BaseModel # The type of object that created this transfer. # - # @see Increase::RealTimePaymentsTransfer::CreatedBy#category + # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#category module Category extend Increase::Internal::Type::Enum @@ -372,7 +372,7 @@ module Category # @return [Array] end - # @see Increase::RealTimePaymentsTransfer::CreatedBy#oauth_application + # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#oauth_application class OAuthApplication < Increase::Internal::Type::BaseModel # @!attribute name # The name of the OAuth Application. @@ -386,7 +386,7 @@ class OAuthApplication < Increase::Internal::Type::BaseModel # @param name [String] The name of the OAuth Application. end - # @see Increase::RealTimePaymentsTransfer::CreatedBy#user + # @see Increase::Models::RealTimePaymentsTransfer::CreatedBy#user class User < Increase::Internal::Type::BaseModel # @!attribute email # The email address of the User. @@ -404,7 +404,7 @@ class User < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's # currency. For real-time payments transfers this is always equal to `USD`. # - # @see Increase::RealTimePaymentsTransfer#currency + # @see Increase::Models::RealTimePaymentsTransfer#currency module Currency extend Increase::Internal::Type::Enum @@ -430,7 +430,7 @@ module Currency # @return [Array] end - # @see Increase::RealTimePaymentsTransfer#rejection + # @see Increase::Models::RealTimePaymentsTransfer#rejection class Rejection < Increase::Internal::Type::BaseModel # @!attribute reject_reason_additional_information # Additional information about the rejection provided by the recipient bank when @@ -443,7 +443,7 @@ class Rejection < Increase::Internal::Type::BaseModel # The reason the transfer was rejected as provided by the recipient bank or the # Real-Time Payments network. # - # @return [Symbol, Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode] + # @return [Symbol, Increase::Models::RealTimePaymentsTransfer::Rejection::RejectReasonCode] required :reject_reason_code, enum: -> { Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode @@ -458,21 +458,21 @@ class Rejection < Increase::Internal::Type::BaseModel # @!method initialize(reject_reason_additional_information:, reject_reason_code:, rejected_at:) # Some parameter documentations has been truncated, see - # {Increase::RealTimePaymentsTransfer::Rejection} for more details. + # {Increase::Models::RealTimePaymentsTransfer::Rejection} for more details. # # If the transfer is rejected by Real-Time Payments or the destination financial # institution, this will contain supplemental details. # # @param reject_reason_additional_information [String, nil] Additional information about the rejection provided by the recipient bank when t # - # @param reject_reason_code [Symbol, Increase::RealTimePaymentsTransfer::Rejection::RejectReasonCode] The reason the transfer was rejected as provided by the recipient bank or the Re + # @param reject_reason_code [Symbol, Increase::Models::RealTimePaymentsTransfer::Rejection::RejectReasonCode] The reason the transfer was rejected as provided by the recipient bank or the Re # # @param rejected_at [Time, nil] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # The reason the transfer was rejected as provided by the recipient bank or the # Real-Time Payments network. # - # @see Increase::RealTimePaymentsTransfer::Rejection#reject_reason_code + # @see Increase::Models::RealTimePaymentsTransfer::Rejection#reject_reason_code module RejectReasonCode extend Increase::Internal::Type::Enum @@ -546,7 +546,7 @@ module RejectReasonCode # The lifecycle status of the transfer. # - # @see Increase::RealTimePaymentsTransfer#status + # @see Increase::Models::RealTimePaymentsTransfer#status module Status extend Increase::Internal::Type::Enum @@ -578,7 +578,7 @@ module Status # @return [Array] end - # @see Increase::RealTimePaymentsTransfer#submission + # @see Increase::Models::RealTimePaymentsTransfer#submission class Submission < Increase::Internal::Type::BaseModel # @!attribute submitted_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -595,7 +595,7 @@ class Submission < Increase::Internal::Type::BaseModel # @!method initialize(submitted_at:, transaction_identification:) # Some parameter documentations has been truncated, see - # {Increase::RealTimePaymentsTransfer::Submission} for more details. + # {Increase::Models::RealTimePaymentsTransfer::Submission} for more details. # # After the transfer is submitted to Real-Time Payments, this will contain # supplemental details. @@ -608,7 +608,7 @@ class Submission < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `real_time_payments_transfer`. # - # @see Increase::RealTimePaymentsTransfer#type + # @see Increase::Models::RealTimePaymentsTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/real_time_payments_transfer_list_params.rb b/lib/increase/models/real_time_payments_transfer_list_params.rb index 76da2ab0c..5240890a2 100644 --- a/lib/increase/models/real_time_payments_transfer_list_params.rb +++ b/lib/increase/models/real_time_payments_transfer_list_params.rb @@ -15,7 +15,7 @@ class RealTimePaymentsTransferListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::RealTimePaymentsTransferListParams::CreatedAt, nil] + # @return [Increase::Models::RealTimePaymentsTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::RealTimePaymentsTransferListParams::CreatedAt } # @!attribute cursor @@ -49,7 +49,7 @@ class RealTimePaymentsTransferListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::RealTimePaymentsTransferListParams::Status, nil] + # @return [Increase::Models::RealTimePaymentsTransferListParams::Status, nil] optional :status, -> { Increase::RealTimePaymentsTransferListParams::Status } # @!method initialize(account_id: nil, created_at: nil, cursor: nil, external_account_id: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -58,7 +58,7 @@ class RealTimePaymentsTransferListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Real-Time Payments Transfers to those belonging to the specified Account. # - # @param created_at [Increase::RealTimePaymentsTransferListParams::CreatedAt] + # @param created_at [Increase::Models::RealTimePaymentsTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -68,7 +68,7 @@ class RealTimePaymentsTransferListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::RealTimePaymentsTransferListParams::Status] + # @param status [Increase::Models::RealTimePaymentsTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -103,7 +103,8 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::RealTimePaymentsTransferListParams::CreatedAt} for more details. + # {Increase::Models::RealTimePaymentsTransferListParams::CreatedAt} for more + # details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # @@ -119,7 +120,7 @@ class Status < Increase::Internal::Type::BaseModel # Return results whose value is in the provided list. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::RealTimePaymentsTransferListParams::Status::In] @@ -128,9 +129,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::RealTimePaymentsTransferListParams::Status} for more details. + # {Increase::Models::RealTimePaymentsTransferListParams::Status} for more details. # - # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul + # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb b/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb index ae3512354..681d0d939 100644 --- a/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb +++ b/lib/increase/models/simulations/ach_transfer_create_notification_of_change_params.rb @@ -11,7 +11,7 @@ class ACHTransferCreateNotificationOfChangeParams < Increase::Internal::Type::Ba # @!attribute change_code # The reason for the notification of change. # - # @return [Symbol, Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] + # @return [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] required :change_code, enum: -> { Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode } @@ -22,7 +22,7 @@ class ACHTransferCreateNotificationOfChangeParams < Increase::Internal::Type::Ba required :corrected_data, String # @!method initialize(change_code:, corrected_data:, request_options: {}) - # @param change_code [Symbol, Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] The reason for the notification of change. + # @param change_code [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] The reason for the notification of change. # # @param corrected_data [String] The corrected data for the notification of change (e.g., a new routing number). # diff --git a/lib/increase/models/simulations/ach_transfer_return_params.rb b/lib/increase/models/simulations/ach_transfer_return_params.rb index a62901998..01678a829 100644 --- a/lib/increase/models/simulations/ach_transfer_return_params.rb +++ b/lib/increase/models/simulations/ach_transfer_return_params.rb @@ -12,14 +12,14 @@ class ACHTransferReturnParams < Increase::Internal::Type::BaseModel # The reason why the Federal Reserve or destination bank returned this transfer. # Defaults to `no_account`. # - # @return [Symbol, Increase::Simulations::ACHTransferReturnParams::Reason, nil] + # @return [Symbol, Increase::Models::Simulations::ACHTransferReturnParams::Reason, nil] optional :reason, enum: -> { Increase::Simulations::ACHTransferReturnParams::Reason } # @!method initialize(reason: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::Simulations::ACHTransferReturnParams} for more details. # - # @param reason [Symbol, Increase::Simulations::ACHTransferReturnParams::Reason] The reason why the Federal Reserve or destination bank returned this transfer. D + # @param reason [Symbol, Increase::Models::Simulations::ACHTransferReturnParams::Reason] The reason why the Federal Reserve or destination bank returned this transfer. D # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/simulations/card_authorization_create_params.rb b/lib/increase/models/simulations/card_authorization_create_params.rb index dd6985a7c..575c93601 100644 --- a/lib/increase/models/simulations/card_authorization_create_params.rb +++ b/lib/increase/models/simulations/card_authorization_create_params.rb @@ -31,7 +31,7 @@ class CardAuthorizationCreateParams < Increase::Internal::Type::BaseModel # Forces a card decline with a specific reason. No real time decision will be # sent. # - # @return [Symbol, Increase::Simulations::CardAuthorizationCreateParams::DeclineReason, nil] + # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::DeclineReason, nil] optional :decline_reason, enum: -> { Increase::Simulations::CardAuthorizationCreateParams::DeclineReason @@ -47,7 +47,7 @@ class CardAuthorizationCreateParams < Increase::Internal::Type::BaseModel # The direction describes the direction the funds will move, either from the # cardholder to the merchant or from the merchant to the cardholder. # - # @return [Symbol, Increase::Simulations::CardAuthorizationCreateParams::Direction, nil] + # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::Direction, nil] optional :direction, enum: -> { Increase::Simulations::CardAuthorizationCreateParams::Direction } # @!attribute event_subscription_id @@ -100,7 +100,7 @@ class CardAuthorizationCreateParams < Increase::Internal::Type::BaseModel # @!attribute network_details # Fields specific to a given card network. # - # @return [Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails, nil] + # @return [Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails, nil] optional :network_details, -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails } # @!attribute network_risk_score @@ -133,11 +133,11 @@ class CardAuthorizationCreateParams < Increase::Internal::Type::BaseModel # # @param card_id [String] The identifier of the Card to be authorized. # - # @param decline_reason [Symbol, Increase::Simulations::CardAuthorizationCreateParams::DeclineReason] Forces a card decline with a specific reason. No real time decision will be sent + # @param decline_reason [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::DeclineReason] Forces a card decline with a specific reason. No real time decision will be sent # # @param digital_wallet_token_id [String] The identifier of the Digital Wallet Token to be authorized. # - # @param direction [Symbol, Increase::Simulations::CardAuthorizationCreateParams::Direction] The direction describes the direction the funds will move, either from the cardh + # @param direction [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::Direction] The direction describes the direction the funds will move, either from the cardh # # @param event_subscription_id [String] The identifier of the Event Subscription to use. If provided, will override the # @@ -153,7 +153,7 @@ class CardAuthorizationCreateParams < Increase::Internal::Type::BaseModel # # @param merchant_state [String] The state the merchant resides in. # - # @param network_details [Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails] Fields specific to a given card network. + # @param network_details [Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails] Fields specific to a given card network. # # @param network_risk_score [Integer] The risk score generated by the card network. For Visa this is the Visa Advanced # @@ -245,20 +245,20 @@ class NetworkDetails < Increase::Internal::Type::BaseModel # @!attribute visa # Fields specific to the Visa network. # - # @return [Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa] + # @return [Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa] required :visa, -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa } # @!method initialize(visa:) # Fields specific to a given card network. # - # @param visa [Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa] Fields specific to the Visa network. + # @param visa [Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa] Fields specific to the Visa network. - # @see Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails#visa + # @see Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails#visa class Visa < Increase::Internal::Type::BaseModel # @!attribute stand_in_processing_reason # The reason code for the stand-in processing. # - # @return [Symbol, Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason, nil] + # @return [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason, nil] optional :stand_in_processing_reason, enum: -> { Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason @@ -267,11 +267,11 @@ class Visa < Increase::Internal::Type::BaseModel # @!method initialize(stand_in_processing_reason: nil) # Fields specific to the Visa network. # - # @param stand_in_processing_reason [Symbol, Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason] The reason code for the stand-in processing. + # @param stand_in_processing_reason [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::StandInProcessingReason] The reason code for the stand-in processing. # The reason code for the stand-in processing. # - # @see Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa#stand_in_processing_reason + # @see Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa#stand_in_processing_reason module StandInProcessingReason extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/simulations/card_authorization_create_response.rb b/lib/increase/models/simulations/card_authorization_create_response.rb index b5b26eb45..a0a450380 100644 --- a/lib/increase/models/simulations/card_authorization_create_response.rb +++ b/lib/increase/models/simulations/card_authorization_create_response.rb @@ -10,7 +10,7 @@ class CardAuthorizationCreateResponse < Increase::Internal::Type::BaseModel # [Declined Transaction](#declined-transactions) object. The Declined # Transaction's `source` will be of `category: card_decline`. # - # @return [Increase::DeclinedTransaction, nil] + # @return [Increase::Models::DeclinedTransaction, nil] required :declined_transaction, -> { Increase::DeclinedTransaction }, nil?: true # @!attribute pending_transaction @@ -18,7 +18,7 @@ class CardAuthorizationCreateResponse < Increase::Internal::Type::BaseModel # Transaction object. The Pending Transaction's `source` will be of # `category: card_authorization`. # - # @return [Increase::PendingTransaction, nil] + # @return [Increase::Models::PendingTransaction, nil] required :pending_transaction, -> { Increase::PendingTransaction }, nil?: true # @!attribute type @@ -35,9 +35,9 @@ class CardAuthorizationCreateResponse < Increase::Internal::Type::BaseModel # # The results of a Card Authorization simulation. # - # @param declined_transaction [Increase::DeclinedTransaction, nil] If the authorization attempt fails, this will contain the resulting [Declined Tr + # @param declined_transaction [Increase::Models::DeclinedTransaction, nil] If the authorization attempt fails, this will contain the resulting [Declined Tr # - # @param pending_transaction [Increase::PendingTransaction, nil] If the authorization attempt succeeds, this will contain the resulting Pending T + # @param pending_transaction [Increase::Models::PendingTransaction, nil] If the authorization attempt succeeds, this will contain the resulting Pending T # # @param type [Symbol, Increase::Models::Simulations::CardAuthorizationCreateResponse::Type] A constant representing the object's type. For this resource it will always be ` diff --git a/lib/increase/models/simulations/card_dispute_action_params.rb b/lib/increase/models/simulations/card_dispute_action_params.rb index 635397a75..21033c1e4 100644 --- a/lib/increase/models/simulations/card_dispute_action_params.rb +++ b/lib/increase/models/simulations/card_dispute_action_params.rb @@ -11,7 +11,7 @@ class CardDisputeActionParams < Increase::Internal::Type::BaseModel # @!attribute status # The status to move the dispute to. # - # @return [Symbol, Increase::Simulations::CardDisputeActionParams::Status] + # @return [Symbol, Increase::Models::Simulations::CardDisputeActionParams::Status] required :status, enum: -> { Increase::Simulations::CardDisputeActionParams::Status } # @!attribute explanation @@ -21,7 +21,7 @@ class CardDisputeActionParams < Increase::Internal::Type::BaseModel optional :explanation, String # @!method initialize(status:, explanation: nil, request_options: {}) - # @param status [Symbol, Increase::Simulations::CardDisputeActionParams::Status] The status to move the dispute to. + # @param status [Symbol, Increase::Models::Simulations::CardDisputeActionParams::Status] The status to move the dispute to. # # @param explanation [String] Why the dispute was rejected. Not required for accepting disputes. # diff --git a/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb b/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb index bb53f849f..04622ca2d 100644 --- a/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +++ b/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb @@ -74,7 +74,7 @@ class InboundACHTransferCreateParams < Increase::Internal::Type::BaseModel # @!attribute standard_entry_class_code # The standard entry class code for the transfer. # - # @return [Symbol, Increase::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode, nil] + # @return [Symbol, Increase::Models::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode, nil] optional :standard_entry_class_code, enum: -> { Increase::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode } @@ -103,7 +103,7 @@ class InboundACHTransferCreateParams < Increase::Internal::Type::BaseModel # # @param resolve_at [Time] The time at which the transfer should be resolved. If not provided will resolve # - # @param standard_entry_class_code [Symbol, Increase::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode] The standard entry class code for the transfer. + # @param standard_entry_class_code [Symbol, Increase::Models::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode] The standard entry class code for the transfer. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/simulations/physical_card_advance_shipment_params.rb b/lib/increase/models/simulations/physical_card_advance_shipment_params.rb index b78b3b179..6e14bd0b3 100644 --- a/lib/increase/models/simulations/physical_card_advance_shipment_params.rb +++ b/lib/increase/models/simulations/physical_card_advance_shipment_params.rb @@ -11,12 +11,12 @@ class PhysicalCardAdvanceShipmentParams < Increase::Internal::Type::BaseModel # @!attribute shipment_status # The shipment status to move the Physical Card to. # - # @return [Symbol, Increase::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus] + # @return [Symbol, Increase::Models::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus] required :shipment_status, enum: -> { Increase::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus } # @!method initialize(shipment_status:, request_options: {}) - # @param shipment_status [Symbol, Increase::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus] The shipment status to move the Physical Card to. + # @param shipment_status [Symbol, Increase::Models::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus] The shipment status to move the Physical Card to. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] diff --git a/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb b/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb index fc79c44a1..d1ed1ccc7 100644 --- a/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb +++ b/lib/increase/models/simulations/real_time_payments_transfer_complete_params.rb @@ -11,11 +11,11 @@ class RealTimePaymentsTransferCompleteParams < Increase::Internal::Type::BaseMod # @!attribute rejection # If set, the simulation will reject the transfer. # - # @return [Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection, nil] + # @return [Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection, nil] optional :rejection, -> { Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection } # @!method initialize(rejection: nil, request_options: {}) - # @param rejection [Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection] If set, the simulation will reject the transfer. + # @param rejection [Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection] If set, the simulation will reject the transfer. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -23,7 +23,7 @@ class Rejection < Increase::Internal::Type::BaseModel # @!attribute reject_reason_code # The reason code that the simulated rejection will have. # - # @return [Symbol, Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode] + # @return [Symbol, Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode] required :reject_reason_code, enum: -> { Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode @@ -32,11 +32,11 @@ class Rejection < Increase::Internal::Type::BaseModel # @!method initialize(reject_reason_code:) # If set, the simulation will reject the transfer. # - # @param reject_reason_code [Symbol, Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode] The reason code that the simulated rejection will have. + # @param reject_reason_code [Symbol, Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::RejectReasonCode] The reason code that the simulated rejection will have. # The reason code that the simulated rejection will have. # - # @see Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection#reject_reason_code + # @see Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection#reject_reason_code module RejectReasonCode extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/transaction.rb b/lib/increase/models/transaction.rb index 1980a2231..182bc9916 100644 --- a/lib/increase/models/transaction.rb +++ b/lib/increase/models/transaction.rb @@ -35,7 +35,7 @@ class Transaction < Increase::Internal::Type::BaseModel # Transaction's currency. This will match the currency on the Transaction's # Account. # - # @return [Symbol, Increase::Transaction::Currency] + # @return [Symbol, Increase::Models::Transaction::Currency] required :currency, enum: -> { Increase::Transaction::Currency } # @!attribute description @@ -56,7 +56,7 @@ class Transaction < Increase::Internal::Type::BaseModel # @!attribute route_type # The type of the route this Transaction came through. # - # @return [Symbol, Increase::Transaction::RouteType, nil] + # @return [Symbol, Increase::Models::Transaction::RouteType, nil] required :route_type, enum: -> { Increase::Transaction::RouteType }, nil?: true # @!attribute source @@ -65,19 +65,19 @@ class Transaction < Increase::Internal::Type::BaseModel # undocumented keys may appear in this object. These should be treated as # deprecated and will be removed in the future. # - # @return [Increase::Transaction::Source] + # @return [Increase::Models::Transaction::Source] required :source, -> { Increase::Transaction::Source } # @!attribute type # A constant representing the object's type. For this resource it will always be # `transaction`. # - # @return [Symbol, Increase::Transaction::Type] + # @return [Symbol, Increase::Models::Transaction::Type] required :type, enum: -> { Increase::Transaction::Type } # @!method initialize(id:, account_id:, amount:, created_at:, currency:, description:, route_id:, route_type:, source:, type:) - # Some parameter documentations has been truncated, see {Increase::Transaction} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::Transaction} for more details. # # Transactions are the immutable additions and removals of money from your bank # account. They're the equivalent of line items on your bank statement. @@ -90,23 +90,23 @@ class Transaction < Increase::Internal::Type::BaseModel # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Transac # - # @param currency [Symbol, Increase::Transaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Transaction' + # @param currency [Symbol, Increase::Models::Transaction::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Transaction' # # @param description [String] An informational message describing this transaction. Use the fields in `source` # # @param route_id [String, nil] The identifier for the route this Transaction came through. Routes are things li # - # @param route_type [Symbol, Increase::Transaction::RouteType, nil] The type of the route this Transaction came through. + # @param route_type [Symbol, Increase::Models::Transaction::RouteType, nil] The type of the route this Transaction came through. # - # @param source [Increase::Transaction::Source] This is an object giving more details on the network-level event that caused the + # @param source [Increase::Models::Transaction::Source] This is an object giving more details on the network-level event that caused the # - # @param type [Symbol, Increase::Transaction::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Transaction::Type] A constant representing the object's type. For this resource it will always be ` # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # Transaction's currency. This will match the currency on the Transaction's # Account. # - # @see Increase::Transaction#currency + # @see Increase::Models::Transaction#currency module Currency extend Increase::Internal::Type::Enum @@ -134,7 +134,7 @@ module Currency # The type of the route this Transaction came through. # - # @see Increase::Transaction#route_type + # @see Increase::Models::Transaction#route_type module RouteType extend Increase::Internal::Type::Enum @@ -151,7 +151,7 @@ module RouteType # @return [Array] end - # @see Increase::Transaction#source + # @see Increase::Models::Transaction#source class Source < Increase::Internal::Type::BaseModel # @!attribute account_transfer_intention # An Account Transfer Intention object. This field will be present in the JSON @@ -159,7 +159,7 @@ class Source < Increase::Internal::Type::BaseModel # Account Transfer Intentions are created from each Account Transfer. One # decrements the source account, and the other increments the destination account. # - # @return [Increase::Transaction::Source::AccountTransferIntention, nil] + # @return [Increase::Models::Transaction::Source::AccountTransferIntention, nil] required :account_transfer_intention, -> { Increase::Transaction::Source::AccountTransferIntention }, nil?: true @@ -170,7 +170,7 @@ class Source < Increase::Internal::Type::BaseModel # Transfer Intention is created from an ACH Transfer. It reflects the intention to # move money into or out of an Increase account via the ACH network. # - # @return [Increase::Transaction::Source::ACHTransferIntention, nil] + # @return [Increase::Models::Transaction::Source::ACHTransferIntention, nil] required :ach_transfer_intention, -> { Increase::Transaction::Source::ACHTransferIntention @@ -183,7 +183,7 @@ class Source < Increase::Internal::Type::BaseModel # Transfer Rejection is created when an ACH Transfer is rejected by Increase. It # offsets the ACH Transfer Intention. These rejections are rare. # - # @return [Increase::Transaction::Source::ACHTransferRejection, nil] + # @return [Increase::Models::Transaction::Source::ACHTransferRejection, nil] required :ach_transfer_rejection, -> { Increase::Transaction::Source::ACHTransferRejection @@ -198,7 +198,7 @@ class Source < Increase::Internal::Type::BaseModel # the first two business days after the transfer is initiated, but can occur much # later. # - # @return [Increase::Transaction::Source::ACHTransferReturn, nil] + # @return [Increase::Models::Transaction::Source::ACHTransferReturn, nil] required :ach_transfer_return, -> { Increase::Transaction::Source::ACHTransferReturn }, nil?: true # @!attribute card_dispute_acceptance @@ -206,7 +206,7 @@ class Source < Increase::Internal::Type::BaseModel # response if and only if `category` is equal to `card_dispute_acceptance`. # Contains the details of a successful Card Dispute. # - # @return [Increase::Transaction::Source::CardDisputeAcceptance, nil] + # @return [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil] required :card_dispute_acceptance, -> { Increase::Transaction::Source::CardDisputeAcceptance @@ -218,7 +218,7 @@ class Source < Increase::Internal::Type::BaseModel # and only if `category` is equal to `card_dispute_loss`. Contains the details of # a lost Card Dispute. # - # @return [Increase::Transaction::Source::CardDisputeLoss, nil] + # @return [Increase::Models::Transaction::Source::CardDisputeLoss, nil] required :card_dispute_loss, -> { Increase::Transaction::Source::CardDisputeLoss }, nil?: true # @!attribute card_refund @@ -228,7 +228,7 @@ class Source < Increase::Internal::Type::BaseModel # acquirer can also refund money directly to a card without relation to a # transaction. # - # @return [Increase::Transaction::Source::CardRefund, nil] + # @return [Increase::Models::Transaction::Source::CardRefund, nil] required :card_refund, -> { Increase::Transaction::Source::CardRefund }, nil?: true # @!attribute card_revenue_payment @@ -236,7 +236,7 @@ class Source < Increase::Internal::Type::BaseModel # if and only if `category` is equal to `card_revenue_payment`. Card Revenue # Payments reflect earnings from fees on card transactions. # - # @return [Increase::Transaction::Source::CardRevenuePayment, nil] + # @return [Increase::Models::Transaction::Source::CardRevenuePayment, nil] required :card_revenue_payment, -> { Increase::Transaction::Source::CardRevenuePayment }, nil?: true # @!attribute card_settlement @@ -246,7 +246,7 @@ class Source < Increase::Internal::Type::BaseModel # preceded by an authorization, an acquirer can also directly clear a transaction # without first authorizing it. # - # @return [Increase::Transaction::Source::CardSettlement, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement, nil] required :card_settlement, -> { Increase::Transaction::Source::CardSettlement }, nil?: true # @!attribute cashback_payment @@ -255,14 +255,14 @@ class Source < Increase::Internal::Type::BaseModel # represents the cashback paid to a cardholder for a given period. Cashback is # usually paid monthly for the prior month's transactions. # - # @return [Increase::Transaction::Source::CashbackPayment, nil] + # @return [Increase::Models::Transaction::Source::CashbackPayment, nil] required :cashback_payment, -> { Increase::Transaction::Source::CashbackPayment }, nil?: true # @!attribute category # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @return [Symbol, Increase::Transaction::Source::Category] + # @return [Symbol, Increase::Models::Transaction::Source::Category] required :category, enum: -> { Increase::Transaction::Source::Category } # @!attribute check_deposit_acceptance @@ -272,7 +272,7 @@ class Source < Increase::Internal::Type::BaseModel # details confirmed. Check Deposits may be returned by the receiving bank, which # will appear as a Check Deposit Return. # - # @return [Increase::Transaction::Source::CheckDepositAcceptance, nil] + # @return [Increase::Models::Transaction::Source::CheckDepositAcceptance, nil] required :check_deposit_acceptance, -> { Increase::Transaction::Source::CheckDepositAcceptance }, nil?: true @@ -285,7 +285,7 @@ class Source < Increase::Internal::Type::BaseModel # reasons, including insufficient funds or a mismatched account number. Usually, # checks are returned within the first 7 days after the deposit is made. # - # @return [Increase::Transaction::Source::CheckDepositReturn, nil] + # @return [Increase::Models::Transaction::Source::CheckDepositReturn, nil] required :check_deposit_return, -> { Increase::Transaction::Source::CheckDepositReturn }, nil?: true # @!attribute check_transfer_deposit @@ -294,7 +294,7 @@ class Source < Increase::Internal::Type::BaseModel # is a check drawn on an Increase account that has been deposited by an external # bank account. These types of checks are not pre-registered. # - # @return [Increase::Transaction::Source::CheckTransferDeposit, nil] + # @return [Increase::Models::Transaction::Source::CheckTransferDeposit, nil] required :check_transfer_deposit, -> { Increase::Transaction::Source::CheckTransferDeposit @@ -306,7 +306,7 @@ class Source < Increase::Internal::Type::BaseModel # only if `category` is equal to `fee_payment`. A Fee Payment represents a payment # made to Increase. # - # @return [Increase::Transaction::Source::FeePayment, nil] + # @return [Increase::Models::Transaction::Source::FeePayment, nil] required :fee_payment, -> { Increase::Transaction::Source::FeePayment }, nil?: true # @!attribute inbound_ach_transfer @@ -315,7 +315,7 @@ class Source < Increase::Internal::Type::BaseModel # Inbound ACH Transfer Intention is created when an ACH transfer is initiated at # another bank and received by Increase. # - # @return [Increase::Transaction::Source::InboundACHTransfer, nil] + # @return [Increase::Models::Transaction::Source::InboundACHTransfer, nil] required :inbound_ach_transfer, -> { Increase::Transaction::Source::InboundACHTransfer }, nil?: true # @!attribute inbound_ach_transfer_return_intention @@ -325,7 +325,7 @@ class Source < Increase::Internal::Type::BaseModel # Intention is created when an ACH transfer is initiated at another bank and # returned by Increase. # - # @return [Increase::Transaction::Source::InboundACHTransferReturnIntention, nil] + # @return [Increase::Models::Transaction::Source::InboundACHTransferReturnIntention, nil] required :inbound_ach_transfer_return_intention, -> { Increase::Transaction::Source::InboundACHTransferReturnIntention }, nil?: true @@ -336,7 +336,7 @@ class Source < Increase::Internal::Type::BaseModel # Inbound Check Adjustment is created when Increase receives an adjustment for a # check or return deposited through Check21. # - # @return [Increase::Transaction::Source::InboundCheckAdjustment, nil] + # @return [Increase::Models::Transaction::Source::InboundCheckAdjustment, nil] required :inbound_check_adjustment, -> { Increase::Transaction::Source::InboundCheckAdjustment }, nil?: true @@ -348,7 +348,7 @@ class Source < Increase::Internal::Type::BaseModel # Intention is created when Increase receives an Inbound Check and the User # requests that it be returned. # - # @return [Increase::Transaction::Source::InboundCheckDepositReturnIntention, nil] + # @return [Increase::Models::Transaction::Source::InboundCheckDepositReturnIntention, nil] required :inbound_check_deposit_return_intention, -> { Increase::Transaction::Source::InboundCheckDepositReturnIntention }, nil?: true @@ -360,7 +360,7 @@ class Source < Increase::Internal::Type::BaseModel # Payments Transfer Confirmation is created when a Real-Time Payments transfer is # initiated at another bank and received by Increase. # - # @return [Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil] + # @return [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil] required :inbound_real_time_payments_transfer_confirmation, -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation }, nil?: true @@ -370,7 +370,7 @@ class Source < Increase::Internal::Type::BaseModel # present in the JSON response if and only if `category` is equal to # `inbound_real_time_payments_transfer_decline`. # - # @return [Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline, nil] + # @return [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline, nil] required :inbound_real_time_payments_transfer_decline, -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline }, nil?: true @@ -382,7 +382,7 @@ class Source < Increase::Internal::Type::BaseModel # Increase. The other bank is sending the money back. This most often happens when # the original destination account details were incorrect. # - # @return [Increase::Transaction::Source::InboundWireReversal, nil] + # @return [Increase::Models::Transaction::Source::InboundWireReversal, nil] required :inbound_wire_reversal, -> { Increase::Transaction::Source::InboundWireReversal }, nil?: true # @!attribute inbound_wire_transfer @@ -391,7 +391,7 @@ class Source < Increase::Internal::Type::BaseModel # Inbound Wire Transfer Intention is created when a wire transfer is initiated at # another bank and received by Increase. # - # @return [Increase::Transaction::Source::InboundWireTransfer, nil] + # @return [Increase::Models::Transaction::Source::InboundWireTransfer, nil] required :inbound_wire_transfer, -> { Increase::Transaction::Source::InboundWireTransfer }, nil?: true # @!attribute inbound_wire_transfer_reversal @@ -401,7 +401,7 @@ class Source < Increase::Internal::Type::BaseModel # created when Increase has received a wire and the User requests that it be # reversed. # - # @return [Increase::Transaction::Source::InboundWireTransferReversal, nil] + # @return [Increase::Models::Transaction::Source::InboundWireTransferReversal, nil] required :inbound_wire_transfer_reversal, -> { Increase::Transaction::Source::InboundWireTransferReversal }, nil?: true @@ -412,7 +412,7 @@ class Source < Increase::Internal::Type::BaseModel # represents a payment of interest on an account. Interest is usually paid # monthly. # - # @return [Increase::Transaction::Source::InterestPayment, nil] + # @return [Increase::Models::Transaction::Source::InterestPayment, nil] required :interest_payment, -> { Increase::Transaction::Source::InterestPayment }, nil?: true # @!attribute internal_source @@ -420,7 +420,7 @@ class Source < Increase::Internal::Type::BaseModel # and only if `category` is equal to `internal_source`. A transaction between the # user and Increase. See the `reason` attribute for more information. # - # @return [Increase::Transaction::Source::InternalSource, nil] + # @return [Increase::Models::Transaction::Source::InternalSource, nil] required :internal_source, -> { Increase::Transaction::Source::InternalSource }, nil?: true # @!attribute other @@ -437,7 +437,7 @@ class Source < Increase::Internal::Type::BaseModel # Acceptance is created when an Outbound Card Push Transfer sent from Increase is # accepted by the receiving bank. # - # @return [Increase::Transaction::Source::OutboundCardPushTransferAcceptance, nil] + # @return [Increase::Models::Transaction::Source::OutboundCardPushTransferAcceptance, nil] required :outbound_card_push_transfer_acceptance, -> { Increase::Transaction::Source::OutboundCardPushTransferAcceptance }, nil?: true @@ -449,7 +449,7 @@ class Source < Increase::Internal::Type::BaseModel # Acknowledgement is created when a Real-Time Payments Transfer sent from Increase # is acknowledged by the receiving bank. # - # @return [Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement, nil] + # @return [Increase::Models::Transaction::Source::RealTimePaymentsTransferAcknowledgement, nil] required :real_time_payments_transfer_acknowledgement, -> { Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement }, nil?: true @@ -459,7 +459,7 @@ class Source < Increase::Internal::Type::BaseModel # only if `category` is equal to `sample_funds`. Sample funds for testing # purposes. # - # @return [Increase::Transaction::Source::SampleFunds, nil] + # @return [Increase::Models::Transaction::Source::SampleFunds, nil] required :sample_funds, -> { Increase::Transaction::Source::SampleFunds }, nil?: true # @!attribute swift_transfer_intention @@ -467,7 +467,7 @@ class Source < Increase::Internal::Type::BaseModel # response if and only if `category` is equal to `swift_transfer_intention`. A # Swift Transfer initiated via Increase. # - # @return [Increase::Transaction::Source::SwiftTransferIntention, nil] + # @return [Increase::Models::Transaction::Source::SwiftTransferIntention, nil] required :swift_transfer_intention, -> { Increase::Transaction::Source::SwiftTransferIntention }, nil?: true @@ -477,7 +477,7 @@ class Source < Increase::Internal::Type::BaseModel # response if and only if `category` is equal to `wire_transfer_intention`. A Wire # Transfer initiated via Increase and sent to a different bank. # - # @return [Increase::Transaction::Source::WireTransferIntention, nil] + # @return [Increase::Models::Transaction::Source::WireTransferIntention, nil] required :wire_transfer_intention, -> { Increase::Transaction::Source::WireTransferIntention @@ -486,78 +486,78 @@ class Source < Increase::Internal::Type::BaseModel # @!method initialize(account_transfer_intention:, ach_transfer_intention:, ach_transfer_rejection:, ach_transfer_return:, card_dispute_acceptance:, card_dispute_loss:, card_refund:, card_revenue_payment:, card_settlement:, cashback_payment:, category:, check_deposit_acceptance:, check_deposit_return:, check_transfer_deposit:, fee_payment:, inbound_ach_transfer:, inbound_ach_transfer_return_intention:, inbound_check_adjustment:, inbound_check_deposit_return_intention:, inbound_real_time_payments_transfer_confirmation:, inbound_real_time_payments_transfer_decline:, inbound_wire_reversal:, inbound_wire_transfer:, inbound_wire_transfer_reversal:, interest_payment:, internal_source:, other:, outbound_card_push_transfer_acceptance:, real_time_payments_transfer_acknowledgement:, sample_funds:, swift_transfer_intention:, wire_transfer_intention:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source} for more details. + # {Increase::Models::Transaction::Source} for more details. # # This is an object giving more details on the network-level event that caused the # Transaction. Note that for backwards compatibility reasons, additional # undocumented keys may appear in this object. These should be treated as # deprecated and will be removed in the future. # - # @param account_transfer_intention [Increase::Transaction::Source::AccountTransferIntention, nil] An Account Transfer Intention object. This field will be present in the JSON res + # @param account_transfer_intention [Increase::Models::Transaction::Source::AccountTransferIntention, nil] An Account Transfer Intention object. This field will be present in the JSON res # - # @param ach_transfer_intention [Increase::Transaction::Source::ACHTransferIntention, nil] An ACH Transfer Intention object. This field will be present in the JSON respons + # @param ach_transfer_intention [Increase::Models::Transaction::Source::ACHTransferIntention, nil] An ACH Transfer Intention object. This field will be present in the JSON respons # - # @param ach_transfer_rejection [Increase::Transaction::Source::ACHTransferRejection, nil] An ACH Transfer Rejection object. This field will be present in the JSON respons + # @param ach_transfer_rejection [Increase::Models::Transaction::Source::ACHTransferRejection, nil] An ACH Transfer Rejection object. This field will be present in the JSON respons # - # @param ach_transfer_return [Increase::Transaction::Source::ACHTransferReturn, nil] An ACH Transfer Return object. This field will be present in the JSON response i + # @param ach_transfer_return [Increase::Models::Transaction::Source::ACHTransferReturn, nil] An ACH Transfer Return object. This field will be present in the JSON response i # - # @param card_dispute_acceptance [Increase::Transaction::Source::CardDisputeAcceptance, nil] A Card Dispute Acceptance object. This field will be present in the JSON respons + # @param card_dispute_acceptance [Increase::Models::Transaction::Source::CardDisputeAcceptance, nil] A Card Dispute Acceptance object. This field will be present in the JSON respons # - # @param card_dispute_loss [Increase::Transaction::Source::CardDisputeLoss, nil] A Card Dispute Loss object. This field will be present in the JSON response if a + # @param card_dispute_loss [Increase::Models::Transaction::Source::CardDisputeLoss, nil] A Card Dispute Loss object. This field will be present in the JSON response if a # - # @param card_refund [Increase::Transaction::Source::CardRefund, nil] A Card Refund object. This field will be present in the JSON response if and onl + # @param card_refund [Increase::Models::Transaction::Source::CardRefund, nil] A Card Refund object. This field will be present in the JSON response if and onl # - # @param card_revenue_payment [Increase::Transaction::Source::CardRevenuePayment, nil] A Card Revenue Payment object. This field will be present in the JSON response i + # @param card_revenue_payment [Increase::Models::Transaction::Source::CardRevenuePayment, nil] A Card Revenue Payment object. This field will be present in the JSON response i # - # @param card_settlement [Increase::Transaction::Source::CardSettlement, nil] A Card Settlement object. This field will be present in the JSON response if and + # @param card_settlement [Increase::Models::Transaction::Source::CardSettlement, nil] A Card Settlement object. This field will be present in the JSON response if and # - # @param cashback_payment [Increase::Transaction::Source::CashbackPayment, nil] A Cashback Payment object. This field will be present in the JSON response if an + # @param cashback_payment [Increase::Models::Transaction::Source::CashbackPayment, nil] A Cashback Payment object. This field will be present in the JSON response if an # - # @param category [Symbol, Increase::Transaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov + # @param category [Symbol, Increase::Models::Transaction::Source::Category] The type of the resource. We may add additional possible values for this enum ov # - # @param check_deposit_acceptance [Increase::Transaction::Source::CheckDepositAcceptance, nil] A Check Deposit Acceptance object. This field will be present in the JSON respon + # @param check_deposit_acceptance [Increase::Models::Transaction::Source::CheckDepositAcceptance, nil] A Check Deposit Acceptance object. This field will be present in the JSON respon # - # @param check_deposit_return [Increase::Transaction::Source::CheckDepositReturn, nil] A Check Deposit Return object. This field will be present in the JSON response i + # @param check_deposit_return [Increase::Models::Transaction::Source::CheckDepositReturn, nil] A Check Deposit Return object. This field will be present in the JSON response i # - # @param check_transfer_deposit [Increase::Transaction::Source::CheckTransferDeposit, nil] A Check Transfer Deposit object. This field will be present in the JSON response + # @param check_transfer_deposit [Increase::Models::Transaction::Source::CheckTransferDeposit, nil] A Check Transfer Deposit object. This field will be present in the JSON response # - # @param fee_payment [Increase::Transaction::Source::FeePayment, nil] A Fee Payment object. This field will be present in the JSON response if and onl + # @param fee_payment [Increase::Models::Transaction::Source::FeePayment, nil] A Fee Payment object. This field will be present in the JSON response if and onl # - # @param inbound_ach_transfer [Increase::Transaction::Source::InboundACHTransfer, nil] An Inbound ACH Transfer Intention object. This field will be present in the JSON + # @param inbound_ach_transfer [Increase::Models::Transaction::Source::InboundACHTransfer, nil] An Inbound ACH Transfer Intention object. This field will be present in the JSON # - # @param inbound_ach_transfer_return_intention [Increase::Transaction::Source::InboundACHTransferReturnIntention, nil] An Inbound ACH Transfer Return Intention object. This field will be present in t + # @param inbound_ach_transfer_return_intention [Increase::Models::Transaction::Source::InboundACHTransferReturnIntention, nil] An Inbound ACH Transfer Return Intention object. This field will be present in t # - # @param inbound_check_adjustment [Increase::Transaction::Source::InboundCheckAdjustment, nil] An Inbound Check Adjustment object. This field will be present in the JSON respo + # @param inbound_check_adjustment [Increase::Models::Transaction::Source::InboundCheckAdjustment, nil] An Inbound Check Adjustment object. This field will be present in the JSON respo # - # @param inbound_check_deposit_return_intention [Increase::Transaction::Source::InboundCheckDepositReturnIntention, nil] An Inbound Check Deposit Return Intention object. This field will be present in + # @param inbound_check_deposit_return_intention [Increase::Models::Transaction::Source::InboundCheckDepositReturnIntention, nil] An Inbound Check Deposit Return Intention object. This field will be present in # - # @param inbound_real_time_payments_transfer_confirmation [Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil] An Inbound Real-Time Payments Transfer Confirmation object. This field will be p + # @param inbound_real_time_payments_transfer_confirmation [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation, nil] An Inbound Real-Time Payments Transfer Confirmation object. This field will be p # - # @param inbound_real_time_payments_transfer_decline [Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen + # @param inbound_real_time_payments_transfer_decline [Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline, nil] An Inbound Real-Time Payments Transfer Decline object. This field will be presen # - # @param inbound_wire_reversal [Increase::Transaction::Source::InboundWireReversal, nil] An Inbound Wire Reversal object. This field will be present in the JSON response + # @param inbound_wire_reversal [Increase::Models::Transaction::Source::InboundWireReversal, nil] An Inbound Wire Reversal object. This field will be present in the JSON response # - # @param inbound_wire_transfer [Increase::Transaction::Source::InboundWireTransfer, nil] An Inbound Wire Transfer Intention object. This field will be present in the JSO + # @param inbound_wire_transfer [Increase::Models::Transaction::Source::InboundWireTransfer, nil] An Inbound Wire Transfer Intention object. This field will be present in the JSO # - # @param inbound_wire_transfer_reversal [Increase::Transaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal Intention object. This field will be present i + # @param inbound_wire_transfer_reversal [Increase::Models::Transaction::Source::InboundWireTransferReversal, nil] An Inbound Wire Transfer Reversal Intention object. This field will be present i # - # @param interest_payment [Increase::Transaction::Source::InterestPayment, nil] An Interest Payment object. This field will be present in the JSON response if a + # @param interest_payment [Increase::Models::Transaction::Source::InterestPayment, nil] An Interest Payment object. This field will be present in the JSON response if a # - # @param internal_source [Increase::Transaction::Source::InternalSource, nil] An Internal Source object. This field will be present in the JSON response if an + # @param internal_source [Increase::Models::Transaction::Source::InternalSource, nil] An Internal Source object. This field will be present in the JSON response if an # # @param other [Object, nil] If the category of this Transaction source is equal to `other`, this field will # - # @param outbound_card_push_transfer_acceptance [Increase::Transaction::Source::OutboundCardPushTransferAcceptance, nil] An Outbound Card Push Transfer Acceptance object. This field will be present in + # @param outbound_card_push_transfer_acceptance [Increase::Models::Transaction::Source::OutboundCardPushTransferAcceptance, nil] An Outbound Card Push Transfer Acceptance object. This field will be present in # - # @param real_time_payments_transfer_acknowledgement [Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement, nil] A Real-Time Payments Transfer Acknowledgement object. This field will be present + # @param real_time_payments_transfer_acknowledgement [Increase::Models::Transaction::Source::RealTimePaymentsTransferAcknowledgement, nil] A Real-Time Payments Transfer Acknowledgement object. This field will be present # - # @param sample_funds [Increase::Transaction::Source::SampleFunds, nil] A Sample Funds object. This field will be present in the JSON response if and on + # @param sample_funds [Increase::Models::Transaction::Source::SampleFunds, nil] A Sample Funds object. This field will be present in the JSON response if and on # - # @param swift_transfer_intention [Increase::Transaction::Source::SwiftTransferIntention, nil] A Swift Transfer Intention object. This field will be present in the JSON respon + # @param swift_transfer_intention [Increase::Models::Transaction::Source::SwiftTransferIntention, nil] A Swift Transfer Intention object. This field will be present in the JSON respon # - # @param wire_transfer_intention [Increase::Transaction::Source::WireTransferIntention, nil] A Wire Transfer Intention object. This field will be present in the JSON respons + # @param wire_transfer_intention [Increase::Models::Transaction::Source::WireTransferIntention, nil] A Wire Transfer Intention object. This field will be present in the JSON respons - # @see Increase::Transaction::Source#account_transfer_intention + # @see Increase::Models::Transaction::Source#account_transfer_intention class AccountTransferIntention < Increase::Internal::Type::BaseModel # @!attribute amount # The pending amount in the minor unit of the transaction's currency. For dollars, @@ -570,7 +570,7 @@ class AccountTransferIntention < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @return [Symbol, Increase::Transaction::Source::AccountTransferIntention::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::AccountTransferIntention::Currency] required :currency, enum: -> { Increase::Transaction::Source::AccountTransferIntention::Currency } # @!attribute description @@ -599,7 +599,8 @@ class AccountTransferIntention < Increase::Internal::Type::BaseModel # @!method initialize(amount:, currency:, description:, destination_account_id:, source_account_id:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::AccountTransferIntention} for more details. + # {Increase::Models::Transaction::Source::AccountTransferIntention} for more + # details. # # An Account Transfer Intention object. This field will be present in the JSON # response if and only if `category` is equal to `account_transfer_intention`. Two @@ -608,7 +609,7 @@ class AccountTransferIntention < Increase::Internal::Type::BaseModel # # @param amount [Integer] The pending amount in the minor unit of the transaction's currency. For dollars, # - # @param currency [Symbol, Increase::Transaction::Source::AccountTransferIntention::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination + # @param currency [Symbol, Increase::Models::Transaction::Source::AccountTransferIntention::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # # @param description [String] The description you chose to give the transfer. # @@ -621,7 +622,7 @@ class AccountTransferIntention < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination # account currency. # - # @see Increase::Transaction::Source::AccountTransferIntention#currency + # @see Increase::Models::Transaction::Source::AccountTransferIntention#currency module Currency extend Increase::Internal::Type::Enum @@ -648,7 +649,7 @@ module Currency end end - # @see Increase::Transaction::Source#ach_transfer_intention + # @see Increase::Models::Transaction::Source#ach_transfer_intention class ACHTransferIntention < Increase::Internal::Type::BaseModel # @!attribute account_number # The account number for the destination account. @@ -684,7 +685,7 @@ class ACHTransferIntention < Increase::Internal::Type::BaseModel # @!method initialize(account_number:, amount:, routing_number:, statement_descriptor:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::ACHTransferIntention} for more details. + # {Increase::Models::Transaction::Source::ACHTransferIntention} for more details. # # An ACH Transfer Intention object. This field will be present in the JSON # response if and only if `category` is equal to `ach_transfer_intention`. An ACH @@ -702,7 +703,7 @@ class ACHTransferIntention < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the ACH Transfer that led to this Transaction. end - # @see Increase::Transaction::Source#ach_transfer_rejection + # @see Increase::Models::Transaction::Source#ach_transfer_rejection class ACHTransferRejection < Increase::Internal::Type::BaseModel # @!attribute transfer_id # The identifier of the ACH Transfer that led to this Transaction. @@ -719,7 +720,7 @@ class ACHTransferRejection < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the ACH Transfer that led to this Transaction. end - # @see Increase::Transaction::Source#ach_transfer_return + # @see Increase::Models::Transaction::Source#ach_transfer_return class ACHTransferReturn < Increase::Internal::Type::BaseModel # @!attribute created_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -738,7 +739,7 @@ class ACHTransferReturn < Increase::Internal::Type::BaseModel # Why the ACH Transfer was returned. This reason code is sent by the receiving # bank back to Increase. # - # @return [Symbol, Increase::Transaction::Source::ACHTransferReturn::ReturnReasonCode] + # @return [Symbol, Increase::Models::Transaction::Source::ACHTransferReturn::ReturnReasonCode] required :return_reason_code, enum: -> { Increase::Transaction::Source::ACHTransferReturn::ReturnReasonCode } @@ -765,7 +766,7 @@ class ACHTransferReturn < Increase::Internal::Type::BaseModel # @!method initialize(created_at:, raw_return_reason_code:, return_reason_code:, trace_number:, transaction_id:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::ACHTransferReturn} for more details. + # {Increase::Models::Transaction::Source::ACHTransferReturn} for more details. # # An ACH Transfer Return object. This field will be present in the JSON response # if and only if `category` is equal to `ach_transfer_return`. An ACH Transfer @@ -778,7 +779,7 @@ class ACHTransferReturn < Increase::Internal::Type::BaseModel # # @param raw_return_reason_code [String] The three character ACH return code, in the range R01 to R85. # - # @param return_reason_code [Symbol, Increase::Transaction::Source::ACHTransferReturn::ReturnReasonCode] Why the ACH Transfer was returned. This reason code is sent by the receiving ban + # @param return_reason_code [Symbol, Increase::Models::Transaction::Source::ACHTransferReturn::ReturnReasonCode] Why the ACH Transfer was returned. This reason code is sent by the receiving ban # # @param trace_number [String] A 15 digit number that was generated by the bank that initiated the return. The # @@ -789,7 +790,7 @@ class ACHTransferReturn < Increase::Internal::Type::BaseModel # Why the ACH Transfer was returned. This reason code is sent by the receiving # bank back to Increase. # - # @see Increase::Transaction::Source::ACHTransferReturn#return_reason_code + # @see Increase::Models::Transaction::Source::ACHTransferReturn#return_reason_code module ReturnReasonCode extend Increase::Internal::Type::Enum @@ -1011,7 +1012,7 @@ module ReturnReasonCode end end - # @see Increase::Transaction::Source#card_dispute_acceptance + # @see Increase::Models::Transaction::Source#card_dispute_acceptance class CardDisputeAcceptance < Increase::Internal::Type::BaseModel # @!attribute accepted_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -1035,7 +1036,7 @@ class CardDisputeAcceptance < Increase::Internal::Type::BaseModel # @!method initialize(accepted_at:, card_dispute_id:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardDisputeAcceptance} for more details. + # {Increase::Models::Transaction::Source::CardDisputeAcceptance} for more details. # # A Card Dispute Acceptance object. This field will be present in the JSON # response if and only if `category` is equal to `card_dispute_acceptance`. @@ -1048,7 +1049,7 @@ class CardDisputeAcceptance < Increase::Internal::Type::BaseModel # @param transaction_id [String] The identifier of the Transaction that was created to return the disputed funds end - # @see Increase::Transaction::Source#card_dispute_loss + # @see Increase::Models::Transaction::Source#card_dispute_loss class CardDisputeLoss < Increase::Internal::Type::BaseModel # @!attribute card_dispute_id # The identifier of the Card Dispute that was lost. @@ -1078,7 +1079,7 @@ class CardDisputeLoss < Increase::Internal::Type::BaseModel # @!method initialize(card_dispute_id:, explanation:, lost_at:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardDisputeLoss} for more details. + # {Increase::Models::Transaction::Source::CardDisputeLoss} for more details. # # A Card Dispute Loss object. This field will be present in the JSON response if # and only if `category` is equal to `card_dispute_loss`. Contains the details of @@ -1093,7 +1094,7 @@ class CardDisputeLoss < Increase::Internal::Type::BaseModel # @param transaction_id [String] The identifier of the Transaction that was created to debit the disputed funds f end - # @see Increase::Transaction::Source#card_refund + # @see Increase::Models::Transaction::Source#card_refund class CardRefund < Increase::Internal::Type::BaseModel # @!attribute id # The Card Refund identifier. @@ -1118,20 +1119,20 @@ class CardRefund < Increase::Internal::Type::BaseModel # Cashback debited for this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # - # @return [Increase::Transaction::Source::CardRefund::Cashback, nil] + # @return [Increase::Models::Transaction::Source::CardRefund::Cashback, nil] required :cashback, -> { Increase::Transaction::Source::CardRefund::Cashback }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::Currency] required :currency, enum: -> { Increase::Transaction::Source::CardRefund::Currency } # @!attribute interchange # Interchange assessed as a part of this transaciton. # - # @return [Increase::Transaction::Source::CardRefund::Interchange, nil] + # @return [Increase::Models::Transaction::Source::CardRefund::Interchange, nil] required :interchange, -> { Increase::Transaction::Source::CardRefund::Interchange }, nil?: true # @!attribute merchant_acceptor_id @@ -1180,7 +1181,7 @@ class CardRefund < Increase::Internal::Type::BaseModel # @!attribute network_identifiers # Network-specific identifiers for this refund. # - # @return [Increase::Transaction::Source::CardRefund::NetworkIdentifiers] + # @return [Increase::Models::Transaction::Source::CardRefund::NetworkIdentifiers] required :network_identifiers, -> { Increase::Transaction::Source::CardRefund::NetworkIdentifiers } # @!attribute presentment_amount @@ -1200,7 +1201,7 @@ class CardRefund < Increase::Internal::Type::BaseModel # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @return [Increase::Transaction::Source::CardRefund::PurchaseDetails, nil] + # @return [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails, nil] required :purchase_details, -> { Increase::Transaction::Source::CardRefund::PurchaseDetails @@ -1217,12 +1218,12 @@ class CardRefund < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_refund`. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::Type] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::Type] required :type, enum: -> { Increase::Transaction::Source::CardRefund::Type } # @!method initialize(id:, amount:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund} for more details. + # {Increase::Models::Transaction::Source::CardRefund} for more details. # # A Card Refund object. This field will be present in the JSON response if and # only if `category` is equal to `card_refund`. Card Refunds move money back to @@ -1236,11 +1237,11 @@ class CardRefund < Increase::Internal::Type::BaseModel # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param cashback [Increase::Transaction::Source::CardRefund::Cashback, nil] Cashback debited for this transaction, if eligible. Cashback is paid out in aggr + # @param cashback [Increase::Models::Transaction::Source::CardRefund::Cashback, nil] Cashback debited for this transaction, if eligible. Cashback is paid out in aggr # - # @param currency [Symbol, Increase::Transaction::Source::CardRefund::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::Transaction::Source::CardRefund::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param interchange [Increase::Transaction::Source::CardRefund::Interchange, nil] Interchange assessed as a part of this transaciton. + # @param interchange [Increase::Models::Transaction::Source::CardRefund::Interchange, nil] Interchange assessed as a part of this transaciton. # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -1256,19 +1257,19 @@ class CardRefund < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_identifiers [Increase::Transaction::Source::CardRefund::NetworkIdentifiers] Network-specific identifiers for this refund. + # @param network_identifiers [Increase::Models::Transaction::Source::CardRefund::NetworkIdentifiers] Network-specific identifiers for this refund. # # @param presentment_amount [Integer] The amount in the minor unit of the transaction's presentment currency. # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param purchase_details [Increase::Transaction::Source::CardRefund::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi + # @param purchase_details [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi # # @param transaction_id [String] The identifier of the Transaction associated with this Transaction. # - # @param type [Symbol, Increase::Transaction::Source::CardRefund::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Transaction::Source::CardRefund::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::Transaction::Source::CardRefund#cashback + # @see Increase::Models::Transaction::Source::CardRefund#cashback class Cashback < Increase::Internal::Type::BaseModel # @!attribute amount # The cashback amount given as a string containing a decimal number. The amount is @@ -1281,23 +1282,23 @@ class Cashback < Increase::Internal::Type::BaseModel # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::Cashback::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::Cashback::Currency] required :currency, enum: -> { Increase::Transaction::Source::CardRefund::Cashback::Currency } # @!method initialize(amount:, currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund::Cashback} for more details. + # {Increase::Models::Transaction::Source::CardRefund::Cashback} for more details. # # Cashback debited for this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # # @param amount [String] The cashback amount given as a string containing a decimal number. The amount is # - # @param currency [Symbol, Increase::Transaction::Source::CardRefund::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. + # @param currency [Symbol, Increase::Models::Transaction::Source::CardRefund::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @see Increase::Transaction::Source::CardRefund::Cashback#currency + # @see Increase::Models::Transaction::Source::CardRefund::Cashback#currency module Currency extend Increase::Internal::Type::Enum @@ -1327,7 +1328,7 @@ module Currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @see Increase::Transaction::Source::CardRefund#currency + # @see Increase::Models::Transaction::Source::CardRefund#currency module Currency extend Increase::Internal::Type::Enum @@ -1353,7 +1354,7 @@ module Currency # @return [Array] end - # @see Increase::Transaction::Source::CardRefund#interchange + # @see Increase::Models::Transaction::Source::CardRefund#interchange class Interchange < Increase::Internal::Type::BaseModel # @!attribute amount # The interchange amount given as a string containing a decimal number in major @@ -1374,12 +1375,13 @@ class Interchange < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::Interchange::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::Interchange::Currency] required :currency, enum: -> { Increase::Transaction::Source::CardRefund::Interchange::Currency } # @!method initialize(amount:, code:, currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund::Interchange} for more details. + # {Increase::Models::Transaction::Source::CardRefund::Interchange} for more + # details. # # Interchange assessed as a part of this transaciton. # @@ -1387,12 +1389,12 @@ class Interchange < Increase::Internal::Type::BaseModel # # @param code [String, nil] The card network specific interchange code. # - # @param currency [Symbol, Increase::Transaction::Source::CardRefund::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange + # @param currency [Symbol, Increase::Models::Transaction::Source::CardRefund::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @see Increase::Transaction::Source::CardRefund::Interchange#currency + # @see Increase::Models::Transaction::Source::CardRefund::Interchange#currency module Currency extend Increase::Internal::Type::Enum @@ -1419,7 +1421,7 @@ module Currency end end - # @see Increase::Transaction::Source::CardRefund#network_identifiers + # @see Increase::Models::Transaction::Source::CardRefund#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute acquirer_business_id # A network assigned business ID that identifies the acquirer that processed this @@ -1443,7 +1445,7 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(acquirer_business_id:, acquirer_reference_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund::NetworkIdentifiers} for more + # {Increase::Models::Transaction::Source::CardRefund::NetworkIdentifiers} for more # details. # # Network-specific identifiers for this refund. @@ -1455,12 +1457,12 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro end - # @see Increase::Transaction::Source::CardRefund#purchase_details + # @see Increase::Models::Transaction::Source::CardRefund#purchase_details class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute car_rental # Fields specific to car rentals. # - # @return [Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental, nil] + # @return [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental, nil] required :car_rental, -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental }, nil?: true @@ -1487,7 +1489,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute lodging # Fields specific to lodging. # - # @return [Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging, nil] + # @return [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging, nil] required :lodging, -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging @@ -1516,7 +1518,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute purchase_identifier_format # The format of the purchase identifier. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] required :purchase_identifier_format, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::PurchaseIdentifierFormat @@ -1526,7 +1528,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute travel # Fields specific to travel. # - # @return [Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel, nil] + # @return [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel, nil] required :travel, -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel @@ -1535,12 +1537,13 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!method initialize(car_rental:, customer_reference_identifier:, local_tax_amount:, local_tax_currency:, lodging:, national_tax_amount:, national_tax_currency:, purchase_identifier:, purchase_identifier_format:, travel:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund::PurchaseDetails} for more details. + # {Increase::Models::Transaction::Source::CardRefund::PurchaseDetails} for more + # details. # # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @param car_rental [Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental, nil] Fields specific to car rentals. + # @param car_rental [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental, nil] Fields specific to car rentals. # # @param customer_reference_identifier [String, nil] An identifier from the merchant for the customer or consumer. # @@ -1548,7 +1551,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param local_tax_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax as # - # @param lodging [Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging, nil] Fields specific to lodging. + # @param lodging [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging, nil] Fields specific to lodging. # # @param national_tax_amount [Integer, nil] The national tax amount in minor units. # @@ -1556,11 +1559,11 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param purchase_identifier [String, nil] An identifier from the merchant for the purchase to the issuer and cardholder. # - # @param purchase_identifier_format [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. + # @param purchase_identifier_format [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. # - # @param travel [Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel, nil] Fields specific to travel. + # @param travel [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel, nil] Fields specific to travel. - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails#car_rental + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails#car_rental class CarRental < Increase::Internal::Type::BaseModel # @!attribute car_class_code # Code indicating the vehicle's class. @@ -1597,7 +1600,7 @@ class CarRental < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (gas, late fee, etc.) being billed. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::ExtraCharges @@ -1634,7 +1637,7 @@ class CarRental < Increase::Internal::Type::BaseModel # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::NoShowIndicator @@ -1676,8 +1679,8 @@ class CarRental < Increase::Internal::Type::BaseModel # @!method initialize(car_class_code:, checkout_date:, daily_rental_rate_amount:, daily_rental_rate_currency:, days_rented:, extra_charges:, fuel_charges_amount:, fuel_charges_currency:, insurance_charges_amount:, insurance_charges_currency:, no_show_indicator:, one_way_drop_off_charges_amount:, one_way_drop_off_charges_currency:, renter_name:, weekly_rental_rate_amount:, weekly_rental_rate_currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental} for more - # details. + # {Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental} + # for more details. # # Fields specific to car rentals. # @@ -1691,7 +1694,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param days_rented [Integer, nil] Number of days the vehicle was rented. # - # @param extra_charges [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. # # @param fuel_charges_amount [Integer, nil] Fuel charges for the vehicle. # @@ -1701,7 +1704,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param insurance_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance ch # - # @param no_show_indicator [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was + # @param no_show_indicator [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was # # @param one_way_drop_off_charges_amount [Integer, nil] Charges for returning the vehicle at a different location than where it was pick # @@ -1715,7 +1718,7 @@ class CarRental < Increase::Internal::Type::BaseModel # Additional charges (gas, late fee, etc.) being billed. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental#extra_charges + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -1744,7 +1747,7 @@ module ExtraCharges # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental#no_show_indicator + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -1759,7 +1762,7 @@ module NoShowIndicator end end - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails#lodging + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails#lodging class Lodging < Increase::Internal::Type::BaseModel # @!attribute check_in_date # Date the customer checked in. @@ -1783,7 +1786,7 @@ class Lodging < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (phone, late check-out, etc.) being billed. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::ExtraCharges @@ -1820,7 +1823,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::NoShowIndicator @@ -1874,8 +1877,8 @@ class Lodging < Increase::Internal::Type::BaseModel # @!method initialize(check_in_date:, daily_room_rate_amount:, daily_room_rate_currency:, extra_charges:, folio_cash_advances_amount:, folio_cash_advances_currency:, food_beverage_charges_amount:, food_beverage_charges_currency:, no_show_indicator:, prepaid_expenses_amount:, prepaid_expenses_currency:, room_nights:, total_room_tax_amount:, total_room_tax_currency:, total_tax_amount:, total_tax_currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging} for more - # details. + # {Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging} + # for more details. # # Fields specific to lodging. # @@ -1885,7 +1888,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param daily_room_rate_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room r # - # @param extra_charges [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. # # @param folio_cash_advances_amount [Integer, nil] Folio cash advances for the room. # @@ -1895,7 +1898,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param food_beverage_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and bev # - # @param no_show_indicator [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a + # @param no_show_indicator [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a # # @param prepaid_expenses_amount [Integer, nil] Prepaid expenses being charged for the room. # @@ -1913,7 +1916,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Additional charges (phone, late check-out, etc.) being billed. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging#extra_charges + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -1945,7 +1948,7 @@ module ExtraCharges # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging#no_show_indicator + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -1962,7 +1965,7 @@ module NoShowIndicator # The format of the purchase identifier. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails#purchase_identifier_format + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails#purchase_identifier_format module PurchaseIdentifierFormat extend Increase::Internal::Type::Enum @@ -1985,12 +1988,12 @@ module PurchaseIdentifierFormat # @return [Array] end - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails#travel + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails#travel class Travel < Increase::Internal::Type::BaseModel # @!attribute ancillary # Ancillary purchases in addition to the airfare. # - # @return [Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary, nil] + # @return [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary, nil] required :ancillary, -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary }, nil?: true @@ -2004,7 +2007,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator @@ -2032,7 +2035,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute restricted_ticket_indicator # Indicates whether this ticket is non-refundable. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] required :restricted_ticket_indicator, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator @@ -2042,7 +2045,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute ticket_change_indicator # Indicates why a ticket was changed. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] required :ticket_change_indicator, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator @@ -2070,7 +2073,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute trip_legs # Fields specific to each leg of the journey. # - # @return [Array, nil] + # @return [Array, nil] required :trip_legs, -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg] @@ -2080,11 +2083,11 @@ class Travel < Increase::Internal::Type::BaseModel # @!method initialize(ancillary:, computerized_reservation_system:, credit_reason_indicator:, departure_date:, origination_city_airport_code:, passenger_name:, restricted_ticket_indicator:, ticket_change_indicator:, ticket_number:, travel_agency_code:, travel_agency_name:, trip_legs:) # Fields specific to travel. # - # @param ancillary [Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. + # @param ancillary [Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. # # @param computerized_reservation_system [String, nil] Indicates the computerized reservation system used to book the ticket. # - # @param credit_reason_indicator [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param departure_date [Date, nil] Date of departure. # @@ -2092,9 +2095,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param passenger_name [String, nil] Name of the passenger. # - # @param restricted_ticket_indicator [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. + # @param restricted_ticket_indicator [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. # - # @param ticket_change_indicator [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. + # @param ticket_change_indicator [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. # # @param ticket_number [String, nil] Ticket number. # @@ -2102,9 +2105,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param travel_agency_name [String, nil] Name of the travel agency if the ticket was issued by a travel agency. # - # @param trip_legs [Array, nil] Fields specific to each leg of the journey. + # @param trip_legs [Array, nil] Fields specific to each leg of the journey. - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel#ancillary + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel#ancillary class Ancillary < Increase::Internal::Type::BaseModel # @!attribute connected_ticket_document_number # If this purchase has a connection or relationship to another purchase, such as a @@ -2117,7 +2120,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator @@ -2133,7 +2136,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute services # Additional travel charges, such as baggage fees. # - # @return [Array] + # @return [Array] required :services, -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service] @@ -2147,24 +2150,24 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!method initialize(connected_ticket_document_number:, credit_reason_indicator:, passenger_name_or_description:, services:, ticket_document_number:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary} + # {Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary} # for more details. # # Ancillary purchases in addition to the airfare. # # @param connected_ticket_document_number [String, nil] If this purchase has a connection or relationship to another purchase, such as a # - # @param credit_reason_indicator [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param passenger_name_or_description [String, nil] Name of the passenger or description of the ancillary purchase. # - # @param services [Array] Additional travel charges, such as baggage fees. + # @param services [Array] Additional travel charges, such as baggage fees. # # @param ticket_document_number [String, nil] Ticket document number. # Indicates the reason for a credit to the cardholder. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary#credit_reason_indicator + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -2190,7 +2193,7 @@ class Service < Increase::Internal::Type::BaseModel # @!attribute category # Category of the ancillary service. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] required :category, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category @@ -2204,13 +2207,13 @@ class Service < Increase::Internal::Type::BaseModel required :sub_category, String, nil?: true # @!method initialize(category:, sub_category:) - # @param category [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. + # @param category [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. # # @param sub_category [String, nil] Sub-category of the ancillary service, free-form. # Category of the ancillary service. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service#category + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service#category module Category extend Increase::Internal::Type::Enum @@ -2294,7 +2297,7 @@ module Category # Indicates the reason for a credit to the cardholder. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel#credit_reason_indicator + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -2324,7 +2327,7 @@ module CreditReasonIndicator # Indicates whether this ticket is non-refundable. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel#restricted_ticket_indicator + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel#restricted_ticket_indicator module RestrictedTicketIndicator extend Increase::Internal::Type::Enum @@ -2340,7 +2343,7 @@ module RestrictedTicketIndicator # Indicates why a ticket was changed. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel#ticket_change_indicator + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel#ticket_change_indicator module TicketChangeIndicator extend Increase::Internal::Type::Enum @@ -2391,7 +2394,7 @@ class TripLeg < Increase::Internal::Type::BaseModel # @!attribute stop_over_code # Indicates whether a stopover is allowed on this ticket. # - # @return [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] required :stop_over_code, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode @@ -2409,11 +2412,11 @@ class TripLeg < Increase::Internal::Type::BaseModel # # @param service_class [String, nil] Service class (e.g., first class, business class, etc.). # - # @param stop_over_code [Symbol, Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. + # @param stop_over_code [Symbol, Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. # Indicates whether a stopover is allowed on this ticket. # - # @see Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg#stop_over_code + # @see Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg#stop_over_code module StopOverCode extend Increase::Internal::Type::Enum @@ -2436,7 +2439,7 @@ module StopOverCode # A constant representing the object's type. For this resource it will always be # `card_refund`. # - # @see Increase::Transaction::Source::CardRefund#type + # @see Increase::Models::Transaction::Source::CardRefund#type module Type extend Increase::Internal::Type::Enum @@ -2447,7 +2450,7 @@ module Type end end - # @see Increase::Transaction::Source#card_revenue_payment + # @see Increase::Models::Transaction::Source#card_revenue_payment class CardRevenuePayment < Increase::Internal::Type::BaseModel # @!attribute amount # The amount in the minor unit of the transaction's currency. For dollars, for @@ -2460,7 +2463,7 @@ class CardRevenuePayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @return [Symbol, Increase::Transaction::Source::CardRevenuePayment::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CardRevenuePayment::Currency] required :currency, enum: -> { Increase::Transaction::Source::CardRevenuePayment::Currency } # @!attribute period_end @@ -2483,7 +2486,7 @@ class CardRevenuePayment < Increase::Internal::Type::BaseModel # @!method initialize(amount:, currency:, period_end:, period_start:, transacted_on_account_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardRevenuePayment} for more details. + # {Increase::Models::Transaction::Source::CardRevenuePayment} for more details. # # A Card Revenue Payment object. This field will be present in the JSON response # if and only if `category` is equal to `card_revenue_payment`. Card Revenue @@ -2491,7 +2494,7 @@ class CardRevenuePayment < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount in the minor unit of the transaction's currency. For dollars, for exa # - # @param currency [Symbol, Increase::Transaction::Source::CardRevenuePayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction + # @param currency [Symbol, Increase::Models::Transaction::Source::CardRevenuePayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # # @param period_end [Time] The end of the period for which this transaction paid interest. # @@ -2502,7 +2505,7 @@ class CardRevenuePayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @see Increase::Transaction::Source::CardRevenuePayment#currency + # @see Increase::Models::Transaction::Source::CardRevenuePayment#currency module Currency extend Increase::Internal::Type::Enum @@ -2529,7 +2532,7 @@ module Currency end end - # @see Increase::Transaction::Source#card_settlement + # @see Increase::Models::Transaction::Source#card_settlement class CardSettlement < Increase::Internal::Type::BaseModel # @!attribute id # The Card Settlement identifier. @@ -2561,20 +2564,20 @@ class CardSettlement < Increase::Internal::Type::BaseModel # Cashback earned on this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # - # @return [Increase::Transaction::Source::CardSettlement::Cashback, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement::Cashback, nil] required :cashback, -> { Increase::Transaction::Source::CardSettlement::Cashback }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Currency] required :currency, enum: -> { Increase::Transaction::Source::CardSettlement::Currency } # @!attribute interchange # Interchange assessed as a part of this transaction. # - # @return [Increase::Transaction::Source::CardSettlement::Interchange, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement::Interchange, nil] required :interchange, -> { Increase::Transaction::Source::CardSettlement::Interchange }, nil?: true # @!attribute merchant_acceptor_id @@ -2623,7 +2626,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # @!attribute network_identifiers # Network-specific identifiers for this refund. # - # @return [Increase::Transaction::Source::CardSettlement::NetworkIdentifiers] + # @return [Increase::Models::Transaction::Source::CardSettlement::NetworkIdentifiers] required :network_identifiers, -> { Increase::Transaction::Source::CardSettlement::NetworkIdentifiers @@ -2652,7 +2655,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @return [Increase::Transaction::Source::CardSettlement::PurchaseDetails, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails, nil] required :purchase_details, -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails }, nil?: true @@ -2667,12 +2670,12 @@ class CardSettlement < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `card_settlement`. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::Type] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type] required :type, enum: -> { Increase::Transaction::Source::CardSettlement::Type } # @!method initialize(id:, amount:, card_authorization:, card_payment_id:, cashback:, currency:, interchange:, merchant_acceptor_id:, merchant_category_code:, merchant_city:, merchant_country:, merchant_name:, merchant_postal_code:, merchant_state:, network_identifiers:, pending_transaction_id:, presentment_amount:, presentment_currency:, purchase_details:, transaction_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement} for more details. + # {Increase::Models::Transaction::Source::CardSettlement} for more details. # # A Card Settlement object. This field will be present in the JSON response if and # only if `category` is equal to `card_settlement`. Card Settlements are card @@ -2688,11 +2691,11 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param card_payment_id [String] The ID of the Card Payment this transaction belongs to. # - # @param cashback [Increase::Transaction::Source::CardSettlement::Cashback, nil] Cashback earned on this transaction, if eligible. Cashback is paid out in aggreg + # @param cashback [Increase::Models::Transaction::Source::CardSettlement::Cashback, nil] Cashback earned on this transaction, if eligible. Cashback is paid out in aggreg # - # @param currency [Symbol, Increase::Transaction::Source::CardSettlement::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::Transaction::Source::CardSettlement::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param interchange [Increase::Transaction::Source::CardSettlement::Interchange, nil] Interchange assessed as a part of this transaction. + # @param interchange [Increase::Models::Transaction::Source::CardSettlement::Interchange, nil] Interchange assessed as a part of this transaction. # # @param merchant_acceptor_id [String] The merchant identifier (commonly abbreviated as MID) of the merchant the card i # @@ -2708,7 +2711,7 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param merchant_state [String, nil] The state the merchant resides in. # - # @param network_identifiers [Increase::Transaction::Source::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund. + # @param network_identifiers [Increase::Models::Transaction::Source::CardSettlement::NetworkIdentifiers] Network-specific identifiers for this refund. # # @param pending_transaction_id [String, nil] The identifier of the Pending Transaction associated with this Transaction. # @@ -2716,13 +2719,13 @@ class CardSettlement < Increase::Internal::Type::BaseModel # # @param presentment_currency [String] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param purchase_details [Increase::Transaction::Source::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi + # @param purchase_details [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails, nil] Additional details about the card purchase, such as tax and industry-specific fi # # @param transaction_id [String] The identifier of the Transaction associated with this Transaction. # - # @param type [Symbol, Increase::Transaction::Source::CardSettlement::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Transaction::Source::CardSettlement::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::Transaction::Source::CardSettlement#cashback + # @see Increase::Models::Transaction::Source::CardSettlement#cashback class Cashback < Increase::Internal::Type::BaseModel # @!attribute amount # The cashback amount given as a string containing a decimal number. The amount is @@ -2735,23 +2738,24 @@ class Cashback < Increase::Internal::Type::BaseModel # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::Cashback::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Cashback::Currency] required :currency, enum: -> { Increase::Transaction::Source::CardSettlement::Cashback::Currency } # @!method initialize(amount:, currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement::Cashback} for more details. + # {Increase::Models::Transaction::Source::CardSettlement::Cashback} for more + # details. # # Cashback earned on this transaction, if eligible. Cashback is paid out in # aggregate, monthly. # # @param amount [String] The cashback amount given as a string containing a decimal number. The amount is # - # @param currency [Symbol, Increase::Transaction::Source::CardSettlement::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. + # @param currency [Symbol, Increase::Models::Transaction::Source::CardSettlement::Cashback::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the cashback. # - # @see Increase::Transaction::Source::CardSettlement::Cashback#currency + # @see Increase::Models::Transaction::Source::CardSettlement::Cashback#currency module Currency extend Increase::Internal::Type::Enum @@ -2781,7 +2785,7 @@ module Currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's settlement currency. # - # @see Increase::Transaction::Source::CardSettlement#currency + # @see Increase::Models::Transaction::Source::CardSettlement#currency module Currency extend Increase::Internal::Type::Enum @@ -2807,7 +2811,7 @@ module Currency # @return [Array] end - # @see Increase::Transaction::Source::CardSettlement#interchange + # @see Increase::Models::Transaction::Source::CardSettlement#interchange class Interchange < Increase::Internal::Type::BaseModel # @!attribute amount # The interchange amount given as a string containing a decimal number in major @@ -2828,7 +2832,7 @@ class Interchange < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::Interchange::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::Interchange::Currency] required :currency, enum: -> { Increase::Transaction::Source::CardSettlement::Interchange::Currency @@ -2836,7 +2840,8 @@ class Interchange < Increase::Internal::Type::BaseModel # @!method initialize(amount:, code:, currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement::Interchange} for more details. + # {Increase::Models::Transaction::Source::CardSettlement::Interchange} for more + # details. # # Interchange assessed as a part of this transaction. # @@ -2844,12 +2849,12 @@ class Interchange < Increase::Internal::Type::BaseModel # # @param code [String, nil] The card network specific interchange code. # - # @param currency [Symbol, Increase::Transaction::Source::CardSettlement::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange + # @param currency [Symbol, Increase::Models::Transaction::Source::CardSettlement::Interchange::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the interchange # reimbursement. # - # @see Increase::Transaction::Source::CardSettlement::Interchange#currency + # @see Increase::Models::Transaction::Source::CardSettlement::Interchange#currency module Currency extend Increase::Internal::Type::Enum @@ -2876,7 +2881,7 @@ module Currency end end - # @see Increase::Transaction::Source::CardSettlement#network_identifiers + # @see Increase::Models::Transaction::Source::CardSettlement#network_identifiers class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!attribute acquirer_business_id # A network assigned business ID that identifies the acquirer that processed this @@ -2900,8 +2905,8 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @!method initialize(acquirer_business_id:, acquirer_reference_number:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement::NetworkIdentifiers} for more - # details. + # {Increase::Models::Transaction::Source::CardSettlement::NetworkIdentifiers} for + # more details. # # Network-specific identifiers for this refund. # @@ -2912,12 +2917,12 @@ class NetworkIdentifiers < Increase::Internal::Type::BaseModel # @param transaction_id [String, nil] A globally unique transaction identifier provided by the card network, used acro end - # @see Increase::Transaction::Source::CardSettlement#purchase_details + # @see Increase::Models::Transaction::Source::CardSettlement#purchase_details class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute car_rental # Fields specific to car rentals. # - # @return [Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental, nil] required :car_rental, -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental }, nil?: true @@ -2944,7 +2949,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute lodging # Fields specific to lodging. # - # @return [Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging, nil] required :lodging, -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging }, nil?: true @@ -2971,7 +2976,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute purchase_identifier_format # The format of the purchase identifier. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] required :purchase_identifier_format, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat @@ -2981,20 +2986,20 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # @!attribute travel # Fields specific to travel. # - # @return [Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel, nil] required :travel, -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel }, nil?: true # @!method initialize(car_rental:, customer_reference_identifier:, local_tax_amount:, local_tax_currency:, lodging:, national_tax_amount:, national_tax_currency:, purchase_identifier:, purchase_identifier_format:, travel:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement::PurchaseDetails} for more - # details. + # {Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails} for + # more details. # # Additional details about the card purchase, such as tax and industry-specific # fields. # - # @param car_rental [Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental, nil] Fields specific to car rentals. + # @param car_rental [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental, nil] Fields specific to car rentals. # # @param customer_reference_identifier [String, nil] An identifier from the merchant for the customer or consumer. # @@ -3002,7 +3007,7 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param local_tax_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the local tax as # - # @param lodging [Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging, nil] Fields specific to lodging. + # @param lodging [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging, nil] Fields specific to lodging. # # @param national_tax_amount [Integer, nil] The national tax amount in minor units. # @@ -3010,11 +3015,11 @@ class PurchaseDetails < Increase::Internal::Type::BaseModel # # @param purchase_identifier [String, nil] An identifier from the merchant for the purchase to the issuer and cardholder. # - # @param purchase_identifier_format [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. + # @param purchase_identifier_format [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::PurchaseIdentifierFormat, nil] The format of the purchase identifier. # - # @param travel [Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel, nil] Fields specific to travel. + # @param travel [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel, nil] Fields specific to travel. - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails#car_rental + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails#car_rental class CarRental < Increase::Internal::Type::BaseModel # @!attribute car_class_code # Code indicating the vehicle's class. @@ -3051,7 +3056,7 @@ class CarRental < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (gas, late fee, etc.) being billed. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::ExtraCharges @@ -3088,7 +3093,7 @@ class CarRental < Increase::Internal::Type::BaseModel # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator @@ -3130,8 +3135,8 @@ class CarRental < Increase::Internal::Type::BaseModel # @!method initialize(car_class_code:, checkout_date:, daily_rental_rate_amount:, daily_rental_rate_currency:, days_rented:, extra_charges:, fuel_charges_amount:, fuel_charges_currency:, insurance_charges_amount:, insurance_charges_currency:, no_show_indicator:, one_way_drop_off_charges_amount:, one_way_drop_off_charges_currency:, renter_name:, weekly_rental_rate_amount:, weekly_rental_rate_currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental} for - # more details. + # {Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental} + # for more details. # # Fields specific to car rentals. # @@ -3145,7 +3150,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param days_rented [Integer, nil] Number of days the vehicle was rented. # - # @param extra_charges [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::ExtraCharges, nil] Additional charges (gas, late fee, etc.) being billed. # # @param fuel_charges_amount [Integer, nil] Fuel charges for the vehicle. # @@ -3155,7 +3160,7 @@ class CarRental < Increase::Internal::Type::BaseModel # # @param insurance_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the insurance ch # - # @param no_show_indicator [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was + # @param no_show_indicator [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::NoShowIndicator, nil] An indicator that the cardholder is being billed for a reserved vehicle that was # # @param one_way_drop_off_charges_amount [Integer, nil] Charges for returning the vehicle at a different location than where it was pick # @@ -3169,7 +3174,7 @@ class CarRental < Increase::Internal::Type::BaseModel # Additional charges (gas, late fee, etc.) being billed. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental#extra_charges + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -3198,7 +3203,7 @@ module ExtraCharges # An indicator that the cardholder is being billed for a reserved vehicle that was # not actually rented (that is, a "no-show" charge). # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental#no_show_indicator + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -3213,7 +3218,7 @@ module NoShowIndicator end end - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails#lodging + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails#lodging class Lodging < Increase::Internal::Type::BaseModel # @!attribute check_in_date # Date the customer checked in. @@ -3237,7 +3242,7 @@ class Lodging < Increase::Internal::Type::BaseModel # @!attribute extra_charges # Additional charges (phone, late check-out, etc.) being billed. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] required :extra_charges, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::ExtraCharges @@ -3274,7 +3279,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] required :no_show_indicator, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator @@ -3328,8 +3333,8 @@ class Lodging < Increase::Internal::Type::BaseModel # @!method initialize(check_in_date:, daily_room_rate_amount:, daily_room_rate_currency:, extra_charges:, folio_cash_advances_amount:, folio_cash_advances_currency:, food_beverage_charges_amount:, food_beverage_charges_currency:, no_show_indicator:, prepaid_expenses_amount:, prepaid_expenses_currency:, room_nights:, total_room_tax_amount:, total_room_tax_currency:, total_tax_amount:, total_tax_currency:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging} for - # more details. + # {Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging} + # for more details. # # Fields specific to lodging. # @@ -3339,7 +3344,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param daily_room_rate_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the daily room r # - # @param extra_charges [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. + # @param extra_charges [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::ExtraCharges, nil] Additional charges (phone, late check-out, etc.) being billed. # # @param folio_cash_advances_amount [Integer, nil] Folio cash advances for the room. # @@ -3349,7 +3354,7 @@ class Lodging < Increase::Internal::Type::BaseModel # # @param food_beverage_charges_currency [String, nil] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and bev # - # @param no_show_indicator [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a + # @param no_show_indicator [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::NoShowIndicator, nil] Indicator that the cardholder is being billed for a reserved room that was not a # # @param prepaid_expenses_amount [Integer, nil] Prepaid expenses being charged for the room. # @@ -3367,7 +3372,7 @@ class Lodging < Increase::Internal::Type::BaseModel # Additional charges (phone, late check-out, etc.) being billed. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging#extra_charges + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging#extra_charges module ExtraCharges extend Increase::Internal::Type::Enum @@ -3399,7 +3404,7 @@ module ExtraCharges # Indicator that the cardholder is being billed for a reserved room that was not # actually used. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging#no_show_indicator + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging#no_show_indicator module NoShowIndicator extend Increase::Internal::Type::Enum @@ -3416,7 +3421,7 @@ module NoShowIndicator # The format of the purchase identifier. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails#purchase_identifier_format + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails#purchase_identifier_format module PurchaseIdentifierFormat extend Increase::Internal::Type::Enum @@ -3439,12 +3444,12 @@ module PurchaseIdentifierFormat # @return [Array] end - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails#travel + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails#travel class Travel < Increase::Internal::Type::BaseModel # @!attribute ancillary # Ancillary purchases in addition to the airfare. # - # @return [Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] + # @return [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] required :ancillary, -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary @@ -3460,7 +3465,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator @@ -3488,7 +3493,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute restricted_ticket_indicator # Indicates whether this ticket is non-refundable. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] required :restricted_ticket_indicator, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator @@ -3498,7 +3503,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute ticket_change_indicator # Indicates why a ticket was changed. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] required :ticket_change_indicator, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator @@ -3526,7 +3531,7 @@ class Travel < Increase::Internal::Type::BaseModel # @!attribute trip_legs # Fields specific to each leg of the journey. # - # @return [Array, nil] + # @return [Array, nil] required :trip_legs, -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg] @@ -3536,11 +3541,11 @@ class Travel < Increase::Internal::Type::BaseModel # @!method initialize(ancillary:, computerized_reservation_system:, credit_reason_indicator:, departure_date:, origination_city_airport_code:, passenger_name:, restricted_ticket_indicator:, ticket_change_indicator:, ticket_number:, travel_agency_code:, travel_agency_name:, trip_legs:) # Fields specific to travel. # - # @param ancillary [Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. + # @param ancillary [Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary, nil] Ancillary purchases in addition to the airfare. # # @param computerized_reservation_system [String, nil] Indicates the computerized reservation system used to book the ticket. # - # @param credit_reason_indicator [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param departure_date [Date, nil] Date of departure. # @@ -3548,9 +3553,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param passenger_name [String, nil] Name of the passenger. # - # @param restricted_ticket_indicator [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. + # @param restricted_ticket_indicator [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::RestrictedTicketIndicator, nil] Indicates whether this ticket is non-refundable. # - # @param ticket_change_indicator [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. + # @param ticket_change_indicator [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TicketChangeIndicator, nil] Indicates why a ticket was changed. # # @param ticket_number [String, nil] Ticket number. # @@ -3558,9 +3563,9 @@ class Travel < Increase::Internal::Type::BaseModel # # @param travel_agency_name [String, nil] Name of the travel agency if the ticket was issued by a travel agency. # - # @param trip_legs [Array, nil] Fields specific to each leg of the journey. + # @param trip_legs [Array, nil] Fields specific to each leg of the journey. - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel#ancillary + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel#ancillary class Ancillary < Increase::Internal::Type::BaseModel # @!attribute connected_ticket_document_number # If this purchase has a connection or relationship to another purchase, such as a @@ -3573,7 +3578,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute credit_reason_indicator # Indicates the reason for a credit to the cardholder. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] required :credit_reason_indicator, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator @@ -3589,7 +3594,7 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!attribute services # Additional travel charges, such as baggage fees. # - # @return [Array] + # @return [Array] required :services, -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service] @@ -3603,24 +3608,24 @@ class Ancillary < Increase::Internal::Type::BaseModel # @!method initialize(connected_ticket_document_number:, credit_reason_indicator:, passenger_name_or_description:, services:, ticket_document_number:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary} + # {Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary} # for more details. # # Ancillary purchases in addition to the airfare. # # @param connected_ticket_document_number [String, nil] If this purchase has a connection or relationship to another purchase, such as a # - # @param credit_reason_indicator [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. + # @param credit_reason_indicator [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::CreditReasonIndicator, nil] Indicates the reason for a credit to the cardholder. # # @param passenger_name_or_description [String, nil] Name of the passenger or description of the ancillary purchase. # - # @param services [Array] Additional travel charges, such as baggage fees. + # @param services [Array] Additional travel charges, such as baggage fees. # # @param ticket_document_number [String, nil] Ticket document number. # Indicates the reason for a credit to the cardholder. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary#credit_reason_indicator + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -3646,7 +3651,7 @@ class Service < Increase::Internal::Type::BaseModel # @!attribute category # Category of the ancillary service. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] required :category, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category @@ -3660,13 +3665,13 @@ class Service < Increase::Internal::Type::BaseModel required :sub_category, String, nil?: true # @!method initialize(category:, sub_category:) - # @param category [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. + # @param category [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::Category, nil] Category of the ancillary service. # # @param sub_category [String, nil] Sub-category of the ancillary service, free-form. # Category of the ancillary service. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service#category + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service#category module Category extend Increase::Internal::Type::Enum @@ -3750,7 +3755,7 @@ module Category # Indicates the reason for a credit to the cardholder. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel#credit_reason_indicator + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel#credit_reason_indicator module CreditReasonIndicator extend Increase::Internal::Type::Enum @@ -3780,7 +3785,7 @@ module CreditReasonIndicator # Indicates whether this ticket is non-refundable. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel#restricted_ticket_indicator + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel#restricted_ticket_indicator module RestrictedTicketIndicator extend Increase::Internal::Type::Enum @@ -3796,7 +3801,7 @@ module RestrictedTicketIndicator # Indicates why a ticket was changed. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel#ticket_change_indicator + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel#ticket_change_indicator module TicketChangeIndicator extend Increase::Internal::Type::Enum @@ -3847,7 +3852,7 @@ class TripLeg < Increase::Internal::Type::BaseModel # @!attribute stop_over_code # Indicates whether a stopover is allowed on this ticket. # - # @return [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] + # @return [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] required :stop_over_code, enum: -> { Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode @@ -3865,11 +3870,11 @@ class TripLeg < Increase::Internal::Type::BaseModel # # @param service_class [String, nil] Service class (e.g., first class, business class, etc.). # - # @param stop_over_code [Symbol, Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. + # @param stop_over_code [Symbol, Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::StopOverCode, nil] Indicates whether a stopover is allowed on this ticket. # Indicates whether a stopover is allowed on this ticket. # - # @see Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg#stop_over_code + # @see Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg#stop_over_code module StopOverCode extend Increase::Internal::Type::Enum @@ -3892,7 +3897,7 @@ module StopOverCode # A constant representing the object's type. For this resource it will always be # `card_settlement`. # - # @see Increase::Transaction::Source::CardSettlement#type + # @see Increase::Models::Transaction::Source::CardSettlement#type module Type extend Increase::Internal::Type::Enum @@ -3903,7 +3908,7 @@ module Type end end - # @see Increase::Transaction::Source#cashback_payment + # @see Increase::Models::Transaction::Source#cashback_payment class CashbackPayment < Increase::Internal::Type::BaseModel # @!attribute accrued_on_card_id # The card on which the cashback was accrued. @@ -3922,7 +3927,7 @@ class CashbackPayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @return [Symbol, Increase::Transaction::Source::CashbackPayment::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CashbackPayment::Currency] required :currency, enum: -> { Increase::Transaction::Source::CashbackPayment::Currency } # @!attribute period_end @@ -3939,7 +3944,7 @@ class CashbackPayment < Increase::Internal::Type::BaseModel # @!method initialize(accrued_on_card_id:, amount:, currency:, period_end:, period_start:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CashbackPayment} for more details. + # {Increase::Models::Transaction::Source::CashbackPayment} for more details. # # A Cashback Payment object. This field will be present in the JSON response if # and only if `category` is equal to `cashback_payment`. A Cashback Payment @@ -3950,7 +3955,7 @@ class CashbackPayment < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount in the minor unit of the transaction's currency. For dollars, for exa # - # @param currency [Symbol, Increase::Transaction::Source::CashbackPayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction + # @param currency [Symbol, Increase::Models::Transaction::Source::CashbackPayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # # @param period_end [Time] The end of the period for which this transaction paid cashback. # @@ -3959,7 +3964,7 @@ class CashbackPayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @see Increase::Transaction::Source::CashbackPayment#currency + # @see Increase::Models::Transaction::Source::CashbackPayment#currency module Currency extend Increase::Internal::Type::Enum @@ -3989,7 +3994,7 @@ module Currency # The type of the resource. We may add additional possible values for this enum # over time; your application should be able to handle such additions gracefully. # - # @see Increase::Transaction::Source#category + # @see Increase::Models::Transaction::Source#category module Category extend Increase::Internal::Type::Enum @@ -4090,7 +4095,7 @@ module Category # @return [Array] end - # @see Increase::Transaction::Source#check_deposit_acceptance + # @see Increase::Models::Transaction::Source#check_deposit_acceptance class CheckDepositAcceptance < Increase::Internal::Type::BaseModel # @!attribute account_number # The account number printed on the check. @@ -4122,7 +4127,7 @@ class CheckDepositAcceptance < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::Transaction::Source::CheckDepositAcceptance::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CheckDepositAcceptance::Currency] required :currency, enum: -> { Increase::Transaction::Source::CheckDepositAcceptance::Currency } # @!attribute routing_number @@ -4140,7 +4145,8 @@ class CheckDepositAcceptance < Increase::Internal::Type::BaseModel # @!method initialize(account_number:, amount:, auxiliary_on_us:, check_deposit_id:, currency:, routing_number:, serial_number:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CheckDepositAcceptance} for more details. + # {Increase::Models::Transaction::Source::CheckDepositAcceptance} for more + # details. # # A Check Deposit Acceptance object. This field will be present in the JSON # response if and only if `category` is equal to `check_deposit_acceptance`. A @@ -4156,7 +4162,7 @@ class CheckDepositAcceptance < Increase::Internal::Type::BaseModel # # @param check_deposit_id [String] The ID of the Check Deposit that was accepted. # - # @param currency [Symbol, Increase::Transaction::Source::CheckDepositAcceptance::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::Transaction::Source::CheckDepositAcceptance::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # # @param routing_number [String] The routing number printed on the check. # @@ -4165,7 +4171,7 @@ class CheckDepositAcceptance < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::Transaction::Source::CheckDepositAcceptance#currency + # @see Increase::Models::Transaction::Source::CheckDepositAcceptance#currency module Currency extend Increase::Internal::Type::Enum @@ -4192,7 +4198,7 @@ module Currency end end - # @see Increase::Transaction::Source#check_deposit_return + # @see Increase::Models::Transaction::Source#check_deposit_return class CheckDepositReturn < Increase::Internal::Type::BaseModel # @!attribute amount # The returned amount in USD cents. @@ -4210,14 +4216,14 @@ class CheckDepositReturn < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @return [Symbol, Increase::Transaction::Source::CheckDepositReturn::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::CheckDepositReturn::Currency] required :currency, enum: -> { Increase::Transaction::Source::CheckDepositReturn::Currency } # @!attribute return_reason # Why this check was returned by the bank holding the account it was drawn # against. # - # @return [Symbol, Increase::Transaction::Source::CheckDepositReturn::ReturnReason] + # @return [Symbol, Increase::Models::Transaction::Source::CheckDepositReturn::ReturnReason] required :return_reason, enum: -> { Increase::Transaction::Source::CheckDepositReturn::ReturnReason @@ -4239,7 +4245,7 @@ class CheckDepositReturn < Increase::Internal::Type::BaseModel # @!method initialize(amount:, check_deposit_id:, currency:, return_reason:, returned_at:, transaction_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CheckDepositReturn} for more details. + # {Increase::Models::Transaction::Source::CheckDepositReturn} for more details. # # A Check Deposit Return object. This field will be present in the JSON response # if and only if `category` is equal to `check_deposit_return`. A Check Deposit @@ -4252,9 +4258,9 @@ class CheckDepositReturn < Increase::Internal::Type::BaseModel # # @param check_deposit_id [String] The identifier of the Check Deposit that was returned. # - # @param currency [Symbol, Increase::Transaction::Source::CheckDepositReturn::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' + # @param currency [Symbol, Increase::Models::Transaction::Source::CheckDepositReturn::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction' # - # @param return_reason [Symbol, Increase::Transaction::Source::CheckDepositReturn::ReturnReason] Why this check was returned by the bank holding the account it was drawn against + # @param return_reason [Symbol, Increase::Models::Transaction::Source::CheckDepositReturn::ReturnReason] Why this check was returned by the bank holding the account it was drawn against # # @param returned_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # @@ -4263,7 +4269,7 @@ class CheckDepositReturn < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the # transaction's currency. # - # @see Increase::Transaction::Source::CheckDepositReturn#currency + # @see Increase::Models::Transaction::Source::CheckDepositReturn#currency module Currency extend Increase::Internal::Type::Enum @@ -4292,7 +4298,7 @@ module Currency # Why this check was returned by the bank holding the account it was drawn # against. # - # @see Increase::Transaction::Source::CheckDepositReturn#return_reason + # @see Increase::Models::Transaction::Source::CheckDepositReturn#return_reason module ReturnReason extend Increase::Internal::Type::Enum @@ -4379,7 +4385,7 @@ module ReturnReason end end - # @see Increase::Transaction::Source#check_transfer_deposit + # @see Increase::Models::Transaction::Source#check_transfer_deposit class CheckTransferDeposit < Increase::Internal::Type::BaseModel # @!attribute back_image_file_id # The identifier of the API File object containing an image of the back of the @@ -4432,12 +4438,12 @@ class CheckTransferDeposit < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `check_transfer_deposit`. # - # @return [Symbol, Increase::Transaction::Source::CheckTransferDeposit::Type] + # @return [Symbol, Increase::Models::Transaction::Source::CheckTransferDeposit::Type] required :type, enum: -> { Increase::Transaction::Source::CheckTransferDeposit::Type } # @!method initialize(back_image_file_id:, bank_of_first_deposit_routing_number:, deposited_at:, front_image_file_id:, inbound_check_deposit_id:, transaction_id:, transfer_id:, type:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::CheckTransferDeposit} for more details. + # {Increase::Models::Transaction::Source::CheckTransferDeposit} for more details. # # A Check Transfer Deposit object. This field will be present in the JSON response # if and only if `category` is equal to `check_transfer_deposit`. An Inbound Check @@ -4458,12 +4464,12 @@ class CheckTransferDeposit < Increase::Internal::Type::BaseModel # # @param transfer_id [String, nil] The identifier of the Check Transfer object that was deposited. # - # @param type [Symbol, Increase::Transaction::Source::CheckTransferDeposit::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::Transaction::Source::CheckTransferDeposit::Type] A constant representing the object's type. For this resource it will always be ` # A constant representing the object's type. For this resource it will always be # `check_transfer_deposit`. # - # @see Increase::Transaction::Source::CheckTransferDeposit#type + # @see Increase::Models::Transaction::Source::CheckTransferDeposit#type module Type extend Increase::Internal::Type::Enum @@ -4474,7 +4480,7 @@ module Type end end - # @see Increase::Transaction::Source#fee_payment + # @see Increase::Models::Transaction::Source#fee_payment class FeePayment < Increase::Internal::Type::BaseModel # @!attribute amount # The amount in the minor unit of the transaction's currency. For dollars, for @@ -4487,7 +4493,7 @@ class FeePayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @return [Symbol, Increase::Transaction::Source::FeePayment::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::FeePayment::Currency] required :currency, enum: -> { Increase::Transaction::Source::FeePayment::Currency } # @!attribute fee_period_start @@ -4504,7 +4510,7 @@ class FeePayment < Increase::Internal::Type::BaseModel # @!method initialize(amount:, currency:, fee_period_start:, program_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::FeePayment} for more details. + # {Increase::Models::Transaction::Source::FeePayment} for more details. # # A Fee Payment object. This field will be present in the JSON response if and # only if `category` is equal to `fee_payment`. A Fee Payment represents a payment @@ -4512,7 +4518,7 @@ class FeePayment < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount in the minor unit of the transaction's currency. For dollars, for exa # - # @param currency [Symbol, Increase::Transaction::Source::FeePayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction + # @param currency [Symbol, Increase::Models::Transaction::Source::FeePayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # # @param fee_period_start [Date] The start of this payment's fee period, usually the first day of a month. # @@ -4521,7 +4527,7 @@ class FeePayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @see Increase::Transaction::Source::FeePayment#currency + # @see Increase::Models::Transaction::Source::FeePayment#currency module Currency extend Increase::Internal::Type::Enum @@ -4548,12 +4554,12 @@ module Currency end end - # @see Increase::Transaction::Source#inbound_ach_transfer + # @see Increase::Models::Transaction::Source#inbound_ach_transfer class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!attribute addenda # Additional information sent from the originator. # - # @return [Increase::Transaction::Source::InboundACHTransfer::Addenda, nil] + # @return [Increase::Models::Transaction::Source::InboundACHTransfer::Addenda, nil] required :addenda, -> { Increase::Transaction::Source::InboundACHTransfer::Addenda }, nil?: true # @!attribute amount @@ -4624,14 +4630,14 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # @!method initialize(addenda:, amount:, originator_company_descriptive_date:, originator_company_discretionary_data:, originator_company_entry_description:, originator_company_id:, originator_company_name:, receiver_id_number:, receiver_name:, trace_number:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::InboundACHTransfer} for more details. + # {Increase::Models::Transaction::Source::InboundACHTransfer} for more details. # # An Inbound ACH Transfer Intention object. This field will be present in the JSON # response if and only if `category` is equal to `inbound_ach_transfer`. An # Inbound ACH Transfer Intention is created when an ACH transfer is initiated at # another bank and received by Increase. # - # @param addenda [Increase::Transaction::Source::InboundACHTransfer::Addenda, nil] Additional information sent from the originator. + # @param addenda [Increase::Models::Transaction::Source::InboundACHTransfer::Addenda, nil] Additional information sent from the originator. # # @param amount [Integer] The transfer amount in USD cents. # @@ -4653,12 +4659,12 @@ class InboundACHTransfer < Increase::Internal::Type::BaseModel # # @param transfer_id [String] The Inbound ACH Transfer's identifier. - # @see Increase::Transaction::Source::InboundACHTransfer#addenda + # @see Increase::Models::Transaction::Source::InboundACHTransfer#addenda class Addenda < Increase::Internal::Type::BaseModel # @!attribute category # The type of addendum. # - # @return [Symbol, Increase::Transaction::Source::InboundACHTransfer::Addenda::Category] + # @return [Symbol, Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::Category] required :category, enum: -> { Increase::Transaction::Source::InboundACHTransfer::Addenda::Category @@ -4667,7 +4673,7 @@ class Addenda < Increase::Internal::Type::BaseModel # @!attribute freeform # Unstructured `payment_related_information` passed through by the originator. # - # @return [Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform, nil] + # @return [Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::Freeform, nil] required :freeform, -> { Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform }, nil?: true @@ -4675,13 +4681,13 @@ class Addenda < Increase::Internal::Type::BaseModel # @!method initialize(category:, freeform:) # Additional information sent from the originator. # - # @param category [Symbol, Increase::Transaction::Source::InboundACHTransfer::Addenda::Category] The type of addendum. + # @param category [Symbol, Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::Category] The type of addendum. # - # @param freeform [Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform, nil] Unstructured `payment_related_information` passed through by the originator. + # @param freeform [Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::Freeform, nil] Unstructured `payment_related_information` passed through by the originator. # The type of addendum. # - # @see Increase::Transaction::Source::InboundACHTransfer::Addenda#category + # @see Increase::Models::Transaction::Source::InboundACHTransfer::Addenda#category module Category extend Increase::Internal::Type::Enum @@ -4692,12 +4698,12 @@ module Category # @return [Array] end - # @see Increase::Transaction::Source::InboundACHTransfer::Addenda#freeform + # @see Increase::Models::Transaction::Source::InboundACHTransfer::Addenda#freeform class Freeform < Increase::Internal::Type::BaseModel # @!attribute entries # Each entry represents an addendum received from the originator. # - # @return [Array] + # @return [Array] required :entries, -> { Increase::Internal::Type::ArrayOf[Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform::Entry] @@ -4706,7 +4712,7 @@ class Freeform < Increase::Internal::Type::BaseModel # @!method initialize(entries:) # Unstructured `payment_related_information` passed through by the originator. # - # @param entries [Array] Each entry represents an addendum received from the originator. + # @param entries [Array] Each entry represents an addendum received from the originator. class Entry < Increase::Internal::Type::BaseModel # @!attribute payment_related_information @@ -4722,7 +4728,7 @@ class Entry < Increase::Internal::Type::BaseModel end end - # @see Increase::Transaction::Source#inbound_ach_transfer_return_intention + # @see Increase::Models::Transaction::Source#inbound_ach_transfer_return_intention class InboundACHTransferReturnIntention < Increase::Internal::Type::BaseModel # @!attribute inbound_ach_transfer_id # The ID of the Inbound ACH Transfer that is being returned. @@ -4740,7 +4746,7 @@ class InboundACHTransferReturnIntention < Increase::Internal::Type::BaseModel # @param inbound_ach_transfer_id [String] The ID of the Inbound ACH Transfer that is being returned. end - # @see Increase::Transaction::Source#inbound_check_adjustment + # @see Increase::Models::Transaction::Source#inbound_check_adjustment class InboundCheckAdjustment < Increase::Internal::Type::BaseModel # @!attribute adjusted_transaction_id # The ID of the transaction that was adjusted. @@ -4757,7 +4763,7 @@ class InboundCheckAdjustment < Increase::Internal::Type::BaseModel # @!attribute reason # The reason for the adjustment. # - # @return [Symbol, Increase::Transaction::Source::InboundCheckAdjustment::Reason] + # @return [Symbol, Increase::Models::Transaction::Source::InboundCheckAdjustment::Reason] required :reason, enum: -> { Increase::Transaction::Source::InboundCheckAdjustment::Reason } # @!method initialize(adjusted_transaction_id:, amount:, reason:) @@ -4770,11 +4776,11 @@ class InboundCheckAdjustment < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount of the check adjustment. # - # @param reason [Symbol, Increase::Transaction::Source::InboundCheckAdjustment::Reason] The reason for the adjustment. + # @param reason [Symbol, Increase::Models::Transaction::Source::InboundCheckAdjustment::Reason] The reason for the adjustment. # The reason for the adjustment. # - # @see Increase::Transaction::Source::InboundCheckAdjustment#reason + # @see Increase::Models::Transaction::Source::InboundCheckAdjustment#reason module Reason extend Increase::Internal::Type::Enum @@ -4795,7 +4801,7 @@ module Reason end end - # @see Increase::Transaction::Source#inbound_check_deposit_return_intention + # @see Increase::Models::Transaction::Source#inbound_check_deposit_return_intention class InboundCheckDepositReturnIntention < Increase::Internal::Type::BaseModel # @!attribute inbound_check_deposit_id # The ID of the Inbound Check Deposit that is being returned. @@ -4821,7 +4827,7 @@ class InboundCheckDepositReturnIntention < Increase::Internal::Type::BaseModel # @param transfer_id [String, nil] The identifier of the Check Transfer object that was deposited. end - # @see Increase::Transaction::Source#inbound_real_time_payments_transfer_confirmation + # @see Increase::Models::Transaction::Source#inbound_real_time_payments_transfer_confirmation class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::BaseModel # @!attribute amount # The amount in the minor unit of the transfer's currency. For dollars, for @@ -4840,7 +4846,7 @@ class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::Ba # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's # currency. This will always be "USD" for a Real-Time Payments transfer. # - # @return [Symbol, Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency] required :currency, enum: -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency @@ -4884,8 +4890,8 @@ class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::Ba # @!method initialize(amount:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, remittance_information:, transaction_identification:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation} for - # more details. + # {Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation} + # for more details. # # An Inbound Real-Time Payments Transfer Confirmation object. This field will be # present in the JSON response if and only if `category` is equal to @@ -4897,7 +4903,7 @@ class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::Ba # # @param creditor_name [String] The name the sender of the transfer specified as the recipient of the transfer. # - # @param currency [Symbol, Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's cu + # @param currency [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's cu # # @param debtor_account_number [String] The account number of the account that sent the transfer. # @@ -4914,7 +4920,7 @@ class InboundRealTimePaymentsTransferConfirmation < Increase::Internal::Type::Ba # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's # currency. This will always be "USD" for a Real-Time Payments transfer. # - # @see Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation#currency + # @see Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation#currency module Currency extend Increase::Internal::Type::Enum @@ -4941,7 +4947,7 @@ module Currency end end - # @see Increase::Transaction::Source#inbound_real_time_payments_transfer_decline + # @see Increase::Models::Transaction::Source#inbound_real_time_payments_transfer_decline class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseModel # @!attribute amount # The declined amount in the minor unit of the destination account currency. For @@ -4961,7 +4967,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # transfer's currency. This will always be "USD" for a Real-Time Payments # transfer. # - # @return [Symbol, Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency] required :currency, enum: -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency @@ -4988,7 +4994,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # @!attribute reason # Why the transfer was declined. # - # @return [Symbol, Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason] + # @return [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason] required :reason, enum: -> { Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason } @@ -5012,8 +5018,8 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # @!method initialize(amount:, creditor_name:, currency:, debtor_account_number:, debtor_name:, debtor_routing_number:, reason:, remittance_information:, transaction_identification:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline} for more - # details. + # {Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline} + # for more details. # # An Inbound Real-Time Payments Transfer Decline object. This field will be # present in the JSON response if and only if `category` is equal to @@ -5023,7 +5029,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # # @param creditor_name [String] The name the sender of the transfer specified as the recipient of the transfer. # - # @param currency [Symbol, Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined tran + # @param currency [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the declined tran # # @param debtor_account_number [String] The account number of the account that sent the transfer. # @@ -5031,7 +5037,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # # @param debtor_routing_number [String] The routing number of the account that sent the transfer. # - # @param reason [Symbol, Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason] Why the transfer was declined. + # @param reason [Symbol, Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::Reason] Why the transfer was declined. # # @param remittance_information [String, nil] Additional information included with the transfer. # @@ -5043,7 +5049,7 @@ class InboundRealTimePaymentsTransferDecline < Increase::Internal::Type::BaseMod # transfer's currency. This will always be "USD" for a Real-Time Payments # transfer. # - # @see Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline#currency + # @see Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline#currency module Currency extend Increase::Internal::Type::Enum @@ -5071,7 +5077,7 @@ module Currency # Why the transfer was declined. # - # @see Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline#reason + # @see Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline#reason module Reason extend Increase::Internal::Type::Enum @@ -5098,7 +5104,7 @@ module Reason end end - # @see Increase::Transaction::Source#inbound_wire_reversal + # @see Increase::Models::Transaction::Source#inbound_wire_reversal class InboundWireReversal < Increase::Internal::Type::BaseModel # @!attribute amount # The amount that was reversed in USD cents. @@ -5209,7 +5215,7 @@ class InboundWireReversal < Increase::Internal::Type::BaseModel # @!method initialize(amount:, created_at:, description:, financial_institution_to_financial_institution_information:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, originator_routing_number:, previous_message_input_cycle_date:, previous_message_input_message_accountability_data:, previous_message_input_sequence_number:, previous_message_input_source:, receiver_financial_institution_information:, sender_reference:, transaction_id:, wire_transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::InboundWireReversal} for more details. + # {Increase::Models::Transaction::Source::InboundWireReversal} for more details. # # An Inbound Wire Reversal object. This field will be present in the JSON response # if and only if `category` is equal to `inbound_wire_reversal`. An Inbound Wire @@ -5252,7 +5258,7 @@ class InboundWireReversal < Increase::Internal::Type::BaseModel # @param wire_transfer_id [String] The ID for the Wire Transfer that is being reversed. end - # @see Increase::Transaction::Source#inbound_wire_transfer + # @see Increase::Models::Transaction::Source#inbound_wire_transfer class InboundWireTransfer < Increase::Internal::Type::BaseModel # @!attribute amount # The amount in USD cents. @@ -5373,7 +5379,7 @@ class InboundWireTransfer < Increase::Internal::Type::BaseModel # @!method initialize(amount:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, beneficiary_reference:, description:, input_message_accountability_data:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, originator_routing_number:, originator_to_beneficiary_information:, originator_to_beneficiary_information_line1:, originator_to_beneficiary_information_line2:, originator_to_beneficiary_information_line3:, originator_to_beneficiary_information_line4:, transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::InboundWireTransfer} for more details. + # {Increase::Models::Transaction::Source::InboundWireTransfer} for more details. # # An Inbound Wire Transfer Intention object. This field will be present in the # JSON response if and only if `category` is equal to `inbound_wire_transfer`. An @@ -5419,7 +5425,7 @@ class InboundWireTransfer < Increase::Internal::Type::BaseModel # @param transfer_id [String] The ID of the Inbound Wire Transfer object that resulted in this Transaction. end - # @see Increase::Transaction::Source#inbound_wire_transfer_reversal + # @see Increase::Models::Transaction::Source#inbound_wire_transfer_reversal class InboundWireTransferReversal < Increase::Internal::Type::BaseModel # @!attribute inbound_wire_transfer_id # The ID of the Inbound Wire Transfer that is being reversed. @@ -5437,7 +5443,7 @@ class InboundWireTransferReversal < Increase::Internal::Type::BaseModel # @param inbound_wire_transfer_id [String] The ID of the Inbound Wire Transfer that is being reversed. end - # @see Increase::Transaction::Source#interest_payment + # @see Increase::Models::Transaction::Source#interest_payment class InterestPayment < Increase::Internal::Type::BaseModel # @!attribute accrued_on_account_id # The account on which the interest was accrued. @@ -5456,7 +5462,7 @@ class InterestPayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @return [Symbol, Increase::Transaction::Source::InterestPayment::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::InterestPayment::Currency] required :currency, enum: -> { Increase::Transaction::Source::InterestPayment::Currency } # @!attribute period_end @@ -5473,7 +5479,7 @@ class InterestPayment < Increase::Internal::Type::BaseModel # @!method initialize(accrued_on_account_id:, amount:, currency:, period_end:, period_start:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::InterestPayment} for more details. + # {Increase::Models::Transaction::Source::InterestPayment} for more details. # # An Interest Payment object. This field will be present in the JSON response if # and only if `category` is equal to `interest_payment`. An Interest Payment @@ -5484,7 +5490,7 @@ class InterestPayment < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount in the minor unit of the transaction's currency. For dollars, for exa # - # @param currency [Symbol, Increase::Transaction::Source::InterestPayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction + # @param currency [Symbol, Increase::Models::Transaction::Source::InterestPayment::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # # @param period_end [Time] The end of the period for which this transaction paid interest. # @@ -5493,7 +5499,7 @@ class InterestPayment < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @see Increase::Transaction::Source::InterestPayment#currency + # @see Increase::Models::Transaction::Source::InterestPayment#currency module Currency extend Increase::Internal::Type::Enum @@ -5520,7 +5526,7 @@ module Currency end end - # @see Increase::Transaction::Source#internal_source + # @see Increase::Models::Transaction::Source#internal_source class InternalSource < Increase::Internal::Type::BaseModel # @!attribute amount # The amount in the minor unit of the transaction's currency. For dollars, for @@ -5533,19 +5539,19 @@ class InternalSource < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @return [Symbol, Increase::Transaction::Source::InternalSource::Currency] + # @return [Symbol, Increase::Models::Transaction::Source::InternalSource::Currency] required :currency, enum: -> { Increase::Transaction::Source::InternalSource::Currency } # @!attribute reason # An Internal Source is a transaction between you and Increase. This describes the # reason for the transaction. # - # @return [Symbol, Increase::Transaction::Source::InternalSource::Reason] + # @return [Symbol, Increase::Models::Transaction::Source::InternalSource::Reason] required :reason, enum: -> { Increase::Transaction::Source::InternalSource::Reason } # @!method initialize(amount:, currency:, reason:) # Some parameter documentations has been truncated, see - # {Increase::Transaction::Source::InternalSource} for more details. + # {Increase::Models::Transaction::Source::InternalSource} for more details. # # An Internal Source object. This field will be present in the JSON response if # and only if `category` is equal to `internal_source`. A transaction between the @@ -5553,14 +5559,14 @@ class InternalSource < Increase::Internal::Type::BaseModel # # @param amount [Integer] The amount in the minor unit of the transaction's currency. For dollars, for exa # - # @param currency [Symbol, Increase::Transaction::Source::InternalSource::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction + # @param currency [Symbol, Increase::Models::Transaction::Source::InternalSource::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # - # @param reason [Symbol, Increase::Transaction::Source::InternalSource::Reason] An Internal Source is a transaction between you and Increase. This describes the + # @param reason [Symbol, Increase::Models::Transaction::Source::InternalSource::Reason] An Internal Source is a transaction between you and Increase. This describes the # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transaction # currency. # - # @see Increase::Transaction::Source::InternalSource#currency + # @see Increase::Models::Transaction::Source::InternalSource#currency module Currency extend Increase::Internal::Type::Enum @@ -5589,7 +5595,7 @@ module Currency # An Internal Source is a transaction between you and Increase. This describes the # reason for the transaction. # - # @see Increase::Transaction::Source::InternalSource#reason + # @see Increase::Models::Transaction::Source::InternalSource#reason module Reason extend Increase::Internal::Type::Enum @@ -5643,7 +5649,7 @@ module Reason end end - # @see Increase::Transaction::Source#outbound_card_push_transfer_acceptance + # @see Increase::Models::Transaction::Source#outbound_card_push_transfer_acceptance class OutboundCardPushTransferAcceptance < Increase::Internal::Type::BaseModel # @!attribute amount # The transfer amount in USD cents. @@ -5669,7 +5675,7 @@ class OutboundCardPushTransferAcceptance < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the Outbound Card Push Transfer that led to this Transaction. end - # @see Increase::Transaction::Source#real_time_payments_transfer_acknowledgement + # @see Increase::Models::Transaction::Source#real_time_payments_transfer_acknowledgement class RealTimePaymentsTransferAcknowledgement < Increase::Internal::Type::BaseModel # @!attribute amount # The transfer amount in USD cents. @@ -5719,7 +5725,7 @@ class RealTimePaymentsTransferAcknowledgement < Increase::Internal::Type::BaseMo # @param transfer_id [String] The identifier of the Real-Time Payments Transfer that led to this Transaction. end - # @see Increase::Transaction::Source#sample_funds + # @see Increase::Models::Transaction::Source#sample_funds class SampleFunds < Increase::Internal::Type::BaseModel # @!attribute originator # Where the sample funds came from. @@ -5735,7 +5741,7 @@ class SampleFunds < Increase::Internal::Type::BaseModel # @param originator [String] Where the sample funds came from. end - # @see Increase::Transaction::Source#swift_transfer_intention + # @see Increase::Models::Transaction::Source#swift_transfer_intention class SwiftTransferIntention < Increase::Internal::Type::BaseModel # @!attribute transfer_id # The identifier of the Swift Transfer that led to this Transaction. @@ -5751,7 +5757,7 @@ class SwiftTransferIntention < Increase::Internal::Type::BaseModel # @param transfer_id [String] The identifier of the Swift Transfer that led to this Transaction. end - # @see Increase::Transaction::Source#wire_transfer_intention + # @see Increase::Models::Transaction::Source#wire_transfer_intention class WireTransferIntention < Increase::Internal::Type::BaseModel # @!attribute account_number # The destination account number. @@ -5803,7 +5809,7 @@ class WireTransferIntention < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `transaction`. # - # @see Increase::Transaction#type + # @see Increase::Models::Transaction#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/transaction_list_params.rb b/lib/increase/models/transaction_list_params.rb index 076f3364e..21a8bfdfc 100644 --- a/lib/increase/models/transaction_list_params.rb +++ b/lib/increase/models/transaction_list_params.rb @@ -15,12 +15,12 @@ class TransactionListParams < Increase::Internal::Type::BaseModel # @!attribute category # - # @return [Increase::TransactionListParams::Category, nil] + # @return [Increase::Models::TransactionListParams::Category, nil] optional :category, -> { Increase::TransactionListParams::Category } # @!attribute created_at # - # @return [Increase::TransactionListParams::CreatedAt, nil] + # @return [Increase::Models::TransactionListParams::CreatedAt, nil] optional :created_at, -> { Increase::TransactionListParams::CreatedAt } # @!attribute cursor @@ -49,9 +49,9 @@ class TransactionListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Transactions for those belonging to the specified Account. # - # @param category [Increase::TransactionListParams::Category] + # @param category [Increase::Models::TransactionListParams::Category] # - # @param created_at [Increase::TransactionListParams::CreatedAt] + # @param created_at [Increase::Models::TransactionListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -66,7 +66,7 @@ class Category < Increase::Internal::Type::BaseModel # Return results whose value is in the provided list. For GET requests, this # should be encoded as a comma-delimited string, such as `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::TransactionListParams::Category::In] @@ -75,9 +75,9 @@ class Category < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::TransactionListParams::Category} for more details. + # {Increase::Models::TransactionListParams::Category} for more details. # - # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul + # @param in_ [Array] Return results whose value is in the provided list. For GET requests, this shoul module In extend Increase::Internal::Type::Enum @@ -211,7 +211,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::TransactionListParams::CreatedAt} for more details. + # {Increase::Models::TransactionListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/models/wire_drawdown_request.rb b/lib/increase/models/wire_drawdown_request.rb index 1ee5823a9..31a39594b 100644 --- a/lib/increase/models/wire_drawdown_request.rb +++ b/lib/increase/models/wire_drawdown_request.rb @@ -121,26 +121,26 @@ class WireDrawdownRequest < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the drawdown request. # - # @return [Symbol, Increase::WireDrawdownRequest::Status] + # @return [Symbol, Increase::Models::WireDrawdownRequest::Status] required :status, enum: -> { Increase::WireDrawdownRequest::Status } # @!attribute submission # After the drawdown request is submitted to Fedwire, this will contain # supplemental details. # - # @return [Increase::WireDrawdownRequest::Submission, nil] + # @return [Increase::Models::WireDrawdownRequest::Submission, nil] required :submission, -> { Increase::WireDrawdownRequest::Submission }, nil?: true # @!attribute type # A constant representing the object's type. For this resource it will always be # `wire_drawdown_request`. # - # @return [Symbol, Increase::WireDrawdownRequest::Type] + # @return [Symbol, Increase::Models::WireDrawdownRequest::Type] required :type, enum: -> { Increase::WireDrawdownRequest::Type } # @!method initialize(id:, account_number_id:, amount:, created_at:, currency:, fulfillment_inbound_wire_transfer_id:, idempotency_key:, message_to_recipient:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, recipient_account_number:, recipient_address_line1:, recipient_address_line2:, recipient_address_line3:, recipient_name:, recipient_routing_number:, status:, submission:, type:) # Some parameter documentations has been truncated, see - # {Increase::WireDrawdownRequest} for more details. + # {Increase::Models::WireDrawdownRequest} for more details. # # Wire drawdown requests enable you to request that someone else send you a wire. # This feature is in beta; reach out to @@ -182,15 +182,15 @@ class WireDrawdownRequest < Increase::Internal::Type::BaseModel # # @param recipient_routing_number [String] The drawdown request's recipient's routing number. # - # @param status [Symbol, Increase::WireDrawdownRequest::Status] The lifecycle status of the drawdown request. + # @param status [Symbol, Increase::Models::WireDrawdownRequest::Status] The lifecycle status of the drawdown request. # - # @param submission [Increase::WireDrawdownRequest::Submission, nil] After the drawdown request is submitted to Fedwire, this will contain supplement + # @param submission [Increase::Models::WireDrawdownRequest::Submission, nil] After the drawdown request is submitted to Fedwire, this will contain supplement # - # @param type [Symbol, Increase::WireDrawdownRequest::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::WireDrawdownRequest::Type] A constant representing the object's type. For this resource it will always be ` # The lifecycle status of the drawdown request. # - # @see Increase::WireDrawdownRequest#status + # @see Increase::Models::WireDrawdownRequest#status module Status extend Increase::Internal::Type::Enum @@ -210,7 +210,7 @@ module Status # @return [Array] end - # @see Increase::WireDrawdownRequest#submission + # @see Increase::Models::WireDrawdownRequest#submission class Submission < Increase::Internal::Type::BaseModel # @!attribute input_message_accountability_data # The input message accountability data (IMAD) uniquely identifying the submission @@ -221,7 +221,7 @@ class Submission < Increase::Internal::Type::BaseModel # @!method initialize(input_message_accountability_data:) # Some parameter documentations has been truncated, see - # {Increase::WireDrawdownRequest::Submission} for more details. + # {Increase::Models::WireDrawdownRequest::Submission} for more details. # # After the drawdown request is submitted to Fedwire, this will contain # supplemental details. @@ -232,7 +232,7 @@ class Submission < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `wire_drawdown_request`. # - # @see Increase::WireDrawdownRequest#type + # @see Increase::Models::WireDrawdownRequest#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/wire_drawdown_request_list_params.rb b/lib/increase/models/wire_drawdown_request_list_params.rb index 2fe36592b..643664b24 100644 --- a/lib/increase/models/wire_drawdown_request_list_params.rb +++ b/lib/increase/models/wire_drawdown_request_list_params.rb @@ -31,7 +31,7 @@ class WireDrawdownRequestListParams < Increase::Internal::Type::BaseModel # @!attribute status # - # @return [Increase::WireDrawdownRequestListParams::Status, nil] + # @return [Increase::Models::WireDrawdownRequestListParams::Status, nil] optional :status, -> { Increase::WireDrawdownRequestListParams::Status } # @!method initialize(cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) @@ -44,7 +44,7 @@ class WireDrawdownRequestListParams < Increase::Internal::Type::BaseModel # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::WireDrawdownRequestListParams::Status] + # @param status [Increase::Models::WireDrawdownRequestListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] @@ -54,7 +54,7 @@ class Status < Increase::Internal::Type::BaseModel # requests, this should be encoded as a comma-delimited string, such as # `?in=one,two,three`. # - # @return [Array, nil] + # @return [Array, nil] optional :in_, -> { Increase::Internal::Type::ArrayOf[enum: Increase::WireDrawdownRequestListParams::Status::In] @@ -63,9 +63,9 @@ class Status < Increase::Internal::Type::BaseModel # @!method initialize(in_: nil) # Some parameter documentations has been truncated, see - # {Increase::WireDrawdownRequestListParams::Status} for more details. + # {Increase::Models::WireDrawdownRequestListParams::Status} for more details. # - # @param in_ [Array] Filter Wire Drawdown Requests for those with the specified status. For GET reque + # @param in_ [Array] Filter Wire Drawdown Requests for those with the specified status. For GET reque module In extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/wire_transfer.rb b/lib/increase/models/wire_transfer.rb index f08f80bc8..9910b7f7b 100644 --- a/lib/increase/models/wire_transfer.rb +++ b/lib/increase/models/wire_transfer.rb @@ -32,7 +32,7 @@ class WireTransfer < Increase::Internal::Type::BaseModel # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. # - # @return [Increase::WireTransfer::Approval, nil] + # @return [Increase::Models::WireTransfer::Approval, nil] required :approval, -> { Increase::WireTransfer::Approval }, nil?: true # @!attribute beneficiary_address_line1 @@ -63,7 +63,7 @@ class WireTransfer < Increase::Internal::Type::BaseModel # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. # - # @return [Increase::WireTransfer::Cancellation, nil] + # @return [Increase::Models::WireTransfer::Cancellation, nil] required :cancellation, -> { Increase::WireTransfer::Cancellation }, nil?: true # @!attribute created_at @@ -76,14 +76,14 @@ class WireTransfer < Increase::Internal::Type::BaseModel # @!attribute created_by # What object created the transfer, either via the API or the dashboard. # - # @return [Increase::WireTransfer::CreatedBy, nil] + # @return [Increase::Models::WireTransfer::CreatedBy, nil] required :created_by, -> { Increase::WireTransfer::CreatedBy }, nil?: true # @!attribute currency # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's # currency. For wire transfers this is always equal to `usd`. # - # @return [Symbol, Increase::WireTransfer::Currency] + # @return [Symbol, Increase::Models::WireTransfer::Currency] required :currency, enum: -> { Increase::WireTransfer::Currency } # @!attribute external_account_id @@ -109,7 +109,7 @@ class WireTransfer < Increase::Internal::Type::BaseModel # @!attribute network # The transfer's network. # - # @return [Symbol, Increase::WireTransfer::Network] + # @return [Symbol, Increase::Models::WireTransfer::Network] required :network, enum: -> { Increase::WireTransfer::Network } # @!attribute originator_address_line1 @@ -148,7 +148,7 @@ class WireTransfer < Increase::Internal::Type::BaseModel # @!attribute reversal # If your transfer is reversed, this will contain details of the reversal. # - # @return [Increase::WireTransfer::Reversal, nil] + # @return [Increase::Models::WireTransfer::Reversal, nil] required :reversal, -> { Increase::WireTransfer::Reversal }, nil?: true # @!attribute routing_number @@ -166,14 +166,14 @@ class WireTransfer < Increase::Internal::Type::BaseModel # @!attribute status # The lifecycle status of the transfer. # - # @return [Symbol, Increase::WireTransfer::Status] + # @return [Symbol, Increase::Models::WireTransfer::Status] required :status, enum: -> { Increase::WireTransfer::Status } # @!attribute submission # After the transfer is submitted to Fedwire, this will contain supplemental # details. # - # @return [Increase::WireTransfer::Submission, nil] + # @return [Increase::Models::WireTransfer::Submission, nil] required :submission, -> { Increase::WireTransfer::Submission }, nil?: true # @!attribute transaction_id @@ -186,12 +186,12 @@ class WireTransfer < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `wire_transfer`. # - # @return [Symbol, Increase::WireTransfer::Type] + # @return [Symbol, Increase::Models::WireTransfer::Type] required :type, enum: -> { Increase::WireTransfer::Type } # @!method initialize(id:, account_id:, account_number:, amount:, approval:, beneficiary_address_line1:, beneficiary_address_line2:, beneficiary_address_line3:, beneficiary_name:, cancellation:, created_at:, created_by:, currency:, external_account_id:, idempotency_key:, message_to_recipient:, network:, originator_address_line1:, originator_address_line2:, originator_address_line3:, originator_name:, pending_transaction_id:, reversal:, routing_number:, source_account_number_id:, status:, submission:, transaction_id:, type:) - # Some parameter documentations has been truncated, see {Increase::WireTransfer} - # for more details. + # Some parameter documentations has been truncated, see + # {Increase::Models::WireTransfer} for more details. # # Wire transfers move funds between your Increase account and any other account # accessible by Fedwire. @@ -204,7 +204,7 @@ class WireTransfer < Increase::Internal::Type::BaseModel # # @param amount [Integer] The transfer amount in USD cents. # - # @param approval [Increase::WireTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, + # @param approval [Increase::Models::WireTransfer::Approval, nil] If your account requires approvals for transfers and the transfer was approved, # # @param beneficiary_address_line1 [String, nil] The beneficiary's address line 1. # @@ -214,13 +214,13 @@ class WireTransfer < Increase::Internal::Type::BaseModel # # @param beneficiary_name [String, nil] The beneficiary's name. # - # @param cancellation [Increase::WireTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv + # @param cancellation [Increase::Models::WireTransfer::Cancellation, nil] If your account requires approvals for transfers and the transfer was not approv # # @param created_at [Time] The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which th # - # @param created_by [Increase::WireTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. + # @param created_by [Increase::Models::WireTransfer::CreatedBy, nil] What object created the transfer, either via the API or the dashboard. # - # @param currency [Symbol, Increase::WireTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c + # @param currency [Symbol, Increase::Models::WireTransfer::Currency] The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's c # # @param external_account_id [String, nil] The identifier of the External Account the transfer was made to, if any. # @@ -228,7 +228,7 @@ class WireTransfer < Increase::Internal::Type::BaseModel # # @param message_to_recipient [String, nil] The message that will show on the recipient's bank statement. # - # @param network [Symbol, Increase::WireTransfer::Network] The transfer's network. + # @param network [Symbol, Increase::Models::WireTransfer::Network] The transfer's network. # # @param originator_address_line1 [String, nil] The originator's address line 1. # @@ -240,21 +240,21 @@ class WireTransfer < Increase::Internal::Type::BaseModel # # @param pending_transaction_id [String, nil] The ID for the pending transaction representing the transfer. A pending transact # - # @param reversal [Increase::WireTransfer::Reversal, nil] If your transfer is reversed, this will contain details of the reversal. + # @param reversal [Increase::Models::WireTransfer::Reversal, nil] If your transfer is reversed, this will contain details of the reversal. # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN). # # @param source_account_number_id [String, nil] The Account Number that was passed to the wire's recipient. # - # @param status [Symbol, Increase::WireTransfer::Status] The lifecycle status of the transfer. + # @param status [Symbol, Increase::Models::WireTransfer::Status] The lifecycle status of the transfer. # - # @param submission [Increase::WireTransfer::Submission, nil] After the transfer is submitted to Fedwire, this will contain supplemental detai + # @param submission [Increase::Models::WireTransfer::Submission, nil] After the transfer is submitted to Fedwire, this will contain supplemental detai # # @param transaction_id [String, nil] The ID for the transaction funding the transfer. # - # @param type [Symbol, Increase::WireTransfer::Type] A constant representing the object's type. For this resource it will always be ` + # @param type [Symbol, Increase::Models::WireTransfer::Type] A constant representing the object's type. For this resource it will always be ` - # @see Increase::WireTransfer#approval + # @see Increase::Models::WireTransfer#approval class Approval < Increase::Internal::Type::BaseModel # @!attribute approved_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -272,7 +272,7 @@ class Approval < Increase::Internal::Type::BaseModel # @!method initialize(approved_at:, approved_by:) # Some parameter documentations has been truncated, see - # {Increase::WireTransfer::Approval} for more details. + # {Increase::Models::WireTransfer::Approval} for more details. # # If your account requires approvals for transfers and the transfer was approved, # this will contain details of the approval. @@ -282,7 +282,7 @@ class Approval < Increase::Internal::Type::BaseModel # @param approved_by [String, nil] If the Transfer was approved by a user in the dashboard, the email address of th end - # @see Increase::WireTransfer#cancellation + # @see Increase::Models::WireTransfer#cancellation class Cancellation < Increase::Internal::Type::BaseModel # @!attribute canceled_at # The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which @@ -300,7 +300,7 @@ class Cancellation < Increase::Internal::Type::BaseModel # @!method initialize(canceled_at:, canceled_by:) # Some parameter documentations has been truncated, see - # {Increase::WireTransfer::Cancellation} for more details. + # {Increase::Models::WireTransfer::Cancellation} for more details. # # If your account requires approvals for transfers and the transfer was not # approved, this will contain details of the cancellation. @@ -310,44 +310,44 @@ class Cancellation < Increase::Internal::Type::BaseModel # @param canceled_by [String, nil] If the Transfer was canceled by a user in the dashboard, the email address of th end - # @see Increase::WireTransfer#created_by + # @see Increase::Models::WireTransfer#created_by class CreatedBy < Increase::Internal::Type::BaseModel # @!attribute api_key # If present, details about the API key that created the transfer. # - # @return [Increase::WireTransfer::CreatedBy::APIKey, nil] + # @return [Increase::Models::WireTransfer::CreatedBy::APIKey, nil] required :api_key, -> { Increase::WireTransfer::CreatedBy::APIKey }, nil?: true # @!attribute category # The type of object that created this transfer. # - # @return [Symbol, Increase::WireTransfer::CreatedBy::Category] + # @return [Symbol, Increase::Models::WireTransfer::CreatedBy::Category] required :category, enum: -> { Increase::WireTransfer::CreatedBy::Category } # @!attribute oauth_application # If present, details about the OAuth Application that created the transfer. # - # @return [Increase::WireTransfer::CreatedBy::OAuthApplication, nil] + # @return [Increase::Models::WireTransfer::CreatedBy::OAuthApplication, nil] required :oauth_application, -> { Increase::WireTransfer::CreatedBy::OAuthApplication }, nil?: true # @!attribute user # If present, details about the User that created the transfer. # - # @return [Increase::WireTransfer::CreatedBy::User, nil] + # @return [Increase::Models::WireTransfer::CreatedBy::User, nil] required :user, -> { Increase::WireTransfer::CreatedBy::User }, nil?: true # @!method initialize(api_key:, category:, oauth_application:, user:) # What object created the transfer, either via the API or the dashboard. # - # @param api_key [Increase::WireTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. + # @param api_key [Increase::Models::WireTransfer::CreatedBy::APIKey, nil] If present, details about the API key that created the transfer. # - # @param category [Symbol, Increase::WireTransfer::CreatedBy::Category] The type of object that created this transfer. + # @param category [Symbol, Increase::Models::WireTransfer::CreatedBy::Category] The type of object that created this transfer. # - # @param oauth_application [Increase::WireTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. + # @param oauth_application [Increase::Models::WireTransfer::CreatedBy::OAuthApplication, nil] If present, details about the OAuth Application that created the transfer. # - # @param user [Increase::WireTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. + # @param user [Increase::Models::WireTransfer::CreatedBy::User, nil] If present, details about the User that created the transfer. - # @see Increase::WireTransfer::CreatedBy#api_key + # @see Increase::Models::WireTransfer::CreatedBy#api_key class APIKey < Increase::Internal::Type::BaseModel # @!attribute description # The description set for the API key when it was created. @@ -363,7 +363,7 @@ class APIKey < Increase::Internal::Type::BaseModel # The type of object that created this transfer. # - # @see Increase::WireTransfer::CreatedBy#category + # @see Increase::Models::WireTransfer::CreatedBy#category module Category extend Increase::Internal::Type::Enum @@ -380,7 +380,7 @@ module Category # @return [Array] end - # @see Increase::WireTransfer::CreatedBy#oauth_application + # @see Increase::Models::WireTransfer::CreatedBy#oauth_application class OAuthApplication < Increase::Internal::Type::BaseModel # @!attribute name # The name of the OAuth Application. @@ -394,7 +394,7 @@ class OAuthApplication < Increase::Internal::Type::BaseModel # @param name [String] The name of the OAuth Application. end - # @see Increase::WireTransfer::CreatedBy#user + # @see Increase::Models::WireTransfer::CreatedBy#user class User < Increase::Internal::Type::BaseModel # @!attribute email # The email address of the User. @@ -412,7 +412,7 @@ class User < Increase::Internal::Type::BaseModel # The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's # currency. For wire transfers this is always equal to `usd`. # - # @see Increase::WireTransfer#currency + # @see Increase::Models::WireTransfer#currency module Currency extend Increase::Internal::Type::Enum @@ -440,7 +440,7 @@ module Currency # The transfer's network. # - # @see Increase::WireTransfer#network + # @see Increase::Models::WireTransfer#network module Network extend Increase::Internal::Type::Enum @@ -450,7 +450,7 @@ module Network # @return [Array] end - # @see Increase::WireTransfer#reversal + # @see Increase::Models::WireTransfer#reversal class Reversal < Increase::Internal::Type::BaseModel # @!attribute amount # The amount that was reversed in USD cents. @@ -561,7 +561,7 @@ class Reversal < Increase::Internal::Type::BaseModel # @!method initialize(amount:, created_at:, description:, financial_institution_to_financial_institution_information:, input_cycle_date:, input_message_accountability_data:, input_sequence_number:, input_source:, originator_routing_number:, previous_message_input_cycle_date:, previous_message_input_message_accountability_data:, previous_message_input_sequence_number:, previous_message_input_source:, receiver_financial_institution_information:, sender_reference:, transaction_id:, wire_transfer_id:) # Some parameter documentations has been truncated, see - # {Increase::WireTransfer::Reversal} for more details. + # {Increase::Models::WireTransfer::Reversal} for more details. # # If your transfer is reversed, this will contain details of the reversal. # @@ -602,7 +602,7 @@ class Reversal < Increase::Internal::Type::BaseModel # The lifecycle status of the transfer. # - # @see Increase::WireTransfer#status + # @see Increase::Models::WireTransfer#status module Status extend Increase::Internal::Type::Enum @@ -637,7 +637,7 @@ module Status # @return [Array] end - # @see Increase::WireTransfer#submission + # @see Increase::Models::WireTransfer#submission class Submission < Increase::Internal::Type::BaseModel # @!attribute input_message_accountability_data # The accountability data for the submission. @@ -663,7 +663,7 @@ class Submission < Increase::Internal::Type::BaseModel # A constant representing the object's type. For this resource it will always be # `wire_transfer`. # - # @see Increase::WireTransfer#type + # @see Increase::Models::WireTransfer#type module Type extend Increase::Internal::Type::Enum diff --git a/lib/increase/models/wire_transfer_list_params.rb b/lib/increase/models/wire_transfer_list_params.rb index 9bdfbe4e6..a9b89cb19 100644 --- a/lib/increase/models/wire_transfer_list_params.rb +++ b/lib/increase/models/wire_transfer_list_params.rb @@ -15,7 +15,7 @@ class WireTransferListParams < Increase::Internal::Type::BaseModel # @!attribute created_at # - # @return [Increase::WireTransferListParams::CreatedAt, nil] + # @return [Increase::Models::WireTransferListParams::CreatedAt, nil] optional :created_at, -> { Increase::WireTransferListParams::CreatedAt } # @!attribute cursor @@ -52,7 +52,7 @@ class WireTransferListParams < Increase::Internal::Type::BaseModel # # @param account_id [String] Filter Wire Transfers to those belonging to the specified Account. # - # @param created_at [Increase::WireTransferListParams::CreatedAt] + # @param created_at [Increase::Models::WireTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -95,7 +95,7 @@ class CreatedAt < Increase::Internal::Type::BaseModel # @!method initialize(after: nil, before: nil, on_or_after: nil, on_or_before: nil) # Some parameter documentations has been truncated, see - # {Increase::WireTransferListParams::CreatedAt} for more details. + # {Increase::Models::WireTransferListParams::CreatedAt} for more details. # # @param after [Time] Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) tim # diff --git a/lib/increase/resources/account_numbers.rb b/lib/increase/resources/account_numbers.rb index fc856b018..09aea7d16 100644 --- a/lib/increase/resources/account_numbers.rb +++ b/lib/increase/resources/account_numbers.rb @@ -14,13 +14,13 @@ class AccountNumbers # # @param name [String] The name you choose for the Account Number. # - # @param inbound_ach [Increase::AccountNumberCreateParams::InboundACH] Options related to how this Account Number should handle inbound ACH transfers. + # @param inbound_ach [Increase::Models::AccountNumberCreateParams::InboundACH] Options related to how this Account Number should handle inbound ACH transfers. # - # @param inbound_checks [Increase::AccountNumberCreateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa + # @param inbound_checks [Increase::Models::AccountNumberCreateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountNumber] + # @return [Increase::Models::AccountNumber] # # @see Increase::Models::AccountNumberCreateParams def create(params) @@ -42,7 +42,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountNumber] + # @return [Increase::Models::AccountNumber] # # @see Increase::Models::AccountNumberRetrieveParams def retrieve(account_number_id, params = {}) @@ -63,17 +63,17 @@ def retrieve(account_number_id, params = {}) # # @param account_number_id [String] The identifier of the Account Number. # - # @param inbound_ach [Increase::AccountNumberUpdateParams::InboundACH] Options related to how this Account Number handles inbound ACH transfers. + # @param inbound_ach [Increase::Models::AccountNumberUpdateParams::InboundACH] Options related to how this Account Number handles inbound ACH transfers. # - # @param inbound_checks [Increase::AccountNumberUpdateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa + # @param inbound_checks [Increase::Models::AccountNumberUpdateParams::InboundChecks] Options related to how this Account Number should handle inbound check withdrawa # # @param name [String] The name you choose for the Account Number. # - # @param status [Symbol, Increase::AccountNumberUpdateParams::Status] This indicates if transfers can be made to the Account Number. + # @param status [Symbol, Increase::Models::AccountNumberUpdateParams::Status] This indicates if transfers can be made to the Account Number. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountNumber] + # @return [Increase::Models::AccountNumber] # # @see Increase::Models::AccountNumberUpdateParams def update(account_number_id, params = {}) @@ -96,9 +96,9 @@ def update(account_number_id, params = {}) # # @param account_id [String] Filter Account Numbers to those belonging to the specified Account. # - # @param ach_debit_status [Increase::AccountNumberListParams::ACHDebitStatus] + # @param ach_debit_status [Increase::Models::AccountNumberListParams::ACHDebitStatus] # - # @param created_at [Increase::AccountNumberListParams::CreatedAt] + # @param created_at [Increase::Models::AccountNumberListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -106,11 +106,11 @@ def update(account_number_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::AccountNumberListParams::Status] + # @param status [Increase::Models::AccountNumberListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountNumberListParams def list(params = {}) diff --git a/lib/increase/resources/account_statements.rb b/lib/increase/resources/account_statements.rb index 5b72eeadc..16fc8f704 100644 --- a/lib/increase/resources/account_statements.rb +++ b/lib/increase/resources/account_statements.rb @@ -11,7 +11,7 @@ class AccountStatements # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountStatement] + # @return [Increase::Models::AccountStatement] # # @see Increase::Models::AccountStatementRetrieveParams def retrieve(account_statement_id, params = {}) @@ -36,11 +36,11 @@ def retrieve(account_statement_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param statement_period_start [Increase::AccountStatementListParams::StatementPeriodStart] + # @param statement_period_start [Increase::Models::AccountStatementListParams::StatementPeriodStart] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountStatementListParams def list(params = {}) diff --git a/lib/increase/resources/account_transfers.rb b/lib/increase/resources/account_transfers.rb index e28372f05..2f32d7838 100644 --- a/lib/increase/resources/account_transfers.rb +++ b/lib/increase/resources/account_transfers.rb @@ -22,7 +22,7 @@ class AccountTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountTransfer] + # @return [Increase::Models::AccountTransfer] # # @see Increase::Models::AccountTransferCreateParams def create(params) @@ -44,7 +44,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountTransfer] + # @return [Increase::Models::AccountTransfer] # # @see Increase::Models::AccountTransferRetrieveParams def retrieve(account_transfer_id, params = {}) @@ -65,7 +65,7 @@ def retrieve(account_transfer_id, params = {}) # # @param account_id [String] Filter Account Transfers to those that originated from the specified Account. # - # @param created_at [Increase::AccountTransferListParams::CreatedAt] + # @param created_at [Increase::Models::AccountTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -75,7 +75,7 @@ def retrieve(account_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountTransferListParams def list(params = {}) @@ -98,7 +98,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountTransfer] + # @return [Increase::Models::AccountTransfer] # # @see Increase::Models::AccountTransferApproveParams def approve(account_transfer_id, params = {}) @@ -118,7 +118,7 @@ def approve(account_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountTransfer] + # @return [Increase::Models::AccountTransfer] # # @see Increase::Models::AccountTransferCancelParams def cancel(account_transfer_id, params = {}) diff --git a/lib/increase/resources/accounts.rb b/lib/increase/resources/accounts.rb index 09e7f9656..067ab836c 100644 --- a/lib/increase/resources/accounts.rb +++ b/lib/increase/resources/accounts.rb @@ -20,7 +20,7 @@ class Accounts # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Account] + # @return [Increase::Models::Account] # # @see Increase::Models::AccountCreateParams def create(params) @@ -42,7 +42,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Account] + # @return [Increase::Models::Account] # # @see Increase::Models::AccountRetrieveParams def retrieve(account_id, params = {}) @@ -64,7 +64,7 @@ def retrieve(account_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Account] + # @return [Increase::Models::Account] # # @see Increase::Models::AccountUpdateParams def update(account_id, params = {}) @@ -85,7 +85,7 @@ def update(account_id, params = {}) # # @overload list(created_at: nil, cursor: nil, entity_id: nil, idempotency_key: nil, informational_entity_id: nil, limit: nil, program_id: nil, status: nil, request_options: {}) # - # @param created_at [Increase::AccountListParams::CreatedAt] + # @param created_at [Increase::Models::AccountListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -99,11 +99,11 @@ def update(account_id, params = {}) # # @param program_id [String] Filter Accounts for those in a specific Program. # - # @param status [Increase::AccountListParams::Status] + # @param status [Increase::Models::AccountListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::AccountListParams def list(params = {}) @@ -129,7 +129,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::BalanceLookup] + # @return [Increase::Models::BalanceLookup] # # @see Increase::Models::AccountBalanceParams def balance(account_id, params = {}) @@ -151,7 +151,7 @@ def balance(account_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Account] + # @return [Increase::Models::Account] # # @see Increase::Models::AccountCloseParams def close(account_id, params = {}) diff --git a/lib/increase/resources/ach_prenotifications.rb b/lib/increase/resources/ach_prenotifications.rb index cd1b9987a..65c22614e 100644 --- a/lib/increase/resources/ach_prenotifications.rb +++ b/lib/increase/resources/ach_prenotifications.rb @@ -26,7 +26,7 @@ class ACHPrenotifications # # @param company_name [String] The name by which the recipient knows you. # - # @param credit_debit_indicator [Symbol, Increase::ACHPrenotificationCreateParams::CreditDebitIndicator] Whether the Prenotification is for a future debit or credit. + # @param credit_debit_indicator [Symbol, Increase::Models::ACHPrenotificationCreateParams::CreditDebitIndicator] Whether the Prenotification is for a future debit or credit. # # @param effective_date [Date] The transfer effective date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601 # @@ -34,11 +34,11 @@ class ACHPrenotifications # # @param individual_name [String] The name of the transfer recipient. This value is information and not verified b # - # @param standard_entry_class_code [Symbol, Increase::ACHPrenotificationCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the ACH Prenotification. + # @param standard_entry_class_code [Symbol, Increase::Models::ACHPrenotificationCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the ACH Prenotification. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHPrenotification] + # @return [Increase::Models::ACHPrenotification] # # @see Increase::Models::ACHPrenotificationCreateParams def create(params) @@ -60,7 +60,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHPrenotification] + # @return [Increase::Models::ACHPrenotification] # # @see Increase::Models::ACHPrenotificationRetrieveParams def retrieve(ach_prenotification_id, params = {}) @@ -79,7 +79,7 @@ def retrieve(ach_prenotification_id, params = {}) # # @overload list(created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, request_options: {}) # - # @param created_at [Increase::ACHPrenotificationListParams::CreatedAt] + # @param created_at [Increase::Models::ACHPrenotificationListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -89,7 +89,7 @@ def retrieve(ach_prenotification_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::ACHPrenotificationListParams def list(params = {}) diff --git a/lib/increase/resources/ach_transfers.rb b/lib/increase/resources/ach_transfers.rb index 700d97864..fa3b14846 100644 --- a/lib/increase/resources/ach_transfers.rb +++ b/lib/increase/resources/ach_transfers.rb @@ -18,7 +18,7 @@ class ACHTransfers # # @param account_number [String] The account number for the destination account. # - # @param addenda [Increase::ACHTransferCreateParams::Addenda] Additional information that will be sent to the recipient. This is included in t + # @param addenda [Increase::Models::ACHTransferCreateParams::Addenda] Additional information that will be sent to the recipient. This is included in t # # @param company_descriptive_date [String] The description of the date of the transfer, usually in the format `YYMMDD`. Thi # @@ -28,29 +28,29 @@ class ACHTransfers # # @param company_name [String] The name by which the recipient knows you. This is included in the transfer data # - # @param destination_account_holder [Symbol, Increase::ACHTransferCreateParams::DestinationAccountHolder] The type of entity that owns the account to which the ACH Transfer is being sent + # @param destination_account_holder [Symbol, Increase::Models::ACHTransferCreateParams::DestinationAccountHolder] The type of entity that owns the account to which the ACH Transfer is being sent # # @param external_account_id [String] The ID of an External Account to initiate a transfer to. If this parameter is pr # - # @param funding [Symbol, Increase::ACHTransferCreateParams::Funding] The type of the account to which the transfer will be sent. + # @param funding [Symbol, Increase::Models::ACHTransferCreateParams::Funding] The type of the account to which the transfer will be sent. # # @param individual_id [String] Your identifier for the transfer recipient. # # @param individual_name [String] The name of the transfer recipient. This value is informational and not verified # - # @param preferred_effective_date [Increase::ACHTransferCreateParams::PreferredEffectiveDate] Configuration for how the effective date of the transfer will be set. This deter + # @param preferred_effective_date [Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate] Configuration for how the effective date of the transfer will be set. This deter # # @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API. # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des # - # @param standard_entry_class_code [Symbol, Increase::ACHTransferCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the transfer. + # @param standard_entry_class_code [Symbol, Increase::Models::ACHTransferCreateParams::StandardEntryClassCode] The Standard Entry Class (SEC) code to use for the transfer. # - # @param transaction_timing [Symbol, Increase::ACHTransferCreateParams::TransactionTiming] The timing of the transaction. + # @param transaction_timing [Symbol, Increase::Models::ACHTransferCreateParams::TransactionTiming] The timing of the transaction. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::ACHTransferCreateParams def create(params) @@ -72,7 +72,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::ACHTransferRetrieveParams def retrieve(ach_transfer_id, params = {}) @@ -93,7 +93,7 @@ def retrieve(ach_transfer_id, params = {}) # # @param account_id [String] Filter ACH Transfers to those that originated from the specified Account. # - # @param created_at [Increase::ACHTransferListParams::CreatedAt] + # @param created_at [Increase::Models::ACHTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -103,11 +103,11 @@ def retrieve(ach_transfer_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::ACHTransferListParams::Status] + # @param status [Increase::Models::ACHTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::ACHTransferListParams def list(params = {}) @@ -130,7 +130,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::ACHTransferApproveParams def approve(ach_transfer_id, params = {}) @@ -150,7 +150,7 @@ def approve(ach_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::ACHTransferCancelParams def cancel(ach_transfer_id, params = {}) diff --git a/lib/increase/resources/bookkeeping_accounts.rb b/lib/increase/resources/bookkeeping_accounts.rb index f1b2628d7..ff7ed302a 100644 --- a/lib/increase/resources/bookkeeping_accounts.rb +++ b/lib/increase/resources/bookkeeping_accounts.rb @@ -11,13 +11,13 @@ class BookkeepingAccounts # # @param account_id [String] The entity, if `compliance_category` is `commingled_cash`. # - # @param compliance_category [Symbol, Increase::BookkeepingAccountCreateParams::ComplianceCategory] The account compliance category. + # @param compliance_category [Symbol, Increase::Models::BookkeepingAccountCreateParams::ComplianceCategory] The account compliance category. # # @param entity_id [String] The entity, if `compliance_category` is `customer_balance`. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::BookkeepingAccount] + # @return [Increase::Models::BookkeepingAccount] # # @see Increase::Models::BookkeepingAccountCreateParams def create(params) @@ -41,7 +41,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::BookkeepingAccount] + # @return [Increase::Models::BookkeepingAccount] # # @see Increase::Models::BookkeepingAccountUpdateParams def update(bookkeeping_account_id, params) @@ -70,7 +70,7 @@ def update(bookkeeping_account_id, params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::BookkeepingAccountListParams def list(params = {}) @@ -95,7 +95,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::BookkeepingBalanceLookup] + # @return [Increase::Models::BookkeepingBalanceLookup] # # @see Increase::Models::BookkeepingAccountBalanceParams def balance(bookkeeping_account_id, params = {}) diff --git a/lib/increase/resources/bookkeeping_entries.rb b/lib/increase/resources/bookkeeping_entries.rb index 4fcd83dcf..af7365bad 100644 --- a/lib/increase/resources/bookkeeping_entries.rb +++ b/lib/increase/resources/bookkeeping_entries.rb @@ -11,7 +11,7 @@ class BookkeepingEntries # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::BookkeepingEntry] + # @return [Increase::Models::BookkeepingEntry] # # @see Increase::Models::BookkeepingEntryRetrieveParams def retrieve(bookkeeping_entry_id, params = {}) @@ -38,7 +38,7 @@ def retrieve(bookkeeping_entry_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::BookkeepingEntryListParams def list(params = {}) diff --git a/lib/increase/resources/bookkeeping_entry_sets.rb b/lib/increase/resources/bookkeeping_entry_sets.rb index 82e0b901a..ac918ede4 100644 --- a/lib/increase/resources/bookkeeping_entry_sets.rb +++ b/lib/increase/resources/bookkeeping_entry_sets.rb @@ -10,7 +10,7 @@ class BookkeepingEntrySets # # @overload create(entries:, date: nil, transaction_id: nil, request_options: {}) # - # @param entries [Array] The bookkeeping entries. + # @param entries [Array] The bookkeeping entries. # # @param date [Time] The date of the transaction. Optional if `transaction_id` is provided, in which # @@ -18,7 +18,7 @@ class BookkeepingEntrySets # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::BookkeepingEntrySet] + # @return [Increase::Models::BookkeepingEntrySet] # # @see Increase::Models::BookkeepingEntrySetCreateParams def create(params) @@ -40,7 +40,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::BookkeepingEntrySet] + # @return [Increase::Models::BookkeepingEntrySet] # # @see Increase::Models::BookkeepingEntrySetRetrieveParams def retrieve(bookkeeping_entry_set_id, params = {}) @@ -69,7 +69,7 @@ def retrieve(bookkeeping_entry_set_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::BookkeepingEntrySetListParams def list(params = {}) diff --git a/lib/increase/resources/card_disputes.rb b/lib/increase/resources/card_disputes.rb index 90c197309..fe1977431 100644 --- a/lib/increase/resources/card_disputes.rb +++ b/lib/increase/resources/card_disputes.rb @@ -18,7 +18,7 @@ class CardDisputes # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardDispute] + # @return [Increase::Models::CardDispute] # # @see Increase::Models::CardDisputeCreateParams def create(params) @@ -40,7 +40,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardDispute] + # @return [Increase::Models::CardDispute] # # @see Increase::Models::CardDisputeRetrieveParams def retrieve(card_dispute_id, params = {}) @@ -59,7 +59,7 @@ def retrieve(card_dispute_id, params = {}) # # @overload list(created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) # - # @param created_at [Increase::CardDisputeListParams::CreatedAt] + # @param created_at [Increase::Models::CardDisputeListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -67,11 +67,11 @@ def retrieve(card_dispute_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::CardDisputeListParams::Status] + # @param status [Increase::Models::CardDisputeListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardDisputeListParams def list(params = {}) diff --git a/lib/increase/resources/card_payments.rb b/lib/increase/resources/card_payments.rb index fb5520a0a..478a7354b 100644 --- a/lib/increase/resources/card_payments.rb +++ b/lib/increase/resources/card_payments.rb @@ -11,7 +11,7 @@ class CardPayments # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardPayment] + # @return [Increase::Models::CardPayment] # # @see Increase::Models::CardPaymentRetrieveParams def retrieve(card_payment_id, params = {}) @@ -34,7 +34,7 @@ def retrieve(card_payment_id, params = {}) # # @param card_id [String] Filter Card Payments to ones belonging to the specified Card. # - # @param created_at [Increase::CardPaymentListParams::CreatedAt] + # @param created_at [Increase::Models::CardPaymentListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -42,7 +42,7 @@ def retrieve(card_payment_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardPaymentListParams def list(params = {}) diff --git a/lib/increase/resources/card_purchase_supplements.rb b/lib/increase/resources/card_purchase_supplements.rb index 558ab2b69..d0338227d 100644 --- a/lib/increase/resources/card_purchase_supplements.rb +++ b/lib/increase/resources/card_purchase_supplements.rb @@ -11,7 +11,7 @@ class CardPurchaseSupplements # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardPurchaseSupplement] + # @return [Increase::Models::CardPurchaseSupplement] # # @see Increase::Models::CardPurchaseSupplementRetrieveParams def retrieve(card_purchase_supplement_id, params = {}) @@ -32,7 +32,7 @@ def retrieve(card_purchase_supplement_id, params = {}) # # @param card_payment_id [String] Filter Card Purchase Supplements to ones belonging to the specified Card Payment # - # @param created_at [Increase::CardPurchaseSupplementListParams::CreatedAt] + # @param created_at [Increase::Models::CardPurchaseSupplementListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -40,7 +40,7 @@ def retrieve(card_purchase_supplement_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardPurchaseSupplementListParams def list(params = {}) diff --git a/lib/increase/resources/cards.rb b/lib/increase/resources/cards.rb index dabe7191f..b52b68a3b 100644 --- a/lib/increase/resources/cards.rb +++ b/lib/increase/resources/cards.rb @@ -12,17 +12,17 @@ class Cards # # @param account_id [String] The Account the card should belong to. # - # @param billing_address [Increase::CardCreateParams::BillingAddress] The card's billing address. + # @param billing_address [Increase::Models::CardCreateParams::BillingAddress] The card's billing address. # # @param description [String] The description you choose to give the card. # - # @param digital_wallet [Increase::CardCreateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre + # @param digital_wallet [Increase::Models::CardCreateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre # # @param entity_id [String] The Entity the card belongs to. You only need to supply this in rare situations # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Card] + # @return [Increase::Models::Card] # # @see Increase::Models::CardCreateParams def create(params) @@ -38,7 +38,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Card] + # @return [Increase::Models::Card] # # @see Increase::Models::CardRetrieveParams def retrieve(card_id, params = {}) @@ -59,19 +59,19 @@ def retrieve(card_id, params = {}) # # @param card_id [String] The card identifier. # - # @param billing_address [Increase::CardUpdateParams::BillingAddress] The card's updated billing address. + # @param billing_address [Increase::Models::CardUpdateParams::BillingAddress] The card's updated billing address. # # @param description [String] The description you choose to give the card. # - # @param digital_wallet [Increase::CardUpdateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre + # @param digital_wallet [Increase::Models::CardUpdateParams::DigitalWallet] The contact information used in the two-factor steps for digital wallet card cre # # @param entity_id [String] The Entity the card belongs to. You only need to supply this in rare situations # - # @param status [Symbol, Increase::CardUpdateParams::Status] The status to update the Card with. + # @param status [Symbol, Increase::Models::CardUpdateParams::Status] The status to update the Card with. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Card] + # @return [Increase::Models::Card] # # @see Increase::Models::CardUpdateParams def update(card_id, params = {}) @@ -94,7 +94,7 @@ def update(card_id, params = {}) # # @param account_id [String] Filter Cards to ones belonging to the specified Account. # - # @param created_at [Increase::CardListParams::CreatedAt] + # @param created_at [Increase::Models::CardListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -102,11 +102,11 @@ def update(card_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::CardListParams::Status] + # @param status [Increase::Models::CardListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::CardListParams def list(params = {}) @@ -129,7 +129,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardDetails] + # @return [Increase::Models::CardDetails] # # @see Increase::Models::CardDetailsParams def details(card_id, params = {}) diff --git a/lib/increase/resources/check_deposits.rb b/lib/increase/resources/check_deposits.rb index f9066f1a4..27298563a 100644 --- a/lib/increase/resources/check_deposits.rb +++ b/lib/increase/resources/check_deposits.rb @@ -22,7 +22,7 @@ class CheckDeposits # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckDeposit] + # @return [Increase::Models::CheckDeposit] # # @see Increase::Models::CheckDepositCreateParams def create(params) @@ -44,7 +44,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckDeposit] + # @return [Increase::Models::CheckDeposit] # # @see Increase::Models::CheckDepositRetrieveParams def retrieve(check_deposit_id, params = {}) @@ -65,7 +65,7 @@ def retrieve(check_deposit_id, params = {}) # # @param account_id [String] Filter Check Deposits to those belonging to the specified Account. # - # @param created_at [Increase::CheckDepositListParams::CreatedAt] + # @param created_at [Increase::Models::CheckDepositListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -75,7 +75,7 @@ def retrieve(check_deposit_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::CheckDepositListParams def list(params = {}) diff --git a/lib/increase/resources/check_transfers.rb b/lib/increase/resources/check_transfers.rb index 8d4d1784c..9142f6a58 100644 --- a/lib/increase/resources/check_transfers.rb +++ b/lib/increase/resources/check_transfers.rb @@ -14,21 +14,21 @@ class CheckTransfers # # @param amount [Integer] The transfer amount in USD cents. # - # @param fulfillment_method [Symbol, Increase::CheckTransferCreateParams::FulfillmentMethod] Whether Increase will print and mail the check or if you will do it yourself. + # @param fulfillment_method [Symbol, Increase::Models::CheckTransferCreateParams::FulfillmentMethod] Whether Increase will print and mail the check or if you will do it yourself. # # @param source_account_number_id [String] The identifier of the Account Number from which to send the transfer and print o # # @param check_number [String] The check number Increase should use for the check. This should not contain lead # - # @param physical_check [Increase::CheckTransferCreateParams::PhysicalCheck] Details relating to the physical check that Increase will print and mail. This i + # @param physical_check [Increase::Models::CheckTransferCreateParams::PhysicalCheck] Details relating to the physical check that Increase will print and mail. This i # # @param require_approval [Boolean] Whether the transfer requires explicit approval via the dashboard or API. # - # @param third_party [Increase::CheckTransferCreateParams::ThirdParty] Details relating to the custom fulfillment you will perform. This is required if + # @param third_party [Increase::Models::CheckTransferCreateParams::ThirdParty] Details relating to the custom fulfillment you will perform. This is required if # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckTransfer] + # @return [Increase::Models::CheckTransfer] # # @see Increase::Models::CheckTransferCreateParams def create(params) @@ -50,7 +50,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckTransfer] + # @return [Increase::Models::CheckTransfer] # # @see Increase::Models::CheckTransferRetrieveParams def retrieve(check_transfer_id, params = {}) @@ -71,7 +71,7 @@ def retrieve(check_transfer_id, params = {}) # # @param account_id [String] Filter Check Transfers to those that originated from the specified Account. # - # @param created_at [Increase::CheckTransferListParams::CreatedAt] + # @param created_at [Increase::Models::CheckTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -79,11 +79,11 @@ def retrieve(check_transfer_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::CheckTransferListParams::Status] + # @param status [Increase::Models::CheckTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::CheckTransferListParams def list(params = {}) @@ -106,7 +106,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckTransfer] + # @return [Increase::Models::CheckTransfer] # # @see Increase::Models::CheckTransferApproveParams def approve(check_transfer_id, params = {}) @@ -126,7 +126,7 @@ def approve(check_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckTransfer] + # @return [Increase::Models::CheckTransfer] # # @see Increase::Models::CheckTransferCancelParams def cancel(check_transfer_id, params = {}) @@ -144,11 +144,11 @@ def cancel(check_transfer_id, params = {}) # # @param check_transfer_id [String] The identifier of the Check Transfer. # - # @param reason [Symbol, Increase::CheckTransferStopPaymentParams::Reason] The reason why this transfer should be stopped. + # @param reason [Symbol, Increase::Models::CheckTransferStopPaymentParams::Reason] The reason why this transfer should be stopped. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckTransfer] + # @return [Increase::Models::CheckTransfer] # # @see Increase::Models::CheckTransferStopPaymentParams def stop_payment(check_transfer_id, params = {}) diff --git a/lib/increase/resources/declined_transactions.rb b/lib/increase/resources/declined_transactions.rb index 988bc68e7..4e65a64b6 100644 --- a/lib/increase/resources/declined_transactions.rb +++ b/lib/increase/resources/declined_transactions.rb @@ -11,7 +11,7 @@ class DeclinedTransactions # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::DeclinedTransaction] + # @return [Increase::Models::DeclinedTransaction] # # @see Increase::Models::DeclinedTransactionRetrieveParams def retrieve(declined_transaction_id, params = {}) @@ -32,9 +32,9 @@ def retrieve(declined_transaction_id, params = {}) # # @param account_id [String] Filter Declined Transactions to ones belonging to the specified Account. # - # @param category [Increase::DeclinedTransactionListParams::Category] + # @param category [Increase::Models::DeclinedTransactionListParams::Category] # - # @param created_at [Increase::DeclinedTransactionListParams::CreatedAt] + # @param created_at [Increase::Models::DeclinedTransactionListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -44,7 +44,7 @@ def retrieve(declined_transaction_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::DeclinedTransactionListParams def list(params = {}) diff --git a/lib/increase/resources/digital_card_profiles.rb b/lib/increase/resources/digital_card_profiles.rb index 38f0b09eb..92d944595 100644 --- a/lib/increase/resources/digital_card_profiles.rb +++ b/lib/increase/resources/digital_card_profiles.rb @@ -23,11 +23,11 @@ class DigitalCardProfiles # # @param contact_website [String] A website the user can visit to view and receive support for their card. # - # @param text_color [Increase::DigitalCardProfileCreateParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. + # @param text_color [Increase::Models::DigitalCardProfileCreateParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::DigitalCardProfile] + # @return [Increase::Models::DigitalCardProfile] # # @see Increase::Models::DigitalCardProfileCreateParams def create(params) @@ -49,7 +49,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::DigitalCardProfile] + # @return [Increase::Models::DigitalCardProfile] # # @see Increase::Models::DigitalCardProfileRetrieveParams def retrieve(digital_card_profile_id, params = {}) @@ -74,11 +74,11 @@ def retrieve(digital_card_profile_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::DigitalCardProfileListParams::Status] + # @param status [Increase::Models::DigitalCardProfileListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::DigitalCardProfileListParams def list(params = {}) @@ -101,7 +101,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::DigitalCardProfile] + # @return [Increase::Models::DigitalCardProfile] # # @see Increase::Models::DigitalCardProfileArchiveParams def archive(digital_card_profile_id, params = {}) @@ -135,11 +135,11 @@ def archive(digital_card_profile_id, params = {}) # # @param issuer_name [String] A user-facing description for whoever is issuing the card. # - # @param text_color [Increase::DigitalCardProfileCloneParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. + # @param text_color [Increase::Models::DigitalCardProfileCloneParams::TextColor] The Card's text color, specified as an RGB triple. The default is white. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::DigitalCardProfile] + # @return [Increase::Models::DigitalCardProfile] # # @see Increase::Models::DigitalCardProfileCloneParams def clone_(digital_card_profile_id, params = {}) diff --git a/lib/increase/resources/digital_wallet_tokens.rb b/lib/increase/resources/digital_wallet_tokens.rb index df7e70f46..f605137fb 100644 --- a/lib/increase/resources/digital_wallet_tokens.rb +++ b/lib/increase/resources/digital_wallet_tokens.rb @@ -11,7 +11,7 @@ class DigitalWalletTokens # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::DigitalWalletToken] + # @return [Increase::Models::DigitalWalletToken] # # @see Increase::Models::DigitalWalletTokenRetrieveParams def retrieve(digital_wallet_token_id, params = {}) @@ -32,7 +32,7 @@ def retrieve(digital_wallet_token_id, params = {}) # # @param card_id [String] Filter Digital Wallet Tokens to ones belonging to the specified Card. # - # @param created_at [Increase::DigitalWalletTokenListParams::CreatedAt] + # @param created_at [Increase::Models::DigitalWalletTokenListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -40,7 +40,7 @@ def retrieve(digital_wallet_token_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::DigitalWalletTokenListParams def list(params = {}) diff --git a/lib/increase/resources/documents.rb b/lib/increase/resources/documents.rb index 32c1f148c..61a7a0180 100644 --- a/lib/increase/resources/documents.rb +++ b/lib/increase/resources/documents.rb @@ -11,7 +11,7 @@ class Documents # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Document] + # @return [Increase::Models::Document] # # @see Increase::Models::DocumentRetrieveParams def retrieve(document_id, params = {}) @@ -30,9 +30,9 @@ def retrieve(document_id, params = {}) # # @overload list(category: nil, created_at: nil, cursor: nil, entity_id: nil, limit: nil, request_options: {}) # - # @param category [Increase::DocumentListParams::Category] + # @param category [Increase::Models::DocumentListParams::Category] # - # @param created_at [Increase::DocumentListParams::CreatedAt] + # @param created_at [Increase::Models::DocumentListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -42,7 +42,7 @@ def retrieve(document_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::DocumentListParams def list(params = {}) diff --git a/lib/increase/resources/entities.rb b/lib/increase/resources/entities.rb index 46bb6a1c8..fd89ae74a 100644 --- a/lib/increase/resources/entities.rb +++ b/lib/increase/resources/entities.rb @@ -10,27 +10,27 @@ class Entities # # @overload create(structure:, corporation: nil, description: nil, government_authority: nil, joint: nil, natural_person: nil, supplemental_documents: nil, third_party_verification: nil, trust: nil, request_options: {}) # - # @param structure [Symbol, Increase::EntityCreateParams::Structure] The type of Entity to create. + # @param structure [Symbol, Increase::Models::EntityCreateParams::Structure] The type of Entity to create. # - # @param corporation [Increase::EntityCreateParams::Corporation] Details of the corporation entity to create. Required if `structure` is equal to + # @param corporation [Increase::Models::EntityCreateParams::Corporation] Details of the corporation entity to create. Required if `structure` is equal to # # @param description [String] The description you choose to give the entity. # - # @param government_authority [Increase::EntityCreateParams::GovernmentAuthority] Details of the Government Authority entity to create. Required if `structure` is + # @param government_authority [Increase::Models::EntityCreateParams::GovernmentAuthority] Details of the Government Authority entity to create. Required if `structure` is # - # @param joint [Increase::EntityCreateParams::Joint] Details of the joint entity to create. Required if `structure` is equal to `join + # @param joint [Increase::Models::EntityCreateParams::Joint] Details of the joint entity to create. Required if `structure` is equal to `join # - # @param natural_person [Increase::EntityCreateParams::NaturalPerson] Details of the natural person entity to create. Required if `structure` is equal + # @param natural_person [Increase::Models::EntityCreateParams::NaturalPerson] Details of the natural person entity to create. Required if `structure` is equal # - # @param supplemental_documents [Array] Additional documentation associated with the entity. + # @param supplemental_documents [Array] Additional documentation associated with the entity. # - # @param third_party_verification [Increase::EntityCreateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati + # @param third_party_verification [Increase::Models::EntityCreateParams::ThirdPartyVerification] A reference to data stored in a third-party verification service. Your integrati # - # @param trust [Increase::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus + # @param trust [Increase::Models::EntityCreateParams::Trust] Details of the trust entity to create. Required if `structure` is equal to `trus # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityCreateParams def create(params) @@ -52,7 +52,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityRetrieveParams def retrieve(entity_id, params = {}) @@ -71,7 +71,7 @@ def retrieve(entity_id, params = {}) # # @overload list(created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) # - # @param created_at [Increase::EntityListParams::CreatedAt] + # @param created_at [Increase::Models::EntityListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -79,11 +79,11 @@ def retrieve(entity_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::EntityListParams::Status] + # @param status [Increase::Models::EntityListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::EntityListParams def list(params = {}) @@ -109,7 +109,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityArchiveParams def archive(entity_id, params = {}) @@ -134,7 +134,7 @@ def archive(entity_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityArchiveBeneficialOwnerParams def archive_beneficial_owner(entity_id, params) @@ -163,7 +163,7 @@ def archive_beneficial_owner(entity_id, params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityConfirmParams def confirm(entity_id, params = {}) @@ -186,11 +186,11 @@ def confirm(entity_id, params = {}) # # @param entity_id [String] The identifier of the Entity to associate with the new Beneficial Owner. # - # @param beneficial_owner [Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner] The identifying details of anyone controlling or owning 25% or more of the corpo + # @param beneficial_owner [Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner] The identifying details of anyone controlling or owning 25% or more of the corpo # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityCreateBeneficialOwnerParams def create_beneficial_owner(entity_id, params) @@ -213,11 +213,11 @@ def create_beneficial_owner(entity_id, params) # # @param entity_id [String] The identifier of the Entity whose address is being updated. # - # @param address [Increase::EntityUpdateAddressParams::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's + # @param address [Increase::Models::EntityUpdateAddressParams::Address] The entity's physical address. Mail receiving locations like PO Boxes and PMB's # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityUpdateAddressParams def update_address(entity_id, params) @@ -240,13 +240,13 @@ def update_address(entity_id, params) # # @param entity_id [String] The identifier of the Entity associated with the Beneficial Owner whose address # - # @param address [Increase::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM + # @param address [Increase::Models::EntityUpdateBeneficialOwnerAddressParams::Address] The individual's physical address. Mail receiving locations like PO Boxes and PM # # @param beneficial_owner_id [String] The identifying details of anyone controlling or owning 25% or more of the corpo # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityUpdateBeneficialOwnerAddressParams def update_beneficial_owner_address(entity_id, params) @@ -273,7 +273,7 @@ def update_beneficial_owner_address(entity_id, params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Entity] + # @return [Increase::Models::Entity] # # @see Increase::Models::EntityUpdateIndustryCodeParams def update_industry_code(entity_id, params) diff --git a/lib/increase/resources/event_subscriptions.rb b/lib/increase/resources/event_subscriptions.rb index f42c2b371..c9e25b843 100644 --- a/lib/increase/resources/event_subscriptions.rb +++ b/lib/increase/resources/event_subscriptions.rb @@ -14,13 +14,13 @@ class EventSubscriptions # # @param oauth_connection_id [String] If specified, this subscription will only receive webhooks for Events associated # - # @param selected_event_category [Symbol, Increase::EventSubscriptionCreateParams::SelectedEventCategory] If specified, this subscription will only receive webhooks for Events with the s + # @param selected_event_category [Symbol, Increase::Models::EventSubscriptionCreateParams::SelectedEventCategory] If specified, this subscription will only receive webhooks for Events with the s # # @param shared_secret [String] The key that will be used to sign webhooks. If no value is passed, a random stri # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::EventSubscription] + # @return [Increase::Models::EventSubscription] # # @see Increase::Models::EventSubscriptionCreateParams def create(params) @@ -42,7 +42,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::EventSubscription] + # @return [Increase::Models::EventSubscription] # # @see Increase::Models::EventSubscriptionRetrieveParams def retrieve(event_subscription_id, params = {}) @@ -60,11 +60,11 @@ def retrieve(event_subscription_id, params = {}) # # @param event_subscription_id [String] The identifier of the Event Subscription. # - # @param status [Symbol, Increase::EventSubscriptionUpdateParams::Status] The status to update the Event Subscription with. + # @param status [Symbol, Increase::Models::EventSubscriptionUpdateParams::Status] The status to update the Event Subscription with. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::EventSubscription] + # @return [Increase::Models::EventSubscription] # # @see Increase::Models::EventSubscriptionUpdateParams def update(event_subscription_id, params = {}) @@ -93,7 +93,7 @@ def update(event_subscription_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::EventSubscriptionListParams def list(params = {}) diff --git a/lib/increase/resources/events.rb b/lib/increase/resources/events.rb index 47fdc75b8..dc9d46945 100644 --- a/lib/increase/resources/events.rb +++ b/lib/increase/resources/events.rb @@ -11,7 +11,7 @@ class Events # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Event] + # @return [Increase::Models::Event] # # @see Increase::Models::EventRetrieveParams def retrieve(event_id, params = {}) @@ -32,9 +32,9 @@ def retrieve(event_id, params = {}) # # @param associated_object_id [String] Filter Events to those belonging to the object with the provided identifier. # - # @param category [Increase::EventListParams::Category] + # @param category [Increase::Models::EventListParams::Category] # - # @param created_at [Increase::EventListParams::CreatedAt] + # @param created_at [Increase::Models::EventListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -42,7 +42,7 @@ def retrieve(event_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::EventListParams def list(params = {}) diff --git a/lib/increase/resources/exports.rb b/lib/increase/resources/exports.rb index 4ce89fcf4..8360173fd 100644 --- a/lib/increase/resources/exports.rb +++ b/lib/increase/resources/exports.rb @@ -10,25 +10,25 @@ class Exports # # @overload create(category:, account_statement_ofx: nil, balance_csv: nil, bookkeeping_account_balance_csv: nil, entity_csv: nil, transaction_csv: nil, vendor_csv: nil, request_options: {}) # - # @param category [Symbol, Increase::ExportCreateParams::Category] The type of Export to create. + # @param category [Symbol, Increase::Models::ExportCreateParams::Category] The type of Export to create. # - # @param account_statement_ofx [Increase::ExportCreateParams::AccountStatementOfx] Options for the created export. Required if `category` is equal to `account_stat + # @param account_statement_ofx [Increase::Models::ExportCreateParams::AccountStatementOfx] Options for the created export. Required if `category` is equal to `account_stat # - # @param balance_csv [Increase::ExportCreateParams::BalanceCsv] Options for the created export. Required if `category` is equal to `balance_csv` + # @param balance_csv [Increase::Models::ExportCreateParams::BalanceCsv] Options for the created export. Required if `category` is equal to `balance_csv` # - # @param bookkeeping_account_balance_csv [Increase::ExportCreateParams::BookkeepingAccountBalanceCsv] Options for the created export. Required if `category` is equal to + # @param bookkeeping_account_balance_csv [Increase::Models::ExportCreateParams::BookkeepingAccountBalanceCsv] Options for the created export. Required if `category` is equal to # `bookkeeping\_ # - # @param entity_csv [Increase::ExportCreateParams::EntityCsv] Options for the created export. Required if `category` is equal to `entity_csv`. + # @param entity_csv [Increase::Models::ExportCreateParams::EntityCsv] Options for the created export. Required if `category` is equal to `entity_csv`. # - # @param transaction_csv [Increase::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to + # @param transaction_csv [Increase::Models::ExportCreateParams::TransactionCsv] Options for the created export. Required if `category` is equal to # `transaction\_ # # @param vendor_csv [Object] Options for the created export. Required if `category` is equal to `vendor_csv`. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Export] + # @return [Increase::Models::Export] # # @see Increase::Models::ExportCreateParams def create(params) @@ -50,7 +50,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Export] + # @return [Increase::Models::Export] # # @see Increase::Models::ExportRetrieveParams def retrieve(export_id, params = {}) @@ -69,9 +69,9 @@ def retrieve(export_id, params = {}) # # @overload list(category: nil, created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, status: nil, request_options: {}) # - # @param category [Increase::ExportListParams::Category] + # @param category [Increase::Models::ExportListParams::Category] # - # @param created_at [Increase::ExportListParams::CreatedAt] + # @param created_at [Increase::Models::ExportListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -79,11 +79,11 @@ def retrieve(export_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::ExportListParams::Status] + # @param status [Increase::Models::ExportListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::ExportListParams def list(params = {}) diff --git a/lib/increase/resources/external_accounts.rb b/lib/increase/resources/external_accounts.rb index ecd539751..868c976a4 100644 --- a/lib/increase/resources/external_accounts.rb +++ b/lib/increase/resources/external_accounts.rb @@ -16,13 +16,13 @@ class ExternalAccounts # # @param routing_number [String] The American Bankers' Association (ABA) Routing Transit Number (RTN) for the des # - # @param account_holder [Symbol, Increase::ExternalAccountCreateParams::AccountHolder] The type of entity that owns the External Account. + # @param account_holder [Symbol, Increase::Models::ExternalAccountCreateParams::AccountHolder] The type of entity that owns the External Account. # - # @param funding [Symbol, Increase::ExternalAccountCreateParams::Funding] The type of the destination account. Defaults to `checking`. + # @param funding [Symbol, Increase::Models::ExternalAccountCreateParams::Funding] The type of the destination account. Defaults to `checking`. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ExternalAccount] + # @return [Increase::Models::ExternalAccount] # # @see Increase::Models::ExternalAccountCreateParams def create(params) @@ -44,7 +44,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ExternalAccount] + # @return [Increase::Models::ExternalAccount] # # @see Increase::Models::ExternalAccountRetrieveParams def retrieve(external_account_id, params = {}) @@ -62,17 +62,17 @@ def retrieve(external_account_id, params = {}) # # @param external_account_id [String] The external account identifier. # - # @param account_holder [Symbol, Increase::ExternalAccountUpdateParams::AccountHolder] The type of entity that owns the External Account. + # @param account_holder [Symbol, Increase::Models::ExternalAccountUpdateParams::AccountHolder] The type of entity that owns the External Account. # # @param description [String] The description you choose to give the external account. # - # @param funding [Symbol, Increase::ExternalAccountUpdateParams::Funding] The funding type of the External Account. + # @param funding [Symbol, Increase::Models::ExternalAccountUpdateParams::Funding] The funding type of the External Account. # - # @param status [Symbol, Increase::ExternalAccountUpdateParams::Status] The status of the External Account. + # @param status [Symbol, Increase::Models::ExternalAccountUpdateParams::Status] The status of the External Account. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ExternalAccount] + # @return [Increase::Models::ExternalAccount] # # @see Increase::Models::ExternalAccountUpdateParams def update(external_account_id, params = {}) @@ -101,11 +101,11 @@ def update(external_account_id, params = {}) # # @param routing_number [String] Filter External Accounts to those with the specified Routing Number. # - # @param status [Increase::ExternalAccountListParams::Status] + # @param status [Increase::Models::ExternalAccountListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::ExternalAccountListParams def list(params = {}) diff --git a/lib/increase/resources/file_links.rb b/lib/increase/resources/file_links.rb index 3490a468b..da5405b3c 100644 --- a/lib/increase/resources/file_links.rb +++ b/lib/increase/resources/file_links.rb @@ -16,7 +16,7 @@ class FileLinks # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::FileLink] + # @return [Increase::Models::FileLink] # # @see Increase::Models::FileLinkCreateParams def create(params) diff --git a/lib/increase/resources/files.rb b/lib/increase/resources/files.rb index 40c0a0641..e4966ed1b 100644 --- a/lib/increase/resources/files.rb +++ b/lib/increase/resources/files.rb @@ -14,13 +14,13 @@ class Files # # @param file [Pathname, StringIO, IO, String, Increase::FilePart] The file contents. This should follow the specifications of [RFC 7578](https://d # - # @param purpose [Symbol, Increase::FileCreateParams::Purpose] What the File will be used for in Increase's systems. + # @param purpose [Symbol, Increase::Models::FileCreateParams::Purpose] What the File will be used for in Increase's systems. # # @param description [String] The description you choose to give the File. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::File] + # @return [Increase::Models::File] # # @see Increase::Models::FileCreateParams def create(params) @@ -43,7 +43,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::File] + # @return [Increase::Models::File] # # @see Increase::Models::FileRetrieveParams def retrieve(file_id, params = {}) @@ -62,7 +62,7 @@ def retrieve(file_id, params = {}) # # @overload list(created_at: nil, cursor: nil, idempotency_key: nil, limit: nil, purpose: nil, request_options: {}) # - # @param created_at [Increase::FileListParams::CreatedAt] + # @param created_at [Increase::Models::FileListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -70,11 +70,11 @@ def retrieve(file_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param purpose [Increase::FileListParams::Purpose] + # @param purpose [Increase::Models::FileListParams::Purpose] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::FileListParams def list(params = {}) diff --git a/lib/increase/resources/groups.rb b/lib/increase/resources/groups.rb index b3d19e2b5..82631dabb 100644 --- a/lib/increase/resources/groups.rb +++ b/lib/increase/resources/groups.rb @@ -9,7 +9,7 @@ class Groups # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Group] + # @return [Increase::Models::Group] # # @see Increase::Models::GroupRetrieveParams def retrieve(params = {}) diff --git a/lib/increase/resources/inbound_ach_transfers.rb b/lib/increase/resources/inbound_ach_transfers.rb index 3b4b4a4a9..f0800975f 100644 --- a/lib/increase/resources/inbound_ach_transfers.rb +++ b/lib/increase/resources/inbound_ach_transfers.rb @@ -11,7 +11,7 @@ class InboundACHTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundACHTransfer] + # @return [Increase::Models::InboundACHTransfer] # # @see Increase::Models::InboundACHTransferRetrieveParams def retrieve(inbound_ach_transfer_id, params = {}) @@ -34,17 +34,17 @@ def retrieve(inbound_ach_transfer_id, params = {}) # # @param account_number_id [String] Filter Inbound ACH Transfers to ones belonging to the specified Account Number. # - # @param created_at [Increase::InboundACHTransferListParams::CreatedAt] + # @param created_at [Increase::Models::InboundACHTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::InboundACHTransferListParams::Status] + # @param status [Increase::Models::InboundACHTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundACHTransferListParams def list(params = {}) @@ -75,7 +75,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundACHTransfer] + # @return [Increase::Models::InboundACHTransfer] # # @see Increase::Models::InboundACHTransferCreateNotificationOfChangeParams def create_notification_of_change(inbound_ach_transfer_id, params = {}) @@ -98,11 +98,11 @@ def create_notification_of_change(inbound_ach_transfer_id, params = {}) # # @param inbound_ach_transfer_id [String] The identifier of the Inbound ACH Transfer to decline. # - # @param reason [Symbol, Increase::InboundACHTransferDeclineParams::Reason] The reason why this transfer will be returned. If this parameter is unset, the r + # @param reason [Symbol, Increase::Models::InboundACHTransferDeclineParams::Reason] The reason why this transfer will be returned. If this parameter is unset, the r # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundACHTransfer] + # @return [Increase::Models::InboundACHTransfer] # # @see Increase::Models::InboundACHTransferDeclineParams def decline(inbound_ach_transfer_id, params = {}) @@ -125,11 +125,11 @@ def decline(inbound_ach_transfer_id, params = {}) # # @param inbound_ach_transfer_id [String] The identifier of the Inbound ACH Transfer to return to the originating financia # - # @param reason [Symbol, Increase::InboundACHTransferTransferReturnParams::Reason] The reason why this transfer will be returned. The most usual return codes are ` + # @param reason [Symbol, Increase::Models::InboundACHTransferTransferReturnParams::Reason] The reason why this transfer will be returned. The most usual return codes are ` # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundACHTransfer] + # @return [Increase::Models::InboundACHTransfer] # # @see Increase::Models::InboundACHTransferTransferReturnParams def transfer_return(inbound_ach_transfer_id, params) diff --git a/lib/increase/resources/inbound_check_deposits.rb b/lib/increase/resources/inbound_check_deposits.rb index a467d96b2..803591eef 100644 --- a/lib/increase/resources/inbound_check_deposits.rb +++ b/lib/increase/resources/inbound_check_deposits.rb @@ -11,7 +11,7 @@ class InboundCheckDeposits # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundCheckDeposit] + # @return [Increase::Models::InboundCheckDeposit] # # @see Increase::Models::InboundCheckDepositRetrieveParams def retrieve(inbound_check_deposit_id, params = {}) @@ -34,7 +34,7 @@ def retrieve(inbound_check_deposit_id, params = {}) # # @param check_transfer_id [String] Filter Inbound Check Deposits to those belonging to the specified Check Transfer # - # @param created_at [Increase::InboundCheckDepositListParams::CreatedAt] + # @param created_at [Increase::Models::InboundCheckDepositListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -42,7 +42,7 @@ def retrieve(inbound_check_deposit_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundCheckDepositListParams def list(params = {}) @@ -65,7 +65,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundCheckDeposit] + # @return [Increase::Models::InboundCheckDeposit] # # @see Increase::Models::InboundCheckDepositDeclineParams def decline(inbound_check_deposit_id, params = {}) @@ -83,11 +83,11 @@ def decline(inbound_check_deposit_id, params = {}) # # @param inbound_check_deposit_id [String] The identifier of the Inbound Check Deposit to return. # - # @param reason [Symbol, Increase::InboundCheckDepositReturnParams::Reason] The reason to return the Inbound Check Deposit. + # @param reason [Symbol, Increase::Models::InboundCheckDepositReturnParams::Reason] The reason to return the Inbound Check Deposit. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundCheckDeposit] + # @return [Increase::Models::InboundCheckDeposit] # # @see Increase::Models::InboundCheckDepositReturnParams def return_(inbound_check_deposit_id, params) diff --git a/lib/increase/resources/inbound_mail_items.rb b/lib/increase/resources/inbound_mail_items.rb index 0c16a642e..e3a0f1b5a 100644 --- a/lib/increase/resources/inbound_mail_items.rb +++ b/lib/increase/resources/inbound_mail_items.rb @@ -11,7 +11,7 @@ class InboundMailItems # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundMailItem] + # @return [Increase::Models::InboundMailItem] # # @see Increase::Models::InboundMailItemRetrieveParams def retrieve(inbound_mail_item_id, params = {}) @@ -30,7 +30,7 @@ def retrieve(inbound_mail_item_id, params = {}) # # @overload list(created_at: nil, cursor: nil, limit: nil, lockbox_id: nil, request_options: {}) # - # @param created_at [Increase::InboundMailItemListParams::CreatedAt] + # @param created_at [Increase::Models::InboundMailItemListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -40,7 +40,7 @@ def retrieve(inbound_mail_item_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundMailItemListParams def list(params = {}) diff --git a/lib/increase/resources/inbound_real_time_payments_transfers.rb b/lib/increase/resources/inbound_real_time_payments_transfers.rb index ae8b69d2c..cfdcb7096 100755 --- a/lib/increase/resources/inbound_real_time_payments_transfers.rb +++ b/lib/increase/resources/inbound_real_time_payments_transfers.rb @@ -11,7 +11,7 @@ class InboundRealTimePaymentsTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundRealTimePaymentsTransfer] + # @return [Increase::Models::InboundRealTimePaymentsTransfer] # # @see Increase::Models::InboundRealTimePaymentsTransferRetrieveParams def retrieve(inbound_real_time_payments_transfer_id, params = {}) @@ -34,7 +34,7 @@ def retrieve(inbound_real_time_payments_transfer_id, params = {}) # # @param account_number_id [String] Filter Inbound Real-Time Payments Transfers to ones belonging to the specified A # - # @param created_at [Increase::InboundRealTimePaymentsTransferListParams::CreatedAt] + # @param created_at [Increase::Models::InboundRealTimePaymentsTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -42,7 +42,7 @@ def retrieve(inbound_real_time_payments_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundRealTimePaymentsTransferListParams def list(params = {}) diff --git a/lib/increase/resources/inbound_wire_drawdown_requests.rb b/lib/increase/resources/inbound_wire_drawdown_requests.rb index 4c459a409..d50403d74 100644 --- a/lib/increase/resources/inbound_wire_drawdown_requests.rb +++ b/lib/increase/resources/inbound_wire_drawdown_requests.rb @@ -11,7 +11,7 @@ class InboundWireDrawdownRequests # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundWireDrawdownRequest] + # @return [Increase::Models::InboundWireDrawdownRequest] # # @see Increase::Models::InboundWireDrawdownRequestRetrieveParams def retrieve(inbound_wire_drawdown_request_id, params = {}) @@ -36,7 +36,7 @@ def retrieve(inbound_wire_drawdown_request_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundWireDrawdownRequestListParams def list(params = {}) diff --git a/lib/increase/resources/inbound_wire_transfers.rb b/lib/increase/resources/inbound_wire_transfers.rb index 0347f0efb..be5c4d3f7 100644 --- a/lib/increase/resources/inbound_wire_transfers.rb +++ b/lib/increase/resources/inbound_wire_transfers.rb @@ -11,7 +11,7 @@ class InboundWireTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundWireTransfer] + # @return [Increase::Models::InboundWireTransfer] # # @see Increase::Models::InboundWireTransferRetrieveParams def retrieve(inbound_wire_transfer_id, params = {}) @@ -34,17 +34,17 @@ def retrieve(inbound_wire_transfer_id, params = {}) # # @param account_number_id [String] Filter Inbound Wire Transfers to ones belonging to the specified Account Number. # - # @param created_at [Increase::InboundWireTransferListParams::CreatedAt] + # @param created_at [Increase::Models::InboundWireTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::InboundWireTransferListParams::Status] + # @param status [Increase::Models::InboundWireTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::InboundWireTransferListParams def list(params = {}) @@ -65,11 +65,11 @@ def list(params = {}) # # @param inbound_wire_transfer_id [String] The identifier of the Inbound Wire Transfer to reverse. # - # @param reason [Symbol, Increase::InboundWireTransferReverseParams::Reason] Reason for the reversal. + # @param reason [Symbol, Increase::Models::InboundWireTransferReverseParams::Reason] Reason for the reversal. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundWireTransfer] + # @return [Increase::Models::InboundWireTransfer] # # @see Increase::Models::InboundWireTransferReverseParams def reverse(inbound_wire_transfer_id, params) diff --git a/lib/increase/resources/intrafi_account_enrollments.rb b/lib/increase/resources/intrafi_account_enrollments.rb index 67a993e3c..b4930f356 100644 --- a/lib/increase/resources/intrafi_account_enrollments.rb +++ b/lib/increase/resources/intrafi_account_enrollments.rb @@ -13,7 +13,7 @@ class IntrafiAccountEnrollments # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::IntrafiAccountEnrollment] + # @return [Increase::Models::IntrafiAccountEnrollment] # # @see Increase::Models::IntrafiAccountEnrollmentCreateParams def create(params) @@ -35,7 +35,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::IntrafiAccountEnrollment] + # @return [Increase::Models::IntrafiAccountEnrollment] # # @see Increase::Models::IntrafiAccountEnrollmentRetrieveParams def retrieve(intrafi_account_enrollment_id, params = {}) @@ -62,11 +62,11 @@ def retrieve(intrafi_account_enrollment_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::IntrafiAccountEnrollmentListParams::Status] + # @param status [Increase::Models::IntrafiAccountEnrollmentListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::IntrafiAccountEnrollmentListParams def list(params = {}) @@ -89,7 +89,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::IntrafiAccountEnrollment] + # @return [Increase::Models::IntrafiAccountEnrollment] # # @see Increase::Models::IntrafiAccountEnrollmentUnenrollParams def unenroll(intrafi_account_enrollment_id, params = {}) diff --git a/lib/increase/resources/intrafi_balances.rb b/lib/increase/resources/intrafi_balances.rb index 6ff5f4403..8c5abfad4 100644 --- a/lib/increase/resources/intrafi_balances.rb +++ b/lib/increase/resources/intrafi_balances.rb @@ -13,7 +13,7 @@ class IntrafiBalances # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::IntrafiBalance] + # @return [Increase::Models::IntrafiBalance] # # @see Increase::Models::IntrafiBalanceIntrafiBalanceParams def intrafi_balance(account_id, params = {}) diff --git a/lib/increase/resources/intrafi_exclusions.rb b/lib/increase/resources/intrafi_exclusions.rb index c57d168bd..9b6ada4a8 100644 --- a/lib/increase/resources/intrafi_exclusions.rb +++ b/lib/increase/resources/intrafi_exclusions.rb @@ -13,7 +13,7 @@ class IntrafiExclusions # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::IntrafiExclusion] + # @return [Increase::Models::IntrafiExclusion] # # @see Increase::Models::IntrafiExclusionCreateParams def create(params) @@ -35,7 +35,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::IntrafiExclusion] + # @return [Increase::Models::IntrafiExclusion] # # @see Increase::Models::IntrafiExclusionRetrieveParams def retrieve(intrafi_exclusion_id, params = {}) @@ -64,7 +64,7 @@ def retrieve(intrafi_exclusion_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::IntrafiExclusionListParams def list(params = {}) @@ -90,7 +90,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::IntrafiExclusion] + # @return [Increase::Models::IntrafiExclusion] # # @see Increase::Models::IntrafiExclusionArchiveParams def archive(intrafi_exclusion_id, params = {}) diff --git a/lib/increase/resources/lockboxes.rb b/lib/increase/resources/lockboxes.rb index a7da27930..c0e3123e9 100644 --- a/lib/increase/resources/lockboxes.rb +++ b/lib/increase/resources/lockboxes.rb @@ -15,7 +15,7 @@ class Lockboxes # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Lockbox] + # @return [Increase::Models::Lockbox] # # @see Increase::Models::LockboxCreateParams def create(params) @@ -37,7 +37,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Lockbox] + # @return [Increase::Models::Lockbox] # # @see Increase::Models::LockboxRetrieveParams def retrieve(lockbox_id, params = {}) @@ -59,11 +59,11 @@ def retrieve(lockbox_id, params = {}) # # @param recipient_name [String] The recipient name you choose for the Lockbox. # - # @param status [Symbol, Increase::LockboxUpdateParams::Status] This indicates if checks can be sent to the Lockbox. + # @param status [Symbol, Increase::Models::LockboxUpdateParams::Status] This indicates if checks can be sent to the Lockbox. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Lockbox] + # @return [Increase::Models::Lockbox] # # @see Increase::Models::LockboxUpdateParams def update(lockbox_id, params = {}) @@ -86,7 +86,7 @@ def update(lockbox_id, params = {}) # # @param account_id [String] Filter Lockboxes to those associated with the provided Account. # - # @param created_at [Increase::LockboxListParams::CreatedAt] + # @param created_at [Increase::Models::LockboxListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -96,7 +96,7 @@ def update(lockbox_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::LockboxListParams def list(params = {}) diff --git a/lib/increase/resources/oauth_applications.rb b/lib/increase/resources/oauth_applications.rb index 72084a3c6..b4102b026 100644 --- a/lib/increase/resources/oauth_applications.rb +++ b/lib/increase/resources/oauth_applications.rb @@ -11,7 +11,7 @@ class OAuthApplications # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::OAuthApplication] + # @return [Increase::Models::OAuthApplication] # # @see Increase::Models::OAuthApplicationRetrieveParams def retrieve(oauth_application_id, params = {}) @@ -30,17 +30,17 @@ def retrieve(oauth_application_id, params = {}) # # @overload list(created_at: nil, cursor: nil, limit: nil, status: nil, request_options: {}) # - # @param created_at [Increase::OAuthApplicationListParams::CreatedAt] + # @param created_at [Increase::Models::OAuthApplicationListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::OAuthApplicationListParams::Status] + # @param status [Increase::Models::OAuthApplicationListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::OAuthApplicationListParams def list(params = {}) diff --git a/lib/increase/resources/oauth_connections.rb b/lib/increase/resources/oauth_connections.rb index cd31d6f29..52ffbf3f5 100644 --- a/lib/increase/resources/oauth_connections.rb +++ b/lib/increase/resources/oauth_connections.rb @@ -11,7 +11,7 @@ class OAuthConnections # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::OAuthConnection] + # @return [Increase::Models::OAuthConnection] # # @see Increase::Models::OAuthConnectionRetrieveParams def retrieve(oauth_connection_id, params = {}) @@ -36,11 +36,11 @@ def retrieve(oauth_connection_id, params = {}) # # @param oauth_application_id [String] Filter results to only include OAuth Connections for a specific OAuth Applicatio # - # @param status [Increase::OAuthConnectionListParams::Status] + # @param status [Increase::Models::OAuthConnectionListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::OAuthConnectionListParams def list(params = {}) diff --git a/lib/increase/resources/oauth_tokens.rb b/lib/increase/resources/oauth_tokens.rb index 6605a5063..2b79cbb39 100644 --- a/lib/increase/resources/oauth_tokens.rb +++ b/lib/increase/resources/oauth_tokens.rb @@ -10,7 +10,7 @@ class OAuthTokens # # @overload create(grant_type:, client_id: nil, client_secret: nil, code: nil, production_token: nil, request_options: {}) # - # @param grant_type [Symbol, Increase::OAuthTokenCreateParams::GrantType] The credential you request in exchange for the code. In Production, this is alwa + # @param grant_type [Symbol, Increase::Models::OAuthTokenCreateParams::GrantType] The credential you request in exchange for the code. In Production, this is alwa # # @param client_id [String] The public identifier for your application. # @@ -22,7 +22,7 @@ class OAuthTokens # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::OAuthToken] + # @return [Increase::Models::OAuthToken] # # @see Increase::Models::OAuthTokenCreateParams def create(params) diff --git a/lib/increase/resources/pending_transactions.rb b/lib/increase/resources/pending_transactions.rb index 76dfff45a..cd6032510 100644 --- a/lib/increase/resources/pending_transactions.rb +++ b/lib/increase/resources/pending_transactions.rb @@ -11,7 +11,7 @@ class PendingTransactions # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PendingTransaction] + # @return [Increase::Models::PendingTransaction] # # @see Increase::Models::PendingTransactionRetrieveParams def retrieve(pending_transaction_id, params = {}) @@ -32,9 +32,9 @@ def retrieve(pending_transaction_id, params = {}) # # @param account_id [String] Filter pending transactions to those belonging to the specified Account. # - # @param category [Increase::PendingTransactionListParams::Category] + # @param category [Increase::Models::PendingTransactionListParams::Category] # - # @param created_at [Increase::PendingTransactionListParams::CreatedAt] + # @param created_at [Increase::Models::PendingTransactionListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -42,11 +42,11 @@ def retrieve(pending_transaction_id, params = {}) # # @param route_id [String] Filter pending transactions to those belonging to the specified Route. # - # @param status [Increase::PendingTransactionListParams::Status] + # @param status [Increase::Models::PendingTransactionListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::PendingTransactionListParams def list(params = {}) diff --git a/lib/increase/resources/physical_card_profiles.rb b/lib/increase/resources/physical_card_profiles.rb index 67dd0cd6f..a356ffbdc 100644 --- a/lib/increase/resources/physical_card_profiles.rb +++ b/lib/increase/resources/physical_card_profiles.rb @@ -20,11 +20,11 @@ class PhysicalCardProfiles # # @param program_id [String] The identifier for the Program that this Physical Card Profile falls under. # - # @param front_text [Increase::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt + # @param front_text [Increase::Models::PhysicalCardProfileCreateParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCardProfile] + # @return [Increase::Models::PhysicalCardProfile] # # @see Increase::Models::PhysicalCardProfileCreateParams def create(params) @@ -46,7 +46,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCardProfile] + # @return [Increase::Models::PhysicalCardProfile] # # @see Increase::Models::PhysicalCardProfileRetrieveParams def retrieve(physical_card_profile_id, params = {}) @@ -71,11 +71,11 @@ def retrieve(physical_card_profile_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::PhysicalCardProfileListParams::Status] + # @param status [Increase::Models::PhysicalCardProfileListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::PhysicalCardProfileListParams def list(params = {}) @@ -98,7 +98,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCardProfile] + # @return [Increase::Models::PhysicalCardProfile] # # @see Increase::Models::PhysicalCardProfileArchiveParams def archive(physical_card_profile_id, params = {}) @@ -127,11 +127,11 @@ def archive(physical_card_profile_id, params = {}) # # @param front_image_file_id [String] The identifier of the File containing the physical card's front image. # - # @param front_text [Increase::PhysicalCardProfileCloneParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt + # @param front_text [Increase::Models::PhysicalCardProfileCloneParams::FrontText] Text printed on the front of the card. Reach out to [support@increase.com](mailt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCardProfile] + # @return [Increase::Models::PhysicalCardProfile] # # @see Increase::Models::PhysicalCardProfileCloneParams def clone_(physical_card_profile_id, params = {}) diff --git a/lib/increase/resources/physical_cards.rb b/lib/increase/resources/physical_cards.rb index d3d797c0f..b3c2b9d06 100644 --- a/lib/increase/resources/physical_cards.rb +++ b/lib/increase/resources/physical_cards.rb @@ -12,15 +12,15 @@ class PhysicalCards # # @param card_id [String] The underlying card representing this physical card. # - # @param cardholder [Increase::PhysicalCardCreateParams::Cardholder] Details about the cardholder, as it will appear on the physical card. + # @param cardholder [Increase::Models::PhysicalCardCreateParams::Cardholder] Details about the cardholder, as it will appear on the physical card. # - # @param shipment [Increase::PhysicalCardCreateParams::Shipment] The details used to ship this physical card. + # @param shipment [Increase::Models::PhysicalCardCreateParams::Shipment] The details used to ship this physical card. # # @param physical_card_profile_id [String] The physical card profile to use for this physical card. The latest default phys # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCard] + # @return [Increase::Models::PhysicalCard] # # @see Increase::Models::PhysicalCardCreateParams def create(params) @@ -42,7 +42,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCard] + # @return [Increase::Models::PhysicalCard] # # @see Increase::Models::PhysicalCardRetrieveParams def retrieve(physical_card_id, params = {}) @@ -60,11 +60,11 @@ def retrieve(physical_card_id, params = {}) # # @param physical_card_id [String] The Physical Card identifier. # - # @param status [Symbol, Increase::PhysicalCardUpdateParams::Status] The status to update the Physical Card to. + # @param status [Symbol, Increase::Models::PhysicalCardUpdateParams::Status] The status to update the Physical Card to. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCard] + # @return [Increase::Models::PhysicalCard] # # @see Increase::Models::PhysicalCardUpdateParams def update(physical_card_id, params) @@ -87,7 +87,7 @@ def update(physical_card_id, params) # # @param card_id [String] Filter Physical Cards to ones belonging to the specified Card. # - # @param created_at [Increase::PhysicalCardListParams::CreatedAt] + # @param created_at [Increase::Models::PhysicalCardListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -97,7 +97,7 @@ def update(physical_card_id, params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::PhysicalCardListParams def list(params = {}) diff --git a/lib/increase/resources/programs.rb b/lib/increase/resources/programs.rb index 0463a4b0a..b69644b93 100644 --- a/lib/increase/resources/programs.rb +++ b/lib/increase/resources/programs.rb @@ -11,7 +11,7 @@ class Programs # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Program] + # @return [Increase::Models::Program] # # @see Increase::Models::ProgramRetrieveParams def retrieve(program_id, params = {}) @@ -36,7 +36,7 @@ def retrieve(program_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::ProgramListParams def list(params = {}) diff --git a/lib/increase/resources/real_time_decisions.rb b/lib/increase/resources/real_time_decisions.rb index a5a6b05be..f9682c55a 100644 --- a/lib/increase/resources/real_time_decisions.rb +++ b/lib/increase/resources/real_time_decisions.rb @@ -11,7 +11,7 @@ class RealTimeDecisions # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::RealTimeDecision] + # @return [Increase::Models::RealTimeDecision] # # @see Increase::Models::RealTimeDecisionRetrieveParams def retrieve(real_time_decision_id, params = {}) @@ -32,19 +32,19 @@ def retrieve(real_time_decision_id, params = {}) # # @param real_time_decision_id [String] The identifier of the Real-Time Decision. # - # @param card_authentication [Increase::RealTimeDecisionActionParams::CardAuthentication] If the Real-Time Decision relates to a 3DS card authentication attempt, this obj + # @param card_authentication [Increase::Models::RealTimeDecisionActionParams::CardAuthentication] If the Real-Time Decision relates to a 3DS card authentication attempt, this obj # - # @param card_authentication_challenge [Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge] If the Real-Time Decision relates to 3DS card authentication challenge delivery, + # @param card_authentication_challenge [Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge] If the Real-Time Decision relates to 3DS card authentication challenge delivery, # - # @param card_authorization [Increase::RealTimeDecisionActionParams::CardAuthorization] If the Real-Time Decision relates to a card authorization attempt, this object c + # @param card_authorization [Increase::Models::RealTimeDecisionActionParams::CardAuthorization] If the Real-Time Decision relates to a card authorization attempt, this object c # - # @param digital_wallet_authentication [Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication] If the Real-Time Decision relates to a digital wallet authentication attempt, th + # @param digital_wallet_authentication [Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication] If the Real-Time Decision relates to a digital wallet authentication attempt, th # - # @param digital_wallet_token [Increase::RealTimeDecisionActionParams::DigitalWalletToken] If the Real-Time Decision relates to a digital wallet token provisioning attempt + # @param digital_wallet_token [Increase::Models::RealTimeDecisionActionParams::DigitalWalletToken] If the Real-Time Decision relates to a digital wallet token provisioning attempt # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::RealTimeDecision] + # @return [Increase::Models::RealTimeDecision] # # @see Increase::Models::RealTimeDecisionActionParams def action(real_time_decision_id, params = {}) diff --git a/lib/increase/resources/real_time_payments_transfers.rb b/lib/increase/resources/real_time_payments_transfers.rb index edb718b38..c56d5dafe 100644 --- a/lib/increase/resources/real_time_payments_transfers.rb +++ b/lib/increase/resources/real_time_payments_transfers.rb @@ -34,7 +34,7 @@ class RealTimePaymentsTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::RealTimePaymentsTransfer] + # @return [Increase::Models::RealTimePaymentsTransfer] # # @see Increase::Models::RealTimePaymentsTransferCreateParams def create(params) @@ -56,7 +56,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::RealTimePaymentsTransfer] + # @return [Increase::Models::RealTimePaymentsTransfer] # # @see Increase::Models::RealTimePaymentsTransferRetrieveParams def retrieve(real_time_payments_transfer_id, params = {}) @@ -77,7 +77,7 @@ def retrieve(real_time_payments_transfer_id, params = {}) # # @param account_id [String] Filter Real-Time Payments Transfers to those belonging to the specified Account. # - # @param created_at [Increase::RealTimePaymentsTransferListParams::CreatedAt] + # @param created_at [Increase::Models::RealTimePaymentsTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -87,11 +87,11 @@ def retrieve(real_time_payments_transfer_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::RealTimePaymentsTransferListParams::Status] + # @param status [Increase::Models::RealTimePaymentsTransferListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::RealTimePaymentsTransferListParams def list(params = {}) diff --git a/lib/increase/resources/simulations/account_statements.rb b/lib/increase/resources/simulations/account_statements.rb index 4a2591f9a..0addea164 100644 --- a/lib/increase/resources/simulations/account_statements.rb +++ b/lib/increase/resources/simulations/account_statements.rb @@ -13,7 +13,7 @@ class AccountStatements # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountStatement] + # @return [Increase::Models::AccountStatement] # # @see Increase::Models::Simulations::AccountStatementCreateParams def create(params) diff --git a/lib/increase/resources/simulations/account_transfers.rb b/lib/increase/resources/simulations/account_transfers.rb index f7c85281d..ec5744dfd 100644 --- a/lib/increase/resources/simulations/account_transfers.rb +++ b/lib/increase/resources/simulations/account_transfers.rb @@ -15,7 +15,7 @@ class AccountTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::AccountTransfer] + # @return [Increase::Models::AccountTransfer] # # @see Increase::Models::Simulations::AccountTransferCompleteParams def complete(account_transfer_id, params = {}) diff --git a/lib/increase/resources/simulations/ach_transfers.rb b/lib/increase/resources/simulations/ach_transfers.rb index 35f455224..e056270ce 100644 --- a/lib/increase/resources/simulations/ach_transfers.rb +++ b/lib/increase/resources/simulations/ach_transfers.rb @@ -17,7 +17,7 @@ class ACHTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::Simulations::ACHTransferAcknowledgeParams def acknowledge(ach_transfer_id, params = {}) @@ -40,13 +40,13 @@ def acknowledge(ach_transfer_id, params = {}) # # @param ach_transfer_id [String] The identifier of the ACH Transfer you wish to create a notification of change f # - # @param change_code [Symbol, Increase::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] The reason for the notification of change. + # @param change_code [Symbol, Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::ChangeCode] The reason for the notification of change. # # @param corrected_data [String] The corrected data for the notification of change (e.g., a new routing number). # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams def create_notification_of_change(ach_transfer_id, params) @@ -71,11 +71,11 @@ def create_notification_of_change(ach_transfer_id, params) # # @param ach_transfer_id [String] The identifier of the ACH Transfer you wish to return. # - # @param reason [Symbol, Increase::Simulations::ACHTransferReturnParams::Reason] The reason why the Federal Reserve or destination bank returned this transfer. D + # @param reason [Symbol, Increase::Models::Simulations::ACHTransferReturnParams::Reason] The reason why the Federal Reserve or destination bank returned this transfer. D # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::Simulations::ACHTransferReturnParams def return_(ach_transfer_id, params = {}) @@ -102,7 +102,7 @@ def return_(ach_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::Simulations::ACHTransferSettleParams def settle(ach_transfer_id, params = {}) @@ -127,7 +127,7 @@ def settle(ach_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::ACHTransfer] + # @return [Increase::Models::ACHTransfer] # # @see Increase::Models::Simulations::ACHTransferSubmitParams def submit(ach_transfer_id, params = {}) diff --git a/lib/increase/resources/simulations/card_authorization_expirations.rb b/lib/increase/resources/simulations/card_authorization_expirations.rb index 7c36d597f..fefdae76c 100644 --- a/lib/increase/resources/simulations/card_authorization_expirations.rb +++ b/lib/increase/resources/simulations/card_authorization_expirations.rb @@ -12,7 +12,7 @@ class CardAuthorizationExpirations # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardPayment] + # @return [Increase::Models::CardPayment] # # @see Increase::Models::Simulations::CardAuthorizationExpirationCreateParams def create(params) diff --git a/lib/increase/resources/simulations/card_authorizations.rb b/lib/increase/resources/simulations/card_authorizations.rb index d1cb8e629..557215c6e 100644 --- a/lib/increase/resources/simulations/card_authorizations.rb +++ b/lib/increase/resources/simulations/card_authorizations.rb @@ -23,11 +23,11 @@ class CardAuthorizations # # @param card_id [String] The identifier of the Card to be authorized. # - # @param decline_reason [Symbol, Increase::Simulations::CardAuthorizationCreateParams::DeclineReason] Forces a card decline with a specific reason. No real time decision will be sent + # @param decline_reason [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::DeclineReason] Forces a card decline with a specific reason. No real time decision will be sent # # @param digital_wallet_token_id [String] The identifier of the Digital Wallet Token to be authorized. # - # @param direction [Symbol, Increase::Simulations::CardAuthorizationCreateParams::Direction] The direction describes the direction the funds will move, either from the cardh + # @param direction [Symbol, Increase::Models::Simulations::CardAuthorizationCreateParams::Direction] The direction describes the direction the funds will move, either from the cardh # # @param event_subscription_id [String] The identifier of the Event Subscription to use. If provided, will override the # @@ -43,7 +43,7 @@ class CardAuthorizations # # @param merchant_state [String] The state the merchant resides in. # - # @param network_details [Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails] Fields specific to a given card network. + # @param network_details [Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails] Fields specific to a given card network. # # @param network_risk_score [Integer] The risk score generated by the card network. For Visa this is the Visa Advanced # diff --git a/lib/increase/resources/simulations/card_disputes.rb b/lib/increase/resources/simulations/card_disputes.rb index f2f3e6f0a..e161f6587 100644 --- a/lib/increase/resources/simulations/card_disputes.rb +++ b/lib/increase/resources/simulations/card_disputes.rb @@ -13,13 +13,13 @@ class CardDisputes # # @param card_dispute_id [String] The dispute you would like to action. # - # @param status [Symbol, Increase::Simulations::CardDisputeActionParams::Status] The status to move the dispute to. + # @param status [Symbol, Increase::Models::Simulations::CardDisputeActionParams::Status] The status to move the dispute to. # # @param explanation [String] Why the dispute was rejected. Not required for accepting disputes. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardDispute] + # @return [Increase::Models::CardDispute] # # @see Increase::Models::Simulations::CardDisputeActionParams def action(card_dispute_id, params) diff --git a/lib/increase/resources/simulations/card_fuel_confirmations.rb b/lib/increase/resources/simulations/card_fuel_confirmations.rb index 204810e4e..14499976b 100644 --- a/lib/increase/resources/simulations/card_fuel_confirmations.rb +++ b/lib/increase/resources/simulations/card_fuel_confirmations.rb @@ -20,7 +20,7 @@ class CardFuelConfirmations # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardPayment] + # @return [Increase::Models::CardPayment] # # @see Increase::Models::Simulations::CardFuelConfirmationCreateParams def create(params) diff --git a/lib/increase/resources/simulations/card_increments.rb b/lib/increase/resources/simulations/card_increments.rb index b10bc9681..084c52970 100644 --- a/lib/increase/resources/simulations/card_increments.rb +++ b/lib/increase/resources/simulations/card_increments.rb @@ -20,7 +20,7 @@ class CardIncrements # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardPayment] + # @return [Increase::Models::CardPayment] # # @see Increase::Models::Simulations::CardIncrementCreateParams def create(params) diff --git a/lib/increase/resources/simulations/card_refunds.rb b/lib/increase/resources/simulations/card_refunds.rb index 36b0657af..bf50cae43 100644 --- a/lib/increase/resources/simulations/card_refunds.rb +++ b/lib/increase/resources/simulations/card_refunds.rb @@ -16,7 +16,7 @@ class CardRefunds # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Transaction] + # @return [Increase::Models::Transaction] # # @see Increase::Models::Simulations::CardRefundCreateParams def create(params) diff --git a/lib/increase/resources/simulations/card_reversals.rb b/lib/increase/resources/simulations/card_reversals.rb index 37ffea7e1..06b08a234 100644 --- a/lib/increase/resources/simulations/card_reversals.rb +++ b/lib/increase/resources/simulations/card_reversals.rb @@ -20,7 +20,7 @@ class CardReversals # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CardPayment] + # @return [Increase::Models::CardPayment] # # @see Increase::Models::Simulations::CardReversalCreateParams def create(params) diff --git a/lib/increase/resources/simulations/card_settlements.rb b/lib/increase/resources/simulations/card_settlements.rb index 66fe8f17f..a7f22ca62 100644 --- a/lib/increase/resources/simulations/card_settlements.rb +++ b/lib/increase/resources/simulations/card_settlements.rb @@ -23,7 +23,7 @@ class CardSettlements # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Transaction] + # @return [Increase::Models::Transaction] # # @see Increase::Models::Simulations::CardSettlementCreateParams def create(params) diff --git a/lib/increase/resources/simulations/check_deposits.rb b/lib/increase/resources/simulations/check_deposits.rb index 3f4e8a9a8..d2a838e76 100644 --- a/lib/increase/resources/simulations/check_deposits.rb +++ b/lib/increase/resources/simulations/check_deposits.rb @@ -14,7 +14,7 @@ class CheckDeposits # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckDeposit] + # @return [Increase::Models::CheckDeposit] # # @see Increase::Models::Simulations::CheckDepositRejectParams def reject(check_deposit_id, params = {}) @@ -35,7 +35,7 @@ def reject(check_deposit_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckDeposit] + # @return [Increase::Models::CheckDeposit] # # @see Increase::Models::Simulations::CheckDepositReturnParams def return_(check_deposit_id, params = {}) @@ -56,7 +56,7 @@ def return_(check_deposit_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckDeposit] + # @return [Increase::Models::CheckDeposit] # # @see Increase::Models::Simulations::CheckDepositSubmitParams def submit(check_deposit_id, params = {}) diff --git a/lib/increase/resources/simulations/check_transfers.rb b/lib/increase/resources/simulations/check_transfers.rb index 518de15cc..a0c280c46 100644 --- a/lib/increase/resources/simulations/check_transfers.rb +++ b/lib/increase/resources/simulations/check_transfers.rb @@ -15,7 +15,7 @@ class CheckTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::CheckTransfer] + # @return [Increase::Models::CheckTransfer] # # @see Increase::Models::Simulations::CheckTransferMailParams def mail(check_transfer_id, params = {}) diff --git a/lib/increase/resources/simulations/documents.rb b/lib/increase/resources/simulations/documents.rb index e030b5314..4f4f9d213 100644 --- a/lib/increase/resources/simulations/documents.rb +++ b/lib/increase/resources/simulations/documents.rb @@ -12,7 +12,7 @@ class Documents # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Document] + # @return [Increase::Models::Document] # # @see Increase::Models::Simulations::DocumentCreateParams def create(params) diff --git a/lib/increase/resources/simulations/inbound_ach_transfers.rb b/lib/increase/resources/simulations/inbound_ach_transfers.rb index e2cd538cb..ac26ce64e 100644 --- a/lib/increase/resources/simulations/inbound_ach_transfers.rb +++ b/lib/increase/resources/simulations/inbound_ach_transfers.rb @@ -41,11 +41,11 @@ class InboundACHTransfers # # @param resolve_at [Time] The time at which the transfer should be resolved. If not provided will resolve # - # @param standard_entry_class_code [Symbol, Increase::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode] The standard entry class code for the transfer. + # @param standard_entry_class_code [Symbol, Increase::Models::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode] The standard entry class code for the transfer. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundACHTransfer] + # @return [Increase::Models::InboundACHTransfer] # # @see Increase::Models::Simulations::InboundACHTransferCreateParams def create(params) diff --git a/lib/increase/resources/simulations/inbound_check_deposits.rb b/lib/increase/resources/simulations/inbound_check_deposits.rb index 8e774d79b..3632861c6 100644 --- a/lib/increase/resources/simulations/inbound_check_deposits.rb +++ b/lib/increase/resources/simulations/inbound_check_deposits.rb @@ -21,7 +21,7 @@ class InboundCheckDeposits # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundCheckDeposit] + # @return [Increase::Models::InboundCheckDeposit] # # @see Increase::Models::Simulations::InboundCheckDepositCreateParams def create(params) diff --git a/lib/increase/resources/simulations/inbound_mail_items.rb b/lib/increase/resources/simulations/inbound_mail_items.rb index 9780dbbe0..203cc80a2 100755 --- a/lib/increase/resources/simulations/inbound_mail_items.rb +++ b/lib/increase/resources/simulations/inbound_mail_items.rb @@ -20,7 +20,7 @@ class InboundMailItems # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundMailItem] + # @return [Increase::Models::InboundMailItem] # # @see Increase::Models::Simulations::InboundMailItemCreateParams def create(params) diff --git a/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb b/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb index 1339de26d..dd605b83b 100644 --- a/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb +++ b/lib/increase/resources/simulations/inbound_real_time_payments_transfers.rb @@ -30,7 +30,7 @@ class InboundRealTimePaymentsTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundRealTimePaymentsTransfer] + # @return [Increase::Models::InboundRealTimePaymentsTransfer] # # @see Increase::Models::Simulations::InboundRealTimePaymentsTransferCreateParams def create(params) diff --git a/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb b/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb index 2746c7766..a0b50ea32 100644 --- a/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb +++ b/lib/increase/resources/simulations/inbound_wire_drawdown_requests.rb @@ -55,7 +55,7 @@ class InboundWireDrawdownRequests # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundWireDrawdownRequest] + # @return [Increase::Models::InboundWireDrawdownRequest] # # @see Increase::Models::Simulations::InboundWireDrawdownRequestCreateParams def create(params) diff --git a/lib/increase/resources/simulations/inbound_wire_transfers.rb b/lib/increase/resources/simulations/inbound_wire_transfers.rb index 3215b9036..ef1b0c64e 100644 --- a/lib/increase/resources/simulations/inbound_wire_transfers.rb +++ b/lib/increase/resources/simulations/inbound_wire_transfers.rb @@ -48,7 +48,7 @@ class InboundWireTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::InboundWireTransfer] + # @return [Increase::Models::InboundWireTransfer] # # @see Increase::Models::Simulations::InboundWireTransferCreateParams def create(params) diff --git a/lib/increase/resources/simulations/interest_payments.rb b/lib/increase/resources/simulations/interest_payments.rb index ae32de0ce..6d261591a 100644 --- a/lib/increase/resources/simulations/interest_payments.rb +++ b/lib/increase/resources/simulations/interest_payments.rb @@ -24,7 +24,7 @@ class InterestPayments # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Transaction] + # @return [Increase::Models::Transaction] # # @see Increase::Models::Simulations::InterestPaymentCreateParams def create(params) diff --git a/lib/increase/resources/simulations/physical_cards.rb b/lib/increase/resources/simulations/physical_cards.rb index bea3b6c64..427a010d7 100644 --- a/lib/increase/resources/simulations/physical_cards.rb +++ b/lib/increase/resources/simulations/physical_cards.rb @@ -12,11 +12,11 @@ class PhysicalCards # # @param physical_card_id [String] The Physical Card you would like to action. # - # @param shipment_status [Symbol, Increase::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus] The shipment status to move the Physical Card to. + # @param shipment_status [Symbol, Increase::Models::Simulations::PhysicalCardAdvanceShipmentParams::ShipmentStatus] The shipment status to move the Physical Card to. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::PhysicalCard] + # @return [Increase::Models::PhysicalCard] # # @see Increase::Models::Simulations::PhysicalCardAdvanceShipmentParams def advance_shipment(physical_card_id, params) diff --git a/lib/increase/resources/simulations/programs.rb b/lib/increase/resources/simulations/programs.rb index 6a93ecfc9..e3cb994fa 100644 --- a/lib/increase/resources/simulations/programs.rb +++ b/lib/increase/resources/simulations/programs.rb @@ -17,7 +17,7 @@ class Programs # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Program] + # @return [Increase::Models::Program] # # @see Increase::Models::Simulations::ProgramCreateParams def create(params) diff --git a/lib/increase/resources/simulations/real_time_payments_transfers.rb b/lib/increase/resources/simulations/real_time_payments_transfers.rb index fe008dd57..d83322be5 100644 --- a/lib/increase/resources/simulations/real_time_payments_transfers.rb +++ b/lib/increase/resources/simulations/real_time_payments_transfers.rb @@ -13,11 +13,11 @@ class RealTimePaymentsTransfers # # @param real_time_payments_transfer_id [String] The identifier of the Real-Time Payments Transfer you wish to complete. # - # @param rejection [Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection] If set, the simulation will reject the transfer. + # @param rejection [Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection] If set, the simulation will reject the transfer. # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::RealTimePaymentsTransfer] + # @return [Increase::Models::RealTimePaymentsTransfer] # # @see Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams def complete(real_time_payments_transfer_id, params = {}) diff --git a/lib/increase/resources/simulations/wire_transfers.rb b/lib/increase/resources/simulations/wire_transfers.rb index e153951b0..9a0d1d30b 100644 --- a/lib/increase/resources/simulations/wire_transfers.rb +++ b/lib/increase/resources/simulations/wire_transfers.rb @@ -15,7 +15,7 @@ class WireTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireTransfer] + # @return [Increase::Models::WireTransfer] # # @see Increase::Models::Simulations::WireTransferReverseParams def reverse(wire_transfer_id, params = {}) @@ -37,7 +37,7 @@ def reverse(wire_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireTransfer] + # @return [Increase::Models::WireTransfer] # # @see Increase::Models::Simulations::WireTransferSubmitParams def submit(wire_transfer_id, params = {}) diff --git a/lib/increase/resources/supplemental_documents.rb b/lib/increase/resources/supplemental_documents.rb index 7ecebea80..025c48f31 100644 --- a/lib/increase/resources/supplemental_documents.rb +++ b/lib/increase/resources/supplemental_documents.rb @@ -13,7 +13,7 @@ class SupplementalDocuments # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::EntitySupplementalDocument] + # @return [Increase::Models::EntitySupplementalDocument] # # @see Increase::Models::SupplementalDocumentCreateParams def create(params) @@ -44,7 +44,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::SupplementalDocumentListParams def list(params) diff --git a/lib/increase/resources/transactions.rb b/lib/increase/resources/transactions.rb index 116226a76..f0a4b3e80 100644 --- a/lib/increase/resources/transactions.rb +++ b/lib/increase/resources/transactions.rb @@ -11,7 +11,7 @@ class Transactions # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Transaction] + # @return [Increase::Models::Transaction] # # @see Increase::Models::TransactionRetrieveParams def retrieve(transaction_id, params = {}) @@ -32,9 +32,9 @@ def retrieve(transaction_id, params = {}) # # @param account_id [String] Filter Transactions for those belonging to the specified Account. # - # @param category [Increase::TransactionListParams::Category] + # @param category [Increase::Models::TransactionListParams::Category] # - # @param created_at [Increase::TransactionListParams::CreatedAt] + # @param created_at [Increase::Models::TransactionListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -44,7 +44,7 @@ def retrieve(transaction_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::TransactionListParams def list(params = {}) diff --git a/lib/increase/resources/wire_drawdown_requests.rb b/lib/increase/resources/wire_drawdown_requests.rb index 6f263632e..52e3ac137 100644 --- a/lib/increase/resources/wire_drawdown_requests.rb +++ b/lib/increase/resources/wire_drawdown_requests.rb @@ -38,7 +38,7 @@ class WireDrawdownRequests # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireDrawdownRequest] + # @return [Increase::Models::WireDrawdownRequest] # # @see Increase::Models::WireDrawdownRequestCreateParams def create(params) @@ -60,7 +60,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireDrawdownRequest] + # @return [Increase::Models::WireDrawdownRequest] # # @see Increase::Models::WireDrawdownRequestRetrieveParams def retrieve(wire_drawdown_request_id, params = {}) @@ -85,11 +85,11 @@ def retrieve(wire_drawdown_request_id, params = {}) # # @param limit [Integer] Limit the size of the list that is returned. The default (and maximum) is 100 ob # - # @param status [Increase::WireDrawdownRequestListParams::Status] + # @param status [Increase::Models::WireDrawdownRequestListParams::Status] # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::WireDrawdownRequestListParams def list(params = {}) diff --git a/lib/increase/resources/wire_transfers.rb b/lib/increase/resources/wire_transfers.rb index 2f8142e55..75b7af7bd 100644 --- a/lib/increase/resources/wire_transfers.rb +++ b/lib/increase/resources/wire_transfers.rb @@ -44,7 +44,7 @@ class WireTransfers # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireTransfer] + # @return [Increase::Models::WireTransfer] # # @see Increase::Models::WireTransferCreateParams def create(params) @@ -66,7 +66,7 @@ def create(params) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireTransfer] + # @return [Increase::Models::WireTransfer] # # @see Increase::Models::WireTransferRetrieveParams def retrieve(wire_transfer_id, params = {}) @@ -87,7 +87,7 @@ def retrieve(wire_transfer_id, params = {}) # # @param account_id [String] Filter Wire Transfers to those belonging to the specified Account. # - # @param created_at [Increase::WireTransferListParams::CreatedAt] + # @param created_at [Increase::Models::WireTransferListParams::CreatedAt] # # @param cursor [String] Return the page of entries after this one. # @@ -99,7 +99,7 @@ def retrieve(wire_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::Internal::Page] + # @return [Increase::Internal::Page] # # @see Increase::Models::WireTransferListParams def list(params = {}) @@ -122,7 +122,7 @@ def list(params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireTransfer] + # @return [Increase::Models::WireTransfer] # # @see Increase::Models::WireTransferApproveParams def approve(wire_transfer_id, params = {}) @@ -142,7 +142,7 @@ def approve(wire_transfer_id, params = {}) # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}, nil] # - # @return [Increase::WireTransfer] + # @return [Increase::Models::WireTransfer] # # @see Increase::Models::WireTransferCancelParams def cancel(wire_transfer_id, params = {}) diff --git a/sig/increase/models/account.rbs b/sig/increase/models/account.rbs index 5970e27f3..dfb578409 100644 --- a/sig/increase/models/account.rbs +++ b/sig/increase/models/account.rbs @@ -3,10 +3,10 @@ module Increase type account = { id: String, - bank: Increase::Account::bank, + bank: Increase::Models::Account::bank, closed_at: Time?, created_at: Time, - currency: Increase::Account::currency, + currency: Increase::Models::Account::currency, entity_id: String?, idempotency_key: String?, informational_entity_id: String?, @@ -15,20 +15,20 @@ module Increase interest_rate: String, name: String, program_id: String, - status: Increase::Account::status, - type: Increase::Account::type_ + status: Increase::Models::Account::status, + type: Increase::Models::Account::type_ } class Account < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor bank: Increase::Account::bank + attr_accessor bank: Increase::Models::Account::bank attr_accessor closed_at: Time? attr_accessor created_at: Time - attr_accessor currency: Increase::Account::currency + attr_accessor currency: Increase::Models::Account::currency attr_accessor entity_id: String? @@ -46,16 +46,16 @@ module Increase attr_accessor program_id: String - attr_accessor status: Increase::Account::status + attr_accessor status: Increase::Models::Account::status - attr_accessor type: Increase::Account::type_ + attr_accessor type: Increase::Models::Account::type_ def initialize: ( id: String, - bank: Increase::Account::bank, + bank: Increase::Models::Account::bank, closed_at: Time?, created_at: Time, - currency: Increase::Account::currency, + currency: Increase::Models::Account::currency, entity_id: String?, idempotency_key: String?, informational_entity_id: String?, @@ -64,10 +64,28 @@ module Increase interest_rate: String, name: String, program_id: String, - status: Increase::Account::status, - type: Increase::Account::type_ + status: Increase::Models::Account::status, + type: Increase::Models::Account::type_ ) -> void + def to_hash: -> { + id: String, + bank: Increase::Models::Account::bank, + closed_at: Time?, + created_at: Time, + currency: Increase::Models::Account::currency, + entity_id: String?, + idempotency_key: String?, + informational_entity_id: String?, + interest_accrued: String, + interest_accrued_at: Date?, + interest_rate: String, + name: String, + program_id: String, + status: Increase::Models::Account::status, + type: Increase::Models::Account::type_ + } + type bank = :core_bank | :first_internet_bank | :grasshopper_bank module Bank @@ -82,7 +100,7 @@ module Increase # Grasshopper Bank GRASSHOPPER_BANK: :grasshopper_bank - def self?.values: -> ::Array[Increase::Account::bank] + def self?.values: -> ::Array[Increase::Models::Account::bank] end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -108,7 +126,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Account::currency] + def self?.values: -> ::Array[Increase::Models::Account::currency] end type status = :closed | :open @@ -122,7 +140,7 @@ module Increase # Open Accounts that are ready to use. OPEN: :open - def self?.values: -> ::Array[Increase::Account::status] + def self?.values: -> ::Array[Increase::Models::Account::status] end type type_ = :account @@ -132,7 +150,7 @@ module Increase ACCOUNT: :account - def self?.values: -> ::Array[Increase::Account::type_] + def self?.values: -> ::Array[Increase::Models::Account::type_] end end end diff --git a/sig/increase/models/account_balance_params.rbs b/sig/increase/models/account_balance_params.rbs index baa2b1c2a..ed0035936 100644 --- a/sig/increase/models/account_balance_params.rbs +++ b/sig/increase/models/account_balance_params.rbs @@ -15,6 +15,11 @@ module Increase ?at_time: Time, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + at_time: Time, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/account_close_params.rbs b/sig/increase/models/account_close_params.rbs index 40639d350..b4a243c13 100644 --- a/sig/increase/models/account_close_params.rbs +++ b/sig/increase/models/account_close_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/account_create_params.rbs b/sig/increase/models/account_create_params.rbs index 24b371990..96e294073 100644 --- a/sig/increase/models/account_create_params.rbs +++ b/sig/increase/models/account_create_params.rbs @@ -34,6 +34,14 @@ module Increase ?program_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + name: String, + entity_id: String, + informational_entity_id: String, + program_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/account_list_params.rbs b/sig/increase/models/account_list_params.rbs index 4529b8c9e..07204858d 100644 --- a/sig/increase/models/account_list_params.rbs +++ b/sig/increase/models/account_list_params.rbs @@ -65,6 +65,18 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + created_at: Increase::AccountListParams::CreatedAt, + cursor: String, + entity_id: String, + idempotency_key: String, + informational_entity_id: String, + limit: Integer, + program_id: String, + status: Increase::AccountListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -91,21 +103,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end - type status = { in_: ::Array[Increase::AccountListParams::Status::in_] } + type status = + { in_: ::Array[Increase::Models::AccountListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::AccountListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::AccountListParams::Status::in_]? def in_=: ( - ::Array[Increase::AccountListParams::Status::in_] - ) -> ::Array[Increase::AccountListParams::Status::in_] + ::Array[Increase::Models::AccountListParams::Status::in_] + ) -> ::Array[Increase::Models::AccountListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::AccountListParams::Status::in_] + ?in_: ::Array[Increase::Models::AccountListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::AccountListParams::Status::in_] + } + type in_ = :closed | :open module In @@ -117,7 +141,7 @@ module Increase # Open Accounts that are ready to use. OPEN: :open - def self?.values: -> ::Array[Increase::AccountListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::AccountListParams::Status::in_] end end end diff --git a/sig/increase/models/account_number.rbs b/sig/increase/models/account_number.rbs index 7ac454ea9..3bdf68497 100644 --- a/sig/increase/models/account_number.rbs +++ b/sig/increase/models/account_number.rbs @@ -11,8 +11,8 @@ module Increase inbound_checks: Increase::AccountNumber::InboundChecks, name: String, routing_number: String, - status: Increase::AccountNumber::status, - type: Increase::AccountNumber::type_ + status: Increase::Models::AccountNumber::status, + type: Increase::Models::AccountNumber::type_ } class AccountNumber < Increase::Internal::Type::BaseModel @@ -34,9 +34,9 @@ module Increase attr_accessor routing_number: String - attr_accessor status: Increase::AccountNumber::status + attr_accessor status: Increase::Models::AccountNumber::status - attr_accessor type: Increase::AccountNumber::type_ + attr_accessor type: Increase::Models::AccountNumber::type_ def initialize: ( id: String, @@ -48,20 +48,40 @@ module Increase inbound_checks: Increase::AccountNumber::InboundChecks, name: String, routing_number: String, - status: Increase::AccountNumber::status, - type: Increase::AccountNumber::type_ + status: Increase::Models::AccountNumber::status, + type: Increase::Models::AccountNumber::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + account_number: String, + created_at: Time, + idempotency_key: String?, + inbound_ach: Increase::AccountNumber::InboundACH, + inbound_checks: Increase::AccountNumber::InboundChecks, + name: String, + routing_number: String, + status: Increase::Models::AccountNumber::status, + type: Increase::Models::AccountNumber::type_ + } + type inbound_ach = - { debit_status: Increase::AccountNumber::InboundACH::debit_status } + { + debit_status: Increase::Models::AccountNumber::InboundACH::debit_status + } class InboundACH < Increase::Internal::Type::BaseModel - attr_accessor debit_status: Increase::AccountNumber::InboundACH::debit_status + attr_accessor debit_status: Increase::Models::AccountNumber::InboundACH::debit_status def initialize: ( - debit_status: Increase::AccountNumber::InboundACH::debit_status + debit_status: Increase::Models::AccountNumber::InboundACH::debit_status ) -> void + def to_hash: -> { + debit_status: Increase::Models::AccountNumber::InboundACH::debit_status + } + type debit_status = :allowed | :blocked module DebitStatus @@ -73,20 +93,24 @@ module Increase # ACH Debits are blocked. BLOCKED: :blocked - def self?.values: -> ::Array[Increase::AccountNumber::InboundACH::debit_status] + def self?.values: -> ::Array[Increase::Models::AccountNumber::InboundACH::debit_status] end end type inbound_checks = - { status: Increase::AccountNumber::InboundChecks::status } + { status: Increase::Models::AccountNumber::InboundChecks::status } class InboundChecks < Increase::Internal::Type::BaseModel - attr_accessor status: Increase::AccountNumber::InboundChecks::status + attr_accessor status: Increase::Models::AccountNumber::InboundChecks::status def initialize: ( - status: Increase::AccountNumber::InboundChecks::status + status: Increase::Models::AccountNumber::InboundChecks::status ) -> void + def to_hash: -> { + status: Increase::Models::AccountNumber::InboundChecks::status + } + type status = :allowed | :check_transfers_only module Status @@ -98,7 +122,7 @@ module Increase # Checks with this Account Number will be processed only if they can be matched to an existing Check Transfer. CHECK_TRANSFERS_ONLY: :check_transfers_only - def self?.values: -> ::Array[Increase::AccountNumber::InboundChecks::status] + def self?.values: -> ::Array[Increase::Models::AccountNumber::InboundChecks::status] end end @@ -116,7 +140,7 @@ module Increase # The account number is permanently disabled. CANCELED: :canceled - def self?.values: -> ::Array[Increase::AccountNumber::status] + def self?.values: -> ::Array[Increase::Models::AccountNumber::status] end type type_ = :account_number @@ -126,7 +150,7 @@ module Increase ACCOUNT_NUMBER: :account_number - def self?.values: -> ::Array[Increase::AccountNumber::type_] + def self?.values: -> ::Array[Increase::Models::AccountNumber::type_] end end end diff --git a/sig/increase/models/account_number_create_params.rbs b/sig/increase/models/account_number_create_params.rbs index ba63e26d9..d86ae1c26 100644 --- a/sig/increase/models/account_number_create_params.rbs +++ b/sig/increase/models/account_number_create_params.rbs @@ -37,18 +37,30 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + name: String, + inbound_ach: Increase::AccountNumberCreateParams::InboundACH, + inbound_checks: Increase::AccountNumberCreateParams::InboundChecks, + request_options: Increase::RequestOptions + } + type inbound_ach = { - debit_status: Increase::AccountNumberCreateParams::InboundACH::debit_status + debit_status: Increase::Models::AccountNumberCreateParams::InboundACH::debit_status } class InboundACH < Increase::Internal::Type::BaseModel - attr_accessor debit_status: Increase::AccountNumberCreateParams::InboundACH::debit_status + attr_accessor debit_status: Increase::Models::AccountNumberCreateParams::InboundACH::debit_status def initialize: ( - debit_status: Increase::AccountNumberCreateParams::InboundACH::debit_status + debit_status: Increase::Models::AccountNumberCreateParams::InboundACH::debit_status ) -> void + def to_hash: -> { + debit_status: Increase::Models::AccountNumberCreateParams::InboundACH::debit_status + } + type debit_status = :allowed | :blocked module DebitStatus @@ -60,20 +72,26 @@ module Increase # ACH Debits are blocked. BLOCKED: :blocked - def self?.values: -> ::Array[Increase::AccountNumberCreateParams::InboundACH::debit_status] + def self?.values: -> ::Array[Increase::Models::AccountNumberCreateParams::InboundACH::debit_status] end end type inbound_checks = - { status: Increase::AccountNumberCreateParams::InboundChecks::status } + { + status: Increase::Models::AccountNumberCreateParams::InboundChecks::status + } class InboundChecks < Increase::Internal::Type::BaseModel - attr_accessor status: Increase::AccountNumberCreateParams::InboundChecks::status + attr_accessor status: Increase::Models::AccountNumberCreateParams::InboundChecks::status def initialize: ( - status: Increase::AccountNumberCreateParams::InboundChecks::status + status: Increase::Models::AccountNumberCreateParams::InboundChecks::status ) -> void + def to_hash: -> { + status: Increase::Models::AccountNumberCreateParams::InboundChecks::status + } + type status = :allowed | :check_transfers_only module Status @@ -85,7 +103,7 @@ module Increase # Checks with this Account Number will be processed only if they can be matched to an existing Check Transfer. CHECK_TRANSFERS_ONLY: :check_transfers_only - def self?.values: -> ::Array[Increase::AccountNumberCreateParams::InboundChecks::status] + def self?.values: -> ::Array[Increase::Models::AccountNumberCreateParams::InboundChecks::status] end end end diff --git a/sig/increase/models/account_number_list_params.rbs b/sig/increase/models/account_number_list_params.rbs index 0687acd65..d50502be5 100644 --- a/sig/increase/models/account_number_list_params.rbs +++ b/sig/increase/models/account_number_list_params.rbs @@ -61,20 +61,37 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + ach_debit_status: Increase::AccountNumberListParams::ACHDebitStatus, + created_at: Increase::AccountNumberListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::AccountNumberListParams::Status, + request_options: Increase::RequestOptions + } + type ach_debit_status = - { in_: ::Array[Increase::AccountNumberListParams::ACHDebitStatus::in_] } + { + in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_] + } class ACHDebitStatus < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::AccountNumberListParams::ACHDebitStatus::in_]? + attr_reader in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_]? def in_=: ( - ::Array[Increase::AccountNumberListParams::ACHDebitStatus::in_] - ) -> ::Array[Increase::AccountNumberListParams::ACHDebitStatus::in_] + ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_] + ) -> ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_] def initialize: ( - ?in_: ::Array[Increase::AccountNumberListParams::ACHDebitStatus::in_] + ?in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_] + } + type in_ = :allowed | :blocked module In @@ -86,7 +103,7 @@ module Increase # ACH Debits are blocked. BLOCKED: :blocked - def self?.values: -> ::Array[Increase::AccountNumberListParams::ACHDebitStatus::in_] + def self?.values: -> ::Array[Increase::Models::AccountNumberListParams::ACHDebitStatus::in_] end end @@ -116,22 +133,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::AccountNumberListParams::Status::in_] } + { in_: ::Array[Increase::Models::AccountNumberListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::AccountNumberListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::AccountNumberListParams::Status::in_]? def in_=: ( - ::Array[Increase::AccountNumberListParams::Status::in_] - ) -> ::Array[Increase::AccountNumberListParams::Status::in_] + ::Array[Increase::Models::AccountNumberListParams::Status::in_] + ) -> ::Array[Increase::Models::AccountNumberListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::AccountNumberListParams::Status::in_] + ?in_: ::Array[Increase::Models::AccountNumberListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::AccountNumberListParams::Status::in_] + } + type in_ = :active | :disabled | :canceled module In @@ -146,7 +174,7 @@ module Increase # The account number is permanently disabled. CANCELED: :canceled - def self?.values: -> ::Array[Increase::AccountNumberListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::AccountNumberListParams::Status::in_] end end end diff --git a/sig/increase/models/account_number_retrieve_params.rbs b/sig/increase/models/account_number_retrieve_params.rbs index edd49f67e..5f86dd0ca 100644 --- a/sig/increase/models/account_number_retrieve_params.rbs +++ b/sig/increase/models/account_number_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/account_number_update_params.rbs b/sig/increase/models/account_number_update_params.rbs index d5cc3158b..00d884f6b 100644 --- a/sig/increase/models/account_number_update_params.rbs +++ b/sig/increase/models/account_number_update_params.rbs @@ -43,22 +43,34 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + inbound_ach: Increase::AccountNumberUpdateParams::InboundACH, + inbound_checks: Increase::AccountNumberUpdateParams::InboundChecks, + name: String, + status: Increase::Models::AccountNumberUpdateParams::status, + request_options: Increase::RequestOptions + } + type inbound_ach = { - debit_status: Increase::AccountNumberUpdateParams::InboundACH::debit_status + debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status } class InboundACH < Increase::Internal::Type::BaseModel - attr_reader debit_status: Increase::AccountNumberUpdateParams::InboundACH::debit_status? + attr_reader debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status? def debit_status=: ( - Increase::AccountNumberUpdateParams::InboundACH::debit_status - ) -> Increase::AccountNumberUpdateParams::InboundACH::debit_status + Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status + ) -> Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status def initialize: ( - ?debit_status: Increase::AccountNumberUpdateParams::InboundACH::debit_status + ?debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status ) -> void + def to_hash: -> { + debit_status: Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status + } + type debit_status = :allowed | :blocked module DebitStatus @@ -70,20 +82,26 @@ module Increase # ACH Debits are blocked. BLOCKED: :blocked - def self?.values: -> ::Array[Increase::AccountNumberUpdateParams::InboundACH::debit_status] + def self?.values: -> ::Array[Increase::Models::AccountNumberUpdateParams::InboundACH::debit_status] end end type inbound_checks = - { status: Increase::AccountNumberUpdateParams::InboundChecks::status } + { + status: Increase::Models::AccountNumberUpdateParams::InboundChecks::status + } class InboundChecks < Increase::Internal::Type::BaseModel - attr_accessor status: Increase::AccountNumberUpdateParams::InboundChecks::status + attr_accessor status: Increase::Models::AccountNumberUpdateParams::InboundChecks::status def initialize: ( - status: Increase::AccountNumberUpdateParams::InboundChecks::status + status: Increase::Models::AccountNumberUpdateParams::InboundChecks::status ) -> void + def to_hash: -> { + status: Increase::Models::AccountNumberUpdateParams::InboundChecks::status + } + type status = :allowed | :check_transfers_only module Status @@ -95,7 +113,7 @@ module Increase # Checks with this Account Number will be processed only if they can be matched to an existing Check Transfer. CHECK_TRANSFERS_ONLY: :check_transfers_only - def self?.values: -> ::Array[Increase::AccountNumberUpdateParams::InboundChecks::status] + def self?.values: -> ::Array[Increase::Models::AccountNumberUpdateParams::InboundChecks::status] end end diff --git a/sig/increase/models/account_retrieve_params.rbs b/sig/increase/models/account_retrieve_params.rbs index a7749570d..5645c41b9 100644 --- a/sig/increase/models/account_retrieve_params.rbs +++ b/sig/increase/models/account_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/account_statement.rbs b/sig/increase/models/account_statement.rbs index fbf500972..67a71a798 100644 --- a/sig/increase/models/account_statement.rbs +++ b/sig/increase/models/account_statement.rbs @@ -10,7 +10,7 @@ module Increase starting_balance: Integer, statement_period_end: Time, statement_period_start: Time, - type: Increase::AccountStatement::type_ + type: Increase::Models::AccountStatement::type_ } class AccountStatement < Increase::Internal::Type::BaseModel @@ -30,7 +30,7 @@ module Increase attr_accessor statement_period_start: Time - attr_accessor type: Increase::AccountStatement::type_ + attr_accessor type: Increase::Models::AccountStatement::type_ def initialize: ( id: String, @@ -41,9 +41,21 @@ module Increase starting_balance: Integer, statement_period_end: Time, statement_period_start: Time, - type: Increase::AccountStatement::type_ + type: Increase::Models::AccountStatement::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + created_at: Time, + ending_balance: Integer, + file_id: String, + starting_balance: Integer, + statement_period_end: Time, + statement_period_start: Time, + type: Increase::Models::AccountStatement::type_ + } + type type_ = :account_statement module Type @@ -51,7 +63,7 @@ module Increase ACCOUNT_STATEMENT: :account_statement - def self?.values: -> ::Array[Increase::AccountStatement::type_] + def self?.values: -> ::Array[Increase::Models::AccountStatement::type_] end end end diff --git a/sig/increase/models/account_statement_list_params.rbs b/sig/increase/models/account_statement_list_params.rbs index 2581eb5a3..f60b22245 100644 --- a/sig/increase/models/account_statement_list_params.rbs +++ b/sig/increase/models/account_statement_list_params.rbs @@ -39,6 +39,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + cursor: String, + limit: Integer, + statement_period_start: Increase::AccountStatementListParams::StatementPeriodStart, + request_options: Increase::RequestOptions + } + type statement_period_start = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -65,6 +73,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/account_statement_retrieve_params.rbs b/sig/increase/models/account_statement_retrieve_params.rbs index 2df0218dd..65245faf6 100644 --- a/sig/increase/models/account_statement_retrieve_params.rbs +++ b/sig/increase/models/account_statement_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/account_transfer.rbs b/sig/increase/models/account_transfer.rbs index 0eea6cc20..67b947bed 100644 --- a/sig/increase/models/account_transfer.rbs +++ b/sig/increase/models/account_transfer.rbs @@ -9,16 +9,16 @@ module Increase cancellation: Increase::AccountTransfer::Cancellation?, created_at: Time, created_by: Increase::AccountTransfer::CreatedBy?, - currency: Increase::AccountTransfer::currency, + currency: Increase::Models::AccountTransfer::currency, description: String, destination_account_id: String, destination_transaction_id: String?, idempotency_key: String?, - network: Increase::AccountTransfer::network, + network: Increase::Models::AccountTransfer::network, pending_transaction_id: String?, - status: Increase::AccountTransfer::status, + status: Increase::Models::AccountTransfer::status, transaction_id: String?, - type: Increase::AccountTransfer::type_ + type: Increase::Models::AccountTransfer::type_ } class AccountTransfer < Increase::Internal::Type::BaseModel @@ -36,7 +36,7 @@ module Increase attr_accessor created_by: Increase::AccountTransfer::CreatedBy? - attr_accessor currency: Increase::AccountTransfer::currency + attr_accessor currency: Increase::Models::AccountTransfer::currency attr_accessor description: String @@ -46,15 +46,15 @@ module Increase attr_accessor idempotency_key: String? - attr_accessor network: Increase::AccountTransfer::network + attr_accessor network: Increase::Models::AccountTransfer::network attr_accessor pending_transaction_id: String? - attr_accessor status: Increase::AccountTransfer::status + attr_accessor status: Increase::Models::AccountTransfer::status attr_accessor transaction_id: String? - attr_accessor type: Increase::AccountTransfer::type_ + attr_accessor type: Increase::Models::AccountTransfer::type_ def initialize: ( id: String, @@ -64,18 +64,38 @@ module Increase cancellation: Increase::AccountTransfer::Cancellation?, created_at: Time, created_by: Increase::AccountTransfer::CreatedBy?, - currency: Increase::AccountTransfer::currency, + currency: Increase::Models::AccountTransfer::currency, description: String, destination_account_id: String, destination_transaction_id: String?, idempotency_key: String?, - network: Increase::AccountTransfer::network, + network: Increase::Models::AccountTransfer::network, pending_transaction_id: String?, - status: Increase::AccountTransfer::status, + status: Increase::Models::AccountTransfer::status, transaction_id: String?, - type: Increase::AccountTransfer::type_ + type: Increase::Models::AccountTransfer::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + amount: Integer, + approval: Increase::AccountTransfer::Approval?, + cancellation: Increase::AccountTransfer::Cancellation?, + created_at: Time, + created_by: Increase::AccountTransfer::CreatedBy?, + currency: Increase::Models::AccountTransfer::currency, + description: String, + destination_account_id: String, + destination_transaction_id: String?, + idempotency_key: String?, + network: Increase::Models::AccountTransfer::network, + pending_transaction_id: String?, + status: Increase::Models::AccountTransfer::status, + transaction_id: String?, + type: Increase::Models::AccountTransfer::type_ + } + type approval = { approved_at: Time, approved_by: String? } class Approval < Increase::Internal::Type::BaseModel @@ -84,6 +104,8 @@ module Increase attr_accessor approved_by: String? def initialize: (approved_at: Time, approved_by: String?) -> void + + def to_hash: -> { approved_at: Time, approved_by: String? } end type cancellation = { canceled_at: Time, canceled_by: String? } @@ -94,12 +116,14 @@ module Increase attr_accessor canceled_by: String? def initialize: (canceled_at: Time, canceled_by: String?) -> void + + def to_hash: -> { canceled_at: Time, canceled_by: String? } end type created_by = { api_key: Increase::AccountTransfer::CreatedBy::APIKey?, - category: Increase::AccountTransfer::CreatedBy::category, + category: Increase::Models::AccountTransfer::CreatedBy::category, oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?, user: Increase::AccountTransfer::CreatedBy::User? } @@ -107,7 +131,7 @@ module Increase class CreatedBy < Increase::Internal::Type::BaseModel attr_accessor api_key: Increase::AccountTransfer::CreatedBy::APIKey? - attr_accessor category: Increase::AccountTransfer::CreatedBy::category + attr_accessor category: Increase::Models::AccountTransfer::CreatedBy::category attr_accessor oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication? @@ -115,17 +139,26 @@ module Increase def initialize: ( api_key: Increase::AccountTransfer::CreatedBy::APIKey?, - category: Increase::AccountTransfer::CreatedBy::category, + category: Increase::Models::AccountTransfer::CreatedBy::category, oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?, user: Increase::AccountTransfer::CreatedBy::User? ) -> void + def to_hash: -> { + api_key: Increase::AccountTransfer::CreatedBy::APIKey?, + category: Increase::Models::AccountTransfer::CreatedBy::category, + oauth_application: Increase::AccountTransfer::CreatedBy::OAuthApplication?, + user: Increase::AccountTransfer::CreatedBy::User? + } + type api_key = { description: String? } class APIKey < Increase::Internal::Type::BaseModel attr_accessor description: String? def initialize: (description: String?) -> void + + def to_hash: -> { description: String? } end type category = :api_key | :oauth_application | :user @@ -142,7 +175,7 @@ module Increase # A User in the Increase dashboard. Details will be under the `user` object. USER: :user - def self?.values: -> ::Array[Increase::AccountTransfer::CreatedBy::category] + def self?.values: -> ::Array[Increase::Models::AccountTransfer::CreatedBy::category] end type oauth_application = { name: String } @@ -151,6 +184,8 @@ module Increase attr_accessor name: String def initialize: (name: String) -> void + + def to_hash: -> { name: String } end type user = { email: String } @@ -159,6 +194,8 @@ module Increase attr_accessor email: String def initialize: (email: String) -> void + + def to_hash: -> { email: String } end end @@ -185,7 +222,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::AccountTransfer::currency] + def self?.values: -> ::Array[Increase::Models::AccountTransfer::currency] end type network = :account @@ -195,7 +232,7 @@ module Increase ACCOUNT: :account - def self?.values: -> ::Array[Increase::AccountTransfer::network] + def self?.values: -> ::Array[Increase::Models::AccountTransfer::network] end type status = :pending_approval | :canceled | :complete @@ -212,7 +249,7 @@ module Increase # The transfer has been completed. COMPLETE: :complete - def self?.values: -> ::Array[Increase::AccountTransfer::status] + def self?.values: -> ::Array[Increase::Models::AccountTransfer::status] end type type_ = :account_transfer @@ -222,7 +259,7 @@ module Increase ACCOUNT_TRANSFER: :account_transfer - def self?.values: -> ::Array[Increase::AccountTransfer::type_] + def self?.values: -> ::Array[Increase::Models::AccountTransfer::type_] end end end diff --git a/sig/increase/models/account_transfer_approve_params.rbs b/sig/increase/models/account_transfer_approve_params.rbs index d2c5f88ca..714f79d04 100644 --- a/sig/increase/models/account_transfer_approve_params.rbs +++ b/sig/increase/models/account_transfer_approve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/account_transfer_cancel_params.rbs b/sig/increase/models/account_transfer_cancel_params.rbs index e018fd344..68eea904f 100644 --- a/sig/increase/models/account_transfer_cancel_params.rbs +++ b/sig/increase/models/account_transfer_cancel_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/account_transfer_create_params.rbs b/sig/increase/models/account_transfer_create_params.rbs index 14efba428..f62b5916b 100644 --- a/sig/increase/models/account_transfer_create_params.rbs +++ b/sig/increase/models/account_transfer_create_params.rbs @@ -34,6 +34,15 @@ module Increase ?require_approval: bool, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + amount: Integer, + description: String, + destination_account_id: String, + require_approval: bool, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/account_transfer_list_params.rbs b/sig/increase/models/account_transfer_list_params.rbs index dc3aee598..ec7280f6f 100644 --- a/sig/increase/models/account_transfer_list_params.rbs +++ b/sig/increase/models/account_transfer_list_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::AccountTransferListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -71,6 +80,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/account_transfer_retrieve_params.rbs b/sig/increase/models/account_transfer_retrieve_params.rbs index 94f370aad..1b2ad5eb5 100644 --- a/sig/increase/models/account_transfer_retrieve_params.rbs +++ b/sig/increase/models/account_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/account_update_params.rbs b/sig/increase/models/account_update_params.rbs index 241057733..c72443515 100644 --- a/sig/increase/models/account_update_params.rbs +++ b/sig/increase/models/account_update_params.rbs @@ -15,6 +15,11 @@ module Increase ?name: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + name: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/ach_prenotification.rbs b/sig/increase/models/ach_prenotification.rbs index 3f695fae1..36c958bf6 100644 --- a/sig/increase/models/ach_prenotification.rbs +++ b/sig/increase/models/ach_prenotification.rbs @@ -10,14 +10,14 @@ module Increase company_entry_description: String?, company_name: String?, created_at: Time, - credit_debit_indicator: Increase::ACHPrenotification::credit_debit_indicator?, + credit_debit_indicator: Increase::Models::ACHPrenotification::credit_debit_indicator?, effective_date: Time?, idempotency_key: String?, notifications_of_change: ::Array[Increase::ACHPrenotification::NotificationsOfChange], prenotification_return: Increase::ACHPrenotification::PrenotificationReturn?, routing_number: String, - status: Increase::ACHPrenotification::status, - type: Increase::ACHPrenotification::type_ + status: Increase::Models::ACHPrenotification::status, + type: Increase::Models::ACHPrenotification::type_ } class ACHPrenotification < Increase::Internal::Type::BaseModel @@ -37,7 +37,7 @@ module Increase attr_accessor created_at: Time - attr_accessor credit_debit_indicator: Increase::ACHPrenotification::credit_debit_indicator? + attr_accessor credit_debit_indicator: Increase::Models::ACHPrenotification::credit_debit_indicator? attr_accessor effective_date: Time? @@ -49,9 +49,9 @@ module Increase attr_accessor routing_number: String - attr_accessor status: Increase::ACHPrenotification::status + attr_accessor status: Increase::Models::ACHPrenotification::status - attr_accessor type: Increase::ACHPrenotification::type_ + attr_accessor type: Increase::Models::ACHPrenotification::type_ def initialize: ( id: String, @@ -62,16 +62,35 @@ module Increase company_entry_description: String?, company_name: String?, created_at: Time, - credit_debit_indicator: Increase::ACHPrenotification::credit_debit_indicator?, + credit_debit_indicator: Increase::Models::ACHPrenotification::credit_debit_indicator?, effective_date: Time?, idempotency_key: String?, notifications_of_change: ::Array[Increase::ACHPrenotification::NotificationsOfChange], prenotification_return: Increase::ACHPrenotification::PrenotificationReturn?, routing_number: String, - status: Increase::ACHPrenotification::status, - type: Increase::ACHPrenotification::type_ + status: Increase::Models::ACHPrenotification::status, + type: Increase::Models::ACHPrenotification::type_ ) -> void + def to_hash: -> { + id: String, + account_number: String, + addendum: String?, + company_descriptive_date: String?, + company_discretionary_data: String?, + company_entry_description: String?, + company_name: String?, + created_at: Time, + credit_debit_indicator: Increase::Models::ACHPrenotification::credit_debit_indicator?, + effective_date: Time?, + idempotency_key: String?, + notifications_of_change: ::Array[Increase::ACHPrenotification::NotificationsOfChange], + prenotification_return: Increase::ACHPrenotification::PrenotificationReturn?, + routing_number: String, + status: Increase::Models::ACHPrenotification::status, + type: Increase::Models::ACHPrenotification::type_ + } + type credit_debit_indicator = :credit | :debit module CreditDebitIndicator @@ -83,29 +102,35 @@ module Increase # The Prenotification is for an anticipated debit. DEBIT: :debit - def self?.values: -> ::Array[Increase::ACHPrenotification::credit_debit_indicator] + def self?.values: -> ::Array[Increase::Models::ACHPrenotification::credit_debit_indicator] end type notifications_of_change = { - change_code: Increase::ACHPrenotification::NotificationsOfChange::change_code, + change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code, corrected_data: String, created_at: Time } class NotificationsOfChange < Increase::Internal::Type::BaseModel - attr_accessor change_code: Increase::ACHPrenotification::NotificationsOfChange::change_code + attr_accessor change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code attr_accessor corrected_data: String attr_accessor created_at: Time def initialize: ( - change_code: Increase::ACHPrenotification::NotificationsOfChange::change_code, + change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code, corrected_data: String, created_at: Time ) -> void + def to_hash: -> { + change_code: Increase::Models::ACHPrenotification::NotificationsOfChange::change_code, + corrected_data: String, + created_at: Time + } + type change_code = :incorrect_account_number | :incorrect_routing_number @@ -187,26 +212,31 @@ module Increase # The transaction code was incorrect, initiated by the originating depository financial institution. INCORRECT_TRANSACTION_CODE_BY_ORIGINATING_DEPOSITORY_FINANCIAL_INSTITUTION: :incorrect_transaction_code_by_originating_depository_financial_institution - def self?.values: -> ::Array[Increase::ACHPrenotification::NotificationsOfChange::change_code] + def self?.values: -> ::Array[Increase::Models::ACHPrenotification::NotificationsOfChange::change_code] end end type prenotification_return = { created_at: Time, - return_reason_code: Increase::ACHPrenotification::PrenotificationReturn::return_reason_code + return_reason_code: Increase::Models::ACHPrenotification::PrenotificationReturn::return_reason_code } class PrenotificationReturn < Increase::Internal::Type::BaseModel attr_accessor created_at: Time - attr_accessor return_reason_code: Increase::ACHPrenotification::PrenotificationReturn::return_reason_code + attr_accessor return_reason_code: Increase::Models::ACHPrenotification::PrenotificationReturn::return_reason_code def initialize: ( created_at: Time, - return_reason_code: Increase::ACHPrenotification::PrenotificationReturn::return_reason_code + return_reason_code: Increase::Models::ACHPrenotification::PrenotificationReturn::return_reason_code ) -> void + def to_hash: -> { + created_at: Time, + return_reason_code: Increase::Models::ACHPrenotification::PrenotificationReturn::return_reason_code + } + type return_reason_code = :insufficient_fund | :no_account @@ -492,7 +522,7 @@ module Increase # Code R68. A rare return reason. The return was sent too late. UNTIMELY_RETURN: :untimely_return - def self?.values: -> ::Array[Increase::ACHPrenotification::PrenotificationReturn::return_reason_code] + def self?.values: -> ::Array[Increase::Models::ACHPrenotification::PrenotificationReturn::return_reason_code] end end @@ -514,7 +544,7 @@ module Increase # The Prenotification is complete. SUBMITTED: :submitted - def self?.values: -> ::Array[Increase::ACHPrenotification::status] + def self?.values: -> ::Array[Increase::Models::ACHPrenotification::status] end type type_ = :ach_prenotification @@ -524,7 +554,7 @@ module Increase ACH_PRENOTIFICATION: :ach_prenotification - def self?.values: -> ::Array[Increase::ACHPrenotification::type_] + def self?.values: -> ::Array[Increase::Models::ACHPrenotification::type_] end end end diff --git a/sig/increase/models/ach_prenotification_create_params.rbs b/sig/increase/models/ach_prenotification_create_params.rbs index f80732178..7dd1c9bdc 100644 --- a/sig/increase/models/ach_prenotification_create_params.rbs +++ b/sig/increase/models/ach_prenotification_create_params.rbs @@ -89,6 +89,23 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + account_number: String, + routing_number: String, + addendum: String, + company_descriptive_date: String, + company_discretionary_data: String, + company_entry_description: String, + company_name: String, + credit_debit_indicator: Increase::Models::ACHPrenotificationCreateParams::credit_debit_indicator, + effective_date: Date, + individual_id: String, + individual_name: String, + standard_entry_class_code: Increase::Models::ACHPrenotificationCreateParams::standard_entry_class_code, + request_options: Increase::RequestOptions + } + type credit_debit_indicator = :credit | :debit module CreditDebitIndicator diff --git a/sig/increase/models/ach_prenotification_list_params.rbs b/sig/increase/models/ach_prenotification_list_params.rbs index 117826fcf..38bb8cb4c 100644 --- a/sig/increase/models/ach_prenotification_list_params.rbs +++ b/sig/increase/models/ach_prenotification_list_params.rbs @@ -39,6 +39,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + created_at: Increase::ACHPrenotificationListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -65,6 +73,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/ach_prenotification_retrieve_params.rbs b/sig/increase/models/ach_prenotification_retrieve_params.rbs index 12ab691e9..222748ff8 100644 --- a/sig/increase/models/ach_prenotification_retrieve_params.rbs +++ b/sig/increase/models/ach_prenotification_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/ach_transfer.rbs b/sig/increase/models/ach_transfer.rbs index 31eef662f..48b90db1d 100644 --- a/sig/increase/models/ach_transfer.rbs +++ b/sig/increase/models/ach_transfer.rbs @@ -17,27 +17,27 @@ module Increase company_name: String?, created_at: Time, created_by: Increase::ACHTransfer::CreatedBy?, - currency: Increase::ACHTransfer::currency, - destination_account_holder: Increase::ACHTransfer::destination_account_holder, + currency: Increase::Models::ACHTransfer::currency, + destination_account_holder: Increase::Models::ACHTransfer::destination_account_holder, external_account_id: String?, - funding: Increase::ACHTransfer::funding, + funding: Increase::Models::ACHTransfer::funding, idempotency_key: String?, inbound_funds_hold: Increase::ACHTransfer::InboundFundsHold?, individual_id: String?, individual_name: String?, - network: Increase::ACHTransfer::network, + network: Increase::Models::ACHTransfer::network, notifications_of_change: ::Array[Increase::ACHTransfer::NotificationsOfChange], pending_transaction_id: String?, preferred_effective_date: Increase::ACHTransfer::PreferredEffectiveDate, return_: Increase::ACHTransfer::Return?, routing_number: String, settlement: Increase::ACHTransfer::Settlement?, - standard_entry_class_code: Increase::ACHTransfer::standard_entry_class_code, + standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code, statement_descriptor: String, - status: Increase::ACHTransfer::status, + status: Increase::Models::ACHTransfer::status, submission: Increase::ACHTransfer::Submission?, transaction_id: String?, - type: Increase::ACHTransfer::type_ + type: Increase::Models::ACHTransfer::type_ } class ACHTransfer < Increase::Internal::Type::BaseModel @@ -71,13 +71,13 @@ module Increase attr_accessor created_by: Increase::ACHTransfer::CreatedBy? - attr_accessor currency: Increase::ACHTransfer::currency + attr_accessor currency: Increase::Models::ACHTransfer::currency - attr_accessor destination_account_holder: Increase::ACHTransfer::destination_account_holder + attr_accessor destination_account_holder: Increase::Models::ACHTransfer::destination_account_holder attr_accessor external_account_id: String? - attr_accessor funding: Increase::ACHTransfer::funding + attr_accessor funding: Increase::Models::ACHTransfer::funding attr_accessor idempotency_key: String? @@ -87,7 +87,7 @@ module Increase attr_accessor individual_name: String? - attr_accessor network: Increase::ACHTransfer::network + attr_accessor network: Increase::Models::ACHTransfer::network attr_accessor notifications_of_change: ::Array[Increase::ACHTransfer::NotificationsOfChange] @@ -101,17 +101,17 @@ module Increase attr_accessor settlement: Increase::ACHTransfer::Settlement? - attr_accessor standard_entry_class_code: Increase::ACHTransfer::standard_entry_class_code + attr_accessor standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code attr_accessor statement_descriptor: String - attr_accessor status: Increase::ACHTransfer::status + attr_accessor status: Increase::Models::ACHTransfer::status attr_accessor submission: Increase::ACHTransfer::Submission? attr_accessor transaction_id: String? - attr_accessor type: Increase::ACHTransfer::type_ + attr_accessor type: Increase::Models::ACHTransfer::type_ def initialize: ( id: String, @@ -129,57 +129,104 @@ module Increase company_name: String?, created_at: Time, created_by: Increase::ACHTransfer::CreatedBy?, - currency: Increase::ACHTransfer::currency, - destination_account_holder: Increase::ACHTransfer::destination_account_holder, + currency: Increase::Models::ACHTransfer::currency, + destination_account_holder: Increase::Models::ACHTransfer::destination_account_holder, external_account_id: String?, - funding: Increase::ACHTransfer::funding, + funding: Increase::Models::ACHTransfer::funding, idempotency_key: String?, inbound_funds_hold: Increase::ACHTransfer::InboundFundsHold?, individual_id: String?, individual_name: String?, - network: Increase::ACHTransfer::network, + network: Increase::Models::ACHTransfer::network, notifications_of_change: ::Array[Increase::ACHTransfer::NotificationsOfChange], pending_transaction_id: String?, preferred_effective_date: Increase::ACHTransfer::PreferredEffectiveDate, return_: Increase::ACHTransfer::Return?, routing_number: String, settlement: Increase::ACHTransfer::Settlement?, - standard_entry_class_code: Increase::ACHTransfer::standard_entry_class_code, + standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code, statement_descriptor: String, - status: Increase::ACHTransfer::status, + status: Increase::Models::ACHTransfer::status, submission: Increase::ACHTransfer::Submission?, transaction_id: String?, - type: Increase::ACHTransfer::type_ + type: Increase::Models::ACHTransfer::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + account_number: String, + acknowledgement: Increase::ACHTransfer::Acknowledgement?, + addenda: Increase::ACHTransfer::Addenda?, + amount: Integer, + approval: Increase::ACHTransfer::Approval?, + cancellation: Increase::ACHTransfer::Cancellation?, + company_descriptive_date: String?, + company_discretionary_data: String?, + company_entry_description: String?, + company_id: String, + company_name: String?, + created_at: Time, + created_by: Increase::ACHTransfer::CreatedBy?, + currency: Increase::Models::ACHTransfer::currency, + destination_account_holder: Increase::Models::ACHTransfer::destination_account_holder, + external_account_id: String?, + funding: Increase::Models::ACHTransfer::funding, + idempotency_key: String?, + inbound_funds_hold: Increase::ACHTransfer::InboundFundsHold?, + individual_id: String?, + individual_name: String?, + network: Increase::Models::ACHTransfer::network, + notifications_of_change: ::Array[Increase::ACHTransfer::NotificationsOfChange], + pending_transaction_id: String?, + preferred_effective_date: Increase::ACHTransfer::PreferredEffectiveDate, + return_: Increase::ACHTransfer::Return?, + routing_number: String, + settlement: Increase::ACHTransfer::Settlement?, + standard_entry_class_code: Increase::Models::ACHTransfer::standard_entry_class_code, + statement_descriptor: String, + status: Increase::Models::ACHTransfer::status, + submission: Increase::ACHTransfer::Submission?, + transaction_id: String?, + type: Increase::Models::ACHTransfer::type_ + } + type acknowledgement = { acknowledged_at: String } class Acknowledgement < Increase::Internal::Type::BaseModel attr_accessor acknowledged_at: String def initialize: (acknowledged_at: String) -> void + + def to_hash: -> { acknowledged_at: String } end type addenda = { - category: Increase::ACHTransfer::Addenda::category, + category: Increase::Models::ACHTransfer::Addenda::category, freeform: Increase::ACHTransfer::Addenda::Freeform?, payment_order_remittance_advice: Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice? } class Addenda < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::ACHTransfer::Addenda::category + attr_accessor category: Increase::Models::ACHTransfer::Addenda::category attr_accessor freeform: Increase::ACHTransfer::Addenda::Freeform? attr_accessor payment_order_remittance_advice: Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice? def initialize: ( - category: Increase::ACHTransfer::Addenda::category, + category: Increase::Models::ACHTransfer::Addenda::category, freeform: Increase::ACHTransfer::Addenda::Freeform?, payment_order_remittance_advice: Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice? ) -> void + def to_hash: -> { + category: Increase::Models::ACHTransfer::Addenda::category, + freeform: Increase::ACHTransfer::Addenda::Freeform?, + payment_order_remittance_advice: Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice? + } + type category = :freeform | :payment_order_remittance_advice | :other module Category @@ -194,7 +241,7 @@ module Increase # Unknown addenda type. OTHER: :other - def self?.values: -> ::Array[Increase::ACHTransfer::Addenda::category] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::Addenda::category] end type freeform = @@ -207,12 +254,18 @@ module Increase entries: ::Array[Increase::ACHTransfer::Addenda::Freeform::Entry] ) -> void + def to_hash: -> { + entries: ::Array[Increase::ACHTransfer::Addenda::Freeform::Entry] + } + type entry = { payment_related_information: String } class Entry < Increase::Internal::Type::BaseModel attr_accessor payment_related_information: String def initialize: (payment_related_information: String) -> void + + def to_hash: -> { payment_related_information: String } end end @@ -228,6 +281,10 @@ module Increase invoices: ::Array[Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice] ) -> void + def to_hash: -> { + invoices: ::Array[Increase::ACHTransfer::Addenda::PaymentOrderRemittanceAdvice::Invoice] + } + type invoice = { invoice_number: String, paid_amount: Integer } class Invoice < Increase::Internal::Type::BaseModel @@ -239,6 +296,8 @@ module Increase invoice_number: String, paid_amount: Integer ) -> void + + def to_hash: -> { invoice_number: String, paid_amount: Integer } end end end @@ -251,6 +310,8 @@ module Increase attr_accessor approved_by: String? def initialize: (approved_at: Time, approved_by: String?) -> void + + def to_hash: -> { approved_at: Time, approved_by: String? } end type cancellation = { canceled_at: Time, canceled_by: String? } @@ -261,12 +322,14 @@ module Increase attr_accessor canceled_by: String? def initialize: (canceled_at: Time, canceled_by: String?) -> void + + def to_hash: -> { canceled_at: Time, canceled_by: String? } end type created_by = { api_key: Increase::ACHTransfer::CreatedBy::APIKey?, - category: Increase::ACHTransfer::CreatedBy::category, + category: Increase::Models::ACHTransfer::CreatedBy::category, oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?, user: Increase::ACHTransfer::CreatedBy::User? } @@ -274,7 +337,7 @@ module Increase class CreatedBy < Increase::Internal::Type::BaseModel attr_accessor api_key: Increase::ACHTransfer::CreatedBy::APIKey? - attr_accessor category: Increase::ACHTransfer::CreatedBy::category + attr_accessor category: Increase::Models::ACHTransfer::CreatedBy::category attr_accessor oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication? @@ -282,17 +345,26 @@ module Increase def initialize: ( api_key: Increase::ACHTransfer::CreatedBy::APIKey?, - category: Increase::ACHTransfer::CreatedBy::category, + category: Increase::Models::ACHTransfer::CreatedBy::category, oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?, user: Increase::ACHTransfer::CreatedBy::User? ) -> void + def to_hash: -> { + api_key: Increase::ACHTransfer::CreatedBy::APIKey?, + category: Increase::Models::ACHTransfer::CreatedBy::category, + oauth_application: Increase::ACHTransfer::CreatedBy::OAuthApplication?, + user: Increase::ACHTransfer::CreatedBy::User? + } + type api_key = { description: String? } class APIKey < Increase::Internal::Type::BaseModel attr_accessor description: String? def initialize: (description: String?) -> void + + def to_hash: -> { description: String? } end type category = :api_key | :oauth_application | :user @@ -309,7 +381,7 @@ module Increase # A User in the Increase dashboard. Details will be under the `user` object. USER: :user - def self?.values: -> ::Array[Increase::ACHTransfer::CreatedBy::category] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::CreatedBy::category] end type oauth_application = { name: String } @@ -318,6 +390,8 @@ module Increase attr_accessor name: String def initialize: (name: String) -> void + + def to_hash: -> { name: String } end type user = { email: String } @@ -326,6 +400,8 @@ module Increase attr_accessor email: String def initialize: (email: String) -> void + + def to_hash: -> { email: String } end end @@ -352,7 +428,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::ACHTransfer::currency] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::currency] end type destination_account_holder = :business | :individual | :unknown @@ -369,7 +445,7 @@ module Increase # It's unknown what kind of entity owns the External Account. UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::ACHTransfer::destination_account_holder] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::destination_account_holder] end type funding = :checking | :savings @@ -383,7 +459,7 @@ module Increase # A savings account. SAVINGS: :savings - def self?.values: -> ::Array[Increase::ACHTransfer::funding] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::funding] end type inbound_funds_hold = @@ -392,12 +468,12 @@ module Increase amount: Integer, automatically_releases_at: Time, created_at: Time, - currency: Increase::ACHTransfer::InboundFundsHold::currency, + currency: Increase::Models::ACHTransfer::InboundFundsHold::currency, held_transaction_id: String?, pending_transaction_id: String?, released_at: Time?, - status: Increase::ACHTransfer::InboundFundsHold::status, - type: Increase::ACHTransfer::InboundFundsHold::type_ + status: Increase::Models::ACHTransfer::InboundFundsHold::status, + type: Increase::Models::ACHTransfer::InboundFundsHold::type_ } class InboundFundsHold < Increase::Internal::Type::BaseModel @@ -409,7 +485,7 @@ module Increase attr_accessor created_at: Time - attr_accessor currency: Increase::ACHTransfer::InboundFundsHold::currency + attr_accessor currency: Increase::Models::ACHTransfer::InboundFundsHold::currency attr_accessor held_transaction_id: String? @@ -417,23 +493,36 @@ module Increase attr_accessor released_at: Time? - attr_accessor status: Increase::ACHTransfer::InboundFundsHold::status + attr_accessor status: Increase::Models::ACHTransfer::InboundFundsHold::status - attr_accessor type: Increase::ACHTransfer::InboundFundsHold::type_ + attr_accessor type: Increase::Models::ACHTransfer::InboundFundsHold::type_ def initialize: ( id: String, amount: Integer, automatically_releases_at: Time, created_at: Time, - currency: Increase::ACHTransfer::InboundFundsHold::currency, + currency: Increase::Models::ACHTransfer::InboundFundsHold::currency, held_transaction_id: String?, pending_transaction_id: String?, released_at: Time?, - status: Increase::ACHTransfer::InboundFundsHold::status, - type: Increase::ACHTransfer::InboundFundsHold::type_ + status: Increase::Models::ACHTransfer::InboundFundsHold::status, + type: Increase::Models::ACHTransfer::InboundFundsHold::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + automatically_releases_at: Time, + created_at: Time, + currency: Increase::Models::ACHTransfer::InboundFundsHold::currency, + held_transaction_id: String?, + pending_transaction_id: String?, + released_at: Time?, + status: Increase::Models::ACHTransfer::InboundFundsHold::status, + type: Increase::Models::ACHTransfer::InboundFundsHold::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -457,7 +546,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::ACHTransfer::InboundFundsHold::currency] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::InboundFundsHold::currency] end type status = :held | :complete @@ -471,7 +560,7 @@ module Increase # Funds have been released. COMPLETE: :complete - def self?.values: -> ::Array[Increase::ACHTransfer::InboundFundsHold::status] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::InboundFundsHold::status] end type type_ = :inbound_funds_hold @@ -481,7 +570,7 @@ module Increase INBOUND_FUNDS_HOLD: :inbound_funds_hold - def self?.values: -> ::Array[Increase::ACHTransfer::InboundFundsHold::type_] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::InboundFundsHold::type_] end end @@ -492,29 +581,35 @@ module Increase ACH: :ach - def self?.values: -> ::Array[Increase::ACHTransfer::network] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::network] end type notifications_of_change = { - change_code: Increase::ACHTransfer::NotificationsOfChange::change_code, + change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code, corrected_data: String, created_at: Time } class NotificationsOfChange < Increase::Internal::Type::BaseModel - attr_accessor change_code: Increase::ACHTransfer::NotificationsOfChange::change_code + attr_accessor change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code attr_accessor corrected_data: String attr_accessor created_at: Time def initialize: ( - change_code: Increase::ACHTransfer::NotificationsOfChange::change_code, + change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code, corrected_data: String, created_at: Time ) -> void + def to_hash: -> { + change_code: Increase::Models::ACHTransfer::NotificationsOfChange::change_code, + corrected_data: String, + created_at: Time + } + type change_code = :incorrect_account_number | :incorrect_routing_number @@ -596,26 +691,31 @@ module Increase # The transaction code was incorrect, initiated by the originating depository financial institution. INCORRECT_TRANSACTION_CODE_BY_ORIGINATING_DEPOSITORY_FINANCIAL_INSTITUTION: :incorrect_transaction_code_by_originating_depository_financial_institution - def self?.values: -> ::Array[Increase::ACHTransfer::NotificationsOfChange::change_code] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::NotificationsOfChange::change_code] end end type preferred_effective_date = { date: Date?, - settlement_schedule: Increase::ACHTransfer::PreferredEffectiveDate::settlement_schedule? + settlement_schedule: Increase::Models::ACHTransfer::PreferredEffectiveDate::settlement_schedule? } class PreferredEffectiveDate < Increase::Internal::Type::BaseModel attr_accessor date: Date? - attr_accessor settlement_schedule: Increase::ACHTransfer::PreferredEffectiveDate::settlement_schedule? + attr_accessor settlement_schedule: Increase::Models::ACHTransfer::PreferredEffectiveDate::settlement_schedule? def initialize: ( date: Date?, - settlement_schedule: Increase::ACHTransfer::PreferredEffectiveDate::settlement_schedule? + settlement_schedule: Increase::Models::ACHTransfer::PreferredEffectiveDate::settlement_schedule? ) -> void + def to_hash: -> { + date: Date?, + settlement_schedule: Increase::Models::ACHTransfer::PreferredEffectiveDate::settlement_schedule? + } + type settlement_schedule = :same_day | :future_dated module SettlementSchedule @@ -630,7 +730,7 @@ module Increase # The chosen effective date will be the business day following the ACH processing date on which the transfer is submitted. The transfer will be settled on that future day. FUTURE_DATED: :future_dated - def self?.values: -> ::Array[Increase::ACHTransfer::PreferredEffectiveDate::settlement_schedule] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::PreferredEffectiveDate::settlement_schedule] end end @@ -638,7 +738,7 @@ module Increase { created_at: Time, raw_return_reason_code: String, - return_reason_code: Increase::ACHTransfer::Return::return_reason_code, + return_reason_code: Increase::Models::ACHTransfer::Return::return_reason_code, trace_number: String, transaction_id: String, transfer_id: String @@ -649,7 +749,7 @@ module Increase attr_accessor raw_return_reason_code: String - attr_accessor return_reason_code: Increase::ACHTransfer::Return::return_reason_code + attr_accessor return_reason_code: Increase::Models::ACHTransfer::Return::return_reason_code attr_accessor trace_number: String @@ -660,12 +760,21 @@ module Increase def initialize: ( created_at: Time, raw_return_reason_code: String, - return_reason_code: Increase::ACHTransfer::Return::return_reason_code, + return_reason_code: Increase::Models::ACHTransfer::Return::return_reason_code, trace_number: String, transaction_id: String, transfer_id: String ) -> void + def to_hash: -> { + created_at: Time, + raw_return_reason_code: String, + return_reason_code: Increase::Models::ACHTransfer::Return::return_reason_code, + trace_number: String, + transaction_id: String, + transfer_id: String + } + type return_reason_code = :insufficient_fund | :no_account @@ -951,7 +1060,7 @@ module Increase # Code R68. A rare return reason. The return was sent too late. UNTIMELY_RETURN: :untimely_return - def self?.values: -> ::Array[Increase::ACHTransfer::Return::return_reason_code] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::Return::return_reason_code] end end @@ -961,6 +1070,8 @@ module Increase attr_accessor settled_at: Time def initialize: (settled_at: Time) -> void + + def to_hash: -> { settled_at: Time } end type standard_entry_class_code = @@ -984,7 +1095,7 @@ module Increase # Internet Initiated (WEB). INTERNET_INITIATED: :internet_initiated - def self?.values: -> ::Array[Increase::ACHTransfer::standard_entry_class_code] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::standard_entry_class_code] end type status = @@ -1028,14 +1139,14 @@ module Increase # The transfer has been returned. RETURNED: :returned - def self?.values: -> ::Array[Increase::ACHTransfer::status] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::status] end type submission = { effective_date: Date, expected_funds_settlement_at: Time, - expected_settlement_schedule: Increase::ACHTransfer::Submission::expected_settlement_schedule, + expected_settlement_schedule: Increase::Models::ACHTransfer::Submission::expected_settlement_schedule, submitted_at: Time, trace_number: String } @@ -1045,7 +1156,7 @@ module Increase attr_accessor expected_funds_settlement_at: Time - attr_accessor expected_settlement_schedule: Increase::ACHTransfer::Submission::expected_settlement_schedule + attr_accessor expected_settlement_schedule: Increase::Models::ACHTransfer::Submission::expected_settlement_schedule attr_accessor submitted_at: Time @@ -1054,11 +1165,19 @@ module Increase def initialize: ( effective_date: Date, expected_funds_settlement_at: Time, - expected_settlement_schedule: Increase::ACHTransfer::Submission::expected_settlement_schedule, + expected_settlement_schedule: Increase::Models::ACHTransfer::Submission::expected_settlement_schedule, submitted_at: Time, trace_number: String ) -> void + def to_hash: -> { + effective_date: Date, + expected_funds_settlement_at: Time, + expected_settlement_schedule: Increase::Models::ACHTransfer::Submission::expected_settlement_schedule, + submitted_at: Time, + trace_number: String + } + type expected_settlement_schedule = :same_day | :future_dated module ExpectedSettlementSchedule @@ -1070,7 +1189,7 @@ module Increase # The transfer is expected to settle on a future date. FUTURE_DATED: :future_dated - def self?.values: -> ::Array[Increase::ACHTransfer::Submission::expected_settlement_schedule] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::Submission::expected_settlement_schedule] end end @@ -1081,7 +1200,7 @@ module Increase ACH_TRANSFER: :ach_transfer - def self?.values: -> ::Array[Increase::ACHTransfer::type_] + def self?.values: -> ::Array[Increase::Models::ACHTransfer::type_] end end end diff --git a/sig/increase/models/ach_transfer_approve_params.rbs b/sig/increase/models/ach_transfer_approve_params.rbs index c3f609817..68077c7d3 100644 --- a/sig/increase/models/ach_transfer_approve_params.rbs +++ b/sig/increase/models/ach_transfer_approve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/ach_transfer_cancel_params.rbs b/sig/increase/models/ach_transfer_cancel_params.rbs index 5aae0958f..9aa28a68b 100644 --- a/sig/increase/models/ach_transfer_cancel_params.rbs +++ b/sig/increase/models/ach_transfer_cancel_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/ach_transfer_create_params.rbs b/sig/increase/models/ach_transfer_create_params.rbs index 3d0fb7e29..e347ba3b8 100644 --- a/sig/increase/models/ach_transfer_create_params.rbs +++ b/sig/increase/models/ach_transfer_create_params.rbs @@ -133,15 +133,38 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + amount: Integer, + statement_descriptor: String, + account_number: String, + addenda: Increase::ACHTransferCreateParams::Addenda, + company_descriptive_date: String, + company_discretionary_data: String, + company_entry_description: String, + company_name: String, + destination_account_holder: Increase::Models::ACHTransferCreateParams::destination_account_holder, + external_account_id: String, + funding: Increase::Models::ACHTransferCreateParams::funding, + individual_id: String, + individual_name: String, + preferred_effective_date: Increase::ACHTransferCreateParams::PreferredEffectiveDate, + require_approval: bool, + routing_number: String, + standard_entry_class_code: Increase::Models::ACHTransferCreateParams::standard_entry_class_code, + transaction_timing: Increase::Models::ACHTransferCreateParams::transaction_timing, + request_options: Increase::RequestOptions + } + type addenda = { - category: Increase::ACHTransferCreateParams::Addenda::category, + category: Increase::Models::ACHTransferCreateParams::Addenda::category, freeform: Increase::ACHTransferCreateParams::Addenda::Freeform, payment_order_remittance_advice: Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice } class Addenda < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::ACHTransferCreateParams::Addenda::category + attr_accessor category: Increase::Models::ACHTransferCreateParams::Addenda::category attr_reader freeform: Increase::ACHTransferCreateParams::Addenda::Freeform? @@ -156,11 +179,17 @@ module Increase ) -> Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice def initialize: ( - category: Increase::ACHTransferCreateParams::Addenda::category, + category: Increase::Models::ACHTransferCreateParams::Addenda::category, ?freeform: Increase::ACHTransferCreateParams::Addenda::Freeform, ?payment_order_remittance_advice: Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice ) -> void + def to_hash: -> { + category: Increase::Models::ACHTransferCreateParams::Addenda::category, + freeform: Increase::ACHTransferCreateParams::Addenda::Freeform, + payment_order_remittance_advice: Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice + } + type category = :freeform | :payment_order_remittance_advice module Category @@ -172,7 +201,7 @@ module Increase # Structured ASC X12 820 remittance advice records. Please reach out to [support@increase.com](mailto:support@increase.com) for more information. PAYMENT_ORDER_REMITTANCE_ADVICE: :payment_order_remittance_advice - def self?.values: -> ::Array[Increase::ACHTransferCreateParams::Addenda::category] + def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::Addenda::category] end type freeform = @@ -187,12 +216,18 @@ module Increase entries: ::Array[Increase::ACHTransferCreateParams::Addenda::Freeform::Entry] ) -> void + def to_hash: -> { + entries: ::Array[Increase::ACHTransferCreateParams::Addenda::Freeform::Entry] + } + type entry = { payment_related_information: String } class Entry < Increase::Internal::Type::BaseModel attr_accessor payment_related_information: String def initialize: (payment_related_information: String) -> void + + def to_hash: -> { payment_related_information: String } end end @@ -208,6 +243,10 @@ module Increase invoices: ::Array[Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice] ) -> void + def to_hash: -> { + invoices: ::Array[Increase::ACHTransferCreateParams::Addenda::PaymentOrderRemittanceAdvice::Invoice] + } + type invoice = { invoice_number: String, paid_amount: Integer } class Invoice < Increase::Internal::Type::BaseModel @@ -219,6 +258,8 @@ module Increase invoice_number: String, paid_amount: Integer ) -> void + + def to_hash: -> { invoice_number: String, paid_amount: Integer } end end end @@ -257,7 +298,7 @@ module Increase type preferred_effective_date = { date: Date, - settlement_schedule: Increase::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule + settlement_schedule: Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule } class PreferredEffectiveDate < Increase::Internal::Type::BaseModel @@ -265,17 +306,22 @@ module Increase def date=: (Date) -> Date - attr_reader settlement_schedule: Increase::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule? + attr_reader settlement_schedule: Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule? def settlement_schedule=: ( - Increase::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule - ) -> Increase::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule + Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule + ) -> Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule def initialize: ( ?date: Date, - ?settlement_schedule: Increase::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule + ?settlement_schedule: Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule ) -> void + def to_hash: -> { + date: Date, + settlement_schedule: Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule + } + type settlement_schedule = :same_day | :future_dated module SettlementSchedule @@ -287,7 +333,7 @@ module Increase # The chosen effective date will be the business day following the ACH processing date on which the transfer is submitted. The transfer will be settled on that future day. FUTURE_DATED: :future_dated - def self?.values: -> ::Array[Increase::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule] + def self?.values: -> ::Array[Increase::Models::ACHTransferCreateParams::PreferredEffectiveDate::settlement_schedule] end end diff --git a/sig/increase/models/ach_transfer_list_params.rbs b/sig/increase/models/ach_transfer_list_params.rbs index 25e8313f5..3182727bc 100644 --- a/sig/increase/models/ach_transfer_list_params.rbs +++ b/sig/increase/models/ach_transfer_list_params.rbs @@ -59,6 +59,17 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::ACHTransferListParams::CreatedAt, + cursor: String, + external_account_id: String, + idempotency_key: String, + limit: Integer, + status: Increase::ACHTransferListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -85,22 +96,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::ACHTransferListParams::Status::in_] } + { in_: ::Array[Increase::Models::ACHTransferListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::ACHTransferListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::ACHTransferListParams::Status::in_]? def in_=: ( - ::Array[Increase::ACHTransferListParams::Status::in_] - ) -> ::Array[Increase::ACHTransferListParams::Status::in_] + ::Array[Increase::Models::ACHTransferListParams::Status::in_] + ) -> ::Array[Increase::Models::ACHTransferListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::ACHTransferListParams::Status::in_] + ?in_: ::Array[Increase::Models::ACHTransferListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::ACHTransferListParams::Status::in_] + } + type in_ = :pending_approval | :pending_transfer_session_confirmation @@ -142,7 +164,7 @@ module Increase # The transfer has been returned. RETURNED: :returned - def self?.values: -> ::Array[Increase::ACHTransferListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::ACHTransferListParams::Status::in_] end end end diff --git a/sig/increase/models/ach_transfer_retrieve_params.rbs b/sig/increase/models/ach_transfer_retrieve_params.rbs index 475ada239..50d0963a1 100644 --- a/sig/increase/models/ach_transfer_retrieve_params.rbs +++ b/sig/increase/models/ach_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/balance_lookup.rbs b/sig/increase/models/balance_lookup.rbs index 1892d70c8..738557ad2 100644 --- a/sig/increase/models/balance_lookup.rbs +++ b/sig/increase/models/balance_lookup.rbs @@ -5,7 +5,7 @@ module Increase account_id: String, available_balance: Integer, current_balance: Integer, - type: Increase::BalanceLookup::type_ + type: Increase::Models::BalanceLookup::type_ } class BalanceLookup < Increase::Internal::Type::BaseModel @@ -15,15 +15,22 @@ module Increase attr_accessor current_balance: Integer - attr_accessor type: Increase::BalanceLookup::type_ + attr_accessor type: Increase::Models::BalanceLookup::type_ def initialize: ( account_id: String, available_balance: Integer, current_balance: Integer, - type: Increase::BalanceLookup::type_ + type: Increase::Models::BalanceLookup::type_ ) -> void + def to_hash: -> { + account_id: String, + available_balance: Integer, + current_balance: Integer, + type: Increase::Models::BalanceLookup::type_ + } + type type_ = :balance_lookup module Type @@ -31,7 +38,7 @@ module Increase BALANCE_LOOKUP: :balance_lookup - def self?.values: -> ::Array[Increase::BalanceLookup::type_] + def self?.values: -> ::Array[Increase::Models::BalanceLookup::type_] end end end diff --git a/sig/increase/models/bookkeeping_account.rbs b/sig/increase/models/bookkeeping_account.rbs index 3e37bfc7a..4a1b6a9dd 100644 --- a/sig/increase/models/bookkeeping_account.rbs +++ b/sig/increase/models/bookkeeping_account.rbs @@ -4,11 +4,11 @@ module Increase { id: String, account_id: String?, - compliance_category: Increase::BookkeepingAccount::compliance_category?, + compliance_category: Increase::Models::BookkeepingAccount::compliance_category?, entity_id: String?, idempotency_key: String?, name: String, - type: Increase::BookkeepingAccount::type_ + type: Increase::Models::BookkeepingAccount::type_ } class BookkeepingAccount < Increase::Internal::Type::BaseModel @@ -16,7 +16,7 @@ module Increase attr_accessor account_id: String? - attr_accessor compliance_category: Increase::BookkeepingAccount::compliance_category? + attr_accessor compliance_category: Increase::Models::BookkeepingAccount::compliance_category? attr_accessor entity_id: String? @@ -24,18 +24,28 @@ module Increase attr_accessor name: String - attr_accessor type: Increase::BookkeepingAccount::type_ + attr_accessor type: Increase::Models::BookkeepingAccount::type_ def initialize: ( id: String, account_id: String?, - compliance_category: Increase::BookkeepingAccount::compliance_category?, + compliance_category: Increase::Models::BookkeepingAccount::compliance_category?, entity_id: String?, idempotency_key: String?, name: String, - type: Increase::BookkeepingAccount::type_ + type: Increase::Models::BookkeepingAccount::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String?, + compliance_category: Increase::Models::BookkeepingAccount::compliance_category?, + entity_id: String?, + idempotency_key: String?, + name: String, + type: Increase::Models::BookkeepingAccount::type_ + } + type compliance_category = :commingled_cash | :customer_balance module ComplianceCategory @@ -47,7 +57,7 @@ module Increase # A customer balance. CUSTOMER_BALANCE: :customer_balance - def self?.values: -> ::Array[Increase::BookkeepingAccount::compliance_category] + def self?.values: -> ::Array[Increase::Models::BookkeepingAccount::compliance_category] end type type_ = :bookkeeping_account @@ -57,7 +67,7 @@ module Increase BOOKKEEPING_ACCOUNT: :bookkeeping_account - def self?.values: -> ::Array[Increase::BookkeepingAccount::type_] + def self?.values: -> ::Array[Increase::Models::BookkeepingAccount::type_] end end end diff --git a/sig/increase/models/bookkeeping_account_balance_params.rbs b/sig/increase/models/bookkeeping_account_balance_params.rbs index f8806bf02..e7223e57c 100644 --- a/sig/increase/models/bookkeeping_account_balance_params.rbs +++ b/sig/increase/models/bookkeeping_account_balance_params.rbs @@ -15,6 +15,11 @@ module Increase ?at_time: Time, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + at_time: Time, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/bookkeeping_account_create_params.rbs b/sig/increase/models/bookkeeping_account_create_params.rbs index ec70780c6..47b52ba65 100644 --- a/sig/increase/models/bookkeeping_account_create_params.rbs +++ b/sig/increase/models/bookkeeping_account_create_params.rbs @@ -37,6 +37,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + name: String, + account_id: String, + compliance_category: Increase::Models::BookkeepingAccountCreateParams::compliance_category, + entity_id: String, + request_options: Increase::RequestOptions + } + type compliance_category = :commingled_cash | :customer_balance module ComplianceCategory diff --git a/sig/increase/models/bookkeeping_account_list_params.rbs b/sig/increase/models/bookkeeping_account_list_params.rbs index 1cbf0cb6a..cf7906541 100644 --- a/sig/increase/models/bookkeeping_account_list_params.rbs +++ b/sig/increase/models/bookkeeping_account_list_params.rbs @@ -26,6 +26,13 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/bookkeeping_account_update_params.rbs b/sig/increase/models/bookkeeping_account_update_params.rbs index cca09ddd7..ff603249f 100644 --- a/sig/increase/models/bookkeeping_account_update_params.rbs +++ b/sig/increase/models/bookkeeping_account_update_params.rbs @@ -13,6 +13,11 @@ module Increase name: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + name: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/bookkeeping_balance_lookup.rbs b/sig/increase/models/bookkeeping_balance_lookup.rbs index 0bff5eb31..3ddc0eb77 100644 --- a/sig/increase/models/bookkeeping_balance_lookup.rbs +++ b/sig/increase/models/bookkeeping_balance_lookup.rbs @@ -4,7 +4,7 @@ module Increase { balance: Integer, bookkeeping_account_id: String, - type: Increase::BookkeepingBalanceLookup::type_ + type: Increase::Models::BookkeepingBalanceLookup::type_ } class BookkeepingBalanceLookup < Increase::Internal::Type::BaseModel @@ -12,14 +12,20 @@ module Increase attr_accessor bookkeeping_account_id: String - attr_accessor type: Increase::BookkeepingBalanceLookup::type_ + attr_accessor type: Increase::Models::BookkeepingBalanceLookup::type_ def initialize: ( balance: Integer, bookkeeping_account_id: String, - type: Increase::BookkeepingBalanceLookup::type_ + type: Increase::Models::BookkeepingBalanceLookup::type_ ) -> void + def to_hash: -> { + balance: Integer, + bookkeeping_account_id: String, + type: Increase::Models::BookkeepingBalanceLookup::type_ + } + type type_ = :bookkeeping_balance_lookup module Type @@ -27,7 +33,7 @@ module Increase BOOKKEEPING_BALANCE_LOOKUP: :bookkeeping_balance_lookup - def self?.values: -> ::Array[Increase::BookkeepingBalanceLookup::type_] + def self?.values: -> ::Array[Increase::Models::BookkeepingBalanceLookup::type_] end end end diff --git a/sig/increase/models/bookkeeping_entry.rbs b/sig/increase/models/bookkeeping_entry.rbs index f4d846cf4..f4b109030 100644 --- a/sig/increase/models/bookkeeping_entry.rbs +++ b/sig/increase/models/bookkeeping_entry.rbs @@ -7,7 +7,7 @@ module Increase amount: Integer, created_at: Time, entry_set_id: String, - type: Increase::BookkeepingEntry::type_ + type: Increase::Models::BookkeepingEntry::type_ } class BookkeepingEntry < Increase::Internal::Type::BaseModel @@ -21,7 +21,7 @@ module Increase attr_accessor entry_set_id: String - attr_accessor type: Increase::BookkeepingEntry::type_ + attr_accessor type: Increase::Models::BookkeepingEntry::type_ def initialize: ( id: String, @@ -29,9 +29,18 @@ module Increase amount: Integer, created_at: Time, entry_set_id: String, - type: Increase::BookkeepingEntry::type_ + type: Increase::Models::BookkeepingEntry::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + amount: Integer, + created_at: Time, + entry_set_id: String, + type: Increase::Models::BookkeepingEntry::type_ + } + type type_ = :bookkeeping_entry module Type @@ -39,7 +48,7 @@ module Increase BOOKKEEPING_ENTRY: :bookkeeping_entry - def self?.values: -> ::Array[Increase::BookkeepingEntry::type_] + def self?.values: -> ::Array[Increase::Models::BookkeepingEntry::type_] end end end diff --git a/sig/increase/models/bookkeeping_entry_list_params.rbs b/sig/increase/models/bookkeeping_entry_list_params.rbs index 9b17dd889..0833b61af 100644 --- a/sig/increase/models/bookkeeping_entry_list_params.rbs +++ b/sig/increase/models/bookkeeping_entry_list_params.rbs @@ -26,6 +26,13 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/bookkeeping_entry_retrieve_params.rbs b/sig/increase/models/bookkeeping_entry_retrieve_params.rbs index b1b056fdc..b58473a38 100644 --- a/sig/increase/models/bookkeeping_entry_retrieve_params.rbs +++ b/sig/increase/models/bookkeeping_entry_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/bookkeeping_entry_set.rbs b/sig/increase/models/bookkeeping_entry_set.rbs index e3574d0fa..9219add88 100644 --- a/sig/increase/models/bookkeeping_entry_set.rbs +++ b/sig/increase/models/bookkeeping_entry_set.rbs @@ -8,7 +8,7 @@ module Increase entries: ::Array[Increase::BookkeepingEntrySet::Entry], idempotency_key: String?, transaction_id: String?, - type: Increase::BookkeepingEntrySet::type_ + type: Increase::Models::BookkeepingEntrySet::type_ } class BookkeepingEntrySet < Increase::Internal::Type::BaseModel @@ -24,7 +24,7 @@ module Increase attr_accessor transaction_id: String? - attr_accessor type: Increase::BookkeepingEntrySet::type_ + attr_accessor type: Increase::Models::BookkeepingEntrySet::type_ def initialize: ( id: String, @@ -33,9 +33,19 @@ module Increase entries: ::Array[Increase::BookkeepingEntrySet::Entry], idempotency_key: String?, transaction_id: String?, - type: Increase::BookkeepingEntrySet::type_ + type: Increase::Models::BookkeepingEntrySet::type_ ) -> void + def to_hash: -> { + id: String, + created_at: Time, + date: Time, + entries: ::Array[Increase::BookkeepingEntrySet::Entry], + idempotency_key: String?, + transaction_id: String?, + type: Increase::Models::BookkeepingEntrySet::type_ + } + type entry = { id: String, account_id: String, amount: Integer } class Entry < Increase::Internal::Type::BaseModel @@ -50,6 +60,8 @@ module Increase account_id: String, amount: Integer ) -> void + + def to_hash: -> { id: String, account_id: String, amount: Integer } end type type_ = :bookkeeping_entry_set @@ -59,7 +71,7 @@ module Increase BOOKKEEPING_ENTRY_SET: :bookkeeping_entry_set - def self?.values: -> ::Array[Increase::BookkeepingEntrySet::type_] + def self?.values: -> ::Array[Increase::Models::BookkeepingEntrySet::type_] end end end diff --git a/sig/increase/models/bookkeeping_entry_set_create_params.rbs b/sig/increase/models/bookkeeping_entry_set_create_params.rbs index abe349ba6..f4cee6fc7 100644 --- a/sig/increase/models/bookkeeping_entry_set_create_params.rbs +++ b/sig/increase/models/bookkeeping_entry_set_create_params.rbs @@ -29,6 +29,13 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + entries: ::Array[Increase::BookkeepingEntrySetCreateParams::Entry], + date: Time, + transaction_id: String, + request_options: Increase::RequestOptions + } + type entry = { account_id: String, amount: Integer } class Entry < Increase::Internal::Type::BaseModel @@ -37,6 +44,8 @@ module Increase attr_accessor amount: Integer def initialize: (account_id: String, amount: Integer) -> void + + def to_hash: -> { account_id: String, amount: Integer } end end end diff --git a/sig/increase/models/bookkeeping_entry_set_list_params.rbs b/sig/increase/models/bookkeeping_entry_set_list_params.rbs index 192255586..41d8e67ef 100644 --- a/sig/increase/models/bookkeeping_entry_set_list_params.rbs +++ b/sig/increase/models/bookkeeping_entry_set_list_params.rbs @@ -36,6 +36,14 @@ module Increase ?transaction_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + cursor: String, + idempotency_key: String, + limit: Integer, + transaction_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs b/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs index 06f4c362d..875795ba8 100644 --- a/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs +++ b/sig/increase/models/bookkeeping_entry_set_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/card.rbs b/sig/increase/models/card.rbs index 92b12cb60..cb6473b63 100644 --- a/sig/increase/models/card.rbs +++ b/sig/increase/models/card.rbs @@ -13,8 +13,8 @@ module Increase expiration_year: Integer, idempotency_key: String?, :last4 => String, - status: Increase::Card::status, - type: Increase::Card::type_ + status: Increase::Models::Card::status, + type: Increase::Models::Card::type_ } class Card < Increase::Internal::Type::BaseModel @@ -40,9 +40,9 @@ module Increase attr_accessor last4: String - attr_accessor status: Increase::Card::status + attr_accessor status: Increase::Models::Card::status - attr_accessor type: Increase::Card::type_ + attr_accessor type: Increase::Models::Card::type_ def initialize: ( id: String, @@ -56,10 +56,26 @@ module Increase expiration_year: Integer, idempotency_key: String?, last4: String, - status: Increase::Card::status, - type: Increase::Card::type_ + status: Increase::Models::Card::status, + type: Increase::Models::Card::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + billing_address: Increase::Card::BillingAddress, + created_at: Time, + description: String?, + digital_wallet: Increase::Card::DigitalWallet?, + entity_id: String?, + expiration_month: Integer, + expiration_year: Integer, + idempotency_key: String?, + :last4 => String, + status: Increase::Models::Card::status, + type: Increase::Models::Card::type_ + } + type billing_address = { city: String?, @@ -87,6 +103,14 @@ module Increase postal_code: String?, state: String? ) -> void + + def to_hash: -> { + city: String?, + :line1 => String?, + :line2 => String?, + postal_code: String?, + state: String? + } end type digital_wallet = @@ -104,6 +128,12 @@ module Increase email: String?, phone: String? ) -> void + + def to_hash: -> { + digital_card_profile_id: String?, + email: String?, + phone: String? + } end type status = :active | :disabled | :canceled @@ -120,7 +150,7 @@ module Increase # The card is permanently canceled. CANCELED: :canceled - def self?.values: -> ::Array[Increase::Card::status] + def self?.values: -> ::Array[Increase::Models::Card::status] end type type_ = :card @@ -130,7 +160,7 @@ module Increase CARD: :card - def self?.values: -> ::Array[Increase::Card::type_] + def self?.values: -> ::Array[Increase::Models::Card::type_] end end end diff --git a/sig/increase/models/card_create_params.rbs b/sig/increase/models/card_create_params.rbs index 8f734ff43..7ecbad71e 100644 --- a/sig/increase/models/card_create_params.rbs +++ b/sig/increase/models/card_create_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + billing_address: Increase::CardCreateParams::BillingAddress, + description: String, + digital_wallet: Increase::CardCreateParams::DigitalWallet, + entity_id: String, + request_options: Increase::RequestOptions + } + type billing_address = { city: String, @@ -74,6 +83,14 @@ module Increase state: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + postal_code: String, + state: String, + :line2 => String + } end type digital_wallet = @@ -97,6 +114,12 @@ module Increase ?email: String, ?phone: String ) -> void + + def to_hash: -> { + digital_card_profile_id: String, + email: String, + phone: String + } end end end diff --git a/sig/increase/models/card_details.rbs b/sig/increase/models/card_details.rbs index 3795256cc..8d814eba1 100644 --- a/sig/increase/models/card_details.rbs +++ b/sig/increase/models/card_details.rbs @@ -6,7 +6,7 @@ module Increase expiration_month: Integer, expiration_year: Integer, primary_account_number: String, - type: Increase::CardDetails::type_, + type: Increase::Models::CardDetails::type_, verification_code: String } @@ -19,7 +19,7 @@ module Increase attr_accessor primary_account_number: String - attr_accessor type: Increase::CardDetails::type_ + attr_accessor type: Increase::Models::CardDetails::type_ attr_accessor verification_code: String @@ -28,10 +28,19 @@ module Increase expiration_month: Integer, expiration_year: Integer, primary_account_number: String, - type: Increase::CardDetails::type_, + type: Increase::Models::CardDetails::type_, verification_code: String ) -> void + def to_hash: -> { + card_id: String, + expiration_month: Integer, + expiration_year: Integer, + primary_account_number: String, + type: Increase::Models::CardDetails::type_, + verification_code: String + } + type type_ = :card_details module Type @@ -39,7 +48,7 @@ module Increase CARD_DETAILS: :card_details - def self?.values: -> ::Array[Increase::CardDetails::type_] + def self?.values: -> ::Array[Increase::Models::CardDetails::type_] end end end diff --git a/sig/increase/models/card_details_params.rbs b/sig/increase/models/card_details_params.rbs index 1642a4afe..cd5a5e7ee 100644 --- a/sig/increase/models/card_details_params.rbs +++ b/sig/increase/models/card_details_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/card_dispute.rbs b/sig/increase/models/card_dispute.rbs index 2ff4c96de..5ed7cb536 100644 --- a/sig/increase/models/card_dispute.rbs +++ b/sig/increase/models/card_dispute.rbs @@ -11,8 +11,8 @@ module Increase idempotency_key: String?, loss: Increase::CardDispute::Loss?, rejection: Increase::CardDispute::Rejection?, - status: Increase::CardDispute::status, - type: Increase::CardDispute::type_, + status: Increase::Models::CardDispute::status, + type: Increase::Models::CardDispute::type_, win: Increase::CardDispute::Win? } @@ -35,9 +35,9 @@ module Increase attr_accessor rejection: Increase::CardDispute::Rejection? - attr_accessor status: Increase::CardDispute::status + attr_accessor status: Increase::Models::CardDispute::status - attr_accessor type: Increase::CardDispute::type_ + attr_accessor type: Increase::Models::CardDispute::type_ attr_accessor win: Increase::CardDispute::Win? @@ -51,11 +51,26 @@ module Increase idempotency_key: String?, loss: Increase::CardDispute::Loss?, rejection: Increase::CardDispute::Rejection?, - status: Increase::CardDispute::status, - type: Increase::CardDispute::type_, + status: Increase::Models::CardDispute::status, + type: Increase::Models::CardDispute::type_, win: Increase::CardDispute::Win? ) -> void + def to_hash: -> { + id: String, + acceptance: Increase::CardDispute::Acceptance?, + amount: Integer?, + created_at: Time, + disputed_transaction_id: String, + explanation: String, + idempotency_key: String?, + loss: Increase::CardDispute::Loss?, + rejection: Increase::CardDispute::Rejection?, + status: Increase::Models::CardDispute::status, + type: Increase::Models::CardDispute::type_, + win: Increase::CardDispute::Win? + } + type acceptance = { accepted_at: Time, card_dispute_id: String, transaction_id: String } @@ -71,6 +86,12 @@ module Increase card_dispute_id: String, transaction_id: String ) -> void + + def to_hash: -> { + accepted_at: Time, + card_dispute_id: String, + transaction_id: String + } end type loss = @@ -96,6 +117,13 @@ module Increase lost_at: Time, transaction_id: String ) -> void + + def to_hash: -> { + card_dispute_id: String, + explanation: String, + lost_at: Time, + transaction_id: String + } end type rejection = @@ -113,6 +141,12 @@ module Increase explanation: String, rejected_at: Time ) -> void + + def to_hash: -> { + card_dispute_id: String, + explanation: String, + rejected_at: Time + } end type status = @@ -144,7 +178,7 @@ module Increase # The Card Dispute has been won and no further action can be taken. WON: :won - def self?.values: -> ::Array[Increase::CardDispute::status] + def self?.values: -> ::Array[Increase::Models::CardDispute::status] end type type_ = :card_dispute @@ -154,7 +188,7 @@ module Increase CARD_DISPUTE: :card_dispute - def self?.values: -> ::Array[Increase::CardDispute::type_] + def self?.values: -> ::Array[Increase::Models::CardDispute::type_] end type win = { card_dispute_id: String, won_at: Time } @@ -165,6 +199,8 @@ module Increase attr_accessor won_at: Time def initialize: (card_dispute_id: String, won_at: Time) -> void + + def to_hash: -> { card_dispute_id: String, won_at: Time } end end end diff --git a/sig/increase/models/card_dispute_create_params.rbs b/sig/increase/models/card_dispute_create_params.rbs index 7fb3b9f9a..928d25ac0 100644 --- a/sig/increase/models/card_dispute_create_params.rbs +++ b/sig/increase/models/card_dispute_create_params.rbs @@ -22,6 +22,13 @@ module Increase ?amount: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + disputed_transaction_id: String, + explanation: String, + amount: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/card_dispute_list_params.rbs b/sig/increase/models/card_dispute_list_params.rbs index 036c0c5f5..420fa81f9 100644 --- a/sig/increase/models/card_dispute_list_params.rbs +++ b/sig/increase/models/card_dispute_list_params.rbs @@ -47,6 +47,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + created_at: Increase::CardDisputeListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::CardDisputeListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -73,22 +82,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::CardDisputeListParams::Status::in_] } + { in_: ::Array[Increase::Models::CardDisputeListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::CardDisputeListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::CardDisputeListParams::Status::in_]? def in_=: ( - ::Array[Increase::CardDisputeListParams::Status::in_] - ) -> ::Array[Increase::CardDisputeListParams::Status::in_] + ::Array[Increase::Models::CardDisputeListParams::Status::in_] + ) -> ::Array[Increase::Models::CardDisputeListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::CardDisputeListParams::Status::in_] + ?in_: ::Array[Increase::Models::CardDisputeListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::CardDisputeListParams::Status::in_] + } + type in_ = :pending_reviewing | :pending_user_information @@ -118,7 +138,7 @@ module Increase # The Card Dispute has been won and no further action can be taken. WON: :won - def self?.values: -> ::Array[Increase::CardDisputeListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::CardDisputeListParams::Status::in_] end end end diff --git a/sig/increase/models/card_dispute_retrieve_params.rbs b/sig/increase/models/card_dispute_retrieve_params.rbs index 83653f0b2..ffe920e75 100644 --- a/sig/increase/models/card_dispute_retrieve_params.rbs +++ b/sig/increase/models/card_dispute_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/card_list_params.rbs b/sig/increase/models/card_list_params.rbs index 0cd2fc095..115f77fa4 100644 --- a/sig/increase/models/card_list_params.rbs +++ b/sig/increase/models/card_list_params.rbs @@ -53,6 +53,16 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::CardListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::CardListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -79,21 +89,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end - type status = { in_: ::Array[Increase::CardListParams::Status::in_] } + type status = + { in_: ::Array[Increase::Models::CardListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::CardListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::CardListParams::Status::in_]? def in_=: ( - ::Array[Increase::CardListParams::Status::in_] - ) -> ::Array[Increase::CardListParams::Status::in_] + ::Array[Increase::Models::CardListParams::Status::in_] + ) -> ::Array[Increase::Models::CardListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::CardListParams::Status::in_] + ?in_: ::Array[Increase::Models::CardListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::CardListParams::Status::in_] + } + type in_ = :active | :disabled | :canceled module In @@ -108,7 +130,7 @@ module Increase # The card is permanently canceled. CANCELED: :canceled - def self?.values: -> ::Array[Increase::CardListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::CardListParams::Status::in_] end end end diff --git a/sig/increase/models/card_payment.rbs b/sig/increase/models/card_payment.rbs index 73b2eea1b..630547dcb 100644 --- a/sig/increase/models/card_payment.rbs +++ b/sig/increase/models/card_payment.rbs @@ -10,7 +10,7 @@ module Increase elements: ::Array[Increase::CardPayment::Element], physical_card_id: String?, state: Increase::CardPayment::State, - type: Increase::CardPayment::type_ + type: Increase::Models::CardPayment::type_ } class CardPayment < Increase::Internal::Type::BaseModel @@ -30,7 +30,7 @@ module Increase attr_accessor state: Increase::CardPayment::State - attr_accessor type: Increase::CardPayment::type_ + attr_accessor type: Increase::Models::CardPayment::type_ def initialize: ( id: String, @@ -41,9 +41,21 @@ module Increase elements: ::Array[Increase::CardPayment::Element], physical_card_id: String?, state: Increase::CardPayment::State, - type: Increase::CardPayment::type_ + type: Increase::Models::CardPayment::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + card_id: String, + created_at: Time, + digital_wallet_token_id: String?, + elements: ::Array[Increase::CardPayment::Element], + physical_card_id: String?, + state: Increase::CardPayment::State, + type: Increase::Models::CardPayment::type_ + } + type element = { card_authentication: Increase::CardPayment::Element::CardAuthentication?, @@ -56,7 +68,7 @@ module Increase card_reversal: Increase::CardPayment::Element::CardReversal?, card_settlement: Increase::CardPayment::Element::CardSettlement?, card_validation: Increase::CardPayment::Element::CardValidation?, - category: Increase::CardPayment::Element::category, + category: Increase::Models::CardPayment::Element::category, created_at: Time, other: top? } @@ -82,7 +94,7 @@ module Increase attr_accessor card_validation: Increase::CardPayment::Element::CardValidation? - attr_accessor category: Increase::CardPayment::Element::category + attr_accessor category: Increase::Models::CardPayment::Element::category attr_accessor created_at: Time @@ -99,21 +111,37 @@ module Increase card_reversal: Increase::CardPayment::Element::CardReversal?, card_settlement: Increase::CardPayment::Element::CardSettlement?, card_validation: Increase::CardPayment::Element::CardValidation?, - category: Increase::CardPayment::Element::category, + category: Increase::Models::CardPayment::Element::category, created_at: Time, other: top? ) -> void + def to_hash: -> { + card_authentication: Increase::CardPayment::Element::CardAuthentication?, + card_authorization: Increase::CardPayment::Element::CardAuthorization?, + card_authorization_expiration: Increase::CardPayment::Element::CardAuthorizationExpiration?, + card_decline: Increase::CardPayment::Element::CardDecline?, + card_fuel_confirmation: Increase::CardPayment::Element::CardFuelConfirmation?, + card_increment: Increase::CardPayment::Element::CardIncrement?, + card_refund: Increase::CardPayment::Element::CardRefund?, + card_reversal: Increase::CardPayment::Element::CardReversal?, + card_settlement: Increase::CardPayment::Element::CardSettlement?, + card_validation: Increase::CardPayment::Element::CardValidation?, + category: Increase::Models::CardPayment::Element::category, + created_at: Time, + other: top? + } + type card_authentication = { id: String, card_id: String, card_payment_id: String, - category: Increase::CardPayment::Element::CardAuthentication::category?, + category: Increase::Models::CardPayment::Element::CardAuthentication::category?, challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?, created_at: Time, - deny_reason: Increase::CardPayment::Element::CardAuthentication::deny_reason?, - device_channel: Increase::CardPayment::Element::CardAuthentication::device_channel?, + deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?, + device_channel: Increase::Models::CardPayment::Element::CardAuthentication::device_channel?, merchant_acceptor_id: String, merchant_category_code: String, merchant_country: String, @@ -121,8 +149,8 @@ module Increase purchase_amount: Integer?, purchase_currency: String?, real_time_decision_id: String?, - status: Increase::CardPayment::Element::CardAuthentication::status, - type: Increase::CardPayment::Element::CardAuthentication::type_ + status: Increase::Models::CardPayment::Element::CardAuthentication::status, + type: Increase::Models::CardPayment::Element::CardAuthentication::type_ } class CardAuthentication < Increase::Internal::Type::BaseModel @@ -132,15 +160,15 @@ module Increase attr_accessor card_payment_id: String - attr_accessor category: Increase::CardPayment::Element::CardAuthentication::category? + attr_accessor category: Increase::Models::CardPayment::Element::CardAuthentication::category? attr_accessor challenge: Increase::CardPayment::Element::CardAuthentication::Challenge? attr_accessor created_at: Time - attr_accessor deny_reason: Increase::CardPayment::Element::CardAuthentication::deny_reason? + attr_accessor deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason? - attr_accessor device_channel: Increase::CardPayment::Element::CardAuthentication::device_channel? + attr_accessor device_channel: Increase::Models::CardPayment::Element::CardAuthentication::device_channel? attr_accessor merchant_acceptor_id: String @@ -156,19 +184,19 @@ module Increase attr_accessor real_time_decision_id: String? - attr_accessor status: Increase::CardPayment::Element::CardAuthentication::status + attr_accessor status: Increase::Models::CardPayment::Element::CardAuthentication::status - attr_accessor type: Increase::CardPayment::Element::CardAuthentication::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardAuthentication::type_ def initialize: ( id: String, card_id: String, card_payment_id: String, - category: Increase::CardPayment::Element::CardAuthentication::category?, + category: Increase::Models::CardPayment::Element::CardAuthentication::category?, challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?, created_at: Time, - deny_reason: Increase::CardPayment::Element::CardAuthentication::deny_reason?, - device_channel: Increase::CardPayment::Element::CardAuthentication::device_channel?, + deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?, + device_channel: Increase::Models::CardPayment::Element::CardAuthentication::device_channel?, merchant_acceptor_id: String, merchant_category_code: String, merchant_country: String, @@ -176,10 +204,30 @@ module Increase purchase_amount: Integer?, purchase_currency: String?, real_time_decision_id: String?, - status: Increase::CardPayment::Element::CardAuthentication::status, - type: Increase::CardPayment::Element::CardAuthentication::type_ + status: Increase::Models::CardPayment::Element::CardAuthentication::status, + type: Increase::Models::CardPayment::Element::CardAuthentication::type_ ) -> void + def to_hash: -> { + id: String, + card_id: String, + card_payment_id: String, + category: Increase::Models::CardPayment::Element::CardAuthentication::category?, + challenge: Increase::CardPayment::Element::CardAuthentication::Challenge?, + created_at: Time, + deny_reason: Increase::Models::CardPayment::Element::CardAuthentication::deny_reason?, + device_channel: Increase::Models::CardPayment::Element::CardAuthentication::device_channel?, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_country: String, + merchant_name: String, + purchase_amount: Integer?, + purchase_currency: String?, + real_time_decision_id: String?, + status: Increase::Models::CardPayment::Element::CardAuthentication::status, + type: Increase::Models::CardPayment::Element::CardAuthentication::type_ + } + type category = :payment_authentication | :non_payment_authentication module Category @@ -191,7 +239,7 @@ module Increase # The authentication attempt is not for a payment. NON_PAYMENT_AUTHENTICATION: :non_payment_authentication - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthentication::category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::category] end type challenge = @@ -199,7 +247,7 @@ module Increase attempts: ::Array[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt], created_at: Time, one_time_code: String, - verification_method: Increase::CardPayment::Element::CardAuthentication::Challenge::verification_method, + verification_method: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::verification_method, verification_value: String? } @@ -210,7 +258,7 @@ module Increase attr_accessor one_time_code: String - attr_accessor verification_method: Increase::CardPayment::Element::CardAuthentication::Challenge::verification_method + attr_accessor verification_method: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::verification_method attr_accessor verification_value: String? @@ -218,26 +266,39 @@ module Increase attempts: ::Array[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt], created_at: Time, one_time_code: String, - verification_method: Increase::CardPayment::Element::CardAuthentication::Challenge::verification_method, + verification_method: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::verification_method, verification_value: String? ) -> void + def to_hash: -> { + attempts: ::Array[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt], + created_at: Time, + one_time_code: String, + verification_method: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::verification_method, + verification_value: String? + } + type attempt = { created_at: Time, - outcome: Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome + outcome: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome } class Attempt < Increase::Internal::Type::BaseModel attr_accessor created_at: Time - attr_accessor outcome: Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome + attr_accessor outcome: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome def initialize: ( created_at: Time, - outcome: Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome + outcome: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome ) -> void + def to_hash: -> { + created_at: Time, + outcome: Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome + } + type outcome = :successful | :failed module Outcome @@ -249,7 +310,7 @@ module Increase # The attempt was unsuccessful. FAILED: :failed - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::Challenge::Attempt::outcome] end end @@ -267,7 +328,7 @@ module Increase # The one-time code was not successfully delivered. NONE_AVAILABLE: :none_available - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthentication::Challenge::verification_method] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::Challenge::verification_method] end end @@ -300,7 +361,7 @@ module Increase # The webhook timed out. WEBHOOK_TIMED_OUT: :webhook_timed_out - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthentication::deny_reason] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::deny_reason] end type device_channel = :app | :browser | :three_ds_requestor_initiated @@ -317,7 +378,7 @@ module Increase # The authentication attempt was initiated by the 3DS Requestor. THREE_DS_REQUESTOR_INITIATED: :three_ds_requestor_initiated - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthentication::device_channel] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::device_channel] end type status = @@ -361,7 +422,7 @@ module Increase # The authentication attempt exceeded the attempt threshold. EXCEEDED_ATTEMPT_THRESHOLD: :exceeded_attempt_threshold - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthentication::status] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::status] end type type_ = :card_authentication @@ -371,19 +432,19 @@ module Increase CARD_AUTHENTICATION: :card_authentication - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthentication::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthentication::type_] end end type card_authorization = { id: String, - actioner: Increase::CardPayment::Element::CardAuthorization::actioner, + actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner, amount: Integer, card_payment_id: String, - currency: Increase::CardPayment::Element::CardAuthorization::currency, + currency: Increase::Models::CardPayment::Element::CardAuthorization::currency, digital_wallet_token_id: String?, - direction: Increase::CardPayment::Element::CardAuthorization::direction, + direction: Increase::Models::CardPayment::Element::CardAuthorization::direction, expires_at: Time, merchant_acceptor_id: String, merchant_category_code: String, @@ -399,27 +460,27 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::CardPayment::Element::CardAuthorization::processing_category, + processing_category: Increase::Models::CardPayment::Element::CardAuthorization::processing_category, real_time_decision_id: String?, terminal_id: String?, - type: Increase::CardPayment::Element::CardAuthorization::type_, + type: Increase::Models::CardPayment::Element::CardAuthorization::type_, verification: Increase::CardPayment::Element::CardAuthorization::Verification } class CardAuthorization < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor actioner: Increase::CardPayment::Element::CardAuthorization::actioner + attr_accessor actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner attr_accessor amount: Integer attr_accessor card_payment_id: String - attr_accessor currency: Increase::CardPayment::Element::CardAuthorization::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardAuthorization::currency attr_accessor digital_wallet_token_id: String? - attr_accessor direction: Increase::CardPayment::Element::CardAuthorization::direction + attr_accessor direction: Increase::Models::CardPayment::Element::CardAuthorization::direction attr_accessor expires_at: Time @@ -451,24 +512,24 @@ module Increase attr_accessor presentment_currency: String - attr_accessor processing_category: Increase::CardPayment::Element::CardAuthorization::processing_category + attr_accessor processing_category: Increase::Models::CardPayment::Element::CardAuthorization::processing_category attr_accessor real_time_decision_id: String? attr_accessor terminal_id: String? - attr_accessor type: Increase::CardPayment::Element::CardAuthorization::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardAuthorization::type_ attr_accessor verification: Increase::CardPayment::Element::CardAuthorization::Verification def initialize: ( id: String, - actioner: Increase::CardPayment::Element::CardAuthorization::actioner, + actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner, amount: Integer, card_payment_id: String, - currency: Increase::CardPayment::Element::CardAuthorization::currency, + currency: Increase::Models::CardPayment::Element::CardAuthorization::currency, digital_wallet_token_id: String?, - direction: Increase::CardPayment::Element::CardAuthorization::direction, + direction: Increase::Models::CardPayment::Element::CardAuthorization::direction, expires_at: Time, merchant_acceptor_id: String, merchant_category_code: String, @@ -484,13 +545,43 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::CardPayment::Element::CardAuthorization::processing_category, + processing_category: Increase::Models::CardPayment::Element::CardAuthorization::processing_category, real_time_decision_id: String?, terminal_id: String?, - type: Increase::CardPayment::Element::CardAuthorization::type_, + type: Increase::Models::CardPayment::Element::CardAuthorization::type_, verification: Increase::CardPayment::Element::CardAuthorization::Verification ) -> void + def to_hash: -> { + id: String, + actioner: Increase::Models::CardPayment::Element::CardAuthorization::actioner, + amount: Integer, + card_payment_id: String, + currency: Increase::Models::CardPayment::Element::CardAuthorization::currency, + digital_wallet_token_id: String?, + direction: Increase::Models::CardPayment::Element::CardAuthorization::direction, + expires_at: Time, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String?, + merchant_country: String, + merchant_descriptor: String, + merchant_postal_code: String?, + merchant_state: String?, + network_details: Increase::CardPayment::Element::CardAuthorization::NetworkDetails, + network_identifiers: Increase::CardPayment::Element::CardAuthorization::NetworkIdentifiers, + network_risk_score: Integer?, + pending_transaction_id: String?, + physical_card_id: String?, + presentment_amount: Integer, + presentment_currency: String, + processing_category: Increase::Models::CardPayment::Element::CardAuthorization::processing_category, + real_time_decision_id: String?, + terminal_id: String?, + type: Increase::Models::CardPayment::Element::CardAuthorization::type_, + verification: Increase::CardPayment::Element::CardAuthorization::Verification + } + type actioner = :user | :increase | :network module Actioner @@ -505,7 +596,7 @@ module Increase # This object was actioned by the network, through stand-in processing. NETWORK: :network - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::actioner] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::actioner] end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -531,7 +622,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::currency] end type direction = :settlement | :refund @@ -545,25 +636,30 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::direction] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::direction] end type network_details = { - category: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::category, + category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category, visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::category + attr_accessor category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category attr_accessor visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? def initialize: ( - category: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::category, + category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category, visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? ) -> void + def to_hash: -> { + category: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category, + visa: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa? + } + type category = :visa module Category @@ -572,29 +668,35 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::NetworkDetails::category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::category] end type visa = { - electronic_commerce_indicator: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? } class Visa < Increase::Internal::Type::BaseModel - attr_accessor electronic_commerce_indicator: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator? + attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator? - attr_accessor point_of_service_entry_mode: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode? + attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode? - attr_accessor stand_in_processing_reason: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? def initialize: ( - electronic_commerce_indicator: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? ) -> void + def to_hash: -> { + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + } + type electronic_commerce_indicator = :mail_phone_order | :recurring @@ -632,7 +734,7 @@ module Increase # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection. NON_SECURE_TRANSACTION: :non_secure_transaction - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator] end type point_of_service_entry_mode = @@ -680,7 +782,7 @@ module Increase # Contact chip card, without card verification value INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode] end type stand_in_processing_reason = @@ -716,7 +818,7 @@ module Increase # An unspecific reason for stand-in processing. OTHER: :other - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason] end end end @@ -740,6 +842,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type processing_category = @@ -771,7 +879,7 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::processing_category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::processing_category] end type type_ = :card_authorization @@ -781,7 +889,7 @@ module Increase CARD_AUTHORIZATION: :card_authorization - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::type_] end type verification = @@ -800,18 +908,27 @@ module Increase cardholder_address: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress ) -> void + def to_hash: -> { + card_verification_code: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode, + cardholder_address: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress + } + type card_verification_code = { - result: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result + result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result } class CardVerificationCode < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result + attr_accessor result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result def initialize: ( - result: Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result + result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result ) -> void + def to_hash: -> { + result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result + } + type result = :not_checked | :match | :no_match module Result @@ -826,7 +943,7 @@ module Increase # The card verification code did not match the one on file. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardVerificationCode::result] end end @@ -836,7 +953,7 @@ module Increase actual_postal_code: String?, :provided_line1 => String?, provided_postal_code: String?, - result: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result + result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result } class CardholderAddress < Increase::Internal::Type::BaseModel @@ -848,16 +965,24 @@ module Increase attr_accessor provided_postal_code: String? - attr_accessor result: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result + attr_accessor result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result def initialize: ( actual_line1: String?, actual_postal_code: String?, provided_line1: String?, provided_postal_code: String?, - result: Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result + result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result ) -> void + def to_hash: -> { + :actual_line1 => String?, + actual_postal_code: String?, + :provided_line1 => String?, + provided_postal_code: String?, + result: Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result + } + type result = :not_checked | :postal_code_match_address_not_checked @@ -887,7 +1012,7 @@ module Increase # Postal code and street address do not match. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorization::Verification::CardholderAddress::result] end end end @@ -897,10 +1022,10 @@ module Increase { id: String, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardAuthorizationExpiration::currency, + currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency, expired_amount: Integer, - network: Increase::CardPayment::Element::CardAuthorizationExpiration::network, - type: Increase::CardPayment::Element::CardAuthorizationExpiration::type_ + network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network, + type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_ } class CardAuthorizationExpiration < Increase::Internal::Type::BaseModel @@ -908,23 +1033,32 @@ module Increase attr_accessor card_authorization_id: String - attr_accessor currency: Increase::CardPayment::Element::CardAuthorizationExpiration::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency attr_accessor expired_amount: Integer - attr_accessor network: Increase::CardPayment::Element::CardAuthorizationExpiration::network + attr_accessor network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network - attr_accessor type: Increase::CardPayment::Element::CardAuthorizationExpiration::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_ def initialize: ( id: String, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardAuthorizationExpiration::currency, + currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency, expired_amount: Integer, - network: Increase::CardPayment::Element::CardAuthorizationExpiration::network, - type: Increase::CardPayment::Element::CardAuthorizationExpiration::type_ + network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network, + type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_ ) -> void + def to_hash: -> { + id: String, + card_authorization_id: String, + currency: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency, + expired_amount: Integer, + network: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network, + type: Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -948,7 +1082,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorizationExpiration::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::currency] end type network = :visa @@ -959,7 +1093,7 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorizationExpiration::network] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::network] end type type_ = :card_authorization_expiration @@ -969,20 +1103,20 @@ module Increase CARD_AUTHORIZATION_EXPIRATION: :card_authorization_expiration - def self?.values: -> ::Array[Increase::CardPayment::Element::CardAuthorizationExpiration::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardAuthorizationExpiration::type_] end end type card_decline = { id: String, - actioner: Increase::CardPayment::Element::CardDecline::actioner, + actioner: Increase::Models::CardPayment::Element::CardDecline::actioner, amount: Integer, card_payment_id: String, - currency: Increase::CardPayment::Element::CardDecline::currency, + currency: Increase::Models::CardPayment::Element::CardDecline::currency, declined_transaction_id: String, digital_wallet_token_id: String?, - direction: Increase::CardPayment::Element::CardDecline::direction, + direction: Increase::Models::CardPayment::Element::CardDecline::direction, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -996,10 +1130,10 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::CardPayment::Element::CardDecline::processing_category, + processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category, real_time_decision_id: String?, - real_time_decision_reason: Increase::CardPayment::Element::CardDecline::real_time_decision_reason?, - reason: Increase::CardPayment::Element::CardDecline::reason, + real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?, + reason: Increase::Models::CardPayment::Element::CardDecline::reason, terminal_id: String?, verification: Increase::CardPayment::Element::CardDecline::Verification } @@ -1007,19 +1141,19 @@ module Increase class CardDecline < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor actioner: Increase::CardPayment::Element::CardDecline::actioner + attr_accessor actioner: Increase::Models::CardPayment::Element::CardDecline::actioner attr_accessor amount: Integer attr_accessor card_payment_id: String - attr_accessor currency: Increase::CardPayment::Element::CardDecline::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardDecline::currency attr_accessor declined_transaction_id: String attr_accessor digital_wallet_token_id: String? - attr_accessor direction: Increase::CardPayment::Element::CardDecline::direction + attr_accessor direction: Increase::Models::CardPayment::Element::CardDecline::direction attr_accessor merchant_acceptor_id: String @@ -1047,13 +1181,13 @@ module Increase attr_accessor presentment_currency: String - attr_accessor processing_category: Increase::CardPayment::Element::CardDecline::processing_category + attr_accessor processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category attr_accessor real_time_decision_id: String? - attr_accessor real_time_decision_reason: Increase::CardPayment::Element::CardDecline::real_time_decision_reason? + attr_accessor real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason? - attr_accessor reason: Increase::CardPayment::Element::CardDecline::reason + attr_accessor reason: Increase::Models::CardPayment::Element::CardDecline::reason attr_accessor terminal_id: String? @@ -1061,13 +1195,13 @@ module Increase def initialize: ( id: String, - actioner: Increase::CardPayment::Element::CardDecline::actioner, + actioner: Increase::Models::CardPayment::Element::CardDecline::actioner, amount: Integer, card_payment_id: String, - currency: Increase::CardPayment::Element::CardDecline::currency, + currency: Increase::Models::CardPayment::Element::CardDecline::currency, declined_transaction_id: String, digital_wallet_token_id: String?, - direction: Increase::CardPayment::Element::CardDecline::direction, + direction: Increase::Models::CardPayment::Element::CardDecline::direction, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -1081,14 +1215,44 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::CardPayment::Element::CardDecline::processing_category, + processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category, real_time_decision_id: String?, - real_time_decision_reason: Increase::CardPayment::Element::CardDecline::real_time_decision_reason?, - reason: Increase::CardPayment::Element::CardDecline::reason, + real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?, + reason: Increase::Models::CardPayment::Element::CardDecline::reason, terminal_id: String?, verification: Increase::CardPayment::Element::CardDecline::Verification ) -> void + def to_hash: -> { + id: String, + actioner: Increase::Models::CardPayment::Element::CardDecline::actioner, + amount: Integer, + card_payment_id: String, + currency: Increase::Models::CardPayment::Element::CardDecline::currency, + declined_transaction_id: String, + digital_wallet_token_id: String?, + direction: Increase::Models::CardPayment::Element::CardDecline::direction, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String?, + merchant_country: String, + merchant_descriptor: String, + merchant_postal_code: String?, + merchant_state: String?, + network_details: Increase::CardPayment::Element::CardDecline::NetworkDetails, + network_identifiers: Increase::CardPayment::Element::CardDecline::NetworkIdentifiers, + network_risk_score: Integer?, + physical_card_id: String?, + presentment_amount: Integer, + presentment_currency: String, + processing_category: Increase::Models::CardPayment::Element::CardDecline::processing_category, + real_time_decision_id: String?, + real_time_decision_reason: Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason?, + reason: Increase::Models::CardPayment::Element::CardDecline::reason, + terminal_id: String?, + verification: Increase::CardPayment::Element::CardDecline::Verification + } + type actioner = :user | :increase | :network module Actioner @@ -1103,7 +1267,7 @@ module Increase # This object was actioned by the network, through stand-in processing. NETWORK: :network - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::actioner] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::actioner] end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -1129,7 +1293,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::currency] end type direction = :settlement | :refund @@ -1143,25 +1307,30 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::direction] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::direction] end type network_details = { - category: Increase::CardPayment::Element::CardDecline::NetworkDetails::category, + category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category, visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::CardPayment::Element::CardDecline::NetworkDetails::category + attr_accessor category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category attr_accessor visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? def initialize: ( - category: Increase::CardPayment::Element::CardDecline::NetworkDetails::category, + category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category, visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? ) -> void + def to_hash: -> { + category: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category, + visa: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa? + } + type category = :visa module Category @@ -1170,29 +1339,35 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::NetworkDetails::category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::category] end type visa = { - electronic_commerce_indicator: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? } class Visa < Increase::Internal::Type::BaseModel - attr_accessor electronic_commerce_indicator: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator? + attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator? - attr_accessor point_of_service_entry_mode: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode? + attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode? - attr_accessor stand_in_processing_reason: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? def initialize: ( - electronic_commerce_indicator: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? ) -> void + def to_hash: -> { + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + } + type electronic_commerce_indicator = :mail_phone_order | :recurring @@ -1230,7 +1405,7 @@ module Increase # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection. NON_SECURE_TRANSACTION: :non_secure_transaction - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator] end type point_of_service_entry_mode = @@ -1278,7 +1453,7 @@ module Increase # Contact chip card, without card verification value INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode] end type stand_in_processing_reason = @@ -1314,7 +1489,7 @@ module Increase # An unspecific reason for stand-in processing. OTHER: :other - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::NetworkDetails::Visa::stand_in_processing_reason] end end end @@ -1338,6 +1513,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type processing_category = @@ -1369,7 +1550,7 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::processing_category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::processing_category] end type real_time_decision_reason = @@ -1401,7 +1582,7 @@ module Increase # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly. OTHER: :other - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::real_time_decision_reason] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::real_time_decision_reason] end type reason = @@ -1481,7 +1662,7 @@ module Increase # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information. SUSPECTED_FRAUD: :suspected_fraud - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::reason] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::reason] end type verification = @@ -1500,18 +1681,27 @@ module Increase cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress ) -> void + def to_hash: -> { + card_verification_code: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode, + cardholder_address: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress + } + type card_verification_code = { - result: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result + result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result } class CardVerificationCode < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result + attr_accessor result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result def initialize: ( - result: Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result + result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result ) -> void + def to_hash: -> { + result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result + } + type result = :not_checked | :match | :no_match module Result @@ -1526,7 +1716,7 @@ module Increase # The card verification code did not match the one on file. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardVerificationCode::result] end end @@ -1536,7 +1726,7 @@ module Increase actual_postal_code: String?, :provided_line1 => String?, provided_postal_code: String?, - result: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::result + result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result } class CardholderAddress < Increase::Internal::Type::BaseModel @@ -1548,16 +1738,24 @@ module Increase attr_accessor provided_postal_code: String? - attr_accessor result: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::result + attr_accessor result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result def initialize: ( actual_line1: String?, actual_postal_code: String?, provided_line1: String?, provided_postal_code: String?, - result: Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::result + result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result ) -> void + def to_hash: -> { + :actual_line1 => String?, + actual_postal_code: String?, + :provided_line1 => String?, + provided_postal_code: String?, + result: Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result + } + type result = :not_checked | :postal_code_match_address_not_checked @@ -1587,7 +1785,7 @@ module Increase # Postal code and street address do not match. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::CardPayment::Element::CardDecline::Verification::CardholderAddress::result] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardDecline::Verification::CardholderAddress::result] end end end @@ -1597,11 +1795,11 @@ module Increase { id: String, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardFuelConfirmation::currency, - network: Increase::CardPayment::Element::CardFuelConfirmation::network, + currency: Increase::Models::CardPayment::Element::CardFuelConfirmation::currency, + network: Increase::Models::CardPayment::Element::CardFuelConfirmation::network, network_identifiers: Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers, pending_transaction_id: String?, - type: Increase::CardPayment::Element::CardFuelConfirmation::type_, + type: Increase::Models::CardPayment::Element::CardFuelConfirmation::type_, updated_authorization_amount: Integer } @@ -1610,29 +1808,40 @@ module Increase attr_accessor card_authorization_id: String - attr_accessor currency: Increase::CardPayment::Element::CardFuelConfirmation::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardFuelConfirmation::currency - attr_accessor network: Increase::CardPayment::Element::CardFuelConfirmation::network + attr_accessor network: Increase::Models::CardPayment::Element::CardFuelConfirmation::network attr_accessor network_identifiers: Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers attr_accessor pending_transaction_id: String? - attr_accessor type: Increase::CardPayment::Element::CardFuelConfirmation::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardFuelConfirmation::type_ attr_accessor updated_authorization_amount: Integer def initialize: ( id: String, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardFuelConfirmation::currency, - network: Increase::CardPayment::Element::CardFuelConfirmation::network, + currency: Increase::Models::CardPayment::Element::CardFuelConfirmation::currency, + network: Increase::Models::CardPayment::Element::CardFuelConfirmation::network, network_identifiers: Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers, pending_transaction_id: String?, - type: Increase::CardPayment::Element::CardFuelConfirmation::type_, + type: Increase::Models::CardPayment::Element::CardFuelConfirmation::type_, updated_authorization_amount: Integer ) -> void + def to_hash: -> { + id: String, + card_authorization_id: String, + currency: Increase::Models::CardPayment::Element::CardFuelConfirmation::currency, + network: Increase::Models::CardPayment::Element::CardFuelConfirmation::network, + network_identifiers: Increase::CardPayment::Element::CardFuelConfirmation::NetworkIdentifiers, + pending_transaction_id: String?, + type: Increase::Models::CardPayment::Element::CardFuelConfirmation::type_, + updated_authorization_amount: Integer + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -1656,7 +1865,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardFuelConfirmation::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFuelConfirmation::currency] end type network = :visa @@ -1667,7 +1876,7 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::CardPayment::Element::CardFuelConfirmation::network] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFuelConfirmation::network] end type network_identifiers = @@ -1689,6 +1898,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type type_ = :card_fuel_confirmation @@ -1698,38 +1913,38 @@ module Increase CARD_FUEL_CONFIRMATION: :card_fuel_confirmation - def self?.values: -> ::Array[Increase::CardPayment::Element::CardFuelConfirmation::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardFuelConfirmation::type_] end end type card_increment = { id: String, - actioner: Increase::CardPayment::Element::CardIncrement::actioner, + actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner, amount: Integer, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardIncrement::currency, - network: Increase::CardPayment::Element::CardIncrement::network, + currency: Increase::Models::CardPayment::Element::CardIncrement::currency, + network: Increase::Models::CardPayment::Element::CardIncrement::network, network_identifiers: Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers, network_risk_score: Integer?, pending_transaction_id: String?, real_time_decision_id: String?, - type: Increase::CardPayment::Element::CardIncrement::type_, + type: Increase::Models::CardPayment::Element::CardIncrement::type_, updated_authorization_amount: Integer } class CardIncrement < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor actioner: Increase::CardPayment::Element::CardIncrement::actioner + attr_accessor actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner attr_accessor amount: Integer attr_accessor card_authorization_id: String - attr_accessor currency: Increase::CardPayment::Element::CardIncrement::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardIncrement::currency - attr_accessor network: Increase::CardPayment::Element::CardIncrement::network + attr_accessor network: Increase::Models::CardPayment::Element::CardIncrement::network attr_accessor network_identifiers: Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers @@ -1739,25 +1954,40 @@ module Increase attr_accessor real_time_decision_id: String? - attr_accessor type: Increase::CardPayment::Element::CardIncrement::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardIncrement::type_ attr_accessor updated_authorization_amount: Integer def initialize: ( id: String, - actioner: Increase::CardPayment::Element::CardIncrement::actioner, + actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner, amount: Integer, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardIncrement::currency, - network: Increase::CardPayment::Element::CardIncrement::network, + currency: Increase::Models::CardPayment::Element::CardIncrement::currency, + network: Increase::Models::CardPayment::Element::CardIncrement::network, network_identifiers: Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers, network_risk_score: Integer?, pending_transaction_id: String?, real_time_decision_id: String?, - type: Increase::CardPayment::Element::CardIncrement::type_, + type: Increase::Models::CardPayment::Element::CardIncrement::type_, updated_authorization_amount: Integer ) -> void + def to_hash: -> { + id: String, + actioner: Increase::Models::CardPayment::Element::CardIncrement::actioner, + amount: Integer, + card_authorization_id: String, + currency: Increase::Models::CardPayment::Element::CardIncrement::currency, + network: Increase::Models::CardPayment::Element::CardIncrement::network, + network_identifiers: Increase::CardPayment::Element::CardIncrement::NetworkIdentifiers, + network_risk_score: Integer?, + pending_transaction_id: String?, + real_time_decision_id: String?, + type: Increase::Models::CardPayment::Element::CardIncrement::type_, + updated_authorization_amount: Integer + } + type actioner = :user | :increase | :network module Actioner @@ -1772,7 +2002,7 @@ module Increase # This object was actioned by the network, through stand-in processing. NETWORK: :network - def self?.values: -> ::Array[Increase::CardPayment::Element::CardIncrement::actioner] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardIncrement::actioner] end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -1798,7 +2028,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardIncrement::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardIncrement::currency] end type network = :visa @@ -1809,7 +2039,7 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::CardPayment::Element::CardIncrement::network] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardIncrement::network] end type network_identifiers = @@ -1831,6 +2061,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type type_ = :card_increment @@ -1840,7 +2076,7 @@ module Increase CARD_INCREMENT: :card_increment - def self?.values: -> ::Array[Increase::CardPayment::Element::CardIncrement::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardIncrement::type_] end end @@ -1850,7 +2086,7 @@ module Increase amount: Integer, card_payment_id: String, cashback: Increase::CardPayment::Element::CardRefund::Cashback?, - currency: Increase::CardPayment::Element::CardRefund::currency, + currency: Increase::Models::CardPayment::Element::CardRefund::currency, interchange: Increase::CardPayment::Element::CardRefund::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -1864,7 +2100,7 @@ module Increase presentment_currency: String, purchase_details: Increase::CardPayment::Element::CardRefund::PurchaseDetails?, transaction_id: String, - type: Increase::CardPayment::Element::CardRefund::type_ + type: Increase::Models::CardPayment::Element::CardRefund::type_ } class CardRefund < Increase::Internal::Type::BaseModel @@ -1876,7 +2112,7 @@ module Increase attr_accessor cashback: Increase::CardPayment::Element::CardRefund::Cashback? - attr_accessor currency: Increase::CardPayment::Element::CardRefund::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardRefund::currency attr_accessor interchange: Increase::CardPayment::Element::CardRefund::Interchange? @@ -1904,14 +2140,14 @@ module Increase attr_accessor transaction_id: String - attr_accessor type: Increase::CardPayment::Element::CardRefund::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardRefund::type_ def initialize: ( id: String, amount: Integer, card_payment_id: String, cashback: Increase::CardPayment::Element::CardRefund::Cashback?, - currency: Increase::CardPayment::Element::CardRefund::currency, + currency: Increase::Models::CardPayment::Element::CardRefund::currency, interchange: Increase::CardPayment::Element::CardRefund::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -1925,25 +2161,52 @@ module Increase presentment_currency: String, purchase_details: Increase::CardPayment::Element::CardRefund::PurchaseDetails?, transaction_id: String, - type: Increase::CardPayment::Element::CardRefund::type_ + type: Increase::Models::CardPayment::Element::CardRefund::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + card_payment_id: String, + cashback: Increase::CardPayment::Element::CardRefund::Cashback?, + currency: Increase::Models::CardPayment::Element::CardRefund::currency, + interchange: Increase::CardPayment::Element::CardRefund::Interchange?, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String, + merchant_country: String, + merchant_name: String, + merchant_postal_code: String?, + merchant_state: String?, + network_identifiers: Increase::CardPayment::Element::CardRefund::NetworkIdentifiers, + presentment_amount: Integer, + presentment_currency: String, + purchase_details: Increase::CardPayment::Element::CardRefund::PurchaseDetails?, + transaction_id: String, + type: Increase::Models::CardPayment::Element::CardRefund::type_ + } + type cashback = { amount: String, - currency: Increase::CardPayment::Element::CardRefund::Cashback::currency + currency: Increase::Models::CardPayment::Element::CardRefund::Cashback::currency } class Cashback < Increase::Internal::Type::BaseModel attr_accessor amount: String - attr_accessor currency: Increase::CardPayment::Element::CardRefund::Cashback::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardRefund::Cashback::currency def initialize: ( amount: String, - currency: Increase::CardPayment::Element::CardRefund::Cashback::currency + currency: Increase::Models::CardPayment::Element::CardRefund::Cashback::currency ) -> void + def to_hash: -> { + amount: String, + currency: Increase::Models::CardPayment::Element::CardRefund::Cashback::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -1967,7 +2230,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::Cashback::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::Cashback::currency] end end @@ -1994,14 +2257,14 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::currency] end type interchange = { amount: String, code: String?, - currency: Increase::CardPayment::Element::CardRefund::Interchange::currency + currency: Increase::Models::CardPayment::Element::CardRefund::Interchange::currency } class Interchange < Increase::Internal::Type::BaseModel @@ -2009,14 +2272,20 @@ module Increase attr_accessor code: String? - attr_accessor currency: Increase::CardPayment::Element::CardRefund::Interchange::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardRefund::Interchange::currency def initialize: ( amount: String, code: String?, - currency: Increase::CardPayment::Element::CardRefund::Interchange::currency + currency: Increase::Models::CardPayment::Element::CardRefund::Interchange::currency ) -> void + def to_hash: -> { + amount: String, + code: String?, + currency: Increase::Models::CardPayment::Element::CardRefund::Interchange::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -2040,7 +2309,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::Interchange::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::Interchange::currency] end end @@ -2063,6 +2332,12 @@ module Increase acquirer_reference_number: String, transaction_id: String? ) -> void + + def to_hash: -> { + acquirer_business_id: String, + acquirer_reference_number: String, + transaction_id: String? + } end type purchase_details = @@ -2075,7 +2350,7 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format?, travel: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel? } @@ -2096,7 +2371,7 @@ module Increase attr_accessor purchase_identifier: String? - attr_accessor purchase_identifier_format: Increase::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format? + attr_accessor purchase_identifier_format: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format? attr_accessor travel: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel? @@ -2109,10 +2384,23 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format?, travel: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel? ) -> void + def to_hash: -> { + car_rental: Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental?, + customer_reference_identifier: String?, + local_tax_amount: Integer?, + local_tax_currency: String?, + lodging: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging?, + national_tax_amount: Integer?, + national_tax_currency: String?, + purchase_identifier: String?, + purchase_identifier_format: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format?, + travel: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel? + } + type car_rental = { car_class_code: String?, @@ -2120,12 +2408,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -2144,7 +2432,7 @@ module Increase attr_accessor days_rented: Integer? - attr_accessor extra_charges: Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges? + attr_accessor extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges? attr_accessor fuel_charges_amount: Integer? @@ -2154,7 +2442,7 @@ module Increase attr_accessor insurance_charges_currency: String? - attr_accessor no_show_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator? attr_accessor one_way_drop_off_charges_amount: Integer? @@ -2172,12 +2460,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -2185,6 +2473,25 @@ module Increase weekly_rental_rate_currency: String? ) -> void + def to_hash: -> { + car_class_code: String?, + checkout_date: Date?, + daily_rental_rate_amount: Integer?, + daily_rental_rate_currency: String?, + days_rented: Integer?, + extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges?, + fuel_charges_amount: Integer?, + fuel_charges_currency: String?, + insurance_charges_amount: Integer?, + insurance_charges_currency: String?, + no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, + one_way_drop_off_charges_amount: Integer?, + one_way_drop_off_charges_currency: String?, + renter_name: String?, + weekly_rental_rate_amount: Integer?, + weekly_rental_rate_currency: String? + } + type extra_charges = :no_extra_charge | :gas @@ -2214,7 +2521,7 @@ module Increase # Parking violation PARKING_VIOLATION: :parking_violation - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::extra_charges] end type no_show_indicator = @@ -2229,7 +2536,7 @@ module Increase # No show for specialized vehicle NO_SHOW_FOR_SPECIALIZED_VEHICLE: :no_show_for_specialized_vehicle - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::CarRental::no_show_indicator] end end @@ -2238,12 +2545,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -2260,7 +2567,7 @@ module Increase attr_accessor daily_room_rate_currency: String? - attr_accessor extra_charges: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges? + attr_accessor extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges? attr_accessor folio_cash_advances_amount: Integer? @@ -2270,7 +2577,7 @@ module Increase attr_accessor food_beverage_charges_currency: String? - attr_accessor no_show_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator? attr_accessor prepaid_expenses_amount: Integer? @@ -2290,12 +2597,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -2305,6 +2612,25 @@ module Increase total_tax_currency: String? ) -> void + def to_hash: -> { + check_in_date: Date?, + daily_room_rate_amount: Integer?, + daily_room_rate_currency: String?, + extra_charges: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges?, + folio_cash_advances_amount: Integer?, + folio_cash_advances_currency: String?, + food_beverage_charges_amount: Integer?, + food_beverage_charges_currency: String?, + no_show_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, + prepaid_expenses_amount: Integer?, + prepaid_expenses_currency: String?, + room_nights: Integer?, + total_room_tax_amount: Integer?, + total_room_tax_currency: String?, + total_tax_amount: Integer?, + total_tax_currency: String? + } + type extra_charges = :no_extra_charge | :restaurant @@ -2338,7 +2664,7 @@ module Increase # Laundry LAUNDRY: :laundry - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::extra_charges] end type no_show_indicator = :not_applicable | :no_show @@ -2352,7 +2678,7 @@ module Increase # No show NO_SHOW: :no_show - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Lodging::no_show_indicator] end end @@ -2381,19 +2707,19 @@ module Increase # Invoice number INVOICE_NUMBER: :invoice_number - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::purchase_identifier_format] end type travel = { ancillary: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, @@ -2405,7 +2731,7 @@ module Increase attr_accessor computerized_reservation_system: String? - attr_accessor credit_reason_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator? attr_accessor departure_date: Date? @@ -2413,9 +2739,9 @@ module Increase attr_accessor passenger_name: String? - attr_accessor restricted_ticket_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator? + attr_accessor restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator? - attr_accessor ticket_change_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator? + attr_accessor ticket_change_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator? attr_accessor ticket_number: String? @@ -2428,22 +2754,37 @@ module Increase def initialize: ( ancillary: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, trip_legs: ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg]? ) -> void + def to_hash: -> { + ancillary: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary?, + computerized_reservation_system: String?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, + departure_date: Date?, + origination_city_airport_code: String?, + passenger_name: String?, + restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, + ticket_number: String?, + travel_agency_code: String?, + travel_agency_name: String?, + trip_legs: ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg]? + } + type ancillary = { connected_ticket_document_number: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? @@ -2452,7 +2793,7 @@ module Increase class Ancillary < Increase::Internal::Type::BaseModel attr_accessor connected_ticket_document_number: String? - attr_accessor credit_reason_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? attr_accessor passenger_name_or_description: String? @@ -2462,12 +2803,20 @@ module Increase def initialize: ( connected_ticket_document_number: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? ) -> void + def to_hash: -> { + connected_ticket_document_number: String?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + passenger_name_or_description: String?, + services: ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service], + ticket_document_number: String? + } + type credit_reason_indicator = :no_credit | :passenger_transport_ancillary_purchase_cancellation @@ -2489,25 +2838,30 @@ module Increase # Other OTHER: :other - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] end type service = { - category: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? } class Service < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category? + attr_accessor category: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category? attr_accessor sub_category: String? def initialize: ( - category: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? ) -> void + def to_hash: -> { + category: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, + sub_category: String? + } + type category = :none | :bundled_service @@ -2609,7 +2963,7 @@ module Increase # Wi-fi WIFI: :wifi - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category] end end end @@ -2643,7 +2997,7 @@ module Increase # Partial refund of airline ticket PARTIAL_REFUND_OF_AIRLINE_TICKET: :partial_refund_of_airline_ticket - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::credit_reason_indicator] end type restricted_ticket_indicator = @@ -2658,7 +3012,7 @@ module Increase # Restricted non-refundable ticket RESTRICTED_NON_REFUNDABLE_TICKET: :restricted_non_refundable_ticket - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator] end type ticket_change_indicator = @@ -2676,7 +3030,7 @@ module Increase # New ticket NEW_TICKET: :new_ticket - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::ticket_change_indicator] end type trip_leg = @@ -2686,7 +3040,7 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? } class TripLeg < Increase::Internal::Type::BaseModel @@ -2700,7 +3054,7 @@ module Increase attr_accessor service_class: String? - attr_accessor stop_over_code: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + attr_accessor stop_over_code: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? def initialize: ( carrier_code: String?, @@ -2708,9 +3062,18 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? ) -> void + def to_hash: -> { + carrier_code: String?, + destination_city_airport_code: String?, + fare_basis_code: String?, + flight_number: String?, + service_class: String?, + stop_over_code: Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + } + type stop_over_code = :none | :stop_over_allowed | :stop_over_not_allowed @@ -2726,7 +3089,7 @@ module Increase # Stop over not allowed STOP_OVER_NOT_ALLOWED: :stop_over_not_allowed - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code] end end end @@ -2739,7 +3102,7 @@ module Increase CARD_REFUND: :card_refund - def self?.values: -> ::Array[Increase::CardPayment::Element::CardRefund::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardRefund::type_] end end @@ -2747,7 +3110,7 @@ module Increase { id: String, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardReversal::currency, + currency: Increase::Models::CardPayment::Element::CardReversal::currency, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -2755,13 +3118,13 @@ module Increase merchant_descriptor: String, merchant_postal_code: String?, merchant_state: String?, - network: Increase::CardPayment::Element::CardReversal::network, + network: Increase::Models::CardPayment::Element::CardReversal::network, network_identifiers: Increase::CardPayment::Element::CardReversal::NetworkIdentifiers, pending_transaction_id: String?, reversal_amount: Integer, - reversal_reason: Increase::CardPayment::Element::CardReversal::reversal_reason?, + reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason?, terminal_id: String?, - type: Increase::CardPayment::Element::CardReversal::type_, + type: Increase::Models::CardPayment::Element::CardReversal::type_, updated_authorization_amount: Integer } @@ -2770,7 +3133,7 @@ module Increase attr_accessor card_authorization_id: String - attr_accessor currency: Increase::CardPayment::Element::CardReversal::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardReversal::currency attr_accessor merchant_acceptor_id: String @@ -2786,7 +3149,7 @@ module Increase attr_accessor merchant_state: String? - attr_accessor network: Increase::CardPayment::Element::CardReversal::network + attr_accessor network: Increase::Models::CardPayment::Element::CardReversal::network attr_accessor network_identifiers: Increase::CardPayment::Element::CardReversal::NetworkIdentifiers @@ -2794,18 +3157,18 @@ module Increase attr_accessor reversal_amount: Integer - attr_accessor reversal_reason: Increase::CardPayment::Element::CardReversal::reversal_reason? + attr_accessor reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason? attr_accessor terminal_id: String? - attr_accessor type: Increase::CardPayment::Element::CardReversal::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardReversal::type_ attr_accessor updated_authorization_amount: Integer def initialize: ( id: String, card_authorization_id: String, - currency: Increase::CardPayment::Element::CardReversal::currency, + currency: Increase::Models::CardPayment::Element::CardReversal::currency, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -2813,16 +3176,37 @@ module Increase merchant_descriptor: String, merchant_postal_code: String?, merchant_state: String?, - network: Increase::CardPayment::Element::CardReversal::network, + network: Increase::Models::CardPayment::Element::CardReversal::network, network_identifiers: Increase::CardPayment::Element::CardReversal::NetworkIdentifiers, pending_transaction_id: String?, reversal_amount: Integer, - reversal_reason: Increase::CardPayment::Element::CardReversal::reversal_reason?, + reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason?, terminal_id: String?, - type: Increase::CardPayment::Element::CardReversal::type_, + type: Increase::Models::CardPayment::Element::CardReversal::type_, updated_authorization_amount: Integer ) -> void + def to_hash: -> { + id: String, + card_authorization_id: String, + currency: Increase::Models::CardPayment::Element::CardReversal::currency, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String?, + merchant_country: String?, + merchant_descriptor: String, + merchant_postal_code: String?, + merchant_state: String?, + network: Increase::Models::CardPayment::Element::CardReversal::network, + network_identifiers: Increase::CardPayment::Element::CardReversal::NetworkIdentifiers, + pending_transaction_id: String?, + reversal_amount: Integer, + reversal_reason: Increase::Models::CardPayment::Element::CardReversal::reversal_reason?, + terminal_id: String?, + type: Increase::Models::CardPayment::Element::CardReversal::type_, + updated_authorization_amount: Integer + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -2846,7 +3230,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardReversal::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardReversal::currency] end type network = :visa @@ -2857,7 +3241,7 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::CardPayment::Element::CardReversal::network] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardReversal::network] end type network_identifiers = @@ -2879,6 +3263,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type reversal_reason = @@ -2902,7 +3292,7 @@ module Increase # The Card Reversal was a partial reversal, for any reason. PARTIAL_REVERSAL: :partial_reversal - def self?.values: -> ::Array[Increase::CardPayment::Element::CardReversal::reversal_reason] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardReversal::reversal_reason] end type type_ = :card_reversal @@ -2912,7 +3302,7 @@ module Increase CARD_REVERSAL: :card_reversal - def self?.values: -> ::Array[Increase::CardPayment::Element::CardReversal::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardReversal::type_] end end @@ -2923,7 +3313,7 @@ module Increase card_authorization: String?, card_payment_id: String, cashback: Increase::CardPayment::Element::CardSettlement::Cashback?, - currency: Increase::CardPayment::Element::CardSettlement::currency, + currency: Increase::Models::CardPayment::Element::CardSettlement::currency, interchange: Increase::CardPayment::Element::CardSettlement::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -2938,7 +3328,7 @@ module Increase presentment_currency: String, purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?, transaction_id: String, - type: Increase::CardPayment::Element::CardSettlement::type_ + type: Increase::Models::CardPayment::Element::CardSettlement::type_ } class CardSettlement < Increase::Internal::Type::BaseModel @@ -2952,7 +3342,7 @@ module Increase attr_accessor cashback: Increase::CardPayment::Element::CardSettlement::Cashback? - attr_accessor currency: Increase::CardPayment::Element::CardSettlement::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardSettlement::currency attr_accessor interchange: Increase::CardPayment::Element::CardSettlement::Interchange? @@ -2982,7 +3372,7 @@ module Increase attr_accessor transaction_id: String - attr_accessor type: Increase::CardPayment::Element::CardSettlement::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardSettlement::type_ def initialize: ( id: String, @@ -2990,7 +3380,7 @@ module Increase card_authorization: String?, card_payment_id: String, cashback: Increase::CardPayment::Element::CardSettlement::Cashback?, - currency: Increase::CardPayment::Element::CardSettlement::currency, + currency: Increase::Models::CardPayment::Element::CardSettlement::currency, interchange: Increase::CardPayment::Element::CardSettlement::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -3005,25 +3395,54 @@ module Increase presentment_currency: String, purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?, transaction_id: String, - type: Increase::CardPayment::Element::CardSettlement::type_ + type: Increase::Models::CardPayment::Element::CardSettlement::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + card_authorization: String?, + card_payment_id: String, + cashback: Increase::CardPayment::Element::CardSettlement::Cashback?, + currency: Increase::Models::CardPayment::Element::CardSettlement::currency, + interchange: Increase::CardPayment::Element::CardSettlement::Interchange?, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String, + merchant_country: String, + merchant_name: String, + merchant_postal_code: String?, + merchant_state: String?, + network_identifiers: Increase::CardPayment::Element::CardSettlement::NetworkIdentifiers, + pending_transaction_id: String?, + presentment_amount: Integer, + presentment_currency: String, + purchase_details: Increase::CardPayment::Element::CardSettlement::PurchaseDetails?, + transaction_id: String, + type: Increase::Models::CardPayment::Element::CardSettlement::type_ + } + type cashback = { amount: String, - currency: Increase::CardPayment::Element::CardSettlement::Cashback::currency + currency: Increase::Models::CardPayment::Element::CardSettlement::Cashback::currency } class Cashback < Increase::Internal::Type::BaseModel attr_accessor amount: String - attr_accessor currency: Increase::CardPayment::Element::CardSettlement::Cashback::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardSettlement::Cashback::currency def initialize: ( amount: String, - currency: Increase::CardPayment::Element::CardSettlement::Cashback::currency + currency: Increase::Models::CardPayment::Element::CardSettlement::Cashback::currency ) -> void + def to_hash: -> { + amount: String, + currency: Increase::Models::CardPayment::Element::CardSettlement::Cashback::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -3047,7 +3466,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::Cashback::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::Cashback::currency] end end @@ -3074,14 +3493,14 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::currency] end type interchange = { amount: String, code: String?, - currency: Increase::CardPayment::Element::CardSettlement::Interchange::currency + currency: Increase::Models::CardPayment::Element::CardSettlement::Interchange::currency } class Interchange < Increase::Internal::Type::BaseModel @@ -3089,14 +3508,20 @@ module Increase attr_accessor code: String? - attr_accessor currency: Increase::CardPayment::Element::CardSettlement::Interchange::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardSettlement::Interchange::currency def initialize: ( amount: String, code: String?, - currency: Increase::CardPayment::Element::CardSettlement::Interchange::currency + currency: Increase::Models::CardPayment::Element::CardSettlement::Interchange::currency ) -> void + def to_hash: -> { + amount: String, + code: String?, + currency: Increase::Models::CardPayment::Element::CardSettlement::Interchange::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -3120,7 +3545,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::Interchange::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::Interchange::currency] end end @@ -3143,6 +3568,12 @@ module Increase acquirer_reference_number: String, transaction_id: String? ) -> void + + def to_hash: -> { + acquirer_business_id: String, + acquirer_reference_number: String, + transaction_id: String? + } end type purchase_details = @@ -3155,7 +3586,7 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format?, travel: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel? } @@ -3176,7 +3607,7 @@ module Increase attr_accessor purchase_identifier: String? - attr_accessor purchase_identifier_format: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format? + attr_accessor purchase_identifier_format: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format? attr_accessor travel: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel? @@ -3189,10 +3620,23 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format?, travel: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel? ) -> void + def to_hash: -> { + car_rental: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental?, + customer_reference_identifier: String?, + local_tax_amount: Integer?, + local_tax_currency: String?, + lodging: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging?, + national_tax_amount: Integer?, + national_tax_currency: String?, + purchase_identifier: String?, + purchase_identifier_format: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format?, + travel: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel? + } + type car_rental = { car_class_code: String?, @@ -3200,12 +3644,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -3224,7 +3668,7 @@ module Increase attr_accessor days_rented: Integer? - attr_accessor extra_charges: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges? + attr_accessor extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges? attr_accessor fuel_charges_amount: Integer? @@ -3234,7 +3678,7 @@ module Increase attr_accessor insurance_charges_currency: String? - attr_accessor no_show_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator? attr_accessor one_way_drop_off_charges_amount: Integer? @@ -3252,12 +3696,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -3265,6 +3709,25 @@ module Increase weekly_rental_rate_currency: String? ) -> void + def to_hash: -> { + car_class_code: String?, + checkout_date: Date?, + daily_rental_rate_amount: Integer?, + daily_rental_rate_currency: String?, + days_rented: Integer?, + extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges?, + fuel_charges_amount: Integer?, + fuel_charges_currency: String?, + insurance_charges_amount: Integer?, + insurance_charges_currency: String?, + no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, + one_way_drop_off_charges_amount: Integer?, + one_way_drop_off_charges_currency: String?, + renter_name: String?, + weekly_rental_rate_amount: Integer?, + weekly_rental_rate_currency: String? + } + type extra_charges = :no_extra_charge | :gas @@ -3294,7 +3757,7 @@ module Increase # Parking violation PARKING_VIOLATION: :parking_violation - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::extra_charges] end type no_show_indicator = @@ -3309,7 +3772,7 @@ module Increase # No show for specialized vehicle NO_SHOW_FOR_SPECIALIZED_VEHICLE: :no_show_for_specialized_vehicle - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::CarRental::no_show_indicator] end end @@ -3318,12 +3781,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -3340,7 +3803,7 @@ module Increase attr_accessor daily_room_rate_currency: String? - attr_accessor extra_charges: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges? + attr_accessor extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges? attr_accessor folio_cash_advances_amount: Integer? @@ -3350,7 +3813,7 @@ module Increase attr_accessor food_beverage_charges_currency: String? - attr_accessor no_show_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator? attr_accessor prepaid_expenses_amount: Integer? @@ -3370,12 +3833,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -3385,6 +3848,25 @@ module Increase total_tax_currency: String? ) -> void + def to_hash: -> { + check_in_date: Date?, + daily_room_rate_amount: Integer?, + daily_room_rate_currency: String?, + extra_charges: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges?, + folio_cash_advances_amount: Integer?, + folio_cash_advances_currency: String?, + food_beverage_charges_amount: Integer?, + food_beverage_charges_currency: String?, + no_show_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, + prepaid_expenses_amount: Integer?, + prepaid_expenses_currency: String?, + room_nights: Integer?, + total_room_tax_amount: Integer?, + total_room_tax_currency: String?, + total_tax_amount: Integer?, + total_tax_currency: String? + } + type extra_charges = :no_extra_charge | :restaurant @@ -3418,7 +3900,7 @@ module Increase # Laundry LAUNDRY: :laundry - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::extra_charges] end type no_show_indicator = :not_applicable | :no_show @@ -3432,7 +3914,7 @@ module Increase # No show NO_SHOW: :no_show - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Lodging::no_show_indicator] end end @@ -3461,19 +3943,19 @@ module Increase # Invoice number INVOICE_NUMBER: :invoice_number - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::purchase_identifier_format] end type travel = { ancillary: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, @@ -3485,7 +3967,7 @@ module Increase attr_accessor computerized_reservation_system: String? - attr_accessor credit_reason_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator? attr_accessor departure_date: Date? @@ -3493,9 +3975,9 @@ module Increase attr_accessor passenger_name: String? - attr_accessor restricted_ticket_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator? + attr_accessor restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator? - attr_accessor ticket_change_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator? + attr_accessor ticket_change_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator? attr_accessor ticket_number: String? @@ -3508,22 +3990,37 @@ module Increase def initialize: ( ancillary: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, trip_legs: ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg]? ) -> void + def to_hash: -> { + ancillary: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary?, + computerized_reservation_system: String?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, + departure_date: Date?, + origination_city_airport_code: String?, + passenger_name: String?, + restricted_ticket_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, + ticket_number: String?, + travel_agency_code: String?, + travel_agency_name: String?, + trip_legs: ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg]? + } + type ancillary = { connected_ticket_document_number: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? @@ -3532,7 +4029,7 @@ module Increase class Ancillary < Increase::Internal::Type::BaseModel attr_accessor connected_ticket_document_number: String? - attr_accessor credit_reason_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? attr_accessor passenger_name_or_description: String? @@ -3542,12 +4039,20 @@ module Increase def initialize: ( connected_ticket_document_number: String?, - credit_reason_indicator: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? ) -> void + def to_hash: -> { + connected_ticket_document_number: String?, + credit_reason_indicator: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + passenger_name_or_description: String?, + services: ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service], + ticket_document_number: String? + } + type credit_reason_indicator = :no_credit | :passenger_transport_ancillary_purchase_cancellation @@ -3569,25 +4074,30 @@ module Increase # Other OTHER: :other - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] end type service = { - category: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? } class Service < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category? + attr_accessor category: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category? attr_accessor sub_category: String? def initialize: ( - category: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? ) -> void + def to_hash: -> { + category: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, + sub_category: String? + } + type category = :none | :bundled_service @@ -3689,7 +4199,7 @@ module Increase # Wi-fi WIFI: :wifi - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category] end end end @@ -3723,7 +4233,7 @@ module Increase # Partial refund of airline ticket PARTIAL_REFUND_OF_AIRLINE_TICKET: :partial_refund_of_airline_ticket - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator] end type restricted_ticket_indicator = @@ -3738,7 +4248,7 @@ module Increase # Restricted non-refundable ticket RESTRICTED_NON_REFUNDABLE_TICKET: :restricted_non_refundable_ticket - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator] end type ticket_change_indicator = @@ -3756,7 +4266,7 @@ module Increase # New ticket NEW_TICKET: :new_ticket - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator] end type trip_leg = @@ -3766,7 +4276,7 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? } class TripLeg < Increase::Internal::Type::BaseModel @@ -3780,7 +4290,7 @@ module Increase attr_accessor service_class: String? - attr_accessor stop_over_code: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + attr_accessor stop_over_code: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? def initialize: ( carrier_code: String?, @@ -3788,9 +4298,18 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? ) -> void + def to_hash: -> { + carrier_code: String?, + destination_city_airport_code: String?, + fare_basis_code: String?, + flight_number: String?, + service_class: String?, + stop_over_code: Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + } + type stop_over_code = :none | :stop_over_allowed | :stop_over_not_allowed @@ -3806,7 +4325,7 @@ module Increase # Stop over not allowed STOP_OVER_NOT_ALLOWED: :stop_over_not_allowed - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code] end end end @@ -3819,16 +4338,16 @@ module Increase CARD_SETTLEMENT: :card_settlement - def self?.values: -> ::Array[Increase::CardPayment::Element::CardSettlement::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardSettlement::type_] end end type card_validation = { id: String, - actioner: Increase::CardPayment::Element::CardValidation::actioner, + actioner: Increase::Models::CardPayment::Element::CardValidation::actioner, card_payment_id: String, - currency: Increase::CardPayment::Element::CardValidation::currency, + currency: Increase::Models::CardPayment::Element::CardValidation::currency, digital_wallet_token_id: String?, merchant_acceptor_id: String, merchant_category_code: String, @@ -3843,18 +4362,18 @@ module Increase physical_card_id: String?, real_time_decision_id: String?, terminal_id: String?, - type: Increase::CardPayment::Element::CardValidation::type_, + type: Increase::Models::CardPayment::Element::CardValidation::type_, verification: Increase::CardPayment::Element::CardValidation::Verification } class CardValidation < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor actioner: Increase::CardPayment::Element::CardValidation::actioner + attr_accessor actioner: Increase::Models::CardPayment::Element::CardValidation::actioner attr_accessor card_payment_id: String - attr_accessor currency: Increase::CardPayment::Element::CardValidation::currency + attr_accessor currency: Increase::Models::CardPayment::Element::CardValidation::currency attr_accessor digital_wallet_token_id: String? @@ -3884,15 +4403,15 @@ module Increase attr_accessor terminal_id: String? - attr_accessor type: Increase::CardPayment::Element::CardValidation::type_ + attr_accessor type: Increase::Models::CardPayment::Element::CardValidation::type_ attr_accessor verification: Increase::CardPayment::Element::CardValidation::Verification def initialize: ( id: String, - actioner: Increase::CardPayment::Element::CardValidation::actioner, + actioner: Increase::Models::CardPayment::Element::CardValidation::actioner, card_payment_id: String, - currency: Increase::CardPayment::Element::CardValidation::currency, + currency: Increase::Models::CardPayment::Element::CardValidation::currency, digital_wallet_token_id: String?, merchant_acceptor_id: String, merchant_category_code: String, @@ -3907,10 +4426,33 @@ module Increase physical_card_id: String?, real_time_decision_id: String?, terminal_id: String?, - type: Increase::CardPayment::Element::CardValidation::type_, + type: Increase::Models::CardPayment::Element::CardValidation::type_, verification: Increase::CardPayment::Element::CardValidation::Verification ) -> void + def to_hash: -> { + id: String, + actioner: Increase::Models::CardPayment::Element::CardValidation::actioner, + card_payment_id: String, + currency: Increase::Models::CardPayment::Element::CardValidation::currency, + digital_wallet_token_id: String?, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String?, + merchant_country: String, + merchant_descriptor: String, + merchant_postal_code: String?, + merchant_state: String?, + network_details: Increase::CardPayment::Element::CardValidation::NetworkDetails, + network_identifiers: Increase::CardPayment::Element::CardValidation::NetworkIdentifiers, + network_risk_score: Integer?, + physical_card_id: String?, + real_time_decision_id: String?, + terminal_id: String?, + type: Increase::Models::CardPayment::Element::CardValidation::type_, + verification: Increase::CardPayment::Element::CardValidation::Verification + } + type actioner = :user | :increase | :network module Actioner @@ -3925,7 +4467,7 @@ module Increase # This object was actioned by the network, through stand-in processing. NETWORK: :network - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::actioner] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::actioner] end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -3951,25 +4493,30 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::currency] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::currency] end type network_details = { - category: Increase::CardPayment::Element::CardValidation::NetworkDetails::category, + category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category, visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::CardPayment::Element::CardValidation::NetworkDetails::category + attr_accessor category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category attr_accessor visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? def initialize: ( - category: Increase::CardPayment::Element::CardValidation::NetworkDetails::category, + category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category, visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? ) -> void + def to_hash: -> { + category: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category, + visa: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa? + } + type category = :visa module Category @@ -3978,29 +4525,35 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::NetworkDetails::category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::category] end type visa = { - electronic_commerce_indicator: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason? } class Visa < Increase::Internal::Type::BaseModel - attr_accessor electronic_commerce_indicator: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator? + attr_accessor electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator? - attr_accessor point_of_service_entry_mode: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode? + attr_accessor point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode? - attr_accessor stand_in_processing_reason: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason? + attr_accessor stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason? def initialize: ( - electronic_commerce_indicator: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason? ) -> void + def to_hash: -> { + electronic_commerce_indicator: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason? + } + type electronic_commerce_indicator = :mail_phone_order | :recurring @@ -4038,7 +4591,7 @@ module Increase # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection. NON_SECURE_TRANSACTION: :non_secure_transaction - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::electronic_commerce_indicator] end type point_of_service_entry_mode = @@ -4086,7 +4639,7 @@ module Increase # Contact chip card, without card verification value INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::point_of_service_entry_mode] end type stand_in_processing_reason = @@ -4122,7 +4675,7 @@ module Increase # An unspecific reason for stand-in processing. OTHER: :other - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::NetworkDetails::Visa::stand_in_processing_reason] end end end @@ -4146,6 +4699,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type type_ = :card_validation @@ -4155,7 +4714,7 @@ module Increase CARD_VALIDATION: :card_validation - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::type_] end type verification = @@ -4174,18 +4733,27 @@ module Increase cardholder_address: Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress ) -> void + def to_hash: -> { + card_verification_code: Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode, + cardholder_address: Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress + } + type card_verification_code = { - result: Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result + result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result } class CardVerificationCode < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result + attr_accessor result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result def initialize: ( - result: Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result + result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result ) -> void + def to_hash: -> { + result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result + } + type result = :not_checked | :match | :no_match module Result @@ -4200,7 +4768,7 @@ module Increase # The card verification code did not match the one on file. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::Verification::CardVerificationCode::result] end end @@ -4210,7 +4778,7 @@ module Increase actual_postal_code: String?, :provided_line1 => String?, provided_postal_code: String?, - result: Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::result + result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::result } class CardholderAddress < Increase::Internal::Type::BaseModel @@ -4222,16 +4790,24 @@ module Increase attr_accessor provided_postal_code: String? - attr_accessor result: Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::result + attr_accessor result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::result def initialize: ( actual_line1: String?, actual_postal_code: String?, provided_line1: String?, provided_postal_code: String?, - result: Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::result + result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::result ) -> void + def to_hash: -> { + :actual_line1 => String?, + actual_postal_code: String?, + :provided_line1 => String?, + provided_postal_code: String?, + result: Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::result + } + type result = :not_checked | :postal_code_match_address_not_checked @@ -4261,7 +4837,7 @@ module Increase # Postal code and street address do not match. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::CardPayment::Element::CardValidation::Verification::CardholderAddress::result] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::CardValidation::Verification::CardholderAddress::result] end end end @@ -4316,7 +4892,7 @@ module Increase # Unknown card payment element. OTHER: :other - def self?.values: -> ::Array[Increase::CardPayment::Element::category] + def self?.values: -> ::Array[Increase::Models::CardPayment::Element::category] end end @@ -4347,6 +4923,14 @@ module Increase reversed_amount: Integer, settled_amount: Integer ) -> void + + def to_hash: -> { + authorized_amount: Integer, + fuel_confirmed_amount: Integer, + incremented_amount: Integer, + reversed_amount: Integer, + settled_amount: Integer + } end type type_ = :card_payment @@ -4356,7 +4940,7 @@ module Increase CARD_PAYMENT: :card_payment - def self?.values: -> ::Array[Increase::CardPayment::type_] + def self?.values: -> ::Array[Increase::Models::CardPayment::type_] end end end diff --git a/sig/increase/models/card_payment_list_params.rbs b/sig/increase/models/card_payment_list_params.rbs index 507cf3f0e..bc0d55245 100644 --- a/sig/increase/models/card_payment_list_params.rbs +++ b/sig/increase/models/card_payment_list_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + card_id: String, + created_at: Increase::CardPaymentListParams::CreatedAt, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -71,6 +80,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/card_payment_retrieve_params.rbs b/sig/increase/models/card_payment_retrieve_params.rbs index 63205d983..c65eeff41 100644 --- a/sig/increase/models/card_payment_retrieve_params.rbs +++ b/sig/increase/models/card_payment_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/card_purchase_supplement.rbs b/sig/increase/models/card_purchase_supplement.rbs index fd92d5f57..8457d7e9f 100644 --- a/sig/increase/models/card_purchase_supplement.rbs +++ b/sig/increase/models/card_purchase_supplement.rbs @@ -7,7 +7,7 @@ module Increase invoice: Increase::CardPurchaseSupplement::Invoice?, line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?, transaction_id: String, - type: Increase::CardPurchaseSupplement::type_ + type: Increase::Models::CardPurchaseSupplement::type_ } class CardPurchaseSupplement < Increase::Internal::Type::BaseModel @@ -21,7 +21,7 @@ module Increase attr_accessor transaction_id: String - attr_accessor type: Increase::CardPurchaseSupplement::type_ + attr_accessor type: Increase::Models::CardPurchaseSupplement::type_ def initialize: ( id: String, @@ -29,14 +29,23 @@ module Increase invoice: Increase::CardPurchaseSupplement::Invoice?, line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?, transaction_id: String, - type: Increase::CardPurchaseSupplement::type_ + type: Increase::Models::CardPurchaseSupplement::type_ ) -> void + def to_hash: -> { + id: String, + card_payment_id: String?, + invoice: Increase::CardPurchaseSupplement::Invoice?, + line_items: ::Array[Increase::CardPurchaseSupplement::LineItem]?, + transaction_id: String, + type: Increase::Models::CardPurchaseSupplement::type_ + } + type invoice = { discount_amount: Integer?, discount_currency: String?, - discount_treatment_code: Increase::CardPurchaseSupplement::Invoice::discount_treatment_code?, + discount_treatment_code: Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code?, duty_tax_amount: Integer?, duty_tax_currency: String?, order_date: Date?, @@ -48,7 +57,7 @@ module Increase shipping_tax_amount: Integer?, shipping_tax_currency: String?, shipping_tax_rate: String?, - tax_treatments: Increase::CardPurchaseSupplement::Invoice::tax_treatments?, + tax_treatments: Increase::Models::CardPurchaseSupplement::Invoice::tax_treatments?, unique_value_added_tax_invoice_reference: String? } @@ -57,7 +66,7 @@ module Increase attr_accessor discount_currency: String? - attr_accessor discount_treatment_code: Increase::CardPurchaseSupplement::Invoice::discount_treatment_code? + attr_accessor discount_treatment_code: Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code? attr_accessor duty_tax_amount: Integer? @@ -81,14 +90,14 @@ module Increase attr_accessor shipping_tax_rate: String? - attr_accessor tax_treatments: Increase::CardPurchaseSupplement::Invoice::tax_treatments? + attr_accessor tax_treatments: Increase::Models::CardPurchaseSupplement::Invoice::tax_treatments? attr_accessor unique_value_added_tax_invoice_reference: String? def initialize: ( discount_amount: Integer?, discount_currency: String?, - discount_treatment_code: Increase::CardPurchaseSupplement::Invoice::discount_treatment_code?, + discount_treatment_code: Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code?, duty_tax_amount: Integer?, duty_tax_currency: String?, order_date: Date?, @@ -100,10 +109,29 @@ module Increase shipping_tax_amount: Integer?, shipping_tax_currency: String?, shipping_tax_rate: String?, - tax_treatments: Increase::CardPurchaseSupplement::Invoice::tax_treatments?, + tax_treatments: Increase::Models::CardPurchaseSupplement::Invoice::tax_treatments?, unique_value_added_tax_invoice_reference: String? ) -> void + def to_hash: -> { + discount_amount: Integer?, + discount_currency: String?, + discount_treatment_code: Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code?, + duty_tax_amount: Integer?, + duty_tax_currency: String?, + order_date: Date?, + shipping_amount: Integer?, + shipping_currency: String?, + shipping_destination_country_code: String?, + shipping_destination_postal_code: String?, + shipping_source_postal_code: String?, + shipping_tax_amount: Integer?, + shipping_tax_currency: String?, + shipping_tax_rate: String?, + tax_treatments: Increase::Models::CardPurchaseSupplement::Invoice::tax_treatments?, + unique_value_added_tax_invoice_reference: String? + } + type discount_treatment_code = :no_invoice_level_discount_provided | :tax_calculated_on_post_discount_invoice_total @@ -121,7 +149,7 @@ module Increase # Tax calculated on pre discount invoice total TAX_CALCULATED_ON_PRE_DISCOUNT_INVOICE_TOTAL: :tax_calculated_on_pre_discount_invoice_total - def self?.values: -> ::Array[Increase::CardPurchaseSupplement::Invoice::discount_treatment_code] + def self?.values: -> ::Array[Increase::Models::CardPurchaseSupplement::Invoice::discount_treatment_code] end type tax_treatments = @@ -149,17 +177,17 @@ module Increase # Gross price invoice level GROSS_PRICE_INVOICE_LEVEL: :gross_price_invoice_level - def self?.values: -> ::Array[Increase::CardPurchaseSupplement::Invoice::tax_treatments] + def self?.values: -> ::Array[Increase::Models::CardPurchaseSupplement::Invoice::tax_treatments] end end type line_item = { id: String, - detail_indicator: Increase::CardPurchaseSupplement::LineItem::detail_indicator?, + detail_indicator: Increase::Models::CardPurchaseSupplement::LineItem::detail_indicator?, discount_amount: Integer?, discount_currency: String?, - discount_treatment_code: Increase::CardPurchaseSupplement::LineItem::discount_treatment_code?, + discount_treatment_code: Increase::Models::CardPurchaseSupplement::LineItem::discount_treatment_code?, item_commodity_code: String?, item_descriptor: String?, item_quantity: String?, @@ -177,13 +205,13 @@ module Increase class LineItem < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor detail_indicator: Increase::CardPurchaseSupplement::LineItem::detail_indicator? + attr_accessor detail_indicator: Increase::Models::CardPurchaseSupplement::LineItem::detail_indicator? attr_accessor discount_amount: Integer? attr_accessor discount_currency: String? - attr_accessor discount_treatment_code: Increase::CardPurchaseSupplement::LineItem::discount_treatment_code? + attr_accessor discount_treatment_code: Increase::Models::CardPurchaseSupplement::LineItem::discount_treatment_code? attr_accessor item_commodity_code: String? @@ -211,10 +239,10 @@ module Increase def initialize: ( id: String, - detail_indicator: Increase::CardPurchaseSupplement::LineItem::detail_indicator?, + detail_indicator: Increase::Models::CardPurchaseSupplement::LineItem::detail_indicator?, discount_amount: Integer?, discount_currency: String?, - discount_treatment_code: Increase::CardPurchaseSupplement::LineItem::discount_treatment_code?, + discount_treatment_code: Increase::Models::CardPurchaseSupplement::LineItem::discount_treatment_code?, item_commodity_code: String?, item_descriptor: String?, item_quantity: String?, @@ -229,6 +257,26 @@ module Increase unit_of_measure_code: String? ) -> void + def to_hash: -> { + id: String, + detail_indicator: Increase::Models::CardPurchaseSupplement::LineItem::detail_indicator?, + discount_amount: Integer?, + discount_currency: String?, + discount_treatment_code: Increase::Models::CardPurchaseSupplement::LineItem::discount_treatment_code?, + item_commodity_code: String?, + item_descriptor: String?, + item_quantity: String?, + product_code: String?, + sales_tax_amount: Integer?, + sales_tax_currency: String?, + sales_tax_rate: String?, + total_amount: Integer?, + total_amount_currency: String?, + unit_cost: String?, + unit_cost_currency: String?, + unit_of_measure_code: String? + } + type detail_indicator = :normal | :credit | :payment module DetailIndicator @@ -243,7 +291,7 @@ module Increase # Purchase PAYMENT: :payment - def self?.values: -> ::Array[Increase::CardPurchaseSupplement::LineItem::detail_indicator] + def self?.values: -> ::Array[Increase::Models::CardPurchaseSupplement::LineItem::detail_indicator] end type discount_treatment_code = @@ -263,7 +311,7 @@ module Increase # Tax calculated on pre discount line item total TAX_CALCULATED_ON_PRE_DISCOUNT_LINE_ITEM_TOTAL: :tax_calculated_on_pre_discount_line_item_total - def self?.values: -> ::Array[Increase::CardPurchaseSupplement::LineItem::discount_treatment_code] + def self?.values: -> ::Array[Increase::Models::CardPurchaseSupplement::LineItem::discount_treatment_code] end end @@ -274,7 +322,7 @@ module Increase CARD_PURCHASE_SUPPLEMENT: :card_purchase_supplement - def self?.values: -> ::Array[Increase::CardPurchaseSupplement::type_] + def self?.values: -> ::Array[Increase::Models::CardPurchaseSupplement::type_] end end end diff --git a/sig/increase/models/card_purchase_supplement_list_params.rbs b/sig/increase/models/card_purchase_supplement_list_params.rbs index 24177c97c..f936eda66 100644 --- a/sig/increase/models/card_purchase_supplement_list_params.rbs +++ b/sig/increase/models/card_purchase_supplement_list_params.rbs @@ -39,6 +39,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + card_payment_id: String, + created_at: Increase::CardPurchaseSupplementListParams::CreatedAt, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -65,6 +73,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/card_purchase_supplement_retrieve_params.rbs b/sig/increase/models/card_purchase_supplement_retrieve_params.rbs index 571ae30d3..11ceff7cb 100644 --- a/sig/increase/models/card_purchase_supplement_retrieve_params.rbs +++ b/sig/increase/models/card_purchase_supplement_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/card_retrieve_params.rbs b/sig/increase/models/card_retrieve_params.rbs index f35591ad6..67f00947d 100644 --- a/sig/increase/models/card_retrieve_params.rbs +++ b/sig/increase/models/card_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/card_update_params.rbs b/sig/increase/models/card_update_params.rbs index 08b75ccfc..1f3a5f342 100644 --- a/sig/increase/models/card_update_params.rbs +++ b/sig/increase/models/card_update_params.rbs @@ -49,6 +49,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + billing_address: Increase::CardUpdateParams::BillingAddress, + description: String, + digital_wallet: Increase::CardUpdateParams::DigitalWallet, + entity_id: String, + status: Increase::Models::CardUpdateParams::status, + request_options: Increase::RequestOptions + } + type billing_address = { city: String, @@ -78,6 +87,14 @@ module Increase state: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + postal_code: String, + state: String, + :line2 => String + } end type digital_wallet = @@ -101,6 +118,12 @@ module Increase ?email: String, ?phone: String ) -> void + + def to_hash: -> { + digital_card_profile_id: String, + email: String, + phone: String + } end type status = :active | :disabled | :canceled diff --git a/sig/increase/models/check_deposit.rbs b/sig/increase/models/check_deposit.rbs index ab66b0fb8..2376f9b21 100644 --- a/sig/increase/models/check_deposit.rbs +++ b/sig/increase/models/check_deposit.rbs @@ -17,9 +17,9 @@ module Increase inbound_funds_hold: Increase::CheckDeposit::InboundFundsHold?, inbound_mail_item_id: String?, lockbox_id: String?, - status: Increase::CheckDeposit::status, + status: Increase::Models::CheckDeposit::status, transaction_id: String?, - type: Increase::CheckDeposit::type_ + type: Increase::Models::CheckDeposit::type_ } class CheckDeposit < Increase::Internal::Type::BaseModel @@ -53,11 +53,11 @@ module Increase attr_accessor lockbox_id: String? - attr_accessor status: Increase::CheckDeposit::status + attr_accessor status: Increase::Models::CheckDeposit::status attr_accessor transaction_id: String? - attr_accessor type: Increase::CheckDeposit::type_ + attr_accessor type: Increase::Models::CheckDeposit::type_ def initialize: ( id: String, @@ -75,18 +75,39 @@ module Increase inbound_funds_hold: Increase::CheckDeposit::InboundFundsHold?, inbound_mail_item_id: String?, lockbox_id: String?, - status: Increase::CheckDeposit::status, + status: Increase::Models::CheckDeposit::status, transaction_id: String?, - type: Increase::CheckDeposit::type_ + type: Increase::Models::CheckDeposit::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + amount: Integer, + back_image_file_id: String?, + created_at: Time, + deposit_acceptance: Increase::CheckDeposit::DepositAcceptance?, + deposit_rejection: Increase::CheckDeposit::DepositRejection?, + deposit_return: Increase::CheckDeposit::DepositReturn?, + deposit_submission: Increase::CheckDeposit::DepositSubmission?, + description: String?, + front_image_file_id: String, + idempotency_key: String?, + inbound_funds_hold: Increase::CheckDeposit::InboundFundsHold?, + inbound_mail_item_id: String?, + lockbox_id: String?, + status: Increase::Models::CheckDeposit::status, + transaction_id: String?, + type: Increase::Models::CheckDeposit::type_ + } + type deposit_acceptance = { account_number: String, amount: Integer, auxiliary_on_us: String?, check_deposit_id: String, - currency: Increase::CheckDeposit::DepositAcceptance::currency, + currency: Increase::Models::CheckDeposit::DepositAcceptance::currency, routing_number: String, serial_number: String? } @@ -100,7 +121,7 @@ module Increase attr_accessor check_deposit_id: String - attr_accessor currency: Increase::CheckDeposit::DepositAcceptance::currency + attr_accessor currency: Increase::Models::CheckDeposit::DepositAcceptance::currency attr_accessor routing_number: String @@ -111,11 +132,21 @@ module Increase amount: Integer, auxiliary_on_us: String?, check_deposit_id: String, - currency: Increase::CheckDeposit::DepositAcceptance::currency, + currency: Increase::Models::CheckDeposit::DepositAcceptance::currency, routing_number: String, serial_number: String? ) -> void + def to_hash: -> { + account_number: String, + amount: Integer, + auxiliary_on_us: String?, + check_deposit_id: String, + currency: Increase::Models::CheckDeposit::DepositAcceptance::currency, + routing_number: String, + serial_number: String? + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -139,7 +170,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CheckDeposit::DepositAcceptance::currency] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::DepositAcceptance::currency] end end @@ -147,9 +178,9 @@ module Increase { amount: Integer, check_deposit_id: String, - currency: Increase::CheckDeposit::DepositRejection::currency, + currency: Increase::Models::CheckDeposit::DepositRejection::currency, declined_transaction_id: String, - reason: Increase::CheckDeposit::DepositRejection::reason, + reason: Increase::Models::CheckDeposit::DepositRejection::reason, rejected_at: Time } @@ -158,23 +189,32 @@ module Increase attr_accessor check_deposit_id: String - attr_accessor currency: Increase::CheckDeposit::DepositRejection::currency + attr_accessor currency: Increase::Models::CheckDeposit::DepositRejection::currency attr_accessor declined_transaction_id: String - attr_accessor reason: Increase::CheckDeposit::DepositRejection::reason + attr_accessor reason: Increase::Models::CheckDeposit::DepositRejection::reason attr_accessor rejected_at: Time def initialize: ( amount: Integer, check_deposit_id: String, - currency: Increase::CheckDeposit::DepositRejection::currency, + currency: Increase::Models::CheckDeposit::DepositRejection::currency, declined_transaction_id: String, - reason: Increase::CheckDeposit::DepositRejection::reason, + reason: Increase::Models::CheckDeposit::DepositRejection::reason, rejected_at: Time ) -> void + def to_hash: -> { + amount: Integer, + check_deposit_id: String, + currency: Increase::Models::CheckDeposit::DepositRejection::currency, + declined_transaction_id: String, + reason: Increase::Models::CheckDeposit::DepositRejection::reason, + rejected_at: Time + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -198,7 +238,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CheckDeposit::DepositRejection::currency] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::DepositRejection::currency] end type reason = @@ -250,7 +290,7 @@ module Increase # The check was rejected for an unknown reason. UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::CheckDeposit::DepositRejection::reason] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::DepositRejection::reason] end end @@ -258,8 +298,8 @@ module Increase { amount: Integer, check_deposit_id: String, - currency: Increase::CheckDeposit::DepositReturn::currency, - return_reason: Increase::CheckDeposit::DepositReturn::return_reason, + currency: Increase::Models::CheckDeposit::DepositReturn::currency, + return_reason: Increase::Models::CheckDeposit::DepositReturn::return_reason, returned_at: Time, transaction_id: String } @@ -269,9 +309,9 @@ module Increase attr_accessor check_deposit_id: String - attr_accessor currency: Increase::CheckDeposit::DepositReturn::currency + attr_accessor currency: Increase::Models::CheckDeposit::DepositReturn::currency - attr_accessor return_reason: Increase::CheckDeposit::DepositReturn::return_reason + attr_accessor return_reason: Increase::Models::CheckDeposit::DepositReturn::return_reason attr_accessor returned_at: Time @@ -280,12 +320,21 @@ module Increase def initialize: ( amount: Integer, check_deposit_id: String, - currency: Increase::CheckDeposit::DepositReturn::currency, - return_reason: Increase::CheckDeposit::DepositReturn::return_reason, + currency: Increase::Models::CheckDeposit::DepositReturn::currency, + return_reason: Increase::Models::CheckDeposit::DepositReturn::return_reason, returned_at: Time, transaction_id: String ) -> void + def to_hash: -> { + amount: Integer, + check_deposit_id: String, + currency: Increase::Models::CheckDeposit::DepositReturn::currency, + return_reason: Increase::Models::CheckDeposit::DepositReturn::return_reason, + returned_at: Time, + transaction_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -309,7 +358,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CheckDeposit::DepositReturn::currency] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::DepositReturn::currency] end type return_reason = @@ -421,7 +470,7 @@ module Increase # The bank sold this account and no longer services this customer. (Check21 return code `R`) BRANCH_OR_ACCOUNT_SOLD: :branch_or_account_sold - def self?.values: -> ::Array[Increase::CheckDeposit::DepositReturn::return_reason] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::DepositReturn::return_reason] end end @@ -440,6 +489,12 @@ module Increase front_file_id: String, submitted_at: Time ) -> void + + def to_hash: -> { + back_file_id: String, + front_file_id: String, + submitted_at: Time + } end type inbound_funds_hold = @@ -448,12 +503,12 @@ module Increase amount: Integer, automatically_releases_at: Time, created_at: Time, - currency: Increase::CheckDeposit::InboundFundsHold::currency, + currency: Increase::Models::CheckDeposit::InboundFundsHold::currency, held_transaction_id: String?, pending_transaction_id: String?, released_at: Time?, - status: Increase::CheckDeposit::InboundFundsHold::status, - type: Increase::CheckDeposit::InboundFundsHold::type_ + status: Increase::Models::CheckDeposit::InboundFundsHold::status, + type: Increase::Models::CheckDeposit::InboundFundsHold::type_ } class InboundFundsHold < Increase::Internal::Type::BaseModel @@ -465,7 +520,7 @@ module Increase attr_accessor created_at: Time - attr_accessor currency: Increase::CheckDeposit::InboundFundsHold::currency + attr_accessor currency: Increase::Models::CheckDeposit::InboundFundsHold::currency attr_accessor held_transaction_id: String? @@ -473,23 +528,36 @@ module Increase attr_accessor released_at: Time? - attr_accessor status: Increase::CheckDeposit::InboundFundsHold::status + attr_accessor status: Increase::Models::CheckDeposit::InboundFundsHold::status - attr_accessor type: Increase::CheckDeposit::InboundFundsHold::type_ + attr_accessor type: Increase::Models::CheckDeposit::InboundFundsHold::type_ def initialize: ( id: String, amount: Integer, automatically_releases_at: Time, created_at: Time, - currency: Increase::CheckDeposit::InboundFundsHold::currency, + currency: Increase::Models::CheckDeposit::InboundFundsHold::currency, held_transaction_id: String?, pending_transaction_id: String?, released_at: Time?, - status: Increase::CheckDeposit::InboundFundsHold::status, - type: Increase::CheckDeposit::InboundFundsHold::type_ + status: Increase::Models::CheckDeposit::InboundFundsHold::status, + type: Increase::Models::CheckDeposit::InboundFundsHold::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + automatically_releases_at: Time, + created_at: Time, + currency: Increase::Models::CheckDeposit::InboundFundsHold::currency, + held_transaction_id: String?, + pending_transaction_id: String?, + released_at: Time?, + status: Increase::Models::CheckDeposit::InboundFundsHold::status, + type: Increase::Models::CheckDeposit::InboundFundsHold::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -513,7 +581,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CheckDeposit::InboundFundsHold::currency] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::InboundFundsHold::currency] end type status = :held | :complete @@ -527,7 +595,7 @@ module Increase # Funds have been released. COMPLETE: :complete - def self?.values: -> ::Array[Increase::CheckDeposit::InboundFundsHold::status] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::InboundFundsHold::status] end type type_ = :inbound_funds_hold @@ -537,7 +605,7 @@ module Increase INBOUND_FUNDS_HOLD: :inbound_funds_hold - def self?.values: -> ::Array[Increase::CheckDeposit::InboundFundsHold::type_] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::InboundFundsHold::type_] end end @@ -558,7 +626,7 @@ module Increase # The Check Deposit has been returned. RETURNED: :returned - def self?.values: -> ::Array[Increase::CheckDeposit::status] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::status] end type type_ = :check_deposit @@ -568,7 +636,7 @@ module Increase CHECK_DEPOSIT: :check_deposit - def self?.values: -> ::Array[Increase::CheckDeposit::type_] + def self?.values: -> ::Array[Increase::Models::CheckDeposit::type_] end end end diff --git a/sig/increase/models/check_deposit_create_params.rbs b/sig/increase/models/check_deposit_create_params.rbs index 4b3c39cf3..e2e4511b2 100644 --- a/sig/increase/models/check_deposit_create_params.rbs +++ b/sig/increase/models/check_deposit_create_params.rbs @@ -34,6 +34,15 @@ module Increase ?description: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + amount: Integer, + back_image_file_id: String, + front_image_file_id: String, + description: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/check_deposit_list_params.rbs b/sig/increase/models/check_deposit_list_params.rbs index 444db631e..2c58d5f94 100644 --- a/sig/increase/models/check_deposit_list_params.rbs +++ b/sig/increase/models/check_deposit_list_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::CheckDepositListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -71,6 +80,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/check_deposit_retrieve_params.rbs b/sig/increase/models/check_deposit_retrieve_params.rbs index 9c1814a9f..d09a03209 100644 --- a/sig/increase/models/check_deposit_retrieve_params.rbs +++ b/sig/increase/models/check_deposit_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/check_transfer.rbs b/sig/increase/models/check_transfer.rbs index 205ca27f1..67fa67f37 100644 --- a/sig/increase/models/check_transfer.rbs +++ b/sig/increase/models/check_transfer.rbs @@ -12,19 +12,19 @@ module Increase check_number: String, created_at: Time, created_by: Increase::CheckTransfer::CreatedBy?, - currency: Increase::CheckTransfer::currency, - fulfillment_method: Increase::CheckTransfer::fulfillment_method, + currency: Increase::Models::CheckTransfer::currency, + fulfillment_method: Increase::Models::CheckTransfer::fulfillment_method, idempotency_key: String?, mailing: Increase::CheckTransfer::Mailing?, pending_transaction_id: String?, physical_check: Increase::CheckTransfer::PhysicalCheck?, routing_number: String, source_account_number_id: String?, - status: Increase::CheckTransfer::status, + status: Increase::Models::CheckTransfer::status, stop_payment_request: Increase::CheckTransfer::StopPaymentRequest?, submission: Increase::CheckTransfer::Submission?, third_party: Increase::CheckTransfer::ThirdParty?, - type: Increase::CheckTransfer::type_ + type: Increase::Models::CheckTransfer::type_ } class CheckTransfer < Increase::Internal::Type::BaseModel @@ -48,9 +48,9 @@ module Increase attr_accessor created_by: Increase::CheckTransfer::CreatedBy? - attr_accessor currency: Increase::CheckTransfer::currency + attr_accessor currency: Increase::Models::CheckTransfer::currency - attr_accessor fulfillment_method: Increase::CheckTransfer::fulfillment_method + attr_accessor fulfillment_method: Increase::Models::CheckTransfer::fulfillment_method attr_accessor idempotency_key: String? @@ -64,7 +64,7 @@ module Increase attr_accessor source_account_number_id: String? - attr_accessor status: Increase::CheckTransfer::status + attr_accessor status: Increase::Models::CheckTransfer::status attr_accessor stop_payment_request: Increase::CheckTransfer::StopPaymentRequest? @@ -72,7 +72,7 @@ module Increase attr_accessor third_party: Increase::CheckTransfer::ThirdParty? - attr_accessor type: Increase::CheckTransfer::type_ + attr_accessor type: Increase::Models::CheckTransfer::type_ def initialize: ( id: String, @@ -85,21 +85,47 @@ module Increase check_number: String, created_at: Time, created_by: Increase::CheckTransfer::CreatedBy?, - currency: Increase::CheckTransfer::currency, - fulfillment_method: Increase::CheckTransfer::fulfillment_method, + currency: Increase::Models::CheckTransfer::currency, + fulfillment_method: Increase::Models::CheckTransfer::fulfillment_method, idempotency_key: String?, mailing: Increase::CheckTransfer::Mailing?, pending_transaction_id: String?, physical_check: Increase::CheckTransfer::PhysicalCheck?, routing_number: String, source_account_number_id: String?, - status: Increase::CheckTransfer::status, + status: Increase::Models::CheckTransfer::status, stop_payment_request: Increase::CheckTransfer::StopPaymentRequest?, submission: Increase::CheckTransfer::Submission?, third_party: Increase::CheckTransfer::ThirdParty?, - type: Increase::CheckTransfer::type_ + type: Increase::Models::CheckTransfer::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + account_number: String, + amount: Integer, + approval: Increase::CheckTransfer::Approval?, + approved_inbound_check_deposit_id: String?, + cancellation: Increase::CheckTransfer::Cancellation?, + check_number: String, + created_at: Time, + created_by: Increase::CheckTransfer::CreatedBy?, + currency: Increase::Models::CheckTransfer::currency, + fulfillment_method: Increase::Models::CheckTransfer::fulfillment_method, + idempotency_key: String?, + mailing: Increase::CheckTransfer::Mailing?, + pending_transaction_id: String?, + physical_check: Increase::CheckTransfer::PhysicalCheck?, + routing_number: String, + source_account_number_id: String?, + status: Increase::Models::CheckTransfer::status, + stop_payment_request: Increase::CheckTransfer::StopPaymentRequest?, + submission: Increase::CheckTransfer::Submission?, + third_party: Increase::CheckTransfer::ThirdParty?, + type: Increase::Models::CheckTransfer::type_ + } + type approval = { approved_at: Time, approved_by: String? } class Approval < Increase::Internal::Type::BaseModel @@ -108,6 +134,8 @@ module Increase attr_accessor approved_by: String? def initialize: (approved_at: Time, approved_by: String?) -> void + + def to_hash: -> { approved_at: Time, approved_by: String? } end type cancellation = { canceled_at: Time, canceled_by: String? } @@ -118,12 +146,14 @@ module Increase attr_accessor canceled_by: String? def initialize: (canceled_at: Time, canceled_by: String?) -> void + + def to_hash: -> { canceled_at: Time, canceled_by: String? } end type created_by = { api_key: Increase::CheckTransfer::CreatedBy::APIKey?, - category: Increase::CheckTransfer::CreatedBy::category, + category: Increase::Models::CheckTransfer::CreatedBy::category, oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?, user: Increase::CheckTransfer::CreatedBy::User? } @@ -131,7 +161,7 @@ module Increase class CreatedBy < Increase::Internal::Type::BaseModel attr_accessor api_key: Increase::CheckTransfer::CreatedBy::APIKey? - attr_accessor category: Increase::CheckTransfer::CreatedBy::category + attr_accessor category: Increase::Models::CheckTransfer::CreatedBy::category attr_accessor oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication? @@ -139,17 +169,26 @@ module Increase def initialize: ( api_key: Increase::CheckTransfer::CreatedBy::APIKey?, - category: Increase::CheckTransfer::CreatedBy::category, + category: Increase::Models::CheckTransfer::CreatedBy::category, oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?, user: Increase::CheckTransfer::CreatedBy::User? ) -> void + def to_hash: -> { + api_key: Increase::CheckTransfer::CreatedBy::APIKey?, + category: Increase::Models::CheckTransfer::CreatedBy::category, + oauth_application: Increase::CheckTransfer::CreatedBy::OAuthApplication?, + user: Increase::CheckTransfer::CreatedBy::User? + } + type api_key = { description: String? } class APIKey < Increase::Internal::Type::BaseModel attr_accessor description: String? def initialize: (description: String?) -> void + + def to_hash: -> { description: String? } end type category = :api_key | :oauth_application | :user @@ -166,7 +205,7 @@ module Increase # A User in the Increase dashboard. Details will be under the `user` object. USER: :user - def self?.values: -> ::Array[Increase::CheckTransfer::CreatedBy::category] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::CreatedBy::category] end type oauth_application = { name: String } @@ -175,6 +214,8 @@ module Increase attr_accessor name: String def initialize: (name: String) -> void + + def to_hash: -> { name: String } end type user = { email: String } @@ -183,6 +224,8 @@ module Increase attr_accessor email: String def initialize: (email: String) -> void + + def to_hash: -> { email: String } end end @@ -209,7 +252,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::CheckTransfer::currency] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::currency] end type fulfillment_method = :physical_check | :third_party @@ -223,7 +266,7 @@ module Increase # Increase will not print a check; you are responsible for printing and mailing a check with the provided account number, routing number, check number, and amount. THIRD_PARTY: :third_party - def self?.values: -> ::Array[Increase::CheckTransfer::fulfillment_method] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::fulfillment_method] end type mailing = @@ -241,6 +284,12 @@ module Increase mailed_at: Time, tracking_number: String? ) -> void + + def to_hash: -> { + image_id: String?, + mailed_at: Time, + tracking_number: String? + } end type physical_check = @@ -251,7 +300,7 @@ module Increase note: String?, recipient_name: String, return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?, - shipping_method: Increase::CheckTransfer::PhysicalCheck::shipping_method?, + shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?, signature_text: String?, tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] } @@ -269,7 +318,7 @@ module Increase attr_accessor return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress? - attr_accessor shipping_method: Increase::CheckTransfer::PhysicalCheck::shipping_method? + attr_accessor shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method? attr_accessor signature_text: String? @@ -282,11 +331,23 @@ module Increase note: String?, recipient_name: String, return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?, - shipping_method: Increase::CheckTransfer::PhysicalCheck::shipping_method?, + shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?, signature_text: String?, tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] ) -> void + def to_hash: -> { + attachment_file_id: String?, + mailing_address: Increase::CheckTransfer::PhysicalCheck::MailingAddress, + memo: String?, + note: String?, + recipient_name: String, + return_address: Increase::CheckTransfer::PhysicalCheck::ReturnAddress?, + shipping_method: Increase::Models::CheckTransfer::PhysicalCheck::shipping_method?, + signature_text: String?, + tracking_updates: ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate] + } + type mailing_address = { city: String?, @@ -318,6 +379,15 @@ module Increase postal_code: String?, state: String? ) -> void + + def to_hash: -> { + city: String?, + :line1 => String?, + :line2 => String?, + name: String?, + postal_code: String?, + state: String? + } end type return_address = @@ -351,6 +421,15 @@ module Increase postal_code: String?, state: String? ) -> void + + def to_hash: -> { + city: String?, + :line1 => String?, + :line2 => String?, + name: String?, + postal_code: String?, + state: String? + } end type shipping_method = :usps_first_class | :fedex_overnight @@ -364,29 +443,35 @@ module Increase # FedEx Overnight FEDEX_OVERNIGHT: :fedex_overnight - def self?.values: -> ::Array[Increase::CheckTransfer::PhysicalCheck::shipping_method] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::PhysicalCheck::shipping_method] end type tracking_update = { - category: Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::category, + category: Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::category, created_at: Time, postal_code: String } class TrackingUpdate < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::category + attr_accessor category: Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::category attr_accessor created_at: Time attr_accessor postal_code: String def initialize: ( - category: Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::category, + category: Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::category, created_at: Time, postal_code: String ) -> void + def to_hash: -> { + category: Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::category, + created_at: Time, + postal_code: String + } + type category = :in_transit | :processed_for_delivery @@ -408,7 +493,7 @@ module Increase # Delivery failed and the check was returned to sender. RETURNED_TO_SENDER: :returned_to_sender - def self?.values: -> ::Array[Increase::CheckTransfer::PhysicalCheck::TrackingUpdate::category] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::PhysicalCheck::TrackingUpdate::category] end end end @@ -458,33 +543,40 @@ module Increase # The transfer has been returned. RETURNED: :returned - def self?.values: -> ::Array[Increase::CheckTransfer::status] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::status] end type stop_payment_request = { - reason: Increase::CheckTransfer::StopPaymentRequest::reason, + reason: Increase::Models::CheckTransfer::StopPaymentRequest::reason, requested_at: Time, transfer_id: String, - type: Increase::CheckTransfer::StopPaymentRequest::type_ + type: Increase::Models::CheckTransfer::StopPaymentRequest::type_ } class StopPaymentRequest < Increase::Internal::Type::BaseModel - attr_accessor reason: Increase::CheckTransfer::StopPaymentRequest::reason + attr_accessor reason: Increase::Models::CheckTransfer::StopPaymentRequest::reason attr_accessor requested_at: Time attr_accessor transfer_id: String - attr_accessor type: Increase::CheckTransfer::StopPaymentRequest::type_ + attr_accessor type: Increase::Models::CheckTransfer::StopPaymentRequest::type_ def initialize: ( - reason: Increase::CheckTransfer::StopPaymentRequest::reason, + reason: Increase::Models::CheckTransfer::StopPaymentRequest::reason, requested_at: Time, transfer_id: String, - type: Increase::CheckTransfer::StopPaymentRequest::type_ + type: Increase::Models::CheckTransfer::StopPaymentRequest::type_ ) -> void + def to_hash: -> { + reason: Increase::Models::CheckTransfer::StopPaymentRequest::reason, + requested_at: Time, + transfer_id: String, + type: Increase::Models::CheckTransfer::StopPaymentRequest::type_ + } + type reason = :mail_delivery_failed | :rejected_by_increase @@ -506,7 +598,7 @@ module Increase # The check was stopped for another reason. UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::CheckTransfer::StopPaymentRequest::reason] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::StopPaymentRequest::reason] end type type_ = :check_transfer_stop_payment_request @@ -516,30 +608,36 @@ module Increase CHECK_TRANSFER_STOP_PAYMENT_REQUEST: :check_transfer_stop_payment_request - def self?.values: -> ::Array[Increase::CheckTransfer::StopPaymentRequest::type_] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::StopPaymentRequest::type_] end end type submission = { - address_correction_action: Increase::CheckTransfer::Submission::address_correction_action, + address_correction_action: Increase::Models::CheckTransfer::Submission::address_correction_action, submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress, submitted_at: Time } class Submission < Increase::Internal::Type::BaseModel - attr_accessor address_correction_action: Increase::CheckTransfer::Submission::address_correction_action + attr_accessor address_correction_action: Increase::Models::CheckTransfer::Submission::address_correction_action attr_accessor submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress attr_accessor submitted_at: Time def initialize: ( - address_correction_action: Increase::CheckTransfer::Submission::address_correction_action, + address_correction_action: Increase::Models::CheckTransfer::Submission::address_correction_action, submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress, submitted_at: Time ) -> void + def to_hash: -> { + address_correction_action: Increase::Models::CheckTransfer::Submission::address_correction_action, + submitted_address: Increase::CheckTransfer::Submission::SubmittedAddress, + submitted_at: Time + } + type address_correction_action = :none | :standardization @@ -561,7 +659,7 @@ module Increase # An error occurred while correcting the address. This typically means the USPS could not find that address. The address was not changed. ERROR: :error - def self?.values: -> ::Array[Increase::CheckTransfer::Submission::address_correction_action] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::Submission::address_correction_action] end type submitted_address = @@ -595,6 +693,15 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + recipient_name: String, + state: String, + zip: String + } end end @@ -604,6 +711,8 @@ module Increase attr_accessor recipient_name: String? def initialize: (recipient_name: String?) -> void + + def to_hash: -> { recipient_name: String? } end type type_ = :check_transfer @@ -613,7 +722,7 @@ module Increase CHECK_TRANSFER: :check_transfer - def self?.values: -> ::Array[Increase::CheckTransfer::type_] + def self?.values: -> ::Array[Increase::Models::CheckTransfer::type_] end end end diff --git a/sig/increase/models/check_transfer_approve_params.rbs b/sig/increase/models/check_transfer_approve_params.rbs index 98bcd0d0b..1be504399 100644 --- a/sig/increase/models/check_transfer_approve_params.rbs +++ b/sig/increase/models/check_transfer_approve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/check_transfer_cancel_params.rbs b/sig/increase/models/check_transfer_cancel_params.rbs index 66048d407..9fbdf1a42 100644 --- a/sig/increase/models/check_transfer_cancel_params.rbs +++ b/sig/increase/models/check_transfer_cancel_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/check_transfer_create_params.rbs b/sig/increase/models/check_transfer_create_params.rbs index 7493f889b..b32c9041b 100644 --- a/sig/increase/models/check_transfer_create_params.rbs +++ b/sig/increase/models/check_transfer_create_params.rbs @@ -57,6 +57,18 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + amount: Integer, + fulfillment_method: Increase::Models::CheckTransferCreateParams::fulfillment_method, + source_account_number_id: String, + check_number: String, + physical_check: Increase::CheckTransferCreateParams::PhysicalCheck, + require_approval: bool, + third_party: Increase::CheckTransferCreateParams::ThirdParty, + request_options: Increase::RequestOptions + } + type fulfillment_method = :physical_check | :third_party module FulfillmentMethod @@ -79,7 +91,7 @@ module Increase attachment_file_id: String, note: String, return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress, - shipping_method: Increase::CheckTransferCreateParams::PhysicalCheck::shipping_method, + shipping_method: Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method, signature_text: String } @@ -104,11 +116,11 @@ module Increase Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress ) -> Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress - attr_reader shipping_method: Increase::CheckTransferCreateParams::PhysicalCheck::shipping_method? + attr_reader shipping_method: Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method? def shipping_method=: ( - Increase::CheckTransferCreateParams::PhysicalCheck::shipping_method - ) -> Increase::CheckTransferCreateParams::PhysicalCheck::shipping_method + Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method + ) -> Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method attr_reader signature_text: String? @@ -121,10 +133,21 @@ module Increase ?attachment_file_id: String, ?note: String, ?return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress, - ?shipping_method: Increase::CheckTransferCreateParams::PhysicalCheck::shipping_method, + ?shipping_method: Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method, ?signature_text: String ) -> void + def to_hash: -> { + mailing_address: Increase::CheckTransferCreateParams::PhysicalCheck::MailingAddress, + memo: String, + recipient_name: String, + attachment_file_id: String, + note: String, + return_address: Increase::CheckTransferCreateParams::PhysicalCheck::ReturnAddress, + shipping_method: Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method, + signature_text: String + } + type mailing_address = { city: String, @@ -154,6 +177,14 @@ module Increase state: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + postal_code: String, + state: String, + :line2 => String + } end type return_address = @@ -189,6 +220,15 @@ module Increase state: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + name: String, + postal_code: String, + state: String, + :line2 => String + } end type shipping_method = :usps_first_class | :fedex_overnight @@ -202,7 +242,7 @@ module Increase # FedEx Overnight FEDEX_OVERNIGHT: :fedex_overnight - def self?.values: -> ::Array[Increase::CheckTransferCreateParams::PhysicalCheck::shipping_method] + def self?.values: -> ::Array[Increase::Models::CheckTransferCreateParams::PhysicalCheck::shipping_method] end end @@ -214,6 +254,8 @@ module Increase def recipient_name=: (String) -> String def initialize: (?recipient_name: String) -> void + + def to_hash: -> { recipient_name: String } end end end diff --git a/sig/increase/models/check_transfer_list_params.rbs b/sig/increase/models/check_transfer_list_params.rbs index 658b416c5..accda88bf 100644 --- a/sig/increase/models/check_transfer_list_params.rbs +++ b/sig/increase/models/check_transfer_list_params.rbs @@ -53,6 +53,16 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::CheckTransferListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::CheckTransferListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -79,22 +89,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::CheckTransferListParams::Status::in_] } + { in_: ::Array[Increase::Models::CheckTransferListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::CheckTransferListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::CheckTransferListParams::Status::in_]? def in_=: ( - ::Array[Increase::CheckTransferListParams::Status::in_] - ) -> ::Array[Increase::CheckTransferListParams::Status::in_] + ::Array[Increase::Models::CheckTransferListParams::Status::in_] + ) -> ::Array[Increase::Models::CheckTransferListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::CheckTransferListParams::Status::in_] + ?in_: ::Array[Increase::Models::CheckTransferListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::CheckTransferListParams::Status::in_] + } + type in_ = :pending_approval | :canceled @@ -140,7 +161,7 @@ module Increase # The transfer has been returned. RETURNED: :returned - def self?.values: -> ::Array[Increase::CheckTransferListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::CheckTransferListParams::Status::in_] end end end diff --git a/sig/increase/models/check_transfer_retrieve_params.rbs b/sig/increase/models/check_transfer_retrieve_params.rbs index 53bfadfab..669a3498e 100644 --- a/sig/increase/models/check_transfer_retrieve_params.rbs +++ b/sig/increase/models/check_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/check_transfer_stop_payment_params.rbs b/sig/increase/models/check_transfer_stop_payment_params.rbs index 67e6850e9..ada1ae4f3 100644 --- a/sig/increase/models/check_transfer_stop_payment_params.rbs +++ b/sig/increase/models/check_transfer_stop_payment_params.rbs @@ -19,6 +19,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + reason: Increase::Models::CheckTransferStopPaymentParams::reason, + request_options: Increase::RequestOptions + } + type reason = :mail_delivery_failed | :not_authorized | :unknown module Reason diff --git a/sig/increase/models/declined_transaction.rbs b/sig/increase/models/declined_transaction.rbs index dc10eabd8..bc58c3e50 100644 --- a/sig/increase/models/declined_transaction.rbs +++ b/sig/increase/models/declined_transaction.rbs @@ -6,12 +6,12 @@ module Increase account_id: String, amount: Integer, created_at: Time, - currency: Increase::DeclinedTransaction::currency, + currency: Increase::Models::DeclinedTransaction::currency, description: String, route_id: String?, - route_type: Increase::DeclinedTransaction::route_type?, + route_type: Increase::Models::DeclinedTransaction::route_type?, source: Increase::DeclinedTransaction::Source, - type: Increase::DeclinedTransaction::type_ + type: Increase::Models::DeclinedTransaction::type_ } class DeclinedTransaction < Increase::Internal::Type::BaseModel @@ -23,31 +23,44 @@ module Increase attr_accessor created_at: Time - attr_accessor currency: Increase::DeclinedTransaction::currency + attr_accessor currency: Increase::Models::DeclinedTransaction::currency attr_accessor description: String attr_accessor route_id: String? - attr_accessor route_type: Increase::DeclinedTransaction::route_type? + attr_accessor route_type: Increase::Models::DeclinedTransaction::route_type? attr_accessor source: Increase::DeclinedTransaction::Source - attr_accessor type: Increase::DeclinedTransaction::type_ + attr_accessor type: Increase::Models::DeclinedTransaction::type_ def initialize: ( id: String, account_id: String, amount: Integer, created_at: Time, - currency: Increase::DeclinedTransaction::currency, + currency: Increase::Models::DeclinedTransaction::currency, description: String, route_id: String?, - route_type: Increase::DeclinedTransaction::route_type?, + route_type: Increase::Models::DeclinedTransaction::route_type?, source: Increase::DeclinedTransaction::Source, - type: Increase::DeclinedTransaction::type_ + type: Increase::Models::DeclinedTransaction::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + amount: Integer, + created_at: Time, + currency: Increase::Models::DeclinedTransaction::currency, + description: String, + route_id: String?, + route_type: Increase::Models::DeclinedTransaction::route_type?, + source: Increase::DeclinedTransaction::Source, + type: Increase::Models::DeclinedTransaction::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -71,7 +84,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::DeclinedTransaction::currency] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::currency] end type route_type = :account_number | :card | :lockbox @@ -88,14 +101,14 @@ module Increase # A Lockbox. LOCKBOX: :lockbox - def self?.values: -> ::Array[Increase::DeclinedTransaction::route_type] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::route_type] end type source = { ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?, card_decline: Increase::DeclinedTransaction::Source::CardDecline?, - category: Increase::DeclinedTransaction::Source::category, + category: Increase::Models::DeclinedTransaction::Source::category, check_decline: Increase::DeclinedTransaction::Source::CheckDecline?, check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, @@ -108,7 +121,7 @@ module Increase attr_accessor card_decline: Increase::DeclinedTransaction::Source::CardDecline? - attr_accessor category: Increase::DeclinedTransaction::Source::category + attr_accessor category: Increase::Models::DeclinedTransaction::Source::category attr_accessor check_decline: Increase::DeclinedTransaction::Source::CheckDecline? @@ -123,7 +136,7 @@ module Increase def initialize: ( ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?, card_decline: Increase::DeclinedTransaction::Source::CardDecline?, - category: Increase::DeclinedTransaction::Source::category, + category: Increase::Models::DeclinedTransaction::Source::category, check_decline: Increase::DeclinedTransaction::Source::CheckDecline?, check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, @@ -131,6 +144,17 @@ module Increase wire_decline: Increase::DeclinedTransaction::Source::WireDecline? ) -> void + def to_hash: -> { + ach_decline: Increase::DeclinedTransaction::Source::ACHDecline?, + card_decline: Increase::DeclinedTransaction::Source::CardDecline?, + category: Increase::Models::DeclinedTransaction::Source::category, + check_decline: Increase::DeclinedTransaction::Source::CheckDecline?, + check_deposit_rejection: Increase::DeclinedTransaction::Source::CheckDepositRejection?, + inbound_real_time_payments_transfer_decline: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline?, + other: top?, + wire_decline: Increase::DeclinedTransaction::Source::WireDecline? + } + type ach_decline = { id: String, @@ -140,11 +164,11 @@ module Increase originator_company_discretionary_data: String?, originator_company_id: String, originator_company_name: String, - reason: Increase::DeclinedTransaction::Source::ACHDecline::reason, + reason: Increase::Models::DeclinedTransaction::Source::ACHDecline::reason, receiver_id_number: String?, receiver_name: String?, trace_number: String, - type: Increase::DeclinedTransaction::Source::ACHDecline::type_ + type: Increase::Models::DeclinedTransaction::Source::ACHDecline::type_ } class ACHDecline < Increase::Internal::Type::BaseModel @@ -162,7 +186,7 @@ module Increase attr_accessor originator_company_name: String - attr_accessor reason: Increase::DeclinedTransaction::Source::ACHDecline::reason + attr_accessor reason: Increase::Models::DeclinedTransaction::Source::ACHDecline::reason attr_accessor receiver_id_number: String? @@ -170,7 +194,7 @@ module Increase attr_accessor trace_number: String - attr_accessor type: Increase::DeclinedTransaction::Source::ACHDecline::type_ + attr_accessor type: Increase::Models::DeclinedTransaction::Source::ACHDecline::type_ def initialize: ( id: String, @@ -180,13 +204,28 @@ module Increase originator_company_discretionary_data: String?, originator_company_id: String, originator_company_name: String, - reason: Increase::DeclinedTransaction::Source::ACHDecline::reason, + reason: Increase::Models::DeclinedTransaction::Source::ACHDecline::reason, receiver_id_number: String?, receiver_name: String?, trace_number: String, - type: Increase::DeclinedTransaction::Source::ACHDecline::type_ + type: Increase::Models::DeclinedTransaction::Source::ACHDecline::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + inbound_ach_transfer_id: String, + originator_company_descriptive_date: String?, + originator_company_discretionary_data: String?, + originator_company_id: String, + originator_company_name: String, + reason: Increase::Models::DeclinedTransaction::Source::ACHDecline::reason, + receiver_id_number: String?, + receiver_name: String?, + trace_number: String, + type: Increase::Models::DeclinedTransaction::Source::ACHDecline::type_ + } + type reason = :ach_route_canceled | :ach_route_disabled @@ -260,7 +299,7 @@ module Increase # The corporate customer no longer authorizes this transaction. CORPORATE_CUSTOMER_ADVISED_NOT_AUTHORIZED: :corporate_customer_advised_not_authorized - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::ACHDecline::reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::ACHDecline::reason] end type type_ = :ach_decline @@ -270,20 +309,20 @@ module Increase ACH_DECLINE: :ach_decline - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::ACHDecline::type_] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::ACHDecline::type_] end end type card_decline = { id: String, - actioner: Increase::DeclinedTransaction::Source::CardDecline::actioner, + actioner: Increase::Models::DeclinedTransaction::Source::CardDecline::actioner, amount: Integer, card_payment_id: String, - currency: Increase::DeclinedTransaction::Source::CardDecline::currency, + currency: Increase::Models::DeclinedTransaction::Source::CardDecline::currency, declined_transaction_id: String, digital_wallet_token_id: String?, - direction: Increase::DeclinedTransaction::Source::CardDecline::direction, + direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -297,10 +336,10 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::DeclinedTransaction::Source::CardDecline::processing_category, + processing_category: Increase::Models::DeclinedTransaction::Source::CardDecline::processing_category, real_time_decision_id: String?, - real_time_decision_reason: Increase::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?, - reason: Increase::DeclinedTransaction::Source::CardDecline::reason, + real_time_decision_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?, + reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason, terminal_id: String?, verification: Increase::DeclinedTransaction::Source::CardDecline::Verification } @@ -308,19 +347,19 @@ module Increase class CardDecline < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor actioner: Increase::DeclinedTransaction::Source::CardDecline::actioner + attr_accessor actioner: Increase::Models::DeclinedTransaction::Source::CardDecline::actioner attr_accessor amount: Integer attr_accessor card_payment_id: String - attr_accessor currency: Increase::DeclinedTransaction::Source::CardDecline::currency + attr_accessor currency: Increase::Models::DeclinedTransaction::Source::CardDecline::currency attr_accessor declined_transaction_id: String attr_accessor digital_wallet_token_id: String? - attr_accessor direction: Increase::DeclinedTransaction::Source::CardDecline::direction + attr_accessor direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction attr_accessor merchant_acceptor_id: String @@ -348,13 +387,13 @@ module Increase attr_accessor presentment_currency: String - attr_accessor processing_category: Increase::DeclinedTransaction::Source::CardDecline::processing_category + attr_accessor processing_category: Increase::Models::DeclinedTransaction::Source::CardDecline::processing_category attr_accessor real_time_decision_id: String? - attr_accessor real_time_decision_reason: Increase::DeclinedTransaction::Source::CardDecline::real_time_decision_reason? + attr_accessor real_time_decision_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason? - attr_accessor reason: Increase::DeclinedTransaction::Source::CardDecline::reason + attr_accessor reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason attr_accessor terminal_id: String? @@ -362,13 +401,13 @@ module Increase def initialize: ( id: String, - actioner: Increase::DeclinedTransaction::Source::CardDecline::actioner, + actioner: Increase::Models::DeclinedTransaction::Source::CardDecline::actioner, amount: Integer, card_payment_id: String, - currency: Increase::DeclinedTransaction::Source::CardDecline::currency, + currency: Increase::Models::DeclinedTransaction::Source::CardDecline::currency, declined_transaction_id: String, digital_wallet_token_id: String?, - direction: Increase::DeclinedTransaction::Source::CardDecline::direction, + direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -382,14 +421,44 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::DeclinedTransaction::Source::CardDecline::processing_category, + processing_category: Increase::Models::DeclinedTransaction::Source::CardDecline::processing_category, real_time_decision_id: String?, - real_time_decision_reason: Increase::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?, - reason: Increase::DeclinedTransaction::Source::CardDecline::reason, + real_time_decision_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?, + reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason, terminal_id: String?, verification: Increase::DeclinedTransaction::Source::CardDecline::Verification ) -> void + def to_hash: -> { + id: String, + actioner: Increase::Models::DeclinedTransaction::Source::CardDecline::actioner, + amount: Integer, + card_payment_id: String, + currency: Increase::Models::DeclinedTransaction::Source::CardDecline::currency, + declined_transaction_id: String, + digital_wallet_token_id: String?, + direction: Increase::Models::DeclinedTransaction::Source::CardDecline::direction, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String?, + merchant_country: String, + merchant_descriptor: String, + merchant_postal_code: String?, + merchant_state: String?, + network_details: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails, + network_identifiers: Increase::DeclinedTransaction::Source::CardDecline::NetworkIdentifiers, + network_risk_score: Integer?, + physical_card_id: String?, + presentment_amount: Integer, + presentment_currency: String, + processing_category: Increase::Models::DeclinedTransaction::Source::CardDecline::processing_category, + real_time_decision_id: String?, + real_time_decision_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason?, + reason: Increase::Models::DeclinedTransaction::Source::CardDecline::reason, + terminal_id: String?, + verification: Increase::DeclinedTransaction::Source::CardDecline::Verification + } + type actioner = :user | :increase | :network module Actioner @@ -404,7 +473,7 @@ module Increase # This object was actioned by the network, through stand-in processing. NETWORK: :network - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::actioner] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::actioner] end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -430,7 +499,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::currency] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::currency] end type direction = :settlement | :refund @@ -444,25 +513,30 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::direction] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::direction] end type network_details = { - category: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, + category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::category + attr_accessor category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category attr_accessor visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? def initialize: ( - category: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, + category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? ) -> void + def to_hash: -> { + category: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category, + visa: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa? + } + type category = :visa module Category @@ -471,29 +545,35 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::category] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::category] end type visa = { - electronic_commerce_indicator: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? } class Visa < Increase::Internal::Type::BaseModel - attr_accessor electronic_commerce_indicator: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator? + attr_accessor electronic_commerce_indicator: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator? - attr_accessor point_of_service_entry_mode: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode? + attr_accessor point_of_service_entry_mode: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode? - attr_accessor stand_in_processing_reason: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + attr_accessor stand_in_processing_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? def initialize: ( - electronic_commerce_indicator: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? ) -> void + def to_hash: -> { + electronic_commerce_indicator: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason? + } + type electronic_commerce_indicator = :mail_phone_order | :recurring @@ -531,7 +611,7 @@ module Increase # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection. NON_SECURE_TRANSACTION: :non_secure_transaction - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::electronic_commerce_indicator] end type point_of_service_entry_mode = @@ -579,7 +659,7 @@ module Increase # Contact chip card, without card verification value INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::point_of_service_entry_mode] end type stand_in_processing_reason = @@ -615,7 +695,7 @@ module Increase # An unspecific reason for stand-in processing. OTHER: :other - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::NetworkDetails::Visa::stand_in_processing_reason] end end end @@ -639,6 +719,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type processing_category = @@ -670,7 +756,7 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::processing_category] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::processing_category] end type real_time_decision_reason = @@ -702,7 +788,7 @@ module Increase # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly. OTHER: :other - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::real_time_decision_reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::real_time_decision_reason] end type reason = @@ -782,7 +868,7 @@ module Increase # The transaction was suspected to be fraudulent. Please reach out to support@increase.com for more information. SUSPECTED_FRAUD: :suspected_fraud - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::reason] end type verification = @@ -801,18 +887,27 @@ module Increase cardholder_address: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress ) -> void + def to_hash: -> { + card_verification_code: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode, + cardholder_address: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress + } + type card_verification_code = { - result: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result + result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result } class CardVerificationCode < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result + attr_accessor result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result def initialize: ( - result: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result + result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result ) -> void + def to_hash: -> { + result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result + } + type result = :not_checked | :match | :no_match module Result @@ -827,7 +922,7 @@ module Increase # The card verification code did not match the one on file. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardVerificationCode::result] end end @@ -837,7 +932,7 @@ module Increase actual_postal_code: String?, :provided_line1 => String?, provided_postal_code: String?, - result: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result + result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result } class CardholderAddress < Increase::Internal::Type::BaseModel @@ -849,16 +944,24 @@ module Increase attr_accessor provided_postal_code: String? - attr_accessor result: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result + attr_accessor result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result def initialize: ( actual_line1: String?, actual_postal_code: String?, provided_line1: String?, provided_postal_code: String?, - result: Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result + result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result ) -> void + def to_hash: -> { + :actual_line1 => String?, + actual_postal_code: String?, + :provided_line1 => String?, + provided_postal_code: String?, + result: Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result + } + type result = :not_checked | :postal_code_match_address_not_checked @@ -888,7 +991,7 @@ module Increase # Postal code and street address do not match. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CardDecline::Verification::CardholderAddress::result] end end end @@ -927,7 +1030,7 @@ module Increase # The Declined Transaction was made for an undocumented or deprecated reason. OTHER: :other - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::category] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::category] end type check_decline = @@ -938,7 +1041,7 @@ module Increase check_transfer_id: String?, front_image_file_id: String?, inbound_check_deposit_id: String?, - reason: Increase::DeclinedTransaction::Source::CheckDecline::reason + reason: Increase::Models::DeclinedTransaction::Source::CheckDecline::reason } class CheckDecline < Increase::Internal::Type::BaseModel @@ -954,7 +1057,7 @@ module Increase attr_accessor inbound_check_deposit_id: String? - attr_accessor reason: Increase::DeclinedTransaction::Source::CheckDecline::reason + attr_accessor reason: Increase::Models::DeclinedTransaction::Source::CheckDecline::reason def initialize: ( amount: Integer, @@ -963,9 +1066,19 @@ module Increase check_transfer_id: String?, front_image_file_id: String?, inbound_check_deposit_id: String?, - reason: Increase::DeclinedTransaction::Source::CheckDecline::reason + reason: Increase::Models::DeclinedTransaction::Source::CheckDecline::reason ) -> void + def to_hash: -> { + amount: Integer, + auxiliary_on_us: String?, + back_image_file_id: String?, + check_transfer_id: String?, + front_image_file_id: String?, + inbound_check_deposit_id: String?, + reason: Increase::Models::DeclinedTransaction::Source::CheckDecline::reason + } + type reason = :ach_route_disabled | :ach_route_canceled @@ -1039,7 +1152,7 @@ module Increase # Your integration declined this check via the API. USER_INITIATED: :user_initiated - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CheckDecline::reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CheckDecline::reason] end end @@ -1047,9 +1160,9 @@ module Increase { amount: Integer, check_deposit_id: String, - currency: Increase::DeclinedTransaction::Source::CheckDepositRejection::currency, + currency: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::currency, declined_transaction_id: String, - reason: Increase::DeclinedTransaction::Source::CheckDepositRejection::reason, + reason: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::reason, rejected_at: Time } @@ -1058,23 +1171,32 @@ module Increase attr_accessor check_deposit_id: String - attr_accessor currency: Increase::DeclinedTransaction::Source::CheckDepositRejection::currency + attr_accessor currency: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::currency attr_accessor declined_transaction_id: String - attr_accessor reason: Increase::DeclinedTransaction::Source::CheckDepositRejection::reason + attr_accessor reason: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::reason attr_accessor rejected_at: Time def initialize: ( amount: Integer, check_deposit_id: String, - currency: Increase::DeclinedTransaction::Source::CheckDepositRejection::currency, + currency: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::currency, declined_transaction_id: String, - reason: Increase::DeclinedTransaction::Source::CheckDepositRejection::reason, + reason: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::reason, rejected_at: Time ) -> void + def to_hash: -> { + amount: Integer, + check_deposit_id: String, + currency: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::currency, + declined_transaction_id: String, + reason: Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::reason, + rejected_at: Time + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -1098,7 +1220,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CheckDepositRejection::currency] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::currency] end type reason = @@ -1150,7 +1272,7 @@ module Increase # The check was rejected for an unknown reason. UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::CheckDepositRejection::reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::CheckDepositRejection::reason] end end @@ -1158,11 +1280,11 @@ module Increase { amount: Integer, creditor_name: String, - currency: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency, + currency: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, - reason: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason, + reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason, remittance_information: String?, transaction_identification: String, transfer_id: String @@ -1173,7 +1295,7 @@ module Increase attr_accessor creditor_name: String - attr_accessor currency: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency + attr_accessor currency: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency attr_accessor debtor_account_number: String @@ -1181,7 +1303,7 @@ module Increase attr_accessor debtor_routing_number: String - attr_accessor reason: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason + attr_accessor reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason attr_accessor remittance_information: String? @@ -1192,16 +1314,29 @@ module Increase def initialize: ( amount: Integer, creditor_name: String, - currency: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency, + currency: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, - reason: Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason, + reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason, remittance_information: String?, transaction_identification: String, transfer_id: String ) -> void + def to_hash: -> { + amount: Integer, + creditor_name: String, + currency: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency, + debtor_account_number: String, + debtor_name: String, + debtor_routing_number: String, + reason: Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason, + remittance_information: String?, + transaction_identification: String, + transfer_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -1225,7 +1360,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::currency] end type reason = @@ -1257,26 +1392,31 @@ module Increase # Your account is not enabled to receive Real-Time Payments transfers. REAL_TIME_PAYMENTS_NOT_ENABLED: :real_time_payments_not_enabled - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::InboundRealTimePaymentsTransferDecline::reason] end end type wire_decline = { inbound_wire_transfer_id: String, - reason: Increase::DeclinedTransaction::Source::WireDecline::reason + reason: Increase::Models::DeclinedTransaction::Source::WireDecline::reason } class WireDecline < Increase::Internal::Type::BaseModel attr_accessor inbound_wire_transfer_id: String - attr_accessor reason: Increase::DeclinedTransaction::Source::WireDecline::reason + attr_accessor reason: Increase::Models::DeclinedTransaction::Source::WireDecline::reason def initialize: ( inbound_wire_transfer_id: String, - reason: Increase::DeclinedTransaction::Source::WireDecline::reason + reason: Increase::Models::DeclinedTransaction::Source::WireDecline::reason ) -> void + def to_hash: -> { + inbound_wire_transfer_id: String, + reason: Increase::Models::DeclinedTransaction::Source::WireDecline::reason + } + type reason = :account_number_canceled | :account_number_disabled @@ -1306,7 +1446,7 @@ module Increase # The transaction is not allowed per Increase's terms. TRANSACTION_NOT_ALLOWED: :transaction_not_allowed - def self?.values: -> ::Array[Increase::DeclinedTransaction::Source::WireDecline::reason] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::Source::WireDecline::reason] end end end @@ -1318,7 +1458,7 @@ module Increase DECLINED_TRANSACTION: :declined_transaction - def self?.values: -> ::Array[Increase::DeclinedTransaction::type_] + def self?.values: -> ::Array[Increase::Models::DeclinedTransaction::type_] end end end diff --git a/sig/increase/models/declined_transaction_list_params.rbs b/sig/increase/models/declined_transaction_list_params.rbs index 23433af50..8c7e04f16 100644 --- a/sig/increase/models/declined_transaction_list_params.rbs +++ b/sig/increase/models/declined_transaction_list_params.rbs @@ -53,20 +53,36 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + category: Increase::DeclinedTransactionListParams::Category, + created_at: Increase::DeclinedTransactionListParams::CreatedAt, + cursor: String, + limit: Integer, + route_id: String, + request_options: Increase::RequestOptions + } + type category = - { in_: ::Array[Increase::DeclinedTransactionListParams::Category::in_] } + { + in_: ::Array[Increase::Models::DeclinedTransactionListParams::Category::in_] + } class Category < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::DeclinedTransactionListParams::Category::in_]? + attr_reader in_: ::Array[Increase::Models::DeclinedTransactionListParams::Category::in_]? def in_=: ( - ::Array[Increase::DeclinedTransactionListParams::Category::in_] - ) -> ::Array[Increase::DeclinedTransactionListParams::Category::in_] + ::Array[Increase::Models::DeclinedTransactionListParams::Category::in_] + ) -> ::Array[Increase::Models::DeclinedTransactionListParams::Category::in_] def initialize: ( - ?in_: ::Array[Increase::DeclinedTransactionListParams::Category::in_] + ?in_: ::Array[Increase::Models::DeclinedTransactionListParams::Category::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::DeclinedTransactionListParams::Category::in_] + } + type in_ = :ach_decline | :card_decline @@ -100,7 +116,7 @@ module Increase # The Declined Transaction was made for an undocumented or deprecated reason. OTHER: :other - def self?.values: -> ::Array[Increase::DeclinedTransactionListParams::Category::in_] + def self?.values: -> ::Array[Increase::Models::DeclinedTransactionListParams::Category::in_] end end @@ -130,6 +146,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/declined_transaction_retrieve_params.rbs b/sig/increase/models/declined_transaction_retrieve_params.rbs index be9d43d5d..a71eb8e44 100644 --- a/sig/increase/models/declined_transaction_retrieve_params.rbs +++ b/sig/increase/models/declined_transaction_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/digital_card_profile.rbs b/sig/increase/models/digital_card_profile.rbs index dd3b92541..c1bc9fdae 100644 --- a/sig/increase/models/digital_card_profile.rbs +++ b/sig/increase/models/digital_card_profile.rbs @@ -13,9 +13,9 @@ module Increase description: String, idempotency_key: String?, issuer_name: String, - status: Increase::DigitalCardProfile::status, + status: Increase::Models::DigitalCardProfile::status, text_color: Increase::DigitalCardProfile::TextColor, - type: Increase::DigitalCardProfile::type_ + type: Increase::Models::DigitalCardProfile::type_ } class DigitalCardProfile < Increase::Internal::Type::BaseModel @@ -41,11 +41,11 @@ module Increase attr_accessor issuer_name: String - attr_accessor status: Increase::DigitalCardProfile::status + attr_accessor status: Increase::Models::DigitalCardProfile::status attr_accessor text_color: Increase::DigitalCardProfile::TextColor - attr_accessor type: Increase::DigitalCardProfile::type_ + attr_accessor type: Increase::Models::DigitalCardProfile::type_ def initialize: ( id: String, @@ -59,11 +59,28 @@ module Increase description: String, idempotency_key: String?, issuer_name: String, - status: Increase::DigitalCardProfile::status, + status: Increase::Models::DigitalCardProfile::status, text_color: Increase::DigitalCardProfile::TextColor, - type: Increase::DigitalCardProfile::type_ + type: Increase::Models::DigitalCardProfile::type_ ) -> void + def to_hash: -> { + id: String, + app_icon_file_id: String, + background_image_file_id: String, + card_description: String, + contact_email: String?, + contact_phone: String?, + contact_website: String?, + created_at: Time, + description: String, + idempotency_key: String?, + issuer_name: String, + status: Increase::Models::DigitalCardProfile::status, + text_color: Increase::DigitalCardProfile::TextColor, + type: Increase::Models::DigitalCardProfile::type_ + } + type status = :pending | :rejected | :active | :archived module Status @@ -81,7 +98,7 @@ module Increase # The Card Profile is no longer in use. ARCHIVED: :archived - def self?.values: -> ::Array[Increase::DigitalCardProfile::status] + def self?.values: -> ::Array[Increase::Models::DigitalCardProfile::status] end type text_color = { blue: Integer, green: Integer, red: Integer } @@ -94,6 +111,8 @@ module Increase attr_accessor red: Integer def initialize: (blue: Integer, green: Integer, red: Integer) -> void + + def to_hash: -> { blue: Integer, green: Integer, red: Integer } end type type_ = :digital_card_profile @@ -103,7 +122,7 @@ module Increase DIGITAL_CARD_PROFILE: :digital_card_profile - def self?.values: -> ::Array[Increase::DigitalCardProfile::type_] + def self?.values: -> ::Array[Increase::Models::DigitalCardProfile::type_] end end end diff --git a/sig/increase/models/digital_card_profile_archive_params.rbs b/sig/increase/models/digital_card_profile_archive_params.rbs index 9ee08288f..f649533b9 100644 --- a/sig/increase/models/digital_card_profile_archive_params.rbs +++ b/sig/increase/models/digital_card_profile_archive_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/digital_card_profile_clone_params.rbs b/sig/increase/models/digital_card_profile_clone_params.rbs index bc501fd9a..cc24cf944 100644 --- a/sig/increase/models/digital_card_profile_clone_params.rbs +++ b/sig/increase/models/digital_card_profile_clone_params.rbs @@ -69,6 +69,19 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + app_icon_file_id: String, + background_image_file_id: String, + card_description: String, + contact_email: String, + contact_phone: String, + contact_website: String, + description: String, + issuer_name: String, + text_color: Increase::DigitalCardProfileCloneParams::TextColor, + request_options: Increase::RequestOptions + } + type text_color = { blue: Integer, green: Integer, red: Integer } class TextColor < Increase::Internal::Type::BaseModel @@ -79,6 +92,8 @@ module Increase attr_accessor red: Integer def initialize: (blue: Integer, green: Integer, red: Integer) -> void + + def to_hash: -> { blue: Integer, green: Integer, red: Integer } end end end diff --git a/sig/increase/models/digital_card_profile_create_params.rbs b/sig/increase/models/digital_card_profile_create_params.rbs index 5f10936b4..5142b49c5 100644 --- a/sig/increase/models/digital_card_profile_create_params.rbs +++ b/sig/increase/models/digital_card_profile_create_params.rbs @@ -59,6 +59,19 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + app_icon_file_id: String, + background_image_file_id: String, + card_description: String, + description: String, + issuer_name: String, + contact_email: String, + contact_phone: String, + contact_website: String, + text_color: Increase::DigitalCardProfileCreateParams::TextColor, + request_options: Increase::RequestOptions + } + type text_color = { blue: Integer, green: Integer, red: Integer } class TextColor < Increase::Internal::Type::BaseModel @@ -69,6 +82,8 @@ module Increase attr_accessor red: Integer def initialize: (blue: Integer, green: Integer, red: Integer) -> void + + def to_hash: -> { blue: Integer, green: Integer, red: Integer } end end end diff --git a/sig/increase/models/digital_card_profile_list_params.rbs b/sig/increase/models/digital_card_profile_list_params.rbs index 36e89510c..3e01685cf 100644 --- a/sig/increase/models/digital_card_profile_list_params.rbs +++ b/sig/increase/models/digital_card_profile_list_params.rbs @@ -39,20 +39,34 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::DigitalCardProfileListParams::Status, + request_options: Increase::RequestOptions + } + type status = - { in_: ::Array[Increase::DigitalCardProfileListParams::Status::in_] } + { + in_: ::Array[Increase::Models::DigitalCardProfileListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::DigitalCardProfileListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::DigitalCardProfileListParams::Status::in_]? def in_=: ( - ::Array[Increase::DigitalCardProfileListParams::Status::in_] - ) -> ::Array[Increase::DigitalCardProfileListParams::Status::in_] + ::Array[Increase::Models::DigitalCardProfileListParams::Status::in_] + ) -> ::Array[Increase::Models::DigitalCardProfileListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::DigitalCardProfileListParams::Status::in_] + ?in_: ::Array[Increase::Models::DigitalCardProfileListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::DigitalCardProfileListParams::Status::in_] + } + type in_ = :pending | :rejected | :active | :archived module In @@ -70,7 +84,7 @@ module Increase # The Card Profile is no longer in use. ARCHIVED: :archived - def self?.values: -> ::Array[Increase::DigitalCardProfileListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::DigitalCardProfileListParams::Status::in_] end end end diff --git a/sig/increase/models/digital_card_profile_retrieve_params.rbs b/sig/increase/models/digital_card_profile_retrieve_params.rbs index 1454f6cf4..4d78608d0 100644 --- a/sig/increase/models/digital_card_profile_retrieve_params.rbs +++ b/sig/increase/models/digital_card_profile_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/digital_wallet_token.rbs b/sig/increase/models/digital_wallet_token.rbs index db654533e..4f02e362b 100644 --- a/sig/increase/models/digital_wallet_token.rbs +++ b/sig/increase/models/digital_wallet_token.rbs @@ -7,9 +7,9 @@ module Increase cardholder: Increase::DigitalWalletToken::Cardholder, created_at: Time, device: Increase::DigitalWalletToken::Device, - status: Increase::DigitalWalletToken::status, - token_requestor: Increase::DigitalWalletToken::token_requestor, - type: Increase::DigitalWalletToken::type_, + status: Increase::Models::DigitalWalletToken::status, + token_requestor: Increase::Models::DigitalWalletToken::token_requestor, + type: Increase::Models::DigitalWalletToken::type_, updates: ::Array[Increase::DigitalWalletToken::Update] } @@ -24,11 +24,11 @@ module Increase attr_accessor device: Increase::DigitalWalletToken::Device - attr_accessor status: Increase::DigitalWalletToken::status + attr_accessor status: Increase::Models::DigitalWalletToken::status - attr_accessor token_requestor: Increase::DigitalWalletToken::token_requestor + attr_accessor token_requestor: Increase::Models::DigitalWalletToken::token_requestor - attr_accessor type: Increase::DigitalWalletToken::type_ + attr_accessor type: Increase::Models::DigitalWalletToken::type_ attr_accessor updates: ::Array[Increase::DigitalWalletToken::Update] @@ -38,30 +38,44 @@ module Increase cardholder: Increase::DigitalWalletToken::Cardholder, created_at: Time, device: Increase::DigitalWalletToken::Device, - status: Increase::DigitalWalletToken::status, - token_requestor: Increase::DigitalWalletToken::token_requestor, - type: Increase::DigitalWalletToken::type_, + status: Increase::Models::DigitalWalletToken::status, + token_requestor: Increase::Models::DigitalWalletToken::token_requestor, + type: Increase::Models::DigitalWalletToken::type_, updates: ::Array[Increase::DigitalWalletToken::Update] ) -> void + def to_hash: -> { + id: String, + card_id: String, + cardholder: Increase::DigitalWalletToken::Cardholder, + created_at: Time, + device: Increase::DigitalWalletToken::Device, + status: Increase::Models::DigitalWalletToken::status, + token_requestor: Increase::Models::DigitalWalletToken::token_requestor, + type: Increase::Models::DigitalWalletToken::type_, + updates: ::Array[Increase::DigitalWalletToken::Update] + } + type cardholder = { name: String? } class Cardholder < Increase::Internal::Type::BaseModel attr_accessor name: String? def initialize: (name: String?) -> void + + def to_hash: -> { name: String? } end type device = { - device_type: Increase::DigitalWalletToken::Device::device_type?, + device_type: Increase::Models::DigitalWalletToken::Device::device_type?, identifier: String?, ip_address: String?, name: String? } class Device < Increase::Internal::Type::BaseModel - attr_accessor device_type: Increase::DigitalWalletToken::Device::device_type? + attr_accessor device_type: Increase::Models::DigitalWalletToken::Device::device_type? attr_accessor identifier: String? @@ -70,12 +84,19 @@ module Increase attr_accessor name: String? def initialize: ( - device_type: Increase::DigitalWalletToken::Device::device_type?, + device_type: Increase::Models::DigitalWalletToken::Device::device_type?, identifier: String?, ip_address: String?, name: String? ) -> void + def to_hash: -> { + device_type: Increase::Models::DigitalWalletToken::Device::device_type?, + identifier: String?, + ip_address: String?, + name: String? + } + type device_type = :unknown | :mobile_phone @@ -117,7 +138,7 @@ module Increase # Automobile Device AUTOMOBILE_DEVICE: :automobile_device - def self?.values: -> ::Array[Increase::DigitalWalletToken::Device::device_type] + def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Device::device_type] end end @@ -138,7 +159,7 @@ module Increase # The digital wallet token has been permanently canceled. DEACTIVATED: :deactivated - def self?.values: -> ::Array[Increase::DigitalWalletToken::status] + def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::status] end type token_requestor = :apple_pay | :google_pay | :samsung_pay | :unknown @@ -158,7 +179,7 @@ module Increase # Unknown UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::DigitalWalletToken::token_requestor] + def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::token_requestor] end type type_ = :digital_wallet_token @@ -168,25 +189,30 @@ module Increase DIGITAL_WALLET_TOKEN: :digital_wallet_token - def self?.values: -> ::Array[Increase::DigitalWalletToken::type_] + def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::type_] end type update = { - status: Increase::DigitalWalletToken::Update::status, + status: Increase::Models::DigitalWalletToken::Update::status, timestamp: Time } class Update < Increase::Internal::Type::BaseModel - attr_accessor status: Increase::DigitalWalletToken::Update::status + attr_accessor status: Increase::Models::DigitalWalletToken::Update::status attr_accessor timestamp: Time def initialize: ( - status: Increase::DigitalWalletToken::Update::status, + status: Increase::Models::DigitalWalletToken::Update::status, timestamp: Time ) -> void + def to_hash: -> { + status: Increase::Models::DigitalWalletToken::Update::status, + timestamp: Time + } + type status = :active | :inactive | :suspended | :deactivated module Status @@ -204,7 +230,7 @@ module Increase # The digital wallet token has been permanently canceled. DEACTIVATED: :deactivated - def self?.values: -> ::Array[Increase::DigitalWalletToken::Update::status] + def self?.values: -> ::Array[Increase::Models::DigitalWalletToken::Update::status] end end end diff --git a/sig/increase/models/digital_wallet_token_list_params.rbs b/sig/increase/models/digital_wallet_token_list_params.rbs index eb7f7b7ec..1aafbd42b 100644 --- a/sig/increase/models/digital_wallet_token_list_params.rbs +++ b/sig/increase/models/digital_wallet_token_list_params.rbs @@ -39,6 +39,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + card_id: String, + created_at: Increase::DigitalWalletTokenListParams::CreatedAt, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -65,6 +73,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/digital_wallet_token_retrieve_params.rbs b/sig/increase/models/digital_wallet_token_retrieve_params.rbs index 6f1399051..12072545b 100644 --- a/sig/increase/models/digital_wallet_token_retrieve_params.rbs +++ b/sig/increase/models/digital_wallet_token_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/document.rbs b/sig/increase/models/document.rbs index 1aaf1129f..6a12ff556 100644 --- a/sig/increase/models/document.rbs +++ b/sig/increase/models/document.rbs @@ -3,17 +3,17 @@ module Increase type document = { id: String, - category: Increase::Document::category, + category: Increase::Models::Document::category, created_at: Time, entity_id: String?, file_id: String, - type: Increase::Document::type_ + type: Increase::Models::Document::type_ } class Document < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor category: Increase::Document::category + attr_accessor category: Increase::Models::Document::category attr_accessor created_at: Time @@ -21,17 +21,26 @@ module Increase attr_accessor file_id: String - attr_accessor type: Increase::Document::type_ + attr_accessor type: Increase::Models::Document::type_ def initialize: ( id: String, - category: Increase::Document::category, + category: Increase::Models::Document::category, created_at: Time, entity_id: String?, file_id: String, - type: Increase::Document::type_ + type: Increase::Models::Document::type_ ) -> void + def to_hash: -> { + id: String, + category: Increase::Models::Document::category, + created_at: Time, + entity_id: String?, + file_id: String, + type: Increase::Models::Document::type_ + } + type category = :form_1099_int | :form_1099_misc @@ -53,7 +62,7 @@ module Increase # Company information, such a policies or procedures, typically submitted during our due diligence process. COMPANY_INFORMATION: :company_information - def self?.values: -> ::Array[Increase::Document::category] + def self?.values: -> ::Array[Increase::Models::Document::category] end type type_ = :document @@ -63,7 +72,7 @@ module Increase DOCUMENT: :document - def self?.values: -> ::Array[Increase::Document::type_] + def self?.values: -> ::Array[Increase::Models::Document::type_] end end end diff --git a/sig/increase/models/document_list_params.rbs b/sig/increase/models/document_list_params.rbs index 007164ae0..f14106db3 100644 --- a/sig/increase/models/document_list_params.rbs +++ b/sig/increase/models/document_list_params.rbs @@ -47,20 +47,33 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + category: Increase::DocumentListParams::Category, + created_at: Increase::DocumentListParams::CreatedAt, + cursor: String, + entity_id: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type category = - { in_: ::Array[Increase::DocumentListParams::Category::in_] } + { in_: ::Array[Increase::Models::DocumentListParams::Category::in_] } class Category < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::DocumentListParams::Category::in_]? + attr_reader in_: ::Array[Increase::Models::DocumentListParams::Category::in_]? def in_=: ( - ::Array[Increase::DocumentListParams::Category::in_] - ) -> ::Array[Increase::DocumentListParams::Category::in_] + ::Array[Increase::Models::DocumentListParams::Category::in_] + ) -> ::Array[Increase::Models::DocumentListParams::Category::in_] def initialize: ( - ?in_: ::Array[Increase::DocumentListParams::Category::in_] + ?in_: ::Array[Increase::Models::DocumentListParams::Category::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::DocumentListParams::Category::in_] + } + type in_ = :form_1099_int | :form_1099_misc @@ -82,7 +95,7 @@ module Increase # Company information, such a policies or procedures, typically submitted during our due diligence process. COMPANY_INFORMATION: :company_information - def self?.values: -> ::Array[Increase::DocumentListParams::Category::in_] + def self?.values: -> ::Array[Increase::Models::DocumentListParams::Category::in_] end end @@ -112,6 +125,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/document_retrieve_params.rbs b/sig/increase/models/document_retrieve_params.rbs index 0960a6c10..3b32b940f 100644 --- a/sig/increase/models/document_retrieve_params.rbs +++ b/sig/increase/models/document_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/entity.rbs b/sig/increase/models/entity.rbs index 91c186d13..ed1f9585d 100644 --- a/sig/increase/models/entity.rbs +++ b/sig/increase/models/entity.rbs @@ -11,12 +11,12 @@ module Increase idempotency_key: String?, joint: Increase::Entity::Joint?, natural_person: Increase::Entity::NaturalPerson?, - status: Increase::Entity::status, - structure: Increase::Entity::structure, + status: Increase::Models::Entity::status, + structure: Increase::Models::Entity::structure, supplemental_documents: ::Array[Increase::EntitySupplementalDocument], third_party_verification: Increase::Entity::ThirdPartyVerification?, trust: Increase::Entity::Trust?, - type: Increase::Entity::type_ + type: Increase::Models::Entity::type_ } class Entity < Increase::Internal::Type::BaseModel @@ -38,9 +38,9 @@ module Increase attr_accessor natural_person: Increase::Entity::NaturalPerson? - attr_accessor status: Increase::Entity::status + attr_accessor status: Increase::Models::Entity::status - attr_accessor structure: Increase::Entity::structure + attr_accessor structure: Increase::Models::Entity::structure attr_accessor supplemental_documents: ::Array[Increase::EntitySupplementalDocument] @@ -48,7 +48,7 @@ module Increase attr_accessor trust: Increase::Entity::Trust? - attr_accessor type: Increase::Entity::type_ + attr_accessor type: Increase::Models::Entity::type_ def initialize: ( id: String, @@ -60,14 +60,32 @@ module Increase idempotency_key: String?, joint: Increase::Entity::Joint?, natural_person: Increase::Entity::NaturalPerson?, - status: Increase::Entity::status, - structure: Increase::Entity::structure, + status: Increase::Models::Entity::status, + structure: Increase::Models::Entity::structure, supplemental_documents: ::Array[Increase::EntitySupplementalDocument], third_party_verification: Increase::Entity::ThirdPartyVerification?, trust: Increase::Entity::Trust?, - type: Increase::Entity::type_ + type: Increase::Models::Entity::type_ ) -> void + def to_hash: -> { + id: String, + corporation: Increase::Entity::Corporation?, + created_at: Time, + description: String?, + details_confirmed_at: Time?, + government_authority: Increase::Entity::GovernmentAuthority?, + idempotency_key: String?, + joint: Increase::Entity::Joint?, + natural_person: Increase::Entity::NaturalPerson?, + status: Increase::Models::Entity::status, + structure: Increase::Models::Entity::structure, + supplemental_documents: ::Array[Increase::EntitySupplementalDocument], + third_party_verification: Increase::Entity::ThirdPartyVerification?, + trust: Increase::Entity::Trust?, + type: Increase::Models::Entity::type_ + } + type corporation = { address: Increase::Entity::Corporation::Address, @@ -104,6 +122,16 @@ module Increase website: String? ) -> void + def to_hash: -> { + address: Increase::Entity::Corporation::Address, + beneficial_owners: ::Array[Increase::Entity::Corporation::BeneficialOwner], + incorporation_state: String?, + industry_code: String?, + name: String, + tax_identifier: String?, + website: String? + } + type address = { city: String, @@ -131,6 +159,14 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + state: String, + zip: String + } end type beneficial_owner = @@ -138,7 +174,7 @@ module Increase beneficial_owner_id: String, company_title: String?, individual: Increase::Entity::Corporation::BeneficialOwner::Individual, - prong: Increase::Entity::Corporation::BeneficialOwner::prong + prong: Increase::Models::Entity::Corporation::BeneficialOwner::prong } class BeneficialOwner < Increase::Internal::Type::BaseModel @@ -148,15 +184,22 @@ module Increase attr_accessor individual: Increase::Entity::Corporation::BeneficialOwner::Individual - attr_accessor prong: Increase::Entity::Corporation::BeneficialOwner::prong + attr_accessor prong: Increase::Models::Entity::Corporation::BeneficialOwner::prong def initialize: ( beneficial_owner_id: String, company_title: String?, individual: Increase::Entity::Corporation::BeneficialOwner::Individual, - prong: Increase::Entity::Corporation::BeneficialOwner::prong + prong: Increase::Models::Entity::Corporation::BeneficialOwner::prong ) -> void + def to_hash: -> { + beneficial_owner_id: String, + company_title: String?, + individual: Increase::Entity::Corporation::BeneficialOwner::Individual, + prong: Increase::Models::Entity::Corporation::BeneficialOwner::prong + } + type individual = { address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address, @@ -181,6 +224,13 @@ module Increase name: String ) -> void + def to_hash: -> { + address: Increase::Entity::Corporation::BeneficialOwner::Individual::Address, + date_of_birth: Date, + identification: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification, + name: String + } + type address = { city: String?, @@ -212,24 +262,38 @@ module Increase state: String?, zip: String? ) -> void + + def to_hash: -> { + city: String?, + country: String, + :line1 => String, + :line2 => String?, + state: String?, + zip: String? + } end type identification = { - method_: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::method_, + method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_, :number_last4 => String } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::method_ + attr_accessor method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_ attr_accessor number_last4: String def initialize: ( - method_: Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::method_, + method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_, number_last4: String ) -> void + def to_hash: -> { + method_: Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_, + :number_last4 => String + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -255,7 +319,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::Entity::Corporation::BeneficialOwner::Individual::Identification::method_] + def self?.values: -> ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::Individual::Identification::method_] end end end @@ -271,7 +335,7 @@ module Increase # A person who manages, directs, or has significant control of the entity. CONTROL: :control - def self?.values: -> ::Array[Increase::Entity::Corporation::BeneficialOwner::prong] + def self?.values: -> ::Array[Increase::Models::Entity::Corporation::BeneficialOwner::prong] end end end @@ -280,7 +344,7 @@ module Increase { address: Increase::Entity::GovernmentAuthority::Address, authorized_persons: ::Array[Increase::Entity::GovernmentAuthority::AuthorizedPerson], - category: Increase::Entity::GovernmentAuthority::category, + category: Increase::Models::Entity::GovernmentAuthority::category, name: String, tax_identifier: String?, website: String? @@ -291,7 +355,7 @@ module Increase attr_accessor authorized_persons: ::Array[Increase::Entity::GovernmentAuthority::AuthorizedPerson] - attr_accessor category: Increase::Entity::GovernmentAuthority::category + attr_accessor category: Increase::Models::Entity::GovernmentAuthority::category attr_accessor name: String @@ -302,12 +366,21 @@ module Increase def initialize: ( address: Increase::Entity::GovernmentAuthority::Address, authorized_persons: ::Array[Increase::Entity::GovernmentAuthority::AuthorizedPerson], - category: Increase::Entity::GovernmentAuthority::category, + category: Increase::Models::Entity::GovernmentAuthority::category, name: String, tax_identifier: String?, website: String? ) -> void + def to_hash: -> { + address: Increase::Entity::GovernmentAuthority::Address, + authorized_persons: ::Array[Increase::Entity::GovernmentAuthority::AuthorizedPerson], + category: Increase::Models::Entity::GovernmentAuthority::category, + name: String, + tax_identifier: String?, + website: String? + } + type address = { city: String, @@ -335,6 +408,14 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + state: String, + zip: String + } end type authorized_person = { authorized_person_id: String, name: String } @@ -345,6 +426,8 @@ module Increase attr_accessor name: String def initialize: (authorized_person_id: String, name: String) -> void + + def to_hash: -> { authorized_person_id: String, name: String } end type category = :municipality @@ -355,7 +438,7 @@ module Increase # The Public Entity is a Municipality. MUNICIPALITY: :municipality - def self?.values: -> ::Array[Increase::Entity::GovernmentAuthority::category] + def self?.values: -> ::Array[Increase::Models::Entity::GovernmentAuthority::category] end end @@ -375,6 +458,11 @@ module Increase name: String ) -> void + def to_hash: -> { + individuals: ::Array[Increase::Entity::Joint::Individual], + name: String + } + type individual = { address: Increase::Entity::Joint::Individual::Address, @@ -399,6 +487,13 @@ module Increase name: String ) -> void + def to_hash: -> { + address: Increase::Entity::Joint::Individual::Address, + date_of_birth: Date, + identification: Increase::Entity::Joint::Individual::Identification, + name: String + } + type address = { city: String, @@ -426,24 +521,37 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + state: String, + zip: String + } end type identification = { - method_: Increase::Entity::Joint::Individual::Identification::method_, + method_: Increase::Models::Entity::Joint::Individual::Identification::method_, :number_last4 => String } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::Entity::Joint::Individual::Identification::method_ + attr_accessor method_: Increase::Models::Entity::Joint::Individual::Identification::method_ attr_accessor number_last4: String def initialize: ( - method_: Increase::Entity::Joint::Individual::Identification::method_, + method_: Increase::Models::Entity::Joint::Individual::Identification::method_, number_last4: String ) -> void + def to_hash: -> { + method_: Increase::Models::Entity::Joint::Individual::Identification::method_, + :number_last4 => String + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -469,7 +577,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::Entity::Joint::Individual::Identification::method_] + def self?.values: -> ::Array[Increase::Models::Entity::Joint::Individual::Identification::method_] end end end @@ -499,6 +607,13 @@ module Increase name: String ) -> void + def to_hash: -> { + address: Increase::Entity::NaturalPerson::Address, + date_of_birth: Date, + identification: Increase::Entity::NaturalPerson::Identification, + name: String + } + type address = { city: String, @@ -526,24 +641,37 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + state: String, + zip: String + } end type identification = { - method_: Increase::Entity::NaturalPerson::Identification::method_, + method_: Increase::Models::Entity::NaturalPerson::Identification::method_, :number_last4 => String } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::Entity::NaturalPerson::Identification::method_ + attr_accessor method_: Increase::Models::Entity::NaturalPerson::Identification::method_ attr_accessor number_last4: String def initialize: ( - method_: Increase::Entity::NaturalPerson::Identification::method_, + method_: Increase::Models::Entity::NaturalPerson::Identification::method_, number_last4: String ) -> void + def to_hash: -> { + method_: Increase::Models::Entity::NaturalPerson::Identification::method_, + :number_last4 => String + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -569,7 +697,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::Entity::NaturalPerson::Identification::method_] + def self?.values: -> ::Array[Increase::Models::Entity::NaturalPerson::Identification::method_] end end end @@ -588,7 +716,7 @@ module Increase # The entity is temporarily disabled and cannot be used for financial activity. DISABLED: :disabled - def self?.values: -> ::Array[Increase::Entity::status] + def self?.values: -> ::Array[Increase::Models::Entity::status] end type structure = @@ -612,25 +740,30 @@ module Increase # A government authority. GOVERNMENT_AUTHORITY: :government_authority - def self?.values: -> ::Array[Increase::Entity::structure] + def self?.values: -> ::Array[Increase::Models::Entity::structure] end type third_party_verification = { reference: String, - vendor: Increase::Entity::ThirdPartyVerification::vendor + vendor: Increase::Models::Entity::ThirdPartyVerification::vendor } class ThirdPartyVerification < Increase::Internal::Type::BaseModel attr_accessor reference: String - attr_accessor vendor: Increase::Entity::ThirdPartyVerification::vendor + attr_accessor vendor: Increase::Models::Entity::ThirdPartyVerification::vendor def initialize: ( reference: String, - vendor: Increase::Entity::ThirdPartyVerification::vendor + vendor: Increase::Models::Entity::ThirdPartyVerification::vendor ) -> void + def to_hash: -> { + reference: String, + vendor: Increase::Models::Entity::ThirdPartyVerification::vendor + } + type vendor = :alloy | :middesk | :oscilar module Vendor @@ -645,14 +778,14 @@ module Increase # Oscilar. See https://oscilar.com for more information. OSCILAR: :oscilar - def self?.values: -> ::Array[Increase::Entity::ThirdPartyVerification::vendor] + def self?.values: -> ::Array[Increase::Models::Entity::ThirdPartyVerification::vendor] end end type trust = { address: Increase::Entity::Trust::Address, - category: Increase::Entity::Trust::category, + category: Increase::Models::Entity::Trust::category, formation_document_file_id: String?, formation_state: String?, grantor: Increase::Entity::Trust::Grantor?, @@ -664,7 +797,7 @@ module Increase class Trust < Increase::Internal::Type::BaseModel attr_accessor address: Increase::Entity::Trust::Address - attr_accessor category: Increase::Entity::Trust::category + attr_accessor category: Increase::Models::Entity::Trust::category attr_accessor formation_document_file_id: String? @@ -680,7 +813,7 @@ module Increase def initialize: ( address: Increase::Entity::Trust::Address, - category: Increase::Entity::Trust::category, + category: Increase::Models::Entity::Trust::category, formation_document_file_id: String?, formation_state: String?, grantor: Increase::Entity::Trust::Grantor?, @@ -689,6 +822,17 @@ module Increase trustees: ::Array[Increase::Entity::Trust::Trustee] ) -> void + def to_hash: -> { + address: Increase::Entity::Trust::Address, + category: Increase::Models::Entity::Trust::category, + formation_document_file_id: String?, + formation_state: String?, + grantor: Increase::Entity::Trust::Grantor?, + name: String, + tax_identifier: String?, + trustees: ::Array[Increase::Entity::Trust::Trustee] + } + type address = { city: String, @@ -716,6 +860,14 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + state: String, + zip: String + } end type category = :revocable | :irrevocable @@ -729,7 +881,7 @@ module Increase # The trust cannot be revoked. IRREVOCABLE: :irrevocable - def self?.values: -> ::Array[Increase::Entity::Trust::category] + def self?.values: -> ::Array[Increase::Models::Entity::Trust::category] end type grantor = @@ -756,6 +908,13 @@ module Increase name: String ) -> void + def to_hash: -> { + address: Increase::Entity::Trust::Grantor::Address, + date_of_birth: Date, + identification: Increase::Entity::Trust::Grantor::Identification, + name: String + } + type address = { city: String, @@ -783,24 +942,37 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + state: String, + zip: String + } end type identification = { - method_: Increase::Entity::Trust::Grantor::Identification::method_, + method_: Increase::Models::Entity::Trust::Grantor::Identification::method_, :number_last4 => String } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::Entity::Trust::Grantor::Identification::method_ + attr_accessor method_: Increase::Models::Entity::Trust::Grantor::Identification::method_ attr_accessor number_last4: String def initialize: ( - method_: Increase::Entity::Trust::Grantor::Identification::method_, + method_: Increase::Models::Entity::Trust::Grantor::Identification::method_, number_last4: String ) -> void + def to_hash: -> { + method_: Increase::Models::Entity::Trust::Grantor::Identification::method_, + :number_last4 => String + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -826,7 +998,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::Entity::Trust::Grantor::Identification::method_] + def self?.values: -> ::Array[Increase::Models::Entity::Trust::Grantor::Identification::method_] end end end @@ -834,19 +1006,24 @@ module Increase type trustee = { individual: Increase::Entity::Trust::Trustee::Individual?, - structure: Increase::Entity::Trust::Trustee::structure + structure: Increase::Models::Entity::Trust::Trustee::structure } class Trustee < Increase::Internal::Type::BaseModel attr_accessor individual: Increase::Entity::Trust::Trustee::Individual? - attr_accessor structure: Increase::Entity::Trust::Trustee::structure + attr_accessor structure: Increase::Models::Entity::Trust::Trustee::structure def initialize: ( individual: Increase::Entity::Trust::Trustee::Individual?, - structure: Increase::Entity::Trust::Trustee::structure + structure: Increase::Models::Entity::Trust::Trustee::structure ) -> void + def to_hash: -> { + individual: Increase::Entity::Trust::Trustee::Individual?, + structure: Increase::Models::Entity::Trust::Trustee::structure + } + type individual = { address: Increase::Entity::Trust::Trustee::Individual::Address, @@ -871,6 +1048,13 @@ module Increase name: String ) -> void + def to_hash: -> { + address: Increase::Entity::Trust::Trustee::Individual::Address, + date_of_birth: Date, + identification: Increase::Entity::Trust::Trustee::Individual::Identification, + name: String + } + type address = { city: String, @@ -898,24 +1082,37 @@ module Increase state: String, zip: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + state: String, + zip: String + } end type identification = { - method_: Increase::Entity::Trust::Trustee::Individual::Identification::method_, + method_: Increase::Models::Entity::Trust::Trustee::Individual::Identification::method_, :number_last4 => String } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::Entity::Trust::Trustee::Individual::Identification::method_ + attr_accessor method_: Increase::Models::Entity::Trust::Trustee::Individual::Identification::method_ attr_accessor number_last4: String def initialize: ( - method_: Increase::Entity::Trust::Trustee::Individual::Identification::method_, + method_: Increase::Models::Entity::Trust::Trustee::Individual::Identification::method_, number_last4: String ) -> void + def to_hash: -> { + method_: Increase::Models::Entity::Trust::Trustee::Individual::Identification::method_, + :number_last4 => String + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -941,7 +1138,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::Entity::Trust::Trustee::Individual::Identification::method_] + def self?.values: -> ::Array[Increase::Models::Entity::Trust::Trustee::Individual::Identification::method_] end end end @@ -954,7 +1151,7 @@ module Increase # The trustee is an individual. INDIVIDUAL: :individual - def self?.values: -> ::Array[Increase::Entity::Trust::Trustee::structure] + def self?.values: -> ::Array[Increase::Models::Entity::Trust::Trustee::structure] end end end @@ -966,7 +1163,7 @@ module Increase ENTITY: :entity - def self?.values: -> ::Array[Increase::Entity::type_] + def self?.values: -> ::Array[Increase::Models::Entity::type_] end end end diff --git a/sig/increase/models/entity_archive_beneficial_owner_params.rbs b/sig/increase/models/entity_archive_beneficial_owner_params.rbs index bcfa79a1e..83253b43a 100644 --- a/sig/increase/models/entity_archive_beneficial_owner_params.rbs +++ b/sig/increase/models/entity_archive_beneficial_owner_params.rbs @@ -14,6 +14,11 @@ module Increase beneficial_owner_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + beneficial_owner_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/entity_archive_params.rbs b/sig/increase/models/entity_archive_params.rbs index e99b47b09..aa0714a0a 100644 --- a/sig/increase/models/entity_archive_params.rbs +++ b/sig/increase/models/entity_archive_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/entity_confirm_params.rbs b/sig/increase/models/entity_confirm_params.rbs index 8bc5b4d03..48878c5f1 100644 --- a/sig/increase/models/entity_confirm_params.rbs +++ b/sig/increase/models/entity_confirm_params.rbs @@ -15,6 +15,11 @@ module Increase ?confirmed_at: Time, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + confirmed_at: Time, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/entity_create_beneficial_owner_params.rbs b/sig/increase/models/entity_create_beneficial_owner_params.rbs index af72ec079..8aabda88f 100644 --- a/sig/increase/models/entity_create_beneficial_owner_params.rbs +++ b/sig/increase/models/entity_create_beneficial_owner_params.rbs @@ -17,17 +17,22 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + beneficial_owner: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner, + request_options: Increase::RequestOptions + } + type beneficial_owner = { individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual, - prongs: ::Array[Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong], + prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong], company_title: String } class BeneficialOwner < Increase::Internal::Type::BaseModel attr_accessor individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual - attr_accessor prongs: ::Array[Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong] + attr_accessor prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong] attr_reader company_title: String? @@ -35,10 +40,16 @@ module Increase def initialize: ( individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual, - prongs: ::Array[Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong], + prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong], ?company_title: String ) -> void + def to_hash: -> { + individual: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual, + prongs: ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong], + company_title: String + } + type individual = { address: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address, @@ -69,6 +80,14 @@ module Increase ?confirmed_no_us_tax_id: bool ) -> void + def to_hash: -> { + address: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Address, + date_of_birth: Date, + identification: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification, + name: String, + confirmed_no_us_tax_id: bool + } + type address = { country: String, @@ -108,11 +127,20 @@ module Increase ?state: String, ?zip: String ) -> void + + def to_hash: -> { + country: String, + :line1 => String, + city: String, + :line2 => String, + state: String, + zip: String + } end type identification = { - method_: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_, + method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_, number: String, drivers_license: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense, other: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other, @@ -120,7 +148,7 @@ module Increase } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_ + attr_accessor method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_ attr_accessor number: String @@ -143,13 +171,21 @@ module Increase ) -> Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport def initialize: ( - method_: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_, + method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_, number: String, ?drivers_license: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense, ?other: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other, ?passport: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport ) -> void + def to_hash: -> { + method_: Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_, + number: String, + drivers_license: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::DriversLicense, + other: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Other, + passport: Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::Passport + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -175,7 +211,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_] + def self?.values: -> ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::Individual::Identification::method_] end type drivers_license = @@ -203,6 +239,13 @@ module Increase state: String, ?back_file_id: String ) -> void + + def to_hash: -> { + expiration_date: Date, + file_id: String, + state: String, + back_file_id: String + } end type other = @@ -236,6 +279,14 @@ module Increase ?back_file_id: String, ?expiration_date: Date ) -> void + + def to_hash: -> { + country: String, + description: String, + file_id: String, + back_file_id: String, + expiration_date: Date + } end type passport = @@ -253,6 +304,12 @@ module Increase expiration_date: Date, file_id: String ) -> void + + def to_hash: -> { + country: String, + expiration_date: Date, + file_id: String + } end end end @@ -268,7 +325,7 @@ module Increase # A person who manages, directs, or has significant control of the entity. CONTROL: :control - def self?.values: -> ::Array[Increase::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong] + def self?.values: -> ::Array[Increase::Models::EntityCreateBeneficialOwnerParams::BeneficialOwner::prong] end end end diff --git a/sig/increase/models/entity_create_params.rbs b/sig/increase/models/entity_create_params.rbs index 6767fe853..08cc4ad5a 100644 --- a/sig/increase/models/entity_create_params.rbs +++ b/sig/increase/models/entity_create_params.rbs @@ -79,6 +79,19 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + structure: Increase::Models::EntityCreateParams::structure, + corporation: Increase::EntityCreateParams::Corporation, + description: String, + government_authority: Increase::EntityCreateParams::GovernmentAuthority, + joint: Increase::EntityCreateParams::Joint, + natural_person: Increase::EntityCreateParams::NaturalPerson, + supplemental_documents: ::Array[Increase::EntityCreateParams::SupplementalDocument], + third_party_verification: Increase::EntityCreateParams::ThirdPartyVerification, + trust: Increase::EntityCreateParams::Trust, + request_options: Increase::RequestOptions + } + type structure = :corporation | :natural_person | :joint | :trust | :government_authority @@ -109,7 +122,7 @@ module Increase beneficial_owners: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner], name: String, tax_identifier: String, - beneficial_ownership_exemption_reason: Increase::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, + beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, incorporation_state: String, industry_code: String, website: String @@ -124,11 +137,11 @@ module Increase attr_accessor tax_identifier: String - attr_reader beneficial_ownership_exemption_reason: Increase::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason? + attr_reader beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason? def beneficial_ownership_exemption_reason=: ( - Increase::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason - ) -> Increase::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason + Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason + ) -> Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason attr_reader incorporation_state: String? @@ -147,12 +160,23 @@ module Increase beneficial_owners: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner], name: String, tax_identifier: String, - ?beneficial_ownership_exemption_reason: Increase::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, + ?beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, ?incorporation_state: String, ?industry_code: String, ?website: String ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::Corporation::Address, + beneficial_owners: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner], + name: String, + tax_identifier: String, + beneficial_ownership_exemption_reason: Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason, + incorporation_state: String, + industry_code: String, + website: String + } + type address = { city: String, @@ -182,19 +206,27 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end type beneficial_owner = { individual: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual, - prongs: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner::prong], + prongs: ::Array[Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::prong], company_title: String } class BeneficialOwner < Increase::Internal::Type::BaseModel attr_accessor individual: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual - attr_accessor prongs: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner::prong] + attr_accessor prongs: ::Array[Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::prong] attr_reader company_title: String? @@ -202,10 +234,16 @@ module Increase def initialize: ( individual: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual, - prongs: ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner::prong], + prongs: ::Array[Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::prong], ?company_title: String ) -> void + def to_hash: -> { + individual: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual, + prongs: ::Array[Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::prong], + company_title: String + } + type individual = { address: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address, @@ -236,6 +274,14 @@ module Increase ?confirmed_no_us_tax_id: bool ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Address, + date_of_birth: Date, + identification: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification, + name: String, + confirmed_no_us_tax_id: bool + } + type address = { country: String, @@ -275,11 +321,20 @@ module Increase ?state: String, ?zip: String ) -> void + + def to_hash: -> { + country: String, + :line1 => String, + city: String, + :line2 => String, + state: String, + zip: String + } end type identification = { - method_: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_, + method_: Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_, number: String, drivers_license: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense, other: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other, @@ -287,7 +342,7 @@ module Increase } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_ + attr_accessor method_: Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_ attr_accessor number: String @@ -310,13 +365,21 @@ module Increase ) -> Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport def initialize: ( - method_: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_, + method_: Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_, number: String, ?drivers_license: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense, ?other: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other, ?passport: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport ) -> void + def to_hash: -> { + method_: Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_, + number: String, + drivers_license: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::DriversLicense, + other: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Other, + passport: Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::Passport + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -342,7 +405,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::Individual::Identification::method_] end type drivers_license = @@ -370,6 +433,13 @@ module Increase state: String, ?back_file_id: String ) -> void + + def to_hash: -> { + expiration_date: Date, + file_id: String, + state: String, + back_file_id: String + } end type other = @@ -403,6 +473,14 @@ module Increase ?back_file_id: String, ?expiration_date: Date ) -> void + + def to_hash: -> { + country: String, + description: String, + file_id: String, + back_file_id: String, + expiration_date: Date + } end type passport = @@ -420,6 +498,12 @@ module Increase expiration_date: Date, file_id: String ) -> void + + def to_hash: -> { + country: String, + expiration_date: Date, + file_id: String + } end end end @@ -435,7 +519,7 @@ module Increase # A person who manages, directs, or has significant control of the entity. CONTROL: :control - def self?.values: -> ::Array[Increase::EntityCreateParams::Corporation::BeneficialOwner::prong] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Corporation::BeneficialOwner::prong] end end @@ -456,7 +540,7 @@ module Increase # A public entity acting on behalf of the federal or a state government. PUBLIC_ENTITY: :public_entity - def self?.values: -> ::Array[Increase::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Corporation::beneficial_ownership_exemption_reason] end end @@ -464,7 +548,7 @@ module Increase { address: Increase::EntityCreateParams::GovernmentAuthority::Address, authorized_persons: ::Array[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson], - category: Increase::EntityCreateParams::GovernmentAuthority::category, + category: Increase::Models::EntityCreateParams::GovernmentAuthority::category, name: String, tax_identifier: String, website: String @@ -475,7 +559,7 @@ module Increase attr_accessor authorized_persons: ::Array[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson] - attr_accessor category: Increase::EntityCreateParams::GovernmentAuthority::category + attr_accessor category: Increase::Models::EntityCreateParams::GovernmentAuthority::category attr_accessor name: String @@ -488,12 +572,21 @@ module Increase def initialize: ( address: Increase::EntityCreateParams::GovernmentAuthority::Address, authorized_persons: ::Array[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson], - category: Increase::EntityCreateParams::GovernmentAuthority::category, + category: Increase::Models::EntityCreateParams::GovernmentAuthority::category, name: String, tax_identifier: String, ?website: String ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::GovernmentAuthority::Address, + authorized_persons: ::Array[Increase::EntityCreateParams::GovernmentAuthority::AuthorizedPerson], + category: Increase::Models::EntityCreateParams::GovernmentAuthority::category, + name: String, + tax_identifier: String, + website: String + } + type address = { city: String, @@ -523,6 +616,14 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end type authorized_person = { name: String } @@ -531,6 +632,8 @@ module Increase attr_accessor name: String def initialize: (name: String) -> void + + def to_hash: -> { name: String } end type category = :municipality @@ -541,7 +644,7 @@ module Increase # The Public Entity is a Municipality. MUNICIPALITY: :municipality - def self?.values: -> ::Array[Increase::EntityCreateParams::GovernmentAuthority::category] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::GovernmentAuthority::category] end end @@ -563,6 +666,11 @@ module Increase ?name: String ) -> void + def to_hash: -> { + individuals: ::Array[Increase::EntityCreateParams::Joint::Individual], + name: String + } + type individual = { address: Increase::EntityCreateParams::Joint::Individual::Address, @@ -593,6 +701,14 @@ module Increase ?confirmed_no_us_tax_id: bool ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::Joint::Individual::Address, + date_of_birth: Date, + identification: Increase::EntityCreateParams::Joint::Individual::Identification, + name: String, + confirmed_no_us_tax_id: bool + } + type address = { city: String, @@ -622,11 +738,19 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end type identification = { - method_: Increase::EntityCreateParams::Joint::Individual::Identification::method_, + method_: Increase::Models::EntityCreateParams::Joint::Individual::Identification::method_, number: String, drivers_license: Increase::EntityCreateParams::Joint::Individual::Identification::DriversLicense, other: Increase::EntityCreateParams::Joint::Individual::Identification::Other, @@ -634,7 +758,7 @@ module Increase } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::EntityCreateParams::Joint::Individual::Identification::method_ + attr_accessor method_: Increase::Models::EntityCreateParams::Joint::Individual::Identification::method_ attr_accessor number: String @@ -657,13 +781,21 @@ module Increase ) -> Increase::EntityCreateParams::Joint::Individual::Identification::Passport def initialize: ( - method_: Increase::EntityCreateParams::Joint::Individual::Identification::method_, + method_: Increase::Models::EntityCreateParams::Joint::Individual::Identification::method_, number: String, ?drivers_license: Increase::EntityCreateParams::Joint::Individual::Identification::DriversLicense, ?other: Increase::EntityCreateParams::Joint::Individual::Identification::Other, ?passport: Increase::EntityCreateParams::Joint::Individual::Identification::Passport ) -> void + def to_hash: -> { + method_: Increase::Models::EntityCreateParams::Joint::Individual::Identification::method_, + number: String, + drivers_license: Increase::EntityCreateParams::Joint::Individual::Identification::DriversLicense, + other: Increase::EntityCreateParams::Joint::Individual::Identification::Other, + passport: Increase::EntityCreateParams::Joint::Individual::Identification::Passport + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -689,7 +821,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::EntityCreateParams::Joint::Individual::Identification::method_] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Joint::Individual::Identification::method_] end type drivers_license = @@ -717,6 +849,13 @@ module Increase state: String, ?back_file_id: String ) -> void + + def to_hash: -> { + expiration_date: Date, + file_id: String, + state: String, + back_file_id: String + } end type other = @@ -750,6 +889,14 @@ module Increase ?back_file_id: String, ?expiration_date: Date ) -> void + + def to_hash: -> { + country: String, + description: String, + file_id: String, + back_file_id: String, + expiration_date: Date + } end type passport = @@ -767,6 +914,12 @@ module Increase expiration_date: Date, file_id: String ) -> void + + def to_hash: -> { + country: String, + expiration_date: Date, + file_id: String + } end end end @@ -802,6 +955,14 @@ module Increase ?confirmed_no_us_tax_id: bool ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::NaturalPerson::Address, + date_of_birth: Date, + identification: Increase::EntityCreateParams::NaturalPerson::Identification, + name: String, + confirmed_no_us_tax_id: bool + } + type address = { city: String, @@ -831,11 +992,19 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end type identification = { - method_: Increase::EntityCreateParams::NaturalPerson::Identification::method_, + method_: Increase::Models::EntityCreateParams::NaturalPerson::Identification::method_, number: String, drivers_license: Increase::EntityCreateParams::NaturalPerson::Identification::DriversLicense, other: Increase::EntityCreateParams::NaturalPerson::Identification::Other, @@ -843,7 +1012,7 @@ module Increase } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::EntityCreateParams::NaturalPerson::Identification::method_ + attr_accessor method_: Increase::Models::EntityCreateParams::NaturalPerson::Identification::method_ attr_accessor number: String @@ -866,13 +1035,21 @@ module Increase ) -> Increase::EntityCreateParams::NaturalPerson::Identification::Passport def initialize: ( - method_: Increase::EntityCreateParams::NaturalPerson::Identification::method_, + method_: Increase::Models::EntityCreateParams::NaturalPerson::Identification::method_, number: String, ?drivers_license: Increase::EntityCreateParams::NaturalPerson::Identification::DriversLicense, ?other: Increase::EntityCreateParams::NaturalPerson::Identification::Other, ?passport: Increase::EntityCreateParams::NaturalPerson::Identification::Passport ) -> void + def to_hash: -> { + method_: Increase::Models::EntityCreateParams::NaturalPerson::Identification::method_, + number: String, + drivers_license: Increase::EntityCreateParams::NaturalPerson::Identification::DriversLicense, + other: Increase::EntityCreateParams::NaturalPerson::Identification::Other, + passport: Increase::EntityCreateParams::NaturalPerson::Identification::Passport + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -898,7 +1075,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::EntityCreateParams::NaturalPerson::Identification::method_] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::NaturalPerson::Identification::method_] end type drivers_license = @@ -926,6 +1103,13 @@ module Increase state: String, ?back_file_id: String ) -> void + + def to_hash: -> { + expiration_date: Date, + file_id: String, + state: String, + back_file_id: String + } end type other = @@ -959,6 +1143,14 @@ module Increase ?back_file_id: String, ?expiration_date: Date ) -> void + + def to_hash: -> { + country: String, + description: String, + file_id: String, + back_file_id: String, + expiration_date: Date + } end type passport = @@ -976,6 +1168,12 @@ module Increase expiration_date: Date, file_id: String ) -> void + + def to_hash: -> { + country: String, + expiration_date: Date, + file_id: String + } end end end @@ -986,24 +1184,31 @@ module Increase attr_accessor file_id: String def initialize: (file_id: String) -> void + + def to_hash: -> { file_id: String } end type third_party_verification = { reference: String, - vendor: Increase::EntityCreateParams::ThirdPartyVerification::vendor + vendor: Increase::Models::EntityCreateParams::ThirdPartyVerification::vendor } class ThirdPartyVerification < Increase::Internal::Type::BaseModel attr_accessor reference: String - attr_accessor vendor: Increase::EntityCreateParams::ThirdPartyVerification::vendor + attr_accessor vendor: Increase::Models::EntityCreateParams::ThirdPartyVerification::vendor def initialize: ( reference: String, - vendor: Increase::EntityCreateParams::ThirdPartyVerification::vendor + vendor: Increase::Models::EntityCreateParams::ThirdPartyVerification::vendor ) -> void + def to_hash: -> { + reference: String, + vendor: Increase::Models::EntityCreateParams::ThirdPartyVerification::vendor + } + type vendor = :alloy | :middesk | :oscilar module Vendor @@ -1018,14 +1223,14 @@ module Increase # Oscilar. See https://oscilar.com for more information. OSCILAR: :oscilar - def self?.values: -> ::Array[Increase::EntityCreateParams::ThirdPartyVerification::vendor] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::ThirdPartyVerification::vendor] end end type trust = { address: Increase::EntityCreateParams::Trust::Address, - category: Increase::EntityCreateParams::Trust::category, + category: Increase::Models::EntityCreateParams::Trust::category, name: String, trustees: ::Array[Increase::EntityCreateParams::Trust::Trustee], formation_document_file_id: String, @@ -1037,7 +1242,7 @@ module Increase class Trust < Increase::Internal::Type::BaseModel attr_accessor address: Increase::EntityCreateParams::Trust::Address - attr_accessor category: Increase::EntityCreateParams::Trust::category + attr_accessor category: Increase::Models::EntityCreateParams::Trust::category attr_accessor name: String @@ -1063,7 +1268,7 @@ module Increase def initialize: ( address: Increase::EntityCreateParams::Trust::Address, - category: Increase::EntityCreateParams::Trust::category, + category: Increase::Models::EntityCreateParams::Trust::category, name: String, trustees: ::Array[Increase::EntityCreateParams::Trust::Trustee], ?formation_document_file_id: String, @@ -1072,6 +1277,17 @@ module Increase ?tax_identifier: String ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::Trust::Address, + category: Increase::Models::EntityCreateParams::Trust::category, + name: String, + trustees: ::Array[Increase::EntityCreateParams::Trust::Trustee], + formation_document_file_id: String, + formation_state: String, + grantor: Increase::EntityCreateParams::Trust::Grantor, + tax_identifier: String + } + type address = { city: String, @@ -1101,6 +1317,14 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end type category = :revocable | :irrevocable @@ -1114,17 +1338,17 @@ module Increase # The trust cannot be revoked. IRREVOCABLE: :irrevocable - def self?.values: -> ::Array[Increase::EntityCreateParams::Trust::category] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Trust::category] end type trustee = { - structure: Increase::EntityCreateParams::Trust::Trustee::structure, + structure: Increase::Models::EntityCreateParams::Trust::Trustee::structure, individual: Increase::EntityCreateParams::Trust::Trustee::Individual } class Trustee < Increase::Internal::Type::BaseModel - attr_accessor structure: Increase::EntityCreateParams::Trust::Trustee::structure + attr_accessor structure: Increase::Models::EntityCreateParams::Trust::Trustee::structure attr_reader individual: Increase::EntityCreateParams::Trust::Trustee::Individual? @@ -1133,10 +1357,15 @@ module Increase ) -> Increase::EntityCreateParams::Trust::Trustee::Individual def initialize: ( - structure: Increase::EntityCreateParams::Trust::Trustee::structure, + structure: Increase::Models::EntityCreateParams::Trust::Trustee::structure, ?individual: Increase::EntityCreateParams::Trust::Trustee::Individual ) -> void + def to_hash: -> { + structure: Increase::Models::EntityCreateParams::Trust::Trustee::structure, + individual: Increase::EntityCreateParams::Trust::Trustee::Individual + } + type structure = :individual module Structure @@ -1145,7 +1374,7 @@ module Increase # The trustee is an individual. INDIVIDUAL: :individual - def self?.values: -> ::Array[Increase::EntityCreateParams::Trust::Trustee::structure] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Trust::Trustee::structure] end type individual = @@ -1178,6 +1407,14 @@ module Increase ?confirmed_no_us_tax_id: bool ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::Trust::Trustee::Individual::Address, + date_of_birth: Date, + identification: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification, + name: String, + confirmed_no_us_tax_id: bool + } + type address = { city: String, @@ -1207,11 +1444,19 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end type identification = { - method_: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::method_, + method_: Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::method_, number: String, drivers_license: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense, other: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other, @@ -1219,7 +1464,7 @@ module Increase } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::method_ + attr_accessor method_: Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::method_ attr_accessor number: String @@ -1242,13 +1487,21 @@ module Increase ) -> Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport def initialize: ( - method_: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::method_, + method_: Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::method_, number: String, ?drivers_license: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense, ?other: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other, ?passport: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport ) -> void + def to_hash: -> { + method_: Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::method_, + number: String, + drivers_license: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::DriversLicense, + other: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Other, + passport: Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::Passport + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -1274,7 +1527,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::EntityCreateParams::Trust::Trustee::Individual::Identification::method_] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Trust::Trustee::Individual::Identification::method_] end type drivers_license = @@ -1302,6 +1555,13 @@ module Increase state: String, ?back_file_id: String ) -> void + + def to_hash: -> { + expiration_date: Date, + file_id: String, + state: String, + back_file_id: String + } end type other = @@ -1335,6 +1595,14 @@ module Increase ?back_file_id: String, ?expiration_date: Date ) -> void + + def to_hash: -> { + country: String, + description: String, + file_id: String, + back_file_id: String, + expiration_date: Date + } end type passport = @@ -1352,6 +1620,12 @@ module Increase expiration_date: Date, file_id: String ) -> void + + def to_hash: -> { + country: String, + expiration_date: Date, + file_id: String + } end end end @@ -1387,6 +1661,14 @@ module Increase ?confirmed_no_us_tax_id: bool ) -> void + def to_hash: -> { + address: Increase::EntityCreateParams::Trust::Grantor::Address, + date_of_birth: Date, + identification: Increase::EntityCreateParams::Trust::Grantor::Identification, + name: String, + confirmed_no_us_tax_id: bool + } + type address = { city: String, @@ -1416,11 +1698,19 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end type identification = { - method_: Increase::EntityCreateParams::Trust::Grantor::Identification::method_, + method_: Increase::Models::EntityCreateParams::Trust::Grantor::Identification::method_, number: String, drivers_license: Increase::EntityCreateParams::Trust::Grantor::Identification::DriversLicense, other: Increase::EntityCreateParams::Trust::Grantor::Identification::Other, @@ -1428,7 +1718,7 @@ module Increase } class Identification < Increase::Internal::Type::BaseModel - attr_accessor method_: Increase::EntityCreateParams::Trust::Grantor::Identification::method_ + attr_accessor method_: Increase::Models::EntityCreateParams::Trust::Grantor::Identification::method_ attr_accessor number: String @@ -1451,13 +1741,21 @@ module Increase ) -> Increase::EntityCreateParams::Trust::Grantor::Identification::Passport def initialize: ( - method_: Increase::EntityCreateParams::Trust::Grantor::Identification::method_, + method_: Increase::Models::EntityCreateParams::Trust::Grantor::Identification::method_, number: String, ?drivers_license: Increase::EntityCreateParams::Trust::Grantor::Identification::DriversLicense, ?other: Increase::EntityCreateParams::Trust::Grantor::Identification::Other, ?passport: Increase::EntityCreateParams::Trust::Grantor::Identification::Passport ) -> void + def to_hash: -> { + method_: Increase::Models::EntityCreateParams::Trust::Grantor::Identification::method_, + number: String, + drivers_license: Increase::EntityCreateParams::Trust::Grantor::Identification::DriversLicense, + other: Increase::EntityCreateParams::Trust::Grantor::Identification::Other, + passport: Increase::EntityCreateParams::Trust::Grantor::Identification::Passport + } + type method_ = :social_security_number | :individual_taxpayer_identification_number @@ -1483,7 +1781,7 @@ module Increase # Another identifying document. OTHER: :other - def self?.values: -> ::Array[Increase::EntityCreateParams::Trust::Grantor::Identification::method_] + def self?.values: -> ::Array[Increase::Models::EntityCreateParams::Trust::Grantor::Identification::method_] end type drivers_license = @@ -1511,6 +1809,13 @@ module Increase state: String, ?back_file_id: String ) -> void + + def to_hash: -> { + expiration_date: Date, + file_id: String, + state: String, + back_file_id: String + } end type other = @@ -1544,6 +1849,14 @@ module Increase ?back_file_id: String, ?expiration_date: Date ) -> void + + def to_hash: -> { + country: String, + description: String, + file_id: String, + back_file_id: String, + expiration_date: Date + } end type passport = @@ -1561,6 +1874,12 @@ module Increase expiration_date: Date, file_id: String ) -> void + + def to_hash: -> { + country: String, + expiration_date: Date, + file_id: String + } end end end diff --git a/sig/increase/models/entity_list_params.rbs b/sig/increase/models/entity_list_params.rbs index 1bfee3f92..60990378d 100644 --- a/sig/increase/models/entity_list_params.rbs +++ b/sig/increase/models/entity_list_params.rbs @@ -47,6 +47,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + created_at: Increase::EntityListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::EntityListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -73,21 +82,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end - type status = { in_: ::Array[Increase::EntityListParams::Status::in_] } + type status = + { in_: ::Array[Increase::Models::EntityListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::EntityListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::EntityListParams::Status::in_]? def in_=: ( - ::Array[Increase::EntityListParams::Status::in_] - ) -> ::Array[Increase::EntityListParams::Status::in_] + ::Array[Increase::Models::EntityListParams::Status::in_] + ) -> ::Array[Increase::Models::EntityListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::EntityListParams::Status::in_] + ?in_: ::Array[Increase::Models::EntityListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::EntityListParams::Status::in_] + } + type in_ = :active | :archived | :disabled module In @@ -102,7 +123,7 @@ module Increase # The entity is temporarily disabled and cannot be used for financial activity. DISABLED: :disabled - def self?.values: -> ::Array[Increase::EntityListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::EntityListParams::Status::in_] end end end diff --git a/sig/increase/models/entity_retrieve_params.rbs b/sig/increase/models/entity_retrieve_params.rbs index 48b461f66..f9d8e2d66 100644 --- a/sig/increase/models/entity_retrieve_params.rbs +++ b/sig/increase/models/entity_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/entity_supplemental_document.rbs b/sig/increase/models/entity_supplemental_document.rbs index 484ab1349..2c3b31e4c 100644 --- a/sig/increase/models/entity_supplemental_document.rbs +++ b/sig/increase/models/entity_supplemental_document.rbs @@ -6,7 +6,7 @@ module Increase entity_id: String, file_id: String, idempotency_key: String?, - type: Increase::EntitySupplementalDocument::type_ + type: Increase::Models::EntitySupplementalDocument::type_ } class EntitySupplementalDocument < Increase::Internal::Type::BaseModel @@ -18,16 +18,24 @@ module Increase attr_accessor idempotency_key: String? - attr_accessor type: Increase::EntitySupplementalDocument::type_ + attr_accessor type: Increase::Models::EntitySupplementalDocument::type_ def initialize: ( created_at: Time, entity_id: String, file_id: String, idempotency_key: String?, - type: Increase::EntitySupplementalDocument::type_ + type: Increase::Models::EntitySupplementalDocument::type_ ) -> void + def to_hash: -> { + created_at: Time, + entity_id: String, + file_id: String, + idempotency_key: String?, + type: Increase::Models::EntitySupplementalDocument::type_ + } + type type_ = :entity_supplemental_document module Type @@ -35,7 +43,7 @@ module Increase ENTITY_SUPPLEMENTAL_DOCUMENT: :entity_supplemental_document - def self?.values: -> ::Array[Increase::EntitySupplementalDocument::type_] + def self?.values: -> ::Array[Increase::Models::EntitySupplementalDocument::type_] end end end diff --git a/sig/increase/models/entity_update_address_params.rbs b/sig/increase/models/entity_update_address_params.rbs index 59fad5c5f..6d11a585a 100644 --- a/sig/increase/models/entity_update_address_params.rbs +++ b/sig/increase/models/entity_update_address_params.rbs @@ -15,6 +15,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + address: Increase::EntityUpdateAddressParams::Address, + request_options: Increase::RequestOptions + } + type address = { city: String, @@ -44,6 +49,14 @@ module Increase zip: String, ?line2: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + state: String, + zip: String, + :line2 => String + } end end end diff --git a/sig/increase/models/entity_update_beneficial_owner_address_params.rbs b/sig/increase/models/entity_update_beneficial_owner_address_params.rbs index d0b137e66..7116b2be9 100644 --- a/sig/increase/models/entity_update_beneficial_owner_address_params.rbs +++ b/sig/increase/models/entity_update_beneficial_owner_address_params.rbs @@ -21,6 +21,12 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + address: Increase::EntityUpdateBeneficialOwnerAddressParams::Address, + beneficial_owner_id: String, + request_options: Increase::RequestOptions + } + type address = { country: String, @@ -60,6 +66,15 @@ module Increase ?state: String, ?zip: String ) -> void + + def to_hash: -> { + country: String, + :line1 => String, + city: String, + :line2 => String, + state: String, + zip: String + } end end end diff --git a/sig/increase/models/entity_update_industry_code_params.rbs b/sig/increase/models/entity_update_industry_code_params.rbs index f47051e3f..2c2f33881 100644 --- a/sig/increase/models/entity_update_industry_code_params.rbs +++ b/sig/increase/models/entity_update_industry_code_params.rbs @@ -13,6 +13,11 @@ module Increase industry_code: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + industry_code: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/event.rbs b/sig/increase/models/event.rbs index d5e675f88..a7c68b342 100644 --- a/sig/increase/models/event.rbs +++ b/sig/increase/models/event.rbs @@ -5,9 +5,9 @@ module Increase id: String, associated_object_id: String, associated_object_type: String, - category: Increase::Event::category, + category: Increase::Models::Event::category, created_at: Time, - type: Increase::Event::type_ + type: Increase::Models::Event::type_ } class Event < Increase::Internal::Type::BaseModel @@ -17,21 +17,30 @@ module Increase attr_accessor associated_object_type: String - attr_accessor category: Increase::Event::category + attr_accessor category: Increase::Models::Event::category attr_accessor created_at: Time - attr_accessor type: Increase::Event::type_ + attr_accessor type: Increase::Models::Event::type_ def initialize: ( id: String, associated_object_id: String, associated_object_type: String, - category: Increase::Event::category, + category: Increase::Models::Event::category, created_at: Time, - type: Increase::Event::type_ + type: Increase::Models::Event::type_ ) -> void + def to_hash: -> { + id: String, + associated_object_id: String, + associated_object_type: String, + category: Increase::Models::Event::category, + created_at: Time, + type: Increase::Models::Event::type_ + } + type category = :"account.created" | :"account.updated" @@ -389,7 +398,7 @@ module Increase # Occurs whenever a Wire Transfer is updated. WIRE_TRANSFER_UPDATED: :"wire_transfer.updated" - def self?.values: -> ::Array[Increase::Event::category] + def self?.values: -> ::Array[Increase::Models::Event::category] end type type_ = :event @@ -399,7 +408,7 @@ module Increase EVENT: :event - def self?.values: -> ::Array[Increase::Event::type_] + def self?.values: -> ::Array[Increase::Models::Event::type_] end end end diff --git a/sig/increase/models/event_list_params.rbs b/sig/increase/models/event_list_params.rbs index c1a32a80d..60ddb0310 100644 --- a/sig/increase/models/event_list_params.rbs +++ b/sig/increase/models/event_list_params.rbs @@ -47,19 +47,33 @@ module Increase ?request_options: Increase::request_opts ) -> void - type category = { in_: ::Array[Increase::EventListParams::Category::in_] } + def to_hash: -> { + associated_object_id: String, + category: Increase::EventListParams::Category, + created_at: Increase::EventListParams::CreatedAt, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } + + type category = + { in_: ::Array[Increase::Models::EventListParams::Category::in_] } class Category < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::EventListParams::Category::in_]? + attr_reader in_: ::Array[Increase::Models::EventListParams::Category::in_]? def in_=: ( - ::Array[Increase::EventListParams::Category::in_] - ) -> ::Array[Increase::EventListParams::Category::in_] + ::Array[Increase::Models::EventListParams::Category::in_] + ) -> ::Array[Increase::Models::EventListParams::Category::in_] def initialize: ( - ?in_: ::Array[Increase::EventListParams::Category::in_] + ?in_: ::Array[Increase::Models::EventListParams::Category::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::EventListParams::Category::in_] + } + type in_ = :"account.created" | :"account.updated" @@ -417,7 +431,7 @@ module Increase # Occurs whenever a Wire Transfer is updated. WIRE_TRANSFER_UPDATED: :"wire_transfer.updated" - def self?.values: -> ::Array[Increase::EventListParams::Category::in_] + def self?.values: -> ::Array[Increase::Models::EventListParams::Category::in_] end end @@ -447,6 +461,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/event_retrieve_params.rbs b/sig/increase/models/event_retrieve_params.rbs index a83036a46..d9002e2ed 100644 --- a/sig/increase/models/event_retrieve_params.rbs +++ b/sig/increase/models/event_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/event_subscription.rbs b/sig/increase/models/event_subscription.rbs index 2c9e5225e..d2fcd73eb 100644 --- a/sig/increase/models/event_subscription.rbs +++ b/sig/increase/models/event_subscription.rbs @@ -6,9 +6,9 @@ module Increase created_at: Time, idempotency_key: String?, oauth_connection_id: String?, - selected_event_category: Increase::EventSubscription::selected_event_category?, - status: Increase::EventSubscription::status, - type: Increase::EventSubscription::type_, + selected_event_category: Increase::Models::EventSubscription::selected_event_category?, + status: Increase::Models::EventSubscription::status, + type: Increase::Models::EventSubscription::type_, url: String } @@ -21,11 +21,11 @@ module Increase attr_accessor oauth_connection_id: String? - attr_accessor selected_event_category: Increase::EventSubscription::selected_event_category? + attr_accessor selected_event_category: Increase::Models::EventSubscription::selected_event_category? - attr_accessor status: Increase::EventSubscription::status + attr_accessor status: Increase::Models::EventSubscription::status - attr_accessor type: Increase::EventSubscription::type_ + attr_accessor type: Increase::Models::EventSubscription::type_ attr_accessor url: String @@ -34,12 +34,23 @@ module Increase created_at: Time, idempotency_key: String?, oauth_connection_id: String?, - selected_event_category: Increase::EventSubscription::selected_event_category?, - status: Increase::EventSubscription::status, - type: Increase::EventSubscription::type_, + selected_event_category: Increase::Models::EventSubscription::selected_event_category?, + status: Increase::Models::EventSubscription::status, + type: Increase::Models::EventSubscription::type_, url: String ) -> void + def to_hash: -> { + id: String, + created_at: Time, + idempotency_key: String?, + oauth_connection_id: String?, + selected_event_category: Increase::Models::EventSubscription::selected_event_category?, + status: Increase::Models::EventSubscription::status, + type: Increase::Models::EventSubscription::type_, + url: String + } + type selected_event_category = :"account.created" | :"account.updated" @@ -397,7 +408,7 @@ module Increase # Occurs whenever a Wire Transfer is updated. WIRE_TRANSFER_UPDATED: :"wire_transfer.updated" - def self?.values: -> ::Array[Increase::EventSubscription::selected_event_category] + def self?.values: -> ::Array[Increase::Models::EventSubscription::selected_event_category] end type status = :active | :disabled | :deleted | :requires_attention @@ -417,7 +428,7 @@ module Increase # The subscription is temporarily disabled due to delivery errors and Events will not be delivered. REQUIRES_ATTENTION: :requires_attention - def self?.values: -> ::Array[Increase::EventSubscription::status] + def self?.values: -> ::Array[Increase::Models::EventSubscription::status] end type type_ = :event_subscription @@ -427,7 +438,7 @@ module Increase EVENT_SUBSCRIPTION: :event_subscription - def self?.values: -> ::Array[Increase::EventSubscription::type_] + def self?.values: -> ::Array[Increase::Models::EventSubscription::type_] end end end diff --git a/sig/increase/models/event_subscription_create_params.rbs b/sig/increase/models/event_subscription_create_params.rbs index d837614bb..d7e54ab2c 100644 --- a/sig/increase/models/event_subscription_create_params.rbs +++ b/sig/increase/models/event_subscription_create_params.rbs @@ -37,6 +37,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + url: String, + oauth_connection_id: String, + selected_event_category: Increase::Models::EventSubscriptionCreateParams::selected_event_category, + shared_secret: String, + request_options: Increase::RequestOptions + } + type selected_event_category = :"account.created" | :"account.updated" diff --git a/sig/increase/models/event_subscription_list_params.rbs b/sig/increase/models/event_subscription_list_params.rbs index 9c354e061..1f8010205 100644 --- a/sig/increase/models/event_subscription_list_params.rbs +++ b/sig/increase/models/event_subscription_list_params.rbs @@ -26,6 +26,13 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/event_subscription_retrieve_params.rbs b/sig/increase/models/event_subscription_retrieve_params.rbs index fa27346c5..7551fb25e 100644 --- a/sig/increase/models/event_subscription_retrieve_params.rbs +++ b/sig/increase/models/event_subscription_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/event_subscription_update_params.rbs b/sig/increase/models/event_subscription_update_params.rbs index 36dd2bd33..b6fb97771 100644 --- a/sig/increase/models/event_subscription_update_params.rbs +++ b/sig/increase/models/event_subscription_update_params.rbs @@ -19,6 +19,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + status: Increase::Models::EventSubscriptionUpdateParams::status, + request_options: Increase::RequestOptions + } + type status = :active | :disabled | :deleted module Status diff --git a/sig/increase/models/export.rbs b/sig/increase/models/export.rbs index e130eae95..c3d3b8469 100644 --- a/sig/increase/models/export.rbs +++ b/sig/increase/models/export.rbs @@ -3,19 +3,19 @@ module Increase type export = { id: String, - category: Increase::Export::category, + category: Increase::Models::Export::category, created_at: Time, file_download_url: String?, file_id: String?, idempotency_key: String?, - status: Increase::Export::status, - type: Increase::Export::type_ + status: Increase::Models::Export::status, + type: Increase::Models::Export::type_ } class Export < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor category: Increase::Export::category + attr_accessor category: Increase::Models::Export::category attr_accessor created_at: Time @@ -25,21 +25,32 @@ module Increase attr_accessor idempotency_key: String? - attr_accessor status: Increase::Export::status + attr_accessor status: Increase::Models::Export::status - attr_accessor type: Increase::Export::type_ + attr_accessor type: Increase::Models::Export::type_ def initialize: ( id: String, - category: Increase::Export::category, + category: Increase::Models::Export::category, created_at: Time, file_download_url: String?, file_id: String?, idempotency_key: String?, - status: Increase::Export::status, - type: Increase::Export::type_ + status: Increase::Models::Export::status, + type: Increase::Models::Export::type_ ) -> void + def to_hash: -> { + id: String, + category: Increase::Models::Export::category, + created_at: Time, + file_download_url: String?, + file_id: String?, + idempotency_key: String?, + status: Increase::Models::Export::status, + type: Increase::Models::Export::type_ + } + type category = :account_statement_ofx | :transaction_csv @@ -73,7 +84,7 @@ module Increase # Certain dashboard tables are available as CSV exports. This export cannot be created via the API. DASHBOARD_TABLE_CSV: :dashboard_table_csv - def self?.values: -> ::Array[Increase::Export::category] + def self?.values: -> ::Array[Increase::Models::Export::category] end type status = :pending | :complete | :failed @@ -90,7 +101,7 @@ module Increase # The export failed to generate. Increase will reach out to you to resolve the issue. FAILED: :failed - def self?.values: -> ::Array[Increase::Export::status] + def self?.values: -> ::Array[Increase::Models::Export::status] end type type_ = :export @@ -100,7 +111,7 @@ module Increase EXPORT: :export - def self?.values: -> ::Array[Increase::Export::type_] + def self?.values: -> ::Array[Increase::Models::Export::type_] end end end diff --git a/sig/increase/models/export_create_params.rbs b/sig/increase/models/export_create_params.rbs index 74fac0988..5eda104fa 100644 --- a/sig/increase/models/export_create_params.rbs +++ b/sig/increase/models/export_create_params.rbs @@ -63,6 +63,17 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + category: Increase::Models::ExportCreateParams::category, + account_statement_ofx: Increase::ExportCreateParams::AccountStatementOfx, + balance_csv: Increase::ExportCreateParams::BalanceCsv, + bookkeeping_account_balance_csv: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv, + entity_csv: Increase::ExportCreateParams::EntityCsv, + transaction_csv: Increase::ExportCreateParams::TransactionCsv, + vendor_csv: top, + request_options: Increase::RequestOptions + } + type category = :account_statement_ofx | :transaction_csv @@ -115,6 +126,11 @@ module Increase ?created_at: Increase::ExportCreateParams::AccountStatementOfx::CreatedAt ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::ExportCreateParams::AccountStatementOfx::CreatedAt + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -141,6 +157,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end @@ -172,6 +195,12 @@ module Increase ?program_id: String ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::ExportCreateParams::BalanceCsv::CreatedAt, + program_id: String + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -198,6 +227,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end @@ -223,6 +259,11 @@ module Increase ?created_at: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt ) -> void + def to_hash: -> { + bookkeeping_account_id: String, + created_at: Increase::ExportCreateParams::BookkeepingAccountBalanceCsv::CreatedAt + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -249,6 +290,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end @@ -266,16 +314,26 @@ module Increase ?status: Increase::ExportCreateParams::EntityCsv::Status ) -> void + def to_hash: -> { + status: Increase::ExportCreateParams::EntityCsv::Status + } + type status = - { in_: ::Array[Increase::ExportCreateParams::EntityCsv::Status::in_] } + { + in_: ::Array[Increase::Models::ExportCreateParams::EntityCsv::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_accessor in_: ::Array[Increase::ExportCreateParams::EntityCsv::Status::in_] + attr_accessor in_: ::Array[Increase::Models::ExportCreateParams::EntityCsv::Status::in_] def initialize: ( - in_: ::Array[Increase::ExportCreateParams::EntityCsv::Status::in_] + in_: ::Array[Increase::Models::ExportCreateParams::EntityCsv::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::ExportCreateParams::EntityCsv::Status::in_] + } + type in_ = :active | :archived | :disabled module In @@ -290,7 +348,7 @@ module Increase # The entity is temporarily disabled and cannot be used for financial activity. DISABLED: :disabled - def self?.values: -> ::Array[Increase::ExportCreateParams::EntityCsv::Status::in_] + def self?.values: -> ::Array[Increase::Models::ExportCreateParams::EntityCsv::Status::in_] end end end @@ -323,6 +381,12 @@ module Increase ?program_id: String ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::ExportCreateParams::TransactionCsv::CreatedAt, + program_id: String + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -349,6 +413,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/export_list_params.rbs b/sig/increase/models/export_list_params.rbs index d3ebf2e8e..90d12dca7 100644 --- a/sig/increase/models/export_list_params.rbs +++ b/sig/increase/models/export_list_params.rbs @@ -55,20 +55,34 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + category: Increase::ExportListParams::Category, + created_at: Increase::ExportListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::ExportListParams::Status, + request_options: Increase::RequestOptions + } + type category = - { in_: ::Array[Increase::ExportListParams::Category::in_] } + { in_: ::Array[Increase::Models::ExportListParams::Category::in_] } class Category < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::ExportListParams::Category::in_]? + attr_reader in_: ::Array[Increase::Models::ExportListParams::Category::in_]? def in_=: ( - ::Array[Increase::ExportListParams::Category::in_] - ) -> ::Array[Increase::ExportListParams::Category::in_] + ::Array[Increase::Models::ExportListParams::Category::in_] + ) -> ::Array[Increase::Models::ExportListParams::Category::in_] def initialize: ( - ?in_: ::Array[Increase::ExportListParams::Category::in_] + ?in_: ::Array[Increase::Models::ExportListParams::Category::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::ExportListParams::Category::in_] + } + type in_ = :account_statement_ofx | :transaction_csv @@ -102,7 +116,7 @@ module Increase # Certain dashboard tables are available as CSV exports. This export cannot be created via the API. DASHBOARD_TABLE_CSV: :dashboard_table_csv - def self?.values: -> ::Array[Increase::ExportListParams::Category::in_] + def self?.values: -> ::Array[Increase::Models::ExportListParams::Category::in_] end end @@ -132,21 +146,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end - type status = { in_: ::Array[Increase::ExportListParams::Status::in_] } + type status = + { in_: ::Array[Increase::Models::ExportListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::ExportListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::ExportListParams::Status::in_]? def in_=: ( - ::Array[Increase::ExportListParams::Status::in_] - ) -> ::Array[Increase::ExportListParams::Status::in_] + ::Array[Increase::Models::ExportListParams::Status::in_] + ) -> ::Array[Increase::Models::ExportListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::ExportListParams::Status::in_] + ?in_: ::Array[Increase::Models::ExportListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::ExportListParams::Status::in_] + } + type in_ = :pending | :complete | :failed module In @@ -161,7 +187,7 @@ module Increase # The export failed to generate. Increase will reach out to you to resolve the issue. FAILED: :failed - def self?.values: -> ::Array[Increase::ExportListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::ExportListParams::Status::in_] end end end diff --git a/sig/increase/models/export_retrieve_params.rbs b/sig/increase/models/export_retrieve_params.rbs index 6cead6fec..cbb70787c 100644 --- a/sig/increase/models/export_retrieve_params.rbs +++ b/sig/increase/models/export_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/external_account.rbs b/sig/increase/models/external_account.rbs index 47220198a..8e5229159 100644 --- a/sig/increase/models/external_account.rbs +++ b/sig/increase/models/external_account.rbs @@ -3,22 +3,22 @@ module Increase type external_account = { id: String, - account_holder: Increase::ExternalAccount::account_holder, + account_holder: Increase::Models::ExternalAccount::account_holder, account_number: String, created_at: Time, description: String, - funding: Increase::ExternalAccount::funding, + funding: Increase::Models::ExternalAccount::funding, idempotency_key: String?, routing_number: String, - status: Increase::ExternalAccount::status, - type: Increase::ExternalAccount::type_, - verification_status: Increase::ExternalAccount::verification_status + status: Increase::Models::ExternalAccount::status, + type: Increase::Models::ExternalAccount::type_, + verification_status: Increase::Models::ExternalAccount::verification_status } class ExternalAccount < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor account_holder: Increase::ExternalAccount::account_holder + attr_accessor account_holder: Increase::Models::ExternalAccount::account_holder attr_accessor account_number: String @@ -26,32 +26,46 @@ module Increase attr_accessor description: String - attr_accessor funding: Increase::ExternalAccount::funding + attr_accessor funding: Increase::Models::ExternalAccount::funding attr_accessor idempotency_key: String? attr_accessor routing_number: String - attr_accessor status: Increase::ExternalAccount::status + attr_accessor status: Increase::Models::ExternalAccount::status - attr_accessor type: Increase::ExternalAccount::type_ + attr_accessor type: Increase::Models::ExternalAccount::type_ - attr_accessor verification_status: Increase::ExternalAccount::verification_status + attr_accessor verification_status: Increase::Models::ExternalAccount::verification_status def initialize: ( id: String, - account_holder: Increase::ExternalAccount::account_holder, + account_holder: Increase::Models::ExternalAccount::account_holder, account_number: String, created_at: Time, description: String, - funding: Increase::ExternalAccount::funding, + funding: Increase::Models::ExternalAccount::funding, idempotency_key: String?, routing_number: String, - status: Increase::ExternalAccount::status, - type: Increase::ExternalAccount::type_, - verification_status: Increase::ExternalAccount::verification_status + status: Increase::Models::ExternalAccount::status, + type: Increase::Models::ExternalAccount::type_, + verification_status: Increase::Models::ExternalAccount::verification_status ) -> void + def to_hash: -> { + id: String, + account_holder: Increase::Models::ExternalAccount::account_holder, + account_number: String, + created_at: Time, + description: String, + funding: Increase::Models::ExternalAccount::funding, + idempotency_key: String?, + routing_number: String, + status: Increase::Models::ExternalAccount::status, + type: Increase::Models::ExternalAccount::type_, + verification_status: Increase::Models::ExternalAccount::verification_status + } + type account_holder = :business | :individual | :unknown module AccountHolder @@ -66,7 +80,7 @@ module Increase # It's unknown what kind of entity owns the External Account. UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::ExternalAccount::account_holder] + def self?.values: -> ::Array[Increase::Models::ExternalAccount::account_holder] end type funding = :checking | :savings | :other @@ -83,7 +97,7 @@ module Increase # A different type of account. OTHER: :other - def self?.values: -> ::Array[Increase::ExternalAccount::funding] + def self?.values: -> ::Array[Increase::Models::ExternalAccount::funding] end type status = :active | :archived @@ -97,7 +111,7 @@ module Increase # The External Account is archived and won't appear in the dashboard. ARCHIVED: :archived - def self?.values: -> ::Array[Increase::ExternalAccount::status] + def self?.values: -> ::Array[Increase::Models::ExternalAccount::status] end type type_ = :external_account @@ -107,7 +121,7 @@ module Increase EXTERNAL_ACCOUNT: :external_account - def self?.values: -> ::Array[Increase::ExternalAccount::type_] + def self?.values: -> ::Array[Increase::Models::ExternalAccount::type_] end type verification_status = :unverified | :pending | :verified @@ -124,7 +138,7 @@ module Increase # The External Account is verified. VERIFIED: :verified - def self?.values: -> ::Array[Increase::ExternalAccount::verification_status] + def self?.values: -> ::Array[Increase::Models::ExternalAccount::verification_status] end end end diff --git a/sig/increase/models/external_account_create_params.rbs b/sig/increase/models/external_account_create_params.rbs index 133b9e4fb..1aca90f6f 100644 --- a/sig/increase/models/external_account_create_params.rbs +++ b/sig/increase/models/external_account_create_params.rbs @@ -41,6 +41,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_number: String, + description: String, + routing_number: String, + account_holder: Increase::Models::ExternalAccountCreateParams::account_holder, + funding: Increase::Models::ExternalAccountCreateParams::funding, + request_options: Increase::RequestOptions + } + type account_holder = :business | :individual | :unknown module AccountHolder diff --git a/sig/increase/models/external_account_list_params.rbs b/sig/increase/models/external_account_list_params.rbs index 3da65af33..2ffe7075f 100644 --- a/sig/increase/models/external_account_list_params.rbs +++ b/sig/increase/models/external_account_list_params.rbs @@ -45,20 +45,35 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + cursor: String, + idempotency_key: String, + limit: Integer, + routing_number: String, + status: Increase::ExternalAccountListParams::Status, + request_options: Increase::RequestOptions + } + type status = - { in_: ::Array[Increase::ExternalAccountListParams::Status::in_] } + { + in_: ::Array[Increase::Models::ExternalAccountListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::ExternalAccountListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::ExternalAccountListParams::Status::in_]? def in_=: ( - ::Array[Increase::ExternalAccountListParams::Status::in_] - ) -> ::Array[Increase::ExternalAccountListParams::Status::in_] + ::Array[Increase::Models::ExternalAccountListParams::Status::in_] + ) -> ::Array[Increase::Models::ExternalAccountListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::ExternalAccountListParams::Status::in_] + ?in_: ::Array[Increase::Models::ExternalAccountListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::ExternalAccountListParams::Status::in_] + } + type in_ = :active | :archived module In @@ -70,7 +85,7 @@ module Increase # The External Account is archived and won't appear in the dashboard. ARCHIVED: :archived - def self?.values: -> ::Array[Increase::ExternalAccountListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::ExternalAccountListParams::Status::in_] end end end diff --git a/sig/increase/models/external_account_retrieve_params.rbs b/sig/increase/models/external_account_retrieve_params.rbs index be1019bfc..34fe91b4f 100644 --- a/sig/increase/models/external_account_retrieve_params.rbs +++ b/sig/increase/models/external_account_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/external_account_update_params.rbs b/sig/increase/models/external_account_update_params.rbs index 2a8b62e9d..369257a1a 100644 --- a/sig/increase/models/external_account_update_params.rbs +++ b/sig/increase/models/external_account_update_params.rbs @@ -43,6 +43,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_holder: Increase::Models::ExternalAccountUpdateParams::account_holder, + description: String, + funding: Increase::Models::ExternalAccountUpdateParams::funding, + status: Increase::Models::ExternalAccountUpdateParams::status, + request_options: Increase::RequestOptions + } + type account_holder = :business | :individual module AccountHolder diff --git a/sig/increase/models/file.rbs b/sig/increase/models/file.rbs index 5eb5bc218..3020ba96f 100644 --- a/sig/increase/models/file.rbs +++ b/sig/increase/models/file.rbs @@ -5,12 +5,12 @@ module Increase id: String, created_at: Time, description: String?, - direction: Increase::File::direction, + direction: Increase::Models::File::direction, filename: String?, idempotency_key: String?, mime_type: String, - purpose: Increase::File::purpose, - type: Increase::File::type_ + purpose: Increase::Models::File::purpose, + type: Increase::Models::File::type_ } class File < Increase::Internal::Type::BaseModel @@ -20,7 +20,7 @@ module Increase attr_accessor description: String? - attr_accessor direction: Increase::File::direction + attr_accessor direction: Increase::Models::File::direction attr_accessor filename: String? @@ -28,22 +28,34 @@ module Increase attr_accessor mime_type: String - attr_accessor purpose: Increase::File::purpose + attr_accessor purpose: Increase::Models::File::purpose - attr_accessor type: Increase::File::type_ + attr_accessor type: Increase::Models::File::type_ def initialize: ( id: String, created_at: Time, description: String?, - direction: Increase::File::direction, + direction: Increase::Models::File::direction, filename: String?, idempotency_key: String?, mime_type: String, - purpose: Increase::File::purpose, - type: Increase::File::type_ + purpose: Increase::Models::File::purpose, + type: Increase::Models::File::type_ ) -> void + def to_hash: -> { + id: String, + created_at: Time, + description: String?, + direction: Increase::Models::File::direction, + filename: String?, + idempotency_key: String?, + mime_type: String, + purpose: Increase::Models::File::purpose, + type: Increase::Models::File::type_ + } + type direction = :to_increase | :from_increase module Direction @@ -55,7 +67,7 @@ module Increase # This File was generated by Increase. FROM_INCREASE: :from_increase - def self?.values: -> ::Array[Increase::File::direction] + def self?.values: -> ::Array[Increase::Models::File::direction] end type purpose = @@ -163,7 +175,7 @@ module Increase # A file containing additional evidence for a Proof of Authorization Request Submission. PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION: :proof_of_authorization_request_submission - def self?.values: -> ::Array[Increase::File::purpose] + def self?.values: -> ::Array[Increase::Models::File::purpose] end type type_ = :file @@ -173,7 +185,7 @@ module Increase FILE: :file - def self?.values: -> ::Array[Increase::File::type_] + def self?.values: -> ::Array[Increase::Models::File::type_] end end end diff --git a/sig/increase/models/file_create_params.rbs b/sig/increase/models/file_create_params.rbs index f14e8f5ea..ae8686c34 100644 --- a/sig/increase/models/file_create_params.rbs +++ b/sig/increase/models/file_create_params.rbs @@ -27,6 +27,13 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + file: Increase::Internal::file_input, + purpose: Increase::Models::FileCreateParams::purpose, + description: String, + request_options: Increase::RequestOptions + } + type purpose = :check_image_front | :check_image_back diff --git a/sig/increase/models/file_link.rbs b/sig/increase/models/file_link.rbs index 57ebb0dbd..04fa44299 100644 --- a/sig/increase/models/file_link.rbs +++ b/sig/increase/models/file_link.rbs @@ -7,7 +7,7 @@ module Increase expires_at: Time, file_id: String, idempotency_key: String?, - type: Increase::FileLink::type_, + type: Increase::Models::FileLink::type_, unauthenticated_url: String } @@ -22,7 +22,7 @@ module Increase attr_accessor idempotency_key: String? - attr_accessor type: Increase::FileLink::type_ + attr_accessor type: Increase::Models::FileLink::type_ attr_accessor unauthenticated_url: String @@ -32,10 +32,20 @@ module Increase expires_at: Time, file_id: String, idempotency_key: String?, - type: Increase::FileLink::type_, + type: Increase::Models::FileLink::type_, unauthenticated_url: String ) -> void + def to_hash: -> { + id: String, + created_at: Time, + expires_at: Time, + file_id: String, + idempotency_key: String?, + type: Increase::Models::FileLink::type_, + unauthenticated_url: String + } + type type_ = :file_link module Type @@ -43,7 +53,7 @@ module Increase FILE_LINK: :file_link - def self?.values: -> ::Array[Increase::FileLink::type_] + def self?.values: -> ::Array[Increase::Models::FileLink::type_] end end end diff --git a/sig/increase/models/file_link_create_params.rbs b/sig/increase/models/file_link_create_params.rbs index 049977ee6..fa9c89b7f 100644 --- a/sig/increase/models/file_link_create_params.rbs +++ b/sig/increase/models/file_link_create_params.rbs @@ -19,6 +19,12 @@ module Increase ?expires_at: Time, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + file_id: String, + expires_at: Time, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/file_list_params.rbs b/sig/increase/models/file_list_params.rbs index 7ba8fe3d5..0beb92d4d 100644 --- a/sig/increase/models/file_list_params.rbs +++ b/sig/increase/models/file_list_params.rbs @@ -47,6 +47,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + created_at: Increase::FileListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + purpose: Increase::FileListParams::Purpose, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -73,21 +82,33 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end - type purpose = { in_: ::Array[Increase::FileListParams::Purpose::in_] } + type purpose = + { in_: ::Array[Increase::Models::FileListParams::Purpose::in_] } class Purpose < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::FileListParams::Purpose::in_]? + attr_reader in_: ::Array[Increase::Models::FileListParams::Purpose::in_]? def in_=: ( - ::Array[Increase::FileListParams::Purpose::in_] - ) -> ::Array[Increase::FileListParams::Purpose::in_] + ::Array[Increase::Models::FileListParams::Purpose::in_] + ) -> ::Array[Increase::Models::FileListParams::Purpose::in_] def initialize: ( - ?in_: ::Array[Increase::FileListParams::Purpose::in_] + ?in_: ::Array[Increase::Models::FileListParams::Purpose::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::FileListParams::Purpose::in_] + } + type in_ = :check_image_front | :check_image_back @@ -193,7 +214,7 @@ module Increase # A file containing additional evidence for a Proof of Authorization Request Submission. PROOF_OF_AUTHORIZATION_REQUEST_SUBMISSION: :proof_of_authorization_request_submission - def self?.values: -> ::Array[Increase::FileListParams::Purpose::in_] + def self?.values: -> ::Array[Increase::Models::FileListParams::Purpose::in_] end end end diff --git a/sig/increase/models/file_retrieve_params.rbs b/sig/increase/models/file_retrieve_params.rbs index 3cf1c8685..15c6afd2d 100644 --- a/sig/increase/models/file_retrieve_params.rbs +++ b/sig/increase/models/file_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/group.rbs b/sig/increase/models/group.rbs index 206c3248c..6dc877bef 100644 --- a/sig/increase/models/group.rbs +++ b/sig/increase/models/group.rbs @@ -3,31 +3,39 @@ module Increase type group = { id: String, - ach_debit_status: Increase::Group::ach_debit_status, - activation_status: Increase::Group::activation_status, + ach_debit_status: Increase::Models::Group::ach_debit_status, + activation_status: Increase::Models::Group::activation_status, created_at: Time, - type: Increase::Group::type_ + type: Increase::Models::Group::type_ } class Group < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor ach_debit_status: Increase::Group::ach_debit_status + attr_accessor ach_debit_status: Increase::Models::Group::ach_debit_status - attr_accessor activation_status: Increase::Group::activation_status + attr_accessor activation_status: Increase::Models::Group::activation_status attr_accessor created_at: Time - attr_accessor type: Increase::Group::type_ + attr_accessor type: Increase::Models::Group::type_ def initialize: ( id: String, - ach_debit_status: Increase::Group::ach_debit_status, - activation_status: Increase::Group::activation_status, + ach_debit_status: Increase::Models::Group::ach_debit_status, + activation_status: Increase::Models::Group::activation_status, created_at: Time, - type: Increase::Group::type_ + type: Increase::Models::Group::type_ ) -> void + def to_hash: -> { + id: String, + ach_debit_status: Increase::Models::Group::ach_debit_status, + activation_status: Increase::Models::Group::activation_status, + created_at: Time, + type: Increase::Models::Group::type_ + } + type ach_debit_status = :disabled | :enabled module ACHDebitStatus @@ -39,7 +47,7 @@ module Increase # The Group can make ACH debits. ENABLED: :enabled - def self?.values: -> ::Array[Increase::Group::ach_debit_status] + def self?.values: -> ::Array[Increase::Models::Group::ach_debit_status] end type activation_status = :unactivated | :activated @@ -53,7 +61,7 @@ module Increase # The Group is activated. ACTIVATED: :activated - def self?.values: -> ::Array[Increase::Group::activation_status] + def self?.values: -> ::Array[Increase::Models::Group::activation_status] end type type_ = :group @@ -63,7 +71,7 @@ module Increase GROUP: :group - def self?.values: -> ::Array[Increase::Group::type_] + def self?.values: -> ::Array[Increase::Models::Group::type_] end end end diff --git a/sig/increase/models/group_retrieve_params.rbs b/sig/increase/models/group_retrieve_params.rbs index 2e49bba25..35e1e2a40 100644 --- a/sig/increase/models/group_retrieve_params.rbs +++ b/sig/increase/models/group_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_ach_transfer.rbs b/sig/increase/models/inbound_ach_transfer.rbs index 2032547c4..3d4e8f960 100644 --- a/sig/increase/models/inbound_ach_transfer.rbs +++ b/sig/increase/models/inbound_ach_transfer.rbs @@ -11,9 +11,9 @@ module Increase automatically_resolves_at: Time, created_at: Time, decline: Increase::InboundACHTransfer::Decline?, - direction: Increase::InboundACHTransfer::direction, + direction: Increase::Models::InboundACHTransfer::direction, effective_date: Date, - expected_settlement_schedule: Increase::InboundACHTransfer::expected_settlement_schedule, + expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule, international_addenda: Increase::InboundACHTransfer::InternationalAddenda?, notification_of_change: Increase::InboundACHTransfer::NotificationOfChange?, originator_company_descriptive_date: String?, @@ -24,11 +24,11 @@ module Increase originator_routing_number: String, receiver_id_number: String?, receiver_name: String?, - standard_entry_class_code: Increase::InboundACHTransfer::standard_entry_class_code, - status: Increase::InboundACHTransfer::status, + standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code, + status: Increase::Models::InboundACHTransfer::status, trace_number: String, transfer_return: Increase::InboundACHTransfer::TransferReturn?, - type: Increase::InboundACHTransfer::type_ + type: Increase::Models::InboundACHTransfer::type_ } class InboundACHTransfer < Increase::Internal::Type::BaseModel @@ -50,11 +50,11 @@ module Increase attr_accessor decline: Increase::InboundACHTransfer::Decline? - attr_accessor direction: Increase::InboundACHTransfer::direction + attr_accessor direction: Increase::Models::InboundACHTransfer::direction attr_accessor effective_date: Date - attr_accessor expected_settlement_schedule: Increase::InboundACHTransfer::expected_settlement_schedule + attr_accessor expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule attr_accessor international_addenda: Increase::InboundACHTransfer::InternationalAddenda? @@ -76,15 +76,15 @@ module Increase attr_accessor receiver_name: String? - attr_accessor standard_entry_class_code: Increase::InboundACHTransfer::standard_entry_class_code + attr_accessor standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code - attr_accessor status: Increase::InboundACHTransfer::status + attr_accessor status: Increase::Models::InboundACHTransfer::status attr_accessor trace_number: String attr_accessor transfer_return: Increase::InboundACHTransfer::TransferReturn? - attr_accessor type: Increase::InboundACHTransfer::type_ + attr_accessor type: Increase::Models::InboundACHTransfer::type_ def initialize: ( id: String, @@ -96,9 +96,9 @@ module Increase automatically_resolves_at: Time, created_at: Time, decline: Increase::InboundACHTransfer::Decline?, - direction: Increase::InboundACHTransfer::direction, + direction: Increase::Models::InboundACHTransfer::direction, effective_date: Date, - expected_settlement_schedule: Increase::InboundACHTransfer::expected_settlement_schedule, + expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule, international_addenda: Increase::InboundACHTransfer::InternationalAddenda?, notification_of_change: Increase::InboundACHTransfer::NotificationOfChange?, originator_company_descriptive_date: String?, @@ -109,13 +109,43 @@ module Increase originator_routing_number: String, receiver_id_number: String?, receiver_name: String?, - standard_entry_class_code: Increase::InboundACHTransfer::standard_entry_class_code, - status: Increase::InboundACHTransfer::status, + standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code, + status: Increase::Models::InboundACHTransfer::status, trace_number: String, transfer_return: Increase::InboundACHTransfer::TransferReturn?, - type: Increase::InboundACHTransfer::type_ + type: Increase::Models::InboundACHTransfer::type_ ) -> void + def to_hash: -> { + id: String, + acceptance: Increase::InboundACHTransfer::Acceptance?, + account_id: String, + account_number_id: String, + addenda: Increase::InboundACHTransfer::Addenda?, + amount: Integer, + automatically_resolves_at: Time, + created_at: Time, + decline: Increase::InboundACHTransfer::Decline?, + direction: Increase::Models::InboundACHTransfer::direction, + effective_date: Date, + expected_settlement_schedule: Increase::Models::InboundACHTransfer::expected_settlement_schedule, + international_addenda: Increase::InboundACHTransfer::InternationalAddenda?, + notification_of_change: Increase::InboundACHTransfer::NotificationOfChange?, + originator_company_descriptive_date: String?, + originator_company_discretionary_data: String?, + originator_company_entry_description: String, + originator_company_id: String, + originator_company_name: String, + originator_routing_number: String, + receiver_id_number: String?, + receiver_name: String?, + standard_entry_class_code: Increase::Models::InboundACHTransfer::standard_entry_class_code, + status: Increase::Models::InboundACHTransfer::status, + trace_number: String, + transfer_return: Increase::InboundACHTransfer::TransferReturn?, + type: Increase::Models::InboundACHTransfer::type_ + } + type acceptance = { accepted_at: Time, transaction_id: String } class Acceptance < Increase::Internal::Type::BaseModel @@ -124,24 +154,31 @@ module Increase attr_accessor transaction_id: String def initialize: (accepted_at: Time, transaction_id: String) -> void + + def to_hash: -> { accepted_at: Time, transaction_id: String } end type addenda = { - category: Increase::InboundACHTransfer::Addenda::category, + category: Increase::Models::InboundACHTransfer::Addenda::category, freeform: Increase::InboundACHTransfer::Addenda::Freeform? } class Addenda < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::InboundACHTransfer::Addenda::category + attr_accessor category: Increase::Models::InboundACHTransfer::Addenda::category attr_accessor freeform: Increase::InboundACHTransfer::Addenda::Freeform? def initialize: ( - category: Increase::InboundACHTransfer::Addenda::category, + category: Increase::Models::InboundACHTransfer::Addenda::category, freeform: Increase::InboundACHTransfer::Addenda::Freeform? ) -> void + def to_hash: -> { + category: Increase::Models::InboundACHTransfer::Addenda::category, + freeform: Increase::InboundACHTransfer::Addenda::Freeform? + } + type category = :freeform module Category @@ -150,7 +187,7 @@ module Increase # Unstructured addendum. FREEFORM: :freeform - def self?.values: -> ::Array[Increase::InboundACHTransfer::Addenda::category] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::Addenda::category] end type freeform = @@ -165,12 +202,18 @@ module Increase entries: ::Array[Increase::InboundACHTransfer::Addenda::Freeform::Entry] ) -> void + def to_hash: -> { + entries: ::Array[Increase::InboundACHTransfer::Addenda::Freeform::Entry] + } + type entry = { payment_related_information: String } class Entry < Increase::Internal::Type::BaseModel attr_accessor payment_related_information: String def initialize: (payment_related_information: String) -> void + + def to_hash: -> { payment_related_information: String } end end end @@ -179,7 +222,7 @@ module Increase { declined_at: Time, declined_transaction_id: String, - reason: Increase::InboundACHTransfer::Decline::reason + reason: Increase::Models::InboundACHTransfer::Decline::reason } class Decline < Increase::Internal::Type::BaseModel @@ -187,14 +230,20 @@ module Increase attr_accessor declined_transaction_id: String - attr_accessor reason: Increase::InboundACHTransfer::Decline::reason + attr_accessor reason: Increase::Models::InboundACHTransfer::Decline::reason def initialize: ( declined_at: Time, declined_transaction_id: String, - reason: Increase::InboundACHTransfer::Decline::reason + reason: Increase::Models::InboundACHTransfer::Decline::reason ) -> void + def to_hash: -> { + declined_at: Time, + declined_transaction_id: String, + reason: Increase::Models::InboundACHTransfer::Decline::reason + } + type reason = :ach_route_canceled | :ach_route_disabled @@ -268,7 +317,7 @@ module Increase # The corporate customer no longer authorizes this transaction. CORPORATE_CUSTOMER_ADVISED_NOT_AUTHORIZED: :corporate_customer_advised_not_authorized - def self?.values: -> ::Array[Increase::InboundACHTransfer::Decline::reason] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::Decline::reason] end end @@ -283,7 +332,7 @@ module Increase # Debit DEBIT: :debit - def self?.values: -> ::Array[Increase::InboundACHTransfer::direction] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::direction] end type expected_settlement_schedule = :same_day | :future_dated @@ -297,23 +346,23 @@ module Increase # The transfer is expected to settle on a future date. FUTURE_DATED: :future_dated - def self?.values: -> ::Array[Increase::InboundACHTransfer::expected_settlement_schedule] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::expected_settlement_schedule] end type international_addenda = { destination_country_code: String, destination_currency_code: String, - foreign_exchange_indicator: Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator, + foreign_exchange_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator, foreign_exchange_reference: String?, - foreign_exchange_reference_indicator: Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator, + foreign_exchange_reference_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator, foreign_payment_amount: Integer, foreign_trace_number: String?, - international_transaction_type_code: Increase::InboundACHTransfer::InternationalAddenda::international_transaction_type_code, + international_transaction_type_code: Increase::Models::InboundACHTransfer::InternationalAddenda::international_transaction_type_code, originating_currency_code: String, originating_depository_financial_institution_branch_country: String, originating_depository_financial_institution_id: String, - originating_depository_financial_institution_id_qualifier: Increase::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier, + originating_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier, originating_depository_financial_institution_name: String, originator_city: String, originator_country: String, @@ -333,7 +382,7 @@ module Increase receiving_company_or_individual_name: String, receiving_depository_financial_institution_country: String, receiving_depository_financial_institution_id: String, - receiving_depository_financial_institution_id_qualifier: Increase::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier, + receiving_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier, receiving_depository_financial_institution_name: String } @@ -342,17 +391,17 @@ module Increase attr_accessor destination_currency_code: String - attr_accessor foreign_exchange_indicator: Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator + attr_accessor foreign_exchange_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator attr_accessor foreign_exchange_reference: String? - attr_accessor foreign_exchange_reference_indicator: Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator + attr_accessor foreign_exchange_reference_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator attr_accessor foreign_payment_amount: Integer attr_accessor foreign_trace_number: String? - attr_accessor international_transaction_type_code: Increase::InboundACHTransfer::InternationalAddenda::international_transaction_type_code + attr_accessor international_transaction_type_code: Increase::Models::InboundACHTransfer::InternationalAddenda::international_transaction_type_code attr_accessor originating_currency_code: String @@ -360,7 +409,7 @@ module Increase attr_accessor originating_depository_financial_institution_id: String - attr_accessor originating_depository_financial_institution_id_qualifier: Increase::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier + attr_accessor originating_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier attr_accessor originating_depository_financial_institution_name: String @@ -400,23 +449,23 @@ module Increase attr_accessor receiving_depository_financial_institution_id: String - attr_accessor receiving_depository_financial_institution_id_qualifier: Increase::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier + attr_accessor receiving_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier attr_accessor receiving_depository_financial_institution_name: String def initialize: ( destination_country_code: String, destination_currency_code: String, - foreign_exchange_indicator: Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator, + foreign_exchange_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator, foreign_exchange_reference: String?, - foreign_exchange_reference_indicator: Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator, + foreign_exchange_reference_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator, foreign_payment_amount: Integer, foreign_trace_number: String?, - international_transaction_type_code: Increase::InboundACHTransfer::InternationalAddenda::international_transaction_type_code, + international_transaction_type_code: Increase::Models::InboundACHTransfer::InternationalAddenda::international_transaction_type_code, originating_currency_code: String, originating_depository_financial_institution_branch_country: String, originating_depository_financial_institution_id: String, - originating_depository_financial_institution_id_qualifier: Increase::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier, + originating_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier, originating_depository_financial_institution_name: String, originator_city: String, originator_country: String, @@ -436,10 +485,46 @@ module Increase receiving_company_or_individual_name: String, receiving_depository_financial_institution_country: String, receiving_depository_financial_institution_id: String, - receiving_depository_financial_institution_id_qualifier: Increase::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier, + receiving_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier, receiving_depository_financial_institution_name: String ) -> void + def to_hash: -> { + destination_country_code: String, + destination_currency_code: String, + foreign_exchange_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator, + foreign_exchange_reference: String?, + foreign_exchange_reference_indicator: Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator, + foreign_payment_amount: Integer, + foreign_trace_number: String?, + international_transaction_type_code: Increase::Models::InboundACHTransfer::InternationalAddenda::international_transaction_type_code, + originating_currency_code: String, + originating_depository_financial_institution_branch_country: String, + originating_depository_financial_institution_id: String, + originating_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier, + originating_depository_financial_institution_name: String, + originator_city: String, + originator_country: String, + originator_identification: String, + originator_name: String, + originator_postal_code: String?, + originator_state_or_province: String?, + originator_street_address: String, + payment_related_information: String?, + :payment_related_information2 => String?, + receiver_city: String, + receiver_country: String, + receiver_identification_number: String?, + receiver_postal_code: String?, + receiver_state_or_province: String?, + receiver_street_address: String, + receiving_company_or_individual_name: String, + receiving_depository_financial_institution_country: String, + receiving_depository_financial_institution_id: String, + receiving_depository_financial_institution_id_qualifier: Increase::Models::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier, + receiving_depository_financial_institution_name: String + } + type foreign_exchange_indicator = :fixed_to_variable | :variable_to_fixed | :fixed_to_fixed @@ -455,7 +540,7 @@ module Increase # The amount was originated and settled as a fixed amount in USD. There is no foreign exchange conversion. FIXED_TO_FIXED: :fixed_to_fixed - def self?.values: -> ::Array[Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_indicator] end type foreign_exchange_reference_indicator = @@ -473,7 +558,7 @@ module Increase # There is no foreign exchange for this transfer, so the `foreign_exchange_reference` field is blank. BLANK: :blank - def self?.values: -> ::Array[Increase::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::InternationalAddenda::foreign_exchange_reference_indicator] end type international_transaction_type_code = @@ -561,7 +646,7 @@ module Increase # Sent as `WEB` in the Nacha file. INTERNET_INITIATED: :internet_initiated - def self?.values: -> ::Array[Increase::InboundACHTransfer::InternationalAddenda::international_transaction_type_code] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::InternationalAddenda::international_transaction_type_code] end type originating_depository_financial_institution_id_qualifier = @@ -579,7 +664,7 @@ module Increase # An International Bank Account Number. IBAN: :iban - def self?.values: -> ::Array[Increase::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::InternationalAddenda::originating_depository_financial_institution_id_qualifier] end type receiving_depository_financial_institution_id_qualifier = @@ -597,7 +682,7 @@ module Increase # An International Bank Account Number. IBAN: :iban - def self?.values: -> ::Array[Increase::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::InternationalAddenda::receiving_depository_financial_institution_id_qualifier] end end @@ -613,6 +698,11 @@ module Increase updated_account_number: String?, updated_routing_number: String? ) -> void + + def to_hash: -> { + updated_account_number: String?, + updated_routing_number: String? + } end type standard_entry_class_code = @@ -684,7 +774,7 @@ module Increase # International ACH Transaction (IAT). INTERNATIONAL_ACH_TRANSACTION: :international_ach_transaction - def self?.values: -> ::Array[Increase::InboundACHTransfer::standard_entry_class_code] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::standard_entry_class_code] end type status = :pending | :declined | :accepted | :returned @@ -704,29 +794,35 @@ module Increase # The Inbound ACH Transfer has been returned. RETURNED: :returned - def self?.values: -> ::Array[Increase::InboundACHTransfer::status] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::status] end type transfer_return = { - reason: Increase::InboundACHTransfer::TransferReturn::reason, + reason: Increase::Models::InboundACHTransfer::TransferReturn::reason, returned_at: Time, transaction_id: String } class TransferReturn < Increase::Internal::Type::BaseModel - attr_accessor reason: Increase::InboundACHTransfer::TransferReturn::reason + attr_accessor reason: Increase::Models::InboundACHTransfer::TransferReturn::reason attr_accessor returned_at: Time attr_accessor transaction_id: String def initialize: ( - reason: Increase::InboundACHTransfer::TransferReturn::reason, + reason: Increase::Models::InboundACHTransfer::TransferReturn::reason, returned_at: Time, transaction_id: String ) -> void + def to_hash: -> { + reason: Increase::Models::InboundACHTransfer::TransferReturn::reason, + returned_at: Time, + transaction_id: String + } + type reason = :insufficient_funds | :returned_per_odfi_request @@ -772,7 +868,7 @@ module Increase # The corporate customer no longer authorizes this transaction. The Nacha return code is R29. CORPORATE_CUSTOMER_ADVISED_NOT_AUTHORIZED: :corporate_customer_advised_not_authorized - def self?.values: -> ::Array[Increase::InboundACHTransfer::TransferReturn::reason] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::TransferReturn::reason] end end @@ -783,7 +879,7 @@ module Increase INBOUND_ACH_TRANSFER: :inbound_ach_transfer - def self?.values: -> ::Array[Increase::InboundACHTransfer::type_] + def self?.values: -> ::Array[Increase::Models::InboundACHTransfer::type_] end end end diff --git a/sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs b/sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs index 5c70a107c..0384621ad 100644 --- a/sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs +++ b/sig/increase/models/inbound_ach_transfer_create_notification_of_change_params.rbs @@ -21,6 +21,12 @@ module Increase ?updated_routing_number: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + updated_account_number: String, + updated_routing_number: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/inbound_ach_transfer_decline_params.rbs b/sig/increase/models/inbound_ach_transfer_decline_params.rbs index 9de444bf0..d505d3203 100644 --- a/sig/increase/models/inbound_ach_transfer_decline_params.rbs +++ b/sig/increase/models/inbound_ach_transfer_decline_params.rbs @@ -19,6 +19,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + reason: Increase::Models::InboundACHTransferDeclineParams::reason, + request_options: Increase::RequestOptions + } + type reason = :insufficient_funds | :returned_per_odfi_request diff --git a/sig/increase/models/inbound_ach_transfer_list_params.rbs b/sig/increase/models/inbound_ach_transfer_list_params.rbs index c240b0249..515c5ccd8 100644 --- a/sig/increase/models/inbound_ach_transfer_list_params.rbs +++ b/sig/increase/models/inbound_ach_transfer_list_params.rbs @@ -53,6 +53,16 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + account_number_id: String, + created_at: Increase::InboundACHTransferListParams::CreatedAt, + cursor: String, + limit: Integer, + status: Increase::InboundACHTransferListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -79,22 +89,35 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::InboundACHTransferListParams::Status::in_] } + { + in_: ::Array[Increase::Models::InboundACHTransferListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::InboundACHTransferListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::InboundACHTransferListParams::Status::in_]? def in_=: ( - ::Array[Increase::InboundACHTransferListParams::Status::in_] - ) -> ::Array[Increase::InboundACHTransferListParams::Status::in_] + ::Array[Increase::Models::InboundACHTransferListParams::Status::in_] + ) -> ::Array[Increase::Models::InboundACHTransferListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::InboundACHTransferListParams::Status::in_] + ?in_: ::Array[Increase::Models::InboundACHTransferListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::InboundACHTransferListParams::Status::in_] + } + type in_ = :pending | :declined | :accepted | :returned module In @@ -112,7 +135,7 @@ module Increase # The Inbound ACH Transfer has been returned. RETURNED: :returned - def self?.values: -> ::Array[Increase::InboundACHTransferListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::InboundACHTransferListParams::Status::in_] end end end diff --git a/sig/increase/models/inbound_ach_transfer_retrieve_params.rbs b/sig/increase/models/inbound_ach_transfer_retrieve_params.rbs index 9cc0326aa..ee4baaf7d 100644 --- a/sig/increase/models/inbound_ach_transfer_retrieve_params.rbs +++ b/sig/increase/models/inbound_ach_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs b/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs index 52a27a775..bf7d96c6a 100644 --- a/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs +++ b/sig/increase/models/inbound_ach_transfer_transfer_return_params.rbs @@ -17,6 +17,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + reason: Increase::Models::InboundACHTransferTransferReturnParams::reason, + request_options: Increase::RequestOptions + } + type reason = :insufficient_funds | :returned_per_odfi_request diff --git a/sig/increase/models/inbound_check_deposit.rbs b/sig/increase/models/inbound_check_deposit.rbs index 64a436b8e..3d943f64e 100644 --- a/sig/increase/models/inbound_check_deposit.rbs +++ b/sig/increase/models/inbound_check_deposit.rbs @@ -13,15 +13,15 @@ module Increase check_number: String?, check_transfer_id: String?, created_at: Time, - currency: Increase::InboundCheckDeposit::currency, + currency: Increase::Models::InboundCheckDeposit::currency, declined_at: Time?, declined_transaction_id: String?, deposit_return: Increase::InboundCheckDeposit::DepositReturn?, front_image_file_id: String?, - payee_name_analysis: Increase::InboundCheckDeposit::payee_name_analysis, - status: Increase::InboundCheckDeposit::status, + payee_name_analysis: Increase::Models::InboundCheckDeposit::payee_name_analysis, + status: Increase::Models::InboundCheckDeposit::status, transaction_id: String?, - type: Increase::InboundCheckDeposit::type_ + type: Increase::Models::InboundCheckDeposit::type_ } class InboundCheckDeposit < Increase::Internal::Type::BaseModel @@ -47,7 +47,7 @@ module Increase attr_accessor created_at: Time - attr_accessor currency: Increase::InboundCheckDeposit::currency + attr_accessor currency: Increase::Models::InboundCheckDeposit::currency attr_accessor declined_at: Time? @@ -57,13 +57,13 @@ module Increase attr_accessor front_image_file_id: String? - attr_accessor payee_name_analysis: Increase::InboundCheckDeposit::payee_name_analysis + attr_accessor payee_name_analysis: Increase::Models::InboundCheckDeposit::payee_name_analysis - attr_accessor status: Increase::InboundCheckDeposit::status + attr_accessor status: Increase::Models::InboundCheckDeposit::status attr_accessor transaction_id: String? - attr_accessor type: Increase::InboundCheckDeposit::type_ + attr_accessor type: Increase::Models::InboundCheckDeposit::type_ def initialize: ( id: String, @@ -77,22 +77,45 @@ module Increase check_number: String?, check_transfer_id: String?, created_at: Time, - currency: Increase::InboundCheckDeposit::currency, + currency: Increase::Models::InboundCheckDeposit::currency, declined_at: Time?, declined_transaction_id: String?, deposit_return: Increase::InboundCheckDeposit::DepositReturn?, front_image_file_id: String?, - payee_name_analysis: Increase::InboundCheckDeposit::payee_name_analysis, - status: Increase::InboundCheckDeposit::status, + payee_name_analysis: Increase::Models::InboundCheckDeposit::payee_name_analysis, + status: Increase::Models::InboundCheckDeposit::status, transaction_id: String?, - type: Increase::InboundCheckDeposit::type_ + type: Increase::Models::InboundCheckDeposit::type_ ) -> void + def to_hash: -> { + id: String, + accepted_at: Time?, + account_id: String, + account_number_id: String?, + adjustments: ::Array[Increase::InboundCheckDeposit::Adjustment], + amount: Integer, + back_image_file_id: String?, + bank_of_first_deposit_routing_number: String?, + check_number: String?, + check_transfer_id: String?, + created_at: Time, + currency: Increase::Models::InboundCheckDeposit::currency, + declined_at: Time?, + declined_transaction_id: String?, + deposit_return: Increase::InboundCheckDeposit::DepositReturn?, + front_image_file_id: String?, + payee_name_analysis: Increase::Models::InboundCheckDeposit::payee_name_analysis, + status: Increase::Models::InboundCheckDeposit::status, + transaction_id: String?, + type: Increase::Models::InboundCheckDeposit::type_ + } + type adjustment = { adjusted_at: Time, amount: Integer, - reason: Increase::InboundCheckDeposit::Adjustment::reason, + reason: Increase::Models::InboundCheckDeposit::Adjustment::reason, transaction_id: String } @@ -101,17 +124,24 @@ module Increase attr_accessor amount: Integer - attr_accessor reason: Increase::InboundCheckDeposit::Adjustment::reason + attr_accessor reason: Increase::Models::InboundCheckDeposit::Adjustment::reason attr_accessor transaction_id: String def initialize: ( adjusted_at: Time, amount: Integer, - reason: Increase::InboundCheckDeposit::Adjustment::reason, + reason: Increase::Models::InboundCheckDeposit::Adjustment::reason, transaction_id: String ) -> void + def to_hash: -> { + adjusted_at: Time, + amount: Integer, + reason: Increase::Models::InboundCheckDeposit::Adjustment::reason, + transaction_id: String + } + type reason = :late_return | :wrong_payee_credit @@ -133,7 +163,7 @@ module Increase # The recipient was not able to process the check. This usually happens for e.g., low quality images. NON_CONFORMING_ITEM: :non_conforming_item - def self?.values: -> ::Array[Increase::InboundCheckDeposit::Adjustment::reason] + def self?.values: -> ::Array[Increase::Models::InboundCheckDeposit::Adjustment::reason] end end @@ -160,29 +190,35 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::InboundCheckDeposit::currency] + def self?.values: -> ::Array[Increase::Models::InboundCheckDeposit::currency] end type deposit_return = { - reason: Increase::InboundCheckDeposit::DepositReturn::reason, + reason: Increase::Models::InboundCheckDeposit::DepositReturn::reason, returned_at: Time, transaction_id: String } class DepositReturn < Increase::Internal::Type::BaseModel - attr_accessor reason: Increase::InboundCheckDeposit::DepositReturn::reason + attr_accessor reason: Increase::Models::InboundCheckDeposit::DepositReturn::reason attr_accessor returned_at: Time attr_accessor transaction_id: String def initialize: ( - reason: Increase::InboundCheckDeposit::DepositReturn::reason, + reason: Increase::Models::InboundCheckDeposit::DepositReturn::reason, returned_at: Time, transaction_id: String ) -> void + def to_hash: -> { + reason: Increase::Models::InboundCheckDeposit::DepositReturn::reason, + returned_at: Time, + transaction_id: String + } + type reason = :altered_or_fictitious | :not_authorized @@ -208,7 +244,7 @@ module Increase # The check was not endorsed by the payee. ENDORSEMENT_IRREGULAR: :endorsement_irregular - def self?.values: -> ::Array[Increase::InboundCheckDeposit::DepositReturn::reason] + def self?.values: -> ::Array[Increase::Models::InboundCheckDeposit::DepositReturn::reason] end end @@ -227,7 +263,7 @@ module Increase # The payee name analysis was not evaluated. NOT_EVALUATED: :not_evaluated - def self?.values: -> ::Array[Increase::InboundCheckDeposit::payee_name_analysis] + def self?.values: -> ::Array[Increase::Models::InboundCheckDeposit::payee_name_analysis] end type status = @@ -251,7 +287,7 @@ module Increase # The Inbound Check Deposit requires attention from an Increase operator. REQUIRES_ATTENTION: :requires_attention - def self?.values: -> ::Array[Increase::InboundCheckDeposit::status] + def self?.values: -> ::Array[Increase::Models::InboundCheckDeposit::status] end type type_ = :inbound_check_deposit @@ -261,7 +297,7 @@ module Increase INBOUND_CHECK_DEPOSIT: :inbound_check_deposit - def self?.values: -> ::Array[Increase::InboundCheckDeposit::type_] + def self?.values: -> ::Array[Increase::Models::InboundCheckDeposit::type_] end end end diff --git a/sig/increase/models/inbound_check_deposit_decline_params.rbs b/sig/increase/models/inbound_check_deposit_decline_params.rbs index 7d7d79f21..816e66cc4 100644 --- a/sig/increase/models/inbound_check_deposit_decline_params.rbs +++ b/sig/increase/models/inbound_check_deposit_decline_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_check_deposit_list_params.rbs b/sig/increase/models/inbound_check_deposit_list_params.rbs index d0f671941..5557b3cf0 100644 --- a/sig/increase/models/inbound_check_deposit_list_params.rbs +++ b/sig/increase/models/inbound_check_deposit_list_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + check_transfer_id: String, + created_at: Increase::InboundCheckDepositListParams::CreatedAt, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -71,6 +80,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/inbound_check_deposit_retrieve_params.rbs b/sig/increase/models/inbound_check_deposit_retrieve_params.rbs index b1250529c..501206743 100644 --- a/sig/increase/models/inbound_check_deposit_retrieve_params.rbs +++ b/sig/increase/models/inbound_check_deposit_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_check_deposit_return_params.rbs b/sig/increase/models/inbound_check_deposit_return_params.rbs index 366c6802d..cd2dc29f1 100644 --- a/sig/increase/models/inbound_check_deposit_return_params.rbs +++ b/sig/increase/models/inbound_check_deposit_return_params.rbs @@ -15,6 +15,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + reason: Increase::Models::InboundCheckDepositReturnParams::reason, + request_options: Increase::RequestOptions + } + type reason = :altered_or_fictitious | :not_authorized diff --git a/sig/increase/models/inbound_mail_item.rbs b/sig/increase/models/inbound_mail_item.rbs index bdb3cd2e5..b64fa0b33 100644 --- a/sig/increase/models/inbound_mail_item.rbs +++ b/sig/increase/models/inbound_mail_item.rbs @@ -7,9 +7,9 @@ module Increase file_id: String, lockbox_id: String?, recipient_name: String?, - rejection_reason: Increase::InboundMailItem::rejection_reason?, - status: Increase::InboundMailItem::status, - type: Increase::InboundMailItem::type_ + rejection_reason: Increase::Models::InboundMailItem::rejection_reason?, + status: Increase::Models::InboundMailItem::status, + type: Increase::Models::InboundMailItem::type_ } class InboundMailItem < Increase::Internal::Type::BaseModel @@ -23,11 +23,11 @@ module Increase attr_accessor recipient_name: String? - attr_accessor rejection_reason: Increase::InboundMailItem::rejection_reason? + attr_accessor rejection_reason: Increase::Models::InboundMailItem::rejection_reason? - attr_accessor status: Increase::InboundMailItem::status + attr_accessor status: Increase::Models::InboundMailItem::status - attr_accessor type: Increase::InboundMailItem::type_ + attr_accessor type: Increase::Models::InboundMailItem::type_ def initialize: ( id: String, @@ -35,11 +35,22 @@ module Increase file_id: String, lockbox_id: String?, recipient_name: String?, - rejection_reason: Increase::InboundMailItem::rejection_reason?, - status: Increase::InboundMailItem::status, - type: Increase::InboundMailItem::type_ + rejection_reason: Increase::Models::InboundMailItem::rejection_reason?, + status: Increase::Models::InboundMailItem::status, + type: Increase::Models::InboundMailItem::type_ ) -> void + def to_hash: -> { + id: String, + created_at: Time, + file_id: String, + lockbox_id: String?, + recipient_name: String?, + rejection_reason: Increase::Models::InboundMailItem::rejection_reason?, + status: Increase::Models::InboundMailItem::status, + type: Increase::Models::InboundMailItem::type_ + } + type rejection_reason = :no_matching_lockbox | :no_check | :lockbox_not_active @@ -55,7 +66,7 @@ module Increase # The Lockbox or its associated Account is not active. LOCKBOX_NOT_ACTIVE: :lockbox_not_active - def self?.values: -> ::Array[Increase::InboundMailItem::rejection_reason] + def self?.values: -> ::Array[Increase::Models::InboundMailItem::rejection_reason] end type status = :pending | :processed | :rejected @@ -72,7 +83,7 @@ module Increase # The mail item has been rejected. REJECTED: :rejected - def self?.values: -> ::Array[Increase::InboundMailItem::status] + def self?.values: -> ::Array[Increase::Models::InboundMailItem::status] end type type_ = :inbound_mail_item @@ -82,7 +93,7 @@ module Increase INBOUND_MAIL_ITEM: :inbound_mail_item - def self?.values: -> ::Array[Increase::InboundMailItem::type_] + def self?.values: -> ::Array[Increase::Models::InboundMailItem::type_] end end end diff --git a/sig/increase/models/inbound_mail_item_list_params.rbs b/sig/increase/models/inbound_mail_item_list_params.rbs index 984d1b995..5f85f8107 100644 --- a/sig/increase/models/inbound_mail_item_list_params.rbs +++ b/sig/increase/models/inbound_mail_item_list_params.rbs @@ -39,6 +39,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + created_at: Increase::InboundMailItemListParams::CreatedAt, + cursor: String, + limit: Integer, + lockbox_id: String, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -65,6 +73,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/inbound_mail_item_retrieve_params.rbs b/sig/increase/models/inbound_mail_item_retrieve_params.rbs index 974427a73..a70c5e13d 100644 --- a/sig/increase/models/inbound_mail_item_retrieve_params.rbs +++ b/sig/increase/models/inbound_mail_item_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_real_time_payments_transfer.rbs b/sig/increase/models/inbound_real_time_payments_transfer.rbs index a91a59fbe..fad5545f0 100644 --- a/sig/increase/models/inbound_real_time_payments_transfer.rbs +++ b/sig/increase/models/inbound_real_time_payments_transfer.rbs @@ -9,15 +9,15 @@ module Increase confirmation: Increase::InboundRealTimePaymentsTransfer::Confirmation?, created_at: Time, creditor_name: String, - currency: Increase::InboundRealTimePaymentsTransfer::currency, + currency: Increase::Models::InboundRealTimePaymentsTransfer::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, decline: Increase::InboundRealTimePaymentsTransfer::Decline?, remittance_information: String?, - status: Increase::InboundRealTimePaymentsTransfer::status, + status: Increase::Models::InboundRealTimePaymentsTransfer::status, transaction_identification: String, - type: Increase::InboundRealTimePaymentsTransfer::type_ + type: Increase::Models::InboundRealTimePaymentsTransfer::type_ } class InboundRealTimePaymentsTransfer < Increase::Internal::Type::BaseModel @@ -35,7 +35,7 @@ module Increase attr_accessor creditor_name: String - attr_accessor currency: Increase::InboundRealTimePaymentsTransfer::currency + attr_accessor currency: Increase::Models::InboundRealTimePaymentsTransfer::currency attr_accessor debtor_account_number: String @@ -47,11 +47,11 @@ module Increase attr_accessor remittance_information: String? - attr_accessor status: Increase::InboundRealTimePaymentsTransfer::status + attr_accessor status: Increase::Models::InboundRealTimePaymentsTransfer::status attr_accessor transaction_identification: String - attr_accessor type: Increase::InboundRealTimePaymentsTransfer::type_ + attr_accessor type: Increase::Models::InboundRealTimePaymentsTransfer::type_ def initialize: ( id: String, @@ -61,17 +61,36 @@ module Increase confirmation: Increase::InboundRealTimePaymentsTransfer::Confirmation?, created_at: Time, creditor_name: String, - currency: Increase::InboundRealTimePaymentsTransfer::currency, + currency: Increase::Models::InboundRealTimePaymentsTransfer::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, decline: Increase::InboundRealTimePaymentsTransfer::Decline?, remittance_information: String?, - status: Increase::InboundRealTimePaymentsTransfer::status, + status: Increase::Models::InboundRealTimePaymentsTransfer::status, transaction_identification: String, - type: Increase::InboundRealTimePaymentsTransfer::type_ + type: Increase::Models::InboundRealTimePaymentsTransfer::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + account_number_id: String, + amount: Integer, + confirmation: Increase::InboundRealTimePaymentsTransfer::Confirmation?, + created_at: Time, + creditor_name: String, + currency: Increase::Models::InboundRealTimePaymentsTransfer::currency, + debtor_account_number: String, + debtor_name: String, + debtor_routing_number: String, + decline: Increase::InboundRealTimePaymentsTransfer::Decline?, + remittance_information: String?, + status: Increase::Models::InboundRealTimePaymentsTransfer::status, + transaction_identification: String, + type: Increase::Models::InboundRealTimePaymentsTransfer::type_ + } + type confirmation = { confirmed_at: Time, transaction_id: String } class Confirmation < Increase::Internal::Type::BaseModel @@ -80,6 +99,8 @@ module Increase attr_accessor transaction_id: String def initialize: (confirmed_at: Time, transaction_id: String) -> void + + def to_hash: -> { confirmed_at: Time, transaction_id: String } end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -105,14 +126,14 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::InboundRealTimePaymentsTransfer::currency] + def self?.values: -> ::Array[Increase::Models::InboundRealTimePaymentsTransfer::currency] end type decline = { declined_at: Time, declined_transaction_id: String, - reason: Increase::InboundRealTimePaymentsTransfer::Decline::reason + reason: Increase::Models::InboundRealTimePaymentsTransfer::Decline::reason } class Decline < Increase::Internal::Type::BaseModel @@ -120,14 +141,20 @@ module Increase attr_accessor declined_transaction_id: String - attr_accessor reason: Increase::InboundRealTimePaymentsTransfer::Decline::reason + attr_accessor reason: Increase::Models::InboundRealTimePaymentsTransfer::Decline::reason def initialize: ( declined_at: Time, declined_transaction_id: String, - reason: Increase::InboundRealTimePaymentsTransfer::Decline::reason + reason: Increase::Models::InboundRealTimePaymentsTransfer::Decline::reason ) -> void + def to_hash: -> { + declined_at: Time, + declined_transaction_id: String, + reason: Increase::Models::InboundRealTimePaymentsTransfer::Decline::reason + } + type reason = :account_number_canceled | :account_number_disabled @@ -157,7 +184,7 @@ module Increase # Your account is not enabled to receive Real-Time Payments transfers. REAL_TIME_PAYMENTS_NOT_ENABLED: :real_time_payments_not_enabled - def self?.values: -> ::Array[Increase::InboundRealTimePaymentsTransfer::Decline::reason] + def self?.values: -> ::Array[Increase::Models::InboundRealTimePaymentsTransfer::Decline::reason] end end @@ -178,7 +205,7 @@ module Increase # The transfer has been declined. DECLINED: :declined - def self?.values: -> ::Array[Increase::InboundRealTimePaymentsTransfer::status] + def self?.values: -> ::Array[Increase::Models::InboundRealTimePaymentsTransfer::status] end type type_ = :inbound_real_time_payments_transfer @@ -188,7 +215,7 @@ module Increase INBOUND_REAL_TIME_PAYMENTS_TRANSFER: :inbound_real_time_payments_transfer - def self?.values: -> ::Array[Increase::InboundRealTimePaymentsTransfer::type_] + def self?.values: -> ::Array[Increase::Models::InboundRealTimePaymentsTransfer::type_] end end end diff --git a/sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs b/sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs index 80fd067e4..cefa2460e 100644 --- a/sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs +++ b/sig/increase/models/inbound_real_time_payments_transfer_list_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + account_number_id: String, + created_at: Increase::InboundRealTimePaymentsTransferListParams::CreatedAt, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -71,6 +80,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs b/sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs index 2d4f26e31..2e77015c9 100644 --- a/sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs +++ b/sig/increase/models/inbound_real_time_payments_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_wire_drawdown_request.rbs b/sig/increase/models/inbound_wire_drawdown_request.rbs index e8849ffa9..2b884777e 100644 --- a/sig/increase/models/inbound_wire_drawdown_request.rbs +++ b/sig/increase/models/inbound_wire_drawdown_request.rbs @@ -24,7 +24,7 @@ module Increase :originator_to_beneficiary_information_line3 => String?, :originator_to_beneficiary_information_line4 => String?, recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::type_ + type: Increase::Models::InboundWireDrawdownRequest::type_ } class InboundWireDrawdownRequest < Increase::Internal::Type::BaseModel @@ -72,7 +72,7 @@ module Increase attr_accessor recipient_account_number_id: String - attr_accessor type: Increase::InboundWireDrawdownRequest::type_ + attr_accessor type: Increase::Models::InboundWireDrawdownRequest::type_ def initialize: ( id: String, @@ -97,9 +97,35 @@ module Increase originator_to_beneficiary_information_line3: String?, originator_to_beneficiary_information_line4: String?, recipient_account_number_id: String, - type: Increase::InboundWireDrawdownRequest::type_ + type: Increase::Models::InboundWireDrawdownRequest::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + beneficiary_account_number: String, + :beneficiary_address_line1 => String?, + :beneficiary_address_line2 => String?, + :beneficiary_address_line3 => String?, + beneficiary_name: String?, + beneficiary_routing_number: String, + created_at: Time, + currency: String, + message_to_recipient: String?, + originator_account_number: String?, + :originator_address_line1 => String?, + :originator_address_line2 => String?, + :originator_address_line3 => String?, + originator_name: String?, + originator_routing_number: String, + :originator_to_beneficiary_information_line1 => String?, + :originator_to_beneficiary_information_line2 => String?, + :originator_to_beneficiary_information_line3 => String?, + :originator_to_beneficiary_information_line4 => String?, + recipient_account_number_id: String, + type: Increase::Models::InboundWireDrawdownRequest::type_ + } + type type_ = :inbound_wire_drawdown_request module Type @@ -107,7 +133,7 @@ module Increase INBOUND_WIRE_DRAWDOWN_REQUEST: :inbound_wire_drawdown_request - def self?.values: -> ::Array[Increase::InboundWireDrawdownRequest::type_] + def self?.values: -> ::Array[Increase::Models::InboundWireDrawdownRequest::type_] end end end diff --git a/sig/increase/models/inbound_wire_drawdown_request_list_params.rbs b/sig/increase/models/inbound_wire_drawdown_request_list_params.rbs index 1eff657e6..db14dc02d 100644 --- a/sig/increase/models/inbound_wire_drawdown_request_list_params.rbs +++ b/sig/increase/models/inbound_wire_drawdown_request_list_params.rbs @@ -21,6 +21,12 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs b/sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs index 9441f9830..461c243a3 100644 --- a/sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs +++ b/sig/increase/models/inbound_wire_drawdown_request_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_wire_transfer.rbs b/sig/increase/models/inbound_wire_transfer.rbs index 982866bd8..26694b23d 100644 --- a/sig/increase/models/inbound_wire_transfer.rbs +++ b/sig/increase/models/inbound_wire_transfer.rbs @@ -26,8 +26,8 @@ module Increase :originator_to_beneficiary_information_line4 => String?, reversal: Increase::InboundWireTransfer::Reversal?, sender_reference: String?, - status: Increase::InboundWireTransfer::status, - type: Increase::InboundWireTransfer::type_ + status: Increase::Models::InboundWireTransfer::status, + type: Increase::Models::InboundWireTransfer::type_ } class InboundWireTransfer < Increase::Internal::Type::BaseModel @@ -79,9 +79,9 @@ module Increase attr_accessor sender_reference: String? - attr_accessor status: Increase::InboundWireTransfer::status + attr_accessor status: Increase::Models::InboundWireTransfer::status - attr_accessor type: Increase::InboundWireTransfer::type_ + attr_accessor type: Increase::Models::InboundWireTransfer::type_ def initialize: ( id: String, @@ -108,26 +108,60 @@ module Increase originator_to_beneficiary_information_line4: String?, reversal: Increase::InboundWireTransfer::Reversal?, sender_reference: String?, - status: Increase::InboundWireTransfer::status, - type: Increase::InboundWireTransfer::type_ + status: Increase::Models::InboundWireTransfer::status, + type: Increase::Models::InboundWireTransfer::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + account_number_id: String, + amount: Integer, + :beneficiary_address_line1 => String?, + :beneficiary_address_line2 => String?, + :beneficiary_address_line3 => String?, + beneficiary_name: String?, + beneficiary_reference: String?, + created_at: Time, + description: String, + input_message_accountability_data: String?, + :originator_address_line1 => String?, + :originator_address_line2 => String?, + :originator_address_line3 => String?, + originator_name: String?, + originator_routing_number: String?, + originator_to_beneficiary_information: String?, + :originator_to_beneficiary_information_line1 => String?, + :originator_to_beneficiary_information_line2 => String?, + :originator_to_beneficiary_information_line3 => String?, + :originator_to_beneficiary_information_line4 => String?, + reversal: Increase::InboundWireTransfer::Reversal?, + sender_reference: String?, + status: Increase::Models::InboundWireTransfer::status, + type: Increase::Models::InboundWireTransfer::type_ + } + type reversal = { - reason: Increase::InboundWireTransfer::Reversal::reason, + reason: Increase::Models::InboundWireTransfer::Reversal::reason, reversed_at: Time } class Reversal < Increase::Internal::Type::BaseModel - attr_accessor reason: Increase::InboundWireTransfer::Reversal::reason + attr_accessor reason: Increase::Models::InboundWireTransfer::Reversal::reason attr_accessor reversed_at: Time def initialize: ( - reason: Increase::InboundWireTransfer::Reversal::reason, + reason: Increase::Models::InboundWireTransfer::Reversal::reason, reversed_at: Time ) -> void + def to_hash: -> { + reason: Increase::Models::InboundWireTransfer::Reversal::reason, + reversed_at: Time + } + type reason = :duplicate | :creditor_request module Reason @@ -139,7 +173,7 @@ module Increase # The recipient of the wire transfer requested the funds be returned to the sender. CREDITOR_REQUEST: :creditor_request - def self?.values: -> ::Array[Increase::InboundWireTransfer::Reversal::reason] + def self?.values: -> ::Array[Increase::Models::InboundWireTransfer::Reversal::reason] end end @@ -160,7 +194,7 @@ module Increase # The Inbound Wire Transfer was reversed. REVERSED: :reversed - def self?.values: -> ::Array[Increase::InboundWireTransfer::status] + def self?.values: -> ::Array[Increase::Models::InboundWireTransfer::status] end type type_ = :inbound_wire_transfer @@ -170,7 +204,7 @@ module Increase INBOUND_WIRE_TRANSFER: :inbound_wire_transfer - def self?.values: -> ::Array[Increase::InboundWireTransfer::type_] + def self?.values: -> ::Array[Increase::Models::InboundWireTransfer::type_] end end end diff --git a/sig/increase/models/inbound_wire_transfer_list_params.rbs b/sig/increase/models/inbound_wire_transfer_list_params.rbs index cd172ac4b..15838b1fe 100644 --- a/sig/increase/models/inbound_wire_transfer_list_params.rbs +++ b/sig/increase/models/inbound_wire_transfer_list_params.rbs @@ -53,6 +53,16 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + account_number_id: String, + created_at: Increase::InboundWireTransferListParams::CreatedAt, + cursor: String, + limit: Integer, + status: Increase::InboundWireTransferListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -79,22 +89,35 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::InboundWireTransferListParams::Status::in_] } + { + in_: ::Array[Increase::Models::InboundWireTransferListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::InboundWireTransferListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::InboundWireTransferListParams::Status::in_]? def in_=: ( - ::Array[Increase::InboundWireTransferListParams::Status::in_] - ) -> ::Array[Increase::InboundWireTransferListParams::Status::in_] + ::Array[Increase::Models::InboundWireTransferListParams::Status::in_] + ) -> ::Array[Increase::Models::InboundWireTransferListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::InboundWireTransferListParams::Status::in_] + ?in_: ::Array[Increase::Models::InboundWireTransferListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::InboundWireTransferListParams::Status::in_] + } + type in_ = :pending | :accepted | :declined | :reversed module In @@ -112,7 +135,7 @@ module Increase # The Inbound Wire Transfer was reversed. REVERSED: :reversed - def self?.values: -> ::Array[Increase::InboundWireTransferListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::InboundWireTransferListParams::Status::in_] end end end diff --git a/sig/increase/models/inbound_wire_transfer_retrieve_params.rbs b/sig/increase/models/inbound_wire_transfer_retrieve_params.rbs index 45a9ade54..6ad946868 100644 --- a/sig/increase/models/inbound_wire_transfer_retrieve_params.rbs +++ b/sig/increase/models/inbound_wire_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/inbound_wire_transfer_reverse_params.rbs b/sig/increase/models/inbound_wire_transfer_reverse_params.rbs index 084ac5973..3e3abad30 100644 --- a/sig/increase/models/inbound_wire_transfer_reverse_params.rbs +++ b/sig/increase/models/inbound_wire_transfer_reverse_params.rbs @@ -15,6 +15,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + reason: Increase::Models::InboundWireTransferReverseParams::reason, + request_options: Increase::RequestOptions + } + type reason = :duplicate | :creditor_request module Reason diff --git a/sig/increase/models/intrafi_account_enrollment.rbs b/sig/increase/models/intrafi_account_enrollment.rbs index 811a39edf..64b6c6492 100644 --- a/sig/increase/models/intrafi_account_enrollment.rbs +++ b/sig/increase/models/intrafi_account_enrollment.rbs @@ -7,8 +7,8 @@ module Increase created_at: Time, idempotency_key: String?, intrafi_id: String, - status: Increase::IntrafiAccountEnrollment::status, - type: Increase::IntrafiAccountEnrollment::type_ + status: Increase::Models::IntrafiAccountEnrollment::status, + type: Increase::Models::IntrafiAccountEnrollment::type_ } class IntrafiAccountEnrollment < Increase::Internal::Type::BaseModel @@ -22,9 +22,9 @@ module Increase attr_accessor intrafi_id: String - attr_accessor status: Increase::IntrafiAccountEnrollment::status + attr_accessor status: Increase::Models::IntrafiAccountEnrollment::status - attr_accessor type: Increase::IntrafiAccountEnrollment::type_ + attr_accessor type: Increase::Models::IntrafiAccountEnrollment::type_ def initialize: ( id: String, @@ -32,10 +32,20 @@ module Increase created_at: Time, idempotency_key: String?, intrafi_id: String, - status: Increase::IntrafiAccountEnrollment::status, - type: Increase::IntrafiAccountEnrollment::type_ + status: Increase::Models::IntrafiAccountEnrollment::status, + type: Increase::Models::IntrafiAccountEnrollment::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + created_at: Time, + idempotency_key: String?, + intrafi_id: String, + status: Increase::Models::IntrafiAccountEnrollment::status, + type: Increase::Models::IntrafiAccountEnrollment::type_ + } + type status = :pending_enrolling | :enrolled @@ -61,7 +71,7 @@ module Increase # Something unexpected happened with this account. Contact Increase support. REQUIRES_ATTENTION: :requires_attention - def self?.values: -> ::Array[Increase::IntrafiAccountEnrollment::status] + def self?.values: -> ::Array[Increase::Models::IntrafiAccountEnrollment::status] end type type_ = :intrafi_account_enrollment @@ -71,7 +81,7 @@ module Increase INTRAFI_ACCOUNT_ENROLLMENT: :intrafi_account_enrollment - def self?.values: -> ::Array[Increase::IntrafiAccountEnrollment::type_] + def self?.values: -> ::Array[Increase::Models::IntrafiAccountEnrollment::type_] end end end diff --git a/sig/increase/models/intrafi_account_enrollment_create_params.rbs b/sig/increase/models/intrafi_account_enrollment_create_params.rbs index e2f65ea69..c969014ad 100644 --- a/sig/increase/models/intrafi_account_enrollment_create_params.rbs +++ b/sig/increase/models/intrafi_account_enrollment_create_params.rbs @@ -17,6 +17,12 @@ module Increase email_address: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + email_address: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/intrafi_account_enrollment_list_params.rbs b/sig/increase/models/intrafi_account_enrollment_list_params.rbs index 57a563952..7084ce077 100644 --- a/sig/increase/models/intrafi_account_enrollment_list_params.rbs +++ b/sig/increase/models/intrafi_account_enrollment_list_params.rbs @@ -45,22 +45,35 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::IntrafiAccountEnrollmentListParams::Status, + request_options: Increase::RequestOptions + } + type status = { - in_: ::Array[Increase::IntrafiAccountEnrollmentListParams::Status::in_] + in_: ::Array[Increase::Models::IntrafiAccountEnrollmentListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::IntrafiAccountEnrollmentListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::IntrafiAccountEnrollmentListParams::Status::in_]? def in_=: ( - ::Array[Increase::IntrafiAccountEnrollmentListParams::Status::in_] - ) -> ::Array[Increase::IntrafiAccountEnrollmentListParams::Status::in_] + ::Array[Increase::Models::IntrafiAccountEnrollmentListParams::Status::in_] + ) -> ::Array[Increase::Models::IntrafiAccountEnrollmentListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::IntrafiAccountEnrollmentListParams::Status::in_] + ?in_: ::Array[Increase::Models::IntrafiAccountEnrollmentListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::IntrafiAccountEnrollmentListParams::Status::in_] + } + type in_ = :pending_enrolling | :enrolled @@ -86,7 +99,7 @@ module Increase # Something unexpected happened with this account. Contact Increase support. REQUIRES_ATTENTION: :requires_attention - def self?.values: -> ::Array[Increase::IntrafiAccountEnrollmentListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::IntrafiAccountEnrollmentListParams::Status::in_] end end end diff --git a/sig/increase/models/intrafi_account_enrollment_retrieve_params.rbs b/sig/increase/models/intrafi_account_enrollment_retrieve_params.rbs index 1e60e6fec..6338a7f0b 100644 --- a/sig/increase/models/intrafi_account_enrollment_retrieve_params.rbs +++ b/sig/increase/models/intrafi_account_enrollment_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/intrafi_account_enrollment_unenroll_params.rbs b/sig/increase/models/intrafi_account_enrollment_unenroll_params.rbs index 367ab5443..21f417f25 100644 --- a/sig/increase/models/intrafi_account_enrollment_unenroll_params.rbs +++ b/sig/increase/models/intrafi_account_enrollment_unenroll_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/intrafi_balance.rbs b/sig/increase/models/intrafi_balance.rbs index fccb070c8..27bcbc23f 100644 --- a/sig/increase/models/intrafi_balance.rbs +++ b/sig/increase/models/intrafi_balance.rbs @@ -4,10 +4,10 @@ module Increase { id: String, balances: ::Array[Increase::IntrafiBalance::Balance], - currency: Increase::IntrafiBalance::currency, + currency: Increase::Models::IntrafiBalance::currency, effective_date: Date, total_balance: Integer, - type: Increase::IntrafiBalance::type_ + type: Increase::Models::IntrafiBalance::type_ } class IntrafiBalance < Increase::Internal::Type::BaseModel @@ -15,23 +15,32 @@ module Increase attr_accessor balances: ::Array[Increase::IntrafiBalance::Balance] - attr_accessor currency: Increase::IntrafiBalance::currency + attr_accessor currency: Increase::Models::IntrafiBalance::currency attr_accessor effective_date: Date attr_accessor total_balance: Integer - attr_accessor type: Increase::IntrafiBalance::type_ + attr_accessor type: Increase::Models::IntrafiBalance::type_ def initialize: ( id: String, balances: ::Array[Increase::IntrafiBalance::Balance], - currency: Increase::IntrafiBalance::currency, + currency: Increase::Models::IntrafiBalance::currency, effective_date: Date, total_balance: Integer, - type: Increase::IntrafiBalance::type_ + type: Increase::Models::IntrafiBalance::type_ ) -> void + def to_hash: -> { + id: String, + balances: ::Array[Increase::IntrafiBalance::Balance], + currency: Increase::Models::IntrafiBalance::currency, + effective_date: Date, + total_balance: Integer, + type: Increase::Models::IntrafiBalance::type_ + } + type balance = { id: String, @@ -60,6 +69,14 @@ module Increase fdic_certificate_number: String ) -> void + def to_hash: -> { + id: String, + balance: Integer, + bank: String, + bank_location: Increase::IntrafiBalance::Balance::BankLocation?, + fdic_certificate_number: String + } + type bank_location = { city: String, state: String } class BankLocation < Increase::Internal::Type::BaseModel @@ -68,6 +85,8 @@ module Increase attr_accessor state: String def initialize: (city: String, state: String) -> void + + def to_hash: -> { city: String, state: String } end end @@ -94,7 +113,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::IntrafiBalance::currency] + def self?.values: -> ::Array[Increase::Models::IntrafiBalance::currency] end type type_ = :intrafi_balance @@ -104,7 +123,7 @@ module Increase INTRAFI_BALANCE: :intrafi_balance - def self?.values: -> ::Array[Increase::IntrafiBalance::type_] + def self?.values: -> ::Array[Increase::Models::IntrafiBalance::type_] end end end diff --git a/sig/increase/models/intrafi_balance_intrafi_balance_params.rbs b/sig/increase/models/intrafi_balance_intrafi_balance_params.rbs index a051111b3..12adf1158 100644 --- a/sig/increase/models/intrafi_balance_intrafi_balance_params.rbs +++ b/sig/increase/models/intrafi_balance_intrafi_balance_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/intrafi_exclusion.rbs b/sig/increase/models/intrafi_exclusion.rbs index 6b4a05525..717479547 100644 --- a/sig/increase/models/intrafi_exclusion.rbs +++ b/sig/increase/models/intrafi_exclusion.rbs @@ -9,9 +9,9 @@ module Increase excluded_at: Time?, fdic_certificate_number: String?, idempotency_key: String?, - status: Increase::IntrafiExclusion::status, + status: Increase::Models::IntrafiExclusion::status, submitted_at: Time?, - type: Increase::IntrafiExclusion::type_ + type: Increase::Models::IntrafiExclusion::type_ } class IntrafiExclusion < Increase::Internal::Type::BaseModel @@ -29,11 +29,11 @@ module Increase attr_accessor idempotency_key: String? - attr_accessor status: Increase::IntrafiExclusion::status + attr_accessor status: Increase::Models::IntrafiExclusion::status attr_accessor submitted_at: Time? - attr_accessor type: Increase::IntrafiExclusion::type_ + attr_accessor type: Increase::Models::IntrafiExclusion::type_ def initialize: ( id: String, @@ -43,11 +43,24 @@ module Increase excluded_at: Time?, fdic_certificate_number: String?, idempotency_key: String?, - status: Increase::IntrafiExclusion::status, + status: Increase::Models::IntrafiExclusion::status, submitted_at: Time?, - type: Increase::IntrafiExclusion::type_ + type: Increase::Models::IntrafiExclusion::type_ ) -> void + def to_hash: -> { + id: String, + bank_name: String, + created_at: Time, + entity_id: String, + excluded_at: Time?, + fdic_certificate_number: String?, + idempotency_key: String?, + status: Increase::Models::IntrafiExclusion::status, + submitted_at: Time?, + type: Increase::Models::IntrafiExclusion::type_ + } + type status = :pending | :completed | :archived module Status @@ -62,7 +75,7 @@ module Increase # The exclusion has been removed from the IntraFi network. ARCHIVED: :archived - def self?.values: -> ::Array[Increase::IntrafiExclusion::status] + def self?.values: -> ::Array[Increase::Models::IntrafiExclusion::status] end type type_ = :intrafi_exclusion @@ -72,7 +85,7 @@ module Increase INTRAFI_EXCLUSION: :intrafi_exclusion - def self?.values: -> ::Array[Increase::IntrafiExclusion::type_] + def self?.values: -> ::Array[Increase::Models::IntrafiExclusion::type_] end end end diff --git a/sig/increase/models/intrafi_exclusion_archive_params.rbs b/sig/increase/models/intrafi_exclusion_archive_params.rbs index 6ad582466..f75575803 100644 --- a/sig/increase/models/intrafi_exclusion_archive_params.rbs +++ b/sig/increase/models/intrafi_exclusion_archive_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/intrafi_exclusion_create_params.rbs b/sig/increase/models/intrafi_exclusion_create_params.rbs index 7b00504fc..4495170d2 100644 --- a/sig/increase/models/intrafi_exclusion_create_params.rbs +++ b/sig/increase/models/intrafi_exclusion_create_params.rbs @@ -17,6 +17,12 @@ module Increase entity_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + bank_name: String, + entity_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/intrafi_exclusion_list_params.rbs b/sig/increase/models/intrafi_exclusion_list_params.rbs index 42261c339..420c69200 100644 --- a/sig/increase/models/intrafi_exclusion_list_params.rbs +++ b/sig/increase/models/intrafi_exclusion_list_params.rbs @@ -36,6 +36,14 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + cursor: String, + entity_id: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/intrafi_exclusion_retrieve_params.rbs b/sig/increase/models/intrafi_exclusion_retrieve_params.rbs index a2e5076f9..565ce2cb8 100644 --- a/sig/increase/models/intrafi_exclusion_retrieve_params.rbs +++ b/sig/increase/models/intrafi_exclusion_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/lockbox.rbs b/sig/increase/models/lockbox.rbs index 3bcda8d7f..c84a7af02 100644 --- a/sig/increase/models/lockbox.rbs +++ b/sig/increase/models/lockbox.rbs @@ -9,8 +9,8 @@ module Increase description: String?, idempotency_key: String?, recipient_name: String?, - status: Increase::Lockbox::status, - type: Increase::Lockbox::type_ + status: Increase::Models::Lockbox::status, + type: Increase::Models::Lockbox::type_ } class Lockbox < Increase::Internal::Type::BaseModel @@ -28,9 +28,9 @@ module Increase attr_accessor recipient_name: String? - attr_accessor status: Increase::Lockbox::status + attr_accessor status: Increase::Models::Lockbox::status - attr_accessor type: Increase::Lockbox::type_ + attr_accessor type: Increase::Models::Lockbox::type_ def initialize: ( id: String, @@ -40,10 +40,22 @@ module Increase description: String?, idempotency_key: String?, recipient_name: String?, - status: Increase::Lockbox::status, - type: Increase::Lockbox::type_ + status: Increase::Models::Lockbox::status, + type: Increase::Models::Lockbox::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + address: Increase::Lockbox::Address, + created_at: Time, + description: String?, + idempotency_key: String?, + recipient_name: String?, + status: Increase::Models::Lockbox::status, + type: Increase::Models::Lockbox::type_ + } + type address = { city: String, @@ -75,6 +87,15 @@ module Increase recipient: String?, state: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String, + postal_code: String, + recipient: String?, + state: String + } end type status = :active | :inactive @@ -88,7 +109,7 @@ module Increase # This Lockbox is inactive. Checks mailed to it will not be deposited. INACTIVE: :inactive - def self?.values: -> ::Array[Increase::Lockbox::status] + def self?.values: -> ::Array[Increase::Models::Lockbox::status] end type type_ = :lockbox @@ -98,7 +119,7 @@ module Increase LOCKBOX: :lockbox - def self?.values: -> ::Array[Increase::Lockbox::type_] + def self?.values: -> ::Array[Increase::Models::Lockbox::type_] end end end diff --git a/sig/increase/models/lockbox_create_params.rbs b/sig/increase/models/lockbox_create_params.rbs index 2c18dd798..b4d333326 100644 --- a/sig/increase/models/lockbox_create_params.rbs +++ b/sig/increase/models/lockbox_create_params.rbs @@ -24,6 +24,13 @@ module Increase ?recipient_name: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + description: String, + recipient_name: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/lockbox_list_params.rbs b/sig/increase/models/lockbox_list_params.rbs index 26eb213cf..323a88aae 100644 --- a/sig/increase/models/lockbox_list_params.rbs +++ b/sig/increase/models/lockbox_list_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::LockboxListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -71,6 +80,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/lockbox_retrieve_params.rbs b/sig/increase/models/lockbox_retrieve_params.rbs index bf7b66c86..457b73a23 100644 --- a/sig/increase/models/lockbox_retrieve_params.rbs +++ b/sig/increase/models/lockbox_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/lockbox_update_params.rbs b/sig/increase/models/lockbox_update_params.rbs index 9f573c5bd..ac720b3bf 100644 --- a/sig/increase/models/lockbox_update_params.rbs +++ b/sig/increase/models/lockbox_update_params.rbs @@ -33,6 +33,13 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + description: String, + recipient_name: String, + status: Increase::Models::LockboxUpdateParams::status, + request_options: Increase::RequestOptions + } + type status = :active | :inactive module Status diff --git a/sig/increase/models/oauth_application.rbs b/sig/increase/models/oauth_application.rbs index 9a38775c4..0b5571a63 100644 --- a/sig/increase/models/oauth_application.rbs +++ b/sig/increase/models/oauth_application.rbs @@ -7,8 +7,8 @@ module Increase created_at: Time, deleted_at: Time?, name: String?, - status: Increase::OAuthApplication::status, - type: Increase::OAuthApplication::type_ + status: Increase::Models::OAuthApplication::status, + type: Increase::Models::OAuthApplication::type_ } class OAuthApplication < Increase::Internal::Type::BaseModel @@ -22,9 +22,9 @@ module Increase attr_accessor name: String? - attr_accessor status: Increase::OAuthApplication::status + attr_accessor status: Increase::Models::OAuthApplication::status - attr_accessor type: Increase::OAuthApplication::type_ + attr_accessor type: Increase::Models::OAuthApplication::type_ def initialize: ( id: String, @@ -32,10 +32,20 @@ module Increase created_at: Time, deleted_at: Time?, name: String?, - status: Increase::OAuthApplication::status, - type: Increase::OAuthApplication::type_ + status: Increase::Models::OAuthApplication::status, + type: Increase::Models::OAuthApplication::type_ ) -> void + def to_hash: -> { + id: String, + client_id: String, + created_at: Time, + deleted_at: Time?, + name: String?, + status: Increase::Models::OAuthApplication::status, + type: Increase::Models::OAuthApplication::type_ + } + type status = :active | :deleted module Status @@ -47,7 +57,7 @@ module Increase # The application is deleted. DELETED: :deleted - def self?.values: -> ::Array[Increase::OAuthApplication::status] + def self?.values: -> ::Array[Increase::Models::OAuthApplication::status] end type type_ = :oauth_application @@ -57,7 +67,7 @@ module Increase OAUTH_APPLICATION: :oauth_application - def self?.values: -> ::Array[Increase::OAuthApplication::type_] + def self?.values: -> ::Array[Increase::Models::OAuthApplication::type_] end end end diff --git a/sig/increase/models/oauth_application_list_params.rbs b/sig/increase/models/oauth_application_list_params.rbs index 32cc336d6..5dda16f29 100644 --- a/sig/increase/models/oauth_application_list_params.rbs +++ b/sig/increase/models/oauth_application_list_params.rbs @@ -41,6 +41,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + created_at: Increase::OAuthApplicationListParams::CreatedAt, + cursor: String, + limit: Integer, + status: Increase::OAuthApplicationListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -67,22 +75,35 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::OAuthApplicationListParams::Status::in_] } + { + in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::OAuthApplicationListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_]? def in_=: ( - ::Array[Increase::OAuthApplicationListParams::Status::in_] - ) -> ::Array[Increase::OAuthApplicationListParams::Status::in_] + ::Array[Increase::Models::OAuthApplicationListParams::Status::in_] + ) -> ::Array[Increase::Models::OAuthApplicationListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::OAuthApplicationListParams::Status::in_] + ?in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::OAuthApplicationListParams::Status::in_] + } + type in_ = :active | :deleted module In @@ -94,7 +115,7 @@ module Increase # The application is deleted. DELETED: :deleted - def self?.values: -> ::Array[Increase::OAuthApplicationListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::OAuthApplicationListParams::Status::in_] end end end diff --git a/sig/increase/models/oauth_application_retrieve_params.rbs b/sig/increase/models/oauth_application_retrieve_params.rbs index 5c7b34903..8ff8f41cd 100644 --- a/sig/increase/models/oauth_application_retrieve_params.rbs +++ b/sig/increase/models/oauth_application_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/oauth_connection.rbs b/sig/increase/models/oauth_connection.rbs index 740a98242..a31a58a50 100644 --- a/sig/increase/models/oauth_connection.rbs +++ b/sig/increase/models/oauth_connection.rbs @@ -7,8 +7,8 @@ module Increase deleted_at: Time?, group_id: String, oauth_application_id: String, - status: Increase::OAuthConnection::status, - type: Increase::OAuthConnection::type_ + status: Increase::Models::OAuthConnection::status, + type: Increase::Models::OAuthConnection::type_ } class OAuthConnection < Increase::Internal::Type::BaseModel @@ -22,9 +22,9 @@ module Increase attr_accessor oauth_application_id: String - attr_accessor status: Increase::OAuthConnection::status + attr_accessor status: Increase::Models::OAuthConnection::status - attr_accessor type: Increase::OAuthConnection::type_ + attr_accessor type: Increase::Models::OAuthConnection::type_ def initialize: ( id: String, @@ -32,10 +32,20 @@ module Increase deleted_at: Time?, group_id: String, oauth_application_id: String, - status: Increase::OAuthConnection::status, - type: Increase::OAuthConnection::type_ + status: Increase::Models::OAuthConnection::status, + type: Increase::Models::OAuthConnection::type_ ) -> void + def to_hash: -> { + id: String, + created_at: Time, + deleted_at: Time?, + group_id: String, + oauth_application_id: String, + status: Increase::Models::OAuthConnection::status, + type: Increase::Models::OAuthConnection::type_ + } + type status = :active | :inactive module Status @@ -47,7 +57,7 @@ module Increase # The OAuth connection is permanently deactivated. INACTIVE: :inactive - def self?.values: -> ::Array[Increase::OAuthConnection::status] + def self?.values: -> ::Array[Increase::Models::OAuthConnection::status] end type type_ = :oauth_connection @@ -57,7 +67,7 @@ module Increase OAUTH_CONNECTION: :oauth_connection - def self?.values: -> ::Array[Increase::OAuthConnection::type_] + def self?.values: -> ::Array[Increase::Models::OAuthConnection::type_] end end end diff --git a/sig/increase/models/oauth_connection_list_params.rbs b/sig/increase/models/oauth_connection_list_params.rbs index 46f498bab..12f51269f 100644 --- a/sig/increase/models/oauth_connection_list_params.rbs +++ b/sig/increase/models/oauth_connection_list_params.rbs @@ -39,20 +39,34 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + cursor: String, + limit: Integer, + oauth_application_id: String, + status: Increase::OAuthConnectionListParams::Status, + request_options: Increase::RequestOptions + } + type status = - { in_: ::Array[Increase::OAuthConnectionListParams::Status::in_] } + { + in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::OAuthConnectionListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_]? def in_=: ( - ::Array[Increase::OAuthConnectionListParams::Status::in_] - ) -> ::Array[Increase::OAuthConnectionListParams::Status::in_] + ::Array[Increase::Models::OAuthConnectionListParams::Status::in_] + ) -> ::Array[Increase::Models::OAuthConnectionListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::OAuthConnectionListParams::Status::in_] + ?in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::OAuthConnectionListParams::Status::in_] + } + type in_ = :active | :inactive module In @@ -64,7 +78,7 @@ module Increase # The OAuth connection is permanently deactivated. INACTIVE: :inactive - def self?.values: -> ::Array[Increase::OAuthConnectionListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::OAuthConnectionListParams::Status::in_] end end end diff --git a/sig/increase/models/oauth_connection_retrieve_params.rbs b/sig/increase/models/oauth_connection_retrieve_params.rbs index 19d39fc31..582cdc427 100644 --- a/sig/increase/models/oauth_connection_retrieve_params.rbs +++ b/sig/increase/models/oauth_connection_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/oauth_token.rbs b/sig/increase/models/oauth_token.rbs index 2f100a70f..63abd0342 100644 --- a/sig/increase/models/oauth_token.rbs +++ b/sig/increase/models/oauth_token.rbs @@ -3,23 +3,29 @@ module Increase type oauth_token = { access_token: String, - token_type: Increase::OAuthToken::token_type, - type: Increase::OAuthToken::type_ + token_type: Increase::Models::OAuthToken::token_type, + type: Increase::Models::OAuthToken::type_ } class OAuthToken < Increase::Internal::Type::BaseModel attr_accessor access_token: String - attr_accessor token_type: Increase::OAuthToken::token_type + attr_accessor token_type: Increase::Models::OAuthToken::token_type - attr_accessor type: Increase::OAuthToken::type_ + attr_accessor type: Increase::Models::OAuthToken::type_ def initialize: ( access_token: String, - token_type: Increase::OAuthToken::token_type, - type: Increase::OAuthToken::type_ + token_type: Increase::Models::OAuthToken::token_type, + type: Increase::Models::OAuthToken::type_ ) -> void + def to_hash: -> { + access_token: String, + token_type: Increase::Models::OAuthToken::token_type, + type: Increase::Models::OAuthToken::type_ + } + type token_type = :bearer module TokenType @@ -27,7 +33,7 @@ module Increase BEARER: :bearer - def self?.values: -> ::Array[Increase::OAuthToken::token_type] + def self?.values: -> ::Array[Increase::Models::OAuthToken::token_type] end type type_ = :oauth_token @@ -37,7 +43,7 @@ module Increase OAUTH_TOKEN: :oauth_token - def self?.values: -> ::Array[Increase::OAuthToken::type_] + def self?.values: -> ::Array[Increase::Models::OAuthToken::type_] end end end diff --git a/sig/increase/models/oauth_token_create_params.rbs b/sig/increase/models/oauth_token_create_params.rbs index 15a8c6589..ad175dda9 100644 --- a/sig/increase/models/oauth_token_create_params.rbs +++ b/sig/increase/models/oauth_token_create_params.rbs @@ -41,6 +41,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + grant_type: Increase::Models::OAuthTokenCreateParams::grant_type, + client_id: String, + client_secret: String, + code: String, + production_token: String, + request_options: Increase::RequestOptions + } + type grant_type = :authorization_code | :production_token module GrantType diff --git a/sig/increase/models/pending_transaction.rbs b/sig/increase/models/pending_transaction.rbs index 733471d37..bddb87836 100644 --- a/sig/increase/models/pending_transaction.rbs +++ b/sig/increase/models/pending_transaction.rbs @@ -7,13 +7,13 @@ module Increase amount: Integer, completed_at: Time?, created_at: Time, - currency: Increase::PendingTransaction::currency, + currency: Increase::Models::PendingTransaction::currency, description: String, route_id: String?, - route_type: Increase::PendingTransaction::route_type?, + route_type: Increase::Models::PendingTransaction::route_type?, source: Increase::PendingTransaction::Source, - status: Increase::PendingTransaction::status, - type: Increase::PendingTransaction::type_ + status: Increase::Models::PendingTransaction::status, + type: Increase::Models::PendingTransaction::type_ } class PendingTransaction < Increase::Internal::Type::BaseModel @@ -27,19 +27,19 @@ module Increase attr_accessor created_at: Time - attr_accessor currency: Increase::PendingTransaction::currency + attr_accessor currency: Increase::Models::PendingTransaction::currency attr_accessor description: String attr_accessor route_id: String? - attr_accessor route_type: Increase::PendingTransaction::route_type? + attr_accessor route_type: Increase::Models::PendingTransaction::route_type? attr_accessor source: Increase::PendingTransaction::Source - attr_accessor status: Increase::PendingTransaction::status + attr_accessor status: Increase::Models::PendingTransaction::status - attr_accessor type: Increase::PendingTransaction::type_ + attr_accessor type: Increase::Models::PendingTransaction::type_ def initialize: ( id: String, @@ -47,15 +47,30 @@ module Increase amount: Integer, completed_at: Time?, created_at: Time, - currency: Increase::PendingTransaction::currency, + currency: Increase::Models::PendingTransaction::currency, description: String, route_id: String?, - route_type: Increase::PendingTransaction::route_type?, + route_type: Increase::Models::PendingTransaction::route_type?, source: Increase::PendingTransaction::Source, - status: Increase::PendingTransaction::status, - type: Increase::PendingTransaction::type_ + status: Increase::Models::PendingTransaction::status, + type: Increase::Models::PendingTransaction::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + amount: Integer, + completed_at: Time?, + created_at: Time, + currency: Increase::Models::PendingTransaction::currency, + description: String, + route_id: String?, + route_type: Increase::Models::PendingTransaction::route_type?, + source: Increase::PendingTransaction::Source, + status: Increase::Models::PendingTransaction::status, + type: Increase::Models::PendingTransaction::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -79,7 +94,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::PendingTransaction::currency] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::currency] end type route_type = :account_number | :card | :lockbox @@ -96,7 +111,7 @@ module Increase # A Lockbox. LOCKBOX: :lockbox - def self?.values: -> ::Array[Increase::PendingTransaction::route_type] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::route_type] end type source = @@ -104,7 +119,7 @@ module Increase account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?, ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?, card_authorization: Increase::PendingTransaction::Source::CardAuthorization?, - category: Increase::PendingTransaction::Source::category, + category: Increase::Models::PendingTransaction::Source::category, check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?, check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?, inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?, @@ -123,7 +138,7 @@ module Increase attr_accessor card_authorization: Increase::PendingTransaction::Source::CardAuthorization? - attr_accessor category: Increase::PendingTransaction::Source::category + attr_accessor category: Increase::Models::PendingTransaction::Source::category attr_accessor check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction? @@ -147,7 +162,7 @@ module Increase account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?, ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?, card_authorization: Increase::PendingTransaction::Source::CardAuthorization?, - category: Increase::PendingTransaction::Source::category, + category: Increase::Models::PendingTransaction::Source::category, check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?, check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?, inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?, @@ -159,26 +174,48 @@ module Increase wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction? ) -> void + def to_hash: -> { + account_transfer_instruction: Increase::PendingTransaction::Source::AccountTransferInstruction?, + ach_transfer_instruction: Increase::PendingTransaction::Source::ACHTransferInstruction?, + card_authorization: Increase::PendingTransaction::Source::CardAuthorization?, + category: Increase::Models::PendingTransaction::Source::category, + check_deposit_instruction: Increase::PendingTransaction::Source::CheckDepositInstruction?, + check_transfer_instruction: Increase::PendingTransaction::Source::CheckTransferInstruction?, + inbound_funds_hold: Increase::PendingTransaction::Source::InboundFundsHold?, + inbound_wire_transfer_reversal: Increase::PendingTransaction::Source::InboundWireTransferReversal?, + other: top?, + outbound_card_push_transfer_instruction: Increase::PendingTransaction::Source::OutboundCardPushTransferInstruction?, + real_time_payments_transfer_instruction: Increase::PendingTransaction::Source::RealTimePaymentsTransferInstruction?, + swift_transfer_instruction: Increase::PendingTransaction::Source::SwiftTransferInstruction?, + wire_transfer_instruction: Increase::PendingTransaction::Source::WireTransferInstruction? + } + type account_transfer_instruction = { amount: Integer, - currency: Increase::PendingTransaction::Source::AccountTransferInstruction::currency, + currency: Increase::Models::PendingTransaction::Source::AccountTransferInstruction::currency, transfer_id: String } class AccountTransferInstruction < Increase::Internal::Type::BaseModel attr_accessor amount: Integer - attr_accessor currency: Increase::PendingTransaction::Source::AccountTransferInstruction::currency + attr_accessor currency: Increase::Models::PendingTransaction::Source::AccountTransferInstruction::currency attr_accessor transfer_id: String def initialize: ( amount: Integer, - currency: Increase::PendingTransaction::Source::AccountTransferInstruction::currency, + currency: Increase::Models::PendingTransaction::Source::AccountTransferInstruction::currency, transfer_id: String ) -> void + def to_hash: -> { + amount: Integer, + currency: Increase::Models::PendingTransaction::Source::AccountTransferInstruction::currency, + transfer_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -202,7 +239,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::PendingTransaction::Source::AccountTransferInstruction::currency] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::AccountTransferInstruction::currency] end end @@ -214,17 +251,19 @@ module Increase attr_accessor transfer_id: String def initialize: (amount: Integer, transfer_id: String) -> void + + def to_hash: -> { amount: Integer, transfer_id: String } end type card_authorization = { id: String, - actioner: Increase::PendingTransaction::Source::CardAuthorization::actioner, + actioner: Increase::Models::PendingTransaction::Source::CardAuthorization::actioner, amount: Integer, card_payment_id: String, - currency: Increase::PendingTransaction::Source::CardAuthorization::currency, + currency: Increase::Models::PendingTransaction::Source::CardAuthorization::currency, digital_wallet_token_id: String?, - direction: Increase::PendingTransaction::Source::CardAuthorization::direction, + direction: Increase::Models::PendingTransaction::Source::CardAuthorization::direction, expires_at: Time, merchant_acceptor_id: String, merchant_category_code: String, @@ -240,27 +279,27 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::PendingTransaction::Source::CardAuthorization::processing_category, + processing_category: Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category, real_time_decision_id: String?, terminal_id: String?, - type: Increase::PendingTransaction::Source::CardAuthorization::type_, + type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_, verification: Increase::PendingTransaction::Source::CardAuthorization::Verification } class CardAuthorization < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor actioner: Increase::PendingTransaction::Source::CardAuthorization::actioner + attr_accessor actioner: Increase::Models::PendingTransaction::Source::CardAuthorization::actioner attr_accessor amount: Integer attr_accessor card_payment_id: String - attr_accessor currency: Increase::PendingTransaction::Source::CardAuthorization::currency + attr_accessor currency: Increase::Models::PendingTransaction::Source::CardAuthorization::currency attr_accessor digital_wallet_token_id: String? - attr_accessor direction: Increase::PendingTransaction::Source::CardAuthorization::direction + attr_accessor direction: Increase::Models::PendingTransaction::Source::CardAuthorization::direction attr_accessor expires_at: Time @@ -292,24 +331,24 @@ module Increase attr_accessor presentment_currency: String - attr_accessor processing_category: Increase::PendingTransaction::Source::CardAuthorization::processing_category + attr_accessor processing_category: Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category attr_accessor real_time_decision_id: String? attr_accessor terminal_id: String? - attr_accessor type: Increase::PendingTransaction::Source::CardAuthorization::type_ + attr_accessor type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_ attr_accessor verification: Increase::PendingTransaction::Source::CardAuthorization::Verification def initialize: ( id: String, - actioner: Increase::PendingTransaction::Source::CardAuthorization::actioner, + actioner: Increase::Models::PendingTransaction::Source::CardAuthorization::actioner, amount: Integer, card_payment_id: String, - currency: Increase::PendingTransaction::Source::CardAuthorization::currency, + currency: Increase::Models::PendingTransaction::Source::CardAuthorization::currency, digital_wallet_token_id: String?, - direction: Increase::PendingTransaction::Source::CardAuthorization::direction, + direction: Increase::Models::PendingTransaction::Source::CardAuthorization::direction, expires_at: Time, merchant_acceptor_id: String, merchant_category_code: String, @@ -325,13 +364,43 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::PendingTransaction::Source::CardAuthorization::processing_category, + processing_category: Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category, real_time_decision_id: String?, terminal_id: String?, - type: Increase::PendingTransaction::Source::CardAuthorization::type_, + type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_, verification: Increase::PendingTransaction::Source::CardAuthorization::Verification ) -> void + def to_hash: -> { + id: String, + actioner: Increase::Models::PendingTransaction::Source::CardAuthorization::actioner, + amount: Integer, + card_payment_id: String, + currency: Increase::Models::PendingTransaction::Source::CardAuthorization::currency, + digital_wallet_token_id: String?, + direction: Increase::Models::PendingTransaction::Source::CardAuthorization::direction, + expires_at: Time, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String?, + merchant_country: String, + merchant_descriptor: String, + merchant_postal_code: String?, + merchant_state: String?, + network_details: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails, + network_identifiers: Increase::PendingTransaction::Source::CardAuthorization::NetworkIdentifiers, + network_risk_score: Integer?, + pending_transaction_id: String?, + physical_card_id: String?, + presentment_amount: Integer, + presentment_currency: String, + processing_category: Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category, + real_time_decision_id: String?, + terminal_id: String?, + type: Increase::Models::PendingTransaction::Source::CardAuthorization::type_, + verification: Increase::PendingTransaction::Source::CardAuthorization::Verification + } + type actioner = :user | :increase | :network module Actioner @@ -346,7 +415,7 @@ module Increase # This object was actioned by the network, through stand-in processing. NETWORK: :network - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::actioner] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::actioner] end type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD @@ -372,7 +441,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::currency] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::currency] end type direction = :settlement | :refund @@ -386,25 +455,30 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::direction] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::direction] end type network_details = { - category: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, + category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::category + attr_accessor category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category attr_accessor visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? def initialize: ( - category: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, + category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? ) -> void + def to_hash: -> { + category: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category, + visa: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa? + } + type category = :visa module Category @@ -413,29 +487,35 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::category] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::category] end type visa = { - electronic_commerce_indicator: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? } class Visa < Increase::Internal::Type::BaseModel - attr_accessor electronic_commerce_indicator: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator? + attr_accessor electronic_commerce_indicator: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator? - attr_accessor point_of_service_entry_mode: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode? + attr_accessor point_of_service_entry_mode: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode? - attr_accessor stand_in_processing_reason: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + attr_accessor stand_in_processing_reason: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? def initialize: ( - electronic_commerce_indicator: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? ) -> void + def to_hash: -> { + electronic_commerce_indicator: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + } + type electronic_commerce_indicator = :mail_phone_order | :recurring @@ -473,7 +553,7 @@ module Increase # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection. NON_SECURE_TRANSACTION: :non_secure_transaction - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator] end type point_of_service_entry_mode = @@ -521,7 +601,7 @@ module Increase # Contact chip card, without card verification value INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode] end type stand_in_processing_reason = @@ -557,7 +637,7 @@ module Increase # An unspecific reason for stand-in processing. OTHER: :other - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason] end end end @@ -581,6 +661,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type processing_category = @@ -612,7 +698,7 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::processing_category] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::processing_category] end type type_ = :card_authorization @@ -622,7 +708,7 @@ module Increase CARD_AUTHORIZATION: :card_authorization - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::type_] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::type_] end type verification = @@ -641,18 +727,27 @@ module Increase cardholder_address: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress ) -> void + def to_hash: -> { + card_verification_code: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode, + cardholder_address: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress + } + type card_verification_code = { - result: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result + result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result } class CardVerificationCode < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result + attr_accessor result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result def initialize: ( - result: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result + result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result ) -> void + def to_hash: -> { + result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result + } + type result = :not_checked | :match | :no_match module Result @@ -667,7 +762,7 @@ module Increase # The card verification code did not match the one on file. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardVerificationCode::result] end end @@ -677,7 +772,7 @@ module Increase actual_postal_code: String?, :provided_line1 => String?, provided_postal_code: String?, - result: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result + result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result } class CardholderAddress < Increase::Internal::Type::BaseModel @@ -689,16 +784,24 @@ module Increase attr_accessor provided_postal_code: String? - attr_accessor result: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result + attr_accessor result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result def initialize: ( actual_line1: String?, actual_postal_code: String?, provided_line1: String?, provided_postal_code: String?, - result: Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result + result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result ) -> void + def to_hash: -> { + :actual_line1 => String?, + actual_postal_code: String?, + :provided_line1 => String?, + provided_postal_code: String?, + result: Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result + } + type result = :not_checked | :postal_code_match_address_not_checked @@ -728,7 +831,7 @@ module Increase # Postal code and street address do not match. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CardAuthorization::Verification::CardholderAddress::result] end end end @@ -787,7 +890,7 @@ module Increase # The Pending Transaction was made for an undocumented or deprecated reason. OTHER: :other - def self?.values: -> ::Array[Increase::PendingTransaction::Source::category] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::category] end type check_deposit_instruction = @@ -795,7 +898,7 @@ module Increase amount: Integer, back_image_file_id: String?, check_deposit_id: String?, - currency: Increase::PendingTransaction::Source::CheckDepositInstruction::currency, + currency: Increase::Models::PendingTransaction::Source::CheckDepositInstruction::currency, front_image_file_id: String } @@ -806,7 +909,7 @@ module Increase attr_accessor check_deposit_id: String? - attr_accessor currency: Increase::PendingTransaction::Source::CheckDepositInstruction::currency + attr_accessor currency: Increase::Models::PendingTransaction::Source::CheckDepositInstruction::currency attr_accessor front_image_file_id: String @@ -814,10 +917,18 @@ module Increase amount: Integer, back_image_file_id: String?, check_deposit_id: String?, - currency: Increase::PendingTransaction::Source::CheckDepositInstruction::currency, + currency: Increase::Models::PendingTransaction::Source::CheckDepositInstruction::currency, front_image_file_id: String ) -> void + def to_hash: -> { + amount: Integer, + back_image_file_id: String?, + check_deposit_id: String?, + currency: Increase::Models::PendingTransaction::Source::CheckDepositInstruction::currency, + front_image_file_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -841,30 +952,36 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CheckDepositInstruction::currency] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CheckDepositInstruction::currency] end end type check_transfer_instruction = { amount: Integer, - currency: Increase::PendingTransaction::Source::CheckTransferInstruction::currency, + currency: Increase::Models::PendingTransaction::Source::CheckTransferInstruction::currency, transfer_id: String } class CheckTransferInstruction < Increase::Internal::Type::BaseModel attr_accessor amount: Integer - attr_accessor currency: Increase::PendingTransaction::Source::CheckTransferInstruction::currency + attr_accessor currency: Increase::Models::PendingTransaction::Source::CheckTransferInstruction::currency attr_accessor transfer_id: String def initialize: ( amount: Integer, - currency: Increase::PendingTransaction::Source::CheckTransferInstruction::currency, + currency: Increase::Models::PendingTransaction::Source::CheckTransferInstruction::currency, transfer_id: String ) -> void + def to_hash: -> { + amount: Integer, + currency: Increase::Models::PendingTransaction::Source::CheckTransferInstruction::currency, + transfer_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -888,7 +1005,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::PendingTransaction::Source::CheckTransferInstruction::currency] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::CheckTransferInstruction::currency] end end @@ -898,12 +1015,12 @@ module Increase amount: Integer, automatically_releases_at: Time, created_at: Time, - currency: Increase::PendingTransaction::Source::InboundFundsHold::currency, + currency: Increase::Models::PendingTransaction::Source::InboundFundsHold::currency, held_transaction_id: String?, pending_transaction_id: String?, released_at: Time?, - status: Increase::PendingTransaction::Source::InboundFundsHold::status, - type: Increase::PendingTransaction::Source::InboundFundsHold::type_ + status: Increase::Models::PendingTransaction::Source::InboundFundsHold::status, + type: Increase::Models::PendingTransaction::Source::InboundFundsHold::type_ } class InboundFundsHold < Increase::Internal::Type::BaseModel @@ -915,7 +1032,7 @@ module Increase attr_accessor created_at: Time - attr_accessor currency: Increase::PendingTransaction::Source::InboundFundsHold::currency + attr_accessor currency: Increase::Models::PendingTransaction::Source::InboundFundsHold::currency attr_accessor held_transaction_id: String? @@ -923,23 +1040,36 @@ module Increase attr_accessor released_at: Time? - attr_accessor status: Increase::PendingTransaction::Source::InboundFundsHold::status + attr_accessor status: Increase::Models::PendingTransaction::Source::InboundFundsHold::status - attr_accessor type: Increase::PendingTransaction::Source::InboundFundsHold::type_ + attr_accessor type: Increase::Models::PendingTransaction::Source::InboundFundsHold::type_ def initialize: ( id: String, amount: Integer, automatically_releases_at: Time, created_at: Time, - currency: Increase::PendingTransaction::Source::InboundFundsHold::currency, + currency: Increase::Models::PendingTransaction::Source::InboundFundsHold::currency, held_transaction_id: String?, pending_transaction_id: String?, released_at: Time?, - status: Increase::PendingTransaction::Source::InboundFundsHold::status, - type: Increase::PendingTransaction::Source::InboundFundsHold::type_ + status: Increase::Models::PendingTransaction::Source::InboundFundsHold::status, + type: Increase::Models::PendingTransaction::Source::InboundFundsHold::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + automatically_releases_at: Time, + created_at: Time, + currency: Increase::Models::PendingTransaction::Source::InboundFundsHold::currency, + held_transaction_id: String?, + pending_transaction_id: String?, + released_at: Time?, + status: Increase::Models::PendingTransaction::Source::InboundFundsHold::status, + type: Increase::Models::PendingTransaction::Source::InboundFundsHold::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -963,7 +1093,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::PendingTransaction::Source::InboundFundsHold::currency] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::InboundFundsHold::currency] end type status = :held | :complete @@ -977,7 +1107,7 @@ module Increase # Funds have been released. COMPLETE: :complete - def self?.values: -> ::Array[Increase::PendingTransaction::Source::InboundFundsHold::status] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::InboundFundsHold::status] end type type_ = :inbound_funds_hold @@ -987,7 +1117,7 @@ module Increase INBOUND_FUNDS_HOLD: :inbound_funds_hold - def self?.values: -> ::Array[Increase::PendingTransaction::Source::InboundFundsHold::type_] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::Source::InboundFundsHold::type_] end end @@ -998,6 +1128,8 @@ module Increase attr_accessor inbound_wire_transfer_id: String def initialize: (inbound_wire_transfer_id: String) -> void + + def to_hash: -> { inbound_wire_transfer_id: String } end type outbound_card_push_transfer_instruction = @@ -1009,6 +1141,8 @@ module Increase attr_accessor transfer_id: String def initialize: (amount: Integer, transfer_id: String) -> void + + def to_hash: -> { amount: Integer, transfer_id: String } end type real_time_payments_transfer_instruction = @@ -1020,6 +1154,8 @@ module Increase attr_accessor transfer_id: String def initialize: (amount: Integer, transfer_id: String) -> void + + def to_hash: -> { amount: Integer, transfer_id: String } end type swift_transfer_instruction = { transfer_id: String } @@ -1028,6 +1164,8 @@ module Increase attr_accessor transfer_id: String def initialize: (transfer_id: String) -> void + + def to_hash: -> { transfer_id: String } end type wire_transfer_instruction = @@ -1057,6 +1195,14 @@ module Increase routing_number: String, transfer_id: String ) -> void + + def to_hash: -> { + account_number: String, + amount: Integer, + message_to_recipient: String, + routing_number: String, + transfer_id: String + } end end @@ -1071,7 +1217,7 @@ module Increase # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. COMPLETE: :complete - def self?.values: -> ::Array[Increase::PendingTransaction::status] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::status] end type type_ = :pending_transaction @@ -1081,7 +1227,7 @@ module Increase PENDING_TRANSACTION: :pending_transaction - def self?.values: -> ::Array[Increase::PendingTransaction::type_] + def self?.values: -> ::Array[Increase::Models::PendingTransaction::type_] end end end diff --git a/sig/increase/models/pending_transaction_list_params.rbs b/sig/increase/models/pending_transaction_list_params.rbs index fc6f47b0a..0cb0a7ded 100644 --- a/sig/increase/models/pending_transaction_list_params.rbs +++ b/sig/increase/models/pending_transaction_list_params.rbs @@ -61,20 +61,37 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + category: Increase::PendingTransactionListParams::Category, + created_at: Increase::PendingTransactionListParams::CreatedAt, + cursor: String, + limit: Integer, + route_id: String, + status: Increase::PendingTransactionListParams::Status, + request_options: Increase::RequestOptions + } + type category = - { in_: ::Array[Increase::PendingTransactionListParams::Category::in_] } + { + in_: ::Array[Increase::Models::PendingTransactionListParams::Category::in_] + } class Category < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::PendingTransactionListParams::Category::in_]? + attr_reader in_: ::Array[Increase::Models::PendingTransactionListParams::Category::in_]? def in_=: ( - ::Array[Increase::PendingTransactionListParams::Category::in_] - ) -> ::Array[Increase::PendingTransactionListParams::Category::in_] + ::Array[Increase::Models::PendingTransactionListParams::Category::in_] + ) -> ::Array[Increase::Models::PendingTransactionListParams::Category::in_] def initialize: ( - ?in_: ::Array[Increase::PendingTransactionListParams::Category::in_] + ?in_: ::Array[Increase::Models::PendingTransactionListParams::Category::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::PendingTransactionListParams::Category::in_] + } + type in_ = :account_transfer_instruction | :ach_transfer_instruction @@ -128,7 +145,7 @@ module Increase # The Pending Transaction was made for an undocumented or deprecated reason. OTHER: :other - def self?.values: -> ::Array[Increase::PendingTransactionListParams::Category::in_] + def self?.values: -> ::Array[Increase::Models::PendingTransactionListParams::Category::in_] end end @@ -158,22 +175,35 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = - { in_: ::Array[Increase::PendingTransactionListParams::Status::in_] } + { + in_: ::Array[Increase::Models::PendingTransactionListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::PendingTransactionListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::PendingTransactionListParams::Status::in_]? def in_=: ( - ::Array[Increase::PendingTransactionListParams::Status::in_] - ) -> ::Array[Increase::PendingTransactionListParams::Status::in_] + ::Array[Increase::Models::PendingTransactionListParams::Status::in_] + ) -> ::Array[Increase::Models::PendingTransactionListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::PendingTransactionListParams::Status::in_] + ?in_: ::Array[Increase::Models::PendingTransactionListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::PendingTransactionListParams::Status::in_] + } + type in_ = :pending | :complete module In @@ -185,7 +215,7 @@ module Increase # The Pending Transaction is confirmed. An associated Transaction exists for this object. The Pending Transaction will no longer count against your balance and can generally be hidden from UIs, etc. COMPLETE: :complete - def self?.values: -> ::Array[Increase::PendingTransactionListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::PendingTransactionListParams::Status::in_] end end end diff --git a/sig/increase/models/pending_transaction_retrieve_params.rbs b/sig/increase/models/pending_transaction_retrieve_params.rbs index a55ca9739..a164c81d1 100644 --- a/sig/increase/models/pending_transaction_retrieve_params.rbs +++ b/sig/increase/models/pending_transaction_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/physical_card.rbs b/sig/increase/models/physical_card.rbs index 9d8670696..f6468505b 100644 --- a/sig/increase/models/physical_card.rbs +++ b/sig/increase/models/physical_card.rbs @@ -9,8 +9,8 @@ module Increase idempotency_key: String?, physical_card_profile_id: String?, shipment: Increase::PhysicalCard::Shipment, - status: Increase::PhysicalCard::status, - type: Increase::PhysicalCard::type_ + status: Increase::Models::PhysicalCard::status, + type: Increase::Models::PhysicalCard::type_ } class PhysicalCard < Increase::Internal::Type::BaseModel @@ -28,9 +28,9 @@ module Increase attr_accessor shipment: Increase::PhysicalCard::Shipment - attr_accessor status: Increase::PhysicalCard::status + attr_accessor status: Increase::Models::PhysicalCard::status - attr_accessor type: Increase::PhysicalCard::type_ + attr_accessor type: Increase::Models::PhysicalCard::type_ def initialize: ( id: String, @@ -40,10 +40,22 @@ module Increase idempotency_key: String?, physical_card_profile_id: String?, shipment: Increase::PhysicalCard::Shipment, - status: Increase::PhysicalCard::status, - type: Increase::PhysicalCard::type_ + status: Increase::Models::PhysicalCard::status, + type: Increase::Models::PhysicalCard::type_ ) -> void + def to_hash: -> { + id: String, + card_id: String, + cardholder: Increase::PhysicalCard::Cardholder, + created_at: Time, + idempotency_key: String?, + physical_card_profile_id: String?, + shipment: Increase::PhysicalCard::Shipment, + status: Increase::Models::PhysicalCard::status, + type: Increase::Models::PhysicalCard::type_ + } + type cardholder = { first_name: String, last_name: String } class Cardholder < Increase::Internal::Type::BaseModel @@ -52,32 +64,41 @@ module Increase attr_accessor last_name: String def initialize: (first_name: String, last_name: String) -> void + + def to_hash: -> { first_name: String, last_name: String } end type shipment = { address: Increase::PhysicalCard::Shipment::Address, - method_: Increase::PhysicalCard::Shipment::method_, - status: Increase::PhysicalCard::Shipment::status, + method_: Increase::Models::PhysicalCard::Shipment::method_, + status: Increase::Models::PhysicalCard::Shipment::status, tracking: Increase::PhysicalCard::Shipment::Tracking? } class Shipment < Increase::Internal::Type::BaseModel attr_accessor address: Increase::PhysicalCard::Shipment::Address - attr_accessor method_: Increase::PhysicalCard::Shipment::method_ + attr_accessor method_: Increase::Models::PhysicalCard::Shipment::method_ - attr_accessor status: Increase::PhysicalCard::Shipment::status + attr_accessor status: Increase::Models::PhysicalCard::Shipment::status attr_accessor tracking: Increase::PhysicalCard::Shipment::Tracking? def initialize: ( address: Increase::PhysicalCard::Shipment::Address, - method_: Increase::PhysicalCard::Shipment::method_, - status: Increase::PhysicalCard::Shipment::status, + method_: Increase::Models::PhysicalCard::Shipment::method_, + status: Increase::Models::PhysicalCard::Shipment::status, tracking: Increase::PhysicalCard::Shipment::Tracking? ) -> void + def to_hash: -> { + address: Increase::PhysicalCard::Shipment::Address, + method_: Increase::Models::PhysicalCard::Shipment::method_, + status: Increase::Models::PhysicalCard::Shipment::status, + tracking: Increase::PhysicalCard::Shipment::Tracking? + } + type address = { city: String, @@ -113,6 +134,16 @@ module Increase postal_code: String, state: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + :line2 => String?, + :line3 => String?, + name: String, + postal_code: String, + state: String + } end type method_ = :usps | :fedex_priority_overnight | :fedex_2_day @@ -129,7 +160,7 @@ module Increase # FedEx 2-day. FEDEX_2_DAY: :fedex_2_day - def self?.values: -> ::Array[Increase::PhysicalCard::Shipment::method_] + def self?.values: -> ::Array[Increase::Models::PhysicalCard::Shipment::method_] end type status = @@ -165,7 +196,7 @@ module Increase # The physical card shipment was returned to the sender and destroyed by the production facility. RETURNED: :returned - def self?.values: -> ::Array[Increase::PhysicalCard::Shipment::status] + def self?.values: -> ::Array[Increase::Models::PhysicalCard::Shipment::status] end type tracking = @@ -196,10 +227,18 @@ module Increase updates: ::Array[Increase::PhysicalCard::Shipment::Tracking::Update] ) -> void + def to_hash: -> { + number: String, + return_number: String?, + return_reason: String?, + shipped_at: Time, + updates: ::Array[Increase::PhysicalCard::Shipment::Tracking::Update] + } + type update = { carrier_estimated_delivery_at: Time?, - category: Increase::PhysicalCard::Shipment::Tracking::Update::category, + category: Increase::Models::PhysicalCard::Shipment::Tracking::Update::category, city: String?, created_at: Time, postal_code: String?, @@ -209,7 +248,7 @@ module Increase class Update < Increase::Internal::Type::BaseModel attr_accessor carrier_estimated_delivery_at: Time? - attr_accessor category: Increase::PhysicalCard::Shipment::Tracking::Update::category + attr_accessor category: Increase::Models::PhysicalCard::Shipment::Tracking::Update::category attr_accessor city: String? @@ -221,13 +260,22 @@ module Increase def initialize: ( carrier_estimated_delivery_at: Time?, - category: Increase::PhysicalCard::Shipment::Tracking::Update::category, + category: Increase::Models::PhysicalCard::Shipment::Tracking::Update::category, city: String?, created_at: Time, postal_code: String?, state: String? ) -> void + def to_hash: -> { + carrier_estimated_delivery_at: Time?, + category: Increase::Models::PhysicalCard::Shipment::Tracking::Update::category, + city: String?, + created_at: Time, + postal_code: String?, + state: String? + } + type category = :in_transit | :processed_for_delivery @@ -249,7 +297,7 @@ module Increase # Delivery failed and the physical card was returned to sender. RETURNED_TO_SENDER: :returned_to_sender - def self?.values: -> ::Array[Increase::PhysicalCard::Shipment::Tracking::Update::category] + def self?.values: -> ::Array[Increase::Models::PhysicalCard::Shipment::Tracking::Update::category] end end end @@ -269,7 +317,7 @@ module Increase # The physical card is permanently canceled. CANCELED: :canceled - def self?.values: -> ::Array[Increase::PhysicalCard::status] + def self?.values: -> ::Array[Increase::Models::PhysicalCard::status] end type type_ = :physical_card @@ -279,7 +327,7 @@ module Increase PHYSICAL_CARD: :physical_card - def self?.values: -> ::Array[Increase::PhysicalCard::type_] + def self?.values: -> ::Array[Increase::Models::PhysicalCard::type_] end end end diff --git a/sig/increase/models/physical_card_create_params.rbs b/sig/increase/models/physical_card_create_params.rbs index c20147d55..28e596705 100644 --- a/sig/increase/models/physical_card_create_params.rbs +++ b/sig/increase/models/physical_card_create_params.rbs @@ -31,6 +31,14 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + card_id: String, + cardholder: Increase::PhysicalCardCreateParams::Cardholder, + shipment: Increase::PhysicalCardCreateParams::Shipment, + physical_card_profile_id: String, + request_options: Increase::RequestOptions + } + type cardholder = { first_name: String, last_name: String } class Cardholder < Increase::Internal::Type::BaseModel @@ -39,24 +47,31 @@ module Increase attr_accessor last_name: String def initialize: (first_name: String, last_name: String) -> void + + def to_hash: -> { first_name: String, last_name: String } end type shipment = { address: Increase::PhysicalCardCreateParams::Shipment::Address, - method_: Increase::PhysicalCardCreateParams::Shipment::method_ + method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_ } class Shipment < Increase::Internal::Type::BaseModel attr_accessor address: Increase::PhysicalCardCreateParams::Shipment::Address - attr_accessor method_: Increase::PhysicalCardCreateParams::Shipment::method_ + attr_accessor method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_ def initialize: ( address: Increase::PhysicalCardCreateParams::Shipment::Address, - method_: Increase::PhysicalCardCreateParams::Shipment::method_ + method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_ ) -> void + def to_hash: -> { + address: Increase::PhysicalCardCreateParams::Shipment::Address, + method_: Increase::Models::PhysicalCardCreateParams::Shipment::method_ + } + type address = { city: String, @@ -102,6 +117,17 @@ module Increase ?line3: String, ?phone_number: String ) -> void + + def to_hash: -> { + city: String, + :line1 => String, + name: String, + postal_code: String, + state: String, + :line2 => String, + :line3 => String, + phone_number: String + } end type method_ = :usps | :fedex_priority_overnight | :fedex_2_day @@ -118,7 +144,7 @@ module Increase # FedEx 2-day. FEDEX_2_DAY: :fedex_2_day - def self?.values: -> ::Array[Increase::PhysicalCardCreateParams::Shipment::method_] + def self?.values: -> ::Array[Increase::Models::PhysicalCardCreateParams::Shipment::method_] end end end diff --git a/sig/increase/models/physical_card_list_params.rbs b/sig/increase/models/physical_card_list_params.rbs index bfc027739..962ae38a2 100644 --- a/sig/increase/models/physical_card_list_params.rbs +++ b/sig/increase/models/physical_card_list_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + card_id: String, + created_at: Increase::PhysicalCardListParams::CreatedAt, + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -71,6 +80,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/physical_card_profile.rbs b/sig/increase/models/physical_card_profile.rbs index 63cad6e36..653c36135 100644 --- a/sig/increase/models/physical_card_profile.rbs +++ b/sig/increase/models/physical_card_profile.rbs @@ -7,14 +7,14 @@ module Increase carrier_image_file_id: String?, contact_phone: String?, created_at: Time, - creator: Increase::PhysicalCardProfile::creator, + creator: Increase::Models::PhysicalCardProfile::creator, description: String, front_image_file_id: String?, idempotency_key: String?, is_default: bool, program_id: String, - status: Increase::PhysicalCardProfile::status, - type: Increase::PhysicalCardProfile::type_ + status: Increase::Models::PhysicalCardProfile::status, + type: Increase::Models::PhysicalCardProfile::type_ } class PhysicalCardProfile < Increase::Internal::Type::BaseModel @@ -28,7 +28,7 @@ module Increase attr_accessor created_at: Time - attr_accessor creator: Increase::PhysicalCardProfile::creator + attr_accessor creator: Increase::Models::PhysicalCardProfile::creator attr_accessor description: String @@ -40,9 +40,9 @@ module Increase attr_accessor program_id: String - attr_accessor status: Increase::PhysicalCardProfile::status + attr_accessor status: Increase::Models::PhysicalCardProfile::status - attr_accessor type: Increase::PhysicalCardProfile::type_ + attr_accessor type: Increase::Models::PhysicalCardProfile::type_ def initialize: ( id: String, @@ -50,16 +50,32 @@ module Increase carrier_image_file_id: String?, contact_phone: String?, created_at: Time, - creator: Increase::PhysicalCardProfile::creator, + creator: Increase::Models::PhysicalCardProfile::creator, description: String, front_image_file_id: String?, idempotency_key: String?, is_default: bool, program_id: String, - status: Increase::PhysicalCardProfile::status, - type: Increase::PhysicalCardProfile::type_ + status: Increase::Models::PhysicalCardProfile::status, + type: Increase::Models::PhysicalCardProfile::type_ ) -> void + def to_hash: -> { + id: String, + back_image_file_id: String?, + carrier_image_file_id: String?, + contact_phone: String?, + created_at: Time, + creator: Increase::Models::PhysicalCardProfile::creator, + description: String, + front_image_file_id: String?, + idempotency_key: String?, + is_default: bool, + program_id: String, + status: Increase::Models::PhysicalCardProfile::status, + type: Increase::Models::PhysicalCardProfile::type_ + } + type creator = :increase | :user module Creator @@ -71,7 +87,7 @@ module Increase # This Physical Card Profile was created by you. USER: :user - def self?.values: -> ::Array[Increase::PhysicalCardProfile::creator] + def self?.values: -> ::Array[Increase::Models::PhysicalCardProfile::creator] end type status = @@ -103,7 +119,7 @@ module Increase # The Physical Card Profile has been archived. ARCHIVED: :archived - def self?.values: -> ::Array[Increase::PhysicalCardProfile::status] + def self?.values: -> ::Array[Increase::Models::PhysicalCardProfile::status] end type type_ = :physical_card_profile @@ -113,7 +129,7 @@ module Increase PHYSICAL_CARD_PROFILE: :physical_card_profile - def self?.values: -> ::Array[Increase::PhysicalCardProfile::type_] + def self?.values: -> ::Array[Increase::Models::PhysicalCardProfile::type_] end end end diff --git a/sig/increase/models/physical_card_profile_archive_params.rbs b/sig/increase/models/physical_card_profile_archive_params.rbs index 809a40b0b..54bc30088 100644 --- a/sig/increase/models/physical_card_profile_archive_params.rbs +++ b/sig/increase/models/physical_card_profile_archive_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/physical_card_profile_clone_params.rbs b/sig/increase/models/physical_card_profile_clone_params.rbs index 9b9b78bbe..ee265b14a 100644 --- a/sig/increase/models/physical_card_profile_clone_params.rbs +++ b/sig/increase/models/physical_card_profile_clone_params.rbs @@ -45,6 +45,15 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + carrier_image_file_id: String, + contact_phone: String, + description: String, + front_image_file_id: String, + front_text: Increase::PhysicalCardProfileCloneParams::FrontText, + request_options: Increase::RequestOptions + } + type front_text = { :line1 => String, :line2 => String } class FrontText < Increase::Internal::Type::BaseModel @@ -55,6 +64,8 @@ module Increase def line2=: (String) -> String def initialize: (line1: String, ?line2: String) -> void + + def to_hash: -> { :line1 => String, :line2 => String } end end end diff --git a/sig/increase/models/physical_card_profile_create_params.rbs b/sig/increase/models/physical_card_profile_create_params.rbs index 786ea8fc1..ce9736951 100644 --- a/sig/increase/models/physical_card_profile_create_params.rbs +++ b/sig/increase/models/physical_card_profile_create_params.rbs @@ -41,6 +41,16 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + carrier_image_file_id: String, + contact_phone: String, + description: String, + front_image_file_id: String, + program_id: String, + front_text: Increase::PhysicalCardProfileCreateParams::FrontText, + request_options: Increase::RequestOptions + } + type front_text = { :line1 => String, :line2 => String } class FrontText < Increase::Internal::Type::BaseModel @@ -51,6 +61,8 @@ module Increase def line2=: (String) -> String def initialize: (line1: String, ?line2: String) -> void + + def to_hash: -> { :line1 => String, :line2 => String } end end end diff --git a/sig/increase/models/physical_card_profile_list_params.rbs b/sig/increase/models/physical_card_profile_list_params.rbs index b05c39182..6725b11c6 100644 --- a/sig/increase/models/physical_card_profile_list_params.rbs +++ b/sig/increase/models/physical_card_profile_list_params.rbs @@ -39,20 +39,34 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::PhysicalCardProfileListParams::Status, + request_options: Increase::RequestOptions + } + type status = - { in_: ::Array[Increase::PhysicalCardProfileListParams::Status::in_] } + { + in_: ::Array[Increase::Models::PhysicalCardProfileListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::PhysicalCardProfileListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::PhysicalCardProfileListParams::Status::in_]? def in_=: ( - ::Array[Increase::PhysicalCardProfileListParams::Status::in_] - ) -> ::Array[Increase::PhysicalCardProfileListParams::Status::in_] + ::Array[Increase::Models::PhysicalCardProfileListParams::Status::in_] + ) -> ::Array[Increase::Models::PhysicalCardProfileListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::PhysicalCardProfileListParams::Status::in_] + ?in_: ::Array[Increase::Models::PhysicalCardProfileListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::PhysicalCardProfileListParams::Status::in_] + } + type in_ = :pending_creating | :pending_reviewing @@ -82,7 +96,7 @@ module Increase # The Physical Card Profile has been archived. ARCHIVED: :archived - def self?.values: -> ::Array[Increase::PhysicalCardProfileListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::PhysicalCardProfileListParams::Status::in_] end end end diff --git a/sig/increase/models/physical_card_profile_retrieve_params.rbs b/sig/increase/models/physical_card_profile_retrieve_params.rbs index e379002cb..9beb36484 100644 --- a/sig/increase/models/physical_card_profile_retrieve_params.rbs +++ b/sig/increase/models/physical_card_profile_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/physical_card_retrieve_params.rbs b/sig/increase/models/physical_card_retrieve_params.rbs index 67dc8ac07..77f187044 100644 --- a/sig/increase/models/physical_card_retrieve_params.rbs +++ b/sig/increase/models/physical_card_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/physical_card_update_params.rbs b/sig/increase/models/physical_card_update_params.rbs index a2ce6906d..a5fb6698a 100644 --- a/sig/increase/models/physical_card_update_params.rbs +++ b/sig/increase/models/physical_card_update_params.rbs @@ -15,6 +15,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + status: Increase::Models::PhysicalCardUpdateParams::status, + request_options: Increase::RequestOptions + } + type status = :active | :disabled | :canceled module Status diff --git a/sig/increase/models/program.rbs b/sig/increase/models/program.rbs index 28482c83e..a046403d1 100644 --- a/sig/increase/models/program.rbs +++ b/sig/increase/models/program.rbs @@ -3,20 +3,20 @@ module Increase type program = { id: String, - bank: Increase::Program::bank, + bank: Increase::Models::Program::bank, billing_account_id: String?, created_at: Time, default_digital_card_profile_id: String?, interest_rate: String, name: String, - type: Increase::Program::type_, + type: Increase::Models::Program::type_, updated_at: Time } class Program < Increase::Internal::Type::BaseModel attr_accessor id: String - attr_accessor bank: Increase::Program::bank + attr_accessor bank: Increase::Models::Program::bank attr_accessor billing_account_id: String? @@ -28,22 +28,34 @@ module Increase attr_accessor name: String - attr_accessor type: Increase::Program::type_ + attr_accessor type: Increase::Models::Program::type_ attr_accessor updated_at: Time def initialize: ( id: String, - bank: Increase::Program::bank, + bank: Increase::Models::Program::bank, billing_account_id: String?, created_at: Time, default_digital_card_profile_id: String?, interest_rate: String, name: String, - type: Increase::Program::type_, + type: Increase::Models::Program::type_, updated_at: Time ) -> void + def to_hash: -> { + id: String, + bank: Increase::Models::Program::bank, + billing_account_id: String?, + created_at: Time, + default_digital_card_profile_id: String?, + interest_rate: String, + name: String, + type: Increase::Models::Program::type_, + updated_at: Time + } + type bank = :core_bank | :first_internet_bank | :grasshopper_bank module Bank @@ -58,7 +70,7 @@ module Increase # Grasshopper Bank GRASSHOPPER_BANK: :grasshopper_bank - def self?.values: -> ::Array[Increase::Program::bank] + def self?.values: -> ::Array[Increase::Models::Program::bank] end type type_ = :program @@ -68,7 +80,7 @@ module Increase PROGRAM: :program - def self?.values: -> ::Array[Increase::Program::type_] + def self?.values: -> ::Array[Increase::Models::Program::type_] end end end diff --git a/sig/increase/models/program_list_params.rbs b/sig/increase/models/program_list_params.rbs index 18b9ff2d0..7c87c6cb8 100644 --- a/sig/increase/models/program_list_params.rbs +++ b/sig/increase/models/program_list_params.rbs @@ -21,6 +21,12 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/program_retrieve_params.rbs b/sig/increase/models/program_retrieve_params.rbs index a67c9e1f2..6ec48fc7e 100644 --- a/sig/increase/models/program_retrieve_params.rbs +++ b/sig/increase/models/program_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/real_time_decision.rbs b/sig/increase/models/real_time_decision.rbs index 3805f5df8..5100f89fd 100644 --- a/sig/increase/models/real_time_decision.rbs +++ b/sig/increase/models/real_time_decision.rbs @@ -6,13 +6,13 @@ module Increase card_authentication: Increase::RealTimeDecision::CardAuthentication?, card_authentication_challenge: Increase::RealTimeDecision::CardAuthenticationChallenge?, card_authorization: Increase::RealTimeDecision::CardAuthorization?, - category: Increase::RealTimeDecision::category, + category: Increase::Models::RealTimeDecision::category, created_at: Time, digital_wallet_authentication: Increase::RealTimeDecision::DigitalWalletAuthentication?, digital_wallet_token: Increase::RealTimeDecision::DigitalWalletToken?, - status: Increase::RealTimeDecision::status, + status: Increase::Models::RealTimeDecision::status, timeout_at: Time, - type: Increase::RealTimeDecision::type_ + type: Increase::Models::RealTimeDecision::type_ } class RealTimeDecision < Increase::Internal::Type::BaseModel @@ -24,7 +24,7 @@ module Increase attr_accessor card_authorization: Increase::RealTimeDecision::CardAuthorization? - attr_accessor category: Increase::RealTimeDecision::category + attr_accessor category: Increase::Models::RealTimeDecision::category attr_accessor created_at: Time @@ -32,31 +32,45 @@ module Increase attr_accessor digital_wallet_token: Increase::RealTimeDecision::DigitalWalletToken? - attr_accessor status: Increase::RealTimeDecision::status + attr_accessor status: Increase::Models::RealTimeDecision::status attr_accessor timeout_at: Time - attr_accessor type: Increase::RealTimeDecision::type_ + attr_accessor type: Increase::Models::RealTimeDecision::type_ def initialize: ( id: String, card_authentication: Increase::RealTimeDecision::CardAuthentication?, card_authentication_challenge: Increase::RealTimeDecision::CardAuthenticationChallenge?, card_authorization: Increase::RealTimeDecision::CardAuthorization?, - category: Increase::RealTimeDecision::category, + category: Increase::Models::RealTimeDecision::category, created_at: Time, digital_wallet_authentication: Increase::RealTimeDecision::DigitalWalletAuthentication?, digital_wallet_token: Increase::RealTimeDecision::DigitalWalletToken?, - status: Increase::RealTimeDecision::status, + status: Increase::Models::RealTimeDecision::status, timeout_at: Time, - type: Increase::RealTimeDecision::type_ + type: Increase::Models::RealTimeDecision::type_ ) -> void + def to_hash: -> { + id: String, + card_authentication: Increase::RealTimeDecision::CardAuthentication?, + card_authentication_challenge: Increase::RealTimeDecision::CardAuthenticationChallenge?, + card_authorization: Increase::RealTimeDecision::CardAuthorization?, + category: Increase::Models::RealTimeDecision::category, + created_at: Time, + digital_wallet_authentication: Increase::RealTimeDecision::DigitalWalletAuthentication?, + digital_wallet_token: Increase::RealTimeDecision::DigitalWalletToken?, + status: Increase::Models::RealTimeDecision::status, + timeout_at: Time, + type: Increase::Models::RealTimeDecision::type_ + } + type card_authentication = { account_id: String, card_id: String, - decision: Increase::RealTimeDecision::CardAuthentication::decision?, + decision: Increase::Models::RealTimeDecision::CardAuthentication::decision?, upcoming_card_payment_id: String } @@ -65,17 +79,24 @@ module Increase attr_accessor card_id: String - attr_accessor decision: Increase::RealTimeDecision::CardAuthentication::decision? + attr_accessor decision: Increase::Models::RealTimeDecision::CardAuthentication::decision? attr_accessor upcoming_card_payment_id: String def initialize: ( account_id: String, card_id: String, - decision: Increase::RealTimeDecision::CardAuthentication::decision?, + decision: Increase::Models::RealTimeDecision::CardAuthentication::decision?, upcoming_card_payment_id: String ) -> void + def to_hash: -> { + account_id: String, + card_id: String, + decision: Increase::Models::RealTimeDecision::CardAuthentication::decision?, + upcoming_card_payment_id: String + } + type decision = :approve | :challenge | :deny module Decision @@ -90,7 +111,7 @@ module Increase # Deny the authentication attempt. DENY: :deny - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthentication::decision] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthentication::decision] end end @@ -100,7 +121,7 @@ module Increase card_id: String, card_payment_id: String, one_time_code: String, - result: Increase::RealTimeDecision::CardAuthenticationChallenge::result? + result: Increase::Models::RealTimeDecision::CardAuthenticationChallenge::result? } class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel @@ -112,16 +133,24 @@ module Increase attr_accessor one_time_code: String - attr_accessor result: Increase::RealTimeDecision::CardAuthenticationChallenge::result? + attr_accessor result: Increase::Models::RealTimeDecision::CardAuthenticationChallenge::result? def initialize: ( account_id: String, card_id: String, card_payment_id: String, one_time_code: String, - result: Increase::RealTimeDecision::CardAuthenticationChallenge::result? + result: Increase::Models::RealTimeDecision::CardAuthenticationChallenge::result? ) -> void + def to_hash: -> { + account_id: String, + card_id: String, + card_payment_id: String, + one_time_code: String, + result: Increase::Models::RealTimeDecision::CardAuthenticationChallenge::result? + } + type result = :success | :failure module Result @@ -133,7 +162,7 @@ module Increase # Your application was unable to deliver the one-time code to the cardholder. FAILURE: :failure - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthenticationChallenge::result] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthenticationChallenge::result] end end @@ -141,9 +170,9 @@ module Increase { account_id: String, card_id: String, - decision: Increase::RealTimeDecision::CardAuthorization::decision?, + decision: Increase::Models::RealTimeDecision::CardAuthorization::decision?, digital_wallet_token_id: String?, - direction: Increase::RealTimeDecision::CardAuthorization::direction, + direction: Increase::Models::RealTimeDecision::CardAuthorization::direction, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -157,7 +186,7 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::RealTimeDecision::CardAuthorization::processing_category, + processing_category: Increase::Models::RealTimeDecision::CardAuthorization::processing_category, request_details: Increase::RealTimeDecision::CardAuthorization::RequestDetails, settlement_amount: Integer, settlement_currency: String, @@ -171,11 +200,11 @@ module Increase attr_accessor card_id: String - attr_accessor decision: Increase::RealTimeDecision::CardAuthorization::decision? + attr_accessor decision: Increase::Models::RealTimeDecision::CardAuthorization::decision? attr_accessor digital_wallet_token_id: String? - attr_accessor direction: Increase::RealTimeDecision::CardAuthorization::direction + attr_accessor direction: Increase::Models::RealTimeDecision::CardAuthorization::direction attr_accessor merchant_acceptor_id: String @@ -203,7 +232,7 @@ module Increase attr_accessor presentment_currency: String - attr_accessor processing_category: Increase::RealTimeDecision::CardAuthorization::processing_category + attr_accessor processing_category: Increase::Models::RealTimeDecision::CardAuthorization::processing_category attr_accessor request_details: Increase::RealTimeDecision::CardAuthorization::RequestDetails @@ -220,9 +249,9 @@ module Increase def initialize: ( account_id: String, card_id: String, - decision: Increase::RealTimeDecision::CardAuthorization::decision?, + decision: Increase::Models::RealTimeDecision::CardAuthorization::decision?, digital_wallet_token_id: String?, - direction: Increase::RealTimeDecision::CardAuthorization::direction, + direction: Increase::Models::RealTimeDecision::CardAuthorization::direction, merchant_acceptor_id: String, merchant_category_code: String, merchant_city: String?, @@ -236,7 +265,7 @@ module Increase physical_card_id: String?, presentment_amount: Integer, presentment_currency: String, - processing_category: Increase::RealTimeDecision::CardAuthorization::processing_category, + processing_category: Increase::Models::RealTimeDecision::CardAuthorization::processing_category, request_details: Increase::RealTimeDecision::CardAuthorization::RequestDetails, settlement_amount: Integer, settlement_currency: String, @@ -245,6 +274,34 @@ module Increase verification: Increase::RealTimeDecision::CardAuthorization::Verification ) -> void + def to_hash: -> { + account_id: String, + card_id: String, + decision: Increase::Models::RealTimeDecision::CardAuthorization::decision?, + digital_wallet_token_id: String?, + direction: Increase::Models::RealTimeDecision::CardAuthorization::direction, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String?, + merchant_country: String, + merchant_descriptor: String, + merchant_postal_code: String?, + merchant_state: String?, + network_details: Increase::RealTimeDecision::CardAuthorization::NetworkDetails, + network_identifiers: Increase::RealTimeDecision::CardAuthorization::NetworkIdentifiers, + network_risk_score: Integer?, + physical_card_id: String?, + presentment_amount: Integer, + presentment_currency: String, + processing_category: Increase::Models::RealTimeDecision::CardAuthorization::processing_category, + request_details: Increase::RealTimeDecision::CardAuthorization::RequestDetails, + settlement_amount: Integer, + settlement_currency: String, + terminal_id: String?, + upcoming_card_payment_id: String, + verification: Increase::RealTimeDecision::CardAuthorization::Verification + } + type decision = :approve | :decline module Decision @@ -256,7 +313,7 @@ module Increase # Decline the authorization. DECLINE: :decline - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::decision] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::decision] end type direction = :settlement | :refund @@ -270,25 +327,30 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::direction] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::direction] end type network_details = { - category: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::category, + category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category, visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? } class NetworkDetails < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::category + attr_accessor category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category attr_accessor visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? def initialize: ( - category: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::category, + category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category, visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? ) -> void + def to_hash: -> { + category: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category, + visa: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa? + } + type category = :visa module Category @@ -297,29 +359,35 @@ module Increase # Visa VISA: :visa - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::NetworkDetails::category] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::category] end type visa = { - electronic_commerce_indicator: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? } class Visa < Increase::Internal::Type::BaseModel - attr_accessor electronic_commerce_indicator: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator? + attr_accessor electronic_commerce_indicator: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator? - attr_accessor point_of_service_entry_mode: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode? + attr_accessor point_of_service_entry_mode: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode? - attr_accessor stand_in_processing_reason: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + attr_accessor stand_in_processing_reason: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? def initialize: ( - electronic_commerce_indicator: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, - point_of_service_entry_mode: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, - stand_in_processing_reason: Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + electronic_commerce_indicator: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? ) -> void + def to_hash: -> { + electronic_commerce_indicator: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator?, + point_of_service_entry_mode: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode?, + stand_in_processing_reason: Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason? + } + type electronic_commerce_indicator = :mail_phone_order | :recurring @@ -357,7 +425,7 @@ module Increase # Non-secure transaction: Use to identify an electronic commerce transaction that has no data protection. NON_SECURE_TRANSACTION: :non_secure_transaction - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::electronic_commerce_indicator] end type point_of_service_entry_mode = @@ -405,7 +473,7 @@ module Increase # Contact chip card, without card verification value INTEGRATED_CIRCUIT_CARD_NO_CVV: :integrated_circuit_card_no_cvv - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::point_of_service_entry_mode] end type stand_in_processing_reason = @@ -441,7 +509,7 @@ module Increase # An unspecific reason for stand-in processing. OTHER: :other - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::NetworkDetails::Visa::stand_in_processing_reason] end end end @@ -465,6 +533,12 @@ module Increase trace_number: String?, transaction_id: String? ) -> void + + def to_hash: -> { + retrieval_reference_number: String?, + trace_number: String?, + transaction_id: String? + } end type processing_category = @@ -496,29 +570,35 @@ module Increase # A refund card authorization, sometimes referred to as a credit voucher authorization, where funds are credited to the cardholder. REFUND: :refund - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::processing_category] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::processing_category] end type request_details = { - category: Increase::RealTimeDecision::CardAuthorization::RequestDetails::category, + category: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category, incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization?, initial_authorization: top? } class RequestDetails < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::RealTimeDecision::CardAuthorization::RequestDetails::category + attr_accessor category: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category attr_accessor incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization? attr_accessor initial_authorization: top? def initialize: ( - category: Increase::RealTimeDecision::CardAuthorization::RequestDetails::category, + category: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category, incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization?, initial_authorization: top? ) -> void + def to_hash: -> { + category: Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category, + incremental_authorization: Increase::RealTimeDecision::CardAuthorization::RequestDetails::IncrementalAuthorization?, + initial_authorization: top? + } + type category = :initial_authorization | :incremental_authorization module Category @@ -530,7 +610,7 @@ module Increase # An incremental request to increase the amount of an existing authorization. INCREMENTAL_AUTHORIZATION: :incremental_authorization - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::RequestDetails::category] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::RequestDetails::category] end type incremental_authorization = @@ -545,6 +625,11 @@ module Increase card_payment_id: String, original_card_authorization_id: String ) -> void + + def to_hash: -> { + card_payment_id: String, + original_card_authorization_id: String + } end end @@ -564,18 +649,27 @@ module Increase cardholder_address: Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress ) -> void + def to_hash: -> { + card_verification_code: Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode, + cardholder_address: Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress + } + type card_verification_code = { - result: Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result + result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result } class CardVerificationCode < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result + attr_accessor result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result def initialize: ( - result: Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result + result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result ) -> void + def to_hash: -> { + result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result + } + type result = :not_checked | :match | :no_match module Result @@ -590,7 +684,7 @@ module Increase # The card verification code did not match the one on file. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardVerificationCode::result] end end @@ -600,7 +694,7 @@ module Increase actual_postal_code: String?, :provided_line1 => String?, provided_postal_code: String?, - result: Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result + result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result } class CardholderAddress < Increase::Internal::Type::BaseModel @@ -612,16 +706,24 @@ module Increase attr_accessor provided_postal_code: String? - attr_accessor result: Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result + attr_accessor result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result def initialize: ( actual_line1: String?, actual_postal_code: String?, provided_line1: String?, provided_postal_code: String?, - result: Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result + result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result ) -> void + def to_hash: -> { + :actual_line1 => String?, + actual_postal_code: String?, + :provided_line1 => String?, + provided_postal_code: String?, + result: Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result + } + type result = :not_checked | :postal_code_match_address_not_checked @@ -651,7 +753,7 @@ module Increase # Postal code and street address do not match. NO_MATCH: :no_match - def self?.values: -> ::Array[Increase::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::CardAuthorization::Verification::CardholderAddress::result] end end end @@ -682,26 +784,26 @@ module Increase # A card is being loaded into a digital wallet and requires cardholder authentication. DIGITAL_WALLET_AUTHENTICATION_REQUESTED: :digital_wallet_authentication_requested - def self?.values: -> ::Array[Increase::RealTimeDecision::category] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::category] end type digital_wallet_authentication = { card_id: String, - channel: Increase::RealTimeDecision::DigitalWalletAuthentication::channel, - digital_wallet: Increase::RealTimeDecision::DigitalWalletAuthentication::digital_wallet, + channel: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::channel, + digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::digital_wallet, email: String?, one_time_passcode: String, phone: String?, - result: Increase::RealTimeDecision::DigitalWalletAuthentication::result? + result: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::result? } class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel attr_accessor card_id: String - attr_accessor channel: Increase::RealTimeDecision::DigitalWalletAuthentication::channel + attr_accessor channel: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::channel - attr_accessor digital_wallet: Increase::RealTimeDecision::DigitalWalletAuthentication::digital_wallet + attr_accessor digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::digital_wallet attr_accessor email: String? @@ -709,18 +811,28 @@ module Increase attr_accessor phone: String? - attr_accessor result: Increase::RealTimeDecision::DigitalWalletAuthentication::result? + attr_accessor result: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::result? def initialize: ( card_id: String, - channel: Increase::RealTimeDecision::DigitalWalletAuthentication::channel, - digital_wallet: Increase::RealTimeDecision::DigitalWalletAuthentication::digital_wallet, + channel: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::channel, + digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::digital_wallet, email: String?, one_time_passcode: String, phone: String?, - result: Increase::RealTimeDecision::DigitalWalletAuthentication::result? + result: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::result? ) -> void + def to_hash: -> { + card_id: String, + channel: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::channel, + digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::digital_wallet, + email: String?, + one_time_passcode: String, + phone: String?, + result: Increase::Models::RealTimeDecision::DigitalWalletAuthentication::result? + } + type channel = :sms | :email module Channel @@ -732,7 +844,7 @@ module Increase # Send one-time passcodes over email. EMAIL: :email - def self?.values: -> ::Array[Increase::RealTimeDecision::DigitalWalletAuthentication::channel] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletAuthentication::channel] end type digital_wallet = :apple_pay | :google_pay | :samsung_pay | :unknown @@ -752,7 +864,7 @@ module Increase # Unknown UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::RealTimeDecision::DigitalWalletAuthentication::digital_wallet] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletAuthentication::digital_wallet] end type result = :success | :failure @@ -766,7 +878,7 @@ module Increase # Your application failed to deliver the one-time passcode to the cardholder. FAILURE: :failure - def self?.values: -> ::Array[Increase::RealTimeDecision::DigitalWalletAuthentication::result] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletAuthentication::result] end end @@ -774,9 +886,9 @@ module Increase { card_id: String, card_profile_id: String?, - decision: Increase::RealTimeDecision::DigitalWalletToken::decision?, + decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision?, device: Increase::RealTimeDecision::DigitalWalletToken::Device, - digital_wallet: Increase::RealTimeDecision::DigitalWalletToken::digital_wallet + digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet } class DigitalWalletToken < Increase::Internal::Type::BaseModel @@ -784,20 +896,28 @@ module Increase attr_accessor card_profile_id: String? - attr_accessor decision: Increase::RealTimeDecision::DigitalWalletToken::decision? + attr_accessor decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision? attr_accessor device: Increase::RealTimeDecision::DigitalWalletToken::Device - attr_accessor digital_wallet: Increase::RealTimeDecision::DigitalWalletToken::digital_wallet + attr_accessor digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet def initialize: ( card_id: String, card_profile_id: String?, - decision: Increase::RealTimeDecision::DigitalWalletToken::decision?, + decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision?, device: Increase::RealTimeDecision::DigitalWalletToken::Device, - digital_wallet: Increase::RealTimeDecision::DigitalWalletToken::digital_wallet + digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet ) -> void + def to_hash: -> { + card_id: String, + card_profile_id: String?, + decision: Increase::Models::RealTimeDecision::DigitalWalletToken::decision?, + device: Increase::RealTimeDecision::DigitalWalletToken::Device, + digital_wallet: Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet + } + type decision = :approve | :decline module Decision @@ -809,7 +929,7 @@ module Increase # Decline the provisioning request. DECLINE: :decline - def self?.values: -> ::Array[Increase::RealTimeDecision::DigitalWalletToken::decision] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletToken::decision] end type device = { identifier: String? } @@ -818,6 +938,8 @@ module Increase attr_accessor identifier: String? def initialize: (identifier: String?) -> void + + def to_hash: -> { identifier: String? } end type digital_wallet = :apple_pay | :google_pay | :samsung_pay | :unknown @@ -837,7 +959,7 @@ module Increase # Unknown UNKNOWN: :unknown - def self?.values: -> ::Array[Increase::RealTimeDecision::DigitalWalletToken::digital_wallet] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::DigitalWalletToken::digital_wallet] end end @@ -855,7 +977,7 @@ module Increase # Your webhook failed to respond to the authorization in time. TIMED_OUT: :timed_out - def self?.values: -> ::Array[Increase::RealTimeDecision::status] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::status] end type type_ = :real_time_decision @@ -865,7 +987,7 @@ module Increase REAL_TIME_DECISION: :real_time_decision - def self?.values: -> ::Array[Increase::RealTimeDecision::type_] + def self?.values: -> ::Array[Increase::Models::RealTimeDecision::type_] end end end diff --git a/sig/increase/models/real_time_decision_action_params.rbs b/sig/increase/models/real_time_decision_action_params.rbs index 305078cf1..b7236d9b7 100644 --- a/sig/increase/models/real_time_decision_action_params.rbs +++ b/sig/increase/models/real_time_decision_action_params.rbs @@ -53,18 +53,31 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + card_authentication: Increase::RealTimeDecisionActionParams::CardAuthentication, + card_authentication_challenge: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge, + card_authorization: Increase::RealTimeDecisionActionParams::CardAuthorization, + digital_wallet_authentication: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication, + digital_wallet_token: Increase::RealTimeDecisionActionParams::DigitalWalletToken, + request_options: Increase::RequestOptions + } + type card_authentication = { - decision: Increase::RealTimeDecisionActionParams::CardAuthentication::decision + decision: Increase::Models::RealTimeDecisionActionParams::CardAuthentication::decision } class CardAuthentication < Increase::Internal::Type::BaseModel - attr_accessor decision: Increase::RealTimeDecisionActionParams::CardAuthentication::decision + attr_accessor decision: Increase::Models::RealTimeDecisionActionParams::CardAuthentication::decision def initialize: ( - decision: Increase::RealTimeDecisionActionParams::CardAuthentication::decision + decision: Increase::Models::RealTimeDecisionActionParams::CardAuthentication::decision ) -> void + def to_hash: -> { + decision: Increase::Models::RealTimeDecisionActionParams::CardAuthentication::decision + } + type decision = :approve | :challenge | :deny module Decision @@ -79,22 +92,26 @@ module Increase # Deny the authentication attempt. DENY: :deny - def self?.values: -> ::Array[Increase::RealTimeDecisionActionParams::CardAuthentication::decision] + def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthentication::decision] end end type card_authentication_challenge = { - result: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::result + result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result } class CardAuthenticationChallenge < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::result + attr_accessor result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result def initialize: ( - result: Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::result + result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result ) -> void + def to_hash: -> { + result: Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result + } + type result = :success | :failure module Result @@ -106,30 +123,35 @@ module Increase # Your application was unable to deliver the one-time code to the cardholder. FAILURE: :failure - def self?.values: -> ::Array[Increase::RealTimeDecisionActionParams::CardAuthenticationChallenge::result] + def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthenticationChallenge::result] end end type card_authorization = { - decision: Increase::RealTimeDecisionActionParams::CardAuthorization::decision, - decline_reason: Increase::RealTimeDecisionActionParams::CardAuthorization::decline_reason + decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision, + decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason } class CardAuthorization < Increase::Internal::Type::BaseModel - attr_accessor decision: Increase::RealTimeDecisionActionParams::CardAuthorization::decision + attr_accessor decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision - attr_reader decline_reason: Increase::RealTimeDecisionActionParams::CardAuthorization::decline_reason? + attr_reader decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason? def decline_reason=: ( - Increase::RealTimeDecisionActionParams::CardAuthorization::decline_reason - ) -> Increase::RealTimeDecisionActionParams::CardAuthorization::decline_reason + Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason + ) -> Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason def initialize: ( - decision: Increase::RealTimeDecisionActionParams::CardAuthorization::decision, - ?decline_reason: Increase::RealTimeDecisionActionParams::CardAuthorization::decline_reason + decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision, + ?decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason ) -> void + def to_hash: -> { + decision: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision, + decline_reason: Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason + } + type decision = :approve | :decline module Decision @@ -141,7 +163,7 @@ module Increase # Decline the authorization. DECLINE: :decline - def self?.values: -> ::Array[Increase::RealTimeDecisionActionParams::CardAuthorization::decision] + def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decision] end type decline_reason = @@ -173,18 +195,18 @@ module Increase # The transaction was declined for another reason. The merchant may attempt to process the transaction again. This should be used sparingly. OTHER: :other - def self?.values: -> ::Array[Increase::RealTimeDecisionActionParams::CardAuthorization::decline_reason] + def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::CardAuthorization::decline_reason] end end type digital_wallet_authentication = { - result: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::result, + result: Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::result, success: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success } class DigitalWalletAuthentication < Increase::Internal::Type::BaseModel - attr_accessor result: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::result + attr_accessor result: Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::result attr_reader success: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success? @@ -193,10 +215,15 @@ module Increase ) -> Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success def initialize: ( - result: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::result, + result: Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::result, ?success: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success ) -> void + def to_hash: -> { + result: Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::result, + success: Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::Success + } + type result = :success | :failure module Result @@ -208,7 +235,7 @@ module Increase # Your application failed to deliver the one-time passcode to the cardholder. FAILURE: :failure - def self?.values: -> ::Array[Increase::RealTimeDecisionActionParams::DigitalWalletAuthentication::result] + def self?.values: -> ::Array[Increase::Models::RealTimeDecisionActionParams::DigitalWalletAuthentication::result] end type success = { email: String, phone: String } @@ -223,6 +250,8 @@ module Increase def phone=: (String) -> String def initialize: (?email: String, ?phone: String) -> void + + def to_hash: -> { email: String, phone: String } end end @@ -250,6 +279,11 @@ module Increase ?decline: Increase::RealTimeDecisionActionParams::DigitalWalletToken::Decline ) -> void + def to_hash: -> { + approval: Increase::RealTimeDecisionActionParams::DigitalWalletToken::Approval, + decline: Increase::RealTimeDecisionActionParams::DigitalWalletToken::Decline + } + type approval = { email: String, phone: String } class Approval < Increase::Internal::Type::BaseModel @@ -262,6 +296,8 @@ module Increase def phone=: (String) -> String def initialize: (?email: String, ?phone: String) -> void + + def to_hash: -> { email: String, phone: String } end type decline = { reason: String } @@ -272,6 +308,8 @@ module Increase def reason=: (String) -> String def initialize: (?reason: String) -> void + + def to_hash: -> { reason: String } end end end diff --git a/sig/increase/models/real_time_decision_retrieve_params.rbs b/sig/increase/models/real_time_decision_retrieve_params.rbs index 6ce4a82dd..96e0469e8 100644 --- a/sig/increase/models/real_time_decision_retrieve_params.rbs +++ b/sig/increase/models/real_time_decision_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/real_time_payments_transfer.rbs b/sig/increase/models/real_time_payments_transfer.rbs index 9ea4991f2..ef5a4ea62 100644 --- a/sig/increase/models/real_time_payments_transfer.rbs +++ b/sig/increase/models/real_time_payments_transfer.rbs @@ -11,7 +11,7 @@ module Increase created_at: Time, created_by: Increase::RealTimePaymentsTransfer::CreatedBy?, creditor_name: String, - currency: Increase::RealTimePaymentsTransfer::currency, + currency: Increase::Models::RealTimePaymentsTransfer::currency, debtor_name: String?, destination_account_number: String, destination_routing_number: String, @@ -21,10 +21,10 @@ module Increase rejection: Increase::RealTimePaymentsTransfer::Rejection?, remittance_information: String, source_account_number_id: String, - status: Increase::RealTimePaymentsTransfer::status, + status: Increase::Models::RealTimePaymentsTransfer::status, submission: Increase::RealTimePaymentsTransfer::Submission?, transaction_id: String?, - type: Increase::RealTimePaymentsTransfer::type_, + type: Increase::Models::RealTimePaymentsTransfer::type_, ultimate_creditor_name: String?, ultimate_debtor_name: String? } @@ -48,7 +48,7 @@ module Increase attr_accessor creditor_name: String - attr_accessor currency: Increase::RealTimePaymentsTransfer::currency + attr_accessor currency: Increase::Models::RealTimePaymentsTransfer::currency attr_accessor debtor_name: String? @@ -68,13 +68,13 @@ module Increase attr_accessor source_account_number_id: String - attr_accessor status: Increase::RealTimePaymentsTransfer::status + attr_accessor status: Increase::Models::RealTimePaymentsTransfer::status attr_accessor submission: Increase::RealTimePaymentsTransfer::Submission? attr_accessor transaction_id: String? - attr_accessor type: Increase::RealTimePaymentsTransfer::type_ + attr_accessor type: Increase::Models::RealTimePaymentsTransfer::type_ attr_accessor ultimate_creditor_name: String? @@ -90,7 +90,7 @@ module Increase created_at: Time, created_by: Increase::RealTimePaymentsTransfer::CreatedBy?, creditor_name: String, - currency: Increase::RealTimePaymentsTransfer::currency, + currency: Increase::Models::RealTimePaymentsTransfer::currency, debtor_name: String?, destination_account_number: String, destination_routing_number: String, @@ -100,20 +100,50 @@ module Increase rejection: Increase::RealTimePaymentsTransfer::Rejection?, remittance_information: String, source_account_number_id: String, - status: Increase::RealTimePaymentsTransfer::status, + status: Increase::Models::RealTimePaymentsTransfer::status, submission: Increase::RealTimePaymentsTransfer::Submission?, transaction_id: String?, - type: Increase::RealTimePaymentsTransfer::type_, + type: Increase::Models::RealTimePaymentsTransfer::type_, ultimate_creditor_name: String?, ultimate_debtor_name: String? ) -> void + def to_hash: -> { + id: String, + account_id: String, + acknowledgement: Increase::RealTimePaymentsTransfer::Acknowledgement?, + amount: Integer, + approval: Increase::RealTimePaymentsTransfer::Approval?, + cancellation: Increase::RealTimePaymentsTransfer::Cancellation?, + created_at: Time, + created_by: Increase::RealTimePaymentsTransfer::CreatedBy?, + creditor_name: String, + currency: Increase::Models::RealTimePaymentsTransfer::currency, + debtor_name: String?, + destination_account_number: String, + destination_routing_number: String, + external_account_id: String?, + idempotency_key: String?, + pending_transaction_id: String?, + rejection: Increase::RealTimePaymentsTransfer::Rejection?, + remittance_information: String, + source_account_number_id: String, + status: Increase::Models::RealTimePaymentsTransfer::status, + submission: Increase::RealTimePaymentsTransfer::Submission?, + transaction_id: String?, + type: Increase::Models::RealTimePaymentsTransfer::type_, + ultimate_creditor_name: String?, + ultimate_debtor_name: String? + } + type acknowledgement = { acknowledged_at: Time } class Acknowledgement < Increase::Internal::Type::BaseModel attr_accessor acknowledged_at: Time def initialize: (acknowledged_at: Time) -> void + + def to_hash: -> { acknowledged_at: Time } end type approval = { approved_at: Time, approved_by: String? } @@ -124,6 +154,8 @@ module Increase attr_accessor approved_by: String? def initialize: (approved_at: Time, approved_by: String?) -> void + + def to_hash: -> { approved_at: Time, approved_by: String? } end type cancellation = { canceled_at: Time, canceled_by: String? } @@ -134,12 +166,14 @@ module Increase attr_accessor canceled_by: String? def initialize: (canceled_at: Time, canceled_by: String?) -> void + + def to_hash: -> { canceled_at: Time, canceled_by: String? } end type created_by = { api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?, - category: Increase::RealTimePaymentsTransfer::CreatedBy::category, + category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category, oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?, user: Increase::RealTimePaymentsTransfer::CreatedBy::User? } @@ -147,7 +181,7 @@ module Increase class CreatedBy < Increase::Internal::Type::BaseModel attr_accessor api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey? - attr_accessor category: Increase::RealTimePaymentsTransfer::CreatedBy::category + attr_accessor category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category attr_accessor oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication? @@ -155,17 +189,26 @@ module Increase def initialize: ( api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?, - category: Increase::RealTimePaymentsTransfer::CreatedBy::category, + category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category, oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?, user: Increase::RealTimePaymentsTransfer::CreatedBy::User? ) -> void + def to_hash: -> { + api_key: Increase::RealTimePaymentsTransfer::CreatedBy::APIKey?, + category: Increase::Models::RealTimePaymentsTransfer::CreatedBy::category, + oauth_application: Increase::RealTimePaymentsTransfer::CreatedBy::OAuthApplication?, + user: Increase::RealTimePaymentsTransfer::CreatedBy::User? + } + type api_key = { description: String? } class APIKey < Increase::Internal::Type::BaseModel attr_accessor description: String? def initialize: (description: String?) -> void + + def to_hash: -> { description: String? } end type category = :api_key | :oauth_application | :user @@ -182,7 +225,7 @@ module Increase # A User in the Increase dashboard. Details will be under the `user` object. USER: :user - def self?.values: -> ::Array[Increase::RealTimePaymentsTransfer::CreatedBy::category] + def self?.values: -> ::Array[Increase::Models::RealTimePaymentsTransfer::CreatedBy::category] end type oauth_application = { name: String } @@ -191,6 +234,8 @@ module Increase attr_accessor name: String def initialize: (name: String) -> void + + def to_hash: -> { name: String } end type user = { email: String } @@ -199,6 +244,8 @@ module Increase attr_accessor email: String def initialize: (email: String) -> void + + def to_hash: -> { email: String } end end @@ -225,29 +272,35 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::RealTimePaymentsTransfer::currency] + def self?.values: -> ::Array[Increase::Models::RealTimePaymentsTransfer::currency] end type rejection = { reject_reason_additional_information: String?, - reject_reason_code: Increase::RealTimePaymentsTransfer::Rejection::reject_reason_code, + reject_reason_code: Increase::Models::RealTimePaymentsTransfer::Rejection::reject_reason_code, rejected_at: Time? } class Rejection < Increase::Internal::Type::BaseModel attr_accessor reject_reason_additional_information: String? - attr_accessor reject_reason_code: Increase::RealTimePaymentsTransfer::Rejection::reject_reason_code + attr_accessor reject_reason_code: Increase::Models::RealTimePaymentsTransfer::Rejection::reject_reason_code attr_accessor rejected_at: Time? def initialize: ( reject_reason_additional_information: String?, - reject_reason_code: Increase::RealTimePaymentsTransfer::Rejection::reject_reason_code, + reject_reason_code: Increase::Models::RealTimePaymentsTransfer::Rejection::reject_reason_code, rejected_at: Time? ) -> void + def to_hash: -> { + reject_reason_additional_information: String?, + reject_reason_code: Increase::Models::RealTimePaymentsTransfer::Rejection::reject_reason_code, + rejected_at: Time? + } + type reject_reason_code = :account_closed | :account_blocked @@ -337,7 +390,7 @@ module Increase # Some other error or issue has occurred. OTHER: :other - def self?.values: -> ::Array[Increase::RealTimePaymentsTransfer::Rejection::reject_reason_code] + def self?.values: -> ::Array[Increase::Models::RealTimePaymentsTransfer::Rejection::reject_reason_code] end end @@ -378,7 +431,7 @@ module Increase # The transfer has been sent successfully and is complete. COMPLETE: :complete - def self?.values: -> ::Array[Increase::RealTimePaymentsTransfer::status] + def self?.values: -> ::Array[Increase::Models::RealTimePaymentsTransfer::status] end type submission = @@ -393,6 +446,11 @@ module Increase submitted_at: Time?, transaction_identification: String ) -> void + + def to_hash: -> { + submitted_at: Time?, + transaction_identification: String + } end type type_ = :real_time_payments_transfer @@ -402,7 +460,7 @@ module Increase REAL_TIME_PAYMENTS_TRANSFER: :real_time_payments_transfer - def self?.values: -> ::Array[Increase::RealTimePaymentsTransfer::type_] + def self?.values: -> ::Array[Increase::Models::RealTimePaymentsTransfer::type_] end end end diff --git a/sig/increase/models/real_time_payments_transfer_create_params.rbs b/sig/increase/models/real_time_payments_transfer_create_params.rbs index 019b43fd8..fdbc2b4a6 100644 --- a/sig/increase/models/real_time_payments_transfer_create_params.rbs +++ b/sig/increase/models/real_time_payments_transfer_create_params.rbs @@ -70,6 +70,21 @@ module Increase ?ultimate_debtor_name: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + amount: Integer, + creditor_name: String, + remittance_information: String, + source_account_number_id: String, + debtor_name: String, + destination_account_number: String, + destination_routing_number: String, + external_account_id: String, + require_approval: bool, + ultimate_creditor_name: String, + ultimate_debtor_name: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/real_time_payments_transfer_list_params.rbs b/sig/increase/models/real_time_payments_transfer_list_params.rbs index 68f07b062..4b4e00ed7 100644 --- a/sig/increase/models/real_time_payments_transfer_list_params.rbs +++ b/sig/increase/models/real_time_payments_transfer_list_params.rbs @@ -59,6 +59,17 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::RealTimePaymentsTransferListParams::CreatedAt, + cursor: String, + external_account_id: String, + idempotency_key: String, + limit: Integer, + status: Increase::RealTimePaymentsTransferListParams::Status, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -85,24 +96,35 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end type status = { - in_: ::Array[Increase::RealTimePaymentsTransferListParams::Status::in_] + in_: ::Array[Increase::Models::RealTimePaymentsTransferListParams::Status::in_] } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::RealTimePaymentsTransferListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::RealTimePaymentsTransferListParams::Status::in_]? def in_=: ( - ::Array[Increase::RealTimePaymentsTransferListParams::Status::in_] - ) -> ::Array[Increase::RealTimePaymentsTransferListParams::Status::in_] + ::Array[Increase::Models::RealTimePaymentsTransferListParams::Status::in_] + ) -> ::Array[Increase::Models::RealTimePaymentsTransferListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::RealTimePaymentsTransferListParams::Status::in_] + ?in_: ::Array[Increase::Models::RealTimePaymentsTransferListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::RealTimePaymentsTransferListParams::Status::in_] + } + type in_ = :pending_approval | :canceled @@ -140,7 +162,7 @@ module Increase # The transfer has been sent successfully and is complete. COMPLETE: :complete - def self?.values: -> ::Array[Increase::RealTimePaymentsTransferListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::RealTimePaymentsTransferListParams::Status::in_] end end end diff --git a/sig/increase/models/real_time_payments_transfer_retrieve_params.rbs b/sig/increase/models/real_time_payments_transfer_retrieve_params.rbs index db8f2eb72..2baf18d46 100644 --- a/sig/increase/models/real_time_payments_transfer_retrieve_params.rbs +++ b/sig/increase/models/real_time_payments_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/routing_number_list_params.rbs b/sig/increase/models/routing_number_list_params.rbs index cf3d8e4ca..6055e46fb 100644 --- a/sig/increase/models/routing_number_list_params.rbs +++ b/sig/increase/models/routing_number_list_params.rbs @@ -24,6 +24,13 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + routing_number: String, + cursor: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/routing_number_list_response.rbs b/sig/increase/models/routing_number_list_response.rbs index 268693015..26311e78b 100644 --- a/sig/increase/models/routing_number_list_response.rbs +++ b/sig/increase/models/routing_number_list_response.rbs @@ -32,6 +32,15 @@ module Increase wire_transfers: Increase::Models::RoutingNumberListResponse::wire_transfers ) -> void + def to_hash: -> { + ach_transfers: Increase::Models::RoutingNumberListResponse::ach_transfers, + name: String, + real_time_payments_transfers: Increase::Models::RoutingNumberListResponse::real_time_payments_transfers, + routing_number: String, + type: Increase::Models::RoutingNumberListResponse::type_, + wire_transfers: Increase::Models::RoutingNumberListResponse::wire_transfers + } + type ach_transfers = :supported | :not_supported module ACHTransfers diff --git a/sig/increase/models/simulations/account_statement_create_params.rbs b/sig/increase/models/simulations/account_statement_create_params.rbs index 172904d66..d62d923d2 100644 --- a/sig/increase/models/simulations/account_statement_create_params.rbs +++ b/sig/increase/models/simulations/account_statement_create_params.rbs @@ -14,6 +14,11 @@ module Increase account_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/account_transfer_complete_params.rbs b/sig/increase/models/simulations/account_transfer_complete_params.rbs index d988a772e..8b4127568 100644 --- a/sig/increase/models/simulations/account_transfer_complete_params.rbs +++ b/sig/increase/models/simulations/account_transfer_complete_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs b/sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs index 6857279a2..d5411b261 100644 --- a/sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs +++ b/sig/increase/models/simulations/ach_transfer_acknowledge_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs b/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs index 1beff86b6..891205d80 100644 --- a/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs +++ b/sig/increase/models/simulations/ach_transfer_create_notification_of_change_params.rbs @@ -22,6 +22,12 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + change_code: Increase::Models::Simulations::ACHTransferCreateNotificationOfChangeParams::change_code, + corrected_data: String, + request_options: Increase::RequestOptions + } + type change_code = :incorrect_account_number | :incorrect_routing_number diff --git a/sig/increase/models/simulations/ach_transfer_return_params.rbs b/sig/increase/models/simulations/ach_transfer_return_params.rbs index 409053605..32f4f4c91 100644 --- a/sig/increase/models/simulations/ach_transfer_return_params.rbs +++ b/sig/increase/models/simulations/ach_transfer_return_params.rbs @@ -22,6 +22,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + reason: Increase::Models::Simulations::ACHTransferReturnParams::reason, + request_options: Increase::RequestOptions + } + type reason = :insufficient_fund | :no_account diff --git a/sig/increase/models/simulations/ach_transfer_settle_params.rbs b/sig/increase/models/simulations/ach_transfer_settle_params.rbs index b129778ce..95291eba1 100644 --- a/sig/increase/models/simulations/ach_transfer_settle_params.rbs +++ b/sig/increase/models/simulations/ach_transfer_settle_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/ach_transfer_submit_params.rbs b/sig/increase/models/simulations/ach_transfer_submit_params.rbs index 07050ca4b..de4b2bfa8 100644 --- a/sig/increase/models/simulations/ach_transfer_submit_params.rbs +++ b/sig/increase/models/simulations/ach_transfer_submit_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/card_authorization_create_params.rbs b/sig/increase/models/simulations/card_authorization_create_params.rbs index ff27b7fc7..512f685e7 100644 --- a/sig/increase/models/simulations/card_authorization_create_params.rbs +++ b/sig/increase/models/simulations/card_authorization_create_params.rbs @@ -120,6 +120,27 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + amount: Integer, + authenticated_card_payment_id: String, + card_id: String, + decline_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::decline_reason, + digital_wallet_token_id: String, + direction: Increase::Models::Simulations::CardAuthorizationCreateParams::direction, + event_subscription_id: String, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String, + merchant_country: String, + merchant_descriptor: String, + merchant_state: String, + network_details: Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails, + network_risk_score: Integer, + physical_card_id: String, + terminal_id: String, + request_options: Increase::RequestOptions + } + type decline_reason = :account_closed | :card_not_active @@ -226,22 +247,30 @@ module Increase visa: Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa ) -> void + def to_hash: -> { + visa: Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa + } + type visa = { - stand_in_processing_reason: Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason + stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason } class Visa < Increase::Internal::Type::BaseModel - attr_reader stand_in_processing_reason: Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason? + attr_reader stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason? def stand_in_processing_reason=: ( - Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason - ) -> Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason + Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason + ) -> Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason def initialize: ( - ?stand_in_processing_reason: Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason + ?stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason ) -> void + def to_hash: -> { + stand_in_processing_reason: Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason + } + type stand_in_processing_reason = :issuer_error | :invalid_physical_card @@ -275,7 +304,7 @@ module Increase # An unspecific reason for stand-in processing. OTHER: :other - def self?.values: -> ::Array[Increase::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason] + def self?.values: -> ::Array[Increase::Models::Simulations::CardAuthorizationCreateParams::NetworkDetails::Visa::stand_in_processing_reason] end end end diff --git a/sig/increase/models/simulations/card_authorization_create_response.rbs b/sig/increase/models/simulations/card_authorization_create_response.rbs index c911ac83a..52a5a6bfa 100644 --- a/sig/increase/models/simulations/card_authorization_create_response.rbs +++ b/sig/increase/models/simulations/card_authorization_create_response.rbs @@ -21,6 +21,12 @@ module Increase type: Increase::Models::Simulations::CardAuthorizationCreateResponse::type_ ) -> void + def to_hash: -> { + declined_transaction: Increase::DeclinedTransaction?, + pending_transaction: Increase::PendingTransaction?, + type: Increase::Models::Simulations::CardAuthorizationCreateResponse::type_ + } + type type_ = :inbound_card_authorization_simulation_result module Type diff --git a/sig/increase/models/simulations/card_authorization_expiration_create_params.rbs b/sig/increase/models/simulations/card_authorization_expiration_create_params.rbs index b78a16ebd..84d68f093 100644 --- a/sig/increase/models/simulations/card_authorization_expiration_create_params.rbs +++ b/sig/increase/models/simulations/card_authorization_expiration_create_params.rbs @@ -15,6 +15,11 @@ module Increase card_payment_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + card_payment_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/card_dispute_action_params.rbs b/sig/increase/models/simulations/card_dispute_action_params.rbs index b5e489288..b14664e41 100644 --- a/sig/increase/models/simulations/card_dispute_action_params.rbs +++ b/sig/increase/models/simulations/card_dispute_action_params.rbs @@ -24,6 +24,12 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + status: Increase::Models::Simulations::CardDisputeActionParams::status, + explanation: String, + request_options: Increase::RequestOptions + } + type status = :pending_user_information | :accepted | :rejected | :lost | :won diff --git a/sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs b/sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs index 4edaefaea..ad6010475 100644 --- a/sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs +++ b/sig/increase/models/simulations/card_fuel_confirmation_create_params.rbs @@ -18,6 +18,12 @@ module Increase card_payment_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + amount: Integer, + card_payment_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/card_increment_create_params.rbs b/sig/increase/models/simulations/card_increment_create_params.rbs index 7771c5973..c2d37ee34 100644 --- a/sig/increase/models/simulations/card_increment_create_params.rbs +++ b/sig/increase/models/simulations/card_increment_create_params.rbs @@ -27,6 +27,13 @@ module Increase ?event_subscription_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + amount: Integer, + card_payment_id: String, + event_subscription_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/card_refund_create_params.rbs b/sig/increase/models/simulations/card_refund_create_params.rbs index 0c9492407..34301fdd0 100644 --- a/sig/increase/models/simulations/card_refund_create_params.rbs +++ b/sig/increase/models/simulations/card_refund_create_params.rbs @@ -15,6 +15,11 @@ module Increase transaction_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + transaction_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/card_reversal_create_params.rbs b/sig/increase/models/simulations/card_reversal_create_params.rbs index 054da2992..0cc1f91cb 100644 --- a/sig/increase/models/simulations/card_reversal_create_params.rbs +++ b/sig/increase/models/simulations/card_reversal_create_params.rbs @@ -20,6 +20,12 @@ module Increase ?amount: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + card_payment_id: String, + amount: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/card_settlement_create_params.rbs b/sig/increase/models/simulations/card_settlement_create_params.rbs index e4523e7c9..0d23f3821 100644 --- a/sig/increase/models/simulations/card_settlement_create_params.rbs +++ b/sig/increase/models/simulations/card_settlement_create_params.rbs @@ -23,6 +23,13 @@ module Increase ?amount: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + card_id: String, + pending_transaction_id: String, + amount: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/check_deposit_reject_params.rbs b/sig/increase/models/simulations/check_deposit_reject_params.rbs index 809fb66a1..1957ab7f5 100644 --- a/sig/increase/models/simulations/check_deposit_reject_params.rbs +++ b/sig/increase/models/simulations/check_deposit_reject_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/check_deposit_return_params.rbs b/sig/increase/models/simulations/check_deposit_return_params.rbs index cad5fefb0..4ade5c62a 100644 --- a/sig/increase/models/simulations/check_deposit_return_params.rbs +++ b/sig/increase/models/simulations/check_deposit_return_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/check_deposit_submit_params.rbs b/sig/increase/models/simulations/check_deposit_submit_params.rbs index a53142dbd..93ec144a2 100644 --- a/sig/increase/models/simulations/check_deposit_submit_params.rbs +++ b/sig/increase/models/simulations/check_deposit_submit_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/check_transfer_mail_params.rbs b/sig/increase/models/simulations/check_transfer_mail_params.rbs index f63614065..81c3590cd 100644 --- a/sig/increase/models/simulations/check_transfer_mail_params.rbs +++ b/sig/increase/models/simulations/check_transfer_mail_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs b/sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs index a34e33bed..9dcee4cc5 100644 --- a/sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs +++ b/sig/increase/models/simulations/digital_wallet_token_request_create_params.rbs @@ -14,6 +14,11 @@ module Increase card_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + card_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs b/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs index 8e588fd3e..7c30a7c45 100644 --- a/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs +++ b/sig/increase/models/simulations/digital_wallet_token_request_create_response.rbs @@ -21,6 +21,12 @@ module Increase type: Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::type_ ) -> void + def to_hash: -> { + decline_reason: Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::decline_reason?, + digital_wallet_token_id: String?, + type: Increase::Models::Simulations::DigitalWalletTokenRequestCreateResponse::type_ + } + type decline_reason = :card_not_active | :no_verification_method diff --git a/sig/increase/models/simulations/document_create_params.rbs b/sig/increase/models/simulations/document_create_params.rbs index e453176fd..f99eff6c4 100644 --- a/sig/increase/models/simulations/document_create_params.rbs +++ b/sig/increase/models/simulations/document_create_params.rbs @@ -14,6 +14,11 @@ module Increase account_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs b/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs index 5ccf55e59..99e406e0c 100644 --- a/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs +++ b/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs @@ -78,6 +78,21 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_number_id: String, + amount: Integer, + company_descriptive_date: String, + company_discretionary_data: String, + company_entry_description: String, + company_id: String, + company_name: String, + receiver_id_number: String, + receiver_name: String, + resolve_at: Time, + standard_entry_class_code: Increase::Models::Simulations::InboundACHTransferCreateParams::standard_entry_class_code, + request_options: Increase::RequestOptions + } + type standard_entry_class_code = :corporate_credit_or_debit | :corporate_trade_exchange diff --git a/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs b/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs index ec09fb2c5..513869dcc 100644 --- a/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs +++ b/sig/increase/models/simulations/inbound_check_deposit_create_params.rbs @@ -21,6 +21,13 @@ module Increase check_number: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_number_id: String, + amount: Integer, + check_number: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/inbound_funds_hold_release_params.rbs b/sig/increase/models/simulations/inbound_funds_hold_release_params.rbs index 24a5fa4e9..9cbfbdb46 100644 --- a/sig/increase/models/simulations/inbound_funds_hold_release_params.rbs +++ b/sig/increase/models/simulations/inbound_funds_hold_release_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/inbound_funds_hold_release_response.rbs b/sig/increase/models/simulations/inbound_funds_hold_release_response.rbs index 75969495f..2a2fb54ed 100644 --- a/sig/increase/models/simulations/inbound_funds_hold_release_response.rbs +++ b/sig/increase/models/simulations/inbound_funds_hold_release_response.rbs @@ -49,6 +49,19 @@ module Increase type: Increase::Models::Simulations::InboundFundsHoldReleaseResponse::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + automatically_releases_at: Time, + created_at: Time, + currency: Increase::Models::Simulations::InboundFundsHoldReleaseResponse::currency, + held_transaction_id: String?, + pending_transaction_id: String?, + released_at: Time?, + status: Increase::Models::Simulations::InboundFundsHoldReleaseResponse::status, + type: Increase::Models::Simulations::InboundFundsHoldReleaseResponse::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency diff --git a/sig/increase/models/simulations/inbound_mail_item_create_params.rbs b/sig/increase/models/simulations/inbound_mail_item_create_params.rbs index e3caf337b..7faa58913 100644 --- a/sig/increase/models/simulations/inbound_mail_item_create_params.rbs +++ b/sig/increase/models/simulations/inbound_mail_item_create_params.rbs @@ -23,6 +23,13 @@ module Increase ?contents_file_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + amount: Integer, + lockbox_id: String, + contents_file_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs b/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs index 200f82ca1..cfa2bba03 100644 --- a/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs +++ b/sig/increase/models/simulations/inbound_real_time_payments_transfer_create_params.rbs @@ -51,6 +51,17 @@ module Increase ?request_for_payment_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_number_id: String, + amount: Integer, + debtor_account_number: String, + debtor_name: String, + debtor_routing_number: String, + remittance_information: String, + request_for_payment_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs b/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs index 461a6d05d..00e11d5ff 100644 --- a/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs +++ b/sig/increase/models/simulations/inbound_wire_drawdown_request_create_params.rbs @@ -117,6 +117,30 @@ module Increase ?originator_to_beneficiary_information_line4: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + amount: Integer, + beneficiary_account_number: String, + beneficiary_routing_number: String, + currency: String, + message_to_recipient: String, + originator_account_number: String, + originator_routing_number: String, + recipient_account_number_id: String, + :beneficiary_address_line1 => String, + :beneficiary_address_line2 => String, + :beneficiary_address_line3 => String, + beneficiary_name: String, + :originator_address_line1 => String, + :originator_address_line2 => String, + :originator_address_line3 => String, + originator_name: String, + :originator_to_beneficiary_information_line1 => String, + :originator_to_beneficiary_information_line2 => String, + :originator_to_beneficiary_information_line3 => String, + :originator_to_beneficiary_information_line4 => String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs b/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs index 8926604af..69e5baa75 100644 --- a/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs +++ b/sig/increase/models/simulations/inbound_wire_transfer_create_params.rbs @@ -111,6 +111,27 @@ module Increase ?sender_reference: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_number_id: String, + amount: Integer, + :beneficiary_address_line1 => String, + :beneficiary_address_line2 => String, + :beneficiary_address_line3 => String, + beneficiary_name: String, + beneficiary_reference: String, + :originator_address_line1 => String, + :originator_address_line2 => String, + :originator_address_line3 => String, + originator_name: String, + originator_routing_number: String, + :originator_to_beneficiary_information_line1 => String, + :originator_to_beneficiary_information_line2 => String, + :originator_to_beneficiary_information_line3 => String, + :originator_to_beneficiary_information_line4 => String, + sender_reference: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/interest_payment_create_params.rbs b/sig/increase/models/simulations/interest_payment_create_params.rbs index 8565bd569..6b85627ae 100644 --- a/sig/increase/models/simulations/interest_payment_create_params.rbs +++ b/sig/increase/models/simulations/interest_payment_create_params.rbs @@ -39,6 +39,15 @@ module Increase ?period_start: Time, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + amount: Integer, + accrued_on_account_id: String, + period_end: Time, + period_start: Time, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs b/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs index 0c8ba7efa..3fa576280 100644 --- a/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs +++ b/sig/increase/models/simulations/physical_card_advance_shipment_params.rbs @@ -18,6 +18,11 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + shipment_status: Increase::Models::Simulations::PhysicalCardAdvanceShipmentParams::shipment_status, + request_options: Increase::RequestOptions + } + type shipment_status = :pending | :canceled diff --git a/sig/increase/models/simulations/program_create_params.rbs b/sig/increase/models/simulations/program_create_params.rbs index a011f3836..c8047cf99 100644 --- a/sig/increase/models/simulations/program_create_params.rbs +++ b/sig/increase/models/simulations/program_create_params.rbs @@ -20,6 +20,12 @@ module Increase ?reserve_account_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + name: String, + reserve_account_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs b/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs index 5e3b1353c..97dca91c9 100644 --- a/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs +++ b/sig/increase/models/simulations/real_time_payments_transfer_complete_params.rbs @@ -22,18 +22,27 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + rejection: Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection, + request_options: Increase::RequestOptions + } + type rejection = { - reject_reason_code: Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code + reject_reason_code: Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code } class Rejection < Increase::Internal::Type::BaseModel - attr_accessor reject_reason_code: Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code + attr_accessor reject_reason_code: Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code def initialize: ( - reject_reason_code: Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code + reject_reason_code: Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code ) -> void + def to_hash: -> { + reject_reason_code: Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code + } + type reject_reason_code = :account_closed | :account_blocked @@ -123,7 +132,7 @@ module Increase # Some other error or issue has occurred. OTHER: :other - def self?.values: -> ::Array[Increase::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code] + def self?.values: -> ::Array[Increase::Models::Simulations::RealTimePaymentsTransferCompleteParams::Rejection::reject_reason_code] end end end diff --git a/sig/increase/models/simulations/wire_transfer_reverse_params.rbs b/sig/increase/models/simulations/wire_transfer_reverse_params.rbs index f087389b2..e69c08e83 100644 --- a/sig/increase/models/simulations/wire_transfer_reverse_params.rbs +++ b/sig/increase/models/simulations/wire_transfer_reverse_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/simulations/wire_transfer_submit_params.rbs b/sig/increase/models/simulations/wire_transfer_submit_params.rbs index 58ed61e14..f171f64db 100644 --- a/sig/increase/models/simulations/wire_transfer_submit_params.rbs +++ b/sig/increase/models/simulations/wire_transfer_submit_params.rbs @@ -9,6 +9,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/supplemental_document_create_params.rbs b/sig/increase/models/supplemental_document_create_params.rbs index c7960c2b7..a6c56cbf4 100644 --- a/sig/increase/models/supplemental_document_create_params.rbs +++ b/sig/increase/models/supplemental_document_create_params.rbs @@ -17,6 +17,12 @@ module Increase file_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + entity_id: String, + file_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/supplemental_document_list_params.rbs b/sig/increase/models/supplemental_document_list_params.rbs index 442c7ba55..421e9a567 100644 --- a/sig/increase/models/supplemental_document_list_params.rbs +++ b/sig/increase/models/supplemental_document_list_params.rbs @@ -34,6 +34,14 @@ module Increase ?limit: Integer, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + entity_id: String, + cursor: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/transaction.rbs b/sig/increase/models/transaction.rbs index 4a085a4a5..bedb9577d 100644 --- a/sig/increase/models/transaction.rbs +++ b/sig/increase/models/transaction.rbs @@ -6,12 +6,12 @@ module Increase account_id: String, amount: Integer, created_at: Time, - currency: Increase::Transaction::currency, + currency: Increase::Models::Transaction::currency, description: String, route_id: String?, - route_type: Increase::Transaction::route_type?, + route_type: Increase::Models::Transaction::route_type?, source: Increase::Transaction::Source, - type: Increase::Transaction::type_ + type: Increase::Models::Transaction::type_ } class Transaction < Increase::Internal::Type::BaseModel @@ -23,31 +23,44 @@ module Increase attr_accessor created_at: Time - attr_accessor currency: Increase::Transaction::currency + attr_accessor currency: Increase::Models::Transaction::currency attr_accessor description: String attr_accessor route_id: String? - attr_accessor route_type: Increase::Transaction::route_type? + attr_accessor route_type: Increase::Models::Transaction::route_type? attr_accessor source: Increase::Transaction::Source - attr_accessor type: Increase::Transaction::type_ + attr_accessor type: Increase::Models::Transaction::type_ def initialize: ( id: String, account_id: String, amount: Integer, created_at: Time, - currency: Increase::Transaction::currency, + currency: Increase::Models::Transaction::currency, description: String, route_id: String?, - route_type: Increase::Transaction::route_type?, + route_type: Increase::Models::Transaction::route_type?, source: Increase::Transaction::Source, - type: Increase::Transaction::type_ + type: Increase::Models::Transaction::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + amount: Integer, + created_at: Time, + currency: Increase::Models::Transaction::currency, + description: String, + route_id: String?, + route_type: Increase::Models::Transaction::route_type?, + source: Increase::Transaction::Source, + type: Increase::Models::Transaction::type_ + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -71,7 +84,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::currency] end type route_type = :account_number | :card | :lockbox @@ -88,7 +101,7 @@ module Increase # A Lockbox. LOCKBOX: :lockbox - def self?.values: -> ::Array[Increase::Transaction::route_type] + def self?.values: -> ::Array[Increase::Models::Transaction::route_type] end type source = @@ -103,7 +116,7 @@ module Increase card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?, card_settlement: Increase::Transaction::Source::CardSettlement?, cashback_payment: Increase::Transaction::Source::CashbackPayment?, - category: Increase::Transaction::Source::category, + category: Increase::Models::Transaction::Source::category, check_deposit_acceptance: Increase::Transaction::Source::CheckDepositAcceptance?, check_deposit_return: Increase::Transaction::Source::CheckDepositReturn?, check_transfer_deposit: Increase::Transaction::Source::CheckTransferDeposit?, @@ -148,7 +161,7 @@ module Increase attr_accessor cashback_payment: Increase::Transaction::Source::CashbackPayment? - attr_accessor category: Increase::Transaction::Source::category + attr_accessor category: Increase::Models::Transaction::Source::category attr_accessor check_deposit_acceptance: Increase::Transaction::Source::CheckDepositAcceptance? @@ -203,7 +216,7 @@ module Increase card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?, card_settlement: Increase::Transaction::Source::CardSettlement?, cashback_payment: Increase::Transaction::Source::CashbackPayment?, - category: Increase::Transaction::Source::category, + category: Increase::Models::Transaction::Source::category, check_deposit_acceptance: Increase::Transaction::Source::CheckDepositAcceptance?, check_deposit_return: Increase::Transaction::Source::CheckDepositReturn?, check_transfer_deposit: Increase::Transaction::Source::CheckTransferDeposit?, @@ -227,10 +240,45 @@ module Increase wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention? ) -> void + def to_hash: -> { + account_transfer_intention: Increase::Transaction::Source::AccountTransferIntention?, + ach_transfer_intention: Increase::Transaction::Source::ACHTransferIntention?, + ach_transfer_rejection: Increase::Transaction::Source::ACHTransferRejection?, + ach_transfer_return: Increase::Transaction::Source::ACHTransferReturn?, + card_dispute_acceptance: Increase::Transaction::Source::CardDisputeAcceptance?, + card_dispute_loss: Increase::Transaction::Source::CardDisputeLoss?, + card_refund: Increase::Transaction::Source::CardRefund?, + card_revenue_payment: Increase::Transaction::Source::CardRevenuePayment?, + card_settlement: Increase::Transaction::Source::CardSettlement?, + cashback_payment: Increase::Transaction::Source::CashbackPayment?, + category: Increase::Models::Transaction::Source::category, + check_deposit_acceptance: Increase::Transaction::Source::CheckDepositAcceptance?, + check_deposit_return: Increase::Transaction::Source::CheckDepositReturn?, + check_transfer_deposit: Increase::Transaction::Source::CheckTransferDeposit?, + fee_payment: Increase::Transaction::Source::FeePayment?, + inbound_ach_transfer: Increase::Transaction::Source::InboundACHTransfer?, + inbound_ach_transfer_return_intention: Increase::Transaction::Source::InboundACHTransferReturnIntention?, + inbound_check_adjustment: Increase::Transaction::Source::InboundCheckAdjustment?, + inbound_check_deposit_return_intention: Increase::Transaction::Source::InboundCheckDepositReturnIntention?, + inbound_real_time_payments_transfer_confirmation: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation?, + inbound_real_time_payments_transfer_decline: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline?, + inbound_wire_reversal: Increase::Transaction::Source::InboundWireReversal?, + inbound_wire_transfer: Increase::Transaction::Source::InboundWireTransfer?, + inbound_wire_transfer_reversal: Increase::Transaction::Source::InboundWireTransferReversal?, + interest_payment: Increase::Transaction::Source::InterestPayment?, + internal_source: Increase::Transaction::Source::InternalSource?, + other: top?, + outbound_card_push_transfer_acceptance: Increase::Transaction::Source::OutboundCardPushTransferAcceptance?, + real_time_payments_transfer_acknowledgement: Increase::Transaction::Source::RealTimePaymentsTransferAcknowledgement?, + sample_funds: Increase::Transaction::Source::SampleFunds?, + swift_transfer_intention: Increase::Transaction::Source::SwiftTransferIntention?, + wire_transfer_intention: Increase::Transaction::Source::WireTransferIntention? + } + type account_transfer_intention = { amount: Integer, - currency: Increase::Transaction::Source::AccountTransferIntention::currency, + currency: Increase::Models::Transaction::Source::AccountTransferIntention::currency, description: String, destination_account_id: String, source_account_id: String, @@ -240,7 +288,7 @@ module Increase class AccountTransferIntention < Increase::Internal::Type::BaseModel attr_accessor amount: Integer - attr_accessor currency: Increase::Transaction::Source::AccountTransferIntention::currency + attr_accessor currency: Increase::Models::Transaction::Source::AccountTransferIntention::currency attr_accessor description: String @@ -252,13 +300,22 @@ module Increase def initialize: ( amount: Integer, - currency: Increase::Transaction::Source::AccountTransferIntention::currency, + currency: Increase::Models::Transaction::Source::AccountTransferIntention::currency, description: String, destination_account_id: String, source_account_id: String, transfer_id: String ) -> void + def to_hash: -> { + amount: Integer, + currency: Increase::Models::Transaction::Source::AccountTransferIntention::currency, + description: String, + destination_account_id: String, + source_account_id: String, + transfer_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -282,7 +339,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::AccountTransferIntention::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::AccountTransferIntention::currency] end end @@ -313,6 +370,14 @@ module Increase statement_descriptor: String, transfer_id: String ) -> void + + def to_hash: -> { + account_number: String, + amount: Integer, + routing_number: String, + statement_descriptor: String, + transfer_id: String + } end type ach_transfer_rejection = { transfer_id: String } @@ -321,13 +386,15 @@ module Increase attr_accessor transfer_id: String def initialize: (transfer_id: String) -> void + + def to_hash: -> { transfer_id: String } end type ach_transfer_return = { created_at: Time, raw_return_reason_code: String, - return_reason_code: Increase::Transaction::Source::ACHTransferReturn::return_reason_code, + return_reason_code: Increase::Models::Transaction::Source::ACHTransferReturn::return_reason_code, trace_number: String, transaction_id: String, transfer_id: String @@ -338,7 +405,7 @@ module Increase attr_accessor raw_return_reason_code: String - attr_accessor return_reason_code: Increase::Transaction::Source::ACHTransferReturn::return_reason_code + attr_accessor return_reason_code: Increase::Models::Transaction::Source::ACHTransferReturn::return_reason_code attr_accessor trace_number: String @@ -349,12 +416,21 @@ module Increase def initialize: ( created_at: Time, raw_return_reason_code: String, - return_reason_code: Increase::Transaction::Source::ACHTransferReturn::return_reason_code, + return_reason_code: Increase::Models::Transaction::Source::ACHTransferReturn::return_reason_code, trace_number: String, transaction_id: String, transfer_id: String ) -> void + def to_hash: -> { + created_at: Time, + raw_return_reason_code: String, + return_reason_code: Increase::Models::Transaction::Source::ACHTransferReturn::return_reason_code, + trace_number: String, + transaction_id: String, + transfer_id: String + } + type return_reason_code = :insufficient_fund | :no_account @@ -640,7 +716,7 @@ module Increase # Code R68. A rare return reason. The return was sent too late. UNTIMELY_RETURN: :untimely_return - def self?.values: -> ::Array[Increase::Transaction::Source::ACHTransferReturn::return_reason_code] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::ACHTransferReturn::return_reason_code] end end @@ -659,6 +735,12 @@ module Increase card_dispute_id: String, transaction_id: String ) -> void + + def to_hash: -> { + accepted_at: Time, + card_dispute_id: String, + transaction_id: String + } end type card_dispute_loss = @@ -684,6 +766,13 @@ module Increase lost_at: Time, transaction_id: String ) -> void + + def to_hash: -> { + card_dispute_id: String, + explanation: String, + lost_at: Time, + transaction_id: String + } end type card_refund = @@ -692,7 +781,7 @@ module Increase amount: Integer, card_payment_id: String, cashback: Increase::Transaction::Source::CardRefund::Cashback?, - currency: Increase::Transaction::Source::CardRefund::currency, + currency: Increase::Models::Transaction::Source::CardRefund::currency, interchange: Increase::Transaction::Source::CardRefund::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -706,7 +795,7 @@ module Increase presentment_currency: String, purchase_details: Increase::Transaction::Source::CardRefund::PurchaseDetails?, transaction_id: String, - type: Increase::Transaction::Source::CardRefund::type_ + type: Increase::Models::Transaction::Source::CardRefund::type_ } class CardRefund < Increase::Internal::Type::BaseModel @@ -718,7 +807,7 @@ module Increase attr_accessor cashback: Increase::Transaction::Source::CardRefund::Cashback? - attr_accessor currency: Increase::Transaction::Source::CardRefund::currency + attr_accessor currency: Increase::Models::Transaction::Source::CardRefund::currency attr_accessor interchange: Increase::Transaction::Source::CardRefund::Interchange? @@ -746,14 +835,14 @@ module Increase attr_accessor transaction_id: String - attr_accessor type: Increase::Transaction::Source::CardRefund::type_ + attr_accessor type: Increase::Models::Transaction::Source::CardRefund::type_ def initialize: ( id: String, amount: Integer, card_payment_id: String, cashback: Increase::Transaction::Source::CardRefund::Cashback?, - currency: Increase::Transaction::Source::CardRefund::currency, + currency: Increase::Models::Transaction::Source::CardRefund::currency, interchange: Increase::Transaction::Source::CardRefund::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -767,25 +856,52 @@ module Increase presentment_currency: String, purchase_details: Increase::Transaction::Source::CardRefund::PurchaseDetails?, transaction_id: String, - type: Increase::Transaction::Source::CardRefund::type_ + type: Increase::Models::Transaction::Source::CardRefund::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + card_payment_id: String, + cashback: Increase::Transaction::Source::CardRefund::Cashback?, + currency: Increase::Models::Transaction::Source::CardRefund::currency, + interchange: Increase::Transaction::Source::CardRefund::Interchange?, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String, + merchant_country: String, + merchant_name: String, + merchant_postal_code: String?, + merchant_state: String?, + network_identifiers: Increase::Transaction::Source::CardRefund::NetworkIdentifiers, + presentment_amount: Integer, + presentment_currency: String, + purchase_details: Increase::Transaction::Source::CardRefund::PurchaseDetails?, + transaction_id: String, + type: Increase::Models::Transaction::Source::CardRefund::type_ + } + type cashback = { amount: String, - currency: Increase::Transaction::Source::CardRefund::Cashback::currency + currency: Increase::Models::Transaction::Source::CardRefund::Cashback::currency } class Cashback < Increase::Internal::Type::BaseModel attr_accessor amount: String - attr_accessor currency: Increase::Transaction::Source::CardRefund::Cashback::currency + attr_accessor currency: Increase::Models::Transaction::Source::CardRefund::Cashback::currency def initialize: ( amount: String, - currency: Increase::Transaction::Source::CardRefund::Cashback::currency + currency: Increase::Models::Transaction::Source::CardRefund::Cashback::currency ) -> void + def to_hash: -> { + amount: String, + currency: Increase::Models::Transaction::Source::CardRefund::Cashback::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -809,7 +925,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::Cashback::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::Cashback::currency] end end @@ -836,14 +952,14 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::currency] end type interchange = { amount: String, code: String?, - currency: Increase::Transaction::Source::CardRefund::Interchange::currency + currency: Increase::Models::Transaction::Source::CardRefund::Interchange::currency } class Interchange < Increase::Internal::Type::BaseModel @@ -851,14 +967,20 @@ module Increase attr_accessor code: String? - attr_accessor currency: Increase::Transaction::Source::CardRefund::Interchange::currency + attr_accessor currency: Increase::Models::Transaction::Source::CardRefund::Interchange::currency def initialize: ( amount: String, code: String?, - currency: Increase::Transaction::Source::CardRefund::Interchange::currency + currency: Increase::Models::Transaction::Source::CardRefund::Interchange::currency ) -> void + def to_hash: -> { + amount: String, + code: String?, + currency: Increase::Models::Transaction::Source::CardRefund::Interchange::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -882,7 +1004,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::Interchange::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::Interchange::currency] end end @@ -905,6 +1027,12 @@ module Increase acquirer_reference_number: String, transaction_id: String? ) -> void + + def to_hash: -> { + acquirer_business_id: String, + acquirer_reference_number: String, + transaction_id: String? + } end type purchase_details = @@ -917,7 +1045,7 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format?, travel: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel? } @@ -938,7 +1066,7 @@ module Increase attr_accessor purchase_identifier: String? - attr_accessor purchase_identifier_format: Increase::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format? + attr_accessor purchase_identifier_format: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format? attr_accessor travel: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel? @@ -951,10 +1079,23 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format?, travel: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel? ) -> void + def to_hash: -> { + car_rental: Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental?, + customer_reference_identifier: String?, + local_tax_amount: Integer?, + local_tax_currency: String?, + lodging: Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging?, + national_tax_amount: Integer?, + national_tax_currency: String?, + purchase_identifier: String?, + purchase_identifier_format: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format?, + travel: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel? + } + type car_rental = { car_class_code: String?, @@ -962,12 +1103,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -986,7 +1127,7 @@ module Increase attr_accessor days_rented: Integer? - attr_accessor extra_charges: Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges? + attr_accessor extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges? attr_accessor fuel_charges_amount: Integer? @@ -996,7 +1137,7 @@ module Increase attr_accessor insurance_charges_currency: String? - attr_accessor no_show_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator? attr_accessor one_way_drop_off_charges_amount: Integer? @@ -1014,12 +1155,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -1027,6 +1168,25 @@ module Increase weekly_rental_rate_currency: String? ) -> void + def to_hash: -> { + car_class_code: String?, + checkout_date: Date?, + daily_rental_rate_amount: Integer?, + daily_rental_rate_currency: String?, + days_rented: Integer?, + extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges?, + fuel_charges_amount: Integer?, + fuel_charges_currency: String?, + insurance_charges_amount: Integer?, + insurance_charges_currency: String?, + no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator?, + one_way_drop_off_charges_amount: Integer?, + one_way_drop_off_charges_currency: String?, + renter_name: String?, + weekly_rental_rate_amount: Integer?, + weekly_rental_rate_currency: String? + } + type extra_charges = :no_extra_charge | :gas @@ -1056,7 +1216,7 @@ module Increase # Parking violation PARKING_VIOLATION: :parking_violation - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::extra_charges] end type no_show_indicator = @@ -1071,7 +1231,7 @@ module Increase # No show for specialized vehicle NO_SHOW_FOR_SPECIALIZED_VEHICLE: :no_show_for_specialized_vehicle - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::CarRental::no_show_indicator] end end @@ -1080,12 +1240,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -1102,7 +1262,7 @@ module Increase attr_accessor daily_room_rate_currency: String? - attr_accessor extra_charges: Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges? + attr_accessor extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges? attr_accessor folio_cash_advances_amount: Integer? @@ -1112,7 +1272,7 @@ module Increase attr_accessor food_beverage_charges_currency: String? - attr_accessor no_show_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator? attr_accessor prepaid_expenses_amount: Integer? @@ -1132,12 +1292,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -1147,6 +1307,25 @@ module Increase total_tax_currency: String? ) -> void + def to_hash: -> { + check_in_date: Date?, + daily_room_rate_amount: Integer?, + daily_room_rate_currency: String?, + extra_charges: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges?, + folio_cash_advances_amount: Integer?, + folio_cash_advances_currency: String?, + food_beverage_charges_amount: Integer?, + food_beverage_charges_currency: String?, + no_show_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator?, + prepaid_expenses_amount: Integer?, + prepaid_expenses_currency: String?, + room_nights: Integer?, + total_room_tax_amount: Integer?, + total_room_tax_currency: String?, + total_tax_amount: Integer?, + total_tax_currency: String? + } + type extra_charges = :no_extra_charge | :restaurant @@ -1180,7 +1359,7 @@ module Increase # Laundry LAUNDRY: :laundry - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::extra_charges] end type no_show_indicator = :not_applicable | :no_show @@ -1194,7 +1373,7 @@ module Increase # No show NO_SHOW: :no_show - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Lodging::no_show_indicator] end end @@ -1223,19 +1402,19 @@ module Increase # Invoice number INVOICE_NUMBER: :invoice_number - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::purchase_identifier_format] end type travel = { ancillary: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, @@ -1247,7 +1426,7 @@ module Increase attr_accessor computerized_reservation_system: String? - attr_accessor credit_reason_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator? attr_accessor departure_date: Date? @@ -1255,9 +1434,9 @@ module Increase attr_accessor passenger_name: String? - attr_accessor restricted_ticket_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator? + attr_accessor restricted_ticket_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator? - attr_accessor ticket_change_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator? + attr_accessor ticket_change_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator? attr_accessor ticket_number: String? @@ -1270,22 +1449,37 @@ module Increase def initialize: ( ancillary: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, trip_legs: ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg]? ) -> void + def to_hash: -> { + ancillary: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary?, + computerized_reservation_system: String?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator?, + departure_date: Date?, + origination_city_airport_code: String?, + passenger_name: String?, + restricted_ticket_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator?, + ticket_number: String?, + travel_agency_code: String?, + travel_agency_name: String?, + trip_legs: ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg]? + } + type ancillary = { connected_ticket_document_number: String?, - credit_reason_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? @@ -1294,7 +1488,7 @@ module Increase class Ancillary < Increase::Internal::Type::BaseModel attr_accessor connected_ticket_document_number: String? - attr_accessor credit_reason_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? attr_accessor passenger_name_or_description: String? @@ -1304,12 +1498,20 @@ module Increase def initialize: ( connected_ticket_document_number: String?, - credit_reason_indicator: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? ) -> void + def to_hash: -> { + connected_ticket_document_number: String?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + passenger_name_or_description: String?, + services: ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service], + ticket_document_number: String? + } + type credit_reason_indicator = :no_credit | :passenger_transport_ancillary_purchase_cancellation @@ -1331,25 +1533,30 @@ module Increase # Other OTHER: :other - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] end type service = { - category: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? } class Service < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category? + attr_accessor category: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category? attr_accessor sub_category: String? def initialize: ( - category: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? ) -> void + def to_hash: -> { + category: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category?, + sub_category: String? + } + type category = :none | :bundled_service @@ -1451,7 +1658,7 @@ module Increase # Wi-fi WIFI: :wifi - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::category] end end end @@ -1485,7 +1692,7 @@ module Increase # Partial refund of airline ticket PARTIAL_REFUND_OF_AIRLINE_TICKET: :partial_refund_of_airline_ticket - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::credit_reason_indicator] end type restricted_ticket_indicator = @@ -1500,7 +1707,7 @@ module Increase # Restricted non-refundable ticket RESTRICTED_NON_REFUNDABLE_TICKET: :restricted_non_refundable_ticket - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::restricted_ticket_indicator] end type ticket_change_indicator = @@ -1518,7 +1725,7 @@ module Increase # New ticket NEW_TICKET: :new_ticket - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::ticket_change_indicator] end type trip_leg = @@ -1528,7 +1735,7 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? } class TripLeg < Increase::Internal::Type::BaseModel @@ -1542,7 +1749,7 @@ module Increase attr_accessor service_class: String? - attr_accessor stop_over_code: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + attr_accessor stop_over_code: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? def initialize: ( carrier_code: String?, @@ -1550,9 +1757,18 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? ) -> void + def to_hash: -> { + carrier_code: String?, + destination_city_airport_code: String?, + fare_basis_code: String?, + flight_number: String?, + service_class: String?, + stop_over_code: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code? + } + type stop_over_code = :none | :stop_over_allowed | :stop_over_not_allowed @@ -1568,7 +1784,7 @@ module Increase # Stop over not allowed STOP_OVER_NOT_ALLOWED: :stop_over_not_allowed - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::TripLeg::stop_over_code] end end end @@ -1581,14 +1797,14 @@ module Increase CARD_REFUND: :card_refund - def self?.values: -> ::Array[Increase::Transaction::Source::CardRefund::type_] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRefund::type_] end end type card_revenue_payment = { amount: Integer, - currency: Increase::Transaction::Source::CardRevenuePayment::currency, + currency: Increase::Models::Transaction::Source::CardRevenuePayment::currency, period_end: Time, period_start: Time, transacted_on_account_id: String? @@ -1597,7 +1813,7 @@ module Increase class CardRevenuePayment < Increase::Internal::Type::BaseModel attr_accessor amount: Integer - attr_accessor currency: Increase::Transaction::Source::CardRevenuePayment::currency + attr_accessor currency: Increase::Models::Transaction::Source::CardRevenuePayment::currency attr_accessor period_end: Time @@ -1607,12 +1823,20 @@ module Increase def initialize: ( amount: Integer, - currency: Increase::Transaction::Source::CardRevenuePayment::currency, + currency: Increase::Models::Transaction::Source::CardRevenuePayment::currency, period_end: Time, period_start: Time, transacted_on_account_id: String? ) -> void + def to_hash: -> { + amount: Integer, + currency: Increase::Models::Transaction::Source::CardRevenuePayment::currency, + period_end: Time, + period_start: Time, + transacted_on_account_id: String? + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -1636,7 +1860,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CardRevenuePayment::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardRevenuePayment::currency] end end @@ -1647,7 +1871,7 @@ module Increase card_authorization: String?, card_payment_id: String, cashback: Increase::Transaction::Source::CardSettlement::Cashback?, - currency: Increase::Transaction::Source::CardSettlement::currency, + currency: Increase::Models::Transaction::Source::CardSettlement::currency, interchange: Increase::Transaction::Source::CardSettlement::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -1662,7 +1886,7 @@ module Increase presentment_currency: String, purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?, transaction_id: String, - type: Increase::Transaction::Source::CardSettlement::type_ + type: Increase::Models::Transaction::Source::CardSettlement::type_ } class CardSettlement < Increase::Internal::Type::BaseModel @@ -1676,7 +1900,7 @@ module Increase attr_accessor cashback: Increase::Transaction::Source::CardSettlement::Cashback? - attr_accessor currency: Increase::Transaction::Source::CardSettlement::currency + attr_accessor currency: Increase::Models::Transaction::Source::CardSettlement::currency attr_accessor interchange: Increase::Transaction::Source::CardSettlement::Interchange? @@ -1706,7 +1930,7 @@ module Increase attr_accessor transaction_id: String - attr_accessor type: Increase::Transaction::Source::CardSettlement::type_ + attr_accessor type: Increase::Models::Transaction::Source::CardSettlement::type_ def initialize: ( id: String, @@ -1714,7 +1938,7 @@ module Increase card_authorization: String?, card_payment_id: String, cashback: Increase::Transaction::Source::CardSettlement::Cashback?, - currency: Increase::Transaction::Source::CardSettlement::currency, + currency: Increase::Models::Transaction::Source::CardSettlement::currency, interchange: Increase::Transaction::Source::CardSettlement::Interchange?, merchant_acceptor_id: String, merchant_category_code: String, @@ -1729,25 +1953,54 @@ module Increase presentment_currency: String, purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?, transaction_id: String, - type: Increase::Transaction::Source::CardSettlement::type_ + type: Increase::Models::Transaction::Source::CardSettlement::type_ ) -> void + def to_hash: -> { + id: String, + amount: Integer, + card_authorization: String?, + card_payment_id: String, + cashback: Increase::Transaction::Source::CardSettlement::Cashback?, + currency: Increase::Models::Transaction::Source::CardSettlement::currency, + interchange: Increase::Transaction::Source::CardSettlement::Interchange?, + merchant_acceptor_id: String, + merchant_category_code: String, + merchant_city: String, + merchant_country: String, + merchant_name: String, + merchant_postal_code: String?, + merchant_state: String?, + network_identifiers: Increase::Transaction::Source::CardSettlement::NetworkIdentifiers, + pending_transaction_id: String?, + presentment_amount: Integer, + presentment_currency: String, + purchase_details: Increase::Transaction::Source::CardSettlement::PurchaseDetails?, + transaction_id: String, + type: Increase::Models::Transaction::Source::CardSettlement::type_ + } + type cashback = { amount: String, - currency: Increase::Transaction::Source::CardSettlement::Cashback::currency + currency: Increase::Models::Transaction::Source::CardSettlement::Cashback::currency } class Cashback < Increase::Internal::Type::BaseModel attr_accessor amount: String - attr_accessor currency: Increase::Transaction::Source::CardSettlement::Cashback::currency + attr_accessor currency: Increase::Models::Transaction::Source::CardSettlement::Cashback::currency def initialize: ( amount: String, - currency: Increase::Transaction::Source::CardSettlement::Cashback::currency + currency: Increase::Models::Transaction::Source::CardSettlement::Cashback::currency ) -> void + def to_hash: -> { + amount: String, + currency: Increase::Models::Transaction::Source::CardSettlement::Cashback::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -1771,7 +2024,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::Cashback::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::Cashback::currency] end end @@ -1798,14 +2051,14 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::currency] end type interchange = { amount: String, code: String?, - currency: Increase::Transaction::Source::CardSettlement::Interchange::currency + currency: Increase::Models::Transaction::Source::CardSettlement::Interchange::currency } class Interchange < Increase::Internal::Type::BaseModel @@ -1813,14 +2066,20 @@ module Increase attr_accessor code: String? - attr_accessor currency: Increase::Transaction::Source::CardSettlement::Interchange::currency + attr_accessor currency: Increase::Models::Transaction::Source::CardSettlement::Interchange::currency def initialize: ( amount: String, code: String?, - currency: Increase::Transaction::Source::CardSettlement::Interchange::currency + currency: Increase::Models::Transaction::Source::CardSettlement::Interchange::currency ) -> void + def to_hash: -> { + amount: String, + code: String?, + currency: Increase::Models::Transaction::Source::CardSettlement::Interchange::currency + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -1844,7 +2103,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::Interchange::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::Interchange::currency] end end @@ -1867,6 +2126,12 @@ module Increase acquirer_reference_number: String, transaction_id: String? ) -> void + + def to_hash: -> { + acquirer_business_id: String, + acquirer_reference_number: String, + transaction_id: String? + } end type purchase_details = @@ -1879,7 +2144,7 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format?, travel: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel? } @@ -1900,7 +2165,7 @@ module Increase attr_accessor purchase_identifier: String? - attr_accessor purchase_identifier_format: Increase::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format? + attr_accessor purchase_identifier_format: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format? attr_accessor travel: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel? @@ -1913,10 +2178,23 @@ module Increase national_tax_amount: Integer?, national_tax_currency: String?, purchase_identifier: String?, - purchase_identifier_format: Increase::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format?, + purchase_identifier_format: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format?, travel: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel? ) -> void + def to_hash: -> { + car_rental: Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental?, + customer_reference_identifier: String?, + local_tax_amount: Integer?, + local_tax_currency: String?, + lodging: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging?, + national_tax_amount: Integer?, + national_tax_currency: String?, + purchase_identifier: String?, + purchase_identifier_format: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format?, + travel: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel? + } + type car_rental = { car_class_code: String?, @@ -1924,12 +2202,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -1948,7 +2226,7 @@ module Increase attr_accessor days_rented: Integer? - attr_accessor extra_charges: Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges? + attr_accessor extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges? attr_accessor fuel_charges_amount: Integer? @@ -1958,7 +2236,7 @@ module Increase attr_accessor insurance_charges_currency: String? - attr_accessor no_show_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator? attr_accessor one_way_drop_off_charges_amount: Integer? @@ -1976,12 +2254,12 @@ module Increase daily_rental_rate_amount: Integer?, daily_rental_rate_currency: String?, days_rented: Integer?, - extra_charges: Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges?, fuel_charges_amount: Integer?, fuel_charges_currency: String?, insurance_charges_amount: Integer?, insurance_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, one_way_drop_off_charges_amount: Integer?, one_way_drop_off_charges_currency: String?, renter_name: String?, @@ -1989,6 +2267,25 @@ module Increase weekly_rental_rate_currency: String? ) -> void + def to_hash: -> { + car_class_code: String?, + checkout_date: Date?, + daily_rental_rate_amount: Integer?, + daily_rental_rate_currency: String?, + days_rented: Integer?, + extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges?, + fuel_charges_amount: Integer?, + fuel_charges_currency: String?, + insurance_charges_amount: Integer?, + insurance_charges_currency: String?, + no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator?, + one_way_drop_off_charges_amount: Integer?, + one_way_drop_off_charges_currency: String?, + renter_name: String?, + weekly_rental_rate_amount: Integer?, + weekly_rental_rate_currency: String? + } + type extra_charges = :no_extra_charge | :gas @@ -2018,7 +2315,7 @@ module Increase # Parking violation PARKING_VIOLATION: :parking_violation - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::extra_charges] end type no_show_indicator = @@ -2033,7 +2330,7 @@ module Increase # No show for specialized vehicle NO_SHOW_FOR_SPECIALIZED_VEHICLE: :no_show_for_specialized_vehicle - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::CarRental::no_show_indicator] end end @@ -2042,12 +2339,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -2064,7 +2361,7 @@ module Increase attr_accessor daily_room_rate_currency: String? - attr_accessor extra_charges: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges? + attr_accessor extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges? attr_accessor folio_cash_advances_amount: Integer? @@ -2074,7 +2371,7 @@ module Increase attr_accessor food_beverage_charges_currency: String? - attr_accessor no_show_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator? + attr_accessor no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator? attr_accessor prepaid_expenses_amount: Integer? @@ -2094,12 +2391,12 @@ module Increase check_in_date: Date?, daily_room_rate_amount: Integer?, daily_room_rate_currency: String?, - extra_charges: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges?, + extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges?, folio_cash_advances_amount: Integer?, folio_cash_advances_currency: String?, food_beverage_charges_amount: Integer?, food_beverage_charges_currency: String?, - no_show_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, + no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, prepaid_expenses_amount: Integer?, prepaid_expenses_currency: String?, room_nights: Integer?, @@ -2109,6 +2406,25 @@ module Increase total_tax_currency: String? ) -> void + def to_hash: -> { + check_in_date: Date?, + daily_room_rate_amount: Integer?, + daily_room_rate_currency: String?, + extra_charges: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges?, + folio_cash_advances_amount: Integer?, + folio_cash_advances_currency: String?, + food_beverage_charges_amount: Integer?, + food_beverage_charges_currency: String?, + no_show_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator?, + prepaid_expenses_amount: Integer?, + prepaid_expenses_currency: String?, + room_nights: Integer?, + total_room_tax_amount: Integer?, + total_room_tax_currency: String?, + total_tax_amount: Integer?, + total_tax_currency: String? + } + type extra_charges = :no_extra_charge | :restaurant @@ -2142,7 +2458,7 @@ module Increase # Laundry LAUNDRY: :laundry - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::extra_charges] end type no_show_indicator = :not_applicable | :no_show @@ -2156,7 +2472,7 @@ module Increase # No show NO_SHOW: :no_show - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Lodging::no_show_indicator] end end @@ -2185,19 +2501,19 @@ module Increase # Invoice number INVOICE_NUMBER: :invoice_number - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::purchase_identifier_format] end type travel = { ancillary: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, @@ -2209,7 +2525,7 @@ module Increase attr_accessor computerized_reservation_system: String? - attr_accessor credit_reason_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator? attr_accessor departure_date: Date? @@ -2217,9 +2533,9 @@ module Increase attr_accessor passenger_name: String? - attr_accessor restricted_ticket_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator? + attr_accessor restricted_ticket_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator? - attr_accessor ticket_change_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator? + attr_accessor ticket_change_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator? attr_accessor ticket_number: String? @@ -2232,22 +2548,37 @@ module Increase def initialize: ( ancillary: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary?, computerized_reservation_system: String?, - credit_reason_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, departure_date: Date?, origination_city_airport_code: String?, passenger_name: String?, - restricted_ticket_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, - ticket_change_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, + restricted_ticket_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, ticket_number: String?, travel_agency_code: String?, travel_agency_name: String?, trip_legs: ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg]? ) -> void + def to_hash: -> { + ancillary: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary?, + computerized_reservation_system: String?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator?, + departure_date: Date?, + origination_city_airport_code: String?, + passenger_name: String?, + restricted_ticket_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator?, + ticket_change_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator?, + ticket_number: String?, + travel_agency_code: String?, + travel_agency_name: String?, + trip_legs: ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg]? + } + type ancillary = { connected_ticket_document_number: String?, - credit_reason_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? @@ -2256,7 +2587,7 @@ module Increase class Ancillary < Increase::Internal::Type::BaseModel attr_accessor connected_ticket_document_number: String? - attr_accessor credit_reason_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? + attr_accessor credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator? attr_accessor passenger_name_or_description: String? @@ -2266,12 +2597,20 @@ module Increase def initialize: ( connected_ticket_document_number: String?, - credit_reason_indicator: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, passenger_name_or_description: String?, services: ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service], ticket_document_number: String? ) -> void + def to_hash: -> { + connected_ticket_document_number: String?, + credit_reason_indicator: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator?, + passenger_name_or_description: String?, + services: ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service], + ticket_document_number: String? + } + type credit_reason_indicator = :no_credit | :passenger_transport_ancillary_purchase_cancellation @@ -2293,25 +2632,30 @@ module Increase # Other OTHER: :other - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::credit_reason_indicator] end type service = { - category: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? } class Service < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category? + attr_accessor category: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category? attr_accessor sub_category: String? def initialize: ( - category: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, + category: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, sub_category: String? ) -> void + def to_hash: -> { + category: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category?, + sub_category: String? + } + type category = :none | :bundled_service @@ -2413,7 +2757,7 @@ module Increase # Wi-fi WIFI: :wifi - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::Ancillary::Service::category] end end end @@ -2447,7 +2791,7 @@ module Increase # Partial refund of airline ticket PARTIAL_REFUND_OF_AIRLINE_TICKET: :partial_refund_of_airline_ticket - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::credit_reason_indicator] end type restricted_ticket_indicator = @@ -2462,7 +2806,7 @@ module Increase # Restricted non-refundable ticket RESTRICTED_NON_REFUNDABLE_TICKET: :restricted_non_refundable_ticket - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::restricted_ticket_indicator] end type ticket_change_indicator = @@ -2480,7 +2824,7 @@ module Increase # New ticket NEW_TICKET: :new_ticket - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::ticket_change_indicator] end type trip_leg = @@ -2490,7 +2834,7 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? } class TripLeg < Increase::Internal::Type::BaseModel @@ -2504,7 +2848,7 @@ module Increase attr_accessor service_class: String? - attr_accessor stop_over_code: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + attr_accessor stop_over_code: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? def initialize: ( carrier_code: String?, @@ -2512,9 +2856,18 @@ module Increase fare_basis_code: String?, flight_number: String?, service_class: String?, - stop_over_code: Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + stop_over_code: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? ) -> void + def to_hash: -> { + carrier_code: String?, + destination_city_airport_code: String?, + fare_basis_code: String?, + flight_number: String?, + service_class: String?, + stop_over_code: Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code? + } + type stop_over_code = :none | :stop_over_allowed | :stop_over_not_allowed @@ -2530,7 +2883,7 @@ module Increase # Stop over not allowed STOP_OVER_NOT_ALLOWED: :stop_over_not_allowed - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::PurchaseDetails::Travel::TripLeg::stop_over_code] end end end @@ -2543,7 +2896,7 @@ module Increase CARD_SETTLEMENT: :card_settlement - def self?.values: -> ::Array[Increase::Transaction::Source::CardSettlement::type_] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CardSettlement::type_] end end @@ -2551,7 +2904,7 @@ module Increase { accrued_on_card_id: String?, amount: Integer, - currency: Increase::Transaction::Source::CashbackPayment::currency, + currency: Increase::Models::Transaction::Source::CashbackPayment::currency, period_end: Time, period_start: Time } @@ -2561,7 +2914,7 @@ module Increase attr_accessor amount: Integer - attr_accessor currency: Increase::Transaction::Source::CashbackPayment::currency + attr_accessor currency: Increase::Models::Transaction::Source::CashbackPayment::currency attr_accessor period_end: Time @@ -2570,11 +2923,19 @@ module Increase def initialize: ( accrued_on_card_id: String?, amount: Integer, - currency: Increase::Transaction::Source::CashbackPayment::currency, + currency: Increase::Models::Transaction::Source::CashbackPayment::currency, period_end: Time, period_start: Time ) -> void + def to_hash: -> { + accrued_on_card_id: String?, + amount: Integer, + currency: Increase::Models::Transaction::Source::CashbackPayment::currency, + period_end: Time, + period_start: Time + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -2598,7 +2959,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CashbackPayment::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CashbackPayment::currency] end end @@ -2731,7 +3092,7 @@ module Increase # The Transaction was made for an undocumented or deprecated reason. OTHER: :other - def self?.values: -> ::Array[Increase::Transaction::Source::category] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::category] end type check_deposit_acceptance = @@ -2740,7 +3101,7 @@ module Increase amount: Integer, auxiliary_on_us: String?, check_deposit_id: String, - currency: Increase::Transaction::Source::CheckDepositAcceptance::currency, + currency: Increase::Models::Transaction::Source::CheckDepositAcceptance::currency, routing_number: String, serial_number: String? } @@ -2754,7 +3115,7 @@ module Increase attr_accessor check_deposit_id: String - attr_accessor currency: Increase::Transaction::Source::CheckDepositAcceptance::currency + attr_accessor currency: Increase::Models::Transaction::Source::CheckDepositAcceptance::currency attr_accessor routing_number: String @@ -2765,11 +3126,21 @@ module Increase amount: Integer, auxiliary_on_us: String?, check_deposit_id: String, - currency: Increase::Transaction::Source::CheckDepositAcceptance::currency, + currency: Increase::Models::Transaction::Source::CheckDepositAcceptance::currency, routing_number: String, serial_number: String? ) -> void + def to_hash: -> { + account_number: String, + amount: Integer, + auxiliary_on_us: String?, + check_deposit_id: String, + currency: Increase::Models::Transaction::Source::CheckDepositAcceptance::currency, + routing_number: String, + serial_number: String? + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -2793,7 +3164,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CheckDepositAcceptance::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CheckDepositAcceptance::currency] end end @@ -2801,8 +3172,8 @@ module Increase { amount: Integer, check_deposit_id: String, - currency: Increase::Transaction::Source::CheckDepositReturn::currency, - return_reason: Increase::Transaction::Source::CheckDepositReturn::return_reason, + currency: Increase::Models::Transaction::Source::CheckDepositReturn::currency, + return_reason: Increase::Models::Transaction::Source::CheckDepositReturn::return_reason, returned_at: Time, transaction_id: String } @@ -2812,9 +3183,9 @@ module Increase attr_accessor check_deposit_id: String - attr_accessor currency: Increase::Transaction::Source::CheckDepositReturn::currency + attr_accessor currency: Increase::Models::Transaction::Source::CheckDepositReturn::currency - attr_accessor return_reason: Increase::Transaction::Source::CheckDepositReturn::return_reason + attr_accessor return_reason: Increase::Models::Transaction::Source::CheckDepositReturn::return_reason attr_accessor returned_at: Time @@ -2823,12 +3194,21 @@ module Increase def initialize: ( amount: Integer, check_deposit_id: String, - currency: Increase::Transaction::Source::CheckDepositReturn::currency, - return_reason: Increase::Transaction::Source::CheckDepositReturn::return_reason, + currency: Increase::Models::Transaction::Source::CheckDepositReturn::currency, + return_reason: Increase::Models::Transaction::Source::CheckDepositReturn::return_reason, returned_at: Time, transaction_id: String ) -> void + def to_hash: -> { + amount: Integer, + check_deposit_id: String, + currency: Increase::Models::Transaction::Source::CheckDepositReturn::currency, + return_reason: Increase::Models::Transaction::Source::CheckDepositReturn::return_reason, + returned_at: Time, + transaction_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -2852,7 +3232,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::CheckDepositReturn::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CheckDepositReturn::currency] end type return_reason = @@ -2964,7 +3344,7 @@ module Increase # The bank sold this account and no longer services this customer. (Check21 return code `R`) BRANCH_OR_ACCOUNT_SOLD: :branch_or_account_sold - def self?.values: -> ::Array[Increase::Transaction::Source::CheckDepositReturn::return_reason] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CheckDepositReturn::return_reason] end end @@ -2977,7 +3357,7 @@ module Increase inbound_check_deposit_id: String?, transaction_id: String?, transfer_id: String?, - type: Increase::Transaction::Source::CheckTransferDeposit::type_ + type: Increase::Models::Transaction::Source::CheckTransferDeposit::type_ } class CheckTransferDeposit < Increase::Internal::Type::BaseModel @@ -2995,7 +3375,7 @@ module Increase attr_accessor transfer_id: String? - attr_accessor type: Increase::Transaction::Source::CheckTransferDeposit::type_ + attr_accessor type: Increase::Models::Transaction::Source::CheckTransferDeposit::type_ def initialize: ( back_image_file_id: String?, @@ -3005,9 +3385,20 @@ module Increase inbound_check_deposit_id: String?, transaction_id: String?, transfer_id: String?, - type: Increase::Transaction::Source::CheckTransferDeposit::type_ + type: Increase::Models::Transaction::Source::CheckTransferDeposit::type_ ) -> void + def to_hash: -> { + back_image_file_id: String?, + bank_of_first_deposit_routing_number: String?, + deposited_at: Time, + front_image_file_id: String?, + inbound_check_deposit_id: String?, + transaction_id: String?, + transfer_id: String?, + type: Increase::Models::Transaction::Source::CheckTransferDeposit::type_ + } + type type_ = :check_transfer_deposit module Type @@ -3015,14 +3406,14 @@ module Increase CHECK_TRANSFER_DEPOSIT: :check_transfer_deposit - def self?.values: -> ::Array[Increase::Transaction::Source::CheckTransferDeposit::type_] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::CheckTransferDeposit::type_] end end type fee_payment = { amount: Integer, - currency: Increase::Transaction::Source::FeePayment::currency, + currency: Increase::Models::Transaction::Source::FeePayment::currency, fee_period_start: Date, program_id: String? } @@ -3030,7 +3421,7 @@ module Increase class FeePayment < Increase::Internal::Type::BaseModel attr_accessor amount: Integer - attr_accessor currency: Increase::Transaction::Source::FeePayment::currency + attr_accessor currency: Increase::Models::Transaction::Source::FeePayment::currency attr_accessor fee_period_start: Date @@ -3038,11 +3429,18 @@ module Increase def initialize: ( amount: Integer, - currency: Increase::Transaction::Source::FeePayment::currency, + currency: Increase::Models::Transaction::Source::FeePayment::currency, fee_period_start: Date, program_id: String? ) -> void + def to_hash: -> { + amount: Integer, + currency: Increase::Models::Transaction::Source::FeePayment::currency, + fee_period_start: Date, + program_id: String? + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -3066,7 +3464,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::FeePayment::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::FeePayment::currency] end end @@ -3122,22 +3520,41 @@ module Increase transfer_id: String ) -> void + def to_hash: -> { + addenda: Increase::Transaction::Source::InboundACHTransfer::Addenda?, + amount: Integer, + originator_company_descriptive_date: String?, + originator_company_discretionary_data: String?, + originator_company_entry_description: String, + originator_company_id: String, + originator_company_name: String, + receiver_id_number: String?, + receiver_name: String?, + trace_number: String, + transfer_id: String + } + type addenda = { - category: Increase::Transaction::Source::InboundACHTransfer::Addenda::category, + category: Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::category, freeform: Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform? } class Addenda < Increase::Internal::Type::BaseModel - attr_accessor category: Increase::Transaction::Source::InboundACHTransfer::Addenda::category + attr_accessor category: Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::category attr_accessor freeform: Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform? def initialize: ( - category: Increase::Transaction::Source::InboundACHTransfer::Addenda::category, + category: Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::category, freeform: Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform? ) -> void + def to_hash: -> { + category: Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::category, + freeform: Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform? + } + type category = :freeform module Category @@ -3146,7 +3563,7 @@ module Increase # Unstructured addendum. FREEFORM: :freeform - def self?.values: -> ::Array[Increase::Transaction::Source::InboundACHTransfer::Addenda::category] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundACHTransfer::Addenda::category] end type freeform = @@ -3161,12 +3578,18 @@ module Increase entries: ::Array[Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform::Entry] ) -> void + def to_hash: -> { + entries: ::Array[Increase::Transaction::Source::InboundACHTransfer::Addenda::Freeform::Entry] + } + type entry = { payment_related_information: String } class Entry < Increase::Internal::Type::BaseModel attr_accessor payment_related_information: String def initialize: (payment_related_information: String) -> void + + def to_hash: -> { payment_related_information: String } end end end @@ -3179,13 +3602,15 @@ module Increase attr_accessor inbound_ach_transfer_id: String def initialize: (inbound_ach_transfer_id: String) -> void + + def to_hash: -> { inbound_ach_transfer_id: String } end type inbound_check_adjustment = { adjusted_transaction_id: String, amount: Integer, - reason: Increase::Transaction::Source::InboundCheckAdjustment::reason + reason: Increase::Models::Transaction::Source::InboundCheckAdjustment::reason } class InboundCheckAdjustment < Increase::Internal::Type::BaseModel @@ -3193,14 +3618,20 @@ module Increase attr_accessor amount: Integer - attr_accessor reason: Increase::Transaction::Source::InboundCheckAdjustment::reason + attr_accessor reason: Increase::Models::Transaction::Source::InboundCheckAdjustment::reason def initialize: ( adjusted_transaction_id: String, amount: Integer, - reason: Increase::Transaction::Source::InboundCheckAdjustment::reason + reason: Increase::Models::Transaction::Source::InboundCheckAdjustment::reason ) -> void + def to_hash: -> { + adjusted_transaction_id: String, + amount: Integer, + reason: Increase::Models::Transaction::Source::InboundCheckAdjustment::reason + } + type reason = :late_return | :wrong_payee_credit @@ -3222,7 +3653,7 @@ module Increase # The recipient was not able to process the check. This usually happens for e.g., low quality images. NON_CONFORMING_ITEM: :non_conforming_item - def self?.values: -> ::Array[Increase::Transaction::Source::InboundCheckAdjustment::reason] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundCheckAdjustment::reason] end end @@ -3238,13 +3669,18 @@ module Increase inbound_check_deposit_id: String, transfer_id: String? ) -> void + + def to_hash: -> { + inbound_check_deposit_id: String, + transfer_id: String? + } end type inbound_real_time_payments_transfer_confirmation = { amount: Integer, creditor_name: String, - currency: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency, + currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, @@ -3258,7 +3694,7 @@ module Increase attr_accessor creditor_name: String - attr_accessor currency: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency + attr_accessor currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency attr_accessor debtor_account_number: String @@ -3275,7 +3711,7 @@ module Increase def initialize: ( amount: Integer, creditor_name: String, - currency: Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency, + currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, @@ -3284,6 +3720,18 @@ module Increase transfer_id: String ) -> void + def to_hash: -> { + amount: Integer, + creditor_name: String, + currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency, + debtor_account_number: String, + debtor_name: String, + debtor_routing_number: String, + remittance_information: String?, + transaction_identification: String, + transfer_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -3307,7 +3755,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferConfirmation::currency] end end @@ -3315,11 +3763,11 @@ module Increase { amount: Integer, creditor_name: String, - currency: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, + currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, - reason: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, + reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, remittance_information: String?, transaction_identification: String, transfer_id: String @@ -3330,7 +3778,7 @@ module Increase attr_accessor creditor_name: String - attr_accessor currency: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency + attr_accessor currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency attr_accessor debtor_account_number: String @@ -3338,7 +3786,7 @@ module Increase attr_accessor debtor_routing_number: String - attr_accessor reason: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason + attr_accessor reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason attr_accessor remittance_information: String? @@ -3349,16 +3797,29 @@ module Increase def initialize: ( amount: Integer, creditor_name: String, - currency: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, + currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, debtor_account_number: String, debtor_name: String, debtor_routing_number: String, - reason: Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, + reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, remittance_information: String?, transaction_identification: String, transfer_id: String ) -> void + def to_hash: -> { + amount: Integer, + creditor_name: String, + currency: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency, + debtor_account_number: String, + debtor_name: String, + debtor_routing_number: String, + reason: Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason, + remittance_information: String?, + transaction_identification: String, + transfer_id: String + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -3382,7 +3843,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::currency] end type reason = @@ -3414,7 +3875,7 @@ module Increase # Your account is not enabled to receive Real-Time Payments transfers. REAL_TIME_PAYMENTS_NOT_ENABLED: :real_time_payments_not_enabled - def self?.values: -> ::Array[Increase::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InboundRealTimePaymentsTransferDecline::reason] end end @@ -3493,6 +3954,26 @@ module Increase transaction_id: String, wire_transfer_id: String ) -> void + + def to_hash: -> { + amount: Integer, + created_at: Time, + description: String, + financial_institution_to_financial_institution_information: String?, + input_cycle_date: Date, + input_message_accountability_data: String, + input_sequence_number: String, + input_source: String, + originator_routing_number: String?, + previous_message_input_cycle_date: Date, + previous_message_input_message_accountability_data: String, + previous_message_input_sequence_number: String, + previous_message_input_source: String, + receiver_financial_institution_information: String?, + sender_reference: String?, + transaction_id: String, + wire_transfer_id: String + } end type inbound_wire_transfer = @@ -3578,6 +4059,28 @@ module Increase originator_to_beneficiary_information_line4: String?, transfer_id: String ) -> void + + def to_hash: -> { + amount: Integer, + :beneficiary_address_line1 => String?, + :beneficiary_address_line2 => String?, + :beneficiary_address_line3 => String?, + beneficiary_name: String?, + beneficiary_reference: String?, + description: String, + input_message_accountability_data: String?, + :originator_address_line1 => String?, + :originator_address_line2 => String?, + :originator_address_line3 => String?, + originator_name: String?, + originator_routing_number: String?, + originator_to_beneficiary_information: String?, + :originator_to_beneficiary_information_line1 => String?, + :originator_to_beneficiary_information_line2 => String?, + :originator_to_beneficiary_information_line3 => String?, + :originator_to_beneficiary_information_line4 => String?, + transfer_id: String + } end type inbound_wire_transfer_reversal = @@ -3587,13 +4090,15 @@ module Increase attr_accessor inbound_wire_transfer_id: String def initialize: (inbound_wire_transfer_id: String) -> void + + def to_hash: -> { inbound_wire_transfer_id: String } end type interest_payment = { accrued_on_account_id: String, amount: Integer, - currency: Increase::Transaction::Source::InterestPayment::currency, + currency: Increase::Models::Transaction::Source::InterestPayment::currency, period_end: Time, period_start: Time } @@ -3603,7 +4108,7 @@ module Increase attr_accessor amount: Integer - attr_accessor currency: Increase::Transaction::Source::InterestPayment::currency + attr_accessor currency: Increase::Models::Transaction::Source::InterestPayment::currency attr_accessor period_end: Time @@ -3612,11 +4117,19 @@ module Increase def initialize: ( accrued_on_account_id: String, amount: Integer, - currency: Increase::Transaction::Source::InterestPayment::currency, + currency: Increase::Models::Transaction::Source::InterestPayment::currency, period_end: Time, period_start: Time ) -> void + def to_hash: -> { + accrued_on_account_id: String, + amount: Integer, + currency: Increase::Models::Transaction::Source::InterestPayment::currency, + period_end: Time, + period_start: Time + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -3640,30 +4153,36 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::InterestPayment::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InterestPayment::currency] end end type internal_source = { amount: Integer, - currency: Increase::Transaction::Source::InternalSource::currency, - reason: Increase::Transaction::Source::InternalSource::reason + currency: Increase::Models::Transaction::Source::InternalSource::currency, + reason: Increase::Models::Transaction::Source::InternalSource::reason } class InternalSource < Increase::Internal::Type::BaseModel attr_accessor amount: Integer - attr_accessor currency: Increase::Transaction::Source::InternalSource::currency + attr_accessor currency: Increase::Models::Transaction::Source::InternalSource::currency - attr_accessor reason: Increase::Transaction::Source::InternalSource::reason + attr_accessor reason: Increase::Models::Transaction::Source::InternalSource::reason def initialize: ( amount: Integer, - currency: Increase::Transaction::Source::InternalSource::currency, - reason: Increase::Transaction::Source::InternalSource::reason + currency: Increase::Models::Transaction::Source::InternalSource::currency, + reason: Increase::Models::Transaction::Source::InternalSource::reason ) -> void + def to_hash: -> { + amount: Integer, + currency: Increase::Models::Transaction::Source::InternalSource::currency, + reason: Increase::Models::Transaction::Source::InternalSource::reason + } + type currency = :CAD | :CHF | :EUR | :GBP | :JPY | :USD module Currency @@ -3687,7 +4206,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::Transaction::Source::InternalSource::currency] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InternalSource::currency] end type reason = @@ -3755,7 +4274,7 @@ module Increase # Sample funds return SAMPLE_FUNDS_RETURN: :sample_funds_return - def self?.values: -> ::Array[Increase::Transaction::Source::InternalSource::reason] + def self?.values: -> ::Array[Increase::Models::Transaction::Source::InternalSource::reason] end end @@ -3768,6 +4287,8 @@ module Increase attr_accessor transfer_id: String def initialize: (amount: Integer, transfer_id: String) -> void + + def to_hash: -> { amount: Integer, transfer_id: String } end type real_time_payments_transfer_acknowledgement = @@ -3797,6 +4318,14 @@ module Increase remittance_information: String, transfer_id: String ) -> void + + def to_hash: -> { + amount: Integer, + destination_account_number: String, + destination_routing_number: String, + remittance_information: String, + transfer_id: String + } end type sample_funds = { originator: String } @@ -3805,6 +4334,8 @@ module Increase attr_accessor originator: String def initialize: (originator: String) -> void + + def to_hash: -> { originator: String } end type swift_transfer_intention = { transfer_id: String } @@ -3813,6 +4344,8 @@ module Increase attr_accessor transfer_id: String def initialize: (transfer_id: String) -> void + + def to_hash: -> { transfer_id: String } end type wire_transfer_intention = @@ -3842,6 +4375,14 @@ module Increase routing_number: String, transfer_id: String ) -> void + + def to_hash: -> { + account_number: String, + amount: Integer, + message_to_recipient: String, + routing_number: String, + transfer_id: String + } end end @@ -3852,7 +4393,7 @@ module Increase TRANSACTION: :transaction - def self?.values: -> ::Array[Increase::Transaction::type_] + def self?.values: -> ::Array[Increase::Models::Transaction::type_] end end end diff --git a/sig/increase/models/transaction_list_params.rbs b/sig/increase/models/transaction_list_params.rbs index bdbb51bb8..b6f20303b 100644 --- a/sig/increase/models/transaction_list_params.rbs +++ b/sig/increase/models/transaction_list_params.rbs @@ -53,20 +53,34 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + category: Increase::TransactionListParams::Category, + created_at: Increase::TransactionListParams::CreatedAt, + cursor: String, + limit: Integer, + route_id: String, + request_options: Increase::RequestOptions + } + type category = - { in_: ::Array[Increase::TransactionListParams::Category::in_] } + { in_: ::Array[Increase::Models::TransactionListParams::Category::in_] } class Category < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::TransactionListParams::Category::in_]? + attr_reader in_: ::Array[Increase::Models::TransactionListParams::Category::in_]? def in_=: ( - ::Array[Increase::TransactionListParams::Category::in_] - ) -> ::Array[Increase::TransactionListParams::Category::in_] + ::Array[Increase::Models::TransactionListParams::Category::in_] + ) -> ::Array[Increase::Models::TransactionListParams::Category::in_] def initialize: ( - ?in_: ::Array[Increase::TransactionListParams::Category::in_] + ?in_: ::Array[Increase::Models::TransactionListParams::Category::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::TransactionListParams::Category::in_] + } + type in_ = :account_transfer_intention | :ach_transfer_intention @@ -196,7 +210,7 @@ module Increase # The Transaction was made for an undocumented or deprecated reason. OTHER: :other - def self?.values: -> ::Array[Increase::TransactionListParams::Category::in_] + def self?.values: -> ::Array[Increase::Models::TransactionListParams::Category::in_] end end @@ -226,6 +240,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/transaction_retrieve_params.rbs b/sig/increase/models/transaction_retrieve_params.rbs index 8a18bd6e0..dc807d775 100644 --- a/sig/increase/models/transaction_retrieve_params.rbs +++ b/sig/increase/models/transaction_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/wire_drawdown_request.rbs b/sig/increase/models/wire_drawdown_request.rbs index 9e218bdd4..8a8d5a7d1 100644 --- a/sig/increase/models/wire_drawdown_request.rbs +++ b/sig/increase/models/wire_drawdown_request.rbs @@ -20,9 +20,9 @@ module Increase :recipient_address_line3 => String?, recipient_name: String?, recipient_routing_number: String, - status: Increase::WireDrawdownRequest::status, + status: Increase::Models::WireDrawdownRequest::status, submission: Increase::WireDrawdownRequest::Submission?, - type: Increase::WireDrawdownRequest::type_ + type: Increase::Models::WireDrawdownRequest::type_ } class WireDrawdownRequest < Increase::Internal::Type::BaseModel @@ -62,11 +62,11 @@ module Increase attr_accessor recipient_routing_number: String - attr_accessor status: Increase::WireDrawdownRequest::status + attr_accessor status: Increase::Models::WireDrawdownRequest::status attr_accessor submission: Increase::WireDrawdownRequest::Submission? - attr_accessor type: Increase::WireDrawdownRequest::type_ + attr_accessor type: Increase::Models::WireDrawdownRequest::type_ def initialize: ( id: String, @@ -87,11 +87,35 @@ module Increase recipient_address_line3: String?, recipient_name: String?, recipient_routing_number: String, - status: Increase::WireDrawdownRequest::status, + status: Increase::Models::WireDrawdownRequest::status, submission: Increase::WireDrawdownRequest::Submission?, - type: Increase::WireDrawdownRequest::type_ + type: Increase::Models::WireDrawdownRequest::type_ ) -> void + def to_hash: -> { + id: String, + account_number_id: String, + amount: Integer, + created_at: Time, + currency: String, + fulfillment_inbound_wire_transfer_id: String?, + idempotency_key: String?, + message_to_recipient: String, + :originator_address_line1 => String?, + :originator_address_line2 => String?, + :originator_address_line3 => String?, + originator_name: String?, + recipient_account_number: String, + :recipient_address_line1 => String?, + :recipient_address_line2 => String?, + :recipient_address_line3 => String?, + recipient_name: String?, + recipient_routing_number: String, + status: Increase::Models::WireDrawdownRequest::status, + submission: Increase::WireDrawdownRequest::Submission?, + type: Increase::Models::WireDrawdownRequest::type_ + } + type status = :pending_submission | :pending_response | :fulfilled | :refused @@ -110,7 +134,7 @@ module Increase # The drawdown request has been refused by the recipient. REFUSED: :refused - def self?.values: -> ::Array[Increase::WireDrawdownRequest::status] + def self?.values: -> ::Array[Increase::Models::WireDrawdownRequest::status] end type submission = { input_message_accountability_data: String } @@ -119,6 +143,8 @@ module Increase attr_accessor input_message_accountability_data: String def initialize: (input_message_accountability_data: String) -> void + + def to_hash: -> { input_message_accountability_data: String } end type type_ = :wire_drawdown_request @@ -128,7 +154,7 @@ module Increase WIRE_DRAWDOWN_REQUEST: :wire_drawdown_request - def self?.values: -> ::Array[Increase::WireDrawdownRequest::type_] + def self?.values: -> ::Array[Increase::Models::WireDrawdownRequest::type_] end end end diff --git a/sig/increase/models/wire_drawdown_request_create_params.rbs b/sig/increase/models/wire_drawdown_request_create_params.rbs index c66a75499..5acbf7db9 100644 --- a/sig/increase/models/wire_drawdown_request_create_params.rbs +++ b/sig/increase/models/wire_drawdown_request_create_params.rbs @@ -78,6 +78,23 @@ module Increase ?recipient_address_line3: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_number_id: String, + amount: Integer, + message_to_recipient: String, + recipient_account_number: String, + recipient_name: String, + recipient_routing_number: String, + :originator_address_line1 => String, + :originator_address_line2 => String, + :originator_address_line3 => String, + originator_name: String, + :recipient_address_line1 => String, + :recipient_address_line2 => String, + :recipient_address_line3 => String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/wire_drawdown_request_list_params.rbs b/sig/increase/models/wire_drawdown_request_list_params.rbs index 9eddf166b..8ae19a542 100644 --- a/sig/increase/models/wire_drawdown_request_list_params.rbs +++ b/sig/increase/models/wire_drawdown_request_list_params.rbs @@ -39,20 +39,34 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + cursor: String, + idempotency_key: String, + limit: Integer, + status: Increase::WireDrawdownRequestListParams::Status, + request_options: Increase::RequestOptions + } + type status = - { in_: ::Array[Increase::WireDrawdownRequestListParams::Status::in_] } + { + in_: ::Array[Increase::Models::WireDrawdownRequestListParams::Status::in_] + } class Status < Increase::Internal::Type::BaseModel - attr_reader in_: ::Array[Increase::WireDrawdownRequestListParams::Status::in_]? + attr_reader in_: ::Array[Increase::Models::WireDrawdownRequestListParams::Status::in_]? def in_=: ( - ::Array[Increase::WireDrawdownRequestListParams::Status::in_] - ) -> ::Array[Increase::WireDrawdownRequestListParams::Status::in_] + ::Array[Increase::Models::WireDrawdownRequestListParams::Status::in_] + ) -> ::Array[Increase::Models::WireDrawdownRequestListParams::Status::in_] def initialize: ( - ?in_: ::Array[Increase::WireDrawdownRequestListParams::Status::in_] + ?in_: ::Array[Increase::Models::WireDrawdownRequestListParams::Status::in_] ) -> void + def to_hash: -> { + in_: ::Array[Increase::Models::WireDrawdownRequestListParams::Status::in_] + } + type in_ = :pending_submission | :pending_response | :fulfilled | :refused @@ -71,7 +85,7 @@ module Increase # The drawdown request has been refused by the recipient. REFUSED: :refused - def self?.values: -> ::Array[Increase::WireDrawdownRequestListParams::Status::in_] + def self?.values: -> ::Array[Increase::Models::WireDrawdownRequestListParams::Status::in_] end end end diff --git a/sig/increase/models/wire_drawdown_request_retrieve_params.rbs b/sig/increase/models/wire_drawdown_request_retrieve_params.rbs index e92bccf90..911092331 100644 --- a/sig/increase/models/wire_drawdown_request_retrieve_params.rbs +++ b/sig/increase/models/wire_drawdown_request_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/wire_transfer.rbs b/sig/increase/models/wire_transfer.rbs index c076952c4..9ad40117f 100644 --- a/sig/increase/models/wire_transfer.rbs +++ b/sig/increase/models/wire_transfer.rbs @@ -14,11 +14,11 @@ module Increase cancellation: Increase::WireTransfer::Cancellation?, created_at: Time, created_by: Increase::WireTransfer::CreatedBy?, - currency: Increase::WireTransfer::currency, + currency: Increase::Models::WireTransfer::currency, external_account_id: String?, idempotency_key: String?, message_to_recipient: String?, - network: Increase::WireTransfer::network, + network: Increase::Models::WireTransfer::network, :originator_address_line1 => String?, :originator_address_line2 => String?, :originator_address_line3 => String?, @@ -27,10 +27,10 @@ module Increase reversal: Increase::WireTransfer::Reversal?, routing_number: String, source_account_number_id: String?, - status: Increase::WireTransfer::status, + status: Increase::Models::WireTransfer::status, submission: Increase::WireTransfer::Submission?, transaction_id: String?, - type: Increase::WireTransfer::type_ + type: Increase::Models::WireTransfer::type_ } class WireTransfer < Increase::Internal::Type::BaseModel @@ -58,7 +58,7 @@ module Increase attr_accessor created_by: Increase::WireTransfer::CreatedBy? - attr_accessor currency: Increase::WireTransfer::currency + attr_accessor currency: Increase::Models::WireTransfer::currency attr_accessor external_account_id: String? @@ -66,7 +66,7 @@ module Increase attr_accessor message_to_recipient: String? - attr_accessor network: Increase::WireTransfer::network + attr_accessor network: Increase::Models::WireTransfer::network attr_accessor originator_address_line1: String? @@ -84,13 +84,13 @@ module Increase attr_accessor source_account_number_id: String? - attr_accessor status: Increase::WireTransfer::status + attr_accessor status: Increase::Models::WireTransfer::status attr_accessor submission: Increase::WireTransfer::Submission? attr_accessor transaction_id: String? - attr_accessor type: Increase::WireTransfer::type_ + attr_accessor type: Increase::Models::WireTransfer::type_ def initialize: ( id: String, @@ -105,11 +105,11 @@ module Increase cancellation: Increase::WireTransfer::Cancellation?, created_at: Time, created_by: Increase::WireTransfer::CreatedBy?, - currency: Increase::WireTransfer::currency, + currency: Increase::Models::WireTransfer::currency, external_account_id: String?, idempotency_key: String?, message_to_recipient: String?, - network: Increase::WireTransfer::network, + network: Increase::Models::WireTransfer::network, originator_address_line1: String?, originator_address_line2: String?, originator_address_line3: String?, @@ -118,12 +118,44 @@ module Increase reversal: Increase::WireTransfer::Reversal?, routing_number: String, source_account_number_id: String?, - status: Increase::WireTransfer::status, + status: Increase::Models::WireTransfer::status, submission: Increase::WireTransfer::Submission?, transaction_id: String?, - type: Increase::WireTransfer::type_ + type: Increase::Models::WireTransfer::type_ ) -> void + def to_hash: -> { + id: String, + account_id: String, + account_number: String, + amount: Integer, + approval: Increase::WireTransfer::Approval?, + :beneficiary_address_line1 => String?, + :beneficiary_address_line2 => String?, + :beneficiary_address_line3 => String?, + beneficiary_name: String?, + cancellation: Increase::WireTransfer::Cancellation?, + created_at: Time, + created_by: Increase::WireTransfer::CreatedBy?, + currency: Increase::Models::WireTransfer::currency, + external_account_id: String?, + idempotency_key: String?, + message_to_recipient: String?, + network: Increase::Models::WireTransfer::network, + :originator_address_line1 => String?, + :originator_address_line2 => String?, + :originator_address_line3 => String?, + originator_name: String?, + pending_transaction_id: String?, + reversal: Increase::WireTransfer::Reversal?, + routing_number: String, + source_account_number_id: String?, + status: Increase::Models::WireTransfer::status, + submission: Increase::WireTransfer::Submission?, + transaction_id: String?, + type: Increase::Models::WireTransfer::type_ + } + type approval = { approved_at: Time, approved_by: String? } class Approval < Increase::Internal::Type::BaseModel @@ -132,6 +164,8 @@ module Increase attr_accessor approved_by: String? def initialize: (approved_at: Time, approved_by: String?) -> void + + def to_hash: -> { approved_at: Time, approved_by: String? } end type cancellation = { canceled_at: Time, canceled_by: String? } @@ -142,12 +176,14 @@ module Increase attr_accessor canceled_by: String? def initialize: (canceled_at: Time, canceled_by: String?) -> void + + def to_hash: -> { canceled_at: Time, canceled_by: String? } end type created_by = { api_key: Increase::WireTransfer::CreatedBy::APIKey?, - category: Increase::WireTransfer::CreatedBy::category, + category: Increase::Models::WireTransfer::CreatedBy::category, oauth_application: Increase::WireTransfer::CreatedBy::OAuthApplication?, user: Increase::WireTransfer::CreatedBy::User? } @@ -155,7 +191,7 @@ module Increase class CreatedBy < Increase::Internal::Type::BaseModel attr_accessor api_key: Increase::WireTransfer::CreatedBy::APIKey? - attr_accessor category: Increase::WireTransfer::CreatedBy::category + attr_accessor category: Increase::Models::WireTransfer::CreatedBy::category attr_accessor oauth_application: Increase::WireTransfer::CreatedBy::OAuthApplication? @@ -163,17 +199,26 @@ module Increase def initialize: ( api_key: Increase::WireTransfer::CreatedBy::APIKey?, - category: Increase::WireTransfer::CreatedBy::category, + category: Increase::Models::WireTransfer::CreatedBy::category, oauth_application: Increase::WireTransfer::CreatedBy::OAuthApplication?, user: Increase::WireTransfer::CreatedBy::User? ) -> void + def to_hash: -> { + api_key: Increase::WireTransfer::CreatedBy::APIKey?, + category: Increase::Models::WireTransfer::CreatedBy::category, + oauth_application: Increase::WireTransfer::CreatedBy::OAuthApplication?, + user: Increase::WireTransfer::CreatedBy::User? + } + type api_key = { description: String? } class APIKey < Increase::Internal::Type::BaseModel attr_accessor description: String? def initialize: (description: String?) -> void + + def to_hash: -> { description: String? } end type category = :api_key | :oauth_application | :user @@ -190,7 +235,7 @@ module Increase # A User in the Increase dashboard. Details will be under the `user` object. USER: :user - def self?.values: -> ::Array[Increase::WireTransfer::CreatedBy::category] + def self?.values: -> ::Array[Increase::Models::WireTransfer::CreatedBy::category] end type oauth_application = { name: String } @@ -199,6 +244,8 @@ module Increase attr_accessor name: String def initialize: (name: String) -> void + + def to_hash: -> { name: String } end type user = { email: String } @@ -207,6 +254,8 @@ module Increase attr_accessor email: String def initialize: (email: String) -> void + + def to_hash: -> { email: String } end end @@ -233,7 +282,7 @@ module Increase # US Dollar (USD) USD: :USD - def self?.values: -> ::Array[Increase::WireTransfer::currency] + def self?.values: -> ::Array[Increase::Models::WireTransfer::currency] end type network = :wire @@ -243,7 +292,7 @@ module Increase WIRE: :wire - def self?.values: -> ::Array[Increase::WireTransfer::network] + def self?.values: -> ::Array[Increase::Models::WireTransfer::network] end type reversal = @@ -321,6 +370,26 @@ module Increase transaction_id: String, wire_transfer_id: String ) -> void + + def to_hash: -> { + amount: Integer, + created_at: Time, + description: String, + financial_institution_to_financial_institution_information: String?, + input_cycle_date: Date, + input_message_accountability_data: String, + input_sequence_number: String, + input_source: String, + originator_routing_number: String?, + previous_message_input_cycle_date: Date, + previous_message_input_message_accountability_data: String, + previous_message_input_sequence_number: String, + previous_message_input_source: String, + receiver_financial_institution_information: String?, + sender_reference: String?, + transaction_id: String, + wire_transfer_id: String + } end type status = @@ -364,7 +433,7 @@ module Increase # The transfer has been acknowledged by Fedwire and can be considered complete. COMPLETE: :complete - def self?.values: -> ::Array[Increase::WireTransfer::status] + def self?.values: -> ::Array[Increase::Models::WireTransfer::status] end type submission = @@ -379,6 +448,11 @@ module Increase input_message_accountability_data: String, submitted_at: Time ) -> void + + def to_hash: -> { + input_message_accountability_data: String, + submitted_at: Time + } end type type_ = :wire_transfer @@ -388,7 +462,7 @@ module Increase WIRE_TRANSFER: :wire_transfer - def self?.values: -> ::Array[Increase::WireTransfer::type_] + def self?.values: -> ::Array[Increase::Models::WireTransfer::type_] end end end diff --git a/sig/increase/models/wire_transfer_approve_params.rbs b/sig/increase/models/wire_transfer_approve_params.rbs index 4d1fd4a18..f3ac529ac 100644 --- a/sig/increase/models/wire_transfer_approve_params.rbs +++ b/sig/increase/models/wire_transfer_approve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/wire_transfer_cancel_params.rbs b/sig/increase/models/wire_transfer_cancel_params.rbs index 5eacb4a5c..7a1f9ddd3 100644 --- a/sig/increase/models/wire_transfer_cancel_params.rbs +++ b/sig/increase/models/wire_transfer_cancel_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end diff --git a/sig/increase/models/wire_transfer_create_params.rbs b/sig/increase/models/wire_transfer_create_params.rbs index 3172ded62..f0e7cb25e 100644 --- a/sig/increase/models/wire_transfer_create_params.rbs +++ b/sig/increase/models/wire_transfer_create_params.rbs @@ -100,6 +100,26 @@ module Increase ?source_account_number_id: String, ?request_options: Increase::request_opts ) -> void + + def to_hash: -> { + account_id: String, + amount: Integer, + beneficiary_name: String, + message_to_recipient: String, + account_number: String, + :beneficiary_address_line1 => String, + :beneficiary_address_line2 => String, + :beneficiary_address_line3 => String, + external_account_id: String, + :originator_address_line1 => String, + :originator_address_line2 => String, + :originator_address_line3 => String, + originator_name: String, + require_approval: bool, + routing_number: String, + source_account_number_id: String, + request_options: Increase::RequestOptions + } end end end diff --git a/sig/increase/models/wire_transfer_list_params.rbs b/sig/increase/models/wire_transfer_list_params.rbs index 277630d35..7c5aff3a0 100644 --- a/sig/increase/models/wire_transfer_list_params.rbs +++ b/sig/increase/models/wire_transfer_list_params.rbs @@ -51,6 +51,16 @@ module Increase ?request_options: Increase::request_opts ) -> void + def to_hash: -> { + account_id: String, + created_at: Increase::WireTransferListParams::CreatedAt, + cursor: String, + external_account_id: String, + idempotency_key: String, + limit: Integer, + request_options: Increase::RequestOptions + } + type created_at = { after: Time, before: Time, on_or_after: Time, on_or_before: Time } @@ -77,6 +87,13 @@ module Increase ?on_or_after: Time, ?on_or_before: Time ) -> void + + def to_hash: -> { + after: Time, + before: Time, + on_or_after: Time, + on_or_before: Time + } end end end diff --git a/sig/increase/models/wire_transfer_retrieve_params.rbs b/sig/increase/models/wire_transfer_retrieve_params.rbs index e2ae13283..38aba52a9 100644 --- a/sig/increase/models/wire_transfer_retrieve_params.rbs +++ b/sig/increase/models/wire_transfer_retrieve_params.rbs @@ -8,6 +8,8 @@ module Increase include Increase::Internal::Type::RequestParameters def initialize: (?request_options: Increase::request_opts) -> void + + def to_hash: -> { request_options: Increase::RequestOptions } end end end From 004808756c486b90f9d3bbac352d209c77fc0044 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 22 May 2025 21:03:13 +0000 Subject: [PATCH 5/7] feat(api): api update --- .stats.yml | 4 +- .../inbound_ach_transfer_create_params.rb | 75 ++++++- .../simulations/inbound_ach_transfers.rb | 4 +- .../inbound_ach_transfer_create_params.rbi | 198 ++++++++++++++++++ .../simulations/inbound_ach_transfers.rbi | 4 + .../inbound_ach_transfer_create_params.rbs | 73 +++++++ .../simulations/inbound_ach_transfers.rbs | 1 + 7 files changed, 355 insertions(+), 4 deletions(-) diff --git a/.stats.yml b/.stats.yml index 229bdad6f..c2d3a1136 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 195 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-8f6c4012863716d091d2212f4a079ceb2af3b5b4e776b00aab9b5cba7f452960.yml -openapi_spec_hash: 11c039f345002ae50d39988570ae266e +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-10c5725c33a0c36d693b65d868048c361ee08bfd4075b570e0daa3c55dd51b74.yml +openapi_spec_hash: edb571785437dbb44225445325f92c04 config_hash: 1619155422217276e2489ae10ce63a25 diff --git a/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb b/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb index 04622ca2d..98204bd1e 100644 --- a/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb +++ b/lib/increase/models/simulations/inbound_ach_transfer_create_params.rb @@ -22,6 +22,12 @@ class InboundACHTransferCreateParams < Increase::Internal::Type::BaseModel # @return [Integer] required :amount, Integer + # @!attribute addenda + # Additional information to include in the transfer. + # + # @return [Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda, nil] + optional :addenda, -> { Increase::Simulations::InboundACHTransferCreateParams::Addenda } + # @!attribute company_descriptive_date # The description of the date of the transfer. # @@ -78,7 +84,7 @@ class InboundACHTransferCreateParams < Increase::Internal::Type::BaseModel optional :standard_entry_class_code, enum: -> { Increase::Simulations::InboundACHTransferCreateParams::StandardEntryClassCode } - # @!method initialize(account_number_id:, amount:, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, company_id: nil, company_name: nil, receiver_id_number: nil, receiver_name: nil, resolve_at: nil, standard_entry_class_code: nil, request_options: {}) + # @!method initialize(account_number_id:, amount:, addenda: nil, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, company_id: nil, company_name: nil, receiver_id_number: nil, receiver_name: nil, resolve_at: nil, standard_entry_class_code: nil, request_options: {}) # Some parameter documentations has been truncated, see # {Increase::Models::Simulations::InboundACHTransferCreateParams} for more # details. @@ -87,6 +93,8 @@ class InboundACHTransferCreateParams < Increase::Internal::Type::BaseModel # # @param amount [Integer] The transfer amount in cents. A positive amount originates a credit transfer pus # + # @param addenda [Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda] Additional information to include in the transfer. + # # @param company_descriptive_date [String] The description of the date of the transfer. # # @param company_discretionary_data [String] Data associated with the transfer set by the sender. @@ -107,6 +115,71 @@ class InboundACHTransferCreateParams < Increase::Internal::Type::BaseModel # # @param request_options [Increase::RequestOptions, Hash{Symbol=>Object}] + class Addenda < Increase::Internal::Type::BaseModel + # @!attribute category + # The type of addenda to simulate being sent with the transfer. + # + # @return [Symbol, Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Category] + required :category, + enum: -> { + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category + } + + # @!attribute freeform + # Unstructured `payment_related_information` passed through with the transfer. + # + # @return [Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Freeform, nil] + optional :freeform, -> { Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform } + + # @!method initialize(category:, freeform: nil) + # Additional information to include in the transfer. + # + # @param category [Symbol, Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Category] The type of addenda to simulate being sent with the transfer. + # + # @param freeform [Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::Freeform] Unstructured `payment_related_information` passed through with the transfer. + + # The type of addenda to simulate being sent with the transfer. + # + # @see Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda#category + module Category + extend Increase::Internal::Type::Enum + + # Unstructured `payment_related_information` passed through with the transfer. + FREEFORM = :freeform + + # @!method self.values + # @return [Array] + end + + # @see Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda#freeform + class Freeform < Increase::Internal::Type::BaseModel + # @!attribute entries + # Each entry represents an addendum sent with the transfer. + # + # @return [Array] + required :entries, + -> { + Increase::Internal::Type::ArrayOf[Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry] + } + + # @!method initialize(entries:) + # Unstructured `payment_related_information` passed through with the transfer. + # + # @param entries [Array] Each entry represents an addendum sent with the transfer. + + class Entry < Increase::Internal::Type::BaseModel + # @!attribute payment_related_information + # The payment related information passed in the addendum. + # + # @return [String] + required :payment_related_information, String + + # @!method initialize(payment_related_information:) + # @param payment_related_information [String] The payment related information passed in the addendum. + end + end + end + # The standard entry class code for the transfer. module StandardEntryClassCode extend Increase::Internal::Type::Enum diff --git a/lib/increase/resources/simulations/inbound_ach_transfers.rb b/lib/increase/resources/simulations/inbound_ach_transfers.rb index ac26ce64e..ed3a48e4a 100644 --- a/lib/increase/resources/simulations/inbound_ach_transfers.rb +++ b/lib/increase/resources/simulations/inbound_ach_transfers.rb @@ -19,12 +19,14 @@ class InboundACHTransfers # [Declined Transaction](#declined-transactions) depending on whether or not the # transfer is allowed. # - # @overload create(account_number_id:, amount:, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, company_id: nil, company_name: nil, receiver_id_number: nil, receiver_name: nil, resolve_at: nil, standard_entry_class_code: nil, request_options: {}) + # @overload create(account_number_id:, amount:, addenda: nil, company_descriptive_date: nil, company_discretionary_data: nil, company_entry_description: nil, company_id: nil, company_name: nil, receiver_id_number: nil, receiver_name: nil, resolve_at: nil, standard_entry_class_code: nil, request_options: {}) # # @param account_number_id [String] The identifier of the Account Number the inbound ACH Transfer is for. # # @param amount [Integer] The transfer amount in cents. A positive amount originates a credit transfer pus # + # @param addenda [Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda] Additional information to include in the transfer. + # # @param company_descriptive_date [String] The description of the date of the transfer. # # @param company_discretionary_data [String] Data associated with the transfer set by the sender. diff --git a/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi b/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi index 311aeb4d7..31899901c 100644 --- a/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi +++ b/rbi/increase/models/simulations/inbound_ach_transfer_create_params.rbi @@ -25,6 +25,24 @@ module Increase sig { returns(Integer) } attr_accessor :amount + # Additional information to include in the transfer. + sig do + returns( + T.nilable( + Increase::Simulations::InboundACHTransferCreateParams::Addenda + ) + ) + end + attr_reader :addenda + + sig do + params( + addenda: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::OrHash + ).void + end + attr_writer :addenda + # The description of the date of the transfer. sig { returns(T.nilable(String)) } attr_reader :company_descriptive_date @@ -104,6 +122,8 @@ module Increase params( account_number_id: String, amount: Integer, + addenda: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::OrHash, company_descriptive_date: String, company_discretionary_data: String, company_entry_description: String, @@ -124,6 +144,8 @@ module Increase # pushing funds to the receiving account. A negative amount originates a debit # transfer pulling funds from the receiving account. amount:, + # Additional information to include in the transfer. + addenda: nil, # The description of the date of the transfer. company_descriptive_date: nil, # Data associated with the transfer set by the sender. @@ -152,6 +174,8 @@ module Increase { account_number_id: String, amount: Integer, + addenda: + Increase::Simulations::InboundACHTransferCreateParams::Addenda, company_descriptive_date: String, company_discretionary_data: String, company_entry_description: String, @@ -169,6 +193,180 @@ module Increase def to_hash end + class Addenda < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::InboundACHTransferCreateParams::Addenda, + Increase::Internal::AnyHash + ) + end + + # The type of addenda to simulate being sent with the transfer. + sig do + returns( + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category::OrSymbol + ) + end + attr_accessor :category + + # Unstructured `payment_related_information` passed through with the transfer. + sig do + returns( + T.nilable( + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform + ) + ) + end + attr_reader :freeform + + sig do + params( + freeform: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::OrHash + ).void + end + attr_writer :freeform + + # Additional information to include in the transfer. + sig do + params( + category: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category::OrSymbol, + freeform: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::OrHash + ).returns(T.attached_class) + end + def self.new( + # The type of addenda to simulate being sent with the transfer. + category:, + # Unstructured `payment_related_information` passed through with the transfer. + freeform: nil + ) + end + + sig do + override.returns( + { + category: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category::OrSymbol, + freeform: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform + } + ) + end + def to_hash + end + + # The type of addenda to simulate being sent with the transfer. + module Category + extend Increase::Internal::Type::Enum + + TaggedSymbol = + T.type_alias do + T.all( + Symbol, + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category + ) + end + OrSymbol = T.type_alias { T.any(Symbol, String) } + + # Unstructured `payment_related_information` passed through with the transfer. + FREEFORM = + T.let( + :freeform, + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category::TaggedSymbol + ) + + sig do + override.returns( + T::Array[ + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Category::TaggedSymbol + ] + ) + end + def self.values + end + end + + class Freeform < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform, + Increase::Internal::AnyHash + ) + end + + # Each entry represents an addendum sent with the transfer. + sig do + returns( + T::Array[ + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry + ] + ) + end + attr_accessor :entries + + # Unstructured `payment_related_information` passed through with the transfer. + sig do + params( + entries: + T::Array[ + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry::OrHash + ] + ).returns(T.attached_class) + end + def self.new( + # Each entry represents an addendum sent with the transfer. + entries: + ) + end + + sig do + override.returns( + { + entries: + T::Array[ + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry + ] + } + ) + end + def to_hash + end + + class Entry < Increase::Internal::Type::BaseModel + OrHash = + T.type_alias do + T.any( + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry, + Increase::Internal::AnyHash + ) + end + + # The payment related information passed in the addendum. + sig { returns(String) } + attr_accessor :payment_related_information + + sig do + params(payment_related_information: String).returns( + T.attached_class + ) + end + def self.new( + # The payment related information passed in the addendum. + payment_related_information: + ) + end + + sig { override.returns({ payment_related_information: String }) } + def to_hash + end + end + end + end + # The standard entry class code for the transfer. module StandardEntryClassCode extend Increase::Internal::Type::Enum diff --git a/rbi/increase/resources/simulations/inbound_ach_transfers.rbi b/rbi/increase/resources/simulations/inbound_ach_transfers.rbi index 8f7494c20..a7d74d35f 100644 --- a/rbi/increase/resources/simulations/inbound_ach_transfers.rbi +++ b/rbi/increase/resources/simulations/inbound_ach_transfers.rbi @@ -18,6 +18,8 @@ module Increase params( account_number_id: String, amount: Integer, + addenda: + Increase::Simulations::InboundACHTransferCreateParams::Addenda::OrHash, company_descriptive_date: String, company_discretionary_data: String, company_entry_description: String, @@ -38,6 +40,8 @@ module Increase # pushing funds to the receiving account. A negative amount originates a debit # transfer pulling funds from the receiving account. amount:, + # Additional information to include in the transfer. + addenda: nil, # The description of the date of the transfer. company_descriptive_date: nil, # Data associated with the transfer set by the sender. diff --git a/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs b/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs index 99e406e0c..51b6384ef 100644 --- a/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs +++ b/sig/increase/models/simulations/inbound_ach_transfer_create_params.rbs @@ -5,6 +5,7 @@ module Increase { account_number_id: String, amount: Integer, + addenda: Increase::Simulations::InboundACHTransferCreateParams::Addenda, company_descriptive_date: String, company_discretionary_data: String, company_entry_description: String, @@ -25,6 +26,12 @@ module Increase attr_accessor amount: Integer + attr_reader addenda: Increase::Simulations::InboundACHTransferCreateParams::Addenda? + + def addenda=: ( + Increase::Simulations::InboundACHTransferCreateParams::Addenda + ) -> Increase::Simulations::InboundACHTransferCreateParams::Addenda + attr_reader company_descriptive_date: String? def company_descriptive_date=: (String) -> String @@ -66,6 +73,7 @@ module Increase def initialize: ( account_number_id: String, amount: Integer, + ?addenda: Increase::Simulations::InboundACHTransferCreateParams::Addenda, ?company_descriptive_date: String, ?company_discretionary_data: String, ?company_entry_description: String, @@ -81,6 +89,7 @@ module Increase def to_hash: -> { account_number_id: String, amount: Integer, + addenda: Increase::Simulations::InboundACHTransferCreateParams::Addenda, company_descriptive_date: String, company_discretionary_data: String, company_entry_description: String, @@ -93,6 +102,70 @@ module Increase request_options: Increase::RequestOptions } + type addenda = + { + category: Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::category, + freeform: Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform + } + + class Addenda < Increase::Internal::Type::BaseModel + attr_accessor category: Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::category + + attr_reader freeform: Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform? + + def freeform=: ( + Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform + ) -> Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform + + def initialize: ( + category: Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::category, + ?freeform: Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform + ) -> void + + def to_hash: -> { + category: Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::category, + freeform: Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform + } + + type category = :freeform + + module Category + extend Increase::Internal::Type::Enum + + # Unstructured `payment_related_information` passed through with the transfer. + FREEFORM: :freeform + + def self?.values: -> ::Array[Increase::Models::Simulations::InboundACHTransferCreateParams::Addenda::category] + end + + type freeform = + { + entries: ::Array[Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry] + } + + class Freeform < Increase::Internal::Type::BaseModel + attr_accessor entries: ::Array[Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry] + + def initialize: ( + entries: ::Array[Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry] + ) -> void + + def to_hash: -> { + entries: ::Array[Increase::Simulations::InboundACHTransferCreateParams::Addenda::Freeform::Entry] + } + + type entry = { payment_related_information: String } + + class Entry < Increase::Internal::Type::BaseModel + attr_accessor payment_related_information: String + + def initialize: (payment_related_information: String) -> void + + def to_hash: -> { payment_related_information: String } + end + end + end + type standard_entry_class_code = :corporate_credit_or_debit | :corporate_trade_exchange diff --git a/sig/increase/resources/simulations/inbound_ach_transfers.rbs b/sig/increase/resources/simulations/inbound_ach_transfers.rbs index 7bba5dbab..3c7e4583e 100644 --- a/sig/increase/resources/simulations/inbound_ach_transfers.rbs +++ b/sig/increase/resources/simulations/inbound_ach_transfers.rbs @@ -5,6 +5,7 @@ module Increase def create: ( account_number_id: String, amount: Integer, + ?addenda: Increase::Simulations::InboundACHTransferCreateParams::Addenda, ?company_descriptive_date: String, ?company_discretionary_data: String, ?company_entry_description: String, From 02d1d7a9743f2fa636c1f7c5da1239651942e84f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 22 May 2025 23:21:05 +0000 Subject: [PATCH 6/7] feat(api): api update --- .stats.yml | 4 ++-- lib/increase/models/card_payment.rb | 6 ++++++ lib/increase/models/declined_transaction.rb | 3 +++ lib/increase/models/pending_transaction.rb | 3 +++ lib/increase/models/real_time_decision.rb | 3 +++ rbi/increase/models/card_payment.rbi | 14 ++++++++++++++ rbi/increase/models/declined_transaction.rbi | 7 +++++++ rbi/increase/models/pending_transaction.rbi | 7 +++++++ rbi/increase/models/real_time_decision.rbi | 7 +++++++ sig/increase/models/card_payment.rbs | 8 ++++++++ sig/increase/models/declined_transaction.rbs | 4 ++++ sig/increase/models/pending_transaction.rbs | 4 ++++ sig/increase/models/real_time_decision.rbs | 4 ++++ 13 files changed, 72 insertions(+), 2 deletions(-) diff --git a/.stats.yml b/.stats.yml index c2d3a1136..f499909c1 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 195 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-10c5725c33a0c36d693b65d868048c361ee08bfd4075b570e0daa3c55dd51b74.yml -openapi_spec_hash: edb571785437dbb44225445325f92c04 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/increase%2Fincrease-4efe1f515d5c4297c1f4d2f52381e6a0de84cb1c1bcd9a15d53e54f559351b45.yml +openapi_spec_hash: 0ab70cea1b42e0179a3ef3b5e4268634 config_hash: 1619155422217276e2489ae10ce63a25 diff --git a/lib/increase/models/card_payment.rb b/lib/increase/models/card_payment.rb index 451c3a871..40932e0d4 100644 --- a/lib/increase/models/card_payment.rb +++ b/lib/increase/models/card_payment.rb @@ -1195,6 +1195,9 @@ module ProcessingCategory # A transaction used to pay a bill. BILL_PAYMENT = :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = :original_credit + # A regular purchase. PURCHASE = :purchase @@ -2066,6 +2069,9 @@ module ProcessingCategory # A transaction used to pay a bill. BILL_PAYMENT = :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = :original_credit + # A regular purchase. PURCHASE = :purchase diff --git a/lib/increase/models/declined_transaction.rb b/lib/increase/models/declined_transaction.rb index 828b0cfdd..21e227496 100644 --- a/lib/increase/models/declined_transaction.rb +++ b/lib/increase/models/declined_transaction.rb @@ -987,6 +987,9 @@ module ProcessingCategory # A transaction used to pay a bill. BILL_PAYMENT = :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = :original_credit + # A regular purchase. PURCHASE = :purchase diff --git a/lib/increase/models/pending_transaction.rb b/lib/increase/models/pending_transaction.rb index b8154b870..f56d24023 100644 --- a/lib/increase/models/pending_transaction.rb +++ b/lib/increase/models/pending_transaction.rb @@ -990,6 +990,9 @@ module ProcessingCategory # A transaction used to pay a bill. BILL_PAYMENT = :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = :original_credit + # A regular purchase. PURCHASE = :purchase diff --git a/lib/increase/models/real_time_decision.rb b/lib/increase/models/real_time_decision.rb index 178208666..515eaee4f 100644 --- a/lib/increase/models/real_time_decision.rb +++ b/lib/increase/models/real_time_decision.rb @@ -758,6 +758,9 @@ module ProcessingCategory # A transaction used to pay a bill. BILL_PAYMENT = :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = :original_credit + # A regular purchase. PURCHASE = :purchase diff --git a/rbi/increase/models/card_payment.rbi b/rbi/increase/models/card_payment.rbi index b9bc96777..91218a0a6 100644 --- a/rbi/increase/models/card_payment.rbi +++ b/rbi/increase/models/card_payment.rbi @@ -2217,6 +2217,13 @@ module Increase Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol ) + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = + T.let( + :original_credit, + Increase::CardPayment::Element::CardAuthorization::ProcessingCategory::TaggedSymbol + ) + # A regular purchase. PURCHASE = T.let( @@ -3871,6 +3878,13 @@ module Increase Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol ) + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = + T.let( + :original_credit, + Increase::CardPayment::Element::CardDecline::ProcessingCategory::TaggedSymbol + ) + # A regular purchase. PURCHASE = T.let( diff --git a/rbi/increase/models/declined_transaction.rbi b/rbi/increase/models/declined_transaction.rbi index 17cc616f1..c6640d622 100644 --- a/rbi/increase/models/declined_transaction.rbi +++ b/rbi/increase/models/declined_transaction.rbi @@ -1807,6 +1807,13 @@ module Increase Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol ) + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = + T.let( + :original_credit, + Increase::DeclinedTransaction::Source::CardDecline::ProcessingCategory::TaggedSymbol + ) + # A regular purchase. PURCHASE = T.let( diff --git a/rbi/increase/models/pending_transaction.rbi b/rbi/increase/models/pending_transaction.rbi index 84e673c41..5cd260220 100644 --- a/rbi/increase/models/pending_transaction.rbi +++ b/rbi/increase/models/pending_transaction.rbi @@ -1857,6 +1857,13 @@ module Increase Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol ) + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = + T.let( + :original_credit, + Increase::PendingTransaction::Source::CardAuthorization::ProcessingCategory::TaggedSymbol + ) + # A regular purchase. PURCHASE = T.let( diff --git a/rbi/increase/models/real_time_decision.rbi b/rbi/increase/models/real_time_decision.rbi index 0e34cfcc4..9e63c5b78 100644 --- a/rbi/increase/models/real_time_decision.rbi +++ b/rbi/increase/models/real_time_decision.rbi @@ -1385,6 +1385,13 @@ module Increase Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol ) + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT = + T.let( + :original_credit, + Increase::RealTimeDecision::CardAuthorization::ProcessingCategory::TaggedSymbol + ) + # A regular purchase. PURCHASE = T.let( diff --git a/sig/increase/models/card_payment.rbs b/sig/increase/models/card_payment.rbs index 630547dcb..331645e40 100644 --- a/sig/increase/models/card_payment.rbs +++ b/sig/increase/models/card_payment.rbs @@ -854,6 +854,7 @@ module Increase :account_funding | :automatic_fuel_dispenser | :bill_payment + | :original_credit | :purchase | :quasi_cash | :refund @@ -870,6 +871,9 @@ module Increase # A transaction used to pay a bill. BILL_PAYMENT: :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT: :original_credit + # A regular purchase. PURCHASE: :purchase @@ -1525,6 +1529,7 @@ module Increase :account_funding | :automatic_fuel_dispenser | :bill_payment + | :original_credit | :purchase | :quasi_cash | :refund @@ -1541,6 +1546,9 @@ module Increase # A transaction used to pay a bill. BILL_PAYMENT: :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT: :original_credit + # A regular purchase. PURCHASE: :purchase diff --git a/sig/increase/models/declined_transaction.rbs b/sig/increase/models/declined_transaction.rbs index bc58c3e50..097a83019 100644 --- a/sig/increase/models/declined_transaction.rbs +++ b/sig/increase/models/declined_transaction.rbs @@ -731,6 +731,7 @@ module Increase :account_funding | :automatic_fuel_dispenser | :bill_payment + | :original_credit | :purchase | :quasi_cash | :refund @@ -747,6 +748,9 @@ module Increase # A transaction used to pay a bill. BILL_PAYMENT: :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT: :original_credit + # A regular purchase. PURCHASE: :purchase diff --git a/sig/increase/models/pending_transaction.rbs b/sig/increase/models/pending_transaction.rbs index bddb87836..c832dc5de 100644 --- a/sig/increase/models/pending_transaction.rbs +++ b/sig/increase/models/pending_transaction.rbs @@ -673,6 +673,7 @@ module Increase :account_funding | :automatic_fuel_dispenser | :bill_payment + | :original_credit | :purchase | :quasi_cash | :refund @@ -689,6 +690,9 @@ module Increase # A transaction used to pay a bill. BILL_PAYMENT: :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT: :original_credit + # A regular purchase. PURCHASE: :purchase diff --git a/sig/increase/models/real_time_decision.rbs b/sig/increase/models/real_time_decision.rbs index 5100f89fd..fee182bac 100644 --- a/sig/increase/models/real_time_decision.rbs +++ b/sig/increase/models/real_time_decision.rbs @@ -545,6 +545,7 @@ module Increase :account_funding | :automatic_fuel_dispenser | :bill_payment + | :original_credit | :purchase | :quasi_cash | :refund @@ -561,6 +562,9 @@ module Increase # A transaction used to pay a bill. BILL_PAYMENT: :bill_payment + # Original credit transactions are used to send money to a cardholder. + ORIGINAL_CREDIT: :original_credit + # A regular purchase. PURCHASE: :purchase From 39ba52f1942900b659c99bf68630fd10f3ffdf7d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Thu, 22 May 2025 23:21:26 +0000 Subject: [PATCH 7/7] release: 0.1.0-alpha.26 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 17 +++++++++++++++++ Gemfile.lock | 2 +- README.md | 2 +- lib/increase/version.rb | 2 +- 5 files changed, 21 insertions(+), 4 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 3188cedb5..315f7d30b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.1.0-alpha.25" + ".": "0.1.0-alpha.26" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index ebd630660..5ade1347a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,22 @@ # Changelog +## 0.1.0-alpha.26 (2025-05-22) + +Full Changelog: [v0.1.0-alpha.25...v0.1.0-alpha.26](https://github.com/Increase/increase-ruby/compare/v0.1.0-alpha.25...v0.1.0-alpha.26) + +### Features + +* **api:** api update ([02d1d7a](https://github.com/Increase/increase-ruby/commit/02d1d7a9743f2fa636c1f7c5da1239651942e84f)) +* **api:** api update ([0048087](https://github.com/Increase/increase-ruby/commit/004808756c486b90f9d3bbac352d209c77fc0044)) + + +### Chores + +* **docs:** grammar improvements ([7528787](https://github.com/Increase/increase-ruby/commit/752878761b5cd474fe3f751b33b8a66f360ca2e3)) +* force utf-8 locale via `RUBYOPT` when formatting ([9836cc4](https://github.com/Increase/increase-ruby/commit/9836cc43f50da4049117fd2724bfbcf41a2c3283)) +* refine Yard and Sorbet types and ensure linting is turned on for examples ([3846f08](https://github.com/Increase/increase-ruby/commit/3846f08fefcddec7cefbf86e3a3fbfa535318d94)) +* use fully qualified names for yard annotations and rbs aliases ([7a81744](https://github.com/Increase/increase-ruby/commit/7a81744d65096fc1af4b633f04f85f0d01c90617)) + ## 0.1.0-alpha.25 (2025-05-20) Full Changelog: [v0.1.0-alpha.24...v0.1.0-alpha.25](https://github.com/Increase/increase-ruby/compare/v0.1.0-alpha.24...v0.1.0-alpha.25) diff --git a/Gemfile.lock b/Gemfile.lock index 1abcaab25..454834809 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -11,7 +11,7 @@ GIT PATH remote: . specs: - increase (0.1.0.pre.alpha.25) + increase (0.1.0.pre.alpha.26) connection_pool GEM diff --git a/README.md b/README.md index d67cf0c38..e9b6a6ae8 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ To use this gem, install via Bundler by adding the following to your application ```ruby -gem "increase", "~> 0.1.0.pre.alpha.25" +gem "increase", "~> 0.1.0.pre.alpha.26" ``` diff --git a/lib/increase/version.rb b/lib/increase/version.rb index 5e251f62a..3e775b64c 100644 --- a/lib/increase/version.rb +++ b/lib/increase/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Increase - VERSION = "0.1.0.pre.alpha.25" + VERSION = "0.1.0.pre.alpha.26" end