hotel

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package hotel 包含酒店导购API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=35634

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlitripHotelRateGetmixratelistGetAPIRequest added in v1.3.4

func ReleaseAlitripHotelRateGetmixratelistGetAPIRequest(v *AlitripHotelRateGetmixratelistGetAPIRequest)

ReleaseAlitripHotelRateGetmixratelistGetAPIRequest 将 AlitripHotelRateGetmixratelistGetAPIRequest 放入 sync.Pool

func ReleaseAlitripHotelRateGetmixratelistGetAPIResponse added in v1.3.4

func ReleaseAlitripHotelRateGetmixratelistGetAPIResponse(v *AlitripHotelRateGetmixratelistGetAPIResponse)

ReleaseAlitripHotelRateGetmixratelistGetAPIResponse 将 AlitripHotelRateGetmixratelistGetAPIResponse 保存到 sync.Pool

func ReleaseAlitripHotelRateGetmixratelistGetResult added in v1.3.4

func ReleaseAlitripHotelRateGetmixratelistGetResult(v *AlitripHotelRateGetmixratelistGetResult)

ReleaseAlitripHotelRateGetmixratelistGetResult 释放AlitripHotelRateGetmixratelistGetResult

func ReleaseAttributes added in v1.3.4

func ReleaseAttributes(v *Attributes)

ReleaseAttributes 释放Attributes

func ReleaseBedInfoGroupVo added in v1.3.4

func ReleaseBedInfoGroupVo(v *BedInfoGroupVo)

ReleaseBedInfoGroupVo 释放BedInfoGroupVo

func ReleaseBedInfoVo added in v1.3.4

func ReleaseBedInfoVo(v *BedInfoVo)

ReleaseBedInfoVo 释放BedInfoVo

func ReleaseBizextmap added in v1.3.4

func ReleaseBizextmap(v *Bizextmap)

ReleaseBizextmap 释放Bizextmap

func ReleaseCheckInCheckOutPrice added in v1.3.4

func ReleaseCheckInCheckOutPrice(v *CheckInCheckOutPrice)

ReleaseCheckInCheckOutPrice 释放CheckInCheckOutPrice

func ReleaseGetMixRateListParam added in v1.3.4

func ReleaseGetMixRateListParam(v *GetMixRateListParam)

ReleaseGetMixRateListParam 释放GetMixRateListParam

func ReleaseGetMixRateListResult added in v1.3.4

func ReleaseGetMixRateListResult(v *GetMixRateListResult)

ReleaseGetMixRateListResult 释放GetMixRateListResult

func ReleaseHeaders added in v1.3.4

func ReleaseHeaders(v *Headers)

ReleaseHeaders 释放Headers

func ReleaseHotelDivision added in v1.3.4

func ReleaseHotelDivision(v *HotelDivision)

ReleaseHotelDivision 释放HotelDivision

func ReleaseHotelInfoParam added in v1.3.4

func ReleaseHotelInfoParam(v *HotelInfoParam)

ReleaseHotelInfoParam 释放HotelInfoParam

func ReleaseHotelPrice added in v1.3.4

func ReleaseHotelPrice(v *HotelPrice)

ReleaseHotelPrice 释放HotelPrice

func ReleaseHotelPriceParam added in v1.3.4

func ReleaseHotelPriceParam(v *HotelPriceParam)

ReleaseHotelPriceParam 释放HotelPriceParam

func ReleaseHotelPriceResultSet added in v1.3.4

func ReleaseHotelPriceResultSet(v *HotelPriceResultSet)

ReleaseHotelPriceResultSet 释放HotelPriceResultSet

func ReleaseHotelPricesResponse added in v1.3.4

func ReleaseHotelPricesResponse(v *HotelPricesResponse)

ReleaseHotelPricesResponse 释放HotelPricesResponse

func ReleaseHotelPricesResult added in v1.3.4

func ReleaseHotelPricesResult(v *HotelPricesResult)

ReleaseHotelPricesResult 释放HotelPricesResult

func ReleaseItemRateReplyVo added in v1.3.4

func ReleaseItemRateReplyVo(v *ItemRateReplyVo)

ReleaseItemRateReplyVo 释放ItemRateReplyVo

func ReleaseItemStatisticVo added in v1.3.4

func ReleaseItemStatisticVo(v *ItemStatisticVo)

ReleaseItemStatisticVo 释放ItemStatisticVo

func ReleaseLikeTargetCount added in v1.3.4

func ReleaseLikeTargetCount(v *LikeTargetCount)

ReleaseLikeTargetCount 释放LikeTargetCount

func ReleaseMixRateVo added in v1.3.4

func ReleaseMixRateVo(v *MixRateVo)

ReleaseMixRateVo 释放MixRateVo

func ReleaseNameValuePair added in v1.3.4

func ReleaseNameValuePair(v *NameValuePair)

ReleaseNameValuePair 释放NameValuePair

func ReleaseParentInfo added in v1.3.4

func ReleaseParentInfo(v *ParentInfo)

ReleaseParentInfo 释放ParentInfo

func ReleasePromotionPrice added in v1.3.4

func ReleasePromotionPrice(v *PromotionPrice)

ReleasePromotionPrice 释放PromotionPrice

func ReleaseRate added in v1.3.4

func ReleaseRate(v *Rate)

ReleaseRate 释放Rate

func ReleaseRatePrice added in v1.3.4

func ReleaseRatePrice(v *RatePrice)

ReleaseRatePrice 释放RatePrice

func ReleaseRoomPrice added in v1.3.4

func ReleaseRoomPrice(v *RoomPrice)

ReleaseRoomPrice 释放RoomPrice

func ReleaseRoomTypeBedInfoVo added in v1.3.4

func ReleaseRoomTypeBedInfoVo(v *RoomTypeBedInfoVo)

ReleaseRoomTypeBedInfoVo 释放RoomTypeBedInfoVo

func ReleaseRoomTypeDailyPrice added in v1.3.4

func ReleaseRoomTypeDailyPrice(v *RoomTypeDailyPrice)

ReleaseRoomTypeDailyPrice 释放RoomTypeDailyPrice

func ReleaseSHotelDailyPrice added in v1.3.4

func ReleaseSHotelDailyPrice(v *SHotelDailyPrice)

ReleaseSHotelDailyPrice 释放SHotelDailyPrice

func ReleaseSHotelInfoObject added in v1.3.4

func ReleaseSHotelInfoObject(v *SHotelInfoObject)

ReleaseSHotelInfoObject 释放SHotelInfoObject

func ReleaseSHotelPrice added in v1.3.4

func ReleaseSHotelPrice(v *SHotelPrice)

ReleaseSHotelPrice 释放SHotelPrice

func ReleaseSHotelVo added in v1.3.4

func ReleaseSHotelVo(v *SHotelVo)

ReleaseSHotelVo 释放SHotelVo

func ReleaseSRoomType added in v1.3.4

func ReleaseSRoomType(v *SRoomType)

ReleaseSRoomType 释放SRoomType

func ReleaseSRoomTypeDailyPrice added in v1.3.4

