Documentation
¶
Index ¶
- Constants
- type Account
- type ActionType
- type Actions
- type Age
- type AgentUserSender
- type AirDocDisplayRS
- type AirDocIssueRQ
- type AirDocVoidRQ
- type AirDocVoidRS
- type AirShoppingRQ
- type AirShoppingRS
- type Aircraft
- type AirlineOffer
- type AirlineOffers
- type AllowableBag
- type AllowanceDescription
- type Amount
- type Amounts
- type AnonymousTravelerList
- type ApplicableFlight
- type AssociatedID
- type AssociatedIDs
- type AssociatedTraveler
- type Associations
- type AvailablePeriod
- type BagDetailAssociation
- type BaseAmount
- type BaseFare
- type Body
- type BookingReference
- type BookingReferences
- type Breakdown
- type Cabin
- type CabinFlightSegment
- type Cabins
- type CalendarDates
- type Carrier
- type Characteristic
- type CheckedBagAllowance
- type CheckedBagAllowanceList
- type ClassOfService
- type Code
- type Commission
- type Contact
- type Contacts
- type CoreQuery
- type CouponInfo
- type CouponValid
- type CurrCodes
- type CurrencyAmountValue
- type DataList
- type DataLists
- type Description
- type Descriptions
- type Detail
- type DetailCurrencyPrice
- type DetailTicketPrice
- type DetailedFlightItem
- type Details
- type DetailsPrice
- type DetailsTicketPrice
- type DetalPrice
- type Discount
- type Document
- type EffectiveDatePeriod
- type EmailContact
- type Endorsements
- type Envelope
- func MakeAirDocIssueRQ() (request *Envelope)
- func MakeAirDocVoidRQ(agentSender *AgentUserSender, ticketNbr, ticketType string) (request *Envelope)
- func MakeItinReshopRQ(actionType *ActionType) (request *Envelope)
- func MakeOrderCancelRQ(agentSender *AgentUserSender, pnr, airline string) (request *Envelope)
- func MakeSessionAirShoppingRQ() (request *Envelope)
- func MakeSessionBookRQ() (request *Envelope)
- type Equipment
- type Error
- type Errors
- type FQTVs
- type Fare
- type FareBasis
- type FareBasisCode
- type FareCode
- type FareComponent
- type FareDetail
- type FareFiledIn
- type FareGroup
- type FareIndicatorCode
- type FareInfo
- type FareList
- type FareRules
- type Fees
- type Flight
- type FlightDetail
- type FlightDuration
- type FlightItem
- type FlightList
- type FlightPreferences
- type FlightSegment
- type FlightSegmentList
- type FlightSegmentReference
- type Header
- type Instruction
- type InstructionsList
- type IssuingAirlineInfo
- type ItinReshopRQ
- type ItinReshopRS
- type Metadata
- type Name
- type Offer
- type OfferDetailAssociation
- type OfferID
- type OfferItem
- type OfferItemID
- type OfferItemType
- type OfferItems
- type OfferPrice
- type Offers
- type OffersGroup
- type OperatingCarrier
- type Order
- type OrderCancelRQ
- type OrderCancelRS
- type OrderCreateRQ
- type OrderItem
- type OrderItems
- type OrderItemsRS
- type OrderViewRS
- type OriginDestination
- type OriginDestinationDemand
- type OriginDestinationFlight
- type OriginDestinationList
- type OriginDestinationRS
- type OriginDestinations
- type Other
- type OtherAssociation
- type OtherAssociations
- type OtherID
- type OtherIDs
- type OtherMetadata
- type PTC
- type Parameters
- type ParametersRS
- type Party
- type PassengerDocument
- type PassengerIDInfo
- type Passengers
- type Payment
- type PaymentTimeLimit
- type Payments
- type Penalty
- type PenaltyList
- type Period
- type PhoneContact
- type PhoneNumber
- type PieceAllowance
- type PieceMeasurements
- type Point
- type Preference
- type Preferences
- type Price
- type PriceBreakdown
- type PriceClass
- type PriceClassList
- type PriceDetail
- type PricedOffer
- type Qualifier
- type Qualifiers
- type Query
- type QueryAirVoid
- type QueryOrderCancel
- type ReShopOffer
- type ReShopOffers
- type Remarks
- type RequestedDate
- type Reshop
- type Response
- type ResponseAirDocVoid
- type ResponseOrderCancel
- type RuleMetadata
- type RuleMetadatas
- type Sender
- type Service
- type ServiceFilter
- type ServiceFilters
- type ServiceList
- type ShoppingResponse
- type ShoppingResponseIDs
- type SoldAirlineInfo
- type SpecialBookingInstruction
- type SpecialFareQualifiers
- type Status
- type StatusCode
- type StopLocation
- type Stops
- type Surcharge
- type Surcharges
- type Tax
- type Taxes
- type Term
- type Terminal
- type TermsList
- type TicketDesig
- type TicketDocInfo
- type TicketDocInfos
- type TicketDocument
- type TicketPrice
- type TicketedBaggageAllowance
- type Ticketing
- type TicketingTimeLimits
- type TimeLimits
- type Total
- type TotalAmount
- type TotalPrice
- type Traveler
- type TravelerDoc
- type TravelerFQTVInformation
- type TravelerInfo
- type Travelers
- type Type
- type UnstructuredFareCalcInfo
- type User
- type ValueUOM
- type WeightAllowance
Constants ¶
View Source
const ( FilterGroupCircuityLimit = "circuityLimit" FilterGroupDurationLimit = "durationLimit" FilterGroupSearchMetric = "searchMetric" FilterGroupSort = "sort" )
View Source
const ( FilterSubgroupQuickest = "QUICKEST" FilterSubgroupMostConvenient = "MOST-CONVENIENT" FilterSubgroupCheapest = "CHEAPEST" FilterSubgroupLeisure = "LEISURE" FilterSubgroupBusiness = "BUSINESS" FilterSubgroupLuxury = "LUXURY" FilterSubgroupMinPrice = "MIN_PRICE" )
View Source
const ( ResultTypeSmartchoice = "smartchoice" ResultTypeLowfare = "lowfare" ResultTypeFlightinfo = "flightinfo" )
View Source
const ( PassengerTypeCodeAdult = "ADT" PassengerTypeCodeChild = "CHD" PassengerTypeCodeInfant = "INF" )
View Source
const ActionTypeContextDiscount = "discount"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionType ¶
type Actions ¶
type Actions struct { ActionType *ActionType OrderItems *OrderItems Passengers *Passengers Qualifiers *Qualifiers `xml:",omitempty"` }
type AgentUserSender ¶
type AgentUserSender struct { OtherIDs *OtherIDs PseudoCity string AgentUserID string UserRole string }
func MakeAgentUserSender ¶
func MakeAgentUserSender(airportCode, erspUserID, isoCountry, requestorID, requestorType, pseudoCity, agentUserID, userRole string) *AgentUserSender
type AirDocDisplayRS ¶
type AirDocIssueRQ ¶
type AirDocVoidRQ ¶
type AirDocVoidRS ¶
type AirDocVoidRS struct { Version string `xml:"Version,attr"` Document *Document Success bool Response *ResponseAirDocVoid Errors *Errors }
type AirShoppingRQ ¶
type AirShoppingRQ struct { XMLName xml.Name `xml:"http://www.iata.org/IATA/EDIST AirShoppingRQ"` Version string `xml:"Version,attr"` Document *Document Party *Party Parameters *Parameters `xml:",omitempty"` Travelers *Travelers CoreQuery *CoreQuery Qualifiers *Qualifiers `xml:",omitempty"` Preferences *Preferences `xml:",omitempty"` Metadata *Metadata `xml:",omitempty"` }
type AirShoppingRS ¶
type AirShoppingRS struct { Version string `xml:"Version,attr"` Document *Document ShoppingResponseIDs *ShoppingResponseIDs OffersGroup *OffersGroup DataLists *DataLists Metadata *Metadata Errors *Errors }
type AirlineOffer ¶
type AirlineOffer struct { OfferID *OfferID TotalPrice *TotalPrice PricedOffer *PricedOffer }
type AirlineOffers ¶
type AirlineOffers struct { TotalOfferQuantity int Owner string AirlineOffer []*AirlineOffer }
type AllowableBag ¶
type AllowanceDescription ¶
type AllowanceDescription struct { ApplicableParty string Descriptions *Descriptions }
type Amount ¶
type Amount struct { CurrencyAmountValue *CurrencyAmountValue AmountApplication string }
type AnonymousTravelerList ¶
type AnonymousTravelerList struct {
AnonymousTraveler []*User
}
type ApplicableFlight ¶
type ApplicableFlight struct { OriginDestinationReferences string `xml:",omitempty"` FlightReferences string `xml:",omitempty"` FlightSegmentReference []*FlightSegmentReference `xml:",omitempty"` }
type AssociatedID ¶
type AssociatedID struct {
OfferItemID *OfferItemID
}
type AssociatedIDs ¶
type AssociatedIDs struct {
AssociatedID *AssociatedID
}
type AssociatedTraveler ¶
type AssociatedTraveler struct {
TravelerReferences string
}
type Associations ¶
type Associations struct { AssociatedTraveler *AssociatedTraveler `xml:",omitempty"` ApplicableFlight *ApplicableFlight `xml:",omitempty"` OfferDetailAssociation *OfferDetailAssociation `xml:",omitempty"` OtherAssociation *OtherAssociations `xml:",omitempty"` Passengers *Passengers `xml:",omitempty"` }
type AvailablePeriod ¶
type BagDetailAssociation ¶
type BagDetailAssociation struct {
CheckedBagReferences string
}
type BaseAmount ¶
type Body ¶
type Body struct { AirShoppingRQ *AirShoppingRQ `xml:",omitempty"` AirShoppingRS *AirShoppingRS `xml:",omitempty"` OrderCreateRQ *OrderCreateRQ `xml:",omitempty"` OrderViewRS *OrderViewRS `xml:",omitempty"` ItinReshopRQ *ItinReshopRQ `xml:",omitempty"` ItinReshopRS *ItinReshopRS `xml:",omitempty"` AirDocIssueRQ *AirDocIssueRQ `xml:",omitempty"` AirDocDisplayRS *AirDocDisplayRS `xml:",omitempty"` OrderCancelRQ *OrderCancelRQ `xml:",omitempty"` OrderCancelRS *OrderCancelRS `xml:",omitempty"` AirDocVoidRQ *AirDocVoidRQ `xml:",omitempty"` AirDocVoidRS *AirDocVoidRS `xml:",omitempty"` }
type BookingReference ¶
type BookingReferences ¶
type BookingReferences struct {
BookingReference []*BookingReference
}
type CabinFlightSegment ¶
type CalendarDates ¶
type Carrier ¶
type Carrier struct { AirlineID string `xml:",omitempty"` Name string `xml:",omitempty"` FlightNumber string `xml:",omitempty"` }
func MakeCarrier ¶
type Characteristic ¶
type Characteristic struct {
DirectPreferences string
}
type CheckedBagAllowance ¶
type CheckedBagAllowance struct { Reference string `xml:"refs,attr,omitempty"` ID string `xml:"ListKey,attr,omitempty"` WeightAllowance *WeightAllowance `xml:",omitempty"` AllowanceDescription *AllowanceDescription `xml:",omitempty"` PieceAllowance *PieceAllowance `xml:",omitempty"` }
type CheckedBagAllowanceList ¶
type CheckedBagAllowanceList struct {
CheckedBagAllowance []*CheckedBagAllowance
}
type ClassOfService ¶
func MakeClassOfService ¶
func MakeClassOfService(seat int, value, name string) *ClassOfService
type Commission ¶
type Contact ¶
type Contact struct { EmailContact *EmailContact `xml:",omitempty"` PhoneContact *PhoneContact `xml:",omitempty"` }
func MakeContact ¶
type CoreQuery ¶
type CoreQuery struct { OriginDestinations *OriginDestinations `xml:",omitempty"` ShoppingResponseIDs *ShoppingResponseIDs `xml:",omitempty"` }
type CouponInfo ¶
type CouponInfo struct { CouponNumber int FareBasisCode *StatusCode CouponValid *CouponValid Status *StatusCode SoldAirlineInfo *SoldAirlineInfo }
type CouponValid ¶
type CouponValid struct {
EffectiveDatePeriod *EffectiveDatePeriod
}
type CurrencyAmountValue ¶
type DataList ¶
type DataList struct { CheckedBagAllowanceList *CheckedBagAllowanceList TermsList *TermsList }
type DataLists ¶
type DataLists struct { AnonymousTravelerList *AnonymousTravelerList `xml:",omitempty"` CheckedBagAllowanceList *CheckedBagAllowanceList `xml:",omitempty"` FareList *FareList `xml:",omitempty"` FlightSegmentList *FlightSegmentList `xml:",omitempty"` FlightList *FlightList `xml:",omitempty"` OriginDestinationList *OriginDestinationList `xml:",omitempty"` PenaltyList *PenaltyList `xml:",omitempty"` PriceClassList *PriceClassList `xml:",omitempty"` InstructionsList *InstructionsList `xml:",omitempty"` ServiceList *ServiceList `xml:",omitempty"` TermsList *TermsList `xml:",omitempty"` }
type Description ¶
type Description struct {
Text string
}
type Descriptions ¶
type Descriptions struct {
Description []*Description
}
type DetailCurrencyPrice ¶
type DetailCurrencyPrice struct { Total *Total Details *DetailsPrice Fees *Fees Taxes *Taxes }
type DetailTicketPrice ¶
type DetailedFlightItem ¶
type DetailedFlightItem struct {
OriginDestination []*OriginDestinationFlight
}
type DetailsPrice ¶
type DetailsPrice struct {
Detail *DetalPrice
}
type DetailsTicketPrice ¶
type DetailsTicketPrice struct {
Detail []*DetailTicketPrice
}
type DetalPrice ¶
type EffectiveDatePeriod ¶
type EffectiveDatePeriod struct {
Expiration string
}
type EmailContact ¶
type EmailContact struct {
Address string
}
type Endorsements ¶
type Endorsements struct {
Endorsement []string
}
type Envelope ¶
type Envelope struct { XMLName xml.Name `xml:"http://schemas.xmlsoap.org/soap/envelope/ Envelope"` Header *Header Body *Body }
func MakeAirDocIssueRQ ¶
func MakeAirDocIssueRQ() (request *Envelope)
func MakeAirDocVoidRQ ¶
func MakeAirDocVoidRQ(agentSender *AgentUserSender, ticketNbr, ticketType string) (request *Envelope)
func MakeItinReshopRQ ¶
func MakeItinReshopRQ(actionType *ActionType) (request *Envelope)
func MakeOrderCancelRQ ¶
func MakeOrderCancelRQ(agentSender *AgentUserSender, pnr, airline string) (request *Envelope)
func MakeSessionAirShoppingRQ ¶
func MakeSessionAirShoppingRQ() (request *Envelope)
func MakeSessionBookRQ ¶
func MakeSessionBookRQ() (request *Envelope)
type Equipment ¶
func MakeEquipment ¶
type FQTVs ¶
type FQTVs struct {
TravelerFQTVInformation *TravelerFQTVInformation `xml:"TravelerFQTV_Information"`
}
type Fare ¶
type Fare struct { FareCode *FareCode FareDetail *FareDetail }
type FareBasis ¶
type FareBasis struct { FareBasisCode *FareBasisCode `xml:",omitempty"` RBD string `xml:",omitempty"` }
type FareBasisCode ¶
type FareComponent ¶
type FareComponent struct { Reference string `xml:"refs,attr,omitempty"` ID string `xml:"ObjectKey,attr,omitempty"` SegmentReference string `xml:",omitempty"` Parameters *ParametersRS `xml:",omitempty"` PriceBreakdown *PriceBreakdown `xml:",omitempty"` FareBasis *FareBasis `xml:",omitempty"` TicketDesig *TicketDesig `xml:",omitempty"` FareRules *FareRules `xml:",omitempty"` }
type FareDetail ¶
type FareDetail struct { FareIndicatorCode *FareIndicatorCode `xml:",omitempty"` PriceClassReference string `xml:",omitempty"` FareComponent []*FareComponent `xml:",omitempty"` Remarks *Remarks `xml:",omitempty"` }
type FareFiledIn ¶
type FareFiledIn struct { BaseAmount *BaseAmount ExchangeRate float64 `xml:",omitempty"` }
type FareGroup ¶
type FareGroup struct { Refs string `xml:"refs,attr,omitempty"` ID string `xml:"ListKey,attr"` Fare *Fare FareBasisCode *FareBasisCode }
type FareIndicatorCode ¶
type FareIndicatorCode struct {
Code string
}
type FareInfo ¶
type FareInfo struct { BaseFare *BaseFare Total *BaseFare Taxes *Taxes UnstructuredFareCalcInfo *UnstructuredFareCalcInfo }
type FlightDetail ¶
type FlightDetail struct { FlightDistance *ValueUOM FlightDuration *FlightDuration Stops *Stops `xml:",omitempty"` }
type FlightDuration ¶
type FlightDuration struct {
Value string
}
type FlightItem ¶
type FlightItem struct { Reference string `xml:"refs,attr,omitempty"` OriginDestination []*OriginDestinationFlight FareDetail *FareDetail }
type FlightList ¶
type FlightList struct {
Flight []*Flight
}
type FlightPreferences ¶
type FlightPreferences struct { Aircraft *Aircraft Characteristic *Characteristic }
type FlightSegment ¶
type FlightSegment struct { SegmentKey string `xml:",attr"` Departure *Point Arrival *Point MarketingCarrier *Carrier OperatingCarrier *Carrier Equipment *Equipment ClassOfService *ClassOfService FlightDetail *FlightDetail }
type FlightSegmentList ¶
type FlightSegmentList struct {
FlightSegment []*FlightSegment
}
type FlightSegmentReference ¶
type FlightSegmentReference struct { Reference string `xml:"ref,attr"` ClassOfService *ClassOfService Cabin *CabinFlightSegment BagDetailAssociation *BagDetailAssociation }
type Instruction ¶
type Instruction struct { ListKey string `xml:",attr,omitempty"` SpecialBookingInstruction *SpecialBookingInstruction }
type InstructionsList ¶
type InstructionsList struct {
Instruction []*Instruction
}
type IssuingAirlineInfo ¶
type IssuingAirlineInfo struct {
AirlineName string
}
type ItinReshopRQ ¶
type ItinReshopRS ¶
type Name ¶
type Offer ¶
type Offer struct { OfferID *OfferID OfferItems *OfferItems }
type OfferDetailAssociation ¶
type OfferID ¶
func MakeOfferID ¶
type OfferItem ¶
type OfferItem struct { OfferItemID *OfferID `xml:",omitempty"` Passengers *Passengers `xml:",omitempty"` OfferItemType *OfferItemType `xml:",omitempty"` ApplicableFlight *ApplicableFlight `xml:",omitempty"` }
type OfferItemID ¶
type OfferItemType ¶
type OfferItemType struct {
DetailedFlightItem *DetailedFlightItem
}
type OfferItems ¶
type OfferItems struct { OfferItem []*OfferItem ApplicableFlight *ApplicableFlight }
type OfferPrice ¶
type OfferPrice struct { OfferItemID string `xml:",attr"` RequestedDate *RequestedDate FareDetail *FareDetail }
type OffersGroup ¶
type OffersGroup struct {
AirlineOffers *AirlineOffers
}
type OperatingCarrier ¶
type OperatingCarrier struct {
ResBookDesigCode string
}
type Order ¶
type Order struct { OrderID *OfferID BookingReferences *BookingReferences TimeLimits *TimeLimits OrderItems *OrderItemsRS }
type OrderCancelRQ ¶
type OrderCancelRS ¶
type OrderCancelRS struct { Version string `xml:"Version,attr"` Document *Document Success bool Response *ResponseOrderCancel Errors *Errors }
type OrderCreateRQ ¶
type OrderItem ¶
type OrderItem struct { OrderItemID *OfferID FlightItem *FlightItem Associations *Associations }
type OrderItems ¶
type OrderItems struct { DataLists *DataLists ShoppingResponse *ShoppingResponse OrderItem *OrderItem `xml:",omitempty"` OfferItem *OfferItem `xml:",omitempty"` }
type OrderItemsRS ¶
type OrderItemsRS struct {
OrderItem []*OrderItem
}
type OrderViewRS ¶
type OriginDestination ¶
type OriginDestination struct { Reference string `xml:"refs,attr,omitempty"` SegmentKey string `xml:",omitempty"` Status *Status `xml:",omitempty"` Departure *Point `xml:",omitempty"` Arrival *Point `xml:",omitempty"` MarketingCarrier *Carrier `xml:",omitempty"` OperatingCarrier *Carrier `xml:",omitempty"` CalendarDates *CalendarDates `xml:",omitempty"` Equipment *Equipment `xml:",omitempty"` CabinType *StatusCode `xml:",omitempty"` ClassOfService *ClassOfService `xml:",omitempty"` Flight *Flight `xml:",omitempty"` }
func MakeOriginDestination ¶
type OriginDestinationDemand ¶
type OriginDestinationFlight ¶
type OriginDestinationFlight struct { OriginDestinationKey string `xml:",omitempty"` Flight []*OriginDestination }
type OriginDestinationList ¶
type OriginDestinationList struct {
OriginDestination []*OriginDestinationRS
}
type OriginDestinationRS ¶
type OriginDestinations ¶
type OriginDestinations struct {
OriginDestination []*OriginDestination
}
type Other ¶
type Other struct { OtherMetadata *OtherMetadata `xml:",omitempty"` Remarks *Remarks `xml:",omitempty"` }
type OtherAssociation ¶
type OtherAssociations ¶
type OtherAssociations struct {
OtherAssociation []*OtherAssociation
}
type OtherMetadata ¶
type OtherMetadata struct {
RuleMetadatas *RuleMetadatas
}
type Parameters ¶
type Parameters struct { ServiceFilters *ServiceFilters `xml:",omitempty"` CurrCodes *CurrCodes `xml:",omitempty"` }
type ParametersRS ¶
type ParametersRS struct {
Quantity int `xml:",attr"`
}
type PassengerDocument ¶
type PassengerIDInfo ¶
type PassengerIDInfo struct {
PassengerDocument *PassengerDocument
}
type Passengers ¶
type PaymentTimeLimit ¶
type PaymentTimeLimit struct {
DateTime string `xml:",attr"`
}
func (*PaymentTimeLimit) GetDate ¶
func (l *PaymentTimeLimit) GetDate() time.Time
type PenaltyList ¶
type PenaltyList struct {
Penalty []*Penalty
}
type PhoneContact ¶
type PhoneContact struct {
Number PhoneNumber
}
type PhoneNumber ¶
type PieceAllowance ¶
type PieceAllowance struct { ApplicableParty string TotalQuantity int Descriptions *Descriptions PieceMeasurements *PieceMeasurements }
type PieceMeasurements ¶
type PieceMeasurements struct {
Quantity int `xml:",attr"`
}
type Point ¶
type Point struct { AirportCode string Date string `xml:",omitempty"` Time string `xml:",omitempty"` Terminal *Terminal `xml:",omitempty"` }
func (*Point) GetDateISO ¶
func (*Point) GetTerminal ¶
type Preference ¶
type Preference struct {
FlightPreferences *FlightPreferences
}
func MakePreference ¶
func MakePreference(businessCabinOnly, directPreferences string) *Preference
type Preferences ¶
type Preferences struct {
Preference []*Preference
}
type Price ¶
type Price struct { BaseAmount *Total FareFiledIn *FareFiledIn Taxes *Taxes }
type PriceBreakdown ¶
type PriceBreakdown struct {
Price *Price
}
type PriceClass ¶
type PriceClass struct { ID string `xml:"ObjectKey,attr"` Name string FareBasisCode *FareBasisCode ClassOfService *ClassOfService }
type PriceClassList ¶
type PriceClassList struct {
PriceClass []*PriceClass
}
type PriceDetail ¶
type PriceDetail struct { TotalAmount *TotalAmount BaseAmount *Total FareFiledIn *FareFiledIn Surcharges *Surcharges Discount *Discount Taxes *Taxes }
type PricedOffer ¶
type PricedOffer struct {
OfferPrice []*OfferPrice
}
type Qualifier ¶
type Qualifier struct {
SpecialFareQualifiers *SpecialFareQualifiers
}
func MakeQualifier ¶
type Qualifiers ¶
type Qualifiers struct {
Qualifier []*Qualifier
}
type Query ¶
type Query struct { Passengers *Passengers OrderItems *OrderItems TicketDocQuantity int `xml:",omitempty"` TicketDocInfo []*TicketDocInfo `xml:",omitempty"` DataLists *DataLists Reshop *Reshop `xml:",omitempty"` }
type QueryAirVoid ¶
type QueryAirVoid struct { TicketDocQuantity int TicketDocument *TicketDocument }
type QueryOrderCancel ¶
type QueryOrderCancel struct {
BookingReferences *BookingReferences
}
type ReShopOffer ¶
type ReShopOffer struct { ID string `xml:"ObjectKey,attr"` OfferID *OfferID TotalPrice *TotalPrice ReShopPricedOffer *PricedOffer }
type ReShopOffers ¶
type ReShopOffers struct {
ReShopOffer []*ReShopOffer
}
type RequestedDate ¶
type RequestedDate struct { PriceDetail *PriceDetail Associations []*Associations }
type Response ¶
type Response struct { Passengers *Passengers Order *Order ReShopOffers *ReShopOffers DataList *DataList TicketDocInfos *TicketDocInfos }
type ResponseAirDocVoid ¶
type ResponseAirDocVoid struct {
TicketDocument *TicketDocument
}
type ResponseOrderCancel ¶
type RuleMetadata ¶
type RuleMetadatas ¶
type RuleMetadatas struct {
RuleMetadata []*RuleMetadata
}
type Sender ¶
type Sender struct {
AgentUserSender *AgentUserSender
}
type Service ¶
type Service struct { ID string `xml:"ObjectKey,attr"` ServiceID *OfferID `xml:",omitempty"` Name string `xml:",omitempty"` TimeLimits *TimeLimits `xml:",omitempty"` Descriptions *Descriptions `xml:",omitempty"` }
type ServiceFilter ¶
func MakeServiceFilter ¶
func MakeServiceFilter(group, subGroup string) *ServiceFilter
type ServiceFilters ¶
type ServiceFilters struct {
ServiceFilter []*ServiceFilter `xml:",omitempty"`
}
func MakeServiceFilters ¶
func MakeServiceFilters(params map[string]string) *ServiceFilters
type ServiceList ¶
type ServiceList struct {
Service []*Service
}
type ShoppingResponse ¶
type ShoppingResponseIDs ¶
type ShoppingResponseIDs struct { ResponseID string AssociatedIDs *AssociatedIDs }
func MakeShoppingResponseIDs ¶
func MakeShoppingResponseIDs(owner, itemID string) *ShoppingResponseIDs
type SoldAirlineInfo ¶
type SoldAirlineInfo struct { Departure *Point Arrival *Point OperatingCarrier *OperatingCarrier MarketingCarrier *Carrier TicketedBaggageAllowance *TicketedBaggageAllowance }
type SpecialFareQualifiers ¶
type Status ¶
type Status struct {
StatusCode *StatusCode
}
type StatusCode ¶
type StatusCode struct {
Code string
}
type StopLocation ¶
type StopLocation struct { AirportCode string ArrivalDate string ArrivalTime string DepartureDate string DepartureTime string GroundTime string }
func (*StopLocation) GetArrivalDate ¶
func (l *StopLocation) GetArrivalDate() time.Time
func (*StopLocation) GetDepartureDate ¶
func (l *StopLocation) GetDepartureDate() time.Time
type Stops ¶
type Stops struct { StopQuantity int StopLocations []*StopLocation }
type Surcharges ¶
type Surcharges struct {
Surcharge *Surcharge
}
type Term ¶
type Term struct { Reference string `xml:"refs,attr,omitempty"` ID string `xml:"ObjectKey,attr,omitempty"` AvailablePeriod *AvailablePeriod }
type TicketDesig ¶
type TicketDocInfo ¶
type TicketDocInfo struct { TravelerInfo *TravelerInfo Traveler *TravelerDoc `xml:",omitempty"` IssuingAirlineInfo *IssuingAirlineInfo `xml:",omitempty"` BookingReference *BookingReference BookingReferences *BookingReferences `xml:",omitempty"` Payments *Payments OriginDestination *OriginDestinationDemand `xml:",omitempty"` FareInfo *FareInfo `xml:",omitempty"` TicketDocument *TicketDocument `xml:",omitempty"` Price *TicketPrice `xml:",omitempty"` Commission *Commission `xml:",omitempty"` PassengerSpecificData string `xml:",omitempty"` }
type TicketDocInfos ¶
type TicketDocInfos struct {
TicketDocInfo []*TicketDocInfo `xml:",omitempty"`
}
type TicketDocument ¶
type TicketDocument struct { TicketDocNbr string Type *Type NumberofBooklets int `xml:",omitempty"` DateOfIssue string `xml:",omitempty"` CouponInfo []*CouponInfo `xml:",omitempty"` }
type TicketPrice ¶
type TicketPrice struct { Total *Total Details *DetailsTicketPrice }
type TicketedBaggageAllowance ¶
type TicketedBaggageAllowance struct {
AllowableBag *AllowableBag
}
type Ticketing ¶
type Ticketing struct {
Endorsements *Endorsements
}
type TicketingTimeLimits ¶
type TicketingTimeLimits struct {
Timestamp string `xml:",attr"`
}
type TimeLimits ¶
type TimeLimits struct { TicketingTimeLimits *TicketingTimeLimits `xml:",omitempty"` PaymentTimeLimit *PaymentTimeLimit `xml:",omitempty"` }
type TotalAmount ¶
type TotalAmount struct {
DetailCurrencyPrice *DetailCurrencyPrice
}
type TotalPrice ¶
type TotalPrice struct {
DetailCurrencyPrice *DetailCurrencyPrice
}
type TravelerDoc ¶
type TravelerFQTVInformation ¶
type TravelerFQTVInformation struct { AirlineID string `xml:",omitempty"` Account *Account `xml:",omitempty"` ProgramID string `xml:",omitempty"` }
func MakeTravelerFQTVInformation ¶
func MakeTravelerFQTVInformation(airlineID, account, programID string) *TravelerFQTVInformation
type TravelerInfo ¶
type UnstructuredFareCalcInfo ¶
type UnstructuredFareCalcInfo struct {
Info string
}
type User ¶
type User struct { ID string `xml:"ObjectKey,attr,omitempty"` PTC *PTC Age *Age `xml:",omitempty"` Name *Name `xml:",omitempty"` Contacts *Contacts `xml:",omitempty"` FQTVs *FQTVs `xml:",omitempty"` Gender string `xml:",omitempty"` PassengerIDInfo *PassengerIDInfo `xml:",omitempty"` Document *Document `xml:",omitempty"` }
type WeightAllowance ¶
type WeightAllowance struct { MaximumWeight *ValueUOM Descriptions *Descriptions }
Source Files
¶
Directories
¶
Path | Synopsis |
---|---|
example
|
|
air_shopping
command
|
|
book
command
|
|
demand_tickets
command
|
|
reprice
command
|
|
Click to show internal directories.
Click to hide internal directories.