fare_checkrules

package
Version: v0.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 20, 2019 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AdditionalFareDetails

type AdditionalFareDetails struct {
	RateClass string `xml:"rateClass,omitempty"` // minOccurs="0"

	CommodityCategory string `xml:"commodityCategory,omitempty"` // minOccurs="0"

	PricingGroup string `xml:"pricingGroup,omitempty"` // minOccurs="0"

	SecondRateClass []string `xml:"secondRateClass,omitempty"` // minOccurs="0" maxOccurs="29"
}

type AvailCabinConf

type AvailCabinConf struct {
	ProductDetailsQualifier string `xml:"productDetailsQualifier,omitempty"` // minOccurs="0"

	BookingClassDetails []*BookingClassDetails `xml:"bookingClassDetails"` // maxOccurs="26"
}

type AvailcabinStatus

type AvailcabinStatus struct {
	ProductDetailsQualifier string `xml:"productDetailsQualifier,omitempty"` // minOccurs="0"

	BookingClassDetails []*BookingClassDetails `xml:"bookingClassDetails"` // maxOccurs="26"
}

type BookingClassDetails

type BookingClassDetails struct {
	Designator string `xml:"designator"`

	Option []string `xml:"option,omitempty"` // minOccurs="0" maxOccurs="3"
}

type CompanyDetails

type CompanyDetails struct {
	MarketingCompany string `xml:"marketingCompany,omitempty"` // minOccurs="0"

	Operatingcompany string `xml:"operatingcompany,omitempty"` // minOccurs="0"

	OtherCompany string `xml:"otherCompany,omitempty"` // minOccurs="0"
}

type CompanyIdentification

type CompanyIdentification struct {
	MarketingCompany string `xml:"marketingCompany,omitempty"` // minOccurs="0"

	Operatingcompany string `xml:"operatingcompany,omitempty"` // minOccurs="0"

	OtherCompany string `xml:"otherCompany,omitempty"` // minOccurs="0"
}

type ConversionRate

type ConversionRate struct {
	ConversionRateDetails *ConversionRateDetails `xml:"conversionRateDetails"`

	OtherConvRateDetails []*OtherConvRateDetails `xml:"otherConvRateDetails,omitempty"` // minOccurs="0" maxOccurs="19"
}

type ConversionRateDetails

type ConversionRateDetails struct {
	ConversionType string `xml:"conversionType,omitempty"` // minOccurs="0"

	Currency string `xml:"currency,omitempty"` // minOccurs="0"

	RateType string `xml:"rateType,omitempty"` // minOccurs="0"

	PricingAmount *float64 `xml:"pricingAmount,omitempty"` // minOccurs="0"

	ConvertedValueAmount *float64 `xml:"convertedValueAmount,omitempty"` // minOccurs="0"

	DutyTaxFeeType string `xml:"dutyTaxFeeType,omitempty"` // minOccurs="0"

	MeasurementValue *float64 `xml:"measurementValue,omitempty"` // minOccurs="0"

	MeasurementSignificance string `xml:"measurementSignificance,omitempty"` // minOccurs="0"
}

type CorporateId

type CorporateId struct {
	CorporateQualifier string `xml:"corporateQualifier"`

	Identity []string `xml:"identity"` // maxOccurs="9"
}

type DateAndTimeDetails

type DateAndTimeDetails struct {
	Qualifier string `xml:"qualifier,omitempty"` // minOccurs="0"

	Date *float64 `xml:"date,omitempty"` // minOccurs="0"
}

type DateFlightMovement

type DateFlightMovement struct {
	DateAndTimeDetails []*DateAndTimeDetails `xml:"dateAndTimeDetails,omitempty"` // minOccurs="0" maxOccurs="99"
}

type DateOfFlight

type DateOfFlight struct {
	DateAndTimeDetails []*DateAndTimeDetails `xml:"dateAndTimeDetails,omitempty"` // minOccurs="0" maxOccurs="99"
}

type DetailsOfFare

type DetailsOfFare struct {
	FareTypeGrouping *FareTypeGrouping `xml:"fareTypeGrouping,omitempty"` // minOccurs="0"
}

type DiscountDetails

type DiscountDetails struct {
	FareQualifier string `xml:"fareQualifier"`

	RateCategory string `xml:"rateCategory,omitempty"` // minOccurs="0"

	Amount *float64 `xml:"amount,omitempty"` // minOccurs="0"

	Percentage *float64 `xml:"percentage,omitempty"` // minOccurs="0"
}

type Fare

type Fare struct {
	DetailsOfFare *DetailsOfFare `xml:"detailsOfFare"`

	FareQualificationDetails []*FareQualificationDetails `xml:"fareQualificationDetails,omitempty"` // minOccurs="0" maxOccurs="99"
}

type FareCategories

type FareCategories struct {
	FareType string `xml:"fareType"`

	OtherFareType []string `xml:"otherFareType,omitempty"` // minOccurs="0" maxOccurs="8"
}

type FareCheckRules

type FareCheckRules struct {
	XMLName xml.Name `xml:"http://xml.amadeus.com/FARQNQ_07_1_1A Fare_CheckRules"`

	MsgType *MsgType `xml:"msgType"`

	AvailcabinStatus *AvailcabinStatus `xml:"availcabinStatus,omitempty"` // minOccurs="0"

	ConversionRate *ConversionRate `xml:"conversionRate,omitempty"` // minOccurs="0"

	PricingTickInfo *PricingTickInfo `xml:"pricingTickInfo,omitempty"` // minOccurs="0"

	MultiCorporate *MultiCorporate `xml:"multiCorporate,omitempty"` // minOccurs="0"

	ItemNumber *ItemNumber `xml:"itemNumber,omitempty"` // minOccurs="0"

	DateOfFlight *DateOfFlight `xml:"dateOfFlight,omitempty"` // minOccurs="0"

	FlightQualification []*FlightQualification `xml:"flightQualification,omitempty"` // minOccurs="0" maxOccurs="99"

	TransportInformation []*TransportInformation `xml:"transportInformation,omitempty"` // minOccurs="0" maxOccurs="99"

	TripDescription []*TripDescription `xml:"tripDescription,omitempty"` // minOccurs="0" maxOccurs="99"

	PricingInfo []*PricingInfo `xml:"pricingInfo,omitempty"` // minOccurs="0" maxOccurs="9"

	FareRule *FareRule `xml:"fareRule,omitempty"` // minOccurs="0"
}

type FareDetails

type FareDetails struct {
	Qualifier string `xml:"qualifier,omitempty"` // minOccurs="0"

	Rate *float64 `xml:"rate,omitempty"` // minOccurs="0"

	Country string `xml:"country,omitempty"` // minOccurs="0"

	FareCategory string `xml:"fareCategory,omitempty"` // minOccurs="0"
}

type FareQualificationDetails

type FareQualificationDetails struct {
	MovementType string `xml:"movementType,omitempty"` // minOccurs="0"

	FareCategories *FareCategories `xml:"fareCategories,omitempty"` // minOccurs="0"

	FareDetails *FareDetails `xml:"fareDetails,omitempty"` // minOccurs="0"

	AdditionalFareDetails *AdditionalFareDetails `xml:"additionalFareDetails,omitempty"` // minOccurs="0"

	DiscountDetails []*DiscountDetails `xml:"discountDetails,omitempty"` // minOccurs="0" maxOccurs="9"
}

type FareRule

type FareRule struct {
	TarifFareRule *TarifFareRule `xml:"tarifFareRule"`

	TravellerIdentification *TravellerIdentification `xml:"travellerIdentification,omitempty"` // minOccurs="0"

	TravellerDate *TravellerDate `xml:"travellerDate,omitempty"` // minOccurs="0"
}

type FareTypeGrouping

type FareTypeGrouping struct {
	PricingGroup []string `xml:"pricingGroup,omitempty"` // minOccurs="0" maxOccurs="5"
}

type FlightQualification

type FlightQualification struct {
	MovementType string `xml:"movementType,omitempty"` // minOccurs="0"

	FareCategories *FareCategories `xml:"fareCategories,omitempty"` // minOccurs="0"

	FareDetails *FareDetails `xml:"fareDetails,omitempty"` // minOccurs="0"

	AdditionalFareDetails *AdditionalFareDetails `xml:"additionalFareDetails,omitempty"` // minOccurs="0"

	DiscountDetails []*DiscountDetails `xml:"discountDetails,omitempty"` // minOccurs="0" maxOccurs="9"
}

type ItemNumber

type ItemNumber struct {
	ItemNumberDetails []*ItemNumberDetails `xml:"itemNumberDetails"` // maxOccurs="99"
}

type ItemNumberDetails

type ItemNumberDetails struct {
	Number string `xml:"number,omitempty"` // minOccurs="0"

	Type string `xml:"type,omitempty"` // minOccurs="0"
}

type LocationDetails

type LocationDetails struct {
	City string `xml:"city,omitempty"` // minOccurs="0"

	Country string `xml:"country,omitempty"` // minOccurs="0"
}

type MessageFunctionDetails

type MessageFunctionDetails struct {
	MessageFunction string `xml:"messageFunction,omitempty"` // minOccurs="0"
}

type MsgType

type MsgType struct {
	MessageFunctionDetails *MessageFunctionDetails `xml:"messageFunctionDetails,omitempty"` // minOccurs="0"
}

type MultiCorporate

type MultiCorporate struct {
	CorporateId []*CorporateId `xml:"corporateId"` // maxOccurs="20"
}

type NumberOfUnits

type NumberOfUnits struct {
	QuantityDetails *QuantityDetails1 `xml:"quantityDetails"`

	OtherQuantityDetails []*OtherQuantityDetails1 `xml:"otherQuantityDetails,omitempty"` // minOccurs="0" maxOccurs="8"
}

type OrigDest

type OrigDest struct {
	Origin string `xml:"origin,omitempty"` // minOccurs="0"

	Destination string `xml:"destination,omitempty"` // minOccurs="0"
}

type OtherConvRateDetails

type OtherConvRateDetails struct {
	ConversionType string `xml:"conversionType,omitempty"` // minOccurs="0"

	Currency string `xml:"currency,omitempty"` // minOccurs="0"

	RateType string `xml:"rateType,omitempty"` // minOccurs="0"

	PricingAmount *float64 `xml:"pricingAmount,omitempty"` // minOccurs="0"

	ConvertedValueAmount *float64 `xml:"convertedValueAmount,omitempty"` // minOccurs="0"

	DutyTaxFeeType string `xml:"dutyTaxFeeType,omitempty"` // minOccurs="0"

	MeasurementValue *float64 `xml:"measurementValue,omitempty"` // minOccurs="0"

	MeasurementSignificance string `xml:"measurementSignificance,omitempty"` // minOccurs="0"
}

type OtherLocationDetails

type OtherLocationDetails struct {
	City string `xml:"city,omitempty"` // minOccurs="0"

	Country string `xml:"country,omitempty"` // minOccurs="0"
}

type OtherQuantityDetails

type OtherQuantityDetails struct {
	Qualifier string `xml:"qualifier"`

	Value float64 `xml:"value"`

	Unit string `xml:"unit,omitempty"` // minOccurs="0"
}

type OtherQuantityDetails1

type OtherQuantityDetails1 struct {
	NumberOfUnit *float64 `xml:"numberOfUnit,omitempty"` // minOccurs="0"

	UnitQualifier string `xml:"unitQualifier,omitempty"` // minOccurs="0"
}

type PertinentQuantity

type PertinentQuantity struct {
	QuantityDetails *QuantityDetails `xml:"quantityDetails"`

	OtherQuantityDetails []*OtherQuantityDetails `xml:"otherQuantityDetails,omitempty"` // minOccurs="0" maxOccurs="8"
}

type PricingInfo

type PricingInfo struct {
	NumberOfUnits *NumberOfUnits `xml:"numberOfUnits"`

	TicketPricingDate []*TicketPricingDate `xml:"ticketPricingDate,omitempty"` // minOccurs="0" maxOccurs="3"

	Fare []*Fare `xml:"fare,omitempty"` // minOccurs="0" maxOccurs="99"
}

type PricingTickInfo

type PricingTickInfo struct {
	ProductDateTimeDetails *ProductDateTimeDetails `xml:"productDateTimeDetails,omitempty"` // minOccurs="0"

	LocationDetails *LocationDetails `xml:"locationDetails,omitempty"` // minOccurs="0"

	OtherLocationDetails *OtherLocationDetails `xml:"otherLocationDetails,omitempty"` // minOccurs="0"

	IdNumber string `xml:"idNumber,omitempty"` // minOccurs="0"
}

type ProductDateTimeDetails

type ProductDateTimeDetails struct {
	DepartureDate string `xml:"departureDate,omitempty"` // minOccurs="0"

	ArrivalDate string `xml:"arrivalDate,omitempty"` // minOccurs="0"
}

type ProductIdentificationDetails

type ProductIdentificationDetails struct {
	FlightNumber string `xml:"flightNumber"`

	OperationalSuffix string `xml:"operationalSuffix,omitempty"` // minOccurs="0"
}

type QuantityDetails

type QuantityDetails struct {
	Qualifier string `xml:"qualifier"`

	Value float64 `xml:"value"`

	Unit string `xml:"unit,omitempty"` // minOccurs="0"
}

type QuantityDetails1

type QuantityDetails1 struct {
	NumberOfUnit *float64 `xml:"numberOfUnit,omitempty"` // minOccurs="0"

	UnitQualifier string `xml:"unitQualifier,omitempty"` // minOccurs="0"
}

type ReferenceDetails

type ReferenceDetails struct {
	Type string `xml:"type,omitempty"` // minOccurs="0"

	Value string `xml:"value,omitempty"` // minOccurs="0"
}

type Routing

type Routing struct {
	RoutingInfo *RoutingInfo `xml:"routingInfo"`

	TransportService *TransportService `xml:"transportService,omitempty"` // minOccurs="0"

	SegFareDetails *SegFareDetails `xml:"segFareDetails,omitempty"` // minOccurs="0"

	PertinentQuantity *PertinentQuantity `xml:"pertinentQuantity,omitempty"` // minOccurs="0"

	SelectionMakingDetails *SelectionMakingDetails `xml:"selectionMakingDetails,omitempty"` // minOccurs="0"
}

type RoutingDetails

type RoutingDetails struct {
	Station string `xml:"station,omitempty"` // minOccurs="0"

	OtherStation string `xml:"otherStation,omitempty"` // minOccurs="0"

	Qualifier string `xml:"qualifier,omitempty"` // minOccurs="0"
}

type RoutingInfo

type RoutingInfo struct {
	RoutingDetails []*RoutingDetails `xml:"routingDetails,omitempty"` // minOccurs="0" maxOccurs="99"
}

type SegFareDetails

type SegFareDetails struct {
	MovementType string `xml:"movementType,omitempty"` // minOccurs="0"

	FareCategories *FareCategories `xml:"fareCategories,omitempty"` // minOccurs="0"

	FareDetails *FareDetails `xml:"fareDetails,omitempty"` // minOccurs="0"

	AdditionalFareDetails *AdditionalFareDetails `xml:"additionalFareDetails,omitempty"` // minOccurs="0"

	DiscountDetails []*DiscountDetails `xml:"discountDetails,omitempty"` // minOccurs="0" maxOccurs="9"
}

type SelectionDetail

type SelectionDetail struct {
	SelectionDetails *SelectionDetails `xml:"selectionDetails"`

	SelectionDetailsTwo []*SelectionDetailsTwo `xml:"selectionDetailsTwo,omitempty"` // minOccurs="0" maxOccurs="98"
}

type SelectionDetails

type SelectionDetails struct {
	Option string `xml:"option"`

	OptionInformation string `xml:"optionInformation,omitempty"` // minOccurs="0"
}

type SelectionDetailsTwo

type SelectionDetailsTwo struct {
	Option string `xml:"option"`

	OptionInformation string `xml:"optionInformation,omitempty"` // minOccurs="0"
}

type SelectionMakingDetails

type SelectionMakingDetails struct {
	SelectionDetails *SelectionDetails `xml:"selectionDetails"`

	SelectionDetailsTwo []*SelectionDetailsTwo `xml:"selectionDetailsTwo,omitempty"` // minOccurs="0" maxOccurs="98"
}

type TarifFareRule

type TarifFareRule struct {
	TariffClassId string `xml:"tariffClassId,omitempty"` // minOccurs="0"

	CompanyDetails *CompanyDetails `xml:"companyDetails,omitempty"` // minOccurs="0"

	RuleSectionId []string `xml:"ruleSectionId,omitempty"` // minOccurs="0" maxOccurs="99"
}

type TicketPricingDate

type TicketPricingDate struct {
	ProductDateTimeDetails *ProductDateTimeDetails `xml:"productDateTimeDetails,omitempty"` // minOccurs="0"

	LocationDetails *LocationDetails `xml:"locationDetails,omitempty"` // minOccurs="0"

	OtherLocationDetails *OtherLocationDetails `xml:"otherLocationDetails,omitempty"` // minOccurs="0"

	IdNumber string `xml:"idNumber,omitempty"` // minOccurs="0"
}

type TransportInformation

type TransportInformation struct {
	TransportService *TransportService `xml:"transportService"`

	AvailCabinConf *AvailCabinConf `xml:"availCabinConf,omitempty"` // minOccurs="0"

	RoutingInfo *RoutingInfo `xml:"routingInfo,omitempty"` // minOccurs="0"

	SelectionDetail *SelectionDetail `xml:"selectionDetail,omitempty"` // minOccurs="0"
}

type TransportService

type TransportService struct {
	CompanyIdentification *CompanyIdentification `xml:"companyIdentification"`

	ProductIdentificationDetails []*ProductIdentificationDetails `xml:"productIdentificationDetails,omitempty"` // minOccurs="0" maxOccurs="99"
}

type TravellerDate

type TravellerDate struct {
	DateAndTimeDetails []*DateAndTimeDetails `xml:"dateAndTimeDetails,omitempty"` // minOccurs="0" maxOccurs="99"
}

type TravellerIdentification

type TravellerIdentification struct {
	ReferenceDetails []*ReferenceDetails `xml:"referenceDetails"` // maxOccurs="99"
}

type TripDescription

type TripDescription struct {
	OrigDest *OrigDest `xml:"origDest"`

	DateFlightMovement *DateFlightMovement `xml:"dateFlightMovement,omitempty"` // minOccurs="0"

	Routing []*Routing `xml:"routing,omitempty"` // minOccurs="0" maxOccurs="99"
}

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL