AuthorizationFlight class final

flight_specs

Information about the flight that was purchased with this transaction.

Constructors

AuthorizationFlight({DateTime? departureAt, String? passengerName, bool? refundable, List<AuthorizationSegmentsItem>? segments, String? travelAgency})
flight_specs
const
AuthorizationFlight.fromJson(Object? json)
factory

Properties

departureAt DateTime?
final
hashCode int
The hash code for this object.
no setterinherited
passengerName String?
final
refundable bool?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
segments List<AuthorizationSegmentsItem>?
final
travelAgency String?
final

Methods

encodeWith<V>(Encoder<V> encoder) → V
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, Object?>
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

encode<V>(AuthorizationFlight instance, Encoder<V> encoder) → V