func ReleaseSRoomTypeDailyPrice(v *SRoomTypeDailyPrice)

ReleaseSRoomTypeDailyPrice 释放SRoomTypeDailyPrice

func ReleaseSRoomTypePropertiesSetVo added in v1.3.4

func ReleaseSRoomTypePropertiesSetVo(v *SRoomTypePropertiesSetVo)

ReleaseSRoomTypePropertiesSetVo 释放SRoomTypePropertiesSetVo

func ReleaseSRoomTypeVo added in v1.3.4

func ReleaseSRoomTypeVo(v *SRoomTypeVo)

ReleaseSRoomTypeVo 释放SRoomTypeVo

func ReleaseScoreInfo added in v1.3.4

func ReleaseScoreInfo(v *ScoreInfo)

ReleaseScoreInfo 释放ScoreInfo

func ReleaseSellerSupplierPartnerMemberInfoVo added in v1.3.4

func ReleaseSellerSupplierPartnerMemberInfoVo(v *SellerSupplierPartnerMemberInfoVo)

ReleaseSellerSupplierPartnerMemberInfoVo 释放SellerSupplierPartnerMemberInfoVo

func ReleaseShotelPropertiesSetVo added in v1.3.4

func ReleaseShotelPropertiesSetVo(v *ShotelPropertiesSetVo)

ReleaseShotelPropertiesSetVo 释放ShotelPropertiesSetVo

func ReleaseShotelPropertiesVo added in v1.3.4

func ReleaseShotelPropertiesVo(v *ShotelPropertiesVo)

ReleaseShotelPropertiesVo 释放ShotelPropertiesVo

func ReleaseTabInfo added in v1.3.4

func ReleaseTabInfo(v *TabInfo)

ReleaseTabInfo 释放TabInfo

func ReleaseTaobaoXhotelCityGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelCityGetAPIRequest(v *TaobaoXhotelCityGetAPIRequest)

ReleaseTaobaoXhotelCityGetAPIRequest 将 TaobaoXhotelCityGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelCityGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelCityGetAPIResponse(v *TaobaoXhotelCityGetAPIResponse)

ReleaseTaobaoXhotelCityGetAPIResponse 将 TaobaoXhotelCityGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelDistributionInfoAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelDistributionInfoAPIRequest(v *TaobaoXhotelDistributionInfoAPIRequest)

ReleaseTaobaoXhotelDistributionInfoAPIRequest 将 TaobaoXhotelDistributionInfoAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelDistributionInfoAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelDistributionInfoAPIResponse(v *TaobaoXhotelDistributionInfoAPIResponse)

ReleaseTaobaoXhotelDistributionInfoAPIResponse 将 TaobaoXhotelDistributionInfoAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelDistributionPriceAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelDistributionPriceAPIRequest(v *TaobaoXhotelDistributionPriceAPIRequest)

ReleaseTaobaoXhotelDistributionPriceAPIRequest 将 TaobaoXhotelDistributionPriceAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelDistributionPriceAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelDistributionPriceAPIResponse(v *TaobaoXhotelDistributionPriceAPIResponse)

ReleaseTaobaoXhotelDistributionPriceAPIResponse 将 TaobaoXhotelDistributionPriceAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelInfoListGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelInfoListGetAPIRequest(v *TaobaoXhotelInfoListGetAPIRequest)

ReleaseTaobaoXhotelInfoListGetAPIRequest 将 TaobaoXhotelInfoListGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelInfoListGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelInfoListGetAPIResponse(v *TaobaoXhotelInfoListGetAPIResponse)

ReleaseTaobaoXhotelInfoListGetAPIResponse 将 TaobaoXhotelInfoListGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelInfoListGetForHelloAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelInfoListGetForHelloAPIRequest(v *TaobaoXhotelInfoListGetForHelloAPIRequest)

ReleaseTaobaoXhotelInfoListGetForHelloAPIRequest 将 TaobaoXhotelInfoListGetForHelloAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelInfoListGetForHelloAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelInfoListGetForHelloAPIResponse(v *TaobaoXhotelInfoListGetForHelloAPIResponse)

ReleaseTaobaoXhotelInfoListGetForHelloAPIResponse 将 TaobaoXhotelInfoListGetForHelloAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelInfoListGetForHelloResultSet added in v1.3.4

func ReleaseTaobaoXhotelInfoListGetForHelloResultSet(v *TaobaoXhotelInfoListGetForHelloResultSet)

ReleaseTaobaoXhotelInfoListGetForHelloResultSet 释放TaobaoXhotelInfoListGetForHelloResultSet

func ReleaseTaobaoXhotelPriceGetForHelloAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelPriceGetForHelloAPIRequest(v *TaobaoXhotelPriceGetForHelloAPIRequest)

ReleaseTaobaoXhotelPriceGetForHelloAPIRequest 将 TaobaoXhotelPriceGetForHelloAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelPriceGetForHelloAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelPriceGetForHelloAPIResponse(v *TaobaoXhotelPriceGetForHelloAPIResponse)

ReleaseTaobaoXhotelPriceGetForHelloAPIResponse 将 TaobaoXhotelPriceGetForHelloAPIResponse 保存到 sync.Pool

Types

type AlitripHotelRateGetmixratelistGetAPIRequest added in v1.2.0

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

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

酒店评论接口

func GetAlitripHotelRateGetmixratelistGetAPIRequest added in v1.3.4

func GetAlitripHotelRateGetmixratelistGetAPIRequest() *AlitripHotelRateGetmixratelistGetAPIRequest

GetAlitripHotelRateGetmixratelistGetRequest 从 sync.Pool 获取 AlitripHotelRateGetmixratelistGetAPIRequest

func NewAlitripHotelRateGetmixratelistGetRequest

func NewAlitripHotelRateGetmixratelistGetRequest() *AlitripHotelRateGetmixratelistGetAPIRequest

NewAlitripHotelRateGetmixratelistGetRequest 初始化AlitripHotelRateGetmixratelistGetAPIRequest对象

func (AlitripHotelRateGetmixratelistGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripHotelRateGetmixratelistGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripHotelRateGetmixratelistGetAPIRequest) GetParamGetMixRateListParam added in v1.2.0

func (r AlitripHotelRateGetmixratelistGetAPIRequest) GetParamGetMixRateListParam() *GetMixRateListParam

GetParamGetMixRateListParam ParamGetMixRateListParam Getter

func (AlitripHotelRateGetmixratelistGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlitripHotelRateGetmixratelistGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripHotelRateGetmixratelistGetAPIRequest) SetParamGetMixRateListParam added in v1.2.0

func (r *AlitripHotelRateGetmixratelistGetAPIRequest) SetParamGetMixRateListParam(_paramGetMixRateListParam *GetMixRateListParam) error

SetParamGetMixRateListParam is ParamGetMixRateListParam Setter 评论参数

type AlitripHotelRateGetmixratelistGetAPIResponse

type AlitripHotelRateGetmixratelistGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelRateGetmixratelistGetAPIResponseModel
}

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

