Class: Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Increase::Models::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service
- Defined in:
- lib/increase/models/transaction.rb
Defined Under Namespace
Modules: Category
Instance Attribute Summary collapse
-
#category ⇒ Symbol, ...
Category of the ancillary service.
-
#sub_category ⇒ String?
Sub-category of the ancillary service, free-form.
Instance Method Summary collapse
- #initialize(category: , sub_category: ) ⇒ Object constructor
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: , sub_category: ) ⇒ Object
|
|
# File 'lib/increase/models/transaction.rb', line 3521
|
Instance Attribute Details
#category ⇒ Symbol, ...
Category of the ancillary service.
3509 3510 3511 3512 3513 |
# File 'lib/increase/models/transaction.rb', line 3509 required :category, enum: -> { Increase::Transaction::Source::CardRefund::PurchaseDetails::Travel::Ancillary::Service::Category }, nil?: true |
#sub_category ⇒ String?
Sub-category of the ancillary service, free-form.
3519 |
# File 'lib/increase/models/transaction.rb', line 3519 required :sub_category, String, nil?: true |