Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AirProducts ¶
type AirProducts struct { FareProducts []*FareProduct `json:"fareProducts"` Segments []*Segment `json:"segments"` }
type CurrencyPrice ¶
type CurrencyPrice struct {
TotalFareCents uint32 `json:"totalFareCents"`
}
type FareProduct ¶
type FareProduct struct { FareType string `json:"fareType"` CurrencyPrice *CurrencyPrice `json:"currencyPrice"` SeatsAvailable string `json:"seatsAvailable"` }
type ListFlightsResponse ¶
type ListFlightsResponse struct {
Trips []*Trip `json:"trips"`
}
type LocalDateTime ¶
func (*LocalDateTime) UnmarshalJSON ¶
func (l *LocalDateTime) UnmarshalJSON(value []byte) error
type Segment ¶
type Segment struct { OriginationAirportCode string `json:"originationAirportCode"` DestinationAirportCode string `json:"destinationAirportCode"` DepartureDateTime LocalDateTime `json:"departureDateTime"` ArrivalDateTime LocalDateTime `json:"arrivalDateTime"` }
type Trip ¶
type Trip struct {
AirProducts []*AirProducts `json:"airProducts"`
}
Click to show internal directories.
Click to hide internal directories.