Class: Increase::Models::CheckTransferCreateParams
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::CheckTransferCreateParams
- Extended by:
- Internal::Type::RequestParameters::Converter
- Includes:
- Internal::Type::RequestParameters
- Defined in:
- lib/increase/models/check_transfer_create_params.rb
Overview
Defined Under Namespace
Modules: FulfillmentMethod Classes: PhysicalCheck, ThirdParty
Instance Attribute Summary collapse
-
#account_id ⇒ String
The identifier for the account that will send the transfer.
-
#amount ⇒ Integer
The transfer amount in USD cents.
-
#check_number ⇒ String?
The check number Increase should use for the check.
-
#fulfillment_method ⇒ Symbol, Increase::Models::CheckTransferCreateParams::FulfillmentMethod
Whether Increase will print and mail the check or if you will do it yourself.
-
#physical_check ⇒ Increase::Models::CheckTransferCreateParams::PhysicalCheck?
Details relating to the physical check that Increase will print and mail.
-
#require_approval ⇒ Boolean?
Whether the transfer requires explicit approval via the dashboard or API.
-
#source_account_number_id ⇒ String
The identifier of the Account Number from which to send the transfer and print on the check.
-
#third_party ⇒ Increase::Models::CheckTransferCreateParams::ThirdParty?
Details relating to the custom fulfillment you will perform.
Attributes included from Internal::Type::RequestParameters
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(account_id: , amount: , fulfillment_method: , source_account_number_id: , check_number: nil, physical_check: nil, require_approval: nil, third_party: nil, request_options: {}) ⇒ Object
constructor
Some parameter documentations has been truncated, see CheckTransferCreateParams for more details.
Methods included from Internal::Type::RequestParameters::Converter
Methods included from Internal::Type::RequestParameters
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, #inspect, inspect, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(account_id: , amount: , fulfillment_method: , source_account_number_id: , check_number: nil, physical_check: nil, require_approval: nil, third_party: nil, request_options: {}) ⇒ Object
Some parameter documentations has been truncated, see Increase::Models::CheckTransferCreateParams for more details.
|
|
# File 'lib/increase/models/check_transfer_create_params.rb', line 65
|
Instance Attribute Details
#account_id ⇒ String
The identifier for the account that will send the transfer.
14 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 14 required :account_id, String |
#amount ⇒ Integer
The transfer amount in USD cents.
20 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 20 required :amount, Integer |
#check_number ⇒ String?
The check number Increase should use for the check. This should not contain leading zeroes and must be unique across the ‘source_account_number`. If this is omitted, Increase will generate a check number for you.
41 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 41 optional :check_number, String |
#fulfillment_method ⇒ Symbol, Increase::Models::CheckTransferCreateParams::FulfillmentMethod
Whether Increase will print and mail the check or if you will do it yourself.
26 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 26 required :fulfillment_method, enum: -> { Increase::CheckTransferCreateParams::FulfillmentMethod } |
#physical_check ⇒ Increase::Models::CheckTransferCreateParams::PhysicalCheck?
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.
49 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 49 optional :physical_check, -> { Increase::CheckTransferCreateParams::PhysicalCheck } |
#require_approval ⇒ Boolean?
Whether the transfer requires explicit approval via the dashboard or API.
55 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 55 optional :require_approval, Increase::Internal::Type::Boolean |
#source_account_number_id ⇒ String
The identifier of the Account Number from which to send the transfer and print on the check.
33 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 33 required :source_account_number_id, String |
#third_party ⇒ Increase::Models::CheckTransferCreateParams::ThirdParty?
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 other `fulfillment_method` is provided.
63 |
# File 'lib/increase/models/check_transfer_create_params.rb', line 63 optional :third_party, -> { Increase::CheckTransferCreateParams::ThirdParty } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/increase/models/check_transfer_create_params.rb', line 97
|