Class: Straddle::Models::AccountSupportChannels
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::AccountSupportChannels
- Defined in:
- lib/straddle/models/account_support_channels.rb,
sig/straddle/models/account_support_channels.rbs
Instance Attribute Summary collapse
-
#email ⇒ String?
Email address for customer support.
-
#phone ⇒ String?
Customer support phone number in E.164 format.
-
#url ⇒ String?
URL of the business's customer support page or contact form.
Instance Method Summary collapse
-
#initialize(email: nil, phone: nil, url: nil) ⇒ AccountSupportChannels
constructor
A new instance of AccountSupportChannels.
- #to_hash ⇒ { email: String?, phone: String?, url: 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(email: nil, phone: nil, url: nil) ⇒ AccountSupportChannels
Returns a new instance of AccountSupportChannels.
|
|
# File 'lib/straddle/models/account_support_channels.rb', line 24
|
Instance Attribute Details
#email ⇒ String?
Email address for customer support.
10 |
# File 'lib/straddle/models/account_support_channels.rb', line 10 optional :email, String, nil?: true |
#phone ⇒ String?
Customer support phone number in E.164 format.
16 |
# File 'lib/straddle/models/account_support_channels.rb', line 16 optional :phone, String, nil?: true |
#url ⇒ String?
URL of the business's customer support page or contact form.
22 |
# File 'lib/straddle/models/account_support_channels.rb', line 22 optional :url, String, nil?: true |
Instance Method Details
#to_hash ⇒ { email: String?, phone: String?, url: String? }
15 |
# File 'sig/straddle/models/account_support_channels.rbs', line 15
def to_hash: -> { email: String?, phone: String?, url: String? }
|