Class: Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile
- Defined in:
- lib/straddle/models/platform_created_v1_webhook_event.rb,
sig/straddle/models/platform_created_v1_webhook_event.rbs
Overview
Defined Under Namespace
Classes: Address, Industry, SupportChannels
Instance Attribute Summary collapse
- #address ⇒ Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::Address?
-
#description ⇒ String?
Description of the business.
- #industry ⇒ Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::Industry?
-
#legal_name ⇒ String?
Registered legal name of the business.
-
#name ⇒ String
Display name of the business.
-
#phone ⇒ String?
Primary phone number for the business.
- #support_channels ⇒ Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::SupportChannels?
-
#tax_id ⇒ String?
Tax identification number of the business.
-
#use_case ⇒ String?
Description of how the business uses Straddle.
-
#website ⇒ String
URL of the business website.
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(category: nil, mcc: nil, sector: nil) ⇒ Object
|
|
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 247
|
Instance Attribute Details
#address ⇒ Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::Address?
204 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 204 optional :address, -> { Straddle::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::Address } |
#description ⇒ String?
Description of the business.
210 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 210 optional :description, String, nil?: true |
#industry ⇒ Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::Industry?
215 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 215 optional :industry, -> { Straddle::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::Industry } |
#legal_name ⇒ String?
Registered legal name of the business.
221 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 221 optional :legal_name, String, nil?: true |
#name ⇒ String
Display name of the business.
193 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 193 required :name, String |
#phone ⇒ String?
Primary phone number for the business.
227 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 227 optional :phone, String, nil?: true |
#support_channels ⇒ Straddle::Models::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::SupportChannels?
232 233 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 232 optional :support_channels, -> { Straddle::PlatformCreatedV1WebhookEvent::Data::BusinessProfile::SupportChannels } |
#tax_id ⇒ String?
Tax identification number of the business.
239 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 239 optional :tax_id, String, nil?: true |
#use_case ⇒ String?
Description of how the business uses Straddle.
245 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 245 optional :use_case, String, nil?: true |
#website ⇒ String
URL of the business website.
199 |
# File 'lib/straddle/models/platform_created_v1_webhook_event.rb', line 199 required :website, String |
Instance Method Details
#to_hash ⇒ {
232 |
# File 'sig/straddle/models/platform_created_v1_webhook_event.rbs', line 232
def to_hash: -> {
|