xhotelonlineorder

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlitripXhotelChannelNotifyAPIResponse

type AlitripXhotelChannelNotifyAPIResponse struct {
	model.CommonResponse
	AlitripXhotelChannelNotifyResponse
}

分销渠道各类通知接口 API返回值 alitrip.xhotel.channel.notify

分销渠道支付通知

type AlitripXhotelChannelNotifyRequest

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

分销渠道各类通知接口 API请求 alitrip.xhotel.channel.notify

分销渠道支付通知

func NewAlitripXhotelChannelNotifyRequest

func NewAlitripXhotelChannelNotifyRequest() *AlitripXhotelChannelNotifyRequest

初始化AlitripXhotelChannelNotifyRequest对象

func (AlitripXhotelChannelNotifyRequest) GetApiMethodName

func (r AlitripXhotelChannelNotifyRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripXhotelChannelNotifyRequest) GetApiParams

func (r AlitripXhotelChannelNotifyRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AlitripXhotelChannelNotifyRequest) GetOrderNotifyQuery

func (r AlitripXhotelChannelNotifyRequest) GetOrderNotifyQuery() *OrderNotifyQuery

OrderNotifyQuery Getter

func (*AlitripXhotelChannelNotifyRequest) SetOrderNotifyQuery

func (r *AlitripXhotelChannelNotifyRequest) SetOrderNotifyQuery(orderNotifyQuery *OrderNotifyQuery) error

OrderNotifyQuery Setter 通知类型查询条件

type AlitripXhotelChannelNotifyResponse

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

分销渠道各类通知接口 成功返回结果

type AlitripXhotelChannelOrderCreateAPIResponse

type AlitripXhotelChannelOrderCreateAPIResponse struct {
	model.CommonResponse
	AlitripXhotelChannelOrderCreateResponse
}

渠道分销创建订单接口 API返回值 alitrip.xhotel.channel.order.create

创建订单接口服务(如菲住等其他渠道分销提供)

type AlitripXhotelChannelOrderCreateRequest

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

渠道分销创建订单接口 API请求 alitrip.xhotel.channel.order.create

创建订单接口服务(如菲住等其他渠道分销提供)

func NewAlitripXhotelChannelOrderCreateRequest

func NewAlitripXhotelChannelOrderCreateRequest() *AlitripXhotelChannelOrderCreateRequest

初始化AlitripXhotelChannelOrderCreateRequest对象

func (AlitripXhotelChannelOrderCreateRequest) GetApiMethodName

func (r AlitripXhotelChannelOrderCreateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripXhotelChannelOrderCreateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripXhotelChannelOrderCreateRequest) GetOutSourceOrderCreateReq

func (r AlitripXhotelChannelOrderCreateRequest) GetOutSourceOrderCreateReq() *OutSourceOrderCreateReq

OutSourceOrderCreateReq Getter

func (*AlitripXhotelChannelOrderCreateRequest) SetOutSourceOrderCreateReq

func (r *AlitripXhotelChannelOrderCreateRequest) SetOutSourceOrderCreateReq(outSourceOrderCreateReq *OutSourceOrderCreateReq) error

OutSourceOrderCreateReq Setter 创建订单参数

type AlitripXhotelChannelOrderCreateResponse

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

渠道分销创建订单接口 成功返回结果

type AlitripXhotelChannelOrderMembertypeSyncAPIResponse

type AlitripXhotelChannelOrderMembertypeSyncAPIResponse struct {
	model.CommonResponse
	AlitripXhotelChannelOrderMembertypeSyncResponse
}

酒店分销渠道会员类型同步 API返回值 alitrip.xhotel.channel.order.membertype.sync

酒店分销渠道会员类型同步

type AlitripXhotelChannelOrderMembertypeSyncRequest

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

酒店分销渠道会员类型同步 API请求 alitrip.xhotel.channel.order.membertype.sync

酒店分销渠道会员类型同步

func NewAlitripXhotelChannelOrderMembertypeSyncRequest

func NewAlitripXhotelChannelOrderMembertypeSyncRequest() *AlitripXhotelChannelOrderMembertypeSyncRequest

初始化AlitripXhotelChannelOrderMembertypeSyncRequest对象

func (AlitripXhotelChannelOrderMembertypeSyncRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripXhotelChannelOrderMembertypeSyncRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripXhotelChannelOrderMembertypeSyncRequest) GetChannelSyncOrderMemberType

ChannelSyncOrderMemberType Getter

func (*AlitripXhotelChannelOrderMembertypeSyncRequest) SetChannelSyncOrderMemberType

func (r *AlitripXhotelChannelOrderMembertypeSyncRequest) SetChannelSyncOrderMemberType(channelSyncOrderMemberType *ChannelSyncOrderMemberType) error

ChannelSyncOrderMemberType Setter 入参

type AlitripXhotelChannelOrderMembertypeSyncResponse

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

酒店分销渠道会员类型同步 成功返回结果

type CancelPolicy

type CancelPolicy struct {
	// 取消类型,1:免费取消,2:不可取消,4:从入住时间前推小时前百分比扣款,5:从入住时间前推小时前百分比扣款,6:提前多少小时退款,扣取几晚房费,9:从入住时间前推小时前退订扣款金额
	CancelPolicyType int64 `json:"cancel_policy_type,omitempty" xml:"cancel_policy_type,omitempty"`
}

CancelPolicy

type ChannelSyncOrderMemberType

