Class: MethodRuby::Models::AccountCreateParams::Body::ACH

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/method_ruby/models/account_create_params.rb

Defined Under Namespace

Modules: Type Classes: ACH

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

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, meta_info, new_coerce_state, 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(ach:, holder_id:, metadata: nil, type: nil) ⇒ Object

Create an ACH account.

Parameters:



# File 'lib/method_ruby/models/account_create_params.rb', line 86

Instance Attribute Details

#achMethodRuby::Models::AccountCreateParams::Body::ACH::ACH

ACH account details.



65
# File 'lib/method_ruby/models/account_create_params.rb', line 65

required :ach, -> { MethodRuby::AccountCreateParams::Body::ACH::ACH }

#holder_idString

The entity ID that will own this account.

Returns:

  • (String)


71
# File 'lib/method_ruby/models/account_create_params.rb', line 71

required :holder_id, String

#metadataHash{Symbol=>Object}?

Arbitrary key-value metadata attached to the resource.

Returns:

  • (Hash{Symbol=>Object}, nil)


77
78
79
# File 'lib/method_ruby/models/account_create_params.rb', line 77

optional :metadata,
MethodRuby::Internal::Type::HashOf[MethodRuby::Internal::Type::Unknown],
nil?: true

#typeSymbol, ...



84
# File 'lib/method_ruby/models/account_create_params.rb', line 84

optional :type, enum: -> { MethodRuby::AccountCreateParams::Body::ACH::Type }

Class Method Details

.valuesArray<Symbol>

Returns:

  • (Array<Symbol>)


# File 'lib/method_ruby/models/account_create_params.rb', line 135