Class: MethodRuby::Models::AccountCreateParams::Body::Clearing
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- MethodRuby::Models::AccountCreateParams::Body::Clearing
- Defined in:
- lib/method_ruby/models/account_create_params.rb
Defined Under Namespace
Modules: Type Classes: Clearing
Instance Attribute Summary collapse
-
#clearing ⇒ MethodRuby::Models::AccountCreateParams::Body::Clearing::Clearing
Clearing account details.
-
#holder_id ⇒ String
The entity ID that will own this account.
-
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key-value metadata attached to the resource.
- #type ⇒ Symbol, ...
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(clearing:, holder_id:, metadata: nil, type: nil) ⇒ Object
constructor
Create a clearing account.
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(clearing:, holder_id:, metadata: nil, type: nil) ⇒ Object
Create a clearing account.
|
|
# File 'lib/method_ruby/models/account_create_params.rb', line 294
|
Instance Attribute Details
#clearing ⇒ MethodRuby::Models::AccountCreateParams::Body::Clearing::Clearing
Clearing account details.
273 |
# File 'lib/method_ruby/models/account_create_params.rb', line 273 required :clearing, -> { MethodRuby::AccountCreateParams::Body::Clearing::Clearing } |
#holder_id ⇒ String
The entity ID that will own this account.
279 |
# File 'lib/method_ruby/models/account_create_params.rb', line 279 required :holder_id, String |
#metadata ⇒ Hash{Symbol=>Object}?
Arbitrary key-value metadata attached to the resource.
285 286 287 |
# File 'lib/method_ruby/models/account_create_params.rb', line 285 optional :metadata, MethodRuby::Internal::Type::HashOf[MethodRuby::Internal::Type::Unknown], nil?: true |
#type ⇒ Symbol, ...
292 |
# File 'lib/method_ruby/models/account_create_params.rb', line 292 optional :type, enum: -> { MethodRuby::AccountCreateParams::Body::Clearing::Type } |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/method_ruby/models/account_create_params.rb', line 327
|