v_2024_10

package
v0.0.0-...-5a83cc3 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Action

type Action string
const (
	ActionPing                                  Action = "OTA_Ping:Handshaking"
	ActionHotelInvCountNotif                    Action = "OTA_HotelInvCountNotif:FreeRooms"
	ActionReadGuestRequests                     Action = "OTA_Read:GuestRequests"
	ActionNotifReportGuestRequests              Action = "OTA_NotifReport:GuestRequests"
	ActionHotelDescriptiveContentNotifInventory Action = "OTA_HotelDescriptiveContentNotif:Inventory"
	ActionHotelDescriptiveContentNotifInfo      Action = "OTA_HotelDescriptiveContentNotif:Info"
	ActionHotelRatePlanNotifRatePlans           Action = "OTA_HotelRatePlanNotif:RatePlans"
)

func (Action) HandshakeName

func (a Action) HandshakeName() string

func (Action) String

func (a Action) String() string

func (Action) Unmarshal

func (a Action) Unmarshal(b []byte) (any, error)

type EchoData

type EchoData struct {
	Value string `xml:",innerxml"`
}

type PingRQ

type PingRQ struct {
	XMLName  xml.Name `xml:"http://www.opentravel.org/OTA/2003/05 OTA_PingRQ"`
	Version  string   `xml:"Version,attr"`
	EchoData EchoData `xml:"EchoData"`
}

type Version

type Version struct {
	// contains filtered or unexported fields
}

func NewVersion

func NewVersion() (*Version, error)

func (*Version) String

func (v *Version) String() string

func (*Version) ValidateXML

func (v *Version) ValidateXML(xml string) error

Jump to

Keyboard shortcuts

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