Class: ModernTreasury::Models::LegalEntity::PhoneNumber
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- ModernTreasury::Models::LegalEntity::PhoneNumber
- Defined in:
- lib/modern_treasury/models/legal_entity.rb,
sig/modern_treasury/models/legal_entity.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ PhoneNumber
constructor
A new instance of PhoneNumber.
- #to_hash ⇒ { phone_number: String }
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 ⇒ PhoneNumber
Returns a new instance of PhoneNumber.
672 |
# File 'sig/modern_treasury/models/legal_entity.rbs', line 672
def initialize: (?phone_number: String) -> void
|
Instance Attribute Details
#phone_number ⇒ String?
766 |
# File 'lib/modern_treasury/models/legal_entity.rb', line 766 optional :phone_number, String |
Instance Method Details
#to_hash ⇒ { phone_number: String }
674 |
# File 'sig/modern_treasury/models/legal_entity.rbs', line 674
def to_hash: -> { phone_number: String }
|