rate

package
v0.0.0-...-91280e1 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RatePlans

type RatePlans []data.RatePlan

func (RatePlans) Len

func (r RatePlans) Len() int

func (RatePlans) Less

func (r RatePlans) Less(i, j int) bool

func (RatePlans) Swap

func (r RatePlans) Swap(i, j int)

type Request

type Request struct {
	HotelIds []string
	Indate   string
	Outdate  string
}

type Result

type Result struct {
	RatePlans []data.RatePlan
}

func GetRates

func GetRates(env *beldilib.Env, req Request) Result

Jump to

Keyboard shortcuts

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