xhotel

package
v1.2.8 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2023 License: Apache-2.0 Imports: 3 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

This section is empty.

Types

type AlitripXhotelChannelOrderCreateResQueryAPIRequest

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

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

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

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) 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分钟后,调用此接口,用以确认订单是否创建成功。

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 分销订单查询订单创建结果 成功返回结果

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

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

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

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

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

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

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

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

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

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 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) 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相关的营销活动信息

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 民宿营销活动更新 成功返回结果

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

type TaobaoXhotelDataServiceHotelServiceindexAPIRequest

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

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

酒店服务指数

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) 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

酒店服务指数

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 酒店服务指数 成功返回结果

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

type TaobaoXhotelDataServiceOrderDetailAPIRequest

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

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

服务订单详情top接口构建

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) 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接口构建

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 服务订单详情 成功返回结果

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

type TaobaoXhotelOrderHotelsignQueryAPIRequest

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

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

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

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) 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

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

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 获取直连酒店(客栈)签约上线进度信息 成功返回结果

type TaobaoXhotelOrderOfficialQualificationGetAPIRequest

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

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

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

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) 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

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

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 官网信用住用户资质校验 成功返回结果

type TaobaoXhotelOrderOfflineSettleCancelAPIRequest

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

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

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

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) 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

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

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 线下信用住取消结账专用接口 成功返回结果

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

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

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

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

Jump to

Keyboard shortcuts

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