Class: Lithic::Models::AsaRequestWebhookEvent::FleetInfo
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Lithic::Models::AsaRequestWebhookEvent::FleetInfo
- Defined in:
- lib/lithic/models/asa_request_webhook_event.rb
Overview
Defined Under Namespace
Modules: FleetPromptCode, FleetRestrictionCode
Instance Attribute Summary collapse
-
#driver_number ⇒ String?
Number representing the driver.
-
#fleet_prompt_code ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::FleetInfo::FleetPromptCode
Code indicating what the driver was prompted to enter at time of purchase.
-
#fleet_restriction_code ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::FleetInfo::FleetRestrictionCode
Code indicating which restrictions, if any, there are on purchase.
-
#vehicle_number ⇒ String?
Number associated with the vehicle.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(fleet_prompt_code:, fleet_restriction_code:, driver_number: nil, vehicle_number: nil) ⇒ Object
constructor
Some parameter documentations has been truncated, see FleetInfo for more details.
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(fleet_prompt_code:, fleet_restriction_code:, driver_number: nil, vehicle_number: nil) ⇒ Object
Some parameter documentations has been truncated, see Lithic::Models::AsaRequestWebhookEvent::FleetInfo for more details.
Optional Object containing information if the Card is a part of a Fleet managed program
|
|
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 517
|
Instance Attribute Details
#driver_number ⇒ String?
Number representing the driver
509 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 509 optional :driver_number, String, nil?: true |
#fleet_prompt_code ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::FleetInfo::FleetPromptCode
Code indicating what the driver was prompted to enter at time of purchase. This is configured at a program level and is a static configuration, and does not change on a request to request basis
494 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 494 required :fleet_prompt_code, enum: -> { Lithic::AsaRequestWebhookEvent::FleetInfo::FleetPromptCode } |
#fleet_restriction_code ⇒ Symbol, Lithic::Models::AsaRequestWebhookEvent::FleetInfo::FleetRestrictionCode
Code indicating which restrictions, if any, there are on purchase. This is configured at a program level and is a static configuration, and does not change on a request to request basis
502 503 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 502 required :fleet_restriction_code, enum: -> { Lithic::AsaRequestWebhookEvent::FleetInfo::FleetRestrictionCode } |
#vehicle_number ⇒ String?
Number associated with the vehicle
515 |
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 515 optional :vehicle_number, String, nil?: true |
Class Method Details
.values ⇒ Array<Symbol>
|
|
# File 'lib/lithic/models/asa_request_webhook_event.rb', line 544
|