Class: Straddle::Models::AccountIndustry
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::AccountIndustry
- Defined in:
- lib/straddle/models/account_industry.rb,
sig/straddle/models/account_industry.rbs
Instance Attribute Summary collapse
-
#category ⇒ String?
Industry category.
-
#mcc ⇒ String?
Merchant category code (MCC) that best describes the business.
-
#sector ⇒ String?
Business sector.
Instance Method Summary collapse
-
#initialize(category: nil, mcc: nil, sector: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see AccountIndustry for more details.
- #to_hash ⇒ { category: String?, mcc: String?, sector: 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(category: nil, mcc: nil, sector: nil) ⇒ Object
Some parameter documentations has been truncated, see Straddle::Models::AccountIndustry for more details.
|
|
# File 'lib/straddle/models/account_industry.rb', line 25
|
Instance Attribute Details
#category ⇒ String?
Industry category. Required when mcc is omitted.
10 |
# File 'lib/straddle/models/account_industry.rb', line 10 optional :category, String, nil?: true |
#mcc ⇒ String?
Merchant category code (MCC) that best describes the business. If omitted,
provide both sector and category.
17 |
# File 'lib/straddle/models/account_industry.rb', line 17 optional :mcc, String, nil?: true |
#sector ⇒ String?
Business sector. Required when mcc is omitted.
23 |
# File 'lib/straddle/models/account_industry.rb', line 23 optional :sector, String, nil?: true |
Instance Method Details
#to_hash ⇒ { category: String?, mcc: String?, sector: String? }
18 |
# File 'sig/straddle/models/account_industry.rbs', line 18 def to_hash: -> { category: String?, mcc: String?, sector: String? } |