hotel

package
v1.1.4 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlitripHotelDetailInfoGetAPIResponse

type AlitripHotelDetailInfoGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelDetailInfoGetResponse
}

详情页动态信息接口 API返回值 alitrip.hotel.detail.info.get

酒店详情页动态信息TOP方法

type AlitripHotelDetailInfoGetRequest

type AlitripHotelDetailInfoGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

详情页动态信息接口 API请求 alitrip.hotel.detail.info.get

酒店详情页动态信息TOP方法

func NewAlitripHotelDetailInfoGetRequest

func NewAlitripHotelDetailInfoGetRequest() *AlitripHotelDetailInfoGetRequest

初始化AlitripHotelDetailInfoGetRequest对象

func (AlitripHotelDetailInfoGetRequest) GetApiMethodName

func (r AlitripHotelDetailInfoGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripHotelDetailInfoGetRequest) GetApiParams

func (r AlitripHotelDetailInfoGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlitripHotelDetailInfoGetRequest) GetParamHotelTopDetailsParam

func (r AlitripHotelDetailInfoGetRequest) GetParamHotelTopDetailsParam() *HotelTopDetailsParam

ParamHotelTopDetailsParam Getter

func (*AlitripHotelDetailInfoGetRequest) SetParamHotelTopDetailsParam

func (r *AlitripHotelDetailInfoGetRequest) SetParamHotelTopDetailsParam(paramHotelTopDetailsParam *HotelTopDetailsParam) error

ParamHotelTopDetailsParam Setter 详情页动态信息参数类

type AlitripHotelDetailInfoGetResponse

type AlitripHotelDetailInfoGetResponse struct {
	XMLName xml.Name `xml:"alitrip_hotel_detail_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlitripHotelDetailInfoGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

详情页动态信息接口 成功返回结果

type AlitripHotelDetailInfoGetResult

type AlitripHotelDetailInfoGetResult struct {
	// bizExtMap
	BizExtMap *Bizextmap `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// headers
	Headers *Headers `json:"headers,omitempty" xml:"headers,omitempty"`
	// httpStatusCode
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// mappingCode
	MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"`
	// 返回结果
	Model *HotelTopDetailsVo `json:"model,omitempty" xml:"model,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripHotelDetailInfoGetResult

type AlitripHotelDetailStaticinfoGetAPIResponse

type AlitripHotelDetailStaticinfoGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelDetailStaticinfoGetResponse
}

详情页静态信息 API返回值 alitrip.hotel.detail.staticinfo.get

酒店静态信息TOP接口

type AlitripHotelDetailStaticinfoGetRequest

type AlitripHotelDetailStaticinfoGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

详情页静态信息 API请求 alitrip.hotel.detail.staticinfo.get

酒店静态信息TOP接口

func NewAlitripHotelDetailStaticinfoGetRequest

func NewAlitripHotelDetailStaticinfoGetRequest() *AlitripHotelDetailStaticinfoGetRequest

初始化AlitripHotelDetailStaticinfoGetRequest对象

func (AlitripHotelDetailStaticinfoGetRequest) GetApiMethodName

func (r AlitripHotelDetailStaticinfoGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripHotelDetailStaticinfoGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripHotelDetailStaticinfoGetRequest) GetParamHotelTopStaticDetailsParam

func (r AlitripHotelDetailStaticinfoGetRequest) GetParamHotelTopStaticDetailsParam() *HotelTopStaticDetailsParam

ParamHotelTopStaticDetailsParam Getter

func (*AlitripHotelDetailStaticinfoGetRequest) SetParamHotelTopStaticDetailsParam

func (r *AlitripHotelDetailStaticinfoGetRequest) SetParamHotelTopStaticDetailsParam(paramHotelTopStaticDetailsParam *HotelTopStaticDetailsParam) error

ParamHotelTopStaticDetailsParam Setter 酒店详情页静态信息参数

type AlitripHotelDetailStaticinfoGetResponse

type AlitripHotelDetailStaticinfoGetResponse struct {
	XMLName xml.Name `xml:"alitrip_hotel_detail_staticinfo_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlitripHotelDetailStaticinfoGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

详情页静态信息 成功返回结果

type AlitripHotelDetailStaticinfoGetResult

type AlitripHotelDetailStaticinfoGetResult struct {
	// bizExtMap
	BizExtMap *Bizextmap `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// headers
	Headers *Headers `json:"headers,omitempty" xml:"headers,omitempty"`
	// httpStatusCode
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// mappingCode
	MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"`
	// 详情页静态信息
	Model *HotelTopStaticDetailsVo `json:"model,omitempty" xml:"model,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripHotelDetailStaticinfoGetResult

type AlitripHotelRateGetmixratelistGetAPIResponse

type AlitripHotelRateGetmixratelistGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelRateGetmixratelistGetResponse
}

酒店评论接口 API返回值 alitrip.hotel.rate.getmixratelist.get

酒店评论接口

type AlitripHotelRateGetmixratelistGetRequest

type AlitripHotelRateGetmixratelistGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

酒店评论接口 API请求 alitrip.hotel.rate.getmixratelist.get

酒店评论接口

func NewAlitripHotelRateGetmixratelistGetRequest

func NewAlitripHotelRateGetmixratelistGetRequest() *AlitripHotelRateGetmixratelistGetRequest

初始化AlitripHotelRateGetmixratelistGetRequest对象

func (AlitripHotelRateGetmixratelistGetRequest) GetApiMethodName

func (r AlitripHotelRateGetmixratelistGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripHotelRateGetmixratelistGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripHotelRateGetmixratelistGetRequest) GetParamGetMixRateListParam

func (r AlitripHotelRateGetmixratelistGetRequest) GetParamGetMixRateListParam() *GetMixRateListParam

ParamGetMixRateListParam Getter

func (*AlitripHotelRateGetmixratelistGetRequest) SetParamGetMixRateListParam

func (r *AlitripHotelRateGetmixratelistGetRequest) SetParamGetMixRateListParam(paramGetMixRateListParam *GetMixRateListParam) error

ParamGetMixRateListParam Setter 评论参数

type AlitripHotelRateGetmixratelistGetResponse

type AlitripHotelRateGetmixratelistGetResponse struct {
	XMLName xml.Name `xml:"alitrip_hotel_rate_getmixratelist_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlitripHotelRateGetmixratelistGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

酒店评论接口 成功返回结果

type AlitripHotelRateGetmixratelistGetResult

type AlitripHotelRateGetmixratelistGetResult struct {
	// bizExtMap
	BizExtMap *Bizextmap `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// headers
	Headers *Headers `json:"headers,omitempty" xml:"headers,omitempty"`
	// httpStatusCode
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// mappingCode
	MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"`
	// model
	Model *GetMixRateListResult `json:"model,omitempty" xml:"model,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripHotelRateGetmixratelistGetResult

type AlitripHotelSearchCitysuggestGetAPIResponse

type AlitripHotelSearchCitysuggestGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelSearchCitysuggestGetResponse
}

城市Suggest接口 API返回值 alitrip.hotel.search.citysuggest.get

城市Suggest接口

type AlitripHotelSearchCitysuggestGetRequest

type AlitripHotelSearchCitysuggestGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

城市Suggest接口 API请求 alitrip.hotel.search.citysuggest.get

城市Suggest接口

func NewAlitripHotelSearchCitysuggestGetRequest

func NewAlitripHotelSearchCitysuggestGetRequest() *AlitripHotelSearchCitysuggestGetRequest

初始化AlitripHotelSearchCitysuggestGetRequest对象

func (AlitripHotelSearchCitysuggestGetRequest) GetApiMethodName

func (r AlitripHotelSearchCitysuggestGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripHotelSearchCitysuggestGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripHotelSearchCitysuggestGetRequest) GetKeyWords

KeyWords Getter

func (AlitripHotelSearchCitysuggestGetRequest) GetUserId

UserId Getter

func (*AlitripHotelSearchCitysuggestGetRequest) SetKeyWords

func (r *AlitripHotelSearchCitysuggestGetRequest) SetKeyWords(keyWords string) error

KeyWords Setter 用户输入的词

func (*AlitripHotelSearchCitysuggestGetRequest) SetUserId

UserId Setter 用户id

type AlitripHotelSearchCitysuggestGetResponse

type AlitripHotelSearchCitysuggestGetResponse struct {
	XMLName xml.Name `xml:"alitrip_hotel_search_citysuggest_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlitripHotelSearchCitysuggestGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

城市Suggest接口 成功返回结果

type AlitripHotelSearchCitysuggestGetResult

type AlitripHotelSearchCitysuggestGetResult struct {
	// bizExtMap
	BizExtMap *Bizextmap `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// headers
	Headers *Headers `json:"headers,omitempty" xml:"headers,omitempty"`
	// httpStatusCode
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// mappingCode
	MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"`
	// 具体的返回数据
	Model *TopCitySuggestListVo `json:"model,omitempty" xml:"model,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误消息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripHotelSearchCitysuggestGetResult

type AlitripHotelSearchListGetAPIResponse

type AlitripHotelSearchListGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelSearchListGetResponse
}

酒店搜索List接口 API返回值 alitrip.hotel.search.list.get

酒店搜索List接口

type AlitripHotelSearchListGetRequest

type AlitripHotelSearchListGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

酒店搜索List接口 API请求 alitrip.hotel.search.list.get

酒店搜索List接口

func NewAlitripHotelSearchListGetRequest

func NewAlitripHotelSearchListGetRequest() *AlitripHotelSearchListGetRequest

初始化AlitripHotelSearchListGetRequest对象

func (AlitripHotelSearchListGetRequest) GetApiMethodName

func (r AlitripHotelSearchListGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripHotelSearchListGetRequest) GetApiParams

func (r AlitripHotelSearchListGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlitripHotelSearchListGetRequest) GetParamTopHotelSearchListParam

func (r AlitripHotelSearchListGetRequest) GetParamTopHotelSearchListParam() *TopHotelSearchListParam

ParamTopHotelSearchListParam Getter

func (*AlitripHotelSearchListGetRequest) SetParamTopHotelSearchListParam

func (r *AlitripHotelSearchListGetRequest) SetParamTopHotelSearchListParam(paramTopHotelSearchListParam *TopHotelSearchListParam) error

ParamTopHotelSearchListParam Setter 入参

type AlitripHotelSearchListGetResponse

type AlitripHotelSearchListGetResponse struct {
	XMLName xml.Name `xml:"alitrip_hotel_search_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *AlitripHotelSearchListGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

酒店搜索List接口 成功返回结果

type AlitripHotelSearchListGetResult

type AlitripHotelSearchListGetResult struct {
	// bizExtMap
	BizExtMap *Bizextmap `json:"biz_ext_map,omitempty" xml:"biz_ext_map,omitempty"`
	// headers
	Headers *Headers `json:"headers,omitempty" xml:"headers,omitempty"`
	// httpStatusCode
	HttpStatusCode int64 `json:"http_status_code,omitempty" xml:"http_status_code,omitempty"`
	// mappingCode
	MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"`
	// model
	Model *TopHotelSearchListVo `json:"model,omitempty" xml:"model,omitempty"`
	// 错误码
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// 错误消息
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripHotelSearchListGetResult

type Area

type Area struct {
	// 商圈id
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 商圈名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

Area

type Attributes

type Attributes struct {
	// key
	Key string `json:"key,omitempty" xml:"key,omitempty"`
}

Attributes

type BedInfoGroupVo

type BedInfoGroupVo struct {
	// 和关系床型集合
	BedInfos []BedInfoVo `json:"bed_infos,omitempty" xml:"bed_infos>bed_info_vo,omitempty"`
	// 床数量
	BedNum int64 `json:"bed_num,omitempty" xml:"bed_num,omitempty"`
	// 简短描述,用于详情页报价前面的床型展示
	BriefDesc string `json:"brief_desc,omitempty" xml:"brief_desc,omitempty"`
	// 分类,大类,用于搜索的筛选项。1:大床,2:双床,3:单人床,4:多床
	Classification string `json:"classification,omitempty" xml:"classification,omitempty"`
	// 分类描述
	ClassificationDesc string `json:"classification_desc,omitempty" xml:"classification_desc,omitempty"`
	// 描述,长描述,描述为最详细的内容,用于详情页房型详情Dialog,下单页,订单页展示
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 模糊描述,最精简的描述信息,大床/双床/单人床/多床/床位简单描述,较长描述省略床宽
	FuzzyDesc string `json:"fuzzy_desc,omitempty" xml:"fuzzy_desc,omitempty"`
	// 简单描述,较长描述省略床宽,但依然会描述具体的床型信息,用于详情页标准房型床型展示
	SimpleDesc string `json:"simple_desc,omitempty" xml:"simple_desc,omitempty"`
}

BedInfoGroupVo

type BedInfoVo

type BedInfoVo struct {
	// 床数量
	BedNum int64 `json:"bed_num,omitempty" xml:"bed_num,omitempty"`
	// 床型
	BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 床长
	Length string `json:"length,omitempty" xml:"length,omitempty"`
	// 长款
	Width string `json:"width,omitempty" xml:"width,omitempty"`
}

BedInfoVo

type Bizextmap

type Bizextmap struct {
	// empty
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Bizextmap

type Brand

type Brand struct {
	// 品牌code
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
}

Brand

type BrandType

type BrandType struct {
	// 品牌列表
	BrandList []Brand `json:"brand_list,omitempty" xml:"brand_list>brand,omitempty"`
	// 品牌类型
	TypeId string `json:"type_id,omitempty" xml:"type_id,omitempty"`
	// 品牌类型名称
	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`
}

BrandType

type FacilityIcons

type FacilityIcons struct {
	// facilityKey
	FacilityKey string `json:"facility_key,omitempty" xml:"facility_key,omitempty"`
	// facilityValue
	FacilityValue string `json:"facility_value,omitempty" xml:"facility_value,omitempty"`
}

FacilityIcons

type Gallery struct {
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// pictures
	Pictures []string `json:"pictures,omitempty" xml:"pictures>string,omitempty"`
}

Gallery

type GetMixRateListParam

type GetMixRateListParam struct {
	// 业务类型
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 用于嵌入页截断显示
	Limit int64 `json:"limit,omitempty" xml:"limit,omitempty"`
	// 是否加载顶踩数据,为0不加载,为1加载
	LoadAttitude int64 `json:"load_attitude,omitempty" xml:"load_attitude,omitempty"`
	// 是否加载回复数据,为0不加载,为1加载
	LoadReply int64 `json:"load_reply,omitempty" xml:"load_reply,omitempty"`
	// 页面号,第几页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 页面包含的记录数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 酒店评论类型筛选
	TabFilter string `json:"tab_filter,omitempty" xml:"tab_filter,omitempty"`
}

GetMixRateListParam

type GetMixRateListResult

type GetMixRateListResult struct {
	// 附加属性
	Attributes *Attributes `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 页面布局信息
	ConfigInfo string `json:"config_info,omitempty" xml:"config_info,omitempty"`
	// debugInfo
	DebugInfo string `json:"debug_info,omitempty" xml:"debug_info,omitempty"`
	// degrade
	Degrade bool `json:"degrade,omitempty" xml:"degrade,omitempty"`
	// errCode
	ErrCode string `json:"err_code,omitempty" xml:"err_code,omitempty"`
	// errMsg
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// 是否可以向下翻页,0不可以,1可以
	HasNextPage int64 `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
	// 服务器主机名称,排查问题使用
	HostName string `json:"host_name,omitempty" xml:"host_name,omitempty"`
	// 统计项
	ItemStatistic *ItemStatisticVo `json:"item_statistic,omitempty" xml:"item_statistic,omitempty"`
	// 商品评论列表
	MixRates []MixRateVo `json:"mix_rates,omitempty" xml:"mix_rates>mix_rate_vo,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 总记录数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

GetMixRateListResult

type Headers

type Headers struct {
	// empty
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Headers

type HighlightContent

type HighlightContent struct {
	// color
	Color string `json:"color,omitempty" xml:"color,omitempty"`
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// highlightColor
	HighlightColor string `json:"highlight_color,omitempty" xml:"highlight_color,omitempty"`
	// title
	Title string `json:"title,omitempty" xml:"title,omitempty"`
}

HighlightContent

type HotelDivision

type HotelDivision struct {
	// 0:国内;1:国外
	Region int64 `json:"region,omitempty" xml:"region,omitempty"`
	// 城市编码
	Code int64 `json:"code,omitempty" xml:"code,omitempty"`
	// 城市名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 层级,1:国家,2:州省,3:城市,4:区县
	Level int64 `json:"level,omitempty" xml:"level,omitempty"`
	// 类型,0:普通,1:景点,cityTag,如千岛湖
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 父行政区编码,例如杭州市(330100)的父行政区为浙江省(330000)。注意:如果parent_code的值为0,表示该行政区为最高级别的行政区,没有父行政区。
	ParentCode int64 `json:"parent_code,omitempty" xml:"parent_code,omitempty"`
	// code是否可用来搜索酒店,true:code可直接用于搜索酒店,false: code不可直接用于搜索酒店。
	Searchable bool `json:"searchable,omitempty" xml:"searchable,omitempty"`
}

HotelDivision

type HotelInfoParam

type HotelInfoParam struct {
	// 城市code
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 上次请求的分页数据中最后一个shid
	LastShid int64 `json:"last_shid,omitempty" xml:"last_shid,omitempty"`
	// 每页数据量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// pid
	Pid string `json:"pid,omitempty" xml:"pid,omitempty"`
	// 单个请求的shid
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 经过混淆的userId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
}

HotelInfoParam

type HotelLabelDto

type HotelLabelDto struct {
	// 颜色
	Color string `json:"color,omitempty" xml:"color,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 图片
	Icon string `json:"icon,omitempty" xml:"icon,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 索引
	Index int64 `json:"index,omitempty" xml:"index,omitempty"`
	// 位置
	Pos int64 `json:"pos,omitempty" xml:"pos,omitempty"`
	// 需要映射到PC的参数(拼装生成pc请求值)
	RefFieldName string `json:"ref_field_name,omitempty" xml:"ref_field_name,omitempty"`
	// 需要映射到PC的参数(拼装生成pc返回值)
	ReqFieldName string `json:"req_field_name,omitempty" xml:"req_field_name,omitempty"`
	// is show label
	Show bool `json:"show,omitempty" xml:"show,omitempty"`
	// 内容
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// 值
	Value int64 `json:"value,omitempty" xml:"value,omitempty"`
}

HotelLabelDto

type HotelLabelVo

type HotelLabelVo struct {
	// 酒店标签id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 酒店标签�文案
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// 酒店标签�颜色
	Color string `json:"color,omitempty" xml:"color,omitempty"`
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// icon
	Icon string `json:"icon,omitempty" xml:"icon,omitempty"`
	// index
	Index int64 `json:"index,omitempty" xml:"index,omitempty"`
	// pos
	Pos int64 `json:"pos,omitempty" xml:"pos,omitempty"`
	// refFieldName
	RefFieldName string `json:"ref_field_name,omitempty" xml:"ref_field_name,omitempty"`
	// reqFieldName
	ReqFieldName string `json:"req_field_name,omitempty" xml:"req_field_name,omitempty"`
	// show
	Show bool `json:"show,omitempty" xml:"show,omitempty"`
	// value
	Value int64 `json:"value,omitempty" xml:"value,omitempty"`
}

HotelLabelVo

type HotelListInfo

type HotelListInfo struct {
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 城市code
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 评论条数
	CommentCount int64 `json:"comment_count,omitempty" xml:"comment_count,omitempty"`
	// 评论分数
	CommentScore string `json:"comment_score,omitempty" xml:"comment_score,omitempty"`
	// 评论分数的描述文案
	CommentScoreDesc string `json:"comment_score_desc,omitempty" xml:"comment_score_desc,omitempty"`
	// 评论分数
	CommentSource int64 `json:"comment_source,omitempty" xml:"comment_source,omitempty"`
	// 距离文案
	DistanceDesc string `json:"distance_desc,omitempty" xml:"distance_desc,omitempty"`
	// 英文名
	EnglishName string `json:"english_name,omitempty" xml:"english_name,omitempty"`
	// 酒店fax
	Fax string `json:"fax,omitempty" xml:"fax,omitempty"`
	// 是否有信用住商品
	HasAliCreditItem bool `json:"has_ali_credit_item,omitempty" xml:"has_ali_credit_item,omitempty"`
	// 是否有全景图
	HasFullScenePicture bool `json:"has_full_scene_picture,omitempty" xml:"has_full_scene_picture,omitempty"`
	// 头图地址
	HeaderPicUrl string `json:"header_pic_url,omitempty" xml:"header_pic_url,omitempty"`
	// 酒店标签
	Labels []HotelLabelVo `json:"labels,omitempty" xml:"labels>hotel_label_vo,omitempty"`
	// 酒店经度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 酒店纬度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 酒店名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 酒店报价
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 是否售完
	SoldOut bool `json:"sold_out,omitempty" xml:"sold_out,omitempty"`
	// 酒店星级类型
	StarType string `json:"star_type,omitempty" xml:"star_type,omitempty"`
	// 酒店电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 品牌Id
	BrandId string `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 品牌名字
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 品牌英文名字
	BrandNameEnglish string `json:"brand_name_english,omitempty" xml:"brand_name_english,omitempty"`
	// inRightMapHotelTitle
	InRightMapHotelTitle string `json:"in_right_map_hotel_title,omitempty" xml:"in_right_map_hotel_title,omitempty"`
	// 活动
	PromotionDescArrs []string `json:"promotion_desc_arrs,omitempty" xml:"promotion_desc_arrs>string,omitempty"`
	// searchPOI
	SearchPOI *SearchPoi `json:"search_p_o_i,omitempty" xml:"search_p_o_i,omitempty"`
	// service
	Services []Option `json:"services,omitempty" xml:"services>option,omitempty"`
	// laterPayIcon
	LaterPayIcon string `json:"later_pay_icon,omitempty" xml:"later_pay_icon,omitempty"`
	// inventoryDesc
	InventoryDesc string `json:"inventory_desc,omitempty" xml:"inventory_desc,omitempty"`
	// 酒店特色id
	FeatureHotelType string `json:"feature_hotel_type,omitempty" xml:"feature_hotel_type,omitempty"`
	// 酒店特色名称
	FeatureHotelTypeName string `json:"feature_hotel_type_name,omitempty" xml:"feature_hotel_type_name,omitempty"`
	// 商圈
	Areas []Area `json:"areas,omitempty" xml:"areas>area,omitempty"`
}

HotelListInfo

type HotelPackageVo

type HotelPackageVo struct {
	// detailPackageDesc
	DetailPackageDesc string `json:"detail_package_desc,omitempty" xml:"detail_package_desc,omitempty"`
	DetailPackageLogo string `json:"detail_package_logo,omitempty" xml:"detail_package_logo,omitempty"`
	// howToPlay
	HowToPlay string `json:"how_to_play,omitempty" xml:"how_to_play,omitempty"`
	// note
	Note string `json:"note,omitempty" xml:"note,omitempty"`
	// packageDesc
	PackageDesc string `json:"package_desc,omitempty" xml:"package_desc,omitempty"`
	// packageId
	PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"`
	// packageName
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// packageType
	PackageType int64 `json:"package_type,omitempty" xml:"package_type,omitempty"`
	// packageTypeName
	PackageTypeName string `json:"package_type_name,omitempty" xml:"package_type_name,omitempty"`
	// scenicAddress
	ScenicAddress string `json:"scenic_address,omitempty" xml:"scenic_address,omitempty"`
	// scenicCoverImg
	ScenicCoverImg string `json:"scenic_cover_img,omitempty" xml:"scenic_cover_img,omitempty"`
	// scenicName
	ScenicName string `json:"scenic_name,omitempty" xml:"scenic_name,omitempty"`
}

HotelPackageVo

type HotelPriceParam

type HotelPriceParam struct {
	// 版本控制(3.0支持信用住)
	DataVersion string `json:"data_version,omitempty" xml:"data_version,omitempty"`
	// 离店日期
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// 经过混淆的userId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 标志参数pid
	Pid string `json:"pid,omitempty" xml:"pid,omitempty"`
	// 标准酒店id和城市编码拼接字符串,最多50个
	ShidCityCode string `json:"shid_city_code,omitempty" xml:"shid_city_code,omitempty"`
	// 入住日期
	StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"`
	// 请求类型:0批量请求;1实时请求
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

HotelPriceParam

type HotelPriceResultSet

type HotelPriceResultSet struct {
	// 渠道id,0--pc,1--无线
	ChannelId string `json:"channel_id,omitempty" xml:"channel_id,omitempty"`
	// 本次请求是否错误,true--出粗
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
	// errorCode,error=true时有值
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息,error=true时有值
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 报价list页h5链接
	H5ListUrl string `json:"h5_list_url,omitempty" xml:"h5_list_url,omitempty"`
	// 当前数据集合是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// list页pc链接
	HotelListUrl string `json:"hotel_list_url,omitempty" xml:"hotel_list_url,omitempty"`
	// 请求id,用于链路追踪
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 每个标准酒店的库价集合
	Results []SHotelPrice `json:"results,omitempty" xml:"results>s_hotel_price,omitempty"`
	// 服务调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 数据总量
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 版本信息
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 当前用户的会员信息
	BindMemberInfos []SellerSupplierPartnerMemberInfoVo `json:"bind_member_infos,omitempty" xml:"bind_member_infos>seller_supplier_partner_member_info_vo,omitempty"`
}

HotelPriceResultSet

type HotelTopDetailsParam

type HotelTopDetailsParam struct {
	// 成人数
	AdultNum int64 `json:"adult_num,omitempty" xml:"adult_num,omitempty"`
	// 入住日期
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 离店日期
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 儿童年龄
	ChildrenAges string `json:"children_ages,omitempty" xml:"children_ages,omitempty"`
	// 城市code
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 筛选
	ScreenCodes string `json:"screen_codes,omitempty" xml:"screen_codes,omitempty"`
	// 卖家id
	SellerIds []int64 `json:"seller_ids,omitempty" xml:"seller_ids>int64,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 渠道ttid
	Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"`
	// 用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

HotelTopDetailsParam

type HotelTopDetailsVo

type HotelTopDetailsVo struct {
	// 入住日期
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 离店日期
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 是否港澳台
	IsGangAoTai int64 `json:"is_gang_ao_tai,omitempty" xml:"is_gang_ao_tai,omitempty"`
	// 是否国际
	IsInternational int64 `json:"is_international,omitempty" xml:"is_international,omitempty"`
	// 标签信息
	Labels []HotelLabelDto `json:"labels,omitempty" xml:"labels>hotel_label_dto,omitempty"`
	// 套餐商品
	PackRoomTypes []PackageRate `json:"pack_room_types,omitempty" xml:"pack_room_types>package_rate,omitempty"`
	// 房型信息
	RoomTypes []RoomTypeInfo `json:"room_types,omitempty" xml:"room_types>room_type_info,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// price
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 是否显示 附加产品tab页 1-展示 0-否
	ShowHotelPackageTab int64 `json:"show_hotel_package_tab,omitempty" xml:"show_hotel_package_tab,omitempty"`
	// galleries
	Galleries []Gallery `json:"galleries,omitempty" xml:"galleries>gallery,omitempty"`
	// 立减
	SubtractPrice string `json:"subtract_price,omitempty" xml:"subtract_price,omitempty"`
	// dynamicUvDesc
	DynamicUvDesc string `json:"dynamic_uv_desc,omitempty" xml:"dynamic_uv_desc,omitempty"`
	// rateNumber
	RateNumber int64 `json:"rate_number,omitempty" xml:"rate_number,omitempty"`
	// rateScore
	RateScore string `json:"rate_score,omitempty" xml:"rate_score,omitempty"`
	// rateScoreDesc
	RateScoreDesc string `json:"rate_score_desc,omitempty" xml:"rate_score_desc,omitempty"`
	// rateScoreText
	RateScoreText string `json:"rate_score_text,omitempty" xml:"rate_score_text,omitempty"`
	// scoreText
	ScoreText string `json:"score_text,omitempty" xml:"score_text,omitempty"`
	// star
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// searchId
	SearchId string `json:"search_id,omitempty" xml:"search_id,omitempty"`
}

HotelTopDetailsVo

type HotelTopStaticDetailsParam

type HotelTopStaticDetailsParam struct {
	// 城市code
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 渠道跟踪号
	Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"`
}

HotelTopStaticDetailsParam

type HotelTopStaticDetailsVo

type HotelTopStaticDetailsVo struct {
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 行政区商圈
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 开业或装修描述
	Decorate string `json:"decorate,omitempty" xml:"decorate,omitempty"`
	// 英文名字
	EnglishName string `json:"english_name,omitempty" xml:"english_name,omitempty"`
	// 小图标展示
	Icons []string `json:"icons,omitempty" xml:"icons>string,omitempty"`
	// 消息信息
	InfoMsg string `json:"info_msg,omitempty" xml:"info_msg,omitempty"`
	// 酒店名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 全景图
	Panoramas []Panorama `json:"panoramas,omitempty" xml:"panoramas>panorama,omitempty"`
	// 图片信息
	PicUrls *PicStringArrayDo `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"`
	// 评论数
	RateNumber int64 `json:"rate_number,omitempty" xml:"rate_number,omitempty"`
	// 综合评分
	RateScore string `json:"rate_score,omitempty" xml:"rate_score,omitempty"`
	// 酒店评分文案说明(超出预期,非常好,很好)
	RateScoreDesc string `json:"rate_score_desc,omitempty" xml:"rate_score_desc,omitempty"`
	// 地标纬度
	RefLatitude string `json:"ref_latitude,omitempty" xml:"ref_latitude,omitempty"`
	// 地标经度
	RefLongitude string `json:"ref_longitude,omitempty" xml:"ref_longitude,omitempty"`
	// 地标名
	RefPoiName string `json:"ref_poi_name,omitempty" xml:"ref_poi_name,omitempty"`
	// 酒店服务
	Services []int64 `json:"services,omitempty" xml:"services>int64,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 星级
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// commentSource
	CommentSource int64 `json:"comment_source,omitempty" xml:"comment_source,omitempty"`
	// 动态uv
	DynamicUvDesc string `json:"dynamic_uv_desc,omitempty" xml:"dynamic_uv_desc,omitempty"`
	// 是否港澳台
	IsGangAoTai int64 `json:"is_gang_ao_tai,omitempty" xml:"is_gang_ao_tai,omitempty"`
	// 是否国内
	IsInternational int64 `json:"is_international,omitempty" xml:"is_international,omitempty"`
	// 经度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 纬度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// rateScoreText
	RateScoreText string `json:"rate_score_text,omitempty" xml:"rate_score_text,omitempty"`
	// 得分描述
	ScoreText string `json:"score_text,omitempty" xml:"score_text,omitempty"`
	// 特征
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 设施icon
	FacilitieIcons []FacilityIcons `json:"facilitie_icons,omitempty" xml:"facilitie_icons>facility_icons,omitempty"`
	// 设施
	Facilities []string `json:"facilities,omitempty" xml:"facilities>string,omitempty"`
	// 税
	Fax string `json:"fax,omitempty" xml:"fax,omitempty"`
	// 图片
	Galleries []Gallery `json:"galleries,omitempty" xml:"galleries>gallery,omitempty"`
	// 开业时间
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 房屋设施
	RoomFacilities []string `json:"room_facilities,omitempty" xml:"room_facilities>string,omitempty"`
	// 设施信息 for pc
	Services4Pcs []string `json:"services4_pcs,omitempty" xml:"services4_pcs>string,omitempty"`
	// hotelPolicyList
	HotelPolicyList []string `json:"hotel_policy_list,omitempty" xml:"hotel_policy_list>string,omitempty"`
}

HotelTopStaticDetailsVo

type ItemInfo

type ItemInfo struct {
	// 实价有房
	SJYF bool `json:"s_j_y_f,omitempty" xml:"s_j_y_f,omitempty"`
	// 是否自动发货
	AutoShip bool `json:"auto_ship,omitempty" xml:"auto_ship,omitempty"`
	// 不含税均价
	AvgPriceWithOutTax string `json:"avg_price_with_out_tax,omitempty" xml:"avg_price_with_out_tax,omitempty"`
	// 含税均价
	AvgPriceWithTax string `json:"avg_price_with_tax,omitempty" xml:"avg_price_with_tax,omitempty"`
	// b2bVip
	B2bVip bool `json:"b2b_vip,omitempty" xml:"b2b_vip,omitempty"`
	// 返现
	BackCash int64 `json:"back_cash,omitempty" xml:"back_cash,omitempty"`
	// backTicketAmount
	BackTicketAmount int64 `json:"back_ticket_amount,omitempty" xml:"back_ticket_amount,omitempty"`
	// 床型
	BedDesc string `json:"bed_desc,omitempty" xml:"bed_desc,omitempty"`
	// bookingNoticeText1
	BookingNoticeText1 string `json:"booking_notice_text1,omitempty" xml:"booking_notice_text1,omitempty"`
	// 早餐描述
	BreakfastDesc string `json:"breakfast_desc,omitempty" xml:"breakfast_desc,omitempty"`
	// 早餐信息
	Breakfasts []string `json:"breakfasts,omitempty" xml:"breakfasts>string,omitempty"`
	// 取消描述
	CancelDesc string `json:"cancel_desc,omitempty" xml:"cancel_desc,omitempty"`
	// 文案
	CopyWriter string `json:"copy_writer,omitempty" xml:"copy_writer,omitempty"`
	// 展示价格
	CostPrice string `json:"cost_price,omitempty" xml:"cost_price,omitempty"`
	// 日历外币价(酒店本地价)
	DailyPrices []string `json:"daily_prices,omitempty" xml:"daily_prices>string,omitempty"`
	// 是否双十一
	DualEleven bool `json:"dual_eleven,omitempty" xml:"dual_eleven,omitempty"`
	// 前端展示用:-1: 不能直接预订,0:可以预定但是库存<0,预订按钮显示为灰(卖家白名单),1: 正常预订
	Enable bool `json:"enable,omitempty" xml:"enable,omitempty"`
	// 首住
	FirstStay bool `json:"first_stay,omitempty" xml:"first_stay,omitempty"`
	// 首住最大入住x间x晚
	FirstStayLimits []int64 `json:"first_stay_limits,omitempty" xml:"first_stay_limits>int64,omitempty"`
	// 未来酒店
	Futures []int64 `json:"futures,omitempty" xml:"futures>int64,omitempty"`
	// 礼物
	Gifts []string `json:"gifts,omitempty" xml:"gifts>string,omitempty"`
	// 国际卖家
	GuojiSeller bool `json:"guoji_seller,omitempty" xml:"guoji_seller,omitempty"`
	// 发票
	HasReceipt bool `json:"has_receipt,omitempty" xml:"has_receipt,omitempty"`
	// 酒店id
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// rate级别的透传字段,json格式
	Hidden string `json:"hidden,omitempty" xml:"hidden,omitempty"`
	// 带高亮说明的title
	HighlightTitle *HighlightContent `json:"highlight_title,omitempty" xml:"highlight_title,omitempty"`
	// 酒店商品ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// IC商品数字ID
	Iid int64 `json:"iid,omitempty" xml:"iid,omitempty"`
	// 立减
	ImmediatelySubtract int64 `json:"immediately_subtract,omitempty" xml:"immediately_subtract,omitempty"`
	// 库存描述
	InventoryDesc string `json:"inventory_desc,omitempty" xml:"inventory_desc,omitempty"`
	// 担保
	IsGuarantee int64 `json:"is_guarantee,omitempty" xml:"is_guarantee,omitempty"`
	// 打包
	IsHotelPackage int64 `json:"is_hotel_package,omitempty" xml:"is_hotel_package,omitempty"`
	// 会员价
	IsMember int64 `json:"is_member,omitempty" xml:"is_member,omitempty"`
	// 卖完
	IsSellOut int64 `json:"is_sell_out,omitempty" xml:"is_sell_out,omitempty"`
	// 标签
	Labels []int64 `json:"labels,omitempty" xml:"labels>int64,omitempty"`
	// 直减
	MinusPrice int64 `json:"minus_price,omitempty" xml:"minus_price,omitempty"`
	// nop
	Nop int64 `json:"nop,omitempty" xml:"nop,omitempty"`
	// 入住人数
	Occupancy int64 `json:"occupancy,omitempty" xml:"occupancy,omitempty"`
	// 预定链接
	OrderConfirmUnits *OrderConfirmUnits `json:"order_confirm_units,omitempty" xml:"order_confirm_units,omitempty"`
	// 订单平均确认时长
	OrderShipTime int64 `json:"order_ship_time,omitempty" xml:"order_ship_time,omitempty"`
	// 预订成功率
	OrderSucessRate int64 `json:"order_sucess_rate,omitempty" xml:"order_sucess_rate,omitempty"`
	// 其他折扣
	OthersDiscounts []string `json:"others_discounts,omitempty" xml:"others_discounts>string,omitempty"`
	// 支付类型。编码取值:1:全额支付;5:前台面付;
	PaymentType int64 `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// 支付code
	PaymentTypeCode int64 `json:"payment_type_code,omitempty" xml:"payment_type_code,omitempty"`
	// rate上的价格描述文案
	PriceDesc string `json:"price_desc,omitempty" xml:"price_desc,omitempty"`
	// 大促展示的文案内容
	PromotionDescArrs []string `json:"promotion_desc_arrs,omitempty" xml:"promotion_desc_arrs>string,omitempty"`
	// quickBuy逻辑:
	QuickBuy bool `json:"quick_buy,omitempty" xml:"quick_buy,omitempty"`
	// 库存
	Quota int64 `json:"quota,omitempty" xml:"quota,omitempty"`
	// 商品id
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 未落地商品库rate的唯一值,用于交易下单使用
	RateKey string `json:"rate_key,omitempty" xml:"rate_key,omitempty"`
	// 退订信息
	RefundInfo string `json:"refund_info,omitempty" xml:"refund_info,omitempty"`
	// 退款策略
	RefundPolicys []string `json:"refund_policys,omitempty" xml:"refund_policys>string,omitempty"`
	// 退款策略
	RefundRules string `json:"refund_rules,omitempty" xml:"refund_rules,omitempty"`
	// 房屋内容
	RoomContents []HighlightContent `json:"room_contents,omitempty" xml:"room_contents>highlight_content,omitempty"`
	// 商品定价规则标题
	RpTitle string `json:"rp_title,omitempty" xml:"rp_title,omitempty"`
	// 商品定价规则ID,类似SKU
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// 英文房型名称
	RtEnglishName string `json:"rt_english_name,omitempty" xml:"rt_english_name,omitempty"`
	// 卖家房型id
	RtId int64 `json:"rt_id,omitempty" xml:"rt_id,omitempty"`
	// 房型名称
	RtName string `json:"rt_name,omitempty" xml:"rt_name,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 卖家nick
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 卖家综合评分
	SellerScore string `json:"seller_score,omitempty" xml:"seller_score,omitempty"`
	// 卖家综合评分与同业相比结果:1:优于同业,-1:差于同业, 0:与同业相同
	SellerScoreThanAvg int64 `json:"seller_score_than_avg,omitempty" xml:"seller_score_than_avg,omitempty"`
	// 订单平均确认时长与同业相比结果:1:优于同业,-1:差于同业, 0:与同业相同
	ShipTimeThanAvg int64 `json:"ship_time_than_avg,omitempty" xml:"ship_time_than_avg,omitempty"`
	// 展示新人红包
	ShowNewPeopleCash bool `json:"show_new_people_cash,omitempty" xml:"show_new_people_cash,omitempty"`
	// 展示价格
	ShowPrice int64 `json:"show_price,omitempty" xml:"show_price,omitempty"`
	// 子标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 立减
	SubtractPrice int64 `json:"subtract_price,omitempty" xml:"subtract_price,omitempty"`
	// 预订成功率与同业相比结果:1:优于同业,-1:差于同业, 0:与同业相同
	SuccessRateThanAvg int64 `json:"success_rate_than_avg,omitempty" xml:"success_rate_than_avg,omitempty"`
	// 税和费
	TaxAndFee string `json:"tax_and_fee,omitempty" xml:"tax_and_fee,omitempty"`
	// 税
	TaxPrice string `json:"tax_price,omitempty" xml:"tax_price,omitempty"`
	// rate上的标题:包含床型、早餐、退订政策短文案等。
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 返现的总优惠总金额
	TotalBackCashAmount int64 `json:"total_back_cash_amount,omitempty" xml:"total_back_cash_amount,omitempty"`
	// 含税总价
	TotalPriceWithTax string `json:"total_price_with_tax,omitempty" xml:"total_price_with_tax,omitempty"`
	// 立减的总优惠金额(包括立减+虚拟红包)
	TotalSubtractAmount int64 `json:"total_subtract_amount,omitempty" xml:"total_subtract_amount,omitempty"`
	// virtualCardSubtractPrice
	VirtualCardSubtractPrice int64 `json:"virtual_card_subtract_price,omitempty" xml:"virtual_card_subtract_price,omitempty"`
	// discountDescs
	DiscountDescs string `json:"discount_descs,omitempty" xml:"discount_descs,omitempty"`
	// discountPrice
	DiscountPrice string `json:"discount_price,omitempty" xml:"discount_price,omitempty"`
	// double12Desc
	Double12Desc string `json:"double12_desc,omitempty" xml:"double12_desc,omitempty"`
	// maxDays
	MaxDays int64 `json:"max_days,omitempty" xml:"max_days,omitempty"`
	// refundDesc
	RefundDesc string `json:"refund_desc,omitempty" xml:"refund_desc,omitempty"`
}

ItemInfo

type ItemRateReplyVo

type ItemRateReplyVo struct {
	// 内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 评论时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// intervalDay
	IntervalDay int64 `json:"interval_day,omitempty" xml:"interval_day,omitempty"`
	// 图片信息,图片URL的list
	MediaInfo string `json:"media_info,omitempty" xml:"media_info,omitempty"`
	// 回复的是那一条,如果是回复主评为0,否则为追评id,组成树形结构
	ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"`
	// 被回复人的冗余信息
	ParentInfo *ParentInfo `json:"parent_info,omitempty" xml:"parent_info,omitempty"`
	// replyId
	ReplyId int64 `json:"reply_id,omitempty" xml:"reply_id,omitempty"`
	// 恢复类型
	ReplyType int64 `json:"reply_type,omitempty" xml:"reply_type,omitempty"`
	// 脱敏后的userId
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 脱敏后的用户名字
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
}

ItemRateReplyVo

type ItemStatisticVo

type ItemStatisticVo struct {
	// 最佳得分项
	BestItem string `json:"best_item,omitempty" xml:"best_item,omitempty"`
	// 五分制标记, 1为五分制, 0为十分制
	IsFiveGrade int64 `json:"is_five_grade,omitempty" xml:"is_five_grade,omitempty"`
	// 评论总数
	RateCnt int64 `json:"rate_cnt,omitempty" xml:"rate_cnt,omitempty"`
	// 有图的评论总数
	RatePicCnt int64 `json:"rate_pic_cnt,omitempty" xml:"rate_pic_cnt,omitempty"`
	// 推荐率
	RecommendStr string `json:"recommend_str,omitempty" xml:"recommend_str,omitempty"`
	// tab信息
	RoomTabInfos []TabInfo `json:"room_tab_infos,omitempty" xml:"room_tab_infos>tab_info,omitempty"`
	// 评分描述: 非常好
	ScoreDesc string `json:"score_desc,omitempty" xml:"score_desc,omitempty"`
	// 评分详情,json格式
	ScoreDetail string `json:"score_detail,omitempty" xml:"score_detail,omitempty"`
	// 不同分数的数量
	ScoreInfos []ScoreInfo `json:"score_infos,omitempty" xml:"score_infos>score_info,omitempty"`
	// 评分星级
	ScoreLevel int64 `json:"score_level,omitempty" xml:"score_level,omitempty"`
	// source来源 0自采 1共享 21agoda 22艺龙 23tripAdvisor
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// tab信息
	TabInfos []TabInfo `json:"tab_infos,omitempty" xml:"tab_infos>tab_info,omitempty"`
	// 热词显示的行数
	TabShowLines int64 `json:"tab_show_lines,omitempty" xml:"tab_show_lines,omitempty"`
	// 总评分
	TotalScore string `json:"total_score,omitempty" xml:"total_score,omitempty"`
	// 旅游商品信息id
	TravelItemId int64 `json:"travel_item_id,omitempty" xml:"travel_item_id,omitempty"`
	// 旅游商品信息
	TravelItemInfo string `json:"travel_item_info,omitempty" xml:"travel_item_info,omitempty"`
	// tripAdv评论数
	TripAdvateCnt int64 `json:"trip_advate_cnt,omitempty" xml:"trip_advate_cnt,omitempty"`
}

ItemStatisticVo

type LikeTargetCount

type LikeTargetCount struct {
	// count
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// targetId
	TargetId int64 `json:"target_id,omitempty" xml:"target_id,omitempty"`
	// voted
	Voted bool `json:"voted,omitempty" xml:"voted,omitempty"`
}

LikeTargetCount

type MixRateVo

type MixRateVo struct {
	// 顶数量
	AgreeCount int64 `json:"agree_count,omitempty" xml:"agree_count,omitempty"`
	// 所有顶过的所有用户id
	AgreeUserIds []int64 `json:"agree_user_ids,omitempty" xml:"agree_user_ids>int64,omitempty"`
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// content
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 踩数量
	DisagreeCount int64 `json:"disagree_count,omitempty" xml:"disagree_count,omitempty"`
	// 所有踩过的所有用户id
	DisagreeUserIds []int64 `json:"disagree_user_ids,omitempty" xml:"disagree_user_ids>int64,omitempty"`
	// gmtCreate
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 旅游商品id,对应于ItemRateDO中的travelItemId
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 旅游商品信息
	ItemInfo string `json:"item_info,omitempty" xml:"item_info,omitempty"`
	// 商品评论ID
	ItemRateId int64 `json:"item_rate_id,omitempty" xml:"item_rate_id,omitempty"`
	// 所有商品评论回复
	ItemReplies []ItemRateReplyVo `json:"item_replies,omitempty" xml:"item_replies>item_rate_reply_vo,omitempty"`
	// 点赞数据
	Like *LikeTargetCount `json:"like,omitempty" xml:"like,omitempty"`
	// mediaInfo
	MediaInfo string `json:"media_info,omitempty" xml:"media_info,omitempty"`
	// 预定id
	OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 预定信息
	OrderInfo string `json:"order_info,omitempty" xml:"order_info,omitempty"`
	// 图片链接
	PictureUrls []string `json:"picture_urls,omitempty" xml:"picture_urls>string,omitempty"`
	// POI固定文本
	PoiStr string `json:"poi_str,omitempty" xml:"poi_str,omitempty"`
	// 跳转链接
	RedirectUrl string `json:"redirect_url,omitempty" xml:"redirect_url,omitempty"`
	// 回复数量
	ReplyCount int64 `json:"reply_count,omitempty" xml:"reply_count,omitempty"`
	// scoreDetail
	ScoreDetail string `json:"score_detail,omitempty" xml:"score_detail,omitempty"`
	// 取件方式:邮寄;套餐类型:7天 4GB 3G流量+无限 2G流量
	Sku string `json:"sku,omitempty" xml:"sku,omitempty"`
	// 点评来源
	Source int64 `json:"source,omitempty" xml:"source,omitempty"`
	// 点评来源名称
	SourceTypeName string `json:"source_type_name,omitempty" xml:"source_type_name,omitempty"`
	// 以上点评来自TripAdvisor.
	SplitLineContent string `json:"split_line_content,omitempty" xml:"split_line_content,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 标签
	TagInfo string `json:"tag_info,omitempty" xml:"tag_info,omitempty"`
	// 标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 总分
	TotalScore int64 `json:"total_score,omitempty" xml:"total_score,omitempty"`
	// 行程名称
	TravelName string `json:"travel_name,omitempty" xml:"travel_name,omitempty"`
	// 航旅标准商品子类型id
	TravelSubItemId int64 `json:"travel_sub_item_id,omitempty" xml:"travel_sub_item_id,omitempty"`
	// 航旅标准商品子类型id
	TravelSubItemInfo string `json:"travel_sub_item_info,omitempty" xml:"travel_sub_item_info,omitempty"`
	// 行程ID
	TripGuidId int64 `json:"trip_guid_id,omitempty" xml:"trip_guid_id,omitempty"`
	// ttid
	Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"`
	// 用户头像
	UserIcon string `json:"user_icon,omitempty" xml:"user_icon,omitempty"`
	// 脱敏后的用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 脱敏后的用户名字
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 用户星级
	UserStar int64 `json:"user_star,omitempty" xml:"user_star,omitempty"`
}

MixRateVo

type NameValuePair

type NameValuePair struct {
	// 档次code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 档次名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

NameValuePair

type Option

type Option struct {
	// active
	Active bool `json:"active,omitempty" xml:"active,omitempty"`
	// link
	Link string `json:"link,omitempty" xml:"link,omitempty"`
	// text
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// value
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

Option

type OrderConfirmUnits

type OrderConfirmUnits struct {
	// h5OrderConfirmUrl
	H5OrderConfirmUrl string `json:"h5_order_confirm_url,omitempty" xml:"h5_order_confirm_url,omitempty"`
	// pcOrderConfirmUrl
	PcOrderConfirmUrl string `json:"pc_order_confirm_url,omitempty" xml:"pc_order_confirm_url,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

OrderConfirmUnits

type PackageRate

type PackageRate struct {
	// 面积
	Acreage string `json:"acreage,omitempty" xml:"acreage,omitempty"`
	// 床型描述
	BedDesc string `json:"bed_desc,omitempty" xml:"bed_desc,omitempty"`
	// 床型
	BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"`
	// 早餐
	Breakfast string `json:"breakfast,omitempty" xml:"breakfast,omitempty"`
	// 英文名字
	EnglishName string `json:"english_name,omitempty" xml:"english_name,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 酒店id
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 高亮内容
	HighlightTitle *HighlightContent `json:"highlight_title,omitempty" xml:"highlight_title,omitempty"`
	// 打包count
	HotelPackageCount int64 `json:"hotel_package_count,omitempty" xml:"hotel_package_count,omitempty"`
	// 酒店描述
	HotelPackageDesc string `json:"hotel_package_desc,omitempty" xml:"hotel_package_desc,omitempty"`
	// 酒店图片
	HotelPackagePic string `json:"hotel_package_pic,omitempty" xml:"hotel_package_pic,omitempty"`
	// 打包title
	HotelPackageTitle string `json:"hotel_package_title,omitempty" xml:"hotel_package_title,omitempty"`
	// 酒店商品ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// IC商品数字ID
	Iid int64 `json:"iid,omitempty" xml:"iid,omitempty"`
	// 库存描述
	InventoryDesc string `json:"inventory_desc,omitempty" xml:"inventory_desc,omitempty"`
	// 是否担保商品
	IsGuarantee int64 `json:"is_guarantee,omitempty" xml:"is_guarantee,omitempty"`
	// 是否是打包
	IsHotelPackage int64 `json:"is_hotel_package,omitempty" xml:"is_hotel_package,omitempty"`
	// 是否是会员 0否1是
	IsMember int64 `json:"is_member,omitempty" xml:"is_member,omitempty"`
	// 是否卖完
	IsSellOut int64 `json:"is_sell_out,omitempty" xml:"is_sell_out,omitempty"`
	// 只存标签id
	Labels []int64 `json:"labels,omitempty" xml:"labels>int64,omitempty"`
	// 房型名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 连住人数
	Nop int64 `json:"nop,omitempty" xml:"nop,omitempty"`
	// 可住人数
	Occupancy string `json:"occupancy,omitempty" xml:"occupancy,omitempty"`
	// 预定链接
	OrderConfirmUnits *OrderConfirmUnits `json:"order_confirm_units,omitempty" xml:"order_confirm_units,omitempty"`
	// 预订成功率
	OrderSucessRate int64 `json:"order_sucess_rate,omitempty" xml:"order_sucess_rate,omitempty"`
	// 打包信息
	PackageInfos []HotelPackageVo `json:"package_infos,omitempty" xml:"package_infos>hotel_package_vo,omitempty"`
	// 全景图
	Panoramas []Panorama `json:"panoramas,omitempty" xml:"panoramas>panorama,omitempty"`
	// 支付类型。编码取值:1:全额支付;5:前台面付;
	PaymentType int64 `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// 房型图片名称
	PicUrls *PicStringArrayDo `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"`
	// rate上的价格描述文案
	PriceDesc string `json:"price_desc,omitempty" xml:"price_desc,omitempty"`
	// rateId
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 推荐文案
	RecommendDesc string `json:"recommend_desc,omitempty" xml:"recommend_desc,omitempty"`
	// 退订信息
	RefundInfo string `json:"refund_info,omitempty" xml:"refund_info,omitempty"`
	// 退订规则
	RefundRules string `json:"refund_rules,omitempty" xml:"refund_rules,omitempty"`
	// 房型内容类型
	RoomContents []HighlightContent `json:"room_contents,omitempty" xml:"room_contents>highlight_content,omitempty"`
	// 商品定价规则标题
	RpTitle string `json:"rp_title,omitempty" xml:"rp_title,omitempty"`
	// 商品定价规则ID,类似SKU
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// 卖家房型id
	RtId int64 `json:"rt_id,omitempty" xml:"rt_id,omitempty"`
	// 卖家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 卖家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 卖家综合评分
	SellerScore string `json:"seller_score,omitempty" xml:"seller_score,omitempty"`
	// 房型设施
	Services string `json:"services,omitempty" xml:"services,omitempty"`
	// 展示价格(6.1.0版后为减后价)
	ShowPrice int64 `json:"show_price,omitempty" xml:"show_price,omitempty"`
	// 标准化房型ID
	Srtid int64 `json:"srtid,omitempty" xml:"srtid,omitempty"`
	// 窗型
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// breakfastDesc
	BreakfastDesc string `json:"breakfast_desc,omitempty" xml:"breakfast_desc,omitempty"`
	// breakfasts
	Breakfasts []string `json:"breakfasts,omitempty" xml:"breakfasts>string,omitempty"`
	// costPrice
	CostPrice string `json:"cost_price,omitempty" xml:"cost_price,omitempty"`
	// firstStayLimits
	FirstStayLimits []int64 `json:"first_stay_limits,omitempty" xml:"first_stay_limits>int64,omitempty"`
	// futures
	Futures []int64 `json:"futures,omitempty" xml:"futures>int64,omitempty"`
	// hidden
	Hidden string `json:"hidden,omitempty" xml:"hidden,omitempty"`
	// orderShipTime
	OrderShipTime int64 `json:"order_ship_time,omitempty" xml:"order_ship_time,omitempty"`
	// rtEnglishName
	RtEnglishName string `json:"rt_english_name,omitempty" xml:"rt_english_name,omitempty"`
	// rtName
	RtName string `json:"rt_name,omitempty" xml:"rt_name,omitempty"`
	// sellerScoreThanAvg
	SellerScoreThanAvg int64 `json:"seller_score_than_avg,omitempty" xml:"seller_score_than_avg,omitempty"`
	// shipTimeThanAvg
	ShipTimeThanAvg int64 `json:"ship_time_than_avg,omitempty" xml:"ship_time_than_avg,omitempty"`
	// subTitle
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// successRateThanAvg
	SuccessRateThanAvg int64 `json:"success_rate_than_avg,omitempty" xml:"success_rate_than_avg,omitempty"`
	// taxAndFee
	TaxAndFee string `json:"tax_and_fee,omitempty" xml:"tax_and_fee,omitempty"`
}

PackageRate

type Panorama

type Panorama struct {
	// back
	Back string `json:"back,omitempty" xml:"back,omitempty"`
	// down
	Down string `json:"down,omitempty" xml:"down,omitempty"`
	// front
	Front string `json:"front,omitempty" xml:"front,omitempty"`
	// full
	Full string `json:"full,omitempty" xml:"full,omitempty"`
	// left
	Left string `json:"left,omitempty" xml:"left,omitempty"`
	// prefix
	Prefix string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// right
	Right string `json:"right,omitempty" xml:"right,omitempty"`
	// thumb
	Thumb string `json:"thumb,omitempty" xml:"thumb,omitempty"`
	// title
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// top
	Top string `json:"top,omitempty" xml:"top,omitempty"`
}

Panorama

type ParentInfo

type ParentInfo struct {
	// 脱敏后的userId
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 脱敏后的用户名字
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
}

ParentInfo

type PicStringArrayDo

type PicStringArrayDo struct {
	// prefix
	Prefix string `json:"prefix,omitempty" xml:"prefix,omitempty"`
	// sources
	Sources []string `json:"sources,omitempty" xml:"sources>string,omitempty"`
	// suffixs
	Suffixs []string `json:"suffixs,omitempty" xml:"suffixs>string,omitempty"`
}

PicStringArrayDo

type Rate

type Rate struct {
	// 餐食信息
	Breakfast string `json:"breakfast,omitempty" xml:"breakfast,omitempty"`
	// 餐食类型,0--无早, 1--单早, 2--双早, 3--三早, 4--多早
	BreakfastCount int64 `json:"breakfast_count,omitempty" xml:"breakfast_count,omitempty"`
	// 最晚入住时间
	CanCheckinEnd string `json:"can_checkin_end,omitempty" xml:"can_checkin_end,omitempty"`
	// 最早入住时间
	CanCheckinStart string `json:"can_checkin_start,omitempty" xml:"can_checkin_start,omitempty"`
	// 退订政策描述,默认是短文案;
	CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"`
	// 退订政策长文案
	CancelPolicyDescLong string `json:"cancel_policy_desc_long,omitempty" xml:"cancel_policy_desc_long,omitempty"`
	// 退订政策中文案
	CancelPolicyDescMiddle string `json:"cancel_policy_desc_middle,omitempty" xml:"cancel_policy_desc_middle,omitempty"`
	// 退订政策类型枚举,1-不能退, 2-免费退, 3-按规则退
	CancelType int64 `json:"cancel_type,omitempty" xml:"cancel_type,omitempty"`
	// 担保开始时间
	GuaranteeStartTime string `json:"guarantee_start_time,omitempty" xml:"guarantee_start_time,omitempty"`
	// 担保类型
	GuaranteeType int64 `json:"guarantee_type,omitempty" xml:"guarantee_type,omitempty"`
	// h5下单页链接
	H5BuyUrl string `json:"h5_buy_url,omitempty" xml:"h5_buy_url,omitempty"`
	// 最长可入住时间标识,float类型
	Hourage string `json:"hourage,omitempty" xml:"hourage,omitempty"`
	// 是否立即确认
	InstantConfirm bool `json:"instant_confirm,omitempty" xml:"instant_confirm,omitempty"`
	// 库存价格信息
	InventoryPrice string `json:"inventory_price,omitempty" xml:"inventory_price,omitempty"`
	// 会员等级
	MemberLevel int64 `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 会员等级名称
	MemberLevelName string `json:"member_level_name,omitempty" xml:"member_level_name,omitempty"`
	// 报价类型
	PaymentTypeByte int64 `json:"payment_type_byte,omitempty" xml:"payment_type_byte,omitempty"`
	// pc购买地址
	PcBuyUrl string `json:"pc_buy_url,omitempty" xml:"pc_buy_url,omitempty"`
	// 报价id
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 价格政策名称
	RatePlanName string `json:"rate_plan_name,omitempty" xml:"rate_plan_name,omitempty"`
	// 注册状态,true-已注册,false-未注册
	RegisterStatus bool `json:"register_status,omitempty" xml:"register_status,omitempty"`
	// 价格政策id
	RpId int64 `json:"rp_id,omitempty" xml:"rp_id,omitempty"`
	// 立减金额; 最新接口数据已包含UMP优惠信息,用于信用住场景的优惠返回;
	Subtract int64 `json:"subtract,omitempty" xml:"subtract,omitempty"`
	// 是否消失方,true--是,空或false-不是
	HourRate bool `json:"hour_rate,omitempty" xml:"hour_rate,omitempty"`
	// 当前报价对应的rid
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 当前报价所属卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 当前报价对应的srid
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 最晚离店时间,HH:MM格式
	CanCheckOutEnd string `json:"can_check_out_end,omitempty" xml:"can_check_out_end,omitempty"`
	// 是否展示”信用住“标签,true--展示,false
	LaterPay bool `json:"later_pay,omitempty" xml:"later_pay,omitempty"`
	// 是否展示“会员价”标签;不是原价的价格上也有优惠价与会员价的区分;true--展示
	MemberPrice bool `json:"member_price,omitempty" xml:"member_price,omitempty"`
	// 卖家供应商渠道代号,一个卖家可以有多个供应商,使用代号进行区别
	Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"`
}

Rate

type RoomTypeBedInfoVo

type RoomTypeBedInfoVo struct {
	// 或关系床型集合
	BedInfoGroups []BedInfoGroupVo `json:"bed_info_groups,omitempty" xml:"bed_info_groups>bed_info_group_vo,omitempty"`
	// 简短描述,用于详情页报价前面的床型展示。
	BriefDesc string `json:"brief_desc,omitempty" xml:"brief_desc,omitempty"`
	// 分类,大类,用于搜索的筛选项
	Classifications []string `json:"classifications,omitempty" xml:"classifications>string,omitempty"`
	// 分类描述
	ClassificationDesc string `json:"classification_desc,omitempty" xml:"classification_desc,omitempty"`
	// 描述,长描述,描述为最详细的内容,用于详情页房型详情Dialog,下单页,订单页展示
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 模糊描述,最精简的描述信息,大床/双床/单人床/多床/床位简单描述,较长描述省略床宽
	FuzzyDesc string `json:"fuzzy_desc,omitempty" xml:"fuzzy_desc,omitempty"`
	// 简单描述,较长描述省略床宽,但依然会描述具体的床型信息,用于详情页标准房型床型展示
	SimpleDesc string `json:"simple_desc,omitempty" xml:"simple_desc,omitempty"`
}

RoomTypeBedInfoVo

type RoomTypeDailyPrice

type RoomTypeDailyPrice struct {
	// 床型数据
	BedTypeString string `json:"bed_type_string,omitempty" xml:"bed_type_string,omitempty"`
	// h5下单页链接
	H5BuyUrl string `json:"h5_buy_url,omitempty" xml:"h5_buy_url,omitempty"`
	// 房型名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// pc下单页链接
	PcBuyUrl string `json:"pc_buy_url,omitempty" xml:"pc_buy_url,omitempty"`
	// 库价具体信息
	Rates []Rate `json:"rates,omitempty" xml:"rates>rate,omitempty"`
	// 卖家房型id
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 标准房型srid
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 床型信息
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
}

RoomTypeDailyPrice

type RoomTypeInfo

type RoomTypeInfo struct {
	// 面积
	Acreage string `json:"acreage,omitempty" xml:"acreage,omitempty"`
	// 床型
	BedType string `json:"bed_type,omitempty" xml:"bed_type,omitempty"`
	// 英文名
	EnglishName string `json:"english_name,omitempty" xml:"english_name,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 展平商品
	Items []ItemInfo `json:"items,omitempty" xml:"items>item_info,omitempty"`
	// 只存标签id
	Labels []int64 `json:"labels,omitempty" xml:"labels>int64,omitempty"`
	// 房型名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 可住人数
	Occupancy string `json:"occupancy,omitempty" xml:"occupancy,omitempty"`
	// 全景房
	Panoramas []Panorama `json:"panoramas,omitempty" xml:"panoramas>panorama,omitempty"`
	// 图片信息
	PicUrls *PicStringArrayDo `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"`
	// 最低价
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 房型设施
	Services string `json:"services,omitempty" xml:"services,omitempty"`
	// 标准化房型ID
	Srtid int64 `json:"srtid,omitempty" xml:"srtid,omitempty"`
	// 窗型信息
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 是否还有更多
	IsMore int64 `json:"is_more,omitempty" xml:"is_more,omitempty"`
	// 是否满房
	IsSellOut int64 `json:"is_sell_out,omitempty" xml:"is_sell_out,omitempty"`
	// backCash
	BackCash *model.File `json:"back_cash,omitempty" xml:"back_cash,omitempty"`
	// drid
	Drid string `json:"drid,omitempty" xml:"drid,omitempty"`
	// firstStay
	FirstStay bool `json:"first_stay,omitempty" xml:"first_stay,omitempty"`
	// 是否热销
	HotSale bool `json:"hot_sale,omitempty" xml:"hot_sale,omitempty"`
	// 立减状态:0:无立减标,1:显示立减标
	ImmediatelySubtract int64 `json:"immediately_subtract,omitempty" xml:"immediately_subtract,omitempty"`
	// laterPay
	LaterPay bool `json:"later_pay,omitempty" xml:"later_pay,omitempty"`
	// memberPrice
	MemberPrice bool `json:"member_price,omitempty" xml:"member_price,omitempty"`
	// networkService
	NetworkService string `json:"network_service,omitempty" xml:"network_service,omitempty"`
	// 大促展示的文案内容
	PromotionDescArrs []string `json:"promotion_desc_arrs,omitempty" xml:"promotion_desc_arrs>string,omitempty"`
	// 立减
	SubtractPrice int64 `json:"subtract_price,omitempty" xml:"subtract_price,omitempty"`
	// b2bVip
	B2bVip bool `json:"b2b_vip,omitempty" xml:"b2b_vip,omitempty"`
	// bedTypes
	BedTypes []string `json:"bed_types,omitempty" xml:"bed_types>string,omitempty"`
	// double12Desc
	Double12Desc string `json:"double12_desc,omitempty" xml:"double12_desc,omitempty"`
	// dualEleven
	DualEleven bool `json:"dual_eleven,omitempty" xml:"dual_eleven,omitempty"`
	// showNewPeopleCash
	ShowNewPeopleCash bool `json:"show_new_people_cash,omitempty" xml:"show_new_people_cash,omitempty"`
	// priceDesc
	PriceDesc string `json:"price_desc,omitempty" xml:"price_desc,omitempty"`
}

RoomTypeInfo

type SHotelDailyPrice

type SHotelDailyPrice struct {
	// 离店日期
	End string `json:"end,omitempty" xml:"end,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 当日所有库价的最低价
	LowPrice int64 `json:"low_price,omitempty" xml:"low_price,omitempty"`
	// 对应标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 本shid下所有标准房型的当日库价
	SroomTypeDailyPriceList []SRoomTypeDailyPrice `json:"sroom_type_daily_price_list,omitempty" xml:"sroom_type_daily_price_list>s_room_type_daily_price,omitempty"`
	// 入住时间
	Start string `json:"start,omitempty" xml:"start,omitempty"`
}

SHotelDailyPrice

type SHotelInfoObject

type SHotelInfoObject struct {
	// 标准酒店ID
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 酒店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 酒店地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 图片url,多张图片使用","隔开
	PicUrls string `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"`
	// 服务设施
	Services string `json:"services,omitempty" xml:"services,omitempty"`
	// 纬度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 纬度
	Lng string `json:"lng,omitempty" xml:"lng,omitempty"`
	// 评论数
	RateNumber int64 `json:"rate_number,omitempty" xml:"rate_number,omitempty"`
	// 评分
	RateScore string `json:"rate_score,omitempty" xml:"rate_score,omitempty"`
	// 电话,包括三种类型:<br/>1.固定电话,例如:0086-010-85322688<br/>2.移动电话,例如:13869696363<br/>3.400或800电话,例如:0086-4006123928
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 酒店类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 省的code
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 市的code
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 地区的值
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 酒店星级,1-5星,0是客栈
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 酒店开业时间
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 酒店描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 酒店设施
	HotelFacilities string `json:"hotel_facilities,omitempty" xml:"hotel_facilities,omitempty"`
	// 酒店品牌
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 酒店状态,0,营业中;-1,筹建中;-2,暂停营业;-3,已停业;
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 酒店detail页面的url
	PcDetailUrl string `json:"pc_detail_url,omitempty" xml:"pc_detail_url,omitempty"`
	// H5的detail页面的URL
	H5DetailUrl string `json:"h5_detail_url,omitempty" xml:"h5_detail_url,omitempty"`
	// 房型信息
	Rooms []SRoomType `json:"rooms,omitempty" xml:"rooms>s_room_type,omitempty"`
	// 是否为民宿类型
	BnbHotel bool `json:"bnb_hotel,omitempty" xml:"bnb_hotel,omitempty"`
	// 入住时间
	CheckInTime string `json:"check_in_time,omitempty" xml:"check_in_time,omitempty"`
	// 离店时间
	CheckOutTime string `json:"check_out_time,omitempty" xml:"check_out_time,omitempty"`
	// 宠物信息
	PetInfo string `json:"pet_info,omitempty" xml:"pet_info,omitempty"`
	// 外宾类型
	ForeignType int64 `json:"foreign_type,omitempty" xml:"foreign_type,omitempty"`
	// 外宾描述
	ForeignDesc string `json:"foreign_desc,omitempty" xml:"foreign_desc,omitempty"`
	// 酒店装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
}

SHotelInfoObject

type SHotelPrice

type SHotelPrice struct {
	// 每个标准酒店某一天的所有库价集合
	DailyPriceList []SHotelDailyPrice `json:"daily_price_list,omitempty" xml:"daily_price_list>s_hotel_daily_price,omitempty"`
	// 标准房型shid
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
}

SHotelPrice

type SHotelVo

type SHotelVo struct {
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 是否是民宿
	BnbHotel bool `json:"bnb_hotel,omitempty" xml:"bnb_hotel,omitempty"`
	// 品牌code
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 最早入住时间
	CheckInTime string `json:"check_in_time,omitempty" xml:"check_in_time,omitempty"`
	// 最晚离店时间
	CheckOutTime string `json:"check_out_time,omitempty" xml:"check_out_time,omitempty"`
	// 当前酒店所在城市
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 酒店描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 与某个POI的距离
	Distance int64 `json:"distance,omitempty" xml:"distance,omitempty"`
	// 区县
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 最后修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// h5详情页url
	H5DetailUrl string `json:"h5_detail_url,omitempty" xml:"h5_detail_url,omitempty"`
	// 默认PC详情页url
	HotelDetailUrl string `json:"hotel_detail_url,omitempty" xml:"hotel_detail_url,omitempty"`
	// 酒店设施文案
	HotelFacilities string `json:"hotel_facilities,omitempty" xml:"hotel_facilities,omitempty"`
	// 维度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 档次
	Level *NameValuePair `json:"level,omitempty" xml:"level,omitempty"`
	// 经度
	Lng string `json:"lng,omitempty" xml:"lng,omitempty"`
	// 酒店中文名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 开业时间
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 重复信息
	PetInfo string `json:"pet_info,omitempty" xml:"pet_info,omitempty"`
	// 图片信息
	PicUrls string `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 省份
	Province int64 `json:"province,omitempty" xml:"province,omitempty"`
	// 评论数
	RateNumber int64 `json:"rate_number,omitempty" xml:"rate_number,omitempty"`
	// 评分
	RateScore string `json:"rate_score,omitempty" xml:"rate_score,omitempty"`
	// 销量
	Sell int64 `json:"sell,omitempty" xml:"sell,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 服务设施集合类
	ShotelPropertiesVo *ShotelPropertiesSetVo `json:"shotel_properties_vo,omitempty" xml:"shotel_properties_vo,omitempty"`
	// 标准房型列表
	SroomTypes []SRoomTypeVo `json:"sroom_types,omitempty" xml:"sroom_types>s_room_type_vo,omitempty"`
	// 档次,0--无档次,2--二星及经济,3--舒适,4--高档,5--豪华
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 上下架状态,0--下架,其他状态-下架
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 酒店业务分类
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 客房数
	Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"`
}

SHotelVo

type SRoomType

type SRoomType struct {
	// 匹配的标准房型
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 房型名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 宽带服务<br/>"0","有线上网(免费),<br/>"1","有线上网(无)",<br/>"2","有线上网(收费)",<br/>"3","有线上网(部分有且免费)",<br/>"4","有线上网(部分有且收费)"
	Internet string `json:"internet,omitempty" xml:"internet,omitempty"`
	// shid
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// pic_url
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// facility
	Facility string `json:"facility,omitempty" xml:"facility,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 扩展字段
	Extend string `json:"extend,omitempty" xml:"extend,omitempty"`
	// 创建时间
	CreatedTime string `json:"created_time,omitempty" xml:"created_time,omitempty"`
	// 修改时间
	ModifiedTime string `json:"modified_time,omitempty" xml:"modified_time,omitempty"`
	// 窗型,枚举类型<br/>0, 无窗,<br/>1, 有窗;
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 床型。json格式:[{"bedType":"大床","bedSize":"1.5m"},{"bedType":"双床","bedSize":"1.2m"}]
	Bed string `json:"bed,omitempty" xml:"bed,omitempty"`
	// 状态。0:正常;-1:删除
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

SRoomType

type SRoomTypeDailyPrice

type SRoomTypeDailyPrice struct {
	// 离店日期
	End string `json:"end,omitempty" xml:"end,omitempty"`
	// 最低价
	LowPrice int64 `json:"low_price,omitempty" xml:"low_price,omitempty"`
	// 当前标准房型下所有库价集合
	RoomTypeDailyPriceList []RoomTypeDailyPrice `json:"room_type_daily_price_list,omitempty" xml:"room_type_daily_price_list>room_type_daily_price,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 标准房型id
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 入住时间
	Start string `json:"start,omitempty" xml:"start,omitempty"`
	// 床型字符串
	BedTypeString string `json:"bed_type_string,omitempty" xml:"bed_type_string,omitempty"`
	// 标准房型名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 窗型枚举,0-无窗,1-有窗,2-部分有窗,3-暗窗,4-部分暗窗
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
}

SRoomTypeDailyPrice

type SRoomTypePropertiesSetVo

type SRoomTypePropertiesSetVo struct {
	// 标准房型普通图集合
	SroomTypeNomalPictures []ShotelPropertiesVo `json:"sroom_type_nomal_pictures,omitempty" xml:"sroom_type_nomal_pictures>shotel_properties_vo,omitempty"`
	// 房间设施集合
	SroomTypeRoomFacilities []ShotelPropertiesVo `json:"sroom_type_room_facilities,omitempty" xml:"sroom_type_room_facilities>shotel_properties_vo,omitempty"`
}

SRoomTypePropertiesSetVo

type SRoomTypeVo

type SRoomTypeVo struct {
	// 是否可加床,0--不可,1--可以
	AddBed int64 `json:"add_bed,omitempty" xml:"add_bed,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 设施文本
	Facility string `json:"facility,omitempty" xml:"facility,omitempty"`
	// 所在楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 最后修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 房型中文名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 房型英文名
	NameE string `json:"name_e,omitempty" xml:"name_e,omitempty"`
	// 床型结构化信息
	RoomTypeBedInfo *RoomTypeBedInfoVo `json:"room_type_bed_info,omitempty" xml:"room_type_bed_info,omitempty"`
	// 所属标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 标准房型id
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 上下架状态,0--下架,其他状态-下架
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 窗型,0--无窗,1--有窗,2--部分有窗,3--暗窗,4--部分暗窗
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 房型图片,多值使用英文逗号拼接
	PicUrls string `json:"pic_urls,omitempty" xml:"pic_urls,omitempty"`
	// 房型附加属性集合
	SroomTypeProperties *SRoomTypePropertiesSetVo `json:"sroom_type_properties,omitempty" xml:"sroom_type_properties,omitempty"`
}

SRoomTypeVo

type ScoreInfo

type ScoreInfo struct {
	// count
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// desc
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// label
	Label string `json:"label,omitempty" xml:"label,omitempty"`
	// score
	Score string `json:"score,omitempty" xml:"score,omitempty"`
}

ScoreInfo

type SearchPoi

type SearchPoi struct {
	// 经度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 纬度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

SearchPoi

type SellerSupplierPartnerMemberInfoVo

type SellerSupplierPartnerMemberInfoVo struct {
	// 会员卡名称
	CardName string `json:"card_name,omitempty" xml:"card_name,omitempty"`
	// 会员详细描述
	DetailMemo string `json:"detail_memo,omitempty" xml:"detail_memo,omitempty"`
	// 用户是否在第三方系统中绑定了会员,true--已绑定
	HasBinded bool `json:"has_binded,omitempty" xml:"has_binded,omitempty"`
	// 会员等级
	MemberLevel int64 `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 会员对应的商家
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 会员对应的供应商
	Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"`
}

SellerSupplierPartnerMemberInfoVo

type ShotelPropertiesSetVo

type ShotelPropertiesSetVo struct {
	// 预订须知
	ShotelBookingNotics []ShotelPropertiesVo `json:"shotel_booking_notics,omitempty" xml:"shotel_booking_notics>shotel_properties_vo,omitempty"`
	// 娱乐设施
	ShotelFunFacilities []ShotelPropertiesVo `json:"shotel_fun_facilities,omitempty" xml:"shotel_fun_facilities>shotel_properties_vo,omitempty"`
	// 酒店设施
	ShotelHotelFacilities []ShotelPropertiesVo `json:"shotel_hotel_facilities,omitempty" xml:"shotel_hotel_facilities>shotel_properties_vo,omitempty"`
	// 酒店服务
	ShotelHotelServices []ShotelPropertiesVo `json:"shotel_hotel_services,omitempty" xml:"shotel_hotel_services>shotel_properties_vo,omitempty"`
	// 酒店普通图
	ShotelNomalPictures []ShotelPropertiesVo `json:"shotel_nomal_pictures,omitempty" xml:"shotel_nomal_pictures>shotel_properties_vo,omitempty"`
	// 酒店维度的房间设施
	ShotelRoomFacilities []ShotelPropertiesVo `json:"shotel_room_facilities,omitempty" xml:"shotel_room_facilities>shotel_properties_vo,omitempty"`
}

ShotelPropertiesSetVo

type ShotelPropertiesVo

type ShotelPropertiesVo struct {
	// 条目id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 排序
	OrderNum int64 `json:"order_num,omitempty" xml:"order_num,omitempty"`
	// 所属shid
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 所属srid,如果是酒店上属性,则该字段无值
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 二级分类
	SubType string `json:"sub_type,omitempty" xml:"sub_type,omitempty"`
	// 一级分类,10-预订须知
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 二级服务设施字典code,10001--入店时间, 10002--离店时间, 10003--酒店政策, 10004--加床收费, 10005--额外收费, 10006--其他说明, 10007--酒店位于山顶, 10008--需坐船前往, 10009--位于景区内
	TypeId string `json:"type_id,omitempty" xml:"type_id,omitempty"`
	// 实际内容
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

ShotelPropertiesVo

type StatInfo

type StatInfo struct {
	// 品牌类型信息
	BrandTypeList []BrandType `json:"brand_type_list,omitempty" xml:"brand_type_list>brand_type,omitempty"`
}

StatInfo

type SuggestItemVo

type SuggestItemVo struct {
	// 城市code
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 城市名字
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 联想词
	DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"`
	// 联想词类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 英文的联想词
	DisplayNameEnglish string `json:"display_name_english,omitempty" xml:"display_name_english,omitempty"`
	// 区域,国内0,国外1
	Region int64 `json:"region,omitempty" xml:"region,omitempty"`
}

SuggestItemVo

type TabInfo

type TabInfo struct {
	// 标签的态度 1好 0中性 -1 差
	Attitude int64 `json:"attitude,omitempty" xml:"attitude,omitempty"`
	// tab是否点击
	IsClick bool `json:"is_click,omitempty" xml:"is_click,omitempty"`
	// tab编码
	TabCode string `json:"tab_code,omitempty" xml:"tab_code,omitempty"`
	// tab下的统计数据
	TabDetail string `json:"tab_detail,omitempty" xml:"tab_detail,omitempty"`
	// tabId
	TabId int64 `json:"tab_id,omitempty" xml:"tab_id,omitempty"`
	// tab名称
	TabName string `json:"tab_name,omitempty" xml:"tab_name,omitempty"`
	// tab对应的埋点名
	TabTrack string `json:"tab_track,omitempty" xml:"tab_track,omitempty"`
	// 标签的类型 0正常 1热词 2房型 3度假
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

TabInfo

type TaobaoXhotelCityGetAPIResponse

type TaobaoXhotelCityGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCityGetResponse
}

酒店城市数据获取接口 API返回值 taobao.xhotel.city.get

引流API,对外提供酒店城市数据

type TaobaoXhotelCityGetRequest

type TaobaoXhotelCityGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

酒店城市数据获取接口 API请求 taobao.xhotel.city.get

引流API,对外提供酒店城市数据

func NewTaobaoXhotelCityGetRequest

func NewTaobaoXhotelCityGetRequest() *TaobaoXhotelCityGetRequest

初始化TaobaoXhotelCityGetRequest对象

func (TaobaoXhotelCityGetRequest) GetApiMethodName

func (r TaobaoXhotelCityGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelCityGetRequest) GetApiParams

func (r TaobaoXhotelCityGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoXhotelCityGetRequest) GetCount

func (r TaobaoXhotelCityGetRequest) GetCount() int64

Count Getter

func (TaobaoXhotelCityGetRequest) GetStart

func (r TaobaoXhotelCityGetRequest) GetStart() int64

Start Getter

func (*TaobaoXhotelCityGetRequest) SetCount

func (r *TaobaoXhotelCityGetRequest) SetCount(count int64) error

Count Setter 分页读取的城市个数,最小值为1,最大值为200

func (*TaobaoXhotelCityGetRequest) SetStart

func (r *TaobaoXhotelCityGetRequest) SetStart(start int64) error

Start Setter 分页读取的开始下标,从0开始

type TaobaoXhotelCityGetResponse

type TaobaoXhotelCityGetResponse struct {
	XMLName xml.Name `xml:"xhotel_city_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 城市数据的版本。所有城市数据有一个统一的版本,与入参start和count无关。 ISV可通过版本判断城市数据是否有更新。判断方法如下:ISV在第一次拉取数据时请将version保存在本地;以后再调用接口时请比较本地version与接口返回的version。如果本地version小于于接口返回version,则说明城市数据有更新;如果本地version等于接口返回version,则说明城市数据无更新,不需要再继续拉取城市数据。
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 酒店区域的数据列表
	Divisions []HotelDivision `json:"divisions,omitempty" xml:"divisions>hotel_division,omitempty"`
}

酒店城市数据获取接口 成功返回结果

type TaobaoXhotelInfoListGetAPIResponse

type TaobaoXhotelInfoListGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelInfoListGetResponse
}

酒店详细信息查询 API返回值 taobao.xhotel.info.list.get

获取酒店详情信息

type TaobaoXhotelInfoListGetForHelloAPIResponse

type TaobaoXhotelInfoListGetForHelloAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelInfoListGetForHelloResponse
}

哈罗获取酒店详情 API返回值 taobao.xhotel.info.list.get.for.hello

哈罗合作项目,供哈罗合作方批量和增量两种场景下查询已开通城市下的标准酒店及房型信息,不涉及用户登录信息

type TaobaoXhotelInfoListGetForHelloRequest

type TaobaoXhotelInfoListGetForHelloRequest struct {
	model.Params
	// contains filtered or unexported fields
}

哈罗获取酒店详情 API请求 taobao.xhotel.info.list.get.for.hello

哈罗合作项目,供哈罗合作方批量和增量两种场景下查询已开通城市下的标准酒店及房型信息,不涉及用户登录信息

func NewTaobaoXhotelInfoListGetForHelloRequest

func NewTaobaoXhotelInfoListGetForHelloRequest() *TaobaoXhotelInfoListGetForHelloRequest

初始化TaobaoXhotelInfoListGetForHelloRequest对象

func (TaobaoXhotelInfoListGetForHelloRequest) GetApiMethodName

func (r TaobaoXhotelInfoListGetForHelloRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelInfoListGetForHelloRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelInfoListGetForHelloRequest) GetHotelInfoParam

HotelInfoParam Getter

func (*TaobaoXhotelInfoListGetForHelloRequest) SetHotelInfoParam

func (r *TaobaoXhotelInfoListGetForHelloRequest) SetHotelInfoParam(hotelInfoParam *HotelInfoParam) error

HotelInfoParam Setter 参数封装模型

type TaobaoXhotelInfoListGetForHelloResponse

type TaobaoXhotelInfoListGetForHelloResponse struct {
	XMLName xml.Name `xml:"xhotel_info_list_get_for_hello_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 查询结果集
	Result *TaobaoXhotelInfoListGetForHelloResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

哈罗获取酒店详情 成功返回结果

type TaobaoXhotelInfoListGetForHelloResultSet

type TaobaoXhotelInfoListGetForHelloResultSet struct {
	// 渠道id
	ChannelId string `json:"channel_id,omitempty" xml:"channel_id,omitempty"`
	// 本次请求是否错误
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
	// errorCode,error=true时有值
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息,error=true时有值
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// list页h5链接
	H5ListUrl string `json:"h5_list_url,omitempty" xml:"h5_list_url,omitempty"`
	// 当前数据集合是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// list页pc链接
	HotelListUrl string `json:"hotel_list_url,omitempty" xml:"hotel_list_url,omitempty"`
	// 请求id,用于链路追踪
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 每个标准酒店及房型信息集合
	Results []SHotelVo `json:"results,omitempty" xml:"results>s_hotel_vo,omitempty"`
	// 是否成功标记
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 成功标志
	SuccessFlag int64 `json:"success_flag,omitempty" xml:"success_flag,omitempty"`
	// 总数据量
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 数据版本
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 分页查询结果中最后一个id,配合hasNext进行分页查询的性能优化
	LastId int64 `json:"last_id,omitempty" xml:"last_id,omitempty"`
}

TaobaoXhotelInfoListGetForHelloResultSet

type TaobaoXhotelInfoListGetRequest

type TaobaoXhotelInfoListGetRequest struct {
	model.Params
	// contains filtered or unexported fields
}

酒店详细信息查询 API请求 taobao.xhotel.info.list.get

获取酒店详情信息

func NewTaobaoXhotelInfoListGetRequest

func NewTaobaoXhotelInfoListGetRequest() *TaobaoXhotelInfoListGetRequest

初始化TaobaoXhotelInfoListGetRequest对象

func (TaobaoXhotelInfoListGetRequest) GetApiMethodName

func (r TaobaoXhotelInfoListGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelInfoListGetRequest) GetApiParams

func (r TaobaoXhotelInfoListGetRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoXhotelInfoListGetRequest) GetCityCode

func (r TaobaoXhotelInfoListGetRequest) GetCityCode() int64

CityCode Getter

func (TaobaoXhotelInfoListGetRequest) GetCurrentPage

func (r TaobaoXhotelInfoListGetRequest) GetCurrentPage() int64

CurrentPage Getter

func (TaobaoXhotelInfoListGetRequest) GetPageSize

func (r TaobaoXhotelInfoListGetRequest) GetPageSize() int64

PageSize Getter

func (TaobaoXhotelInfoListGetRequest) GetPid

Pid Getter

func (TaobaoXhotelInfoListGetRequest) GetShid

Shid Getter

func (*TaobaoXhotelInfoListGetRequest) SetCityCode

func (r *TaobaoXhotelInfoListGetRequest) SetCityCode(cityCode int64) error

CityCode Setter 城市code

func (*TaobaoXhotelInfoListGetRequest) SetCurrentPage

func (r *TaobaoXhotelInfoListGetRequest) SetCurrentPage(currentPage int64) error

CurrentPage Setter 分页参数:当前页数,从1开始计数。<br/>默认值:1

func (*TaobaoXhotelInfoListGetRequest) SetPageSize

func (r *TaobaoXhotelInfoListGetRequest) SetPageSize(pageSize int64) error

PageSize Setter 分页参数:每页酒店数量。最小值1,最大值为50。默认值:20

func (*TaobaoXhotelInfoListGetRequest) SetPid

Pid Setter pid

func (*TaobaoXhotelInfoListGetRequest) SetShid

func (r *TaobaoXhotelInfoListGetRequest) SetShid(shid int64) error

Shid Setter 标准酒店id,如果需要查询单条酒店的信息,需要传入此参数

type TaobaoXhotelInfoListGetResponse

type TaobaoXhotelInfoListGetResponse struct {
	XMLName xml.Name `xml:"xhotel_info_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 标准酒店信息
	Hotels []SHotelInfoObject `json:"hotels,omitempty" xml:"hotels>s_hotel_info_object,omitempty"`
}

酒店详细信息查询 成功返回结果

type TaobaoXhotelPriceGetForHelloAPIResponse

type TaobaoXhotelPriceGetForHelloAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelPriceGetForHelloResponse
}

哈罗合作方获取酒店库存报价 API返回值 taobao.xhotel.price.get.for.hello

哈罗合作项目,供哈罗合作方按需查询已开通城市下的标准酒店下指定时间段内的库存报价信息;在用户登录方面,返回结果不涉及用户个人信息,不涉及商家信息;仅根据不同用户,查询对应会员等级后,返回不同报价;

type TaobaoXhotelPriceGetForHelloRequest

type TaobaoXhotelPriceGetForHelloRequest struct {
	model.Params
	// contains filtered or unexported fields
}

哈罗合作方获取酒店库存报价 API请求 taobao.xhotel.price.get.for.hello

哈罗合作项目,供哈罗合作方按需查询已开通城市下的标准酒店下指定时间段内的库存报价信息;在用户登录方面,返回结果不涉及用户个人信息,不涉及商家信息;仅根据不同用户,查询对应会员等级后,返回不同报价;

func NewTaobaoXhotelPriceGetForHelloRequest

func NewTaobaoXhotelPriceGetForHelloRequest() *TaobaoXhotelPriceGetForHelloRequest

初始化TaobaoXhotelPriceGetForHelloRequest对象

func (TaobaoXhotelPriceGetForHelloRequest) GetApiMethodName

func (r TaobaoXhotelPriceGetForHelloRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelPriceGetForHelloRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelPriceGetForHelloRequest) GetHotelPriceParam

func (r TaobaoXhotelPriceGetForHelloRequest) GetHotelPriceParam() *HotelPriceParam

HotelPriceParam Getter

func (*TaobaoXhotelPriceGetForHelloRequest) SetHotelPriceParam

func (r *TaobaoXhotelPriceGetForHelloRequest) SetHotelPriceParam(hotelPriceParam *HotelPriceParam) error

HotelPriceParam Setter 参数封装

type TaobaoXhotelPriceGetForHelloResponse

type TaobaoXhotelPriceGetForHelloResponse struct {
	XMLName xml.Name `xml:"xhotel_price_get_for_hello_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 库价结果封装
	Result *HotelPriceResultSet `json:"result,omitempty" xml:"result,omitempty"`
}

哈罗合作方获取酒店库存报价 成功返回结果

type TopCitySuggestListVo

type TopCitySuggestListVo struct {
	// 联想词列表
	SuggestItemVOList []SuggestItemVo `json:"suggest_item_v_o_list,omitempty" xml:"suggest_item_v_o_list>suggest_item_vo,omitempty"`
}

TopCitySuggestListVo

type TopHotelSearchListParam

type TopHotelSearchListParam struct {
	// 成人数
	AdultNum int64 `json:"adult_num,omitempty" xml:"adult_num,omitempty"`
	// 入店时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 离店时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 儿童年龄
	ChildrenAges []int64 `json:"children_ages,omitempty" xml:"children_ages>int64,omitempty"`
	// 城市code
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 关键字
	Keywords string `json:"keywords,omitempty" xml:"keywords,omitempty"`
	// 酒店获取开始位置
	Offset int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// 排序方向
	OrderDirection int64 `json:"order_direction,omitempty" xml:"order_direction,omitempty"`
	// 排序类型
	OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 每页个数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 距离搜索时的搜索半径
	Radius int64 `json:"radius,omitempty" xml:"radius,omitempty"`
	// 卖家ids
	SellerIds []int64 `json:"seller_ids,omitempty" xml:"seller_ids>int64,omitempty"`
	// 用户的Agent
	UserAgent string `json:"user_agent,omitempty" xml:"user_agent,omitempty"`
	// 用户Id, 0表示未登录用户
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 用户定位的经度
	UserLatitude string `json:"user_latitude,omitempty" xml:"user_latitude,omitempty"`
	// 用户定位的伟度
	UserLongitude string `json:"user_longitude,omitempty" xml:"user_longitude,omitempty"`
	// 搜索poi
	SearchPoi *SearchPoi `json:"search_poi,omitempty" xml:"search_poi,omitempty"`
	// 品牌code
	BrandCodeList []string `json:"brand_code_list,omitempty" xml:"brand_code_list>string,omitempty"`
	// 用户city
	UserCity int64 `json:"user_city,omitempty" xml:"user_city,omitempty"`
}

TopHotelSearchListParam

type TopHotelSearchListVo

type TopHotelSearchListVo struct {
	// 酒店List
	HotelList []HotelListInfo `json:"hotel_list,omitempty" xml:"hotel_list>hotel_list_info,omitempty"`
	// 分页参数。下一页开始位置
	Offset int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// 总酒店数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// searchId,debug用
	SearchId string `json:"search_id,omitempty" xml:"search_id,omitempty"`
	// totalPages
	TotalPages int64 `json:"total_pages,omitempty" xml:"total_pages,omitempty"`
	// 统计信息
	StatInfo *StatInfo `json:"stat_info,omitempty" xml:"stat_info,omitempty"`
}

TopHotelSearchListVo

Source Files

Jump to

Keyboard shortcuts

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