xhotel

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package xhotel 包含酒店API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlitripXhotelChannelOrderCreateResQueryAPIRequest added in v1.3.4

func ReleaseAlitripXhotelChannelOrderCreateResQueryAPIRequest(v *AlitripXhotelChannelOrderCreateResQueryAPIRequest)

ReleaseAlitripXhotelChannelOrderCreateResQueryAPIRequest 将 AlitripXhotelChannelOrderCreateResQueryAPIRequest 放入 sync.Pool

func ReleaseAlitripXhotelChannelOrderCreateResQueryAPIResponse added in v1.3.4

func ReleaseAlitripXhotelChannelOrderCreateResQueryAPIResponse(v *AlitripXhotelChannelOrderCreateResQueryAPIResponse)

ReleaseAlitripXhotelChannelOrderCreateResQueryAPIResponse 将 AlitripXhotelChannelOrderCreateResQueryAPIResponse 保存到 sync.Pool

func ReleaseDailyBookingInfo added in v1.3.4

func ReleaseDailyBookingInfo(v *DailyBookingInfo)

ReleaseDailyBookingInfo 释放DailyBookingInfo

func ReleaseDchotelSignDo added in v1.3.4

func ReleaseDchotelSignDo(v *DchotelSignDo)

ReleaseDchotelSignDo 释放DchotelSignDo

func ReleaseDsNhotelInfoDo added in v1.3.4

func ReleaseDsNhotelInfoDo(v *DsNhotelInfoDo)

ReleaseDsNhotelInfoDo 释放DsNhotelInfoDo

func ReleaseEarlyBookingInfo added in v1.3.4

func ReleaseEarlyBookingInfo(v *EarlyBookingInfo)

ReleaseEarlyBookingInfo 释放EarlyBookingInfo

func ReleaseHbsResult added in v1.3.4

func ReleaseHbsResult(v *HbsResult)

ReleaseHbsResult 释放HbsResult

func ReleaseHotelDivision added in v1.3.4

func ReleaseHotelDivision(v *HotelDivision)

ReleaseHotelDivision 释放HotelDivision

func ReleaseInvalidDate added in v1.3.4

func ReleaseInvalidDate(v *InvalidDate)

ReleaseInvalidDate 释放InvalidDate

func ReleaseLongOrderInfo added in v1.3.4

func ReleaseLongOrderInfo(v *LongOrderInfo)

ReleaseLongOrderInfo 释放LongOrderInfo

func ReleasePromoInfo added in v1.3.4

func ReleasePromoInfo(v *PromoInfo)

ReleasePromoInfo 释放PromoInfo

func ReleaseRateInfo added in v1.3.4

func ReleaseRateInfo(v *RateInfo)

ReleaseRateInfo 释放RateInfo

func ReleaseTaobaoXhotelBnbpromoUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoUpdateAPIRequest(v *TaobaoXhotelBnbpromoUpdateAPIRequest)

ReleaseTaobaoXhotelBnbpromoUpdateAPIRequest 将 TaobaoXhotelBnbpromoUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelBnbpromoUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoUpdateAPIResponse(v *TaobaoXhotelBnbpromoUpdateAPIResponse)

ReleaseTaobaoXhotelBnbpromoUpdateAPIResponse 将 TaobaoXhotelBnbpromoUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelBnbpromoUpdateResultSet added in v1.3.4

func ReleaseTaobaoXhotelBnbpromoUpdateResultSet(v *TaobaoXhotelBnbpromoUpdateResultSet)

ReleaseTaobaoXhotelBnbpromoUpdateResultSet 释放TaobaoXhotelBnbpromoUpdateResultSet

func ReleaseTaobaoXhotelCityDistributionGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelCityDistributionGetAPIRequest(v *TaobaoXhotelCityDistributionGetAPIRequest)

ReleaseTaobaoXhotelCityDistributionGetAPIRequest 将 TaobaoXhotelCityDistributionGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelCityDistributionGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelCityDistributionGetAPIResponse(v *TaobaoXhotelCityDistributionGetAPIResponse)

ReleaseTaobaoXhotelCityDistributionGetAPIResponse 将 TaobaoXhotelCityDistributionGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelDataServiceHotelServiceindexAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelDataServiceHotelServiceindexAPIRequest(v *TaobaoXhotelDataServiceHotelServiceindexAPIRequest)

ReleaseTaobaoXhotelDataServiceHotelServiceindexAPIRequest 将 TaobaoXhotelDataServiceHotelServiceindexAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelDataServiceHotelServiceindexAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelDataServiceHotelServiceindexAPIResponse(v *TaobaoXhotelDataServiceHotelServiceindexAPIResponse)

ReleaseTaobaoXhotelDataServiceHotelServiceindexAPIResponse 将 TaobaoXhotelDataServiceHotelServiceindexAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelDataServiceHotelServiceindexResultSet added in v1.3.4

func ReleaseTaobaoXhotelDataServiceHotelServiceindexResultSet(v *TaobaoXhotelDataServiceHotelServiceindexResultSet)

ReleaseTaobaoXhotelDataServiceHotelServiceindexResultSet 释放TaobaoXhotelDataServiceHotelServiceindexResultSet

func ReleaseTaobaoXhotelDataServiceOrderDetailAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelDataServiceOrderDetailAPIRequest(v *TaobaoXhotelDataServiceOrderDetailAPIRequest)

ReleaseTaobaoXhotelDataServiceOrderDetailAPIRequest 将 TaobaoXhotelDataServiceOrderDetailAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelDataServiceOrderDetailAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelDataServiceOrderDetailAPIResponse(v *TaobaoXhotelDataServiceOrderDetailAPIResponse)

ReleaseTaobaoXhotelDataServiceOrderDetailAPIResponse 将 TaobaoXhotelDataServiceOrderDetailAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelDataServiceOrderDetailResultSet added in v1.3.4

func ReleaseTaobaoXhotelDataServiceOrderDetailResultSet(v *TaobaoXhotelDataServiceOrderDetailResultSet)

ReleaseTaobaoXhotelDataServiceOrderDetailResultSet 释放TaobaoXhotelDataServiceOrderDetailResultSet

func ReleaseTaobaoXhotelOrderHotelsignQueryAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderHotelsignQueryAPIRequest(v *TaobaoXhotelOrderHotelsignQueryAPIRequest)

ReleaseTaobaoXhotelOrderHotelsignQueryAPIRequest 将 TaobaoXhotelOrderHotelsignQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderHotelsignQueryAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderHotelsignQueryAPIResponse(v *TaobaoXhotelOrderHotelsignQueryAPIResponse)

ReleaseTaobaoXhotelOrderHotelsignQueryAPIResponse 将 TaobaoXhotelOrderHotelsignQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderOfficialQualificationGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderOfficialQualificationGetAPIRequest(v *TaobaoXhotelOrderOfficialQualificationGetAPIRequest)

ReleaseTaobaoXhotelOrderOfficialQualificationGetAPIRequest 将 TaobaoXhotelOrderOfficialQualificationGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderOfficialQualificationGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderOfficialQualificationGetAPIResponse(v *TaobaoXhotelOrderOfficialQualificationGetAPIResponse)

ReleaseTaobaoXhotelOrderOfficialQualificationGetAPIResponse 将 TaobaoXhotelOrderOfficialQualificationGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderOfflineSettleCancelAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderOfflineSettleCancelAPIRequest(v *TaobaoXhotelOrderOfflineSettleCancelAPIRequest)

ReleaseTaobaoXhotelOrderOfflineSettleCancelAPIRequest 将 TaobaoXhotelOrderOfflineSettleCancelAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderOfflineSettleCancelAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderOfflineSettleCancelAPIResponse(v *TaobaoXhotelOrderOfflineSettleCancelAPIResponse)

ReleaseTaobaoXhotelOrderOfflineSettleCancelAPIResponse 将 TaobaoXhotelOrderOfflineSettleCancelAPIResponse 保存到 sync.Pool

func ReleaseTopAdsHtlDataQueryResult added in v1.3.4

func ReleaseTopAdsHtlDataQueryResult(v *TopAdsHtlDataQueryResult)

ReleaseTopAdsHtlDataQueryResult 释放TopAdsHtlDataQueryResult

func ReleaseTopAdsTripSvcQueryResult added in v1.3.4

func ReleaseTopAdsTripSvcQueryResult(v *TopAdsTripSvcQueryResult)

ReleaseTopAdsTripSvcQueryResult 释放TopAdsTripSvcQueryResult

func ReleaseTopadshtlservicedatalist added in v1.3.4

func ReleaseTopadshtlservicedatalist(v *Topadshtlservicedatalist)

ReleaseTopadshtlservicedatalist 释放Topadshtlservicedatalist

func ReleaseUpdatePromoParam added in v1.3.4

func ReleaseUpdatePromoParam(v *UpdatePromoParam)

ReleaseUpdatePromoParam 释放UpdatePromoParam

Types

type AlitripXhotelChannelOrderCreateResQueryAPIRequest

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

AlitripXhotelChannelOrderCreateResQueryAPIRequest 分销订单查询订单创建结果 API请求 alitrip.xhotel.channel.order.create.res.query

针对分销渠道订单,在调用创建订单接口失败1分钟后,调用此接口,用以确认订单是否创建成功。

func GetAlitripXhotelChannelOrderCreateResQueryAPIRequest added in v1.3.4

func GetAlitripXhotelChannelOrderCreateResQueryAPIRequest() *AlitripXhotelChannelOrderCreateResQueryAPIRequest

GetAlitripXhotelChannelOrderCreateResQueryRequest 从 sync.Pool 获取 AlitripXhotelChannelOrderCreateResQueryAPIRequest

func NewAlitripXhotelChannelOrderCreateResQueryRequest

func NewAlitripXhotelChannelOrderCreateResQueryRequest() *AlitripXhotelChannelOrderCreateResQueryAPIRequest

NewAlitripXhotelChannelOrderCreateResQueryRequest 初始化AlitripXhotelChannelOrderCreateResQueryAPIRequest对象

func (AlitripXhotelChannelOrderCreateResQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripXhotelChannelOrderCreateResQueryAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripXhotelChannelOrderCreateResQueryAPIRequest) GetOutSourceOrderId

GetOutSourceOrderId OutSourceOrderId Getter

func (AlitripXhotelChannelOrderCreateResQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripXhotelChannelOrderCreateResQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripXhotelChannelOrderCreateResQueryAPIRequest) SetOutSourceOrderId

func (r *AlitripXhotelChannelOrderCreateResQueryAPIRequest) SetOutSourceOrderId(_outSourceOrderId string) error

SetOutSourceOrderId is OutSourceOrderId Setter 外部渠道订单号

type AlitripXhotelChannelOrderCreateResQueryAPIResponse

type AlitripXhotelChannelOrderCreateResQueryAPIResponse struct {
	model.CommonResponse
	AlitripXhotelChannelOrderCreateResQueryAPIResponseModel
}

AlitripXhotelChannelOrderCreateResQueryAPIResponse 分销订单查询订单创建结果 API返回值 alitrip.xhotel.channel.order.create.res.query

针对分销渠道订单,在调用创建订单接口失败1分钟后,调用此接口,用以确认订单是否创建成功。

func GetAlitripXhotelChannelOrderCreateResQueryAPIResponse added in v1.3.4

func GetAlitripXhotelChannelOrderCreateResQueryAPIResponse() *AlitripXhotelChannelOrderCreateResQueryAPIResponse

GetAlitripXhotelChannelOrderCreateResQueryAPIResponse 从 sync.Pool 获取 AlitripXhotelChannelOrderCreateResQueryAPIResponse

func (*AlitripXhotelChannelOrderCreateResQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripXhotelChannelOrderCreateResQueryAPIResponseModel

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

AlitripXhotelChannelOrderCreateResQueryAPIResponseModel is 分销订单查询订单创建结果 成功返回结果

func (*AlitripXhotelChannelOrderCreateResQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type DailyBookingInfo added in v1.2.5

type DailyBookingInfo struct {
	// 一个星期内有效性约束。1-7 对应周一到周日,传入的值比如[1,6],就表示星期一和星期六营销生效
	ValidWeeks []string `json:"valid_weeks,omitempty" xml:"valid_weeks>string,omitempty"`
	// 不可用日期,开始日期和结束日期: from--to  只有一天的场景,from和to传同一天; 默认:空,代表无时间限制;
	InvalidDates []InvalidDate `json:"invalid_dates,omitempty" xml:"invalid_dates>invalid_date,omitempty"`
	// 可入住的起始时间,不填默认一年,一年后自动续期
	CheckInFrom string `json:"check_in_from,omitempty" xml:"check_in_from,omitempty"`
	// 可入住的结束时间,不填默认一年,一年后自动续期
	CheckInTo string `json:"check_in_to,omitempty" xml:"check_in_to,omitempty"`
	// 折扣比例,填30就意味着原价的30%,也就是打3折。数字范围限定在10-95之间
	InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
}

DailyBookingInfo 结构体

func GetDailyBookingInfo added in v1.3.4

func GetDailyBookingInfo() *DailyBookingInfo

GetDailyBookingInfo() 从对象池中获取DailyBookingInfo

type DchotelSignDo

type DchotelSignDo struct {
	// taccAuthLetterAllowDate
	TaccAuthLetterAllowDate string `json:"tacc_auth_letter_allow_date,omitempty" xml:"tacc_auth_letter_allow_date,omitempty"`
	// phone
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// email
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// intentAchieveDate
	IntentAchieveDate string `json:"intent_achieve_date,omitempty" xml:"intent_achieve_date,omitempty"`
	// hotelAccount
	HotelAccount string `json:"hotel_account,omitempty" xml:"hotel_account,omitempty"`
	// privateReceiptAccountStatus
	PrivateReceiptAccountStatus int64 `json:"private_receipt_account_status,omitempty" xml:"private_receipt_account_status,omitempty"`
	// hotelierIdStatus
	HotelierIdStatus int64 `json:"hotelier_id_status,omitempty" xml:"hotelier_id_status,omitempty"`
	// stlStatus
	StlStatus int64 `json:"stl_status,omitempty" xml:"stl_status,omitempty"`
	// blStatus
	BlStatus int64 `json:"bl_status,omitempty" xml:"bl_status,omitempty"`
	// idConfirmLetterStatus
	IdConfirmLetterStatus int64 `json:"id_confirm_letter_status,omitempty" xml:"id_confirm_letter_status,omitempty"`
	// qlfType
	QlfType int64 `json:"qlf_type,omitempty" xml:"qlf_type,omitempty"`
	// payType
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// isKezhanSign
	IsKezhanSign int64 `json:"is_kezhan_sign,omitempty" xml:"is_kezhan_sign,omitempty"`
	// signStatus
	SignStatus int64 `json:"sign_status,omitempty" xml:"sign_status,omitempty"`
	// pid
	Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"`
	// hid
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// hotelPicturesStatus
	HotelPicturesStatus int64 `json:"hotel_pictures_status,omitempty" xml:"hotel_pictures_status,omitempty"`
	// commLetterStatus
	CommLetterStatus int64 `json:"comm_letter_status,omitempty" xml:"comm_letter_status,omitempty"`
	// toDcHotelStatus
	ToDcHotelStatus int64 `json:"to_dc_hotel_status,omitempty" xml:"to_dc_hotel_status,omitempty"`
}

DchotelSignDo 结构体

func GetDchotelSignDo added in v1.3.4

func GetDchotelSignDo() *DchotelSignDo

GetDchotelSignDo() 从对象池中获取DchotelSignDo

type DsNhotelInfoDo

type DsNhotelInfoDo struct {
	// onlineDate
	OnlineDate string `json:"online_date,omitempty" xml:"online_date,omitempty"`
	// signDate
	SignDate string `json:"sign_date,omitempty" xml:"sign_date,omitempty"`
	// name
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// outerId
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// canSellDate
	CanSellDate string `json:"can_sell_date,omitempty" xml:"can_sell_date,omitempty"`
	// onlineStatus
	OnlineStatus int64 `json:"online_status,omitempty" xml:"online_status,omitempty"`
	// qualificationType
	QualificationType int64 `json:"qualification_type,omitempty" xml:"qualification_type,omitempty"`
	// accountType
	AccountType int64 `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// trainStatus
	TrainStatus int64 `json:"train_status,omitempty" xml:"train_status,omitempty"`
	// commLetterStatus
	CommLetterStatus int64 `json:"comm_letter_status,omitempty" xml:"comm_letter_status,omitempty"`
	// privateReceiptAccountStatus
	PrivateReceiptAccountStatus int64 `json:"private_receipt_account_status,omitempty" xml:"private_receipt_account_status,omitempty"`
	// hotelierIdStatus
	HotelierIdStatus int64 `json:"hotelier_id_status,omitempty" xml:"hotelier_id_status,omitempty"`
	// srlStatus
	SrlStatus int64 `json:"srl_status,omitempty" xml:"srl_status,omitempty"`
	// businessLicenseStatus
	BusinessLicenseStatus int64 `json:"business_license_status,omitempty" xml:"business_license_status,omitempty"`
	// idConfirmLetterStatus
	IdConfirmLetterStatus int64 `json:"id_confirm_letter_status,omitempty" xml:"id_confirm_letter_status,omitempty"`
	// isSigned
	IsSigned int64 `json:"is_signed,omitempty" xml:"is_signed,omitempty"`
	// isAccountApply
	IsAccountApply int64 `json:"is_account_apply,omitempty" xml:"is_account_apply,omitempty"`
	// hid
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// isKezhan
	IsKezhan int64 `json:"is_kezhan,omitempty" xml:"is_kezhan,omitempty"`
	// hotelPicturesStatus
	HotelPicturesStatus int64 `json:"hotel_pictures_status,omitempty" xml:"hotel_pictures_status,omitempty"`
	// canSellStatus
	CanSellStatus int64 `json:"can_sell_status,omitempty" xml:"can_sell_status,omitempty"`
}

DsNhotelInfoDo 结构体

func GetDsNhotelInfoDo added in v1.3.4

func GetDsNhotelInfoDo() *DsNhotelInfoDo

GetDsNhotelInfoDo() 从对象池中获取DsNhotelInfoDo

type EarlyBookingInfo added in v1.2.5

type EarlyBookingInfo struct {
	// 最少提前预定天数,数字范围限定在1-60
	MinPreBookingDays int64 `json:"min_pre_booking_days,omitempty" xml:"min_pre_booking_days,omitempty"`
	// 折扣比例,填30就意味着原价的30%,也就是打3折。数字范围限定在10-95之间
	InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
	// 连住天数,可为空,范围1-60
	MinContinuityStay int64 `json:"min_continuity_stay,omitempty" xml:"min_continuity_stay,omitempty"`
}

EarlyBookingInfo 结构体

func GetEarlyBookingInfo added in v1.3.4

func GetEarlyBookingInfo() *EarlyBookingInfo

GetEarlyBookingInfo() 从对象池中获取EarlyBookingInfo

type HbsResult

type HbsResult struct {
	// 错误信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 结果码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 给开发用的错误信息
	ResultMsg4Dev string `json:"result_msg4_dev,omitempty" xml:"result_msg4_dev,omitempty"`
	// 飞猪平台订单号
	Module int64 `json:"module,omitempty" xml:"module,omitempty"`
	// 订单是否创建成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

HbsResult 结构体

func GetHbsResult added in v1.3.4

func GetHbsResult() *HbsResult

GetHbsResult() 从对象池中获取HbsResult

type HotelDivision added in v1.2.9

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 InvalidDate added in v1.2.5

type InvalidDate struct {
	// 活动失效开始时间
	InvalidFrom string `json:"invalid_from,omitempty" xml:"invalid_from,omitempty"`
	// 活动失效结束时间
	InvalidTo string `json:"invalid_to,omitempty" xml:"invalid_to,omitempty"`
}

InvalidDate 结构体

func GetInvalidDate added in v1.3.4

func GetInvalidDate() *InvalidDate

GetInvalidDate() 从对象池中获取InvalidDate

type LongOrderInfo added in v1.2.5

type LongOrderInfo struct {
	// 最小连住天数
	MinContinuityStay int64 `json:"min_continuity_stay,omitempty" xml:"min_continuity_stay,omitempty"`
	// 折扣比例,填30就意味着原价的30%,也就是打3折。数字范围限定在10-95之间
	InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"`
}

LongOrderInfo 结构体

func GetLongOrderInfo added in v1.3.4

func GetLongOrderInfo() *LongOrderInfo

GetLongOrderInfo() 从对象池中获取LongOrderInfo

type PromoInfo added in v1.2.5

type PromoInfo struct {
	// 连住优惠的入参
	LongOrderInfo *LongOrderInfo `json:"long_order_info,omitempty" xml:"long_order_info,omitempty"`
	// 早定优惠的入参
	EarlyBookingInfo *EarlyBookingInfo `json:"early_booking_info,omitempty" xml:"early_booking_info,omitempty"`
	// 天天特惠的入参
	DailyBookingInfo *DailyBookingInfo `json:"daily_booking_info,omitempty" xml:"daily_booking_info,omitempty"`
}

PromoInfo 结构体

func GetPromoInfo added in v1.3.4

func GetPromoInfo() *PromoInfo

GetPromoInfo() 从对象池中获取PromoInfo

type RateInfo added in v1.2.5

type RateInfo struct {
	// 外部价格计划code
	RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"`
	// 外部房型id
	OutRid string `json:"out_rid,omitempty" xml:"out_rid,omitempty"`
}

RateInfo 结构体

func GetRateInfo added in v1.3.4

func GetRateInfo() *RateInfo

GetRateInfo() 从对象池中获取RateInfo

type TaobaoXhotelBnbpromoUpdateAPIRequest added in v1.2.5

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

TaobaoXhotelBnbpromoUpdateAPIRequest 民宿营销活动更新 API请求 taobao.xhotel.bnbpromo.update

全量更新对应外部活动code相关的营销活动信息

func GetTaobaoXhotelBnbpromoUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelBnbpromoUpdateAPIRequest() *TaobaoXhotelBnbpromoUpdateAPIRequest

GetTaobaoXhotelBnbpromoUpdateRequest 从 sync.Pool 获取 TaobaoXhotelBnbpromoUpdateAPIRequest

func NewTaobaoXhotelBnbpromoUpdateRequest added in v1.2.5

func NewTaobaoXhotelBnbpromoUpdateRequest() *TaobaoXhotelBnbpromoUpdateAPIRequest

NewTaobaoXhotelBnbpromoUpdateRequest 初始化TaobaoXhotelBnbpromoUpdateAPIRequest对象

func (TaobaoXhotelBnbpromoUpdateAPIRequest) GetApiMethodName added in v1.2.5

func (r TaobaoXhotelBnbpromoUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelBnbpromoUpdateAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelBnbpromoUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelBnbpromoUpdateAPIRequest) GetUpdatePromoParam added in v1.2.5

func (r TaobaoXhotelBnbpromoUpdateAPIRequest) GetUpdatePromoParam() *UpdatePromoParam

GetUpdatePromoParam UpdatePromoParam Getter

func (*TaobaoXhotelBnbpromoUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelBnbpromoUpdateAPIRequest) SetUpdatePromoParam added in v1.2.5

func (r *TaobaoXhotelBnbpromoUpdateAPIRequest) SetUpdatePromoParam(_updatePromoParam *UpdatePromoParam) error

SetUpdatePromoParam is UpdatePromoParam Setter 更新营销活动的入参

type TaobaoXhotelBnbpromoUpdateAPIResponse added in v1.2.5

type TaobaoXhotelBnbpromoUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelBnbpromoUpdateAPIResponseModel
}

TaobaoXhotelBnbpromoUpdateAPIResponse 民宿营销活动更新 API返回值 taobao.xhotel.bnbpromo.update

全量更新对应外部活动code相关的营销活动信息

func GetTaobaoXhotelBnbpromoUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelBnbpromoUpdateAPIResponse() *TaobaoXhotelBnbpromoUpdateAPIResponse

GetTaobaoXhotelBnbpromoUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelBnbpromoUpdateAPIResponse

func (*TaobaoXhotelBnbpromoUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoUpdateAPIResponseModel added in v1.2.5

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

TaobaoXhotelBnbpromoUpdateAPIResponseModel is 民宿营销活动更新 成功返回结果

func (*TaobaoXhotelBnbpromoUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelBnbpromoUpdateResultSet added in v1.2.5

type TaobaoXhotelBnbpromoUpdateResultSet struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelBnbpromoUpdateResultSet 结构体

func GetTaobaoXhotelBnbpromoUpdateResultSet added in v1.3.4

func GetTaobaoXhotelBnbpromoUpdateResultSet() *TaobaoXhotelBnbpromoUpdateResultSet

GetTaobaoXhotelBnbpromoUpdateResultSet() 从对象池中获取TaobaoXhotelBnbpromoUpdateResultSet

type TaobaoXhotelCityDistributionGetAPIRequest added in v1.2.9

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

TaobaoXhotelCityDistributionGetAPIRequest 酒店城市数据获取接口-分销场景使用 API请求 taobao.xhotel.city.distribution.get

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

func GetTaobaoXhotelCityDistributionGetAPIRequest added in v1.3.4

func GetTaobaoXhotelCityDistributionGetAPIRequest() *TaobaoXhotelCityDistributionGetAPIRequest

GetTaobaoXhotelCityDistributionGetRequest 从 sync.Pool 获取 TaobaoXhotelCityDistributionGetAPIRequest

func NewTaobaoXhotelCityDistributionGetRequest added in v1.2.9

func NewTaobaoXhotelCityDistributionGetRequest() *TaobaoXhotelCityDistributionGetAPIRequest

NewTaobaoXhotelCityDistributionGetRequest 初始化TaobaoXhotelCityDistributionGetAPIRequest对象

func (TaobaoXhotelCityDistributionGetAPIRequest) GetApiMethodName added in v1.2.9

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelCityDistributionGetAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelCityDistributionGetAPIRequest) GetCount added in v1.2.9

GetCount Count Getter

func (TaobaoXhotelCityDistributionGetAPIRequest) GetRawParams added in v1.2.9

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

func (TaobaoXhotelCityDistributionGetAPIRequest) GetStart added in v1.2.9

GetStart Start Getter

func (*TaobaoXhotelCityDistributionGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelCityDistributionGetAPIRequest) SetCount added in v1.2.9

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

func (*TaobaoXhotelCityDistributionGetAPIRequest) SetStart added in v1.2.9

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

type TaobaoXhotelCityDistributionGetAPIResponse added in v1.2.9

type TaobaoXhotelCityDistributionGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCityDistributionGetAPIResponseModel
}

TaobaoXhotelCityDistributionGetAPIResponse 酒店城市数据获取接口-分销场景使用 API返回值 taobao.xhotel.city.distribution.get

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

func GetTaobaoXhotelCityDistributionGetAPIResponse added in v1.3.4

func GetTaobaoXhotelCityDistributionGetAPIResponse() *TaobaoXhotelCityDistributionGetAPIResponse

GetTaobaoXhotelCityDistributionGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelCityDistributionGetAPIResponse

func (*TaobaoXhotelCityDistributionGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCityDistributionGetAPIResponseModel added in v1.2.9

type TaobaoXhotelCityDistributionGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_city_distribution_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"`
}

TaobaoXhotelCityDistributionGetAPIResponseModel is 酒店城市数据获取接口-分销场景使用 成功返回结果

func (*TaobaoXhotelCityDistributionGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDataServiceHotelServiceindexAPIRequest

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

TaobaoXhotelDataServiceHotelServiceindexAPIRequest 酒店服务指数 API请求 taobao.xhotel.data.service.hotel.serviceindex

酒店服务指数

func GetTaobaoXhotelDataServiceHotelServiceindexAPIRequest added in v1.3.4

func GetTaobaoXhotelDataServiceHotelServiceindexAPIRequest() *TaobaoXhotelDataServiceHotelServiceindexAPIRequest

GetTaobaoXhotelDataServiceHotelServiceindexRequest 从 sync.Pool 获取 TaobaoXhotelDataServiceHotelServiceindexAPIRequest

func NewTaobaoXhotelDataServiceHotelServiceindexRequest

func NewTaobaoXhotelDataServiceHotelServiceindexRequest() *TaobaoXhotelDataServiceHotelServiceindexAPIRequest

NewTaobaoXhotelDataServiceHotelServiceindexRequest 初始化TaobaoXhotelDataServiceHotelServiceindexAPIRequest对象

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetReportEndDate

GetReportEndDate ReportEndDate Getter

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetReportStartDate

GetReportStartDate ReportStartDate Getter

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetStartRow

GetStartRow StartRow Getter

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetSupplier

GetSupplier Supplier Getter

func (TaobaoXhotelDataServiceHotelServiceindexAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetHid

SetHid is Hid Setter 酒店id

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetPageSize

SetPageSize is PageSize Setter 10

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetReportEndDate

func (r *TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetReportEndDate(_reportEndDate string) error

SetReportEndDate is ReportEndDate Setter 查询时间段结束

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetReportStartDate

func (r *TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetReportStartDate(_reportStartDate string) error

SetReportStartDate is ReportStartDate Setter 查询时间段开始

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetStartRow

SetStartRow is StartRow Setter 1

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetSupplier

SetSupplier is Supplier Setter 供应商名称

func (*TaobaoXhotelDataServiceHotelServiceindexAPIRequest) SetVendor

SetVendor is Vendor Setter 渠道商名称

type TaobaoXhotelDataServiceHotelServiceindexAPIResponse

type TaobaoXhotelDataServiceHotelServiceindexAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelDataServiceHotelServiceindexAPIResponseModel
}

TaobaoXhotelDataServiceHotelServiceindexAPIResponse 酒店服务指数 API返回值 taobao.xhotel.data.service.hotel.serviceindex

酒店服务指数

func GetTaobaoXhotelDataServiceHotelServiceindexAPIResponse added in v1.3.4

func GetTaobaoXhotelDataServiceHotelServiceindexAPIResponse() *TaobaoXhotelDataServiceHotelServiceindexAPIResponse

GetTaobaoXhotelDataServiceHotelServiceindexAPIResponse 从 sync.Pool 获取 TaobaoXhotelDataServiceHotelServiceindexAPIResponse

func (*TaobaoXhotelDataServiceHotelServiceindexAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDataServiceHotelServiceindexAPIResponseModel

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

TaobaoXhotelDataServiceHotelServiceindexAPIResponseModel is 酒店服务指数 成功返回结果

func (*TaobaoXhotelDataServiceHotelServiceindexAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDataServiceHotelServiceindexResultSet

type TaobaoXhotelDataServiceHotelServiceindexResultSet struct {
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// firstResult
	FirstResult *TopAdsHtlDataQueryResult `json:"first_result,omitempty" xml:"first_result,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelDataServiceHotelServiceindexResultSet 结构体

func GetTaobaoXhotelDataServiceHotelServiceindexResultSet added in v1.3.4

func GetTaobaoXhotelDataServiceHotelServiceindexResultSet() *TaobaoXhotelDataServiceHotelServiceindexResultSet

GetTaobaoXhotelDataServiceHotelServiceindexResultSet() 从对象池中获取TaobaoXhotelDataServiceHotelServiceindexResultSet

type TaobaoXhotelDataServiceOrderDetailAPIRequest

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

TaobaoXhotelDataServiceOrderDetailAPIRequest 服务订单详情 API请求 taobao.xhotel.data.service.order.detail

服务订单详情top接口构建

func GetTaobaoXhotelDataServiceOrderDetailAPIRequest added in v1.3.4

func GetTaobaoXhotelDataServiceOrderDetailAPIRequest() *TaobaoXhotelDataServiceOrderDetailAPIRequest

GetTaobaoXhotelDataServiceOrderDetailRequest 从 sync.Pool 获取 TaobaoXhotelDataServiceOrderDetailAPIRequest

func NewTaobaoXhotelDataServiceOrderDetailRequest

func NewTaobaoXhotelDataServiceOrderDetailRequest() *TaobaoXhotelDataServiceOrderDetailAPIRequest

NewTaobaoXhotelDataServiceOrderDetailRequest 初始化TaobaoXhotelDataServiceOrderDetailAPIRequest对象

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetEndDate

GetEndDate EndDate Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetHid

GetHid Hid Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetIsCallNoOrder

GetIsCallNoOrder IsCallNoOrder Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetIsNoRoomCompen

GetIsNoRoomCompen IsNoRoomCompen Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetIsSellerDeny

GetIsSellerDeny IsSellerDeny Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetIsSellerRefund

GetIsSellerRefund IsSellerRefund Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetIsSpecTimeOrder

func (r TaobaoXhotelDataServiceOrderDetailAPIRequest) GetIsSpecTimeOrder() int64

GetIsSpecTimeOrder IsSpecTimeOrder Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetPageSize

GetPageSize PageSize Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetStartDate

GetStartDate StartDate Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetStartRow

GetStartRow StartRow Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetSupplier

GetSupplier Supplier Getter

func (TaobaoXhotelDataServiceOrderDetailAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetEndDate

SetEndDate is EndDate Setter 查询结束时间

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetHid

SetHid is Hid Setter 酒店id

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsCallNoOrder

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsCallNoOrder(_isCallNoOrder int64) error

SetIsCallNoOrder is IsCallNoOrder Setter 是否查无订单 1:是 0:否

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsNoRoomCompen

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsNoRoomCompen(_isNoRoomCompen int64) error

SetIsNoRoomCompen is IsNoRoomCompen Setter 是否到店无房 1:是

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsSellerDeny

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsSellerDeny(_isSellerDeny int64) error

SetIsSellerDeny is IsSellerDeny Setter 是否拒单 1:是 0:否

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsSellerRefund

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsSellerRefund(_isSellerRefund int64) error

SetIsSellerRefund is IsSellerRefund Setter 是否卖家原因退款 1:是 0:否

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsSpecTimeOrder

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetIsSpecTimeOrder(_isSpecTimeOrder int64) error

SetIsSpecTimeOrder is IsSpecTimeOrder Setter 是否特殊时段订单 1:是 0:否

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetPageSize

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

SetPageSize is PageSize Setter 分页大小

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetStartDate

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 查询开始日期

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetStartRow

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetStartRow(_startRow int64) error

SetStartRow is StartRow Setter 分页参数

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetSupplier

func (r *TaobaoXhotelDataServiceOrderDetailAPIRequest) SetSupplier(_supplier string) error

SetSupplier is Supplier Setter 供应商名称

func (*TaobaoXhotelDataServiceOrderDetailAPIRequest) SetVendor

SetVendor is Vendor Setter 渠道商名称

type TaobaoXhotelDataServiceOrderDetailAPIResponse

type TaobaoXhotelDataServiceOrderDetailAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelDataServiceOrderDetailAPIResponseModel
}

TaobaoXhotelDataServiceOrderDetailAPIResponse 服务订单详情 API返回值 taobao.xhotel.data.service.order.detail

服务订单详情top接口构建

func GetTaobaoXhotelDataServiceOrderDetailAPIResponse added in v1.3.4

func GetTaobaoXhotelDataServiceOrderDetailAPIResponse() *TaobaoXhotelDataServiceOrderDetailAPIResponse

GetTaobaoXhotelDataServiceOrderDetailAPIResponse 从 sync.Pool 获取 TaobaoXhotelDataServiceOrderDetailAPIResponse

func (*TaobaoXhotelDataServiceOrderDetailAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDataServiceOrderDetailAPIResponseModel

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

TaobaoXhotelDataServiceOrderDetailAPIResponseModel is 服务订单详情 成功返回结果

func (*TaobaoXhotelDataServiceOrderDetailAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelDataServiceOrderDetailResultSet

type TaobaoXhotelDataServiceOrderDetailResultSet struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// firstResult
	FirstResult *TopAdsTripSvcQueryResult `json:"first_result,omitempty" xml:"first_result,omitempty"`
}

TaobaoXhotelDataServiceOrderDetailResultSet 结构体

func GetTaobaoXhotelDataServiceOrderDetailResultSet added in v1.3.4

func GetTaobaoXhotelDataServiceOrderDetailResultSet() *TaobaoXhotelDataServiceOrderDetailResultSet

GetTaobaoXhotelDataServiceOrderDetailResultSet() 从对象池中获取TaobaoXhotelDataServiceOrderDetailResultSet

type TaobaoXhotelOrderHotelsignQueryAPIRequest

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

TaobaoXhotelOrderHotelsignQueryAPIRequest 获取直连酒店(客栈)签约上线进度信息 API请求 taobao.xhotel.order.hotelsign.query

获取直连酒店(客栈)签约上线进度信息

func GetTaobaoXhotelOrderHotelsignQueryAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderHotelsignQueryAPIRequest() *TaobaoXhotelOrderHotelsignQueryAPIRequest

GetTaobaoXhotelOrderHotelsignQueryRequest 从 sync.Pool 获取 TaobaoXhotelOrderHotelsignQueryAPIRequest

func NewTaobaoXhotelOrderHotelsignQueryRequest

func NewTaobaoXhotelOrderHotelsignQueryRequest() *TaobaoXhotelOrderHotelsignQueryAPIRequest

NewTaobaoXhotelOrderHotelsignQueryRequest 初始化TaobaoXhotelOrderHotelsignQueryAPIRequest对象

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetApiParams

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetHotelCode

GetHotelCode HotelCode Getter

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetOutUuid

GetOutUuid OutUuid Getter

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetPageNo

GetPageNo PageNo Getter

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetType

GetType Type Getter

func (TaobaoXhotelOrderHotelsignQueryAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelOrderHotelsignQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderHotelsignQueryAPIRequest) SetHotelCode

func (r *TaobaoXhotelOrderHotelsignQueryAPIRequest) SetHotelCode(_hotelCode string) error

SetHotelCode is HotelCode Setter 商家酒店编码

func (*TaobaoXhotelOrderHotelsignQueryAPIRequest) SetOutUuid

func (r *TaobaoXhotelOrderHotelsignQueryAPIRequest) SetOutUuid(_outUuid string) error

SetOutUuid is OutUuid Setter 请求流水

func (*TaobaoXhotelOrderHotelsignQueryAPIRequest) SetPageNo

SetPageNo is PageNo Setter 页码

func (*TaobaoXhotelOrderHotelsignQueryAPIRequest) SetType

SetType is Type Setter 1

func (*TaobaoXhotelOrderHotelsignQueryAPIRequest) SetVendor

SetVendor is Vendor Setter 商家vendor

type TaobaoXhotelOrderHotelsignQueryAPIResponse

type TaobaoXhotelOrderHotelsignQueryAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderHotelsignQueryAPIResponseModel
}

TaobaoXhotelOrderHotelsignQueryAPIResponse 获取直连酒店(客栈)签约上线进度信息 API返回值 taobao.xhotel.order.hotelsign.query

获取直连酒店(客栈)签约上线进度信息

func GetTaobaoXhotelOrderHotelsignQueryAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderHotelsignQueryAPIResponse() *TaobaoXhotelOrderHotelsignQueryAPIResponse

GetTaobaoXhotelOrderHotelsignQueryAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderHotelsignQueryAPIResponse

func (*TaobaoXhotelOrderHotelsignQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderHotelsignQueryAPIResponseModel

type TaobaoXhotelOrderHotelsignQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_order_hotelsign_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// dsNhotelInfoDOList,当入参不包含hotelcode的时候,只有vendor的时候返回该对象
	DsNhotelInfoDOList []DsNhotelInfoDo `json:"ds_nhotel_info_d_o_list,omitempty" xml:"ds_nhotel_info_d_o_list>ds_nhotel_info_do,omitempty"`
	// outUuid
	OutUuid string `json:"out_uuid,omitempty" xml:"out_uuid,omitempty"`
	// hotelSignInfo,当入参中包含hotelcode和vendor的时候,返回该对象
	HotelSignInfo *DchotelSignDo `json:"hotel_sign_info,omitempty" xml:"hotel_sign_info,omitempty"`
}

TaobaoXhotelOrderHotelsignQueryAPIResponseModel is 获取直连酒店(客栈)签约上线进度信息 成功返回结果

func (*TaobaoXhotelOrderHotelsignQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderOfficialQualificationGetAPIRequest

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

TaobaoXhotelOrderOfficialQualificationGetAPIRequest 官网信用住用户资质校验 API请求 taobao.xhotel.order.official.qualification.get

官网信用住在下单前对用户进行资质校验,资质校验通过才能进行信用支付

func GetTaobaoXhotelOrderOfficialQualificationGetAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderOfficialQualificationGetAPIRequest() *TaobaoXhotelOrderOfficialQualificationGetAPIRequest

GetTaobaoXhotelOrderOfficialQualificationGetRequest 从 sync.Pool 获取 TaobaoXhotelOrderOfficialQualificationGetAPIRequest

func NewTaobaoXhotelOrderOfficialQualificationGetRequest

func NewTaobaoXhotelOrderOfficialQualificationGetRequest() *TaobaoXhotelOrderOfficialQualificationGetAPIRequest

NewTaobaoXhotelOrderOfficialQualificationGetRequest 初始化TaobaoXhotelOrderOfficialQualificationGetAPIRequest对象

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetAlipayAccount

GetAlipayAccount AlipayAccount Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetCheckIn

GetCheckIn CheckIn Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetCheckOut

GetCheckOut CheckOut Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetDailyPriceInfo

GetDailyPriceInfo DailyPriceInfo Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetEncryptType

GetEncryptType EncryptType Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetExtendAttrs

GetExtendAttrs ExtendAttrs Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetGuestName

GetGuestName GuestName Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetHotelCode

GetHotelCode HotelCode Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetIdNumber

GetIdNumber IdNumber Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetIdType

GetIdType IdType Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetMobileNo

GetMobileNo MobileNo Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetNotifyUrl

GetNotifyUrl NotifyUrl Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetOutMemberAccount

GetOutMemberAccount OutMemberAccount Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetOutOid

GetOutOid OutOid Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetOutUUID

GetOutUUID OutUUID Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetReturnUrl

GetReturnUrl ReturnUrl Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetRoomNum

GetRoomNum RoomNum Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetTotalFee

GetTotalFee TotalFee Getter

func (TaobaoXhotelOrderOfficialQualificationGetAPIRequest) GetVendor

GetVendor Vendor Getter

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetAlipayAccount

func (r *TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetAlipayAccount(_alipayAccount string) error

SetAlipayAccount is AlipayAccount Setter 用户支付宝唯一识别码(可选)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetCheckIn

SetCheckIn is CheckIn Setter 客人入住日期

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetCheckOut

SetCheckOut is CheckOut Setter 客人离店日期, 最多支持9间夜

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetDailyPriceInfo

func (r *TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error

SetDailyPriceInfo is DailyPriceInfo Setter 每日房价,json格式 ,如果是多间房,则是每日多间房总房价(可选) * eg:{"day":"2015-08-12","price":48800}, {"day":"2015-08-13","price":48800}

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetEncryptType

func (r *TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetEncryptType(_encryptType int64) error

SetEncryptType is EncryptType Setter 加密方式, 默认0: 不加密, 信息会通过淘宝开放平台传输, 阿里旅行可以获取到具体信息; * 目前只支持不加密

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetExtendAttrs

func (r *TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetExtendAttrs(_extendAttrs string) error

SetExtendAttrs is ExtendAttrs Setter 扩展字段,json串,用户后续的营销、统计、定制等需求,目前已有key列表: is_new_user:是否是卖家新用户,1-是,0或者key为null,表示不是 is_first_stay:是否是卖家首住,1-是,0或者key为null,表示不是 (已有列表必须传递)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetGuestName

SetGuestName is GuestName Setter 入住人姓名(必选)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetHotelCode

SetHotelCode is HotelCode Setter 酒店外部编码

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetIdNumber

SetIdNumber is IdNumber Setter 身份证号,必选

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetIdType

SetIdType is IdType Setter 证件类型, 默认0:身份证; 1: 护照; 2:警官证; 3:士兵证; 4: 回乡证。目前只支持身份证

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetMobileNo

SetMobileNo is MobileNo Setter 用户手机号(可选)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetNotifyUrl

SetNotifyUrl is NotifyUrl Setter 卖家接收阿里旅行订单状态变更的服务地址(需要实现阿里旅行提供的服务通知规范)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetOutMemberAccount

func (r *TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetOutMemberAccount(_outMemberAccount string) error

SetOutMemberAccount is OutMemberAccount Setter 外部会员账号(必选)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetOutOid

SetOutOid is OutOid Setter 外部订单号(必选),阿里旅行会根据此值进行幂等性校验

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetOutUUID

SetOutUUID is OutUUID Setter 外部请求序列表号\流水号,单次请求的唯一标识(必须)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetReturnUrl

SetReturnUrl is ReturnUrl Setter 阿里旅行支付(下单)结束后跳转卖家的页面地址(必须)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetRoomNum

SetRoomNum is RoomNum Setter 房间数

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetTotalFee

SetTotalFee is TotalFee Setter 总的收费金额,单位为分(必须)

func (*TaobaoXhotelOrderOfficialQualificationGetAPIRequest) SetVendor

SetVendor is Vendor Setter 商家在淘宝给分配的渠道名(建议填充较好)

type TaobaoXhotelOrderOfficialQualificationGetAPIResponse

type TaobaoXhotelOrderOfficialQualificationGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderOfficialQualificationGetAPIResponseModel
}

TaobaoXhotelOrderOfficialQualificationGetAPIResponse 官网信用住用户资质校验 API返回值 taobao.xhotel.order.official.qualification.get

官网信用住在下单前对用户进行资质校验,资质校验通过才能进行信用支付

func GetTaobaoXhotelOrderOfficialQualificationGetAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderOfficialQualificationGetAPIResponse() *TaobaoXhotelOrderOfficialQualificationGetAPIResponse

GetTaobaoXhotelOrderOfficialQualificationGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderOfficialQualificationGetAPIResponse

func (*TaobaoXhotelOrderOfficialQualificationGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderOfficialQualificationGetAPIResponseModel

type TaobaoXhotelOrderOfficialQualificationGetAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_order_official_qualification_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 无资格原因提示信息
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 入参信息回传, 用于校验的证件号码
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// * 外部请求序列表号回传\流水号(如果外部订单号唯一,建议外部订单号,这样容易核对问题),用于区别一次请求和排查问题,阿里旅行不做任何格式校验(必须)
	OutUUID string `json:"out_u_u_i_d,omitempty" xml:"out_u_u_i_d,omitempty"`
	// 入参信息回传,用于校验的外部会员账号
	OutMemeberAccount string `json:"out_memeber_account,omitempty" xml:"out_memeber_account,omitempty"`
	// 扩展字段,json串,后续留用
	ExtendAttrs string `json:"extend_attrs,omitempty" xml:"extend_attrs,omitempty"`
	// 资质校验是否成功,有资格返回true, 无资格返回false
	MatchCondition bool `json:"match_condition,omitempty" xml:"match_condition,omitempty"`
}

TaobaoXhotelOrderOfficialQualificationGetAPIResponseModel is 官网信用住用户资质校验 成功返回结果

func (*TaobaoXhotelOrderOfficialQualificationGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderOfflineSettleCancelAPIRequest

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

TaobaoXhotelOrderOfflineSettleCancelAPIRequest 线下信用住取消结账专用接口 API请求 taobao.xhotel.order.offline.settle.cancel

线下信用住取消结账专用接口

func GetTaobaoXhotelOrderOfflineSettleCancelAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderOfflineSettleCancelAPIRequest() *TaobaoXhotelOrderOfflineSettleCancelAPIRequest

GetTaobaoXhotelOrderOfflineSettleCancelRequest 从 sync.Pool 获取 TaobaoXhotelOrderOfflineSettleCancelAPIRequest

func NewTaobaoXhotelOrderOfflineSettleCancelRequest

func NewTaobaoXhotelOrderOfflineSettleCancelRequest() *TaobaoXhotelOrderOfflineSettleCancelAPIRequest

NewTaobaoXhotelOrderOfflineSettleCancelRequest 初始化TaobaoXhotelOrderOfflineSettleCancelAPIRequest对象

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetNotifyUrl

GetNotifyUrl NotifyUrl Getter

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetOutId

GetOutId OutId Getter

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetOutUuid

GetOutUuid OutUuid Getter

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetReason

GetReason Reason Getter

func (TaobaoXhotelOrderOfflineSettleCancelAPIRequest) GetTid

GetTid Tid Getter

func (*TaobaoXhotelOrderOfflineSettleCancelAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderOfflineSettleCancelAPIRequest) SetNotifyUrl

func (r *TaobaoXhotelOrderOfflineSettleCancelAPIRequest) SetNotifyUrl(_notifyUrl string) error

SetNotifyUrl is NotifyUrl Setter 暂时无意义,无需传入

func (*TaobaoXhotelOrderOfflineSettleCancelAPIRequest) SetOutId

SetOutId is OutId Setter 外部订单号,和tid二选一必填(建议都写入)

func (*TaobaoXhotelOrderOfflineSettleCancelAPIRequest) SetOutUuid

SetOutUuid is OutUuid Setter 请求流水号

func (*TaobaoXhotelOrderOfflineSettleCancelAPIRequest) SetReason

SetReason is Reason Setter 取消结账的原因

func (*TaobaoXhotelOrderOfflineSettleCancelAPIRequest) SetTid

SetTid is Tid Setter 阿里旅行订单号,淘宝订单号或外部订单号二选一必填

type TaobaoXhotelOrderOfflineSettleCancelAPIResponse

type TaobaoXhotelOrderOfflineSettleCancelAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderOfflineSettleCancelAPIResponseModel
}

TaobaoXhotelOrderOfflineSettleCancelAPIResponse 线下信用住取消结账专用接口 API返回值 taobao.xhotel.order.offline.settle.cancel

线下信用住取消结账专用接口

func GetTaobaoXhotelOrderOfflineSettleCancelAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderOfflineSettleCancelAPIResponse() *TaobaoXhotelOrderOfflineSettleCancelAPIResponse

GetTaobaoXhotelOrderOfflineSettleCancelAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderOfflineSettleCancelAPIResponse

func (*TaobaoXhotelOrderOfflineSettleCancelAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderOfflineSettleCancelAPIResponseModel

type TaobaoXhotelOrderOfflineSettleCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_order_offline_settle_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回信息
	Result string `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoXhotelOrderOfflineSettleCancelAPIResponseModel is 线下信用住取消结账专用接口 成功返回结果

func (*TaobaoXhotelOrderOfflineSettleCancelAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TopAdsHtlDataQueryResult

type TopAdsHtlDataQueryResult struct {
	// topAdsHtlServiceDataList
	TopAdsHtlServiceDataList []Topadshtlservicedatalist `json:"top_ads_htl_service_data_list,omitempty" xml:"top_ads_htl_service_data_list>topadshtlservicedatalist,omitempty"`
	// 数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
}

TopAdsHtlDataQueryResult 结构体

func GetTopAdsHtlDataQueryResult added in v1.3.4

func GetTopAdsHtlDataQueryResult() *TopAdsHtlDataQueryResult

GetTopAdsHtlDataQueryResult() 从对象池中获取TopAdsHtlDataQueryResult

type TopAdsTripSvcQueryResult

type TopAdsTripSvcQueryResult struct {
	// topAdsHtlServiceDataList
	TopAdsHtlServiceDataList []Topadshtlservicedatalist `json:"top_ads_htl_service_data_list,omitempty" xml:"top_ads_htl_service_data_list>topadshtlservicedatalist,omitempty"`
	// count
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
}

TopAdsTripSvcQueryResult 结构体

func GetTopAdsTripSvcQueryResult added in v1.3.4

func GetTopAdsTripSvcQueryResult() *TopAdsTripSvcQueryResult

GetTopAdsTripSvcQueryResult() 从对象池中获取TopAdsTripSvcQueryResult

type Topadshtlservicedatalist

type Topadshtlservicedatalist struct {
	// 渠道名称
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 预定成功率
	BookingSuccRateStr string `json:"booking_succ_rate_str,omitempty" xml:"booking_succ_rate_str,omitempty"`
	// 酒店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 统计时间
	ReportDate string `json:"report_date,omitempty" xml:"report_date,omitempty"`
	// 酒店外部编码
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 是否查无订单 N:否  Y:是
	IsCallNoOrder string `json:"is_call_no_order,omitempty" xml:"is_call_no_order,omitempty"`
	// 是否特殊时段订单 N:否  Y:是
	IsSpecTimeOrder string `json:"is_spec_time_order,omitempty" xml:"is_spec_time_order,omitempty"`
	// 入住时间
	CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"`
	// 是否到店无房订单  1:是
	IsNoRoomCompen string `json:"is_no_room_compen,omitempty" xml:"is_no_room_compen,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 是否拒单 N:否  Y:是
	IsSellerDeny string `json:"is_seller_deny,omitempty" xml:"is_seller_deny,omitempty"`
	// 离店时间
	CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"`
	// 是否卖家原因退款 N:否  Y:是
	IsSellerRefund string `json:"is_seller_refund,omitempty" xml:"is_seller_refund,omitempty"`
	// 供应商名称
	Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"`
	// 酒店id
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 有效订单数
	SalesCountInCycle int64 `json:"sales_count_in_cycle,omitempty" xml:"sales_count_in_cycle,omitempty"`
	// 关闭订单数
	ClosedCountInCycle int64 `json:"closed_count_in_cycle,omitempty" xml:"closed_count_in_cycle,omitempty"`
	// 查无订单数
	NoOrdCntInCycle int64 `json:"no_ord_cnt_in_cycle,omitempty" xml:"no_ord_cnt_in_cycle,omitempty"`
	// 到店无房数量
	NoRoomCntInCycle int64 `json:"no_room_cnt_in_cycle,omitempty" xml:"no_room_cnt_in_cycle,omitempty"`
	// 确认时长
	ConfirmDuration int64 `json:"confirm_duration,omitempty" xml:"confirm_duration,omitempty"`
	// 订单id
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

Topadshtlservicedatalist 结构体

func GetTopadshtlservicedatalist added in v1.3.4

func GetTopadshtlservicedatalist() *Topadshtlservicedatalist

GetTopadshtlservicedatalist() 从对象池中获取Topadshtlservicedatalist

type UpdatePromoParam added in v1.2.5

type UpdatePromoParam struct {
	// 营销活动关联的价格计划和房型
	RateInfos []RateInfo `json:"rate_infos,omitempty" xml:"rate_infos>rate_info,omitempty"`
	// 外部营销活动的code,最长40个字符
	OuterActivityCode string `json:"outer_activity_code,omitempty" xml:"outer_activity_code,omitempty"`
	// 营销活动的具体参数对象,在每次添加更新的时候,long_order_info、early_booking_info、daily_booking_info 只能填1种类型,其他2种类型为空
	PromoInfo *PromoInfo `json:"promo_info,omitempty" xml:"promo_info,omitempty"`
}

UpdatePromoParam 结构体

func GetUpdatePromoParam added in v1.3.4

func GetUpdatePromoParam() *UpdatePromoParam

GetUpdatePromoParam() 从对象池中获取UpdatePromoParam

Jump to

Keyboard shortcuts

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