Class: Lithic::Models::Transactions::Events::EnhancedData::Fleet
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::Transactions::Events::EnhancedData::Fleet
- Defined in:
- lib/lithic/models/transactions/events/enhanced_data.rb
Defined Under Namespace
Modules: ServiceType Classes: AmountTotals, Fuel
Instance Attribute Summary collapse
- #amount_totals ⇒ Lithic::Models::Transactions::Events::EnhancedData::Fleet::AmountTotals
-
#driver_number ⇒ String?
The driver number entered into the terminal at the time of sale, with leading zeros stripped.
- #fuel ⇒ Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel
-
#odometer ⇒ Integer?
The odometer reading entered into the terminal at the time of sale.
-
#service_type ⇒ Symbol, ...
The type of fuel service.
-
#vehicle_number ⇒ String?
The vehicle number entered into the terminal at the time of sale, with leading zeros stripped.
Class Method Summary collapse
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(discount: nil, gross_sale: nil, net_sale: nil) ⇒ Object
|
|
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 211
|
Instance Attribute Details
#amount_totals ⇒ Lithic::Models::Transactions::Events::EnhancedData::Fleet::AmountTotals
178 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 178 required :amount_totals, -> { Lithic::Transactions::Events::EnhancedData::Fleet::AmountTotals } |
#driver_number ⇒ String?
The driver number entered into the terminal at the time of sale, with leading zeros stripped.
190 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 190 optional :driver_number, String, nil?: true |
#fuel ⇒ Lithic::Models::Transactions::Events::EnhancedData::Fleet::Fuel
183 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 183 required :fuel, -> { Lithic::Transactions::Events::EnhancedData::Fleet::Fuel } |
#odometer ⇒ Integer?
The odometer reading entered into the terminal at the time of sale.
196 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 196 optional :odometer, Integer, nil?: true |
#service_type ⇒ Symbol, ...
The type of fuel service.
202 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 202 optional :service_type, enum: -> { Lithic::Transactions::Events::EnhancedData::Fleet::ServiceType } |
#vehicle_number ⇒ String?
The vehicle number entered into the terminal at the time of sale, with leading zeros stripped.
209 |
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 209 optional :vehicle_number, String, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/transactions/events/enhanced_data.rb', line 441
|