酒店评论接口

func GetAlitripHotelRateGetmixratelistGetAPIResponse added in v1.3.4

func GetAlitripHotelRateGetmixratelistGetAPIResponse() *AlitripHotelRateGetmixratelistGetAPIResponse

GetAlitripHotelRateGetmixratelistGetAPIResponse 从 sync.Pool 获取 AlitripHotelRateGetmixratelistGetAPIResponse

func (*AlitripHotelRateGetmixratelistGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripHotelRateGetmixratelistGetAPIResponseModel added in v1.2.0

type AlitripHotelRateGetmixratelistGetAPIResponseModel 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"`
}

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

func (*AlitripHotelRateGetmixratelistGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripHotelRateGetmixratelistGetResult

type AlitripHotelRateGetmixratelistGetResult struct {
	// mappingCode
	MappingCode string `json:"mapping_code,omitempty" xml:"mapping_code,omitempty"`
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// 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"`
	// model
	Model *GetMixRateListResult `json:"model,omitempty" xml:"model,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripHotelRateGetmixratelistGetResult 结构体

func GetAlitripHotelRateGetmixratelistGetResult added in v1.3.4

func GetAlitripHotelRateGetmixratelistGetResult() *AlitripHotelRateGetmixratelistGetResult

GetAlitripHotelRateGetmixratelistGetResult() 从对象池中获取AlitripHotelRateGetmixratelistGetResult

type Attributes

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

Attributes 结构体

func GetAttributes added in v1.3.4

func GetAttributes() *Attributes

GetAttributes() 从对象池中获取Attributes

type BedInfoGroupVo

type BedInfoGroupVo struct {
	// 和关系床型集合
	BedInfos []BedInfoVo `json:"bed_infos,omitempty" xml:"bed_infos>bed_info_vo,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"`
	// 床数量
	BedNum int64 `json:"bed_num,omitempty" xml:"bed_num,omitempty"`
}

BedInfoGroupVo 结构体

func GetBedInfoGroupVo added in v1.3.4

func GetBedInfoGroupVo() *BedInfoGroupVo

GetBedInfoGroupVo() 从对象池中获取BedInfoGroupVo

type BedInfoVo

type BedInfoVo struct {
	// 床型
	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"`
	// 床数量
	BedNum int64 `json:"bed_num,omitempty" xml:"bed_num,omitempty"`
}

BedInfoVo 结构体

func GetBedInfoVo added in v1.3.4

func GetBedInfoVo() *BedInfoVo

GetBedInfoVo() 从对象池中获取BedInfoVo

type Bizextmap

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

Bizextmap 结构体

func GetBizextmap added in v1.3.4

func GetBizextmap() *Bizextmap

GetBizextmap() 从对象池中获取Bizextmap

type CheckInCheckOutPrice added in v1.2.9

type CheckInCheckOutPrice struct {
	// 飞猪营销优惠列表
	Promotions []PromotionPrice `json:"promotions,omitempty" xml:"promotions>promotion_price,omitempty"`
	// 入住日期 yyyy-MM-dd
	CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"`
	// 离店日期 yyyy-MM-dd
	CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"`
	// 入住天数
	StayDays int64 `json:"stay_days,omitempty" xml:"stay_days,omitempty"`
	// 商品营销后报价,精度(分)
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 早餐数,-1代表早餐数和入住人数一致
	BreakfastCount int64 `json:"breakfast_count,omitempty" xml:"breakfast_count,omitempty"`
	// 商品营销前报价,精度(分)
	OriginalPrice int64 `json:"original_price,omitempty" xml:"original_price,omitempty"`
}

CheckInCheckOutPrice 结构体

func GetCheckInCheckOutPrice added in v1.3.4

func GetCheckInCheckOutPrice() *CheckInCheckOutPrice

GetCheckInCheckOutPrice() 从对象池中获取CheckInCheckOutPrice

type GetMixRateListParam

type GetMixRateListParam struct {
	// 酒店评论类型筛选
	TabFilter string `json:"tab_filter,omitempty" xml:"tab_filter,omitempty"`
	// 业务类型
	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"`
}

GetMixRateListParam 结构体

func GetGetMixRateListParam added in v1.3.4

func GetGetMixRateListParam() *GetMixRateListParam

GetGetMixRateListParam() 从对象池中获取GetMixRateListParam

type GetMixRateListResult

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

GetMixRateListResult 结构体

func GetGetMixRateListResult added in v1.3.4

func GetGetMixRateListResult() *GetMixRateListResult

GetGetMixRateListResult() 从对象池中获取GetMixRateListResult

type Headers

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

Headers 结构体

func GetHeaders added in v1.3.4

func GetHeaders() *Headers

GetHeaders() 从对象池中获取Headers

type HotelDivision

type HotelDivision struct {
	// 城市名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 0:国内;1:国外
	Region int64 `json:"region,omitempty" xml:"region,omitempty"`
	// 城市编码
	Code int64 `json:"code,omitempty" xml:"code,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 结构体

func GetHotelDivision added in v1.3.4

func GetHotelDivision() *HotelDivision

GetHotelDivision() 从对象池中获取HotelDivision

type HotelInfoParam

type HotelInfoParam struct {
	// pid
	Pid string `json:"pid,omitempty" xml:"pid,omitempty"`
	// 经过混淆的userId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
	// 城市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"`
	// 单个请求的shid
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
}

HotelInfoParam 结构体

func GetHotelInfoParam added in v1.3.4

func GetHotelInfoParam() *HotelInfoParam

GetHotelInfoParam() 从对象池中获取HotelInfoParam

type HotelPrice added in v1.2.9

type HotelPrice struct {
	// 房型报价列表
	RoomPrices []RoomPrice `json:"room_prices,omitempty" xml:"room_prices>room_price,omitempty"`
	// 酒店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
}

HotelPrice 结构体

func GetHotelPrice added in v1.3.4

func GetHotelPrice() *HotelPrice

GetHotelPrice() 从对象池中获取HotelPrice

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 结构体

func GetHotelPriceParam added in v1.3.4

func GetHotelPriceParam() *HotelPriceParam

GetHotelPriceParam() 从对象池中获取HotelPriceParam

type HotelPriceResultSet

type HotelPriceResultSet struct {
	// 每个标准酒店的库价集合
	Results []SHotelPrice `json:"results,omitempty" xml:"results>s_hotel_price,omitempty"`
	// 当前用户的会员信息
	BindMemberInfos []SellerSupplierPartnerMemberInfoVo `json:"bind_member_infos,omitempty" xml:"bind_member_infos>seller_supplier_partner_member_info_vo,omitempty"`
	// 渠道id,0--pc,1--无线
	ChannelId string `json:"channel_id,omitempty" xml:"channel_id,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"`
	// 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"`
	// 数据总量
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 版本信息
	Version int64 `json:"version,omitempty" xml:"version,omitempty"`
	// 本次请求是否错误,true--出粗
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
	// 当前数据集合是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// 服务调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

HotelPriceResultSet 结构体

func GetHotelPriceResultSet added in v1.3.4

func GetHotelPriceResultSet() *HotelPriceResultSet

GetHotelPriceResultSet() 从对象池中获取HotelPriceResultSet

type HotelPricesResponse added in v1.2.9

type HotelPricesResponse struct {
	// 酒店报价列表
	HotelPrices []HotelPrice `json:"hotel_prices,omitempty" xml:"hotel_prices>hotel_price,omitempty"`
	// 用于请求复现
	SearchId string `json:"search_id,omitempty" xml:"search_id,omitempty"`
}

HotelPricesResponse 结构体

func GetHotelPricesResponse added in v1.3.4

func GetHotelPricesResponse() *HotelPricesResponse

GetHotelPricesResponse() 从对象池中获取HotelPricesResponse

type HotelPricesResult added in v1.2.9

type HotelPricesResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码,不为0表示有异常
	ErrorCode int64 `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 酒店报价信息
	Module *HotelPricesResponse `json:"module,omitempty" xml:"module,omitempty"`
}

HotelPricesResult 结构体

func GetHotelPricesResult added in v1.3.4

func GetHotelPricesResult() *HotelPricesResult

GetHotelPricesResult() 从对象池中获取HotelPricesResult

type ItemRateReplyVo

type ItemRateReplyVo struct {
	// 内容
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 评论时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 图片信息,图片URL的list
	MediaInfo string `json:"media_info,omitempty" xml:"media_info,omitempty"`
	// 脱敏后的用户名字
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// intervalDay
	IntervalDay int64 `json:"interval_day,omitempty" xml:"interval_day,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"`
}

ItemRateReplyVo 结构体

func GetItemRateReplyVo added in v1.3.4

func GetItemRateReplyVo() *ItemRateReplyVo

GetItemRateReplyVo() 从对象池中获取ItemRateReplyVo

type ItemStatisticVo

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

ItemStatisticVo 结构体

func GetItemStatisticVo added in v1.3.4

func GetItemStatisticVo() *ItemStatisticVo

GetItemStatisticVo() 从对象池中获取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 结构体

func GetLikeTargetCount added in v1.3.4

func GetLikeTargetCount() *LikeTargetCount

GetLikeTargetCount() 从对象池中获取LikeTargetCount

type MixRateVo

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

MixRateVo 结构体

func GetMixRateVo added in v1.3.4

func GetMixRateVo() *MixRateVo

GetMixRateVo() 从对象池中获取MixRateVo

type NameValuePair

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

NameValuePair 结构体

func GetNameValuePair added in v1.3.4

func GetNameValuePair() *NameValuePair

GetNameValuePair() 从对象池中获取NameValuePair

type ParentInfo

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

ParentInfo 结构体

func GetParentInfo added in v1.3.4

func GetParentInfo() *ParentInfo

GetParentInfo() 从对象池中获取ParentInfo

type PromotionPrice added in v1.2.9

type PromotionPrice struct {
}

PromotionPrice 结构体

func GetPromotionPrice added in v1.3.4

func GetPromotionPrice() *PromotionPrice

GetPromotionPrice() 从对象池中获取PromotionPrice

type Rate

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

Rate 结构体

func GetRate added in v1.3.4

func GetRate() *Rate

GetRate() 从对象池中获取Rate

type RatePrice added in v1.2.9

type RatePrice struct {
	// 商品属性,INSTANT_CONFIRM("及时确认"),MORNING_ORDER("支持凌晨入住"),
	Attribute []string `json:"attribute,omitempty" xml:"attribute>string,omitempty"`
	// 日历报价列表
	CheckinCheckoutPrices []CheckInCheckOutPrice `json:"checkin_checkout_prices,omitempty" xml:"checkin_checkout_prices>check_in_check_out_price,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 每天可售起始时间,HH:mm:ss
	EffectiveDailyStartTime string `json:"effective_daily_start_time,omitempty" xml:"effective_daily_start_time,omitempty"`
	// 每天可售结束时间,HH:mm:ss
	EffectiveDailyEndTime string `json:"effective_daily_end_time,omitempty" xml:"effective_daily_end_time,omitempty"`
	// 可售开始时间,yyyy-MM-dd HH:mm:ss
	EffectiveStartTime string `json:"effective_start_time,omitempty" xml:"effective_start_time,omitempty"`
	// 可售结束时间,yyyy-MM-dd HH:mm:ss
	EffectiveEndTime string `json:"effective_end_time,omitempty" xml:"effective_end_time,omitempty"`
	// 退改政策json
	CancelPolicyJson string `json:"cancel_policy_json,omitempty" xml:"cancel_policy_json,omitempty"`
	// 退改政策描述信息
	CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"`
	// rateId
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// rpId
	RateplanId int64 `json:"rateplan_id,omitempty" xml:"rateplan_id,omitempty"`
	// iid
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 开票类型,0、不开票;1、门店开票;2、商家开票
	InvoiceProvider int64 `json:"invoice_provider,omitempty" xml:"invoice_provider,omitempty"`
	// 最大入住天数
	MaxStayDays int64 `json:"max_stay_days,omitempty" xml:"max_stay_days,omitempty"`
	// 最小入住天数
	MinStayDays int64 `json:"min_stay_days,omitempty" xml:"min_stay_days,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 最小提前预定小时数
	MinAdvanceHour int64 `json:"min_advance_hour,omitempty" xml:"min_advance_hour,omitempty"`
	// 最大提前预定小时数
	MaxAdvanceHour int64 `json:"max_advance_hour,omitempty" xml:"max_advance_hour,omitempty"`
}

RatePrice 结构体

func GetRatePrice added in v1.3.4

func GetRatePrice() *RatePrice

GetRatePrice() 从对象池中获取RatePrice

type RoomPrice added in v1.2.9

type RoomPrice struct {
	// 报价列表
	RatePrices []RatePrice `json:"rate_prices,omitempty" xml:"rate_prices>rate_price,omitempty"`
	// 房型名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 床型信息json
	BedJson string `json:"bed_json,omitempty" xml:"bed_json,omitempty"`
	// 窗型信息json 0无窗 1有窗 2部分有窗 3暗窗 4部分有窗 5落地窗
	WindowJson string `json:"window_json,omitempty" xml:"window_json,omitempty"`
	// 房型id
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
}

RoomPrice 结构体

func GetRoomPrice added in v1.3.4

func GetRoomPrice() *RoomPrice

GetRoomPrice() 从对象池中获取RoomPrice

type RoomTypeBedInfoVo

type RoomTypeBedInfoVo struct {
	// 或关系床型集合
	BedInfoGroups []BedInfoGroupVo `json:"bed_info_groups,omitempty" xml:"bed_info_groups>bed_info_group_vo,omitempty"`
	// 分类,大类,用于搜索的筛选项
	Classifications []string `json:"classifications,omitempty" xml:"classifications>string,omitempty"`
	// 简短描述,用于详情页报价前面的床型展示。
	BriefDesc string `json:"brief_desc,omitempty" xml:"brief_desc,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 结构体

func GetRoomTypeBedInfoVo added in v1.3.4

func GetRoomTypeBedInfoVo() *RoomTypeBedInfoVo

GetRoomTypeBedInfoVo() 从对象池中获取RoomTypeBedInfoVo

type RoomTypeDailyPrice

type RoomTypeDailyPrice struct {
	// 库价具体信息
	Rates []Rate `json:"rates,omitempty" xml:"rates>rate,omitempty"`
	// 床型数据
	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"`
	// 床型信息
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 卖家房型id
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 标准房型srid
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
}

RoomTypeDailyPrice 结构体

func GetRoomTypeDailyPrice added in v1.3.4

func GetRoomTypeDailyPrice() *RoomTypeDailyPrice

GetRoomTypeDailyPrice() 从对象池中获取RoomTypeDailyPrice

type SHotelDailyPrice

type SHotelDailyPrice struct {
	// 本shid下所有标准房型的当日库价
	SroomTypeDailyPriceList []SRoomTypeDailyPrice `json:"sroom_type_daily_price_list,omitempty" xml:"sroom_type_daily_price_list>s_room_type_daily_price,omitempty"`
	// 离店日期
	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"`
	// 入住时间
	Start string `json:"start,omitempty" xml:"start,omitempty"`
	// 当日所有库价的最低价
	LowPrice int64 `json:"low_price,omitempty" xml:"low_price,omitempty"`
	// 对应标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
}

SHotelDailyPrice 结构体

func GetSHotelDailyPrice added in v1.3.4

func GetSHotelDailyPrice() *SHotelDailyPrice

GetSHotelDailyPrice() 从对象池中获取SHotelDailyPrice

type SHotelInfoObject

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

SHotelInfoObject 结构体

func GetSHotelInfoObject added in v1.3.4

func GetSHotelInfoObject() *SHotelInfoObject

GetSHotelInfoObject() 从对象池中获取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 结构体

func GetSHotelPrice added in v1.3.4

func GetSHotelPrice() *SHotelPrice

GetSHotelPrice() 从对象池中获取SHotelPrice

type SHotelVo

type SHotelVo struct {
	// 标准房型列表
	SroomTypes []SRoomTypeVo `json:"sroom_types,omitempty" xml:"sroom_types>s_room_type_vo,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,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"`
	// 装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 酒店描述
	Desc string `json:"desc,omitempty" xml:"desc,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"`
	// 经度
	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"`
	// 评分
	RateScore string `json:"rate_score,omitempty" xml:"rate_score,omitempty"`
	// 档次,0--无档次,2--二星及经济,3--舒适,4--高档,5--豪华
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 酒店业务分类
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 当前酒店所在城市
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 与某个POI的距离
	Distance int64 `json:"distance,omitempty" xml:"distance,omitempty"`
	// 区县
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 档次
	Level *NameValuePair `json:"level,omitempty" xml:"level,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"`
	// 销量
	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"`
	// 上下架状态,0--下架,其他状态-下架
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 客房数
	Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"`
	// 是否是民宿
	BnbHotel bool `json:"bnb_hotel,omitempty" xml:"bnb_hotel,omitempty"`
}

SHotelVo 结构体

func GetSHotelVo added in v1.3.4

func GetSHotelVo() *SHotelVo

GetSHotelVo() 从对象池中获取SHotelVo

type SRoomType

type SRoomType struct {
	// 房型名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 床型。json格式:[{"bedType":"大床","bedSize":"1.5m"},{"bedType":"双床","bedSize":"1.2m"}]
	Bed string `json:"bed,omitempty" xml:"bed,omitempty"`
	// 宽带服务"0","有线上网(免费),"1","有线上网(无)","2","有线上网(收费)","3","有线上网(部分有且免费)","4","有线上网(部分有且收费)"
	Internet string `json:"internet,omitempty" xml:"internet,omitempty"`
	// 房型图片
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 房间设施
	Facility string `json:"facility,omitempty" xml:"facility,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 窗型
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 匹配的标准房型
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// shid
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
}

SRoomType 结构体

func GetSRoomType added in v1.3.4

func GetSRoomType() *SRoomType

GetSRoomType() 从对象池中获取SRoomType

type SRoomTypeDailyPrice

type SRoomTypeDailyPrice struct {
	// 当前标准房型下所有库价集合
	RoomTypeDailyPriceList []RoomTypeDailyPrice `json:"room_type_daily_price_list,omitempty" xml:"room_type_daily_price_list>room_type_daily_price,omitempty"`
	// 离店日期
	End string `json:"end,omitempty" xml:"end,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"`
	// 最低价
	LowPrice int64 `json:"low_price,omitempty" xml:"low_price,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 标准房型id
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
}

SRoomTypeDailyPrice 结构体

func GetSRoomTypeDailyPrice added in v1.3.4

func GetSRoomTypeDailyPrice() *SRoomTypeDailyPrice

GetSRoomTypeDailyPrice() 从对象池中获取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 结构体

func GetSRoomTypePropertiesSetVo added in v1.3.4

func GetSRoomTypePropertiesSetVo() *SRoomTypePropertiesSetVo

GetSRoomTypePropertiesSetVo() 从对象池中获取SRoomTypePropertiesSetVo

type SRoomTypeVo

type SRoomTypeVo struct {
	// 面积
	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"`
	// 房型中文名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 房型英文名
	NameE string `json:"name_e,omitempty" xml:"name_e,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"`
	// 是否可加床,0--不可,1--可以
	AddBed int64 `json:"add_bed,omitempty" xml:"add_bed,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,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"`
	// 房型附加属性集合
	SroomTypeProperties *SRoomTypePropertiesSetVo `json:"sroom_type_properties,omitempty" xml:"sroom_type_properties,omitempty"`
}

SRoomTypeVo 结构体

func GetSRoomTypeVo added in v1.3.4

func GetSRoomTypeVo() *SRoomTypeVo

GetSRoomTypeVo() 从对象池中获取SRoomTypeVo

type ScoreInfo

type ScoreInfo struct {
	// 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"`
	// count
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
}

ScoreInfo 结构体

func GetScoreInfo added in v1.3.4

func GetScoreInfo() *ScoreInfo

GetScoreInfo() 从对象池中获取ScoreInfo

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"`
	// 会员对应的供应商
	Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"`
	// 会员等级
	MemberLevel int64 `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 会员对应的商家
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 用户是否在第三方系统中绑定了会员,true--已绑定
	HasBinded bool `json:"has_binded,omitempty" xml:"has_binded,omitempty"`
}

SellerSupplierPartnerMemberInfoVo 结构体

func GetSellerSupplierPartnerMemberInfoVo added in v1.3.4

func GetSellerSupplierPartnerMemberInfoVo() *SellerSupplierPartnerMemberInfoVo

GetSellerSupplierPartnerMemberInfoVo() 从对象池中获取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 结构体

func GetShotelPropertiesSetVo added in v1.3.4

func GetShotelPropertiesSetVo() *ShotelPropertiesSetVo

GetShotelPropertiesSetVo() 从对象池中获取ShotelPropertiesSetVo

type ShotelPropertiesVo

type ShotelPropertiesVo struct {
	// 二级分类
	SubType string `json:"sub_type,omitempty" xml:"sub_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"`
	// 条目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"`
	// 一级分类,10-预订须知
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

ShotelPropertiesVo 结构体

func GetShotelPropertiesVo added in v1.3.4

func GetShotelPropertiesVo() *ShotelPropertiesVo

GetShotelPropertiesVo() 从对象池中获取ShotelPropertiesVo

type TabInfo

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

TabInfo 结构体

func GetTabInfo added in v1.3.4

func GetTabInfo() *TabInfo

GetTabInfo() 从对象池中获取TabInfo

type TaobaoXhotelCityGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelCityGetAPIRequest added in v1.3.4

func GetTaobaoXhotelCityGetAPIRequest() *TaobaoXhotelCityGetAPIRequest

GetTaobaoXhotelCityGetRequest 从 sync.Pool 获取 TaobaoXhotelCityGetAPIRequest

func NewTaobaoXhotelCityGetRequest

func NewTaobaoXhotelCityGetRequest() *TaobaoXhotelCityGetAPIRequest

NewTaobaoXhotelCityGetRequest 初始化TaobaoXhotelCityGetAPIRequest对象

func (TaobaoXhotelCityGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelCityGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelCityGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoXhotelCityGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelCityGetAPIRequest) GetCount added in v1.2.0

func (r TaobaoXhotelCityGetAPIRequest) GetCount() int64

GetCount Count Getter

func (TaobaoXhotelCityGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoXhotelCityGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelCityGetAPIRequest) GetStart added in v1.2.0

func (r TaobaoXhotelCityGetAPIRequest) GetStart() int64

GetStart Start Getter

func (*TaobaoXhotelCityGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoXhotelCityGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelCityGetAPIRequest) SetCount added in v1.2.0

func (r *TaobaoXhotelCityGetAPIRequest) SetCount(_count int64) error

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

func (*TaobaoXhotelCityGetAPIRequest) SetStart added in v1.2.0

func (r *TaobaoXhotelCityGetAPIRequest) SetStart(_start int64) error

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

type TaobaoXhotelCityGetAPIResponse

type TaobaoXhotelCityGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCityGetAPIResponseModel
}

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

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

func GetTaobaoXhotelCityGetAPIResponse added in v1.3.4

func GetTaobaoXhotelCityGetAPIResponse() *TaobaoXhotelCityGetAPIResponse

GetTaobaoXhotelCityGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelCityGetAPIResponse

func (*TaobaoXhotelCityGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoXhotelCityGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoXhotelCityGetAPIResponseModel added in v1.2.0

type TaobaoXhotelCityGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_city_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店区域的数据列表
	Divisions []HotelDivision `json:"divisions,omitempty" xml:"divisions>hotel_division,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"`
}

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

func (*TaobaoXhotelCityGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDistributionInfoAPIRequest added in v1.2.9

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

TaobaoXhotelDistributionInfoAPIRequest 飞猪分销通用酒店标准信息接口 API请求 taobao.xhotel.distribution.info

飞猪分销通用酒店标准信息接口

func GetTaobaoXhotelDistributionInfoAPIRequest added in v1.3.4

func GetTaobaoXhotelDistributionInfoAPIRequest() *TaobaoXhotelDistributionInfoAPIRequest

GetTaobaoXhotelDistributionInfoRequest 从 sync.Pool 获取 TaobaoXhotelDistributionInfoAPIRequest

func NewTaobaoXhotelDistributionInfoRequest added in v1.2.9

func NewTaobaoXhotelDistributionInfoRequest() *TaobaoXhotelDistributionInfoAPIRequest

NewTaobaoXhotelDistributionInfoRequest 初始化TaobaoXhotelDistributionInfoAPIRequest对象

func (TaobaoXhotelDistributionInfoAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelDistributionInfoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelDistributionInfoAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoXhotelDistributionInfoAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelDistributionInfoAPIRequest) GetCityCode added in v1.2.9

GetCityCode CityCode Getter

func (TaobaoXhotelDistributionInfoAPIRequest) GetCurrentPage added in v1.2.9

func (r TaobaoXhotelDistributionInfoAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoXhotelDistributionInfoAPIRequest) GetPageSize added in v1.2.9

GetPageSize PageSize Getter

func (TaobaoXhotelDistributionInfoAPIRequest) GetPid added in v1.2.9

GetPid Pid Getter

func (TaobaoXhotelDistributionInfoAPIRequest) GetRawParams added in v1.2.9

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelDistributionInfoAPIRequest) GetShid added in v1.2.9

GetShid Shid Getter

func (*TaobaoXhotelDistributionInfoAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelDistributionInfoAPIRequest) SetCityCode added in v1.2.9

func (r *TaobaoXhotelDistributionInfoAPIRequest) SetCityCode(_cityCode int64) error

SetCityCode is CityCode Setter 城市code

func (*TaobaoXhotelDistributionInfoAPIRequest) SetCurrentPage added in v1.2.9

func (r *TaobaoXhotelDistributionInfoAPIRequest) SetCurrentPage(_currentPage int64) error

SetCurrentPage is CurrentPage Setter 分页参数:当前页数,从1开始计数。默认值:1

func (*TaobaoXhotelDistributionInfoAPIRequest) SetPageSize added in v1.2.9

func (r *TaobaoXhotelDistributionInfoAPIRequest) SetPageSize(_pageSize int64) error

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

func (*TaobaoXhotelDistributionInfoAPIRequest) SetPid added in v1.2.9

SetPid is Pid Setter pid

func (*TaobaoXhotelDistributionInfoAPIRequest) SetShid added in v1.2.9

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

type TaobaoXhotelDistributionInfoAPIResponse added in v1.2.9

type TaobaoXhotelDistributionInfoAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelDistributionInfoAPIResponseModel
}