type ChannelSyncOrderMemberType struct {
	// 会员类型枚举
	MemberType string `json:"member_type,omitempty" xml:"member_type,omitempty"`
	// 订单TID
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

ChannelSyncOrderMemberType

type CheckDateDo

type CheckDateDo struct {
	// 入住时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 离店时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
}

CheckDateDo

type CommonInvoiceInfo

type CommonInvoiceInfo struct {
	// 专票信息
	ValueAddedInfo *ValueAddedInfo `json:"value_added_info,omitempty" xml:"value_added_info,omitempty"`
	// 发票类型(1:普通发票;2:增值税专用发票)
	InvoiceType int64 `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 发票属性 (0:公司;1:个人)
	InvoiceAttr int64 `json:"invoice_attr,omitempty" xml:"invoice_attr,omitempty"`
	// 发票抬头
	CompanyTitle string `json:"company_title,omitempty" xml:"company_title,omitempty"`
	// 淘宝用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 发票id
	InvoiceId int64 `json:"invoice_id,omitempty" xml:"invoice_id,omitempty"`
	// 个人email
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 个人手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 用户名
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
}

CommonInvoiceInfo

type CreditCard

type CreditCard struct {
	// 信用卡cvv
	CvvCode string `json:"cvv_code,omitempty" xml:"cvv_code,omitempty"`
	// 信用卡卡号
	CardNumber string `json:"card_number,omitempty" xml:"card_number,omitempty"`
	// 客人选择的有效期格式: 月/年
	ExpirationDate string `json:"expiration_date,omitempty" xml:"expiration_date,omitempty"`
	// 卡类型,AX,MC,DC,VA
	CardCode string `json:"card_code,omitempty" xml:"card_code,omitempty"`
	// 持卡人姓名
	CardHolderName string `json:"card_holder_name,omitempty" xml:"card_holder_name,omitempty"`
}

CreditCard

type DailyPrice

type DailyPrice struct {
	// 结账状态(1:结账,0:未结账)
	Checkout int64 `json:"checkout,omitempty" xml:"checkout,omitempty"`
	// 每日实际房费
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
}

DailyPrice

type DailyPriceInfo

type DailyPriceInfo struct {
	// 日历早餐
	BreakFastCount int64 `json:"break_fast_count,omitempty" xml:"break_fast_count,omitempty"`
	// 日历价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 日历日期
	Day string `json:"day,omitempty" xml:"day,omitempty"`
	// 如果是低价加价商品,此价格是底价。如果是非底价商品且为会员商品,则为会员结算价
	BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"`
}

DailyPriceInfo

type DailyPriceTo

type DailyPriceTo struct {
	// 外币价格
	ForeignCurrencyPrice int64 `json:"foreign_currency_price,omitempty" xml:"foreign_currency_price,omitempty"`
	// 积分数
	Point int64 `json:"point,omitempty" xml:"point,omitempty"`
	// 淘里程数
	Mileage int64 `json:"mileage,omitempty" xml:"mileage,omitempty"`
	// 币种名称
	CurrencyCodeName string `json:"currency_code_name,omitempty" xml:"currency_code_name,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 税费
	TaxPrice int64 `json:"tax_price,omitempty" xml:"tax_price,omitempty"`
	// 早餐数
	BreakFastCount int64 `json:"break_fast_count,omitempty" xml:"break_fast_count,omitempty"`
	// 日期
	Day string `json:"day,omitempty" xml:"day,omitempty"`
	// 优惠后金额
	AfterPromotionPrice int64 `json:"after_promotion_price,omitempty" xml:"after_promotion_price,omitempty"`
	// 基础金额
	BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"`
	// 税费外币金额
	TaxForeignPrice int64 `json:"tax_foreign_price,omitempty" xml:"tax_foreign_price,omitempty"`
	// servicePrice
	ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"`
	// serviceForeignPrice
	ServiceForeignPrice int64 `json:"service_foreign_price,omitempty" xml:"service_foreign_price,omitempty"`
	// 外币底价
	BaseForeignPrice int64 `json:"base_foreign_price,omitempty" xml:"base_foreign_price,omitempty"`
}

DailyPriceTo

type DailyRoomFee

type DailyRoomFee struct {
	// 无
	DailyPrices []DailyPrice `json:"daily_prices,omitempty" xml:"daily_prices>daily_price,omitempty"`
}

DailyRoomFee

type FaceScanParam

type FaceScanParam struct {
	// 姓名
	GuestName string `json:"guest_name,omitempty" xml:"guest_name,omitempty"`
	// 证件号
	CertificateNum string `json:"certificate_num,omitempty" xml:"certificate_num,omitempty"`
	// 证件类型:20:身份证
	CertificateType int64 `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"`
	// 设备id
	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
	// 设备厂商名,下划线隔开,字母小写
	DeviceFirm string `json:"device_firm,omitempty" xml:"device_firm,omitempty"`
}

FaceScanParam

type GuestInfo

type GuestInfo struct {
	// 入住人在这个房间的序号(从1开始)
	PersonPos string `json:"person_pos,omitempty" xml:"person_pos,omitempty"`
	// 房间序号(从1开始)
	RoomPos string `json:"room_pos,omitempty" xml:"room_pos,omitempty"`
	// 入住人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

GuestInfo

type HbsDailyPriceDo

type HbsDailyPriceDo struct {
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 汇率
	ExchangeRate string `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"`
	// 每日价格
	DailyPrices []DailyPriceTo `json:"daily_prices,omitempty" xml:"daily_prices>daily_price_to,omitempty"`
}

HbsDailyPriceDo

type HbsResult

type HbsResult struct {
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 泛型结果
	Module *OutSourceOrderCreateRes `json:"module,omitempty" xml:"module,omitempty"`
	// 结果码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 给开发用的错误信息
	ResultMsg4Dev string `json:"result_msg4_dev,omitempty" xml:"result_msg4_dev,omitempty"`
	// 响应扩展信息
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
}

HbsResult

type HotelOrderDirectInfo

type HotelOrderDirectInfo struct {
	// 单次请求的唯一标识
	RequestID string `json:"request_i_d,omitempty" xml:"request_i_d,omitempty"`
	// 淘宝订单号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 外部订单号
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 酒店编码
	HotelCode string `json:"hotel_code,omitempty" xml:"hotel_code,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// xml内容格式字符串,详细参考 http://open.taobao.com/docs/doc.htm?spm=a219a.7629140.0.0.2gmWOz&treeId=191&articleId=106152&docType=1
	Context string `json:"context,omitempty" xml:"context,omitempty"`
	// json格式的扩展字段
	Extensions string `json:"extensions,omitempty" xml:"extensions,omitempty"`
	// * PMS处理消息的动作(pms端应该考虑增加代办任务列表)      * 0:普通,不需要特殊动作      * 1:弹窗提示(Pms中央模态窗)      * 2:托盘信息提示(给酒店广播通知或者平台公告)      * 3:发送请求给酒店前台人员,前台人员需要看到后确认处理(比如督促前台结账、督促前台上报入住状态)      * 4:请求pms自动处理(自动发起结账,自动上报订单状态等)
	Action int64 `json:"action,omitempty" xml:"action,omitempty"`
	// * 消息状态(tips:Pms定时get走请求,状态可以考虑不变化)      * 0:新建消息(接收到交易系统请求)      * 1:请求已获取(pms已经取走请求数据)      * 2:请求已认领(pms已经有人认领消息,正在处理)      * 3:请求已反馈(Pms反馈请求处理结果)      * 4:处理完成(已通知相关系统(交易))      * 5:请求失效
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 给酒店前台展示的文案提示
	DisplayText string `json:"display_text,omitempty" xml:"display_text,omitempty"`
}

HotelOrderDirectInfo

type HotelOrderSellerDo

type HotelOrderSellerDo struct {
	// 支付类型
	Payment *OrderSellerPaymentDo `json:"payment,omitempty" xml:"payment,omitempty"`
	// 卖家结账单信息
	SettlePayment *OrderSettleDo `json:"settle_payment,omitempty" xml:"settle_payment,omitempty"`
}

HotelOrderSellerDo

type InvoiceInfoParam

type InvoiceInfoParam struct {
	// 请求id 唯一值(同极速开票开票请求回传request_id值)
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 酒店开票点税号
	TaxNum string `json:"tax_num,omitempty" xml:"tax_num,omitempty"`
	// 实际房费(分)
	InvoiceRoomPrice int64 `json:"invoice_room_price,omitempty" xml:"invoice_room_price,omitempty"`
	// 实际杂费(分)
	InvoiceOtherPrice int64 `json:"invoice_other_price,omitempty" xml:"invoice_other_price,omitempty"`
	// 发票类型(1:普通发票;2:增值税专用发票)
	InvoiceType int64 `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 专票信息
	ValueAddedInfo *ValueAddedInfo `json:"value_added_info,omitempty" xml:"value_added_info,omitempty"`
	// 领取方式(      0:前台自取  3: 送至房间)
	PostType int64 `json:"post_type,omitempty" xml:"post_type,omitempty"`
	// 身份证后4位
	ShortIdNumber string `json:"short_id_number,omitempty" xml:"short_id_number,omitempty"`
	// 预计开票房费金额(分)
	PlanInvoiceRoomPrice int64 `json:"plan_invoice_room_price,omitempty" xml:"plan_invoice_room_price,omitempty"`
	// 公司抬头
	CompanyTitle string `json:"company_title,omitempty" xml:"company_title,omitempty"`
	// 房间号
	RoomNum string `json:"room_num,omitempty" xml:"room_num,omitempty"`
	// 需要发票时间(格式yyyy-MM-dd HH:mm:ss)
	WantTime string `json:"want_time,omitempty" xml:"want_time,omitempty"`
	// 预计开票杂费金额(分)
	PlanInvoiceOtherPrice int64 `json:"plan_invoice_other_price,omitempty" xml:"plan_invoice_other_price,omitempty"`
	// 用户渠道(0:未知,1:淘宝)
	UserChannel int64 `json:"user_channel,omitempty" xml:"user_channel,omitempty"`
	// 酒店外部订单号(从查询pms账单接口中获取)
	OutOrderNum string `json:"out_order_num,omitempty" xml:"out_order_num,omitempty"`
	// 用户名
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
}

InvoiceInfoParam

type OrderBillInfo

type OrderBillInfo struct {
	// 未结账房费
	NoCheckoutPrice int64 `json:"no_checkout_price,omitempty" xml:"no_checkout_price,omitempty"`
	// 已结账房费
	CheckoutPrice int64 `json:"checkout_price,omitempty" xml:"checkout_price,omitempty"`
	// 已结账总费用
	CheckoutTotalFee int64 `json:"checkout_total_fee,omitempty" xml:"checkout_total_fee,omitempty"`
	// 未结账总费用
	NoCheckoutTotalFee int64 `json:"no_checkout_total_fee,omitempty" xml:"no_checkout_total_fee,omitempty"`
	// 离店日期
	CheckOutDate string `json:"check_out_date,omitempty" xml:"check_out_date,omitempty"`
	// 入住日期
	CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,omitempty"`
	// 房间号
	RoomNo string `json:"room_no,omitempty" xml:"room_no,omitempty"`
	// 完整的身份证号
	IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"`
	// 客人姓名
	GuestName string `json:"guest_name,omitempty" xml:"guest_name,omitempty"`
	// 外部酒店代码
	HotelCode string `json:"hotel_code,omitempty" xml:"hotel_code,omitempty"`
	// 外部订单号
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 淘宝订单号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 请求id (同入参)
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 未结账杂费
	NoCheckoutOtherFee int64 `json:"no_checkout_other_fee,omitempty" xml:"no_checkout_other_fee,omitempty"`
	// 已结账杂费
	CheckoutOtherFee int64 `json:"checkout_other_fee,omitempty" xml:"checkout_other_fee,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 杂费明细列表
	OtherFeeDetail *OtherFeeDetail `json:"other_fee_detail,omitempty" xml:"other_fee_detail,omitempty"`
	// 每日房费类表
	DailyRoomFee *DailyRoomFee `json:"daily_room_fee,omitempty" xml:"daily_room_fee,omitempty"`
}

OrderBillInfo

type OrderNotifyQuery

type OrderNotifyQuery struct {
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
	// 通知类型,0代表支付通知
	NotifyType int64 `json:"notify_type,omitempty" xml:"notify_type,omitempty"`
	// 平台促销
	PlatformPromotion int64 `json:"platform_promotion,omitempty" xml:"platform_promotion,omitempty"`
	// 会员卡号
	MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,omitempty"`
}

OrderNotifyQuery

type OrderSellerPaymentDo

type OrderSellerPaymentDo struct {
	// 下单时刻营销后金额
	PromotionCreatePrice int64 `json:"promotion_create_price,omitempty" xml:"promotion_create_price,omitempty"`
	// 下单时刻营销后金额
	AfterPromotionCreatePrice int64 `json:"after_promotion_create_price,omitempty" xml:"after_promotion_create_price,omitempty"`
	// 总房费
	TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"`
	// 每日价格
	DailyInfos *HbsDailyPriceDo `json:"daily_infos,omitempty" xml:"daily_infos,omitempty"`
	// 优惠后外币金额
	AfterPromotionCurrentPrice int64 `json:"after_promotion_current_price,omitempty" xml:"after_promotion_current_price,omitempty"`
	// 优惠外币金额
	PromotionCurrentPrice int64 `json:"promotion_current_price,omitempty" xml:"promotion_current_price,omitempty"`
}

OrderSellerPaymentDo

type OrderSettleDo

type OrderSettleDo struct {
	// 平台优惠金额
	PlatPromotionPrice int64 `json:"plat_promotion_price,omitempty" xml:"plat_promotion_price,omitempty"`
	// 其他费用
	OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// 房费
	RoomPrice int64 `json:"room_price,omitempty" xml:"room_price,omitempty"`
	// 结账金额
	OrderSettlePrice int64 `json:"order_settle_price,omitempty" xml:"order_settle_price,omitempty"`
	// 实际结账日历
	SettleDailyPrice *HbsDailyPriceDo `json:"settle_daily_price,omitempty" xml:"settle_daily_price,omitempty"`
	// 卖家优惠金额
	PromotionPrice int64 `json:"promotion_price,omitempty" xml:"promotion_price,omitempty"`
}

OrderSettleDo

type OtherFeeDetail

type OtherFeeDetail struct {
	// 无
	OtherFeeInfos []OtherFeeInfo `json:"other_fee_infos,omitempty" xml:"other_fee_infos>other_fee_info,omitempty"`
}

OtherFeeDetail

type OtherFeeInfo

type OtherFeeInfo struct {
	// 杂费名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 杂费金额
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 结账状态(1:结账,0:未结账)
	Checkout int64 `json:"checkout,omitempty" xml:"checkout,omitempty"`
}

OtherFeeInfo

type OutSourceOrderCreateReq

type OutSourceOrderCreateReq struct {
	// 酒店hid
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 房间数
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 下单来源信息
	CreateAppKey string `json:"create_app_key,omitempty" xml:"create_app_key,omitempty"`
	// 是否即时确认订单,1表示是
	TagJsqr int64 `json:"tag_jsqr,omitempty" xml:"tag_jsqr,omitempty"`
	// gid
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// rid
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 预订的标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// rpid
	RpId int64 `json:"rp_id,omitempty" xml:"rp_id,omitempty"`
	// 外部渠道用户id,钉钉必传
	OutUserId string `json:"out_user_id,omitempty" xml:"out_user_id,omitempty"`
	// rate id
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// srid
	Srid int64 `json:"srid,omitempty" xml:"srid,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 宝贝id
	ItemIid int64 `json:"item_iid,omitempty" xml:"item_iid,omitempty"`
	// 外部渠道 钉钉 欢行 ...
	OutSource string `json:"out_source,omitempty" xml:"out_source,omitempty"`
	// 是否直连订单
	IsDirectOrder bool `json:"is_direct_order,omitempty" xml:"is_direct_order,omitempty"`
	// 最晚到店时间
	LateArriveTime string `json:"late_arrive_time,omitempty" xml:"late_arrive_time,omitempty"`
	// 离店日期
	Checkout string `json:"checkout,omitempty" xml:"checkout,omitempty"`
	// 联系人姓名
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 房型名称
	RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"`
	// 订单创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// ttid信息
	Ttid string `json:"ttid,omitempty" xml:"ttid,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 入住人信息
	GuestInfoList []GuestInfo `json:"guest_info_list,omitempty" xml:"guest_info_list>guest_info,omitempty"`
	// 入住日期
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 外部订单号,幂等性保障
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 总价  单位 分
	TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"`
	// 日历价格
	DailyPriceInfoList []DailyPriceInfo `json:"daily_price_info_list,omitempty" xml:"daily_price_info_list>daily_price_info,omitempty"`
	// 一些扩展属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 联系人电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 取消政策
	CancelPolicy *CancelPolicy `json:"cancel_policy,omitempty" xml:"cancel_policy,omitempty"`
	// 库存类型,0 rate普通库存 1 room普通库存 2 rate协议保留房 3 rate普通保留房
	InventoryTypeFlag int64 `json:"inventory_type_flag,omitempty" xml:"inventory_type_flag,omitempty"`
	// 取消政策描述
	CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"`
	// 平台促销
	PlatformPromotion int64 `json:"platform_promotion,omitempty" xml:"platform_promotion,omitempty"`
	// 卖家促销
	SellerPromotion int64 `json:"seller_promotion,omitempty" xml:"seller_promotion,omitempty"`
}

OutSourceOrderCreateReq

type OutSourceOrderCreateRes

type OutSourceOrderCreateRes struct {
	// 飞猪酒店订单号
	BizOrderId int64 `json:"biz_order_id,omitempty" xml:"biz_order_id,omitempty"`
}

OutSourceOrderCreateRes

type RoomSettleInfo

type RoomSettleInfo struct {
	// 房间号
	RoomNo string `json:"room_no,omitempty" xml:"room_no,omitempty"`
	// 房间费(大于零)
	RoomFee int64 `json:"room_fee,omitempty" xml:"room_fee,omitempty"`
	// 房间杂费(不能为负数)
	RoomOtherFee int64 `json:"room_other_fee,omitempty" xml:"room_other_fee,omitempty"`
	// 房间杂费明细 (当房间杂费存在时候,此值不能空。格式与原有杂费格式otherFeeDetail的格式相同)eg;{"洗衣费":5000,"水吧":10000,"优惠":1000}
	RoomOtherFeeDetail string `json:"room_other_fee_detail,omitempty" xml:"room_other_fee_detail,omitempty"`
	// 房间check out时间
	RoomCheckOut string `json:"room_check_out,omitempty" xml:"room_check_out,omitempty"`
	// 房间check in 时间
	RoomCheckIn string `json:"room_check_in,omitempty" xml:"room_check_in,omitempty"`
	// 日历价格,json格式(包含日期,价格,税费,低价加价前费用等),(每个房间的日历价格,多间房结账必填)
	DailyPriceInfo string `json:"daily_price_info,omitempty" xml:"daily_price_info,omitempty"`
	// 房间状态;1:未入住(担保且需扣款);2:取消成功(卖家取消;担保noshow且双方协商一致不扣款);3:已入住
	RoomStatus string `json:"room_status,omitempty" xml:"room_status,omitempty"`
}

RoomSettleInfo

type StatementOrder

type StatementOrder struct {
	// 淘宝订单ID
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 外部订单ID
	OutId string `json:"out_id,omitempty" xml:"out_id,omitempty"`
	// 淘宝佣金
	TaobaoCommission string `json:"taobao_commission,omitempty" xml:"taobao_commission,omitempty"`
	// 交易状态(暂无值)
	TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"`
	// 支付宝交易号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 总房费(分)
	Payment string `json:"payment,omitempty" xml:"payment,omitempty"`
	// 扣除佣金后, 1.	集团入账=买家实际支付(房费+杂费-卖家优惠); 2.	门店实际入账=买
	CommissionTotal string `json:"commission_total,omitempty" xml:"commission_total,omitempty"`
	// 集团与门店佣金
	HotelCommission string `json:"hotel_commission,omitempty" xml:"hotel_commission,omitempty"`
	// 卖家优惠(分)
	SellerPromotion string `json:"seller_promotion,omitempty" xml:"seller_promotion,omitempty"`
	// 卖家优惠明细(暂无值)
	PromotionDetail string `json:"promotion_detail,omitempty" xml:"promotion_detail,omitempty"`
	// 杂费总额
	OtherFee string `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// 结算日期
	SettleDate string `json:"settle_date,omitempty" xml:"settle_date,omitempty"`
	// 入住天数
	RoomSumNights int64 `json:"room_sum_nights,omitempty" xml:"room_sum_nights,omitempty"`
	// 分账状态 (0, "未分账"),(1, "分账成功"),(3, "分账失败"), (2, "无需分账"),(4,"预处理成功");
	SettleStatus string `json:"settle_status,omitempty" xml:"settle_status,omitempty"`
	// 入住时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 离店时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 门店收款账户(1:支付宝;2:银行卡)
	AccountType string `json:"account_type,omitempty" xml:"account_type,omitempty"`
	// 支付类型(1:预付;5:面付;7:在线预约;601:线上信用住;602:扫码信用住;603:身份证线下信用住;604:官网信用住)
	PayType string `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 实际的房型名称
	RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"`
	// 交易手续费
	TransactionFee string `json:"transaction_fee,omitempty" xml:"transaction_fee,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 税和费,单位分
	TaxAndFee string `json:"tax_and_fee,omitempty" xml:"tax_and_fee,omitempty"`
}

StatementOrder

type TaobaoXhotelCommoninvoiceListVtwoAPIResponse

type TaobaoXhotelCommoninvoiceListVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCommoninvoiceListVtwoResponse
}

用户常用发票信息查询接口 API返回值 taobao.xhotel.commoninvoice.list.vtwo

获取用户常用发票信息接口

type TaobaoXhotelCommoninvoiceListVtwoRequest

type TaobaoXhotelCommoninvoiceListVtwoRequest struct {
	model.Params
}

用户常用发票信息查询接口 API请求 taobao.xhotel.commoninvoice.list.vtwo

获取用户常用发票信息接口

func NewTaobaoXhotelCommoninvoiceListVtwoRequest

func NewTaobaoXhotelCommoninvoiceListVtwoRequest() *TaobaoXhotelCommoninvoiceListVtwoRequest

初始化TaobaoXhotelCommoninvoiceListVtwoRequest对象

func (TaobaoXhotelCommoninvoiceListVtwoRequest) GetApiMethodName

func (r TaobaoXhotelCommoninvoiceListVtwoRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelCommoninvoiceListVtwoRequest) GetApiParams

IRequest interface 方法, 获取API参数

type TaobaoXhotelCommoninvoiceListVtwoResponse

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

用户常用发票信息查询接口 成功返回结果

type TaobaoXhotelCommoninvoiceListVtwoResultSet

type TaobaoXhotelCommoninvoiceListVtwoResultSet struct {
	// 是否成功标记
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 常用发票信息
	Results []CommonInvoiceInfo `json:"results,omitempty" xml:"results>common_invoice_info,omitempty"`
}

TaobaoXhotelCommoninvoiceListVtwoResultSet

type TaobaoXhotelCommoninvoiceRemoveAPIResponse

type TaobaoXhotelCommoninvoiceRemoveAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCommoninvoiceRemoveResponse
}

常用发票信息删除接口 API返回值 taobao.xhotel.commoninvoice.remove

常用发票信息删除接口

type TaobaoXhotelCommoninvoiceRemoveRequest

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

常用发票信息删除接口 API请求 taobao.xhotel.commoninvoice.remove

常用发票信息删除接口

func NewTaobaoXhotelCommoninvoiceRemoveRequest

func NewTaobaoXhotelCommoninvoiceRemoveRequest() *TaobaoXhotelCommoninvoiceRemoveRequest

初始化TaobaoXhotelCommoninvoiceRemoveRequest对象

func (TaobaoXhotelCommoninvoiceRemoveRequest) GetApiMethodName

func (r TaobaoXhotelCommoninvoiceRemoveRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelCommoninvoiceRemoveRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelCommoninvoiceRemoveRequest) GetInvoiceId

InvoiceId Getter

func (TaobaoXhotelCommoninvoiceRemoveRequest) GetUserNick

UserNick Getter

func (*TaobaoXhotelCommoninvoiceRemoveRequest) SetInvoiceId

func (r *TaobaoXhotelCommoninvoiceRemoveRequest) SetInvoiceId(invoiceId int64) error

InvoiceId Setter 发票id

func (*TaobaoXhotelCommoninvoiceRemoveRequest) SetUserNick

func (r *TaobaoXhotelCommoninvoiceRemoveRequest) SetUserNick(userNick string) error

UserNick Setter 用户名

type TaobaoXhotelCommoninvoiceRemoveResponse

type TaobaoXhotelCommoninvoiceRemoveResponse struct {
	XMLName xml.Name `xml:"xhotel_commoninvoice_remove_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// errorCode
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// errorMsg
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
}

常用发票信息删除接口 成功返回结果

type TaobaoXhotelCommoninvoiceUpdateAPIResponse

type TaobaoXhotelCommoninvoiceUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCommoninvoiceUpdateResponse
}

常用发票信息更新接口 API返回值 taobao.xhotel.commoninvoice.update

常用发票信息更新接口(根据用户id,发票抬头和发票属性或发票id进行更新,没有则添加)

type TaobaoXhotelCommoninvoiceUpdateRequest

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

常用发票信息更新接口 API请求 taobao.xhotel.commoninvoice.update

常用发票信息更新接口(根据用户id,发票抬头和发票属性或发票id进行更新,没有则添加)

func NewTaobaoXhotelCommoninvoiceUpdateRequest

func NewTaobaoXhotelCommoninvoiceUpdateRequest() *TaobaoXhotelCommoninvoiceUpdateRequest

初始化TaobaoXhotelCommoninvoiceUpdateRequest对象

func (TaobaoXhotelCommoninvoiceUpdateRequest) GetApiMethodName

func (r TaobaoXhotelCommoninvoiceUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelCommoninvoiceUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelCommoninvoiceUpdateRequest) GetCommonInvoiceInfoParam

func (r TaobaoXhotelCommoninvoiceUpdateRequest) GetCommonInvoiceInfoParam() *CommonInvoiceInfo

CommonInvoiceInfoParam Getter

func (*TaobaoXhotelCommoninvoiceUpdateRequest) SetCommonInvoiceInfoParam

func (r *TaobaoXhotelCommoninvoiceUpdateRequest) SetCommonInvoiceInfoParam(commonInvoiceInfoParam *CommonInvoiceInfo) error

CommonInvoiceInfoParam Setter 无

type TaobaoXhotelCommoninvoiceUpdateResponse

type TaobaoXhotelCommoninvoiceUpdateResponse struct {
	XMLName xml.Name `xml:"xhotel_commoninvoice_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// errorCode
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// errorMsg
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
}

常用发票信息更新接口 成功返回结果

type TaobaoXhotelFastinvoiceCompleteAPIResponse

type TaobaoXhotelFastinvoiceCompleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelFastinvoiceCompleteResponse
}

极速开票开票请求完成 API返回值 taobao.xhotel.fastinvoice.complete

极速开票开票请求回传,用于更新航信开票请求数据

type TaobaoXhotelFastinvoiceCompleteRequest

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

极速开票开票请求完成 API请求 taobao.xhotel.fastinvoice.complete

极速开票开票请求回传,用于更新航信开票请求数据

func NewTaobaoXhotelFastinvoiceCompleteRequest

func NewTaobaoXhotelFastinvoiceCompleteRequest() *TaobaoXhotelFastinvoiceCompleteRequest

初始化TaobaoXhotelFastinvoiceCompleteRequest对象

func (TaobaoXhotelFastinvoiceCompleteRequest) GetApiMethodName

func (r TaobaoXhotelFastinvoiceCompleteRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelFastinvoiceCompleteRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelFastinvoiceCompleteRequest) GetInvoiceInfoParam

InvoiceInfoParam Getter

func (*TaobaoXhotelFastinvoiceCompleteRequest) SetInvoiceInfoParam

func (r *TaobaoXhotelFastinvoiceCompleteRequest) SetInvoiceInfoParam(invoiceInfoParam *InvoiceInfoParam) error

InvoiceInfoParam Setter 无

type TaobaoXhotelFastinvoiceCompleteResponse

type TaobaoXhotelFastinvoiceCompleteResponse struct {
	XMLName xml.Name `xml:"xhotel_fastinvoice_complete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// errorCode
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// errorMsg
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
}

极速开票开票请求完成 成功返回结果

type TaobaoXhotelFastinvoiceRequestAPIResponse

type TaobaoXhotelFastinvoiceRequestAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelFastinvoiceRequestResponse
}

极速开票开票请求回传 API返回值 taobao.xhotel.fastinvoice.request

极速开票开票请求回传,用于记录航信开票请求数据

type TaobaoXhotelFastinvoiceRequestRequest

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

极速开票开票请求回传 API请求 taobao.xhotel.fastinvoice.request

极速开票开票请求回传,用于记录航信开票请求数据

func NewTaobaoXhotelFastinvoiceRequestRequest

func NewTaobaoXhotelFastinvoiceRequestRequest() *TaobaoXhotelFastinvoiceRequestRequest

初始化TaobaoXhotelFastinvoiceRequestRequest对象

func (TaobaoXhotelFastinvoiceRequestRequest) GetApiMethodName

func (r TaobaoXhotelFastinvoiceRequestRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelFastinvoiceRequestRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelFastinvoiceRequestRequest) GetInvoiceInfoParam

InvoiceInfoParam Getter

func (*TaobaoXhotelFastinvoiceRequestRequest) SetInvoiceInfoParam

func (r *TaobaoXhotelFastinvoiceRequestRequest) SetInvoiceInfoParam(invoiceInfoParam *InvoiceInfoParam) error

InvoiceInfoParam Setter 无

type TaobaoXhotelFastinvoiceRequestResponse

type TaobaoXhotelFastinvoiceRequestResponse struct {
	XMLName xml.Name `xml:"xhotel_fastinvoice_request_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// success
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// errorCode
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// errorMsg
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
}

极速开票开票请求回传 成功返回结果

type TaobaoXhotelFutureSoftmodifyAPIResponse

type TaobaoXhotelFutureSoftmodifyAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelFutureSoftmodifyResponse
}

未来酒店信息下发 API返回值 taobao.xhotel.future.softmodify

未来酒店信息下发,包含PMS订单查询和自助入住

type TaobaoXhotelFutureSoftmodifyRequest

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

未来酒店信息下发 API请求 taobao.xhotel.future.softmodify

未来酒店信息下发,包含PMS订单查询和自助入住

func NewTaobaoXhotelFutureSoftmodifyRequest

func NewTaobaoXhotelFutureSoftmodifyRequest() *TaobaoXhotelFutureSoftmodifyRequest

初始化TaobaoXhotelFutureSoftmodifyRequest对象

func (TaobaoXhotelFutureSoftmodifyRequest) GetApiMethodName

func (r TaobaoXhotelFutureSoftmodifyRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelFutureSoftmodifyRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelFutureSoftmodifyRequest) GetContext

Context Getter

func (TaobaoXhotelFutureSoftmodifyRequest) GetExpireTime

func (r TaobaoXhotelFutureSoftmodifyRequest) GetExpireTime() int64

ExpireTime Getter

func (TaobaoXhotelFutureSoftmodifyRequest) GetHid

Hid Getter

func (TaobaoXhotelFutureSoftmodifyRequest) GetHotelCode

HotelCode Getter

func (TaobaoXhotelFutureSoftmodifyRequest) GetOperateType

func (r TaobaoXhotelFutureSoftmodifyRequest) GetOperateType() string

OperateType Getter

func (TaobaoXhotelFutureSoftmodifyRequest) GetOutOrderId

func (r TaobaoXhotelFutureSoftmodifyRequest) GetOutOrderId() string

OutOrderId Getter

func (TaobaoXhotelFutureSoftmodifyRequest) GetRequestId

RequestId Getter

func (TaobaoXhotelFutureSoftmodifyRequest) GetTid

Tid Getter

func (*TaobaoXhotelFutureSoftmodifyRequest) SetContext

func (r *TaobaoXhotelFutureSoftmodifyRequest) SetContext(context string) error

Context Setter 请求报文

func (*TaobaoXhotelFutureSoftmodifyRequest) SetExpireTime

func (r *TaobaoXhotelFutureSoftmodifyRequest) SetExpireTime(expireTime int64) error

ExpireTime Setter 超时时长,默认3s

func (*TaobaoXhotelFutureSoftmodifyRequest) SetHid

Hid Setter 酒店Id

func (*TaobaoXhotelFutureSoftmodifyRequest) SetHotelCode

func (r *TaobaoXhotelFutureSoftmodifyRequest) SetHotelCode(hotelCode string) error

HotelCode Setter 酒店code

func (*TaobaoXhotelFutureSoftmodifyRequest) SetOperateType

func (r *TaobaoXhotelFutureSoftmodifyRequest) SetOperateType(operateType string) error

OperateType Setter 操作类型

func (*TaobaoXhotelFutureSoftmodifyRequest) SetOutOrderId

func (r *TaobaoXhotelFutureSoftmodifyRequest) SetOutOrderId(outOrderId string) error

OutOrderId Setter 外部订单号

func (*TaobaoXhotelFutureSoftmodifyRequest) SetRequestId

func (r *TaobaoXhotelFutureSoftmodifyRequest) SetRequestId(requestId string) error

RequestId Setter 请求唯一标识值

func (*TaobaoXhotelFutureSoftmodifyRequest) SetTid

Tid Setter 淘宝订单号

type TaobaoXhotelFutureSoftmodifyResponse

type TaobaoXhotelFutureSoftmodifyResponse struct {
	XMLName xml.Name `xml:"xhotel_future_softmodify_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 请求报文示例:https://open.alitrip.com/docs/doc.htm?spm=a21tt.7629140.0.0.Q8jazn&docType=1&articleId=104398中的自助入住请求示例(升级版)和酒店PMS信息查询 响应报文示例:https://open.alitrip.com/docs/doc.htm?docType=1&articleId=106153中的自助checkIn订单信息上传和通用PMS结果查询结果
	Context string `json:"context,omitempty" xml:"context,omitempty"`
}

未来酒店信息下发 成功返回结果

type TaobaoXhotelIntlRateUpdateAPIResponse

type TaobaoXhotelIntlRateUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelIntlRateUpdateResponse
}

不落库商家推送更新酒店rate API返回值 taobao.xhotel.intl.rate.update

商家主动推送不落库商品的酒店信息

type TaobaoXhotelIntlRateUpdateRequest

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

不落库商家推送更新酒店rate API请求 taobao.xhotel.intl.rate.update

商家主动推送不落库商品的酒店信息

func NewTaobaoXhotelIntlRateUpdateRequest

func NewTaobaoXhotelIntlRateUpdateRequest() *TaobaoXhotelIntlRateUpdateRequest

初始化TaobaoXhotelIntlRateUpdateRequest对象

func (TaobaoXhotelIntlRateUpdateRequest) GetApiMethodName

func (r TaobaoXhotelIntlRateUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelIntlRateUpdateRequest) GetApiParams

func (r TaobaoXhotelIntlRateUpdateRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoXhotelIntlRateUpdateRequest) GetUpdateRateParam

func (r TaobaoXhotelIntlRateUpdateRequest) GetUpdateRateParam() *UpdateRateParam

UpdateRateParam Getter

func (*TaobaoXhotelIntlRateUpdateRequest) SetUpdateRateParam

func (r *TaobaoXhotelIntlRateUpdateRequest) SetUpdateRateParam(updateRateParam *UpdateRateParam) error

UpdateRateParam Setter rate更新参数

type TaobaoXhotelIntlRateUpdateResponse

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

不落库商家推送更新酒店rate 成功返回结果

type TaobaoXhotelIntlRateUpdateResultSet

type TaobaoXhotelIntlRateUpdateResultSet struct {
	// total_results
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// sub_error_msg
	SubErrorMsg string `json:"sub_error_msg,omitempty" xml:"sub_error_msg,omitempty"`
	// sub_error_code
	SubErrorCode string `json:"sub_error_code,omitempty" xml:"sub_error_code,omitempty"`
	// detail_msg_info
	DetailMsgInfo string `json:"detail_msg_info,omitempty" xml:"detail_msg_info,omitempty"`
	// 总记录条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

TaobaoXhotelIntlRateUpdateResultSet

type TaobaoXhotelMemberrightUpdateAPIResponse

type TaobaoXhotelMemberrightUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMemberrightUpdateResponse
}

酒店会员权益更新操作 API返回值 taobao.xhotel.memberright.update

当用户在搜索酒店时,我们需要根据用户是否可享有某项权益来进行相应价格的展示或隐藏,因此我们在酒店搜索时就需要判断用户是否享有某项权益。而由于酒店搜索频率过高,为提高搜索性能并降低第三方接口压力,当用户在搜索酒店时,淘宝会通过读取淘宝本地缓存的用户相关权益信息来进行判断。为提高缓存的准确性,当第三方有用户相关权益有变化时,通过调用淘宝此接口来更新淘宝本地缓存。此接口需要采用Top方式调用。

type TaobaoXhotelMemberrightUpdateRequest

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

酒店会员权益更新操作 API请求 taobao.xhotel.memberright.update

当用户在搜索酒店时,我们需要根据用户是否可享有某项权益来进行相应价格的展示或隐藏,因此我们在酒店搜索时就需要判断用户是否享有某项权益。而由于酒店搜索频率过高,为提高搜索性能并降低第三方接口压力,当用户在搜索酒店时,淘宝会通过读取淘宝本地缓存的用户相关权益信息来进行判断。为提高缓存的准确性,当第三方有用户相关权益有变化时,通过调用淘宝此接口来更新淘宝本地缓存。此接口需要采用Top方式调用。

func NewTaobaoXhotelMemberrightUpdateRequest

func NewTaobaoXhotelMemberrightUpdateRequest() *TaobaoXhotelMemberrightUpdateRequest

初始化TaobaoXhotelMemberrightUpdateRequest对象

func (TaobaoXhotelMemberrightUpdateRequest) GetApiMethodName

func (r TaobaoXhotelMemberrightUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelMemberrightUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelMemberrightUpdateRequest) GetHasRight

HasRight Getter

func (TaobaoXhotelMemberrightUpdateRequest) GetRightType

RightType Getter

func (TaobaoXhotelMemberrightUpdateRequest) GetTaobaoUserId

func (r TaobaoXhotelMemberrightUpdateRequest) GetTaobaoUserId() int64

TaobaoUserId Getter

func (*TaobaoXhotelMemberrightUpdateRequest) SetHasRight

func (r *TaobaoXhotelMemberrightUpdateRequest) SetHasRight(hasRight bool) error

HasRight Setter 表示用户是否有对应的权益,取值范围true、false

func (*TaobaoXhotelMemberrightUpdateRequest) SetRightType

func (r *TaobaoXhotelMemberrightUpdateRequest) SetRightType(rightType int64) error

RightType Setter 会员权益类型,1表示首住权益

func (*TaobaoXhotelMemberrightUpdateRequest) SetTaobaoUserId

func (r *TaobaoXhotelMemberrightUpdateRequest) SetTaobaoUserId(taobaoUserId int64) error

TaobaoUserId Setter 淘宝用户id

type TaobaoXhotelMemberrightUpdateResponse

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

酒店会员权益更新操作 成功返回结果

type TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse

type TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderAlipayfaceCancelsettleResponse
}

信用住订单取消结算接口 API返回值 taobao.xhotel.order.alipayface.cancelsettle

信用住订单由于客人为出现等原因,最终取消结算,一定要在结算后2个小时之内调用,否则不会成功。

type TaobaoXhotelOrderAlipayfaceCancelsettleRequest

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

信用住订单取消结算接口 API请求 taobao.xhotel.order.alipayface.cancelsettle

信用住订单由于客人为出现等原因,最终取消结算,一定要在结算后2个小时之内调用,否则不会成功。

func NewTaobaoXhotelOrderAlipayfaceCancelsettleRequest

func NewTaobaoXhotelOrderAlipayfaceCancelsettleRequest() *TaobaoXhotelOrderAlipayfaceCancelsettleRequest

初始化TaobaoXhotelOrderAlipayfaceCancelsettleRequest对象

func (TaobaoXhotelOrderAlipayfaceCancelsettleRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderAlipayfaceCancelsettleRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderAlipayfaceCancelsettleRequest) GetOutId

OutId Getter

func (TaobaoXhotelOrderAlipayfaceCancelsettleRequest) GetReason

Reason Getter

func (TaobaoXhotelOrderAlipayfaceCancelsettleRequest) GetTid

Tid Getter

func (*TaobaoXhotelOrderAlipayfaceCancelsettleRequest) SetOutId

OutId Setter 外部订单号,和tid二选一必填

func (*TaobaoXhotelOrderAlipayfaceCancelsettleRequest) SetReason

Reason Setter 取消结账的原因

func (*TaobaoXhotelOrderAlipayfaceCancelsettleRequest) SetTid

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

type TaobaoXhotelOrderAlipayfaceCancelsettleResponse

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

信用住订单取消结算接口 成功返回结果

type TaobaoXhotelOrderAlipayfaceSettleAPIResponse

type TaobaoXhotelOrderAlipayfaceSettleAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderAlipayfaceSettleResponse
}

信用住订单结账接口 API返回值 taobao.xhotel.order.alipayface.settle

用于离店付订单在客人离店后,发起结账以及扣款等后续动作

type TaobaoXhotelOrderAlipayfaceSettleRequest

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

信用住订单结账接口 API请求 taobao.xhotel.order.alipayface.settle

用于离店付订单在客人离店后,发起结账以及扣款等后续动作

func NewTaobaoXhotelOrderAlipayfaceSettleRequest

func NewTaobaoXhotelOrderAlipayfaceSettleRequest() *TaobaoXhotelOrderAlipayfaceSettleRequest

初始化TaobaoXhotelOrderAlipayfaceSettleRequest对象

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetAmount

Amount Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetApiMethodName

func (r TaobaoXhotelOrderAlipayfaceSettleRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetCheckOut

CheckOut Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetContainGuarantee

func (r TaobaoXhotelOrderAlipayfaceSettleRequest) GetContainGuarantee() int64

ContainGuarantee Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetCurrencyCode

CurrencyCode Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetCurrencyRate

CurrencyRate Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetDailyPriceInfo

func (r TaobaoXhotelOrderAlipayfaceSettleRequest) GetDailyPriceInfo() string

DailyPriceInfo Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetHotelCode

HotelCode Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetMemo

Memo Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetOtherFee

OtherFee Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetOtherFeeDetail

func (r TaobaoXhotelOrderAlipayfaceSettleRequest) GetOtherFeeDetail() string

OtherFeeDetail Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetOutId

OutId Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetPriceChange

PriceChange Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetRoomNo

RoomNo Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetRoomSettleInfoList

func (r TaobaoXhotelOrderAlipayfaceSettleRequest) GetRoomSettleInfoList() []RoomSettleInfo

RoomSettleInfoList Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetTaxAndFee

TaxAndFee Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetTid

Tid Getter

func (TaobaoXhotelOrderAlipayfaceSettleRequest) GetTotalRoomFee

func (r TaobaoXhotelOrderAlipayfaceSettleRequest) GetTotalRoomFee() int64

TotalRoomFee Getter

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetAmount

Amount Setter 应收金额,大于0时,直接按照此金额扣款,忽略房费和杂费金额。该字段仅适用于自助入住订单场景

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetCheckOut

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetCheckOut(checkOut string) error

CheckOut Setter 实际离店日期,用于校验总房费收取

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetContainGuarantee

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetContainGuarantee(containGuarantee int64) error

ContainGuarantee Setter 此金额是否包含担保金 0:默认值无意义;1:包含;2:不包含

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetCurrencyCode

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetCurrencyCode(currencyCode string) error

CurrencyCode Setter 币种标识,默认人民币

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetCurrencyRate

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetCurrencyRate(currencyRate string) error

CurrencyRate Setter 汇率

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetDailyPriceInfo

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetDailyPriceInfo(dailyPriceInfo string) error

DailyPriceInfo Setter 每日房价,json格式(包含日期,价格,税费,低价加价前费用等),如果房价和在阿里旅行下单时发生了变化,必须设置该字段.用于更新阿里旅行端的房价信息,涉及到对用户的优惠信息处理等环节(多间房的时候dailyPriceInfo留空)

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetHotelCode

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetHotelCode(hotelCode string) error

HotelCode Setter 酒店外部编码

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetMemo

Memo Setter 备注

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetOtherFee

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetOtherFee(otherFee int64) error

OtherFee Setter 杂费总额(不能为负数)

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetOtherFeeDetail

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetOtherFeeDetail(otherFeeDetail string) error

OtherFeeDetail Setter 杂费明细,如果otherFee>0则该字段必须设置,并和杂费金额相吻合

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetOutId

OutId Setter 商家订单号

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetPriceChange

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetPriceChange(priceChange int64) error

PriceChange Setter 结账变价标识,0未变价,1变价

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetRoomNo

RoomNo Setter 入住房间号

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetRoomSettleInfoList

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetRoomSettleInfoList(roomSettleInfoList []RoomSettleInfo) error

RoomSettleInfoList Setter 单间房明细

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetTaxAndFee

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetTaxAndFee(taxAndFee int64) error

TaxAndFee Setter 税和服务费

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetTid

Tid Setter 淘宝订单id,必须填写

func (*TaobaoXhotelOrderAlipayfaceSettleRequest) SetTotalRoomFee

func (r *TaobaoXhotelOrderAlipayfaceSettleRequest) SetTotalRoomFee(totalRoomFee int64) error

TotalRoomFee Setter 房费总额(必须大于0)。结账时请按订单原价发起结账卖家优惠由飞猪平台发起扣减

type TaobaoXhotelOrderAlipayfaceSettleResponse

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

信用住订单结账接口 成功返回结果

type TaobaoXhotelOrderAlipayfaceUpdateAPIResponse

type TaobaoXhotelOrderAlipayfaceUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderAlipayfaceUpdateResponse
}

酒店信用住订单状态更新 API返回值 taobao.xhotel.order.alipayface.update

完成对信用住或者面付订单的状态的更新。包含订单状态的确认,入离店状态的更新等等。(不适用于预付订单)

type TaobaoXhotelOrderAlipayfaceUpdateRequest

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

酒店信用住订单状态更新 API请求 taobao.xhotel.order.alipayface.update

完成对信用住或者面付订单的状态的更新。包含订单状态的确认,入离店状态的更新等等。(不适用于预付订单)

func NewTaobaoXhotelOrderAlipayfaceUpdateRequest

func NewTaobaoXhotelOrderAlipayfaceUpdateRequest() *TaobaoXhotelOrderAlipayfaceUpdateRequest

初始化TaobaoXhotelOrderAlipayfaceUpdateRequest对象

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetApiMethodName

func (r TaobaoXhotelOrderAlipayfaceUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetCancelType

CancelType Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetCheckinDate

CheckinDate Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetCheckoutDate

CheckoutDate Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetConfirmCode

ConfirmCode Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetOperator

Operator Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetOptType

OptType Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetOutId

OutId Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetOutRoomNumber

func (r TaobaoXhotelOrderAlipayfaceUpdateRequest) GetOutRoomNumber() string

OutRoomNumber Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetReasonText

ReasonText Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetReasonType

ReasonType Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetRooms

Rooms Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetSelfCheckin

SelfCheckin Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetSyncToHotel

SyncToHotel Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetTid

Tid Getter

func (TaobaoXhotelOrderAlipayfaceUpdateRequest) GetTids

Tids Getter

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetCancelType

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetCancelType(cancelType int64) error

CancelType Setter opt_type为11启用,多间房订单取消原因类型,逗号间隔

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetCheckinDate

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetCheckinDate(checkinDate string) error

CheckinDate Setter 客人实际入住日期,opt_type=3/4时必填

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetCheckoutDate

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetCheckoutDate(checkoutDate string) error

CheckoutDate Setter 客人实际离店日期,opt_type=4时必填

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetConfirmCode

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetConfirmCode(confirmCode string) error

ConfirmCode Setter opt_type为12, 订单确认号

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetOperator

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetOperator(operator string) error

Operator Setter opt_type为10,11,12启用,真实操作人

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetOptType

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetOptType(optType int64) error

OptType Setter 操作的类型:12.补录确认号,11.多间房确认无房,10.多间房确认有房,8.取消订单(cancel)酒店端发起取消,必须在和买家协商通过的情况下操作,否则有法务风险; 5.买家未入住(noshow),如果该单有担保,会收取买家的担保金额; 3.核实入住(checkIn); 4.核实离店(checkOut); 1.确认无房(直连卖家禁止该操作),2.确认有房(直连卖家禁止该操作)

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetOutId

OutId Setter 外部订单号

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetOutRoomNumber

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetOutRoomNumber(outRoomNumber string) error

OutRoomNumber Setter 入住房间号

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetReasonText

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetReasonText(reasonText string) error

ReasonText Setter 无房原因描述:opt_type=1时必填

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetReasonType

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetReasonType(reasonType int64) error

ReasonType Setter 无房原因分类:1.无房, 2.价格变动, 3.买家原因, 4.其它原因,opt_type=1时必填

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetRooms

Rooms Setter 客人实际预定房间数

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetSelfCheckin

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetSelfCheckin(selfCheckin bool) error

SelfCheckin Setter 是否自助入住

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetSyncToHotel

func (r *TaobaoXhotelOrderAlipayfaceUpdateRequest) SetSyncToHotel(syncToHotel string) error

SyncToHotel Setter 是否把代理直签的订单同步到酒店,Y为同步,N不同步

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetTid

Tid Setter 淘宝订单号,必填

func (*TaobaoXhotelOrderAlipayfaceUpdateRequest) SetTids

Tids Setter opt_type为10,11启用,多间房订单号列表,逗号间隔

type TaobaoXhotelOrderAlipayfaceUpdateResponse

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

酒店信用住订单状态更新 成功返回结果

type TaobaoXhotelOrderDetailSearchAPIResponse

type TaobaoXhotelOrderDetailSearchAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderDetailSearchResponse
}

订单详情查询 API返回值 taobao.xhotel.order.detail.search

提供订单详情查询

type TaobaoXhotelOrderDetailSearchRequest

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

订单详情查询 API请求 taobao.xhotel.order.detail.search

提供订单详情查询

func NewTaobaoXhotelOrderDetailSearchRequest

func NewTaobaoXhotelOrderDetailSearchRequest() *TaobaoXhotelOrderDetailSearchRequest

初始化TaobaoXhotelOrderDetailSearchRequest对象

func (TaobaoXhotelOrderDetailSearchRequest) GetApiMethodName

func (r TaobaoXhotelOrderDetailSearchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderDetailSearchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderDetailSearchRequest) GetOutOid

OutOid Getter

func (TaobaoXhotelOrderDetailSearchRequest) GetTid

Tid Getter

func (*TaobaoXhotelOrderDetailSearchRequest) SetOutOid

func (r *TaobaoXhotelOrderDetailSearchRequest) SetOutOid(outOid string) error

OutOid Setter 外部订单号

func (*TaobaoXhotelOrderDetailSearchRequest) SetTid

Tid Setter 外部订单号

type TaobaoXhotelOrderDetailSearchResponse

type TaobaoXhotelOrderDetailSearchResponse struct {
	XMLName xml.Name `xml:"xhotel_order_detail_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单详情对象
	TopOrderDetail *TopOrderDetail `json:"top_order_detail,omitempty" xml:"top_order_detail,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误编号
	Error string `json:"error,omitempty" xml:"error,omitempty"`
}

订单详情查询 成功返回结果

type TaobaoXhotelOrderFutureFacescanPutAPIResponse

type TaobaoXhotelOrderFutureFacescanPutAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderFutureFacescanPutResponse
}

未来酒店扫脸信息上传 API返回值 taobao.xhotel.order.future.facescan.put

未来酒店扫脸信息上传服务,用于悉尔等厂商的扫脸设备对接

type TaobaoXhotelOrderFutureFacescanPutRequest

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

未来酒店扫脸信息上传 API请求 taobao.xhotel.order.future.facescan.put

未来酒店扫脸信息上传服务,用于悉尔等厂商的扫脸设备对接

func NewTaobaoXhotelOrderFutureFacescanPutRequest

func NewTaobaoXhotelOrderFutureFacescanPutRequest() *TaobaoXhotelOrderFutureFacescanPutRequest

初始化TaobaoXhotelOrderFutureFacescanPutRequest对象

func (TaobaoXhotelOrderFutureFacescanPutRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderFutureFacescanPutRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderFutureFacescanPutRequest) GetFaceScanParam

FaceScanParam Getter

func (*TaobaoXhotelOrderFutureFacescanPutRequest) SetFaceScanParam

func (r *TaobaoXhotelOrderFutureFacescanPutRequest) SetFaceScanParam(faceScanParam *FaceScanParam) error

FaceScanParam Setter 扫脸参数

type TaobaoXhotelOrderFutureFacescanPutResponse

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

未来酒店扫脸信息上传 成功返回结果

type TaobaoXhotelOrderFutureFacescanPutResultSet

type TaobaoXhotelOrderFutureFacescanPutResultSet struct {
	// 是否更新失败。返回true表示更新成功。否则请读取错误码与错误描述
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误描述
	Errormsg string `json:"errormsg,omitempty" xml:"errormsg,omitempty"`
	// 错误码
	Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"`
}

TaobaoXhotelOrderFutureFacescanPutResultSet

type TaobaoXhotelOrderFutureInfoGetAPIResponse

type TaobaoXhotelOrderFutureInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderFutureInfoGetResponse
}

获取(查询)订单变更信息 API返回值 taobao.xhotel.order.future.info.get

支持操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令

type TaobaoXhotelOrderFutureInfoGetRequest

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

获取(查询)订单变更信息 API请求 taobao.xhotel.order.future.info.get

支持操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令

func NewTaobaoXhotelOrderFutureInfoGetRequest

func NewTaobaoXhotelOrderFutureInfoGetRequest() *TaobaoXhotelOrderFutureInfoGetRequest

初始化TaobaoXhotelOrderFutureInfoGetRequest对象

func (TaobaoXhotelOrderFutureInfoGetRequest) GetApiMethodName

func (r TaobaoXhotelOrderFutureInfoGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderFutureInfoGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderFutureInfoGetRequest) GetCreatedEnd

CreatedEnd Getter

func (TaobaoXhotelOrderFutureInfoGetRequest) GetCreatedStart

func (r TaobaoXhotelOrderFutureInfoGetRequest) GetCreatedStart() string

CreatedStart Getter

func (TaobaoXhotelOrderFutureInfoGetRequest) GetHotelCode

HotelCode Getter

func (TaobaoXhotelOrderFutureInfoGetRequest) GetOperateType

func (r TaobaoXhotelOrderFutureInfoGetRequest) GetOperateType() int64

OperateType Getter

func (TaobaoXhotelOrderFutureInfoGetRequest) GetOutUuid

OutUuid Getter

func (TaobaoXhotelOrderFutureInfoGetRequest) GetTids

Tids Getter

func (TaobaoXhotelOrderFutureInfoGetRequest) GetVendor

Vendor Getter

func (*TaobaoXhotelOrderFutureInfoGetRequest) SetCreatedEnd

func (r *TaobaoXhotelOrderFutureInfoGetRequest) SetCreatedEnd(createdEnd string) error

CreatedEnd Setter 结束时间

func (*TaobaoXhotelOrderFutureInfoGetRequest) SetCreatedStart

func (r *TaobaoXhotelOrderFutureInfoGetRequest) SetCreatedStart(createdStart string) error

CreatedStart Setter 开始时间

func (*TaobaoXhotelOrderFutureInfoGetRequest) SetHotelCode

func (r *TaobaoXhotelOrderFutureInfoGetRequest) SetHotelCode(hotelCode string) error

HotelCode Setter 酒店编码

func (*TaobaoXhotelOrderFutureInfoGetRequest) SetOperateType

func (r *TaobaoXhotelOrderFutureInfoGetRequest) SetOperateType(operateType int64) error

OperateType Setter 操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令

func (*TaobaoXhotelOrderFutureInfoGetRequest) SetOutUuid

func (r *TaobaoXhotelOrderFutureInfoGetRequest) SetOutUuid(outUuid string) error

OutUuid Setter 请求流水号

func (*TaobaoXhotelOrderFutureInfoGetRequest) SetTids

Tids Setter 指定淘宝订单ID。以英文分号隔开的字符串“123455666;123455666;123455666”

func (*TaobaoXhotelOrderFutureInfoGetRequest) SetVendor

func (r *TaobaoXhotelOrderFutureInfoGetRequest) SetVendor(vendor string) error

Vendor Setter 系统商分配的身份识别

type TaobaoXhotelOrderFutureInfoGetResponse

type TaobaoXhotelOrderFutureInfoGetResponse struct {
	XMLName xml.Name `xml:"xhotel_order_future_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果返回列表
	Results []HotelOrderDirectInfo `json:"results,omitempty" xml:"results>hotel_order_direct_info,omitempty"`
	// 是否成功标记
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// 返回外部请求流水号
	OutUuid string `json:"out_uuid,omitempty" xml:"out_uuid,omitempty"`
}

获取(查询)订单变更信息 成功返回结果

type TaobaoXhotelOrderFutureInfoPutAPIResponse

type TaobaoXhotelOrderFutureInfoPutAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderFutureInfoPutResponse
}

订单信息上传更新 API返回值 taobao.xhotel.order.future.info.put

商家调用推送信息给飞猪平台。 支持如下操作类型:21: 订单状态更新(商家推送订单状态变更)23:酒店房态信息上传(上传一段时间内的酒店房态)25:在线开发票请求确认 26:自助选房请求进行请求确认 27:自助checkIn请求进行请求确认 32: 扫脸入住入住信息回传 (飞猪将登记至公安系统)

type TaobaoXhotelOrderFutureInfoPutRequest

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

订单信息上传更新 API请求 taobao.xhotel.order.future.info.put

商家调用推送信息给飞猪平台。 支持如下操作类型:21: 订单状态更新(商家推送订单状态变更)23:酒店房态信息上传(上传一段时间内的酒店房态)25:在线开发票请求确认 26:自助选房请求进行请求确认 27:自助checkIn请求进行请求确认 32: 扫脸入住入住信息回传 (飞猪将登记至公安系统)

func NewTaobaoXhotelOrderFutureInfoPutRequest

func NewTaobaoXhotelOrderFutureInfoPutRequest() *TaobaoXhotelOrderFutureInfoPutRequest

初始化TaobaoXhotelOrderFutureInfoPutRequest对象

func (TaobaoXhotelOrderFutureInfoPutRequest) GetApiMethodName

func (r TaobaoXhotelOrderFutureInfoPutRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderFutureInfoPutRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderFutureInfoPutRequest) GetContext

Context Getter

func (TaobaoXhotelOrderFutureInfoPutRequest) GetHotelCode

HotelCode Getter

func (TaobaoXhotelOrderFutureInfoPutRequest) GetOperateType

func (r TaobaoXhotelOrderFutureInfoPutRequest) GetOperateType() int64

OperateType Getter

func (TaobaoXhotelOrderFutureInfoPutRequest) GetOutUuid

OutUuid Getter

func (TaobaoXhotelOrderFutureInfoPutRequest) GetRequestId

RequestId Getter

func (TaobaoXhotelOrderFutureInfoPutRequest) GetVendor

Vendor Getter

func (*TaobaoXhotelOrderFutureInfoPutRequest) SetContext

func (r *TaobaoXhotelOrderFutureInfoPutRequest) SetContext(context string) error

Context Setter 字段详细介绍参见 https://open.alitrip.com/docs/doc.htm?docType=1&articleId=106153

func (*TaobaoXhotelOrderFutureInfoPutRequest) SetHotelCode

func (r *TaobaoXhotelOrderFutureInfoPutRequest) SetHotelCode(hotelCode string) error

HotelCode Setter 酒店编码

func (*TaobaoXhotelOrderFutureInfoPutRequest) SetOperateType

func (r *TaobaoXhotelOrderFutureInfoPutRequest) SetOperateType(operateType int64) error

OperateType Setter 操作类型 21: 订单状态更新(商家推送订单状态变更)23:酒店房态信息上传(上传一段时间内的酒店房态)25:在线开发票请求确认 26:自助选房请求进行请求确认 27:自助checkIn请求进行请求确认 32: 扫脸入住入住信息回传 (飞猪将登记至公安系统)

func (*TaobaoXhotelOrderFutureInfoPutRequest) SetOutUuid

func (r *TaobaoXhotelOrderFutureInfoPutRequest) SetOutUuid(outUuid string) error

OutUuid Setter 商家请求流水号

func (*TaobaoXhotelOrderFutureInfoPutRequest) SetRequestId

func (r *TaobaoXhotelOrderFutureInfoPutRequest) SetRequestId(requestId string) error

RequestId Setter 请求流水号

func (*TaobaoXhotelOrderFutureInfoPutRequest) SetVendor

func (r *TaobaoXhotelOrderFutureInfoPutRequest) SetVendor(vendor string) error

Vendor Setter 商家vendor信息。具体值咨询淘宝技术

type TaobaoXhotelOrderFutureInfoPutResponse

type TaobaoXhotelOrderFutureInfoPutResponse struct {
	XMLName xml.Name `xml:"xhotel_order_future_info_put_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功标记
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 错误描述
	Eerrmsg string `json:"eerrmsg,omitempty" xml:"eerrmsg,omitempty"`
	// 是否更新失败。返回false表示更新成功。否则请读取错误码与错误描述
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
}

订单信息上传更新 成功返回结果

type TaobaoXhotelOrderSearchAPIResponse

type TaobaoXhotelOrderSearchAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderSearchResponse
}

酒店产品库订单查询 API返回值 taobao.xhotel.order.search

酒店产品库订单查询功能,查询90天内的订单

type TaobaoXhotelOrderSearchRequest

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

酒店产品库订单查询 API请求 taobao.xhotel.order.search

酒店产品库订单查询功能,查询90天内的订单

func NewTaobaoXhotelOrderSearchRequest

func NewTaobaoXhotelOrderSearchRequest() *TaobaoXhotelOrderSearchRequest

初始化TaobaoXhotelOrderSearchRequest对象

func (TaobaoXhotelOrderSearchRequest) GetApiMethodName

func (r TaobaoXhotelOrderSearchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderSearchRequest) GetApiParams

func (r TaobaoXhotelOrderSearchRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderSearchRequest) GetCreatedEnd

func (r TaobaoXhotelOrderSearchRequest) GetCreatedEnd() string

CreatedEnd Getter

func (TaobaoXhotelOrderSearchRequest) GetCreatedStart

func (r TaobaoXhotelOrderSearchRequest) GetCreatedStart() string

CreatedStart Getter

func (TaobaoXhotelOrderSearchRequest) GetOrderIds

func (r TaobaoXhotelOrderSearchRequest) GetOrderIds() string

OrderIds Getter

func (TaobaoXhotelOrderSearchRequest) GetOrderTids

func (r TaobaoXhotelOrderSearchRequest) GetOrderTids() string

OrderTids Getter

func (TaobaoXhotelOrderSearchRequest) GetOutOids

func (r TaobaoXhotelOrderSearchRequest) GetOutOids() string

OutOids Getter

func (TaobaoXhotelOrderSearchRequest) GetPageNo

func (r TaobaoXhotelOrderSearchRequest) GetPageNo() int64

PageNo Getter

func (TaobaoXhotelOrderSearchRequest) GetVendor

func (r TaobaoXhotelOrderSearchRequest) GetVendor() string

Vendor Getter

func (*TaobaoXhotelOrderSearchRequest) SetCreatedEnd

func (r *TaobaoXhotelOrderSearchRequest) SetCreatedEnd(createdEnd string) error

CreatedEnd Setter 订单创建时间查询结束时间,格式为:yyyy-MM-dd HH:mm:ss。不能早于created_start或者间隔不能大于30

func (*TaobaoXhotelOrderSearchRequest) SetCreatedStart

func (r *TaobaoXhotelOrderSearchRequest) SetCreatedStart(createdStart string) error

CreatedStart Setter 订单创建时间查询起始时间,格式为:yyyy-MM-dd HH:mm:ss

func (*TaobaoXhotelOrderSearchRequest) SetOrderIds

func (r *TaobaoXhotelOrderSearchRequest) SetOrderIds(orderIds string) error

OrderIds Setter 酒店订单oids列表,多个oid用英文逗号隔开,一次不超过20个。

func (*TaobaoXhotelOrderSearchRequest) SetOrderTids

func (r *TaobaoXhotelOrderSearchRequest) SetOrderTids(orderTids string) error

OrderTids Setter 酒店订单tids列表,多个tid用英文逗号隔开,一次不超过20个。oids和tids都传的情况下默认使用tids

func (*TaobaoXhotelOrderSearchRequest) SetOutOids

func (r *TaobaoXhotelOrderSearchRequest) SetOutOids(outOids string) error

OutOids Setter 外部订单号out_oids列表,多个oid用英文逗号隔开,一次不超过20个。

func (*TaobaoXhotelOrderSearchRequest) SetPageNo

func (r *TaobaoXhotelOrderSearchRequest) SetPageNo(pageNo int64) error

PageNo Setter 分页页码。取值范围,大于零的整数,默认值1,即返回第一页的数据。页面大小为20

func (*TaobaoXhotelOrderSearchRequest) SetVendor

func (r *TaobaoXhotelOrderSearchRequest) SetVendor(vendor string) error

Vendor Setter 系统商标识

type TaobaoXhotelOrderSearchResponse

type TaobaoXhotelOrderSearchResponse struct {
	XMLName xml.Name `xml:"xhotel_order_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 订单信息
	HotelOrders []XHotelOrder `json:"hotel_orders,omitempty" xml:"hotel_orders>x_hotel_order,omitempty"`
	// 符合条件的结果总数
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
}

酒店产品库订单查询 成功返回结果

type TaobaoXhotelOrderStatementGetAPIResponse

type TaobaoXhotelOrderStatementGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderStatementGetResponse
}

查询账单信息 API返回值 taobao.xhotel.order.statement.get

阿里根据此接口定义输出订单账务明细,结账状态发生变化时阿里需推送账单信息。系统商可实时调用该接口来查询订单的详情

type TaobaoXhotelOrderStatementGetRequest

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

查询账单信息 API请求 taobao.xhotel.order.statement.get

阿里根据此接口定义输出订单账务明细,结账状态发生变化时阿里需推送账单信息。系统商可实时调用该接口来查询订单的详情

func NewTaobaoXhotelOrderStatementGetRequest

func NewTaobaoXhotelOrderStatementGetRequest() *TaobaoXhotelOrderStatementGetRequest

初始化TaobaoXhotelOrderStatementGetRequest对象

func (TaobaoXhotelOrderStatementGetRequest) GetApiMethodName

func (r TaobaoXhotelOrderStatementGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderStatementGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderStatementGetRequest) GetDateType

DateType Getter

func (TaobaoXhotelOrderStatementGetRequest) GetFrom

From Getter

func (TaobaoXhotelOrderStatementGetRequest) GetHotelCode

HotelCode Getter

func (TaobaoXhotelOrderStatementGetRequest) GetOrderTids

OrderTids Getter

func (TaobaoXhotelOrderStatementGetRequest) GetPageSize

PageSize Getter

func (TaobaoXhotelOrderStatementGetRequest) GetStart

Start Getter

func (TaobaoXhotelOrderStatementGetRequest) GetTid

Tid Getter

func (TaobaoXhotelOrderStatementGetRequest) GetTo

To Getter

func (TaobaoXhotelOrderStatementGetRequest) GetVendor

Vendor Getter

func (*TaobaoXhotelOrderStatementGetRequest) SetDateType

func (r *TaobaoXhotelOrderStatementGetRequest) SetDateType(dateType int64) error

DateType Setter 0:check_in, 1:check_out,2:分账时间

func (*TaobaoXhotelOrderStatementGetRequest) SetFrom

From Setter 查询开始时间

func (*TaobaoXhotelOrderStatementGetRequest) SetHotelCode

func (r *TaobaoXhotelOrderStatementGetRequest) SetHotelCode(hotelCode string) error

HotelCode Setter 外部酒店编码

func (*TaobaoXhotelOrderStatementGetRequest) SetOrderTids

func (r *TaobaoXhotelOrderStatementGetRequest) SetOrderTids(orderTids string) error

OrderTids Setter 要查询的tid列表,逗号分隔,列表查询;当此值不为空时候,其余参数忽略。最多单次20条。

func (*TaobaoXhotelOrderStatementGetRequest) SetPageSize

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

PageSize Setter 查询条数,最大支持500条

func (*TaobaoXhotelOrderStatementGetRequest) SetStart

Start Setter 数据查询开始下标

func (*TaobaoXhotelOrderStatementGetRequest) SetTid

Tid Setter 淘宝订单号

func (*TaobaoXhotelOrderStatementGetRequest) SetTo

To Setter 查询结束时间

func (*TaobaoXhotelOrderStatementGetRequest) SetVendor

func (r *TaobaoXhotelOrderStatementGetRequest) SetVendor(vendor string) error

Vendor Setter 系统商vendor

type TaobaoXhotelOrderStatementGetResponse

type TaobaoXhotelOrderStatementGetResponse struct {
	XMLName xml.Name `xml:"xhotel_order_statement_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 系统自动生成
	Results []StatementOrder `json:"results,omitempty" xml:"results>statement_order,omitempty"`
}

查询账单信息 成功返回结果

type TaobaoXhotelOrderUpdateAPIResponse

type TaobaoXhotelOrderUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderUpdateResponse
}

酒店订单发货接口 API返回值 taobao.xhotel.order.update

卖家确认订单或者取消订单,适用于预付、面付、信用住订单

type TaobaoXhotelOrderUpdateConfirmcodeAPIResponse

type TaobaoXhotelOrderUpdateConfirmcodeAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderUpdateConfirmcodeResponse
}

推送及更新订单确认号 API返回值 taobao.xhotel.order.update.confirmcode

商家拿到订单确认号后,异步推送给飞猪或更新给飞猪。订单确认号用于到店查无时的紧急查单依据。

type TaobaoXhotelOrderUpdateConfirmcodeRequest

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

推送及更新订单确认号 API请求 taobao.xhotel.order.update.confirmcode

商家拿到订单确认号后,异步推送给飞猪或更新给飞猪。订单确认号用于到店查无时的紧急查单依据。

func NewTaobaoXhotelOrderUpdateConfirmcodeRequest

func NewTaobaoXhotelOrderUpdateConfirmcodeRequest() *TaobaoXhotelOrderUpdateConfirmcodeRequest

初始化TaobaoXhotelOrderUpdateConfirmcodeRequest对象

func (TaobaoXhotelOrderUpdateConfirmcodeRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderUpdateConfirmcodeRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderUpdateConfirmcodeRequest) GetParam

Param Getter

func (*TaobaoXhotelOrderUpdateConfirmcodeRequest) SetParam

Param Setter 系统入参

type TaobaoXhotelOrderUpdateConfirmcodeResponse

type TaobaoXhotelOrderUpdateConfirmcodeResponse struct {
	XMLName xml.Name `xml:"xhotel_order_update_confirmcode_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 操作结果,成功返回success
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 是否操作成功
	Error bool `json:"error,omitempty" xml:"error,omitempty"`
}

推送及更新订单确认号 成功返回结果

type TaobaoXhotelOrderUpdateRequest

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

酒店订单发货接口 API请求 taobao.xhotel.order.update

卖家确认订单或者取消订单,适用于预付、面付、信用住订单

func NewTaobaoXhotelOrderUpdateRequest

func NewTaobaoXhotelOrderUpdateRequest() *TaobaoXhotelOrderUpdateRequest

初始化TaobaoXhotelOrderUpdateRequest对象

func (TaobaoXhotelOrderUpdateRequest) GetApiMethodName

func (r TaobaoXhotelOrderUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderUpdateRequest) GetApiParams

func (r TaobaoXhotelOrderUpdateRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderUpdateRequest) GetInvoiceAmount

func (r TaobaoXhotelOrderUpdateRequest) GetInvoiceAmount() int64

InvoiceAmount Getter

func (TaobaoXhotelOrderUpdateRequest) GetOptType

func (r TaobaoXhotelOrderUpdateRequest) GetOptType() int64

OptType Getter

func (TaobaoXhotelOrderUpdateRequest) GetReasonType

func (r TaobaoXhotelOrderUpdateRequest) GetReasonType() int64

ReasonType Getter

func (TaobaoXhotelOrderUpdateRequest) GetRefundFee

func (r TaobaoXhotelOrderUpdateRequest) GetRefundFee() int64

RefundFee Getter

func (TaobaoXhotelOrderUpdateRequest) GetSyncToHotel

func (r TaobaoXhotelOrderUpdateRequest) GetSyncToHotel() string

SyncToHotel Getter

func (TaobaoXhotelOrderUpdateRequest) GetTid

Tid Getter

func (*TaobaoXhotelOrderUpdateRequest) SetInvoiceAmount

func (r *TaobaoXhotelOrderUpdateRequest) SetInvoiceAmount(invoiceAmount int64) error

InvoiceAmount Setter 开票金额

func (*TaobaoXhotelOrderUpdateRequest) SetOptType

func (r *TaobaoXhotelOrderUpdateRequest) SetOptType(optType int64) error

OptType Setter 操作的类型:1.确认无房(取消预订,710发送短信提醒买家申请退款)2.确认预订 3.入住 4.离店 5.noshow 6.关单

func (*TaobaoXhotelOrderUpdateRequest) SetReasonType

func (r *TaobaoXhotelOrderUpdateRequest) SetReasonType(reasonType int64) error

ReasonType Setter 取消类型,6 代表的是用户取消,reasonType=7代表的是小二协商

func (*TaobaoXhotelOrderUpdateRequest) SetRefundFee

func (r *TaobaoXhotelOrderUpdateRequest) SetRefundFee(refundFee int64) error

RefundFee Setter 退款费用

func (*TaobaoXhotelOrderUpdateRequest) SetSyncToHotel

func (r *TaobaoXhotelOrderUpdateRequest) SetSyncToHotel(syncToHotel string) error

SyncToHotel Setter 是否把代理直签的订单同步到酒店,Y为同步,N不同步

func (*TaobaoXhotelOrderUpdateRequest) SetTid

Tid Setter 订单号

type TaobaoXhotelOrderUpdateResponse

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

酒店订单发货接口 成功返回结果

type TaobaoXhotelPmsGuestbillGetVtwoAPIResponse

type TaobaoXhotelPmsGuestbillGetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelPmsGuestbillGetVtwoResponse
}

客人PMS账单信息查询 API返回值 taobao.xhotel.pms.guestbill.get.vtwo

从pms获取客人账单信息

type TaobaoXhotelPmsGuestbillGetVtwoRequest

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

客人PMS账单信息查询 API请求 taobao.xhotel.pms.guestbill.get.vtwo

从pms获取客人账单信息

func NewTaobaoXhotelPmsGuestbillGetVtwoRequest

func NewTaobaoXhotelPmsGuestbillGetVtwoRequest() *TaobaoXhotelPmsGuestbillGetVtwoRequest

初始化TaobaoXhotelPmsGuestbillGetVtwoRequest对象

func (TaobaoXhotelPmsGuestbillGetVtwoRequest) GetApiMethodName

func (r TaobaoXhotelPmsGuestbillGetVtwoRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoXhotelPmsGuestbillGetVtwoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoXhotelPmsGuestbillGetVtwoRequest) GetRequestId

RequestId Getter

func (TaobaoXhotelPmsGuestbillGetVtwoRequest) GetRoomNum

RoomNum Getter

func (TaobaoXhotelPmsGuestbillGetVtwoRequest) GetShortIdNum

ShortIdNum Getter

func (TaobaoXhotelPmsGuestbillGetVtwoRequest) GetTaxNum

TaxNum Getter

func (TaobaoXhotelPmsGuestbillGetVtwoRequest) GetUserChannel

func (r TaobaoXhotelPmsGuestbillGetVtwoRequest) GetUserChannel() int64

UserChannel Getter

func (*TaobaoXhotelPmsGuestbillGetVtwoRequest) SetRequestId

func (r *TaobaoXhotelPmsGuestbillGetVtwoRequest) SetRequestId(requestId string) error

RequestId Setter 请求id (32位唯一值)

func (*TaobaoXhotelPmsGuestbillGetVtwoRequest) SetRoomNum

func (r *TaobaoXhotelPmsGuestbillGetVtwoRequest) SetRoomNum(roomNum string) error

RoomNum Setter 房间号

func (*TaobaoXhotelPmsGuestbillGetVtwoRequest) SetShortIdNum

func (r *TaobaoXhotelPmsGuestbillGetVtwoRequest) SetShortIdNum(shortIdNum string) error

ShortIdNum Setter 身份证后4位

func (*TaobaoXhotelPmsGuestbillGetVtwoRequest) SetTaxNum

TaxNum Setter 开票点税号

func (*TaobaoXhotelPmsGuestbillGetVtwoRequest) SetUserChannel

func (r *TaobaoXhotelPmsGuestbillGetVtwoRequest) SetUserChannel(userChannel int64) error

UserChannel Setter 用户渠道(0:未知,1:淘宝)

type TaobaoXhotelPmsGuestbillGetVtwoResponse

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

客人PMS账单信息查询 成功返回结果

type TaobaoXhotelPmsGuestbillGetVtwoResultSet

type TaobaoXhotelPmsGuestbillGetVtwoResultSet struct {
	// 账单列表中涉及到的金额费用单位均为分
	Results []OrderBillInfo `json:"results,omitempty" xml:"results>order_bill_info,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否成功标记
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoXhotelPmsGuestbillGetVtwoResultSet

type TopDailyInfo

type TopDailyInfo struct {
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 早餐数
	BreakFastCount int64 `json:"break_fast_count,omitempty" xml:"break_fast_count,omitempty"`
	// 日期
	Day string `json:"day,omitempty" xml:"day,omitempty"`
	// 加价金额
	ExtraAddPrice int64 `json:"extra_add_price,omitempty" xml:"extra_add_price,omitempty"`
}

TopDailyInfo

type TopDailySellerPromotion

type TopDailySellerPromotion struct {
	// 日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
	// 卖家优惠金额
	SellerPromotion int64 `json:"seller_promotion,omitempty" xml:"seller_promotion,omitempty"`
}

TopDailySellerPromotion

type TopDomesticPriceInfoDo

type TopDomesticPriceInfoDo struct {
	// createOrderDailyPrice
	CreateOrderDailyPrice *HbsDailyPriceDo `json:"create_order_daily_price,omitempty" xml:"create_order_daily_price,omitempty"`
	// taxPrice
	TaxPrice int64 `json:"tax_price,omitempty" xml:"tax_price,omitempty"`
	// roomsPrice
	RoomsPrice int64 `json:"rooms_price,omitempty" xml:"rooms_price,omitempty"`
	// servicePrice
	ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"`
	// otherFee
	OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// bookingRoomsPrice
	BookingRoomsPrice int64 `json:"booking_rooms_price,omitempty" xml:"booking_rooms_price,omitempty"`
	// bookingTaxPrice
	BookingTaxPrice int64 `json:"booking_tax_price,omitempty" xml:"booking_tax_price,omitempty"`
	// bookingServicePrice
	BookingServicePrice int64 `json:"booking_service_price,omitempty" xml:"booking_service_price,omitempty"`
	// settleOrderDailyPrice
	SettleOrderDailyPrice *HbsDailyPriceDo `json:"settle_order_daily_price,omitempty" xml:"settle_order_daily_price,omitempty"`
	// basePrice
	BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"`
	// bookingBasePrice
	BookingBasePrice int64 `json:"booking_base_price,omitempty" xml:"booking_base_price,omitempty"`
}

TopDomesticPriceInfoDo

type TopHotelPromotion

type TopHotelPromotion struct {
	// 消費里程数
	ConsumeMileage int64 `json:"consume_mileage,omitempty" xml:"consume_mileage,omitempty"`
	// 订单命中的优惠计算规则描述(由优惠计算规则解析后的文本形式)
	RuleDesc string `json:"rule_desc,omitempty" xml:"rule_desc,omitempty"`
	// 活动优惠描述
	PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,omitempty"`
	// 活动使用的优惠金额,以分为单位
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 活动使用的卖家优惠金额,以分为单位
	SellerAmount int64 `json:"seller_amount,omitempty" xml:"seller_amount,omitempty"`
	// 活动使用优惠次数
	Times int64 `json:"times,omitempty" xml:"times,omitempty"`
	// 活动展示优先级(越大优先级越高)
	Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"`
	// tid
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 活动Icon文案描述
	ActivityIconDesc string `json:"activity_icon_desc,omitempty" xml:"activity_icon_desc,omitempty"`
	// 活动分组名称
	ActivityGroupName string `json:"activity_group_name,omitempty" xml:"activity_group_name,omitempty"`
	// 对应的航旅平台活动规则
	ActivityCode string `json:"activity_code,omitempty" xml:"activity_code,omitempty"`
	// 活动使用的折扣
	Discount int64 `json:"discount,omitempty" xml:"discount,omitempty"`
	// 优惠计算规则类型
	RuleType int64 `json:"rule_type,omitempty" xml:"rule_type,omitempty"`
	// 优惠维度
	RuleTarget int64 `json:"rule_target,omitempty" xml:"rule_target,omitempty"`
	// 是否"积分加钱购"类型活动
	IntegralActivity bool `json:"integral_activity,omitempty" xml:"integral_activity,omitempty"`
	// 使用的活动规则code
	RuleCode string `json:"rule_code,omitempty" xml:"rule_code,omitempty"`
	// 卖家系统中的活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// 优惠的呈现方式,目前有如下定义:,1. 金额类优惠,2. 使用次数类优惠,3. 权益类优惠,4. 后返类优惠
	AmountType int64 `json:"amount_type,omitempty" xml:"amount_type,omitempty"`
	// 出资方是否卖家还是平台
	InvestorType int64 `json:"investor_type,omitempty" xml:"investor_type,omitempty"`
}

TopHotelPromotion

type TopInvoiceDo

type TopInvoiceDo struct {
	// 发票提供方:0未知 1酒店前台,2卖家开具
	ProviderType int64 `json:"provider_type,omitempty" xml:"provider_type,omitempty"`
}

TopInvoiceDo

type TopOrderDetail

type TopOrderDetail struct {
	// 最早到店时间
	ArriveEarly string `json:"arrive_early,omitempty" xml:"arrive_early,omitempty"`
	// 卖家没有确认直接关单剩余时间
	CloseOrderRestSecond int64 `json:"close_order_rest_second,omitempty" xml:"close_order_rest_second,omitempty"`
	// 飞猪酒店ID
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// rp名称
	RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"`
	// 飞猪rpid
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// 完结时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 订单类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 订单关联包信息: topOrderPackageDO
	TopOrderPackage *TopOrderPackageDo `json:"top_order_package,omitempty" xml:"top_order_package,omitempty"`
	// 商家订单ID
	OutOid string `json:"out_oid,omitempty" xml:"out_oid,omitempty"`
	// 下单时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 商家昵称
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 买家昵称
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 住几晚
	Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"`
	// 飞猪订单ID
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 订单垂直属性信息
	TopInfoMap *Topinfomap `json:"top_info_map,omitempty" xml:"top_info_map,omitempty"`
	// 外部订单的下单确认码
	OutConfirmCode string `json:"out_confirm_code,omitempty" xml:"out_confirm_code,omitempty"`
	// 交易状态
	TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"`
	// 支付宝交易流水号
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 商家酒店Code
	HotelCode string `json:"hotel_code,omitempty" xml:"hotel_code,omitempty"`
	// 商家rpcode
	RpCode string `json:"rp_code,omitempty" xml:"rp_code,omitempty"`
	// 是否包房
	ReservedRoomOrder bool `json:"reserved_room_order,omitempty" xml:"reserved_room_order,omitempty"`
	// 关联子订单对象
	TopRelationOrders []Toprelationorders `json:"top_relation_orders,omitempty" xml:"top_relation_orders>toprelationorders,omitempty"`
	// 是否拆单
	SplitOrder bool `json:"split_order,omitempty" xml:"split_order,omitempty"`
	// 酒店订单卖家信息
	HotelOrderSeller *HotelOrderSellerDo `json:"hotel_order_seller,omitempty" xml:"hotel_order_seller,omitempty"`
	// 联系人名称
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 渠道企业名称
	OutSourceCorpName string `json:"out_source_corp_name,omitempty" xml:"out_source_corp_name,omitempty"`
	// 预定状态 面付信用住有效
	BookingStatus int64 `json:"booking_status,omitempty" xml:"booking_status,omitempty"`
	// 外部订单号
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 商家房型Code
	RoomTypeCode string `json:"room_type_code,omitempty" xml:"room_type_code,omitempty"`
	// 消费码 全场景消费
	RelatedCode string `json:"related_code,omitempty" xml:"related_code,omitempty"`
	// 入住时间
	CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"`
	// List<TopDailyInfo>
	TopDailyInfos []TopDailyInfo `json:"top_daily_infos,omitempty" xml:"top_daily_infos>top_daily_info,omitempty"`
	// 房间数
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 订单确认时长
	ConfirmDuration int64 `json:"confirm_duration,omitempty" xml:"confirm_duration,omitempty"`
	// 离店时间
	CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"`
	// 海外酒店信息
	TopOverseasPriceInfo *TopOverseasPriceInfoDo `json:"top_overseas_price_info,omitempty" xml:"top_overseas_price_info,omitempty"`
	// 是否需要确认号
	NeedConfirmNo bool `json:"need_confirm_no,omitempty" xml:"need_confirm_no,omitempty"`
	// 是否展示“卖家延迟按钮”
	ShowSellerDelayConfirmButton bool `json:"show_seller_delay_confirm_button,omitempty" xml:"show_seller_delay_confirm_button,omitempty"`
	// 最晚到店时间
	ArriveLate string `json:"arrive_late,omitempty" xml:"arrive_late,omitempty"`
	// 联系人电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 是否保留房
	BlockRoomOrder bool `json:"block_room_order,omitempty" xml:"block_room_order,omitempty"`
	// 用户支付费用
	Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"`
	// 订单取消原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 飞猪房型ID
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 商家ID
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 子订单类型
	SubType int64 `json:"sub_type,omitempty" xml:"sub_type,omitempty"`
	// 总房费
	TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"`
	// outSource
	OutSource string `json:"out_source,omitempty" xml:"out_source,omitempty"`
	// 房型名称
	RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"`
	// List<TopOrderGuest>
	TopOrderGuests []TopOrderGuest `json:"top_order_guests,omitempty" xml:"top_order_guests>top_order_guest,omitempty"`
	// 统一订单状态,与union_status_value相对应。101:已下单;102:已付款;103:确认有房;104:交易成功;105:申请退款;106:卖家拒绝退款;108:订单关闭;109:退款成功;522:买家待支付;501:已下单;502:确认有房;503:确认前用户取消;504:确认无房;505:买家入住;506:系统自动核实入住成功;507:确认后用户取消;508:卖家核实未入住NoShow;601:已下单;602:确认有房;603:确认前用户取消;604:确认无房;605:买家入住;606:系统自动核实入住成功;607:确认后用户取消;608:卖家核实未入住NoShow;609:买家离店;610:结账中;611:结账成功;612:结账失败追账中;613:追账成功;614:NOSHOW结账中;615:NOSHOW结账成功;616:NOSHOW结账失败;617:NOSHOW追账成功;618:结账取消;619:系统自动核实未入住成功;620:结账失败追账失败;621:结账失败追账成功;701:已下单;702:确认有房;703:用户取消;704:确认无房;705:买家入住;709:买家离店;710:取消中
	UnionStatusText string `json:"union_status_text,omitempty" xml:"union_status_text,omitempty"`
	// 统一订单状态
	UnionStatusValue int64 `json:"union_status_value,omitempty" xml:"union_status_value,omitempty"`
	// 发票抬头
	InvoiceTitle string `json:"invoice_title,omitempty" xml:"invoice_title,omitempty"`
	// 其他费用
	OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// memo
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 物流状态描述
	LogisticsStatusText string `json:"logistics_status_text,omitempty" xml:"logistics_status_text,omitempty"`
	// 物流状态值
	LogisticsStatusValue int64 `json:"logistics_status_value,omitempty" xml:"logistics_status_value,omitempty"`
	// 支付状态
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 担保类型
	GuaranteeType int64 `json:"guarantee_type,omitempty" xml:"guarantee_type,omitempty"`
	// 担保id
	FundId int64 `json:"fund_id,omitempty" xml:"fund_id,omitempty"`
	// 取消规则描述
	CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"`
	// topPromotion
	TopPromotion *TopPromotion `json:"top_promotion,omitempty" xml:"top_promotion,omitempty"`
	// 是否即时确认
	TagJsqr bool `json:"tag_jsqr,omitempty" xml:"tag_jsqr,omitempty"`
	// 房价id
	RateId string `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 税和费,单位分
	TaxAndFee int64 `json:"tax_and_fee,omitempty" xml:"tax_and_fee,omitempty"`
	// topDomesticPriceInfoDO
	TopDomesticPriceInfo *TopDomesticPriceInfoDo `json:"top_domestic_price_info,omitempty" xml:"top_domestic_price_info,omitempty"`
	// 用户实际支付金额
	UserRealPayment int64 `json:"user_real_payment,omitempty" xml:"user_real_payment,omitempty"`
	// gmtModified
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// vendor
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 信用卡vcc信息
	CreditCard *CreditCard `json:"credit_card,omitempty" xml:"credit_card,omitempty"`
	// 退款状态,1:买家已经申请退款,等待卖家同意;4:退款关闭;5:退款成功;6:卖家拒绝退款;9:没有申请退款
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 退款金额  单位为分
	RefundAmout int64 `json:"refund_amout,omitempty" xml:"refund_amout,omitempty"`
	// 退款信息
	PostTradeRefund *TopPostTradeRefundDo `json:"post_trade_refund,omitempty" xml:"post_trade_refund,omitempty"`
	// 销售渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 买家id
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 城市code
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 支付类型
	PaymentType string `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// 发票状态
	InvoiceStatus string `json:"invoice_status,omitempty" xml:"invoice_status,omitempty"`
	// 订单来源类型
	OrderSourceType string `json:"order_source_type,omitempty" xml:"order_source_type,omitempty"`
	// topInvoiceDO
	TopInvoice *TopInvoiceDo `json:"top_invoice,omitempty" xml:"top_invoice,omitempty"`
	// 退款原因类型如101,503之类
	RefundReasonType int64 `json:"refund_reason_type,omitempty" xml:"refund_reason_type,omitempty"`
}

TopOrderDetail

type TopOrderGuest

type TopOrderGuest struct {
	// 住客类型
	CustomerType int64 `json:"customer_type,omitempty" xml:"customer_type,omitempty"`
	// 住客编号
	PersonNo int64 `json:"person_no,omitempty" xml:"person_no,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 年龄
	Age int64 `json:"age,omitempty" xml:"age,omitempty"`
	// 房间编号
	RoomNo int64 `json:"room_no,omitempty" xml:"room_no,omitempty"`
}

TopOrderGuest

type TopOrderPackageDetail

type TopOrderPackageDetail struct {
	// 景区地址
	ScenicAddress string `json:"scenic_address,omitempty" xml:"scenic_address,omitempty"`
	// 景区名称
	ScenicName string `json:"scenic_name,omitempty" xml:"scenic_name,omitempty"`
	// 图文详情
	HowToPlay string `json:"how_to_play,omitempty" xml:"how_to_play,omitempty"`
	// 景区id
	ScenicId int64 `json:"scenic_id,omitempty" xml:"scenic_id,omitempty"`
	// 套餐数量单位
	AmountUnit string `json:"amount_unit,omitempty" xml:"amount_unit,omitempty"`
	// 套餐数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 套餐优惠金额
	DiscountPrice int64 `json:"discount_price,omitempty" xml:"discount_price,omitempty"`
	// 附加产品使用维度   1:每间维度 2:每晚维度 3:入住人数维度
	DimensionText string `json:"dimension_text,omitempty" xml:"dimension_text,omitempty"`
	// 套餐类型名称
	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`
	// 套餐类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 套餐名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 套餐ID
	PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"`
	// 景点封面图
	ScenicCoverImg string `json:"scenic_cover_img,omitempty" xml:"scenic_cover_img,omitempty"`
}

TopOrderPackageDetail

type TopOrderPackageDo

type TopOrderPackageDo struct {
	// 套餐详情
	OrderPackageDetails []TopOrderPackageDetail `json:"order_package_details,omitempty" xml:"order_package_details>top_order_package_detail,omitempty"`
	// 描述
	OrderPackageDesc string `json:"order_package_desc,omitempty" xml:"order_package_desc,omitempty"`
}

TopOrderPackageDo

type TopOrderPromotionDetail

type TopOrderPromotionDetail struct {
	// 返现金额
	CashBackAmount int64 `json:"cash_back_amount,omitempty" xml:"cash_back_amount,omitempty"`
	// 卖家立减
	SellerDecrease int64 `json:"seller_decrease,omitempty" xml:"seller_decrease,omitempty"`
	// topHotelPromotions
	TopHotelPromotions []TopHotelPromotion `json:"top_hotel_promotions,omitempty" xml:"top_hotel_promotions>top_hotel_promotion,omitempty"`
	// 立减金额
	Decrease int64 `json:"decrease,omitempty" xml:"decrease,omitempty"`
	// 平台立减金额
	PlatformDecrease int64 `json:"platform_decrease,omitempty" xml:"platform_decrease,omitempty"`
}

TopOrderPromotionDetail

type TopOrderPromotionExtend

type TopOrderPromotionExtend struct {
	// topDailySellerPromotions
	TopDailySellerPromotions []TopDailySellerPromotion `json:"top_daily_seller_promotions,omitempty" xml:"top_daily_seller_promotions>top_daily_seller_promotion,omitempty"`
}

TopOrderPromotionExtend

type TopOverseasPriceInfoDo

type TopOverseasPriceInfoDo struct {
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 产品售价,单位(元*100),包含税服务费等
	BookingProductSalePrice int64 `json:"booking_product_sale_price,omitempty" xml:"booking_product_sale_price,omitempty"`
	// 买家应付包含杂费,单位(元*100)
	BuyerPayment int64 `json:"buyer_payment,omitempty" xml:"buyer_payment,omitempty"`
	// 税费,单位(元*100)
	TaxPrice int64 `json:"tax_price,omitempty" xml:"tax_price,omitempty"`
	// 卖家应收包含杂费,单位(元*100)
	SellerPayment int64 `json:"seller_payment,omitempty" xml:"seller_payment,omitempty"`
	// 结账杂费,单位(元*100)
	OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"`
	// 服务费,单位(元*100)
	BookingServicePrice int64 `json:"booking_service_price,omitempty" xml:"booking_service_price,omitempty"`
	// 下单时汇率
	BookingRate string `json:"booking_rate,omitempty" xml:"booking_rate,omitempty"`
	// 当前汇率
	Rate string `json:"rate,omitempty" xml:"rate,omitempty"`
	// 下单时刻卖家应收
	BookSellerPayment int64 `json:"book_seller_payment,omitempty" xml:"book_seller_payment,omitempty"`
	// 税费,单位(元*100)
	BookingTaxPrice int64 `json:"booking_tax_price,omitempty" xml:"booking_tax_price,omitempty"`
	// 总价包含杂费,单位(元*100)
	TotalPayment int64 `json:"total_payment,omitempty" xml:"total_payment,omitempty"`
	// 离店日汇率
	CheckoutRate string `json:"checkout_rate,omitempty" xml:"checkout_rate,omitempty"`
	// 担保金(元*100)
	FundPrice int64 `json:"fund_price,omitempty" xml:"fund_price,omitempty"`
	// 结账产品售价,单位(元*100),包含税服务费等
	SettleProductSalePrice int64 `json:"settle_product_sale_price,omitempty" xml:"settle_product_sale_price,omitempty"`
	// 服务费,单位(元*100)
	ServicePrice int64 `json:"service_price,omitempty" xml:"service_price,omitempty"`
	// 日历价格
	CreateOrderDailyPrice *HbsDailyPriceDo `json:"create_order_daily_price,omitempty" xml:"create_order_daily_price,omitempty"`
	// bookingRoomsPrice
	BookingRoomsPrice int64 `json:"booking_rooms_price,omitempty" xml:"booking_rooms_price,omitempty"`
	// settleOrderDailyPrice
	SettleOrderDailyPrice *HbsDailyPriceDo `json:"settle_order_daily_price,omitempty" xml:"settle_order_daily_price,omitempty"`
	// 房费
	RoomsPrice int64 `json:"rooms_price,omitempty" xml:"rooms_price,omitempty"`
	// 底价房费
	BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"`
	// 下单时底价房费
	BookingBasePrice int64 `json:"booking_base_price,omitempty" xml:"booking_base_price,omitempty"`
}

TopOverseasPriceInfoDo

type TopPostTradeRefundDo

type TopPostTradeRefundDo struct {
	// 退款成功时间
	RefundSucTime string `json:"refund_suc_time,omitempty" xml:"refund_suc_time,omitempty"`
	// 创建退款申请时的额外描述
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 申请的退款金额(单位:分)
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,omitempty"`
	// 引起退款申请的类型描述
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 售后退款类型,1:买家取消订单,创建退款申请;2:卖家发起协商取消;3:卖家用户协商一致后,小二执行退款操作;4:卖家发起协商取消退款,系统收到买家确认短信后进行退款
	PostTradeRefundType int64 `json:"post_trade_refund_type,omitempty" xml:"post_trade_refund_type,omitempty"`
	// 退款状态,1:退款申请已创建;2:退款申请已拒绝;3:退款处理中;4:退款已成功;5:退款失败;6: 退款申请已取消
	PostTradeRefundStatus int64 `json:"post_trade_refund_status,omitempty" xml:"post_trade_refund_status,omitempty"`
	// 退款发起时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// tid
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

TopPostTradeRefundDo

type TopPromotion

type TopPromotion struct {
	// topCreateOrderPromotion
	TopCreateOrderPromotion *TopOrderPromotionDetail `json:"top_create_order_promotion,omitempty" xml:"top_create_order_promotion,omitempty"`
	// topCurrentOrderPromotion
	TopCurrentOrderPromotion *TopOrderPromotionDetail `json:"top_current_order_promotion,omitempty" xml:"top_current_order_promotion,omitempty"`
	// topOrderPromotionExtend
	TopOrderPromotionExtend *TopOrderPromotionExtend `json:"top_order_promotion_extend,omitempty" xml:"top_order_promotion_extend,omitempty"`
}

TopPromotion

type Topinfomap

type Topinfomap struct {
	// umid
	Umid string `json:"umid,omitempty" xml:"umid,omitempty"`
	// 凌晨入住订单
	MorningBuy string `json:"morning_buy,omitempty" xml:"morning_buy,omitempty"`
	// 卖家延迟确认时间,单位分钟
	SellerDelayConfirmTime string `json:"seller_delay_confirm_time,omitempty" xml:"seller_delay_confirm_time,omitempty"`
	// pms订单号
	HbsPmsOrderId string `json:"hbs_pms_order_id,omitempty" xml:"hbs_pms_order_id,omitempty"`
	// 身份证线下信用住
	HbsCardAlipayOrder string `json:"hbs_card_alipay_order,omitempty" xml:"hbs_card_alipay_order,omitempty"`
	// 底价加价
	UpsetPrice string `json:"upset_price,omitempty" xml:"upset_price,omitempty"`
	// 是否包房
	ReservedRoom string `json:"reserved_room,omitempty" xml:"reserved_room,omitempty"`
	// 是否保留房
	BlockRoom string `json:"block_room,omitempty" xml:"block_room,omitempty"`
	// 是否直连订单
	HbsDirect string `json:"hbs_direct,omitempty" xml:"hbs_direct,omitempty"`
	// 是否是在线预约订单
	OnlineBookingRoom string `json:"online_booking_room,omitempty" xml:"online_booking_room,omitempty"`
	// hbsEgOrder
	HbsEgOrder string `json:"hbs_eg_order,omitempty" xml:"hbs_eg_order,omitempty"`
	// hbsBuyerAlipayNo
	HbsBuyerAlipayNo string `json:"hbs_buyer_alipay_no,omitempty" xml:"hbs_buyer_alipay_no,omitempty"`
	// preChangePromotionFlag
	PreChangePromotionFlag string `json:"pre_change_promotion_flag,omitempty" xml:"pre_change_promotion_flag,omitempty"`
	// cancelType
	CancelType string `json:"cancel_type,omitempty" xml:"cancel_type,omitempty"`
	// currencyType
	CurrencyType string `json:"currency_type,omitempty" xml:"currency_type,omitempty"`
	// hbsBedType
	HbsBedType string `json:"hbs_bed_type,omitempty" xml:"hbs_bed_type,omitempty"`
	// hbsOldPromotionamt
	HbsOldPromotionamt string `json:"hbs_old_promotionamt,omitempty" xml:"hbs_old_promotionamt,omitempty"`
	// hbsMaxOtherFee
	HbsMaxOtherFee string `json:"hbs_max_other_fee,omitempty" xml:"hbs_max_other_fee,omitempty"`
	// cancelPolicyJson
	CancelPolicyJson string `json:"cancel_policy_json,omitempty" xml:"cancel_policy_json,omitempty"`
	// hbsAlipayMobile
	HbsAlipayMobile string `json:"hbs_alipay_mobile,omitempty" xml:"hbs_alipay_mobile,omitempty"`
	// hbsHotelOutId
	HbsHotelOutId string `json:"hbs_hotel_out_id,omitempty" xml:"hbs_hotel_out_id,omitempty"`
	// hbsCreditSettle
	HbsCreditSettle string `json:"hbs_credit_settle,omitempty" xml:"hbs_credit_settle,omitempty"`
	// ebookingDirectTag
	EbookingDirectTag string `json:"ebooking_direct_tag,omitempty" xml:"ebooking_direct_tag,omitempty"`
	// hbsOldPayment
	HbsOldPayment string `json:"hbs_old_payment,omitempty" xml:"hbs_old_payment,omitempty"`
	// promotionSnapKey
	PromotionSnapKey string `json:"promotion_snap_key,omitempty" xml:"promotion_snap_key,omitempty"`
	// hbsAllTags
	HbsAllTags string `json:"hbs_all_tags,omitempty" xml:"hbs_all_tags,omitempty"`
	// 渠道企业名称
	HbsOutSourceCorpName string `json:"hbs_out_source_corp_name,omitempty" xml:"hbs_out_source_corp_name,omitempty"`
	// 扫码信用住
	HbsScanCodeOrder string `json:"hbs_scan_code_order,omitempty" xml:"hbs_scan_code_order,omitempty"`
	// 商旅企业支付订单标识,1为是
	BtripCorporatePay string `json:"btrip_corporate_pay,omitempty" xml:"btrip_corporate_pay,omitempty"`
	// b2g标识
	B2gFlag string `json:"b2g_flag,omitempty" xml:"b2g_flag,omitempty"`
	// hbsSelfHelpCheckIn
	HbsSelfHelpCheckIn string `json:"hbs_self_help_check_in,omitempty" xml:"hbs_self_help_check_in,omitempty"`
	// 小时房标识 1:小时房
	HbsXiaoShiFang string `json:"hbs_xiao_shi_fang,omitempty" xml:"hbs_xiao_shi_fang,omitempty"`
	// 小时房时长
	HbsHourage string `json:"hbs_hourage,omitempty" xml:"hbs_hourage,omitempty"`
	// 预约发票标识
	AdvanceInvocieTag string `json:"advance_invocie_tag,omitempty" xml:"advance_invocie_tag,omitempty"`
	// 小时房可入住时间
	HourRoomReservedTime string `json:"hour_room_reserved_time,omitempty" xml:"hour_room_reserved_time,omitempty"`
	// 小时房最晚离店时间
	HourRoomLeaveTime string `json:"hour_room_leave_time,omitempty" xml:"hour_room_leave_time,omitempty"`
	// 小时房到店时间
	HourRoomArriveTime string `json:"hour_room_arrive_time,omitempty" xml:"hour_room_arrive_time,omitempty"`
	// 信用住升级订单
	CreditPayOrder string `json:"credit_pay_order,omitempty" xml:"credit_pay_order,omitempty"`
	// 是否是菲住联盟会员 true or false
	IsFzMemberOrder string `json:"is_fz_member_order,omitempty" xml:"is_fz_member_order,omitempty"`
	// 会员卡卡号
	BookerMemberCardNo string `json:"booker_member_card_no,omitempty" xml:"booker_member_card_no,omitempty"`
	// 信用支付因取消的扣款费用的人民币,单位:分
	CreditPayCancelFee int64 `json:"credit_pay_cancel_fee,omitempty" xml:"credit_pay_cancel_fee,omitempty"`
	// 渠道企业id
	HbsOutSourceCorpId string `json:"hbs_out_source_corp_id,omitempty" xml:"hbs_out_source_corp_id,omitempty"`
	// 售卖会员价
	SellingMemberPrice int64 `json:"selling_member_price,omitempty" xml:"selling_member_price,omitempty"`
	// 售卖价
	SellingPrice int64 `json:"selling_price,omitempty" xml:"selling_price,omitempty"`
	// 飞猪会员等级
	FliggyMemberLevel string `json:"fliggy_member_level,omitempty" xml:"fliggy_member_level,omitempty"`
	// 是否是菲住会员
	IsFzMember string `json:"is_fz_member,omitempty" xml:"is_fz_member,omitempty"`
	// 合并支付会员卡订单号
	MemberCardOrderId string `json:"member_card_order_id,omitempty" xml:"member_card_order_id,omitempty"`
}

Topinfomap

type Toprelationorders

type Toprelationorders struct {
	// 订单tid
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 房型名称
	RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"`
	// 联系人名称
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 入住时间
	CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,omitempty"`
	// 离店时间
	CheckOutDate string `json:"check_out_date,omitempty" xml:"check_out_date,omitempty"`
	// 联系手机号
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 统一订单状态
	UnionStatusText string `json:"union_status_text,omitempty" xml:"union_status_text,omitempty"`
	// 统一订单状态
	UnionStatusValue string `json:"union_status_value,omitempty" xml:"union_status_value,omitempty"`
	// 支付状态
	PayStatus int64 `json:"pay_status,omitempty" xml:"pay_status,omitempty"`
	// 房间数
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 入住天数
	Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"`
	// 支付金额
	Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"`
}

Toprelationorders

type UpdateOrderConfirmCodeParam

type UpdateOrderConfirmCodeParam struct {
	// PMS确认号
	PmsResId string `json:"pms_res_id,omitempty" xml:"pms_res_id,omitempty"`
	// 飞猪订单号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 商家系统订单号
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
}

UpdateOrderConfirmCodeParam

type UpdateRateDo

type UpdateRateDo struct {
	// 入离日期
	CheckDateDOList []CheckDateDo `json:"check_date_d_o_list,omitempty" xml:"check_date_d_o_list>check_date_do,omitempty"`
	// 酒店id
	OutHid string `json:"out_hid,omitempty" xml:"out_hid,omitempty"`
	// 成人数
	Adults int64 `json:"adults,omitempty" xml:"adults,omitempty"`
	// 儿童数
	Children int64 `json:"children,omitempty" xml:"children,omitempty"`
	// 儿童年龄,多个儿童年龄用竖线分割:4|5,默认儿童年龄为5岁
	Ages string `json:"ages,omitempty" xml:"ages,omitempty"`
}

UpdateRateDo

type UpdateRateParam

type UpdateRateParam struct {
	// rate更新列表
	UpdateRateDOList []UpdateRateDo `json:"update_rate_d_o_list,omitempty" xml:"update_rate_d_o_list>update_rate_do,omitempty"`
	// 过期时间
	ExpireTime string `json:"expire_time,omitempty" xml:"expire_time,omitempty"`
	// 供应商
	Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"`
}

UpdateRateParam

type ValueAddedInfo

type ValueAddedInfo struct {
	// 电话
	Tel string `json:"tel,omitempty" xml:"tel,omitempty"`
	// 注册地址
	RegisterAddr string `json:"register_addr,omitempty" xml:"register_addr,omitempty"`
	// 银行账号
	AccountNo string `json:"account_no,omitempty" xml:"account_no,omitempty"`
	// 开户行
	OpeningBank string `json:"opening_bank,omitempty" xml:"opening_bank,omitempty"`
	// 税号
	TaxNo string `json:"tax_no,omitempty" xml:"tax_no,omitempty"`
}

ValueAddedInfo

type XHotelOrder

type XHotelOrder struct {
	// 酒店订单id
	Oid int64 `json:"oid,omitempty" xml:"oid,omitempty"`
	// 酒店id
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 房型id
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 商品id
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// RatePlan 中的 rpid
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// tid
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 房间数
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 天数
	Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"`
	// 支付类型 可选值 1:预付 5:前台面付
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 入住时间
	CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"`
	// 离店时间
	CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"`
	// 总房价(分)
	TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"`
	// 实付款(分)
	Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"`
	// 卖家淘宝账号
	SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"`
	// 买家淘宝账号
	BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"`
	// 交易状态。 WAIT_BUYER_PAY:预订中/等待买家付款, WAIT_SELLER_SEND_GOODS:预订中/等待卖家发货(确认), TRADE_CLOSED:结束/预订失败/交易关闭, TRADE_FINISHED:结束/交易成功, TRADE_NO_CREATE_PAY:结束/预订失败/没有创建支付宝交易, TRADE_CLOSED_BY_TAOBAO:结束/预订失败/预订被卖家关闭, TRADE_SUCCESS:交易中/预订成功/卖家已确认, TRADE_CHECKIN:交易中/预定成功/买家入住, TRADE_CHECKOUT:交易中/预定成功/买家离店, TRADE_SETTLEING:交易中/预定成功/结账中, TRADE_SETTLE_SUCCESS:结束/预定成功/结账成功
	TradeStatus string `json:"trade_status,omitempty" xml:"trade_status,omitempty"`
	// 联系人姓名
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 联系人电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 订单创建时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 订单修改时间
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 付款时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 入住人信息
	Guests []XOrderGuest `json:"guests,omitempty" xml:"guests>x_order_guest,omitempty"`
	// 买家留言
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 支付宝交易号,28位字符
	AlipayTradeNo string `json:"alipay_trade_no,omitempty" xml:"alipay_trade_no,omitempty"`
	// 合作方订单号,最长250个字符
	OutOid string `json:"out_oid,omitempty" xml:"out_oid,omitempty"`
	// 买家最早到达时间
	ArriveEarly string `json:"arrive_early,omitempty" xml:"arrive_early,omitempty"`
	// 买家最晚到达时间
	ArriveLate string `json:"arrive_late,omitempty" xml:"arrive_late,omitempty"`
	// 下单时每间夜的价格(分)
	Prices []int64 `json:"prices,omitempty" xml:"prices>int64,omitempty"`
	// logisticsStatus
	LogisticsStatus string `json:"logistics_status,omitempty" xml:"logistics_status,omitempty"`
	// 预付订单使用,1买家已经申请退款,等待卖家同意,2卖家已经同意退款,等待买家退货,3买家已经退货,等待卖家确认收货,4退款关闭,5退款成功,6卖家拒绝退款,7没有申请退款
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
}

XHotelOrder

type XOrderGuest

type XOrderGuest struct {
	// 房间序号
	RoomPos int64 `json:"room_pos,omitempty" xml:"room_pos,omitempty"`
	// 入住人序号
	PersonPos int64 `json:"person_pos,omitempty" xml:"person_pos,omitempty"`
	// 入住人姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

XOrderGuest

Source Files

Jump to

Keyboard shortcuts

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