Skip to content

Commit 59ef9f1

Browse files
committed
fixed the fare_masterpricertravelboardsearch response problem and etc.
1 parent c6fb80b commit 59ef9f1

File tree

11 files changed

+426
-428
lines changed

11 files changed

+426
-428
lines changed

reqstructs/fare_masterpricertravelboardsearch/structs.go

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ type FareMasterPricerTravelBoardSearch struct {
1616
GlobalOptions *AttributeType `xml:"globalOptions,omitempty"`
1717

1818
// Traveler Details
19-
PaxReference *TravellerReferenceInformationType `xml:"paxReference,omitempty"`
19+
PaxReference []*TravellerReferenceInformationType `xml:"paxReference,omitempty"`
2020

2121
// Customer references
2222
CustomerRef *ConsumerReferenceInformationType `xml:"customerRef,omitempty"`
@@ -45,7 +45,7 @@ type FareMasterPricerTravelBoardSearch struct {
4545

4646
ValueSearch *ValueSearchCriteriaType `xml:"valueSearch,omitempty"`
4747

48-
Itinerary *Itinerary `xml:"itinerary,omitempty"`
48+
Itinerary []*Itinerary `xml:"itinerary,omitempty"`
4949

5050
TicketChangeInfo *TicketChangeInfo `xml:"ticketChangeInfo,omitempty"`
5151

@@ -404,7 +404,7 @@ type ArrivalLocationDetailsType struct {
404404
// XMLName xml.Name `xml:"http://xml.amadeus.com/FMPTBQ_14_3_1A ArrivalLocationDetailsType"`
405405

406406
// For Radius: This is the length of the requested radius around the location of destination.
407-
Distance formats.NumericInteger_Length1To3 `xml:"distance,omitempty"`
407+
Distance *formats.NumericInteger_Length1To3 `xml:"distance,omitempty"`
408408

409409
// Distance unit qualifier for radius
410410
DistanceUnit formats.AlphaNumericString_Length0To3 `xml:"distanceUnit,omitempty"`
@@ -426,7 +426,7 @@ type ArrivalLocationDetailsType_120834C struct {
426426
// XMLName xml.Name `xml:"http://xml.amadeus.com/FMPTBQ_14_3_1A ArrivalLocationDetailsType_120834C"`
427427

428428
// For Radius: This is the length of the requested radius around the location of origin.
429-
Distance formats.NumericInteger_Length1To3 `xml:"distance,omitempty"`
429+
Distance *formats.NumericInteger_Length1To3 `xml:"distance,omitempty"`
430430

431431
// Distance unit qualifier for radius
432432
DistanceUnit formats.AlphaNumericString_Length1To3 `xml:"distanceUnit,omitempty"`
@@ -1535,7 +1535,7 @@ type NumberOfUnitsType struct {
15351535
// XMLName xml.Name `xml:"http://xml.amadeus.com/FMPTBQ_14_3_1A NumberOfUnitsType"`
15361536

15371537
// NUMBER OF UNIT DETAILS
1538-
UnitNumberDetail *NumberOfUnitDetailsType_260583C `xml:"unitNumberDetail,omitempty"`
1538+
UnitNumberDetail []NumberOfUnitDetailsType_260583C `xml:"unitNumberDetail,omitempty"`
15391539
}
15401540

15411541
type NumberOfUnitsType_80154S struct {
@@ -1637,7 +1637,7 @@ type PricingTicketingInformationType struct {
16371637
// XMLName xml.Name `xml:"http://xml.amadeus.com/FMPTBQ_14_3_1A PricingTicketingInformationType"`
16381638

16391639
// Price type qualifier
1640-
PriceType formats.AlphaNumericString_Length0To3 `xml:"priceType,omitempty"`
1640+
PriceType []formats.AlphaNumericString_Length0To3 `xml:"priceType,omitempty"`
16411641
}
16421642

16431643
type ProductDateTimeTypeI struct {
@@ -2089,19 +2089,19 @@ type TravelFlightInformationType_185853S struct {
20892089
CabinId *CabinIdentificationType_233500C `xml:"cabinId,omitempty"`
20902090

20912091
// Company Identification
2092-
CompanyIdentity *CompanyIdentificationType_233548C `xml:"companyIdentity,omitempty"`
2092+
CompanyIdentity []*CompanyIdentificationType_233548C `xml:"companyIdentity,omitempty"`
20932093

20942094
// Type of flight details
20952095
FlightDetail *ProductTypeDetailsType_120801C `xml:"flightDetail,omitempty"`
20962096

20972097
// Details of included connect point
2098-
InclusionDetail *ConnectPointDetailsType_195492C `xml:"inclusionDetail,omitempty"`
2098+
InclusionDetail []*ConnectPointDetailsType_195492C `xml:"inclusionDetail,omitempty"`
20992099

21002100
// Further connection details
2101-
ExclusionDetail *ConnectPointDetailsType `xml:"exclusionDetail,omitempty"`
2101+
ExclusionDetail []*ConnectPointDetailsType `xml:"exclusionDetail,omitempty"`
21022102

21032103
// Added departed flights flag
2104-
UnitNumberDetail *NumberOfUnitDetailsTypeI `xml:"unitNumberDetail,omitempty"`
2104+
UnitNumberDetail []*NumberOfUnitDetailsTypeI `xml:"unitNumberDetail,omitempty"`
21052105
}
21062106

21072107
type TravelProductInformationTypeI struct {
@@ -2158,17 +2158,17 @@ type TravellerDetailsType struct {
21582158
Ref formats.NumericInteger_Length1To3 `xml:"ref,omitempty"`
21592159

21602160
// Traveller is an infant
2161-
InfantIndicator formats.NumericInteger_Length1To1 `xml:"infantIndicator,omitempty"`
2161+
InfantIndicator *formats.NumericInteger_Length1To1 `xml:"infantIndicator,omitempty"`
21622162
}
21632163

21642164
type TravellerReferenceInformationType struct {
21652165
// XMLName xml.Name `xml:"http://xml.amadeus.com/FMPTBQ_14_3_1A TravellerReferenceInformationType"`
21662166

21672167
// Requested passenger type
2168-
Ptc formats.AlphaNumericString_Length1To6 `xml:"ptc,omitempty"`
2168+
Ptc []*formats.AlphaNumericString_Length1To6 `xml:"ptc,omitempty"`
21692169

21702170
// Traveller details
2171-
Traveller *TravellerDetailsType `xml:"traveller,omitempty"`
2171+
Traveller []TravellerDetailsType `xml:"traveller,omitempty"`
21722172
}
21732173

21742174
type UniqueIdDescriptionType struct {

reqstructs/pnr_cancel/structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package pnr_cancel
33
import (
44
"encoding/xml"
55

6-
"github.com/kidem/amadeus-ws-go/formats"
6+
"github.com/tmconsulting/amadeus-ws-go/formats"
77
)
88

99
type PNRCancel struct {

reqstructs/queue_placepnr/structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package queue_placepnr
33
import (
44
"encoding/xml"
55

6-
"github.com/kidem/amadeus-ws-go/formats"
6+
"github.com/tmconsulting/amadeus-ws-go/formats"
77
)
88

99
type QueuePlacePNR struct {

reqstructs/queue_removeitem/structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package queue_removeitem
33
import (
44
"encoding/xml"
55

6-
"github.com/kidem/amadeus-ws-go/formats"
6+
"github.com/tmconsulting/amadeus-ws-go/formats"
77
)
88

99
type QueueRemoveItem struct {

reqstructs/ticket_createtstfrompricing/structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package ticket_createtstfrompricing
33
import (
44
"encoding/xml"
55

6-
"github.com/kidem/amadeus-ws-go/formats"
6+
"github.com/tmconsulting/amadeus-ws-go/formats"
77
)
88

99
type TicketCreateTSTFromPricing struct {

respstructs/docissuance_issueticket_reply/structs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package docissuance_issueticket_reply
33
import (
44
"encoding/xml"
55

6-
"github.com/kidem/amadeus-ws-go/formats"
6+
"github.com/tmconsulting/amadeus-ws-go/formats"
77
)
88

99
type DocIssuanceIssueTicketReply struct {

0 commit comments

Comments
 (0)