TaobaoXhotelDistributionInfoAPIResponse 飞猪分销通用酒店标准信息接口 API返回值 taobao.xhotel.distribution.info

飞猪分销通用酒店标准信息接口

func GetTaobaoXhotelDistributionInfoAPIResponse added in v1.3.4

func GetTaobaoXhotelDistributionInfoAPIResponse() *TaobaoXhotelDistributionInfoAPIResponse

GetTaobaoXhotelDistributionInfoAPIResponse 从 sync.Pool 获取 TaobaoXhotelDistributionInfoAPIResponse

func (*TaobaoXhotelDistributionInfoAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDistributionInfoAPIResponseModel added in v1.2.9

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

TaobaoXhotelDistributionInfoAPIResponseModel is 飞猪分销通用酒店标准信息接口 成功返回结果

func (*TaobaoXhotelDistributionInfoAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDistributionPriceAPIRequest added in v1.2.9

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

TaobaoXhotelDistributionPriceAPIRequest 飞猪分销通用酒店报价接口 API请求 taobao.xhotel.distribution.price

飞猪分销通用酒店报价接口

func GetTaobaoXhotelDistributionPriceAPIRequest added in v1.3.4

func GetTaobaoXhotelDistributionPriceAPIRequest() *TaobaoXhotelDistributionPriceAPIRequest

GetTaobaoXhotelDistributionPriceRequest 从 sync.Pool 获取 TaobaoXhotelDistributionPriceAPIRequest

func NewTaobaoXhotelDistributionPriceRequest added in v1.2.9

func NewTaobaoXhotelDistributionPriceRequest() *TaobaoXhotelDistributionPriceAPIRequest

NewTaobaoXhotelDistributionPriceRequest 初始化TaobaoXhotelDistributionPriceAPIRequest对象

func (TaobaoXhotelDistributionPriceAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoXhotelDistributionPriceAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelDistributionPriceAPIRequest) GetApiParams added in v1.2.9

func (r TaobaoXhotelDistributionPriceAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelDistributionPriceAPIRequest) GetCalendarCheckinEndDate added in v1.2.9

func (r TaobaoXhotelDistributionPriceAPIRequest) GetCalendarCheckinEndDate() string

GetCalendarCheckinEndDate CalendarCheckinEndDate Getter

func (TaobaoXhotelDistributionPriceAPIRequest) GetCalendarCheckinStartDate added in v1.2.9

func (r TaobaoXhotelDistributionPriceAPIRequest) GetCalendarCheckinStartDate() string

GetCalendarCheckinStartDate CalendarCheckinStartDate Getter

func (TaobaoXhotelDistributionPriceAPIRequest) GetCheckinDate added in v1.2.9

GetCheckinDate CheckinDate Getter

func (TaobaoXhotelDistributionPriceAPIRequest) GetCheckoutDate added in v1.2.9

func (r TaobaoXhotelDistributionPriceAPIRequest) GetCheckoutDate() string

GetCheckoutDate CheckoutDate Getter

func (TaobaoXhotelDistributionPriceAPIRequest) GetIsCalendar added in v1.2.9

GetIsCalendar IsCalendar Getter

func (TaobaoXhotelDistributionPriceAPIRequest) GetRawParams added in v1.2.9

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelDistributionPriceAPIRequest) GetShids added in v1.2.9

GetShids Shids Getter

func (*TaobaoXhotelDistributionPriceAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelDistributionPriceAPIRequest) SetCalendarCheckinEndDate added in v1.2.9

func (r *TaobaoXhotelDistributionPriceAPIRequest) SetCalendarCheckinEndDate(_calendarCheckinEndDate string) error

SetCalendarCheckinEndDate is CalendarCheckinEndDate Setter 日历报价入住结束日期 yyyy-MM-dd

func (*TaobaoXhotelDistributionPriceAPIRequest) SetCalendarCheckinStartDate added in v1.2.9

func (r *TaobaoXhotelDistributionPriceAPIRequest) SetCalendarCheckinStartDate(_calendarCheckinStartDate string) error

SetCalendarCheckinStartDate is CalendarCheckinStartDate Setter 日历报价入住开始日期 yyyy-MM-dd

func (*TaobaoXhotelDistributionPriceAPIRequest) SetCheckinDate added in v1.2.9

func (r *TaobaoXhotelDistributionPriceAPIRequest) SetCheckinDate(_checkinDate string) error

SetCheckinDate is CheckinDate Setter 入住日期 yyyy-MM-dd

func (*TaobaoXhotelDistributionPriceAPIRequest) SetCheckoutDate added in v1.2.9

func (r *TaobaoXhotelDistributionPriceAPIRequest) SetCheckoutDate(_checkoutDate string) error

SetCheckoutDate is CheckoutDate Setter 离店日期 yyyy-MM-dd

func (*TaobaoXhotelDistributionPriceAPIRequest) SetIsCalendar added in v1.2.9

func (r *TaobaoXhotelDistributionPriceAPIRequest) SetIsCalendar(_isCalendar bool) error

SetIsCalendar is IsCalendar Setter 是否日历报价计算,false只用填入离日期,true只用填日历开始结束日期

func (*TaobaoXhotelDistributionPriceAPIRequest) SetShids added in v1.2.9

SetShids is Shids Setter 查询报价的酒店列表

type TaobaoXhotelDistributionPriceAPIResponse added in v1.2.9

type TaobaoXhotelDistributionPriceAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelDistributionPriceAPIResponseModel
}

TaobaoXhotelDistributionPriceAPIResponse 飞猪分销通用酒店报价接口 API返回值 taobao.xhotel.distribution.price

飞猪分销通用酒店报价接口

func GetTaobaoXhotelDistributionPriceAPIResponse added in v1.3.4

func GetTaobaoXhotelDistributionPriceAPIResponse() *TaobaoXhotelDistributionPriceAPIResponse

GetTaobaoXhotelDistributionPriceAPIResponse 从 sync.Pool 获取 TaobaoXhotelDistributionPriceAPIResponse

func (*TaobaoXhotelDistributionPriceAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDistributionPriceAPIResponseModel added in v1.2.9

type TaobaoXhotelDistributionPriceAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_distribution_price_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店报价查询结果
	HotelPricesResult *HotelPricesResult `json:"hotel_prices_result,omitempty" xml:"hotel_prices_result,omitempty"`
}

TaobaoXhotelDistributionPriceAPIResponseModel is 飞猪分销通用酒店报价接口 成功返回结果

func (*TaobaoXhotelDistributionPriceAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelInfoListGetAPIRequest added in v1.2.0

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

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

获取酒店详情信息

func GetTaobaoXhotelInfoListGetAPIRequest added in v1.3.4

func GetTaobaoXhotelInfoListGetAPIRequest() *TaobaoXhotelInfoListGetAPIRequest

GetTaobaoXhotelInfoListGetRequest 从 sync.Pool 获取 TaobaoXhotelInfoListGetAPIRequest

func NewTaobaoXhotelInfoListGetRequest

func NewTaobaoXhotelInfoListGetRequest() *TaobaoXhotelInfoListGetAPIRequest

NewTaobaoXhotelInfoListGetRequest 初始化TaobaoXhotelInfoListGetAPIRequest对象

func (TaobaoXhotelInfoListGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelInfoListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelInfoListGetAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoXhotelInfoListGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelInfoListGetAPIRequest) GetCityCode added in v1.2.0

func (r TaobaoXhotelInfoListGetAPIRequest) GetCityCode() int64

GetCityCode CityCode Getter

func (TaobaoXhotelInfoListGetAPIRequest) GetCurrentPage added in v1.2.0

func (r TaobaoXhotelInfoListGetAPIRequest) GetCurrentPage() int64

GetCurrentPage CurrentPage Getter

func (TaobaoXhotelInfoListGetAPIRequest) GetPageSize added in v1.2.0

func (r TaobaoXhotelInfoListGetAPIRequest) GetPageSize() int64

GetPageSize PageSize Getter

func (TaobaoXhotelInfoListGetAPIRequest) GetPid added in v1.2.0

GetPid Pid Getter

func (TaobaoXhotelInfoListGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelInfoListGetAPIRequest) GetShid added in v1.2.0

GetShid Shid Getter

func (*TaobaoXhotelInfoListGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelInfoListGetAPIRequest) SetCityCode added in v1.2.0

func (r *TaobaoXhotelInfoListGetAPIRequest) SetCityCode(_cityCode int64) error

SetCityCode is CityCode Setter 城市code

func (*TaobaoXhotelInfoListGetAPIRequest) SetCurrentPage added in v1.2.0

func (r *TaobaoXhotelInfoListGetAPIRequest) SetCurrentPage(_currentPage int64) error

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

func (*TaobaoXhotelInfoListGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoXhotelInfoListGetAPIRequest) SetPageSize(_pageSize int64) error

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

func (*TaobaoXhotelInfoListGetAPIRequest) SetPid added in v1.2.0

SetPid is Pid Setter pid

func (*TaobaoXhotelInfoListGetAPIRequest) SetShid added in v1.2.0

func (r *TaobaoXhotelInfoListGetAPIRequest) SetShid(_shid int64) error

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

type TaobaoXhotelInfoListGetAPIResponse

type TaobaoXhotelInfoListGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelInfoListGetAPIResponseModel
}

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

获取酒店详情信息

func GetTaobaoXhotelInfoListGetAPIResponse added in v1.3.4

func GetTaobaoXhotelInfoListGetAPIResponse() *TaobaoXhotelInfoListGetAPIResponse

GetTaobaoXhotelInfoListGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelInfoListGetAPIResponse

func (*TaobaoXhotelInfoListGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelInfoListGetAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelInfoListGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelInfoListGetForHelloAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelInfoListGetForHelloAPIRequest added in v1.3.4

func GetTaobaoXhotelInfoListGetForHelloAPIRequest() *TaobaoXhotelInfoListGetForHelloAPIRequest

GetTaobaoXhotelInfoListGetForHelloRequest 从 sync.Pool 获取 TaobaoXhotelInfoListGetForHelloAPIRequest

func NewTaobaoXhotelInfoListGetForHelloRequest

func NewTaobaoXhotelInfoListGetForHelloRequest() *TaobaoXhotelInfoListGetForHelloAPIRequest

NewTaobaoXhotelInfoListGetForHelloRequest 初始化TaobaoXhotelInfoListGetForHelloAPIRequest对象

func (TaobaoXhotelInfoListGetForHelloAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelInfoListGetForHelloAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoXhotelInfoListGetForHelloAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelInfoListGetForHelloAPIRequest) GetHotelInfoParam added in v1.2.0

GetHotelInfoParam HotelInfoParam Getter

func (TaobaoXhotelInfoListGetForHelloAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelInfoListGetForHelloAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelInfoListGetForHelloAPIRequest) SetHotelInfoParam added in v1.2.0

func (r *TaobaoXhotelInfoListGetForHelloAPIRequest) SetHotelInfoParam(_hotelInfoParam *HotelInfoParam) error

SetHotelInfoParam is HotelInfoParam Setter 参数封装模型

type TaobaoXhotelInfoListGetForHelloAPIResponse

type TaobaoXhotelInfoListGetForHelloAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelInfoListGetForHelloAPIResponseModel
}

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

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

func GetTaobaoXhotelInfoListGetForHelloAPIResponse added in v1.3.4

func GetTaobaoXhotelInfoListGetForHelloAPIResponse() *TaobaoXhotelInfoListGetForHelloAPIResponse

GetTaobaoXhotelInfoListGetForHelloAPIResponse 从 sync.Pool 获取 TaobaoXhotelInfoListGetForHelloAPIResponse

func (*TaobaoXhotelInfoListGetForHelloAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelInfoListGetForHelloAPIResponseModel added in v1.2.0

type TaobaoXhotelInfoListGetForHelloAPIResponseModel 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"`
}

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

func (*TaobaoXhotelInfoListGetForHelloAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelInfoListGetForHelloResultSet

type TaobaoXhotelInfoListGetForHelloResultSet struct {
	// 每个标准酒店及房型信息集合
	Results []SHotelVo `json:"results,omitempty" xml:"results>s_hotel_vo,omitempty"`
	// 渠道id
	ChannelId string `json:"channel_id,omitempty" xml:"channel_id,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"`
	// 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"`
	// 成功标志
	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"`
	// 本次请求是否错误
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
	// 当前数据集合是否还有下一页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// 是否成功标记
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelInfoListGetForHelloResultSet 结构体

func GetTaobaoXhotelInfoListGetForHelloResultSet added in v1.3.4

func GetTaobaoXhotelInfoListGetForHelloResultSet() *TaobaoXhotelInfoListGetForHelloResultSet

GetTaobaoXhotelInfoListGetForHelloResultSet() 从对象池中获取TaobaoXhotelInfoListGetForHelloResultSet

type TaobaoXhotelPriceGetForHelloAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelPriceGetForHelloAPIRequest added in v1.3.4

func GetTaobaoXhotelPriceGetForHelloAPIRequest() *TaobaoXhotelPriceGetForHelloAPIRequest

GetTaobaoXhotelPriceGetForHelloRequest 从 sync.Pool 获取 TaobaoXhotelPriceGetForHelloAPIRequest

func NewTaobaoXhotelPriceGetForHelloRequest

func NewTaobaoXhotelPriceGetForHelloRequest() *TaobaoXhotelPriceGetForHelloAPIRequest

NewTaobaoXhotelPriceGetForHelloRequest 初始化TaobaoXhotelPriceGetForHelloAPIRequest对象

func (TaobaoXhotelPriceGetForHelloAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelPriceGetForHelloAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelPriceGetForHelloAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoXhotelPriceGetForHelloAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelPriceGetForHelloAPIRequest) GetHotelPriceParam added in v1.2.0

GetHotelPriceParam HotelPriceParam Getter

func (TaobaoXhotelPriceGetForHelloAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelPriceGetForHelloAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelPriceGetForHelloAPIRequest) SetHotelPriceParam added in v1.2.0

func (r *TaobaoXhotelPriceGetForHelloAPIRequest) SetHotelPriceParam(_hotelPriceParam *HotelPriceParam) error

SetHotelPriceParam is HotelPriceParam Setter 参数封装

type TaobaoXhotelPriceGetForHelloAPIResponse

type TaobaoXhotelPriceGetForHelloAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelPriceGetForHelloAPIResponseModel
}

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

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

func GetTaobaoXhotelPriceGetForHelloAPIResponse added in v1.3.4

func GetTaobaoXhotelPriceGetForHelloAPIResponse() *TaobaoXhotelPriceGetForHelloAPIResponse

GetTaobaoXhotelPriceGetForHelloAPIResponse 从 sync.Pool 获取 TaobaoXhotelPriceGetForHelloAPIResponse

func (*TaobaoXhotelPriceGetForHelloAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelPriceGetForHelloAPIResponseModel added in v1.2.0

type TaobaoXhotelPriceGetForHelloAPIResponseModel 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"`
}

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

func (*TaobaoXhotelPriceGetForHelloAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

Jump to

Keyboard shortcuts

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