xhotelonlineorder

package
v1.4.0 Latest Latest
Warning

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

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

Documentation

Overview

Package xhotelonlineorder 包含酒店在线预订API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlitripXhotelChannelNotifyAPIRequest added in v1.3.4

func ReleaseAlitripXhotelChannelNotifyAPIRequest(v *AlitripXhotelChannelNotifyAPIRequest)

ReleaseAlitripXhotelChannelNotifyAPIRequest 将 AlitripXhotelChannelNotifyAPIRequest 放入 sync.Pool

func ReleaseAlitripXhotelChannelNotifyAPIResponse added in v1.3.4

func ReleaseAlitripXhotelChannelNotifyAPIResponse(v *AlitripXhotelChannelNotifyAPIResponse)

ReleaseAlitripXhotelChannelNotifyAPIResponse 将 AlitripXhotelChannelNotifyAPIResponse 保存到 sync.Pool

func ReleaseAlitripXhotelChannelOrderCreateAPIRequest added in v1.3.4

func ReleaseAlitripXhotelChannelOrderCreateAPIRequest(v *AlitripXhotelChannelOrderCreateAPIRequest)

ReleaseAlitripXhotelChannelOrderCreateAPIRequest 将 AlitripXhotelChannelOrderCreateAPIRequest 放入 sync.Pool

func ReleaseAlitripXhotelChannelOrderCreateAPIResponse added in v1.3.4

func ReleaseAlitripXhotelChannelOrderCreateAPIResponse(v *AlitripXhotelChannelOrderCreateAPIResponse)

ReleaseAlitripXhotelChannelOrderCreateAPIResponse 将 AlitripXhotelChannelOrderCreateAPIResponse 保存到 sync.Pool

func ReleaseAlitripXhotelChannelOrderMembertypeSyncAPIRequest added in v1.3.4

func ReleaseAlitripXhotelChannelOrderMembertypeSyncAPIRequest(v *AlitripXhotelChannelOrderMembertypeSyncAPIRequest)

ReleaseAlitripXhotelChannelOrderMembertypeSyncAPIRequest 将 AlitripXhotelChannelOrderMembertypeSyncAPIRequest 放入 sync.Pool

func ReleaseAlitripXhotelChannelOrderMembertypeSyncAPIResponse added in v1.3.4

func ReleaseAlitripXhotelChannelOrderMembertypeSyncAPIResponse(v *AlitripXhotelChannelOrderMembertypeSyncAPIResponse)

ReleaseAlitripXhotelChannelOrderMembertypeSyncAPIResponse 将 AlitripXhotelChannelOrderMembertypeSyncAPIResponse 保存到 sync.Pool

func ReleaseCancelPolicy added in v1.3.4

func ReleaseCancelPolicy(v *CancelPolicy)

ReleaseCancelPolicy 释放CancelPolicy

func ReleaseChannelSyncOrderMemberType added in v1.3.4

func ReleaseChannelSyncOrderMemberType(v *ChannelSyncOrderMemberType)

ReleaseChannelSyncOrderMemberType 释放ChannelSyncOrderMemberType

func ReleaseCheckDateDo added in v1.3.4

func ReleaseCheckDateDo(v *CheckDateDo)

ReleaseCheckDateDo 释放CheckDateDo

func ReleaseCommonInvoiceInfo added in v1.3.4

func ReleaseCommonInvoiceInfo(v *CommonInvoiceInfo)

ReleaseCommonInvoiceInfo 释放CommonInvoiceInfo

func ReleaseCreditCard added in v1.3.4

func ReleaseCreditCard(v *CreditCard)

ReleaseCreditCard 释放CreditCard

func ReleaseDailyPrice added in v1.3.4

func ReleaseDailyPrice(v *DailyPrice)

ReleaseDailyPrice 释放DailyPrice

func ReleaseDailyPriceInfo added in v1.3.4

func ReleaseDailyPriceInfo(v *DailyPriceInfo)

ReleaseDailyPriceInfo 释放DailyPriceInfo

func ReleaseDailyPriceTo added in v1.3.4

func ReleaseDailyPriceTo(v *DailyPriceTo)

ReleaseDailyPriceTo 释放DailyPriceTo

func ReleaseDailyRoomFee added in v1.3.4

func ReleaseDailyRoomFee(v *DailyRoomFee)

ReleaseDailyRoomFee 释放DailyRoomFee

func ReleaseFaceScanParam added in v1.3.4

func ReleaseFaceScanParam(v *FaceScanParam)

ReleaseFaceScanParam 释放FaceScanParam

func ReleaseGuestInfo added in v1.3.4

func ReleaseGuestInfo(v *GuestInfo)

ReleaseGuestInfo 释放GuestInfo

func ReleaseHbsDailyPriceDo added in v1.3.4

func ReleaseHbsDailyPriceDo(v *HbsDailyPriceDo)

ReleaseHbsDailyPriceDo 释放HbsDailyPriceDo

func ReleaseHbsResult added in v1.3.4

func ReleaseHbsResult(v *HbsResult)

ReleaseHbsResult 释放HbsResult

func ReleaseHotelOrderDirectInfo added in v1.3.4

func ReleaseHotelOrderDirectInfo(v *HotelOrderDirectInfo)

ReleaseHotelOrderDirectInfo 释放HotelOrderDirectInfo

func ReleaseHotelOrderSellerDo added in v1.3.4

func ReleaseHotelOrderSellerDo(v *HotelOrderSellerDo)

ReleaseHotelOrderSellerDo 释放HotelOrderSellerDo

func ReleaseInvoiceInfoParam added in v1.3.4

func ReleaseInvoiceInfoParam(v *InvoiceInfoParam)

ReleaseInvoiceInfoParam 释放InvoiceInfoParam

func ReleaseOrderBillInfo added in v1.3.4

func ReleaseOrderBillInfo(v *OrderBillInfo)

ReleaseOrderBillInfo 释放OrderBillInfo

func ReleaseOrderNotifyQuery added in v1.3.4

func ReleaseOrderNotifyQuery(v *OrderNotifyQuery)

ReleaseOrderNotifyQuery 释放OrderNotifyQuery

func ReleaseOrderPromotionDetail added in v1.3.4

func ReleaseOrderPromotionDetail(v *OrderPromotionDetail)

ReleaseOrderPromotionDetail 释放OrderPromotionDetail

func ReleaseOrderPromotionDo added in v1.3.4

func ReleaseOrderPromotionDo(v *OrderPromotionDo)

ReleaseOrderPromotionDo 释放OrderPromotionDo

func ReleaseOrderSellerPaymentDo added in v1.3.4

func ReleaseOrderSellerPaymentDo(v *OrderSellerPaymentDo)

ReleaseOrderSellerPaymentDo 释放OrderSellerPaymentDo

func ReleaseOrderSettleDo added in v1.3.4

func ReleaseOrderSettleDo(v *OrderSettleDo)

ReleaseOrderSettleDo 释放OrderSettleDo

func ReleaseOtherFeeDetail added in v1.3.4

func ReleaseOtherFeeDetail(v *OtherFeeDetail)

ReleaseOtherFeeDetail 释放OtherFeeDetail

func ReleaseOtherFeeInfo added in v1.3.4

func ReleaseOtherFeeInfo(v *OtherFeeInfo)

ReleaseOtherFeeInfo 释放OtherFeeInfo

func ReleaseOutSourceOrderCreateReq added in v1.3.4

func ReleaseOutSourceOrderCreateReq(v *OutSourceOrderCreateReq)

ReleaseOutSourceOrderCreateReq 释放OutSourceOrderCreateReq

func ReleaseOutSourceOrderCreateRes added in v1.3.4

func ReleaseOutSourceOrderCreateRes(v *OutSourceOrderCreateRes)

ReleaseOutSourceOrderCreateRes 释放OutSourceOrderCreateRes

func ReleaseRoomSettleInfo added in v1.3.4

func ReleaseRoomSettleInfo(v *RoomSettleInfo)

ReleaseRoomSettleInfo 释放RoomSettleInfo

func ReleaseStatementOrder added in v1.3.4

func ReleaseStatementOrder(v *StatementOrder)

ReleaseStatementOrder 释放StatementOrder

func ReleaseTaobaoXhotelCommoninvoiceListVtwoAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelCommoninvoiceListVtwoAPIRequest(v *TaobaoXhotelCommoninvoiceListVtwoAPIRequest)

ReleaseTaobaoXhotelCommoninvoiceListVtwoAPIRequest 将 TaobaoXhotelCommoninvoiceListVtwoAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelCommoninvoiceListVtwoAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelCommoninvoiceListVtwoAPIResponse(v *TaobaoXhotelCommoninvoiceListVtwoAPIResponse)

ReleaseTaobaoXhotelCommoninvoiceListVtwoAPIResponse 将 TaobaoXhotelCommoninvoiceListVtwoAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelCommoninvoiceListVtwoResultSet added in v1.3.4

func ReleaseTaobaoXhotelCommoninvoiceListVtwoResultSet(v *TaobaoXhotelCommoninvoiceListVtwoResultSet)

ReleaseTaobaoXhotelCommoninvoiceListVtwoResultSet 释放TaobaoXhotelCommoninvoiceListVtwoResultSet

func ReleaseTaobaoXhotelCommoninvoiceRemoveAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelCommoninvoiceRemoveAPIRequest(v *TaobaoXhotelCommoninvoiceRemoveAPIRequest)

ReleaseTaobaoXhotelCommoninvoiceRemoveAPIRequest 将 TaobaoXhotelCommoninvoiceRemoveAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelCommoninvoiceRemoveAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelCommoninvoiceRemoveAPIResponse(v *TaobaoXhotelCommoninvoiceRemoveAPIResponse)

ReleaseTaobaoXhotelCommoninvoiceRemoveAPIResponse 将 TaobaoXhotelCommoninvoiceRemoveAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelCommoninvoiceUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelCommoninvoiceUpdateAPIRequest(v *TaobaoXhotelCommoninvoiceUpdateAPIRequest)

ReleaseTaobaoXhotelCommoninvoiceUpdateAPIRequest 将 TaobaoXhotelCommoninvoiceUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelCommoninvoiceUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelCommoninvoiceUpdateAPIResponse(v *TaobaoXhotelCommoninvoiceUpdateAPIResponse)

ReleaseTaobaoXhotelCommoninvoiceUpdateAPIResponse 将 TaobaoXhotelCommoninvoiceUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelFastinvoiceCompleteAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelFastinvoiceCompleteAPIRequest(v *TaobaoXhotelFastinvoiceCompleteAPIRequest)

ReleaseTaobaoXhotelFastinvoiceCompleteAPIRequest 将 TaobaoXhotelFastinvoiceCompleteAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelFastinvoiceCompleteAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelFastinvoiceCompleteAPIResponse(v *TaobaoXhotelFastinvoiceCompleteAPIResponse)

ReleaseTaobaoXhotelFastinvoiceCompleteAPIResponse 将 TaobaoXhotelFastinvoiceCompleteAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelFastinvoiceRequestAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelFastinvoiceRequestAPIRequest(v *TaobaoXhotelFastinvoiceRequestAPIRequest)

ReleaseTaobaoXhotelFastinvoiceRequestAPIRequest 将 TaobaoXhotelFastinvoiceRequestAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelFastinvoiceRequestAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelFastinvoiceRequestAPIResponse(v *TaobaoXhotelFastinvoiceRequestAPIResponse)

ReleaseTaobaoXhotelFastinvoiceRequestAPIResponse 将 TaobaoXhotelFastinvoiceRequestAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelFutureSoftmodifyAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelFutureSoftmodifyAPIRequest(v *TaobaoXhotelFutureSoftmodifyAPIRequest)

ReleaseTaobaoXhotelFutureSoftmodifyAPIRequest 将 TaobaoXhotelFutureSoftmodifyAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelFutureSoftmodifyAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelFutureSoftmodifyAPIResponse(v *TaobaoXhotelFutureSoftmodifyAPIResponse)

ReleaseTaobaoXhotelFutureSoftmodifyAPIResponse 将 TaobaoXhotelFutureSoftmodifyAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelIntlRateUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelIntlRateUpdateAPIRequest(v *TaobaoXhotelIntlRateUpdateAPIRequest)

ReleaseTaobaoXhotelIntlRateUpdateAPIRequest 将 TaobaoXhotelIntlRateUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelIntlRateUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelIntlRateUpdateAPIResponse(v *TaobaoXhotelIntlRateUpdateAPIResponse)

ReleaseTaobaoXhotelIntlRateUpdateAPIResponse 将 TaobaoXhotelIntlRateUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelIntlRateUpdateResultSet added in v1.3.4

func ReleaseTaobaoXhotelIntlRateUpdateResultSet(v *TaobaoXhotelIntlRateUpdateResultSet)

ReleaseTaobaoXhotelIntlRateUpdateResultSet 释放TaobaoXhotelIntlRateUpdateResultSet

func ReleaseTaobaoXhotelMemberrightUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMemberrightUpdateAPIRequest(v *TaobaoXhotelMemberrightUpdateAPIRequest)

ReleaseTaobaoXhotelMemberrightUpdateAPIRequest 将 TaobaoXhotelMemberrightUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMemberrightUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMemberrightUpdateAPIResponse(v *TaobaoXhotelMemberrightUpdateAPIResponse)

ReleaseTaobaoXhotelMemberrightUpdateAPIResponse 将 TaobaoXhotelMemberrightUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest(v *TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest)

ReleaseTaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest 将 TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse(v *TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse)

ReleaseTaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse 将 TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderAlipayfaceSettleAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderAlipayfaceSettleAPIRequest(v *TaobaoXhotelOrderAlipayfaceSettleAPIRequest)

ReleaseTaobaoXhotelOrderAlipayfaceSettleAPIRequest 将 TaobaoXhotelOrderAlipayfaceSettleAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderAlipayfaceSettleAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderAlipayfaceSettleAPIResponse(v *TaobaoXhotelOrderAlipayfaceSettleAPIResponse)

ReleaseTaobaoXhotelOrderAlipayfaceSettleAPIResponse 将 TaobaoXhotelOrderAlipayfaceSettleAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderAlipayfaceUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderAlipayfaceUpdateAPIRequest(v *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest)

ReleaseTaobaoXhotelOrderAlipayfaceUpdateAPIRequest 将 TaobaoXhotelOrderAlipayfaceUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderAlipayfaceUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderAlipayfaceUpdateAPIResponse(v *TaobaoXhotelOrderAlipayfaceUpdateAPIResponse)

ReleaseTaobaoXhotelOrderAlipayfaceUpdateAPIResponse 将 TaobaoXhotelOrderAlipayfaceUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderDetailSearchAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderDetailSearchAPIRequest(v *TaobaoXhotelOrderDetailSearchAPIRequest)

ReleaseTaobaoXhotelOrderDetailSearchAPIRequest 将 TaobaoXhotelOrderDetailSearchAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderDetailSearchAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderDetailSearchAPIResponse(v *TaobaoXhotelOrderDetailSearchAPIResponse)

ReleaseTaobaoXhotelOrderDetailSearchAPIResponse 将 TaobaoXhotelOrderDetailSearchAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderFutureFacescanPutAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderFutureFacescanPutAPIRequest(v *TaobaoXhotelOrderFutureFacescanPutAPIRequest)

ReleaseTaobaoXhotelOrderFutureFacescanPutAPIRequest 将 TaobaoXhotelOrderFutureFacescanPutAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderFutureFacescanPutAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderFutureFacescanPutAPIResponse(v *TaobaoXhotelOrderFutureFacescanPutAPIResponse)

ReleaseTaobaoXhotelOrderFutureFacescanPutAPIResponse 将 TaobaoXhotelOrderFutureFacescanPutAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderFutureFacescanPutResultSet added in v1.3.4

func ReleaseTaobaoXhotelOrderFutureFacescanPutResultSet(v *TaobaoXhotelOrderFutureFacescanPutResultSet)

ReleaseTaobaoXhotelOrderFutureFacescanPutResultSet 释放TaobaoXhotelOrderFutureFacescanPutResultSet

func ReleaseTaobaoXhotelOrderFutureInfoGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderFutureInfoGetAPIRequest(v *TaobaoXhotelOrderFutureInfoGetAPIRequest)

ReleaseTaobaoXhotelOrderFutureInfoGetAPIRequest 将 TaobaoXhotelOrderFutureInfoGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderFutureInfoGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderFutureInfoGetAPIResponse(v *TaobaoXhotelOrderFutureInfoGetAPIResponse)

ReleaseTaobaoXhotelOrderFutureInfoGetAPIResponse 将 TaobaoXhotelOrderFutureInfoGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderFutureInfoPutAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderFutureInfoPutAPIRequest(v *TaobaoXhotelOrderFutureInfoPutAPIRequest)

ReleaseTaobaoXhotelOrderFutureInfoPutAPIRequest 将 TaobaoXhotelOrderFutureInfoPutAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderFutureInfoPutAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderFutureInfoPutAPIResponse(v *TaobaoXhotelOrderFutureInfoPutAPIResponse)

ReleaseTaobaoXhotelOrderFutureInfoPutAPIResponse 将 TaobaoXhotelOrderFutureInfoPutAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderSearchAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderSearchAPIRequest(v *TaobaoXhotelOrderSearchAPIRequest)

ReleaseTaobaoXhotelOrderSearchAPIRequest 将 TaobaoXhotelOrderSearchAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderSearchAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderSearchAPIResponse(v *TaobaoXhotelOrderSearchAPIResponse)

ReleaseTaobaoXhotelOrderSearchAPIResponse 将 TaobaoXhotelOrderSearchAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderStatementGetAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderStatementGetAPIRequest(v *TaobaoXhotelOrderStatementGetAPIRequest)

ReleaseTaobaoXhotelOrderStatementGetAPIRequest 将 TaobaoXhotelOrderStatementGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderStatementGetAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderStatementGetAPIResponse(v *TaobaoXhotelOrderStatementGetAPIResponse)

ReleaseTaobaoXhotelOrderStatementGetAPIResponse 将 TaobaoXhotelOrderStatementGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderUpdateAPIRequest(v *TaobaoXhotelOrderUpdateAPIRequest)

ReleaseTaobaoXhotelOrderUpdateAPIRequest 将 TaobaoXhotelOrderUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderUpdateAPIResponse(v *TaobaoXhotelOrderUpdateAPIResponse)

ReleaseTaobaoXhotelOrderUpdateAPIResponse 将 TaobaoXhotelOrderUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelOrderUpdateConfirmcodeAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelOrderUpdateConfirmcodeAPIRequest(v *TaobaoXhotelOrderUpdateConfirmcodeAPIRequest)

ReleaseTaobaoXhotelOrderUpdateConfirmcodeAPIRequest 将 TaobaoXhotelOrderUpdateConfirmcodeAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelOrderUpdateConfirmcodeAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelOrderUpdateConfirmcodeAPIResponse(v *TaobaoXhotelOrderUpdateConfirmcodeAPIResponse)

ReleaseTaobaoXhotelOrderUpdateConfirmcodeAPIResponse 将 TaobaoXhotelOrderUpdateConfirmcodeAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelPmsGuestbillGetVtwoAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelPmsGuestbillGetVtwoAPIRequest(v *TaobaoXhotelPmsGuestbillGetVtwoAPIRequest)

ReleaseTaobaoXhotelPmsGuestbillGetVtwoAPIRequest 将 TaobaoXhotelPmsGuestbillGetVtwoAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelPmsGuestbillGetVtwoAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelPmsGuestbillGetVtwoAPIResponse(v *TaobaoXhotelPmsGuestbillGetVtwoAPIResponse)

ReleaseTaobaoXhotelPmsGuestbillGetVtwoAPIResponse 将 TaobaoXhotelPmsGuestbillGetVtwoAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelPmsGuestbillGetVtwoResultSet added in v1.3.4

func ReleaseTaobaoXhotelPmsGuestbillGetVtwoResultSet(v *TaobaoXhotelPmsGuestbillGetVtwoResultSet)

ReleaseTaobaoXhotelPmsGuestbillGetVtwoResultSet 释放TaobaoXhotelPmsGuestbillGetVtwoResultSet

func ReleaseTopDailyInfo added in v1.3.4

func ReleaseTopDailyInfo(v *TopDailyInfo)

ReleaseTopDailyInfo 释放TopDailyInfo

func ReleaseTopDailySellerPromotion added in v1.3.4

func ReleaseTopDailySellerPromotion(v *TopDailySellerPromotion)

ReleaseTopDailySellerPromotion 释放TopDailySellerPromotion

func ReleaseTopDomesticPriceInfoDo added in v1.3.4

func ReleaseTopDomesticPriceInfoDo(v *TopDomesticPriceInfoDo)

ReleaseTopDomesticPriceInfoDo 释放TopDomesticPriceInfoDo

func ReleaseTopHotelPromotion added in v1.3.4

func ReleaseTopHotelPromotion(v *TopHotelPromotion)

ReleaseTopHotelPromotion 释放TopHotelPromotion

func ReleaseTopInvoiceDo added in v1.3.4

func ReleaseTopInvoiceDo(v *TopInvoiceDo)

ReleaseTopInvoiceDo 释放TopInvoiceDo

func ReleaseTopOrderCouponDo added in v1.3.4

func ReleaseTopOrderCouponDo(v *TopOrderCouponDo)

ReleaseTopOrderCouponDo 释放TopOrderCouponDo

func ReleaseTopOrderDetail added in v1.3.4

func ReleaseTopOrderDetail(v *TopOrderDetail)

ReleaseTopOrderDetail 释放TopOrderDetail

func ReleaseTopOrderGuest added in v1.3.4

func ReleaseTopOrderGuest(v *TopOrderGuest)

ReleaseTopOrderGuest 释放TopOrderGuest

func ReleaseTopOrderPackageDetail added in v1.3.4

func ReleaseTopOrderPackageDetail(v *TopOrderPackageDetail)

ReleaseTopOrderPackageDetail 释放TopOrderPackageDetail

func ReleaseTopOrderPackageDo added in v1.3.4

func ReleaseTopOrderPackageDo(v *TopOrderPackageDo)

ReleaseTopOrderPackageDo 释放TopOrderPackageDo

func ReleaseTopOrderPromotionDetail added in v1.3.4

func ReleaseTopOrderPromotionDetail(v *TopOrderPromotionDetail)

ReleaseTopOrderPromotionDetail 释放TopOrderPromotionDetail

func ReleaseTopOrderPromotionExtend added in v1.3.4

func ReleaseTopOrderPromotionExtend(v *TopOrderPromotionExtend)

ReleaseTopOrderPromotionExtend 释放TopOrderPromotionExtend

func ReleaseTopOverseasPriceInfoDo added in v1.3.4

func ReleaseTopOverseasPriceInfoDo(v *TopOverseasPriceInfoDo)

ReleaseTopOverseasPriceInfoDo 释放TopOverseasPriceInfoDo

func ReleaseTopPostTradeRefundDo added in v1.3.4

func ReleaseTopPostTradeRefundDo(v *TopPostTradeRefundDo)

ReleaseTopPostTradeRefundDo 释放TopPostTradeRefundDo

func ReleaseTopPromotion added in v1.3.4

func ReleaseTopPromotion(v *TopPromotion)

ReleaseTopPromotion 释放TopPromotion

func ReleaseTopinfomap added in v1.3.4

func ReleaseTopinfomap(v *Topinfomap)

ReleaseTopinfomap 释放Topinfomap

func ReleaseUpdateOrderConfirmCodeParam added in v1.3.4

func ReleaseUpdateOrderConfirmCodeParam(v *UpdateOrderConfirmCodeParam)

ReleaseUpdateOrderConfirmCodeParam 释放UpdateOrderConfirmCodeParam

func ReleaseUpdateRateDo added in v1.3.4

func ReleaseUpdateRateDo(v *UpdateRateDo)

ReleaseUpdateRateDo 释放UpdateRateDo

func ReleaseUpdateRateParam added in v1.3.4

func ReleaseUpdateRateParam(v *UpdateRateParam)

ReleaseUpdateRateParam 释放UpdateRateParam

func ReleaseValueAddedInfo added in v1.3.4

func ReleaseValueAddedInfo(v *ValueAddedInfo)

ReleaseValueAddedInfo 释放ValueAddedInfo

func ReleaseXHotelOrder added in v1.3.4

func ReleaseXHotelOrder(v *XHotelOrder)

ReleaseXHotelOrder 释放XHotelOrder

func ReleaseXOrderGuest added in v1.3.4

func ReleaseXOrderGuest(v *XOrderGuest)

ReleaseXOrderGuest 释放XOrderGuest

Types

type AlitripXhotelChannelNotifyAPIRequest added in v1.2.0

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

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

分销渠道支付通知

func GetAlitripXhotelChannelNotifyAPIRequest added in v1.3.4

func GetAlitripXhotelChannelNotifyAPIRequest() *AlitripXhotelChannelNotifyAPIRequest

GetAlitripXhotelChannelNotifyRequest 从 sync.Pool 获取 AlitripXhotelChannelNotifyAPIRequest

func NewAlitripXhotelChannelNotifyRequest

func NewAlitripXhotelChannelNotifyRequest() *AlitripXhotelChannelNotifyAPIRequest

NewAlitripXhotelChannelNotifyRequest 初始化AlitripXhotelChannelNotifyAPIRequest对象

func (AlitripXhotelChannelNotifyAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripXhotelChannelNotifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripXhotelChannelNotifyAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripXhotelChannelNotifyAPIRequest) GetOrderNotifyQuery added in v1.2.0

func (r AlitripXhotelChannelNotifyAPIRequest) GetOrderNotifyQuery() *OrderNotifyQuery

GetOrderNotifyQuery OrderNotifyQuery Getter

func (AlitripXhotelChannelNotifyAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripXhotelChannelNotifyAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripXhotelChannelNotifyAPIRequest) SetOrderNotifyQuery added in v1.2.0

func (r *AlitripXhotelChannelNotifyAPIRequest) SetOrderNotifyQuery(_orderNotifyQuery *OrderNotifyQuery) error

SetOrderNotifyQuery is OrderNotifyQuery Setter 通知类型查询条件

type AlitripXhotelChannelNotifyAPIResponse

type AlitripXhotelChannelNotifyAPIResponse struct {
	model.CommonResponse
	AlitripXhotelChannelNotifyAPIResponseModel
}

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

分销渠道支付通知

func GetAlitripXhotelChannelNotifyAPIResponse added in v1.3.4

func GetAlitripXhotelChannelNotifyAPIResponse() *AlitripXhotelChannelNotifyAPIResponse

GetAlitripXhotelChannelNotifyAPIResponse 从 sync.Pool 获取 AlitripXhotelChannelNotifyAPIResponse

func (*AlitripXhotelChannelNotifyAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripXhotelChannelNotifyAPIResponseModel added in v1.2.0

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

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

func (*AlitripXhotelChannelNotifyAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripXhotelChannelOrderCreateAPIRequest added in v1.2.0

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

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

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

func GetAlitripXhotelChannelOrderCreateAPIRequest added in v1.3.4

func GetAlitripXhotelChannelOrderCreateAPIRequest() *AlitripXhotelChannelOrderCreateAPIRequest

GetAlitripXhotelChannelOrderCreateRequest 从 sync.Pool 获取 AlitripXhotelChannelOrderCreateAPIRequest

func NewAlitripXhotelChannelOrderCreateRequest

func NewAlitripXhotelChannelOrderCreateRequest() *AlitripXhotelChannelOrderCreateAPIRequest

NewAlitripXhotelChannelOrderCreateRequest 初始化AlitripXhotelChannelOrderCreateAPIRequest对象

func (AlitripXhotelChannelOrderCreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripXhotelChannelOrderCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripXhotelChannelOrderCreateAPIRequest) GetOutSourceOrderCreateReq added in v1.2.0

GetOutSourceOrderCreateReq OutSourceOrderCreateReq Getter

func (AlitripXhotelChannelOrderCreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripXhotelChannelOrderCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripXhotelChannelOrderCreateAPIRequest) SetOutSourceOrderCreateReq added in v1.2.0

func (r *AlitripXhotelChannelOrderCreateAPIRequest) SetOutSourceOrderCreateReq(_outSourceOrderCreateReq *OutSourceOrderCreateReq) error

SetOutSourceOrderCreateReq is OutSourceOrderCreateReq Setter 创建订单参数

type AlitripXhotelChannelOrderCreateAPIResponse

type AlitripXhotelChannelOrderCreateAPIResponse struct {
	model.CommonResponse
	AlitripXhotelChannelOrderCreateAPIResponseModel
}

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

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

func GetAlitripXhotelChannelOrderCreateAPIResponse added in v1.3.4

func GetAlitripXhotelChannelOrderCreateAPIResponse() *AlitripXhotelChannelOrderCreateAPIResponse

GetAlitripXhotelChannelOrderCreateAPIResponse 从 sync.Pool 获取 AlitripXhotelChannelOrderCreateAPIResponse

func (*AlitripXhotelChannelOrderCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripXhotelChannelOrderCreateAPIResponseModel added in v1.2.0

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

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

func (*AlitripXhotelChannelOrderCreateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlitripXhotelChannelOrderMembertypeSyncAPIRequest added in v1.2.0

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

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

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

func GetAlitripXhotelChannelOrderMembertypeSyncAPIRequest added in v1.3.4

func GetAlitripXhotelChannelOrderMembertypeSyncAPIRequest() *AlitripXhotelChannelOrderMembertypeSyncAPIRequest

GetAlitripXhotelChannelOrderMembertypeSyncRequest 从 sync.Pool 获取 AlitripXhotelChannelOrderMembertypeSyncAPIRequest

func NewAlitripXhotelChannelOrderMembertypeSyncRequest

func NewAlitripXhotelChannelOrderMembertypeSyncRequest() *AlitripXhotelChannelOrderMembertypeSyncAPIRequest

NewAlitripXhotelChannelOrderMembertypeSyncRequest 初始化AlitripXhotelChannelOrderMembertypeSyncAPIRequest对象

func (AlitripXhotelChannelOrderMembertypeSyncAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripXhotelChannelOrderMembertypeSyncAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripXhotelChannelOrderMembertypeSyncAPIRequest) GetChannelSyncOrderMemberType added in v1.2.0

GetChannelSyncOrderMemberType ChannelSyncOrderMemberType Getter

func (AlitripXhotelChannelOrderMembertypeSyncAPIRequest) GetRawParams added in v1.2.8

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

func (*AlitripXhotelChannelOrderMembertypeSyncAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlitripXhotelChannelOrderMembertypeSyncAPIRequest) SetChannelSyncOrderMemberType added in v1.2.0

func (r *AlitripXhotelChannelOrderMembertypeSyncAPIRequest) SetChannelSyncOrderMemberType(_channelSyncOrderMemberType *ChannelSyncOrderMemberType) error

SetChannelSyncOrderMemberType is ChannelSyncOrderMemberType Setter 入参

type AlitripXhotelChannelOrderMembertypeSyncAPIResponse

type AlitripXhotelChannelOrderMembertypeSyncAPIResponse struct {
	model.CommonResponse
	AlitripXhotelChannelOrderMembertypeSyncAPIResponseModel
}

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

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

func GetAlitripXhotelChannelOrderMembertypeSyncAPIResponse added in v1.3.4

func GetAlitripXhotelChannelOrderMembertypeSyncAPIResponse() *AlitripXhotelChannelOrderMembertypeSyncAPIResponse

GetAlitripXhotelChannelOrderMembertypeSyncAPIResponse 从 sync.Pool 获取 AlitripXhotelChannelOrderMembertypeSyncAPIResponse

func (*AlitripXhotelChannelOrderMembertypeSyncAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlitripXhotelChannelOrderMembertypeSyncAPIResponseModel added in v1.2.0

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

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

func (*AlitripXhotelChannelOrderMembertypeSyncAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type CancelPolicy

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

CancelPolicy 结构体

func GetCancelPolicy added in v1.3.4

func GetCancelPolicy() *CancelPolicy

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

func GetChannelSyncOrderMemberType added in v1.3.4

func GetChannelSyncOrderMemberType() *ChannelSyncOrderMemberType

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

func GetCheckDateDo added in v1.3.4

func GetCheckDateDo() *CheckDateDo

GetCheckDateDo() 从对象池中获取CheckDateDo

type CommonInvoiceInfo

type CommonInvoiceInfo struct {
	// 发票抬头
	CompanyTitle string `json:"company_title,omitempty" xml:"company_title,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"`
	// 专票信息
	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"`
	// 淘宝用户id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 发票id
	InvoiceId int64 `json:"invoice_id,omitempty" xml:"invoice_id,omitempty"`
}

CommonInvoiceInfo 结构体

func GetCommonInvoiceInfo added in v1.3.4

func GetCommonInvoiceInfo() *CommonInvoiceInfo

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

func GetCreditCard added in v1.3.4

func GetCreditCard() *CreditCard

GetCreditCard() 从对象池中获取CreditCard

type DailyPrice

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

DailyPrice 结构体

func GetDailyPrice added in v1.3.4

func GetDailyPrice() *DailyPrice

GetDailyPrice() 从对象池中获取DailyPrice

type DailyPriceInfo

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

DailyPriceInfo 结构体

func GetDailyPriceInfo added in v1.3.4

func GetDailyPriceInfo() *DailyPriceInfo

GetDailyPriceInfo() 从对象池中获取DailyPriceInfo

type DailyPriceTo

type DailyPriceTo struct {
	// 币种名称
	CurrencyCodeName string `json:"currency_code_name,omitempty" xml:"currency_code_name,omitempty"`
	// 日期
	Day string `json:"day,omitempty" xml:"day,omitempty"`
	// 外币价格
	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"`
	// 价格
	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"`
	// 优惠后金额
	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 结构体

func GetDailyPriceTo added in v1.3.4

func GetDailyPriceTo() *DailyPriceTo

GetDailyPriceTo() 从对象池中获取DailyPriceTo

type DailyRoomFee

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

DailyRoomFee 结构体

func GetDailyRoomFee added in v1.3.4

func GetDailyRoomFee() *DailyRoomFee

GetDailyRoomFee() 从对象池中获取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"`
	// 设备id
	DeviceId string `json:"device_id,omitempty" xml:"device_id,omitempty"`
	// 设备厂商名,下划线隔开,字母小写
	DeviceFirm string `json:"device_firm,omitempty" xml:"device_firm,omitempty"`
	// 证件类型:20:身份证
	CertificateType int64 `json:"certificate_type,omitempty" xml:"certificate_type,omitempty"`
}

FaceScanParam 结构体

func GetFaceScanParam added in v1.3.4

func GetFaceScanParam() *FaceScanParam

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

func GetGuestInfo added in v1.3.4

func GetGuestInfo() *GuestInfo

GetGuestInfo() 从对象池中获取GuestInfo

type HbsDailyPriceDo

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

HbsDailyPriceDo 结构体

func GetHbsDailyPriceDo added in v1.3.4

func GetHbsDailyPriceDo() *HbsDailyPriceDo

GetHbsDailyPriceDo() 从对象池中获取HbsDailyPriceDo

type HbsResult

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

HbsResult 结构体

func GetHbsResult added in v1.3.4

func GetHbsResult() *HbsResult

GetHbsResult() 从对象池中获取HbsResult

type HotelOrderDirectInfo

type HotelOrderDirectInfo struct {
	// 单次请求的唯一标识
	RequestID string `json:"request_i_d,omitempty" xml:"request_i_d,omitempty"`
	// 外部订单号
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_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"`
	// 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"`
	// 给酒店前台展示的文案提示
	DisplayText string `json:"display_text,omitempty" xml:"display_text,omitempty"`
	// 淘宝订单号
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
	// 卖家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 操作类型 1.在线开发票请求 3.在线选房请求 4.自助checkIn请求 13.扫脸入住身份信息请求 10.房态信息查询请求 103.通用任务取消指令
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,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"`
}

HotelOrderDirectInfo 结构体

func GetHotelOrderDirectInfo added in v1.3.4

func GetHotelOrderDirectInfo() *HotelOrderDirectInfo

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

func GetHotelOrderSellerDo added in v1.3.4

func GetHotelOrderSellerDo() *HotelOrderSellerDo

GetHotelOrderSellerDo() 从对象池中获取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"`
	// 身份证后4位
	ShortIdNumber string `json:"short_id_number,omitempty" xml:"short_id_number,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"`
	// 用户名
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
	// 酒店外部订单号(从查询pms账单接口中获取)
	OutOrderNum string `json:"out_order_num,omitempty" xml:"out_order_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"`
	// 预计开票房费金额(分)
	PlanInvoiceRoomPrice int64 `json:"plan_invoice_room_price,omitempty" xml:"plan_invoice_room_price,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"`
}

InvoiceInfoParam 结构体

func GetInvoiceInfoParam added in v1.3.4

func GetInvoiceInfoParam() *InvoiceInfoParam

GetInvoiceInfoParam() 从对象池中获取InvoiceInfoParam

type OrderBillInfo

type OrderBillInfo struct {
	// 离店日期
	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"`
	// 请求id (同入参)
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 未结账房费
	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"`
	// 淘宝订单号
	Tid int64 `json:"tid,omitempty" xml:"tid,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"`
	// 杂费明细列表
	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 结构体

func GetOrderBillInfo added in v1.3.4

func GetOrderBillInfo() *OrderBillInfo

GetOrderBillInfo() 从对象池中获取OrderBillInfo

type OrderNotifyQuery

type OrderNotifyQuery struct {
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 会员卡号
	MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,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"`
}

OrderNotifyQuery 结构体

func GetOrderNotifyQuery added in v1.3.4

func GetOrderNotifyQuery() *OrderNotifyQuery

GetOrderNotifyQuery() 从对象池中获取OrderNotifyQuery

type OrderPromotionDetail added in v1.2.5

type OrderPromotionDetail struct {
	// 优惠日历数据,如{时间:{\"amount\":每日优惠金额,},时间:{\"amount\":每日优惠金额}}
	DailyHotelPromotion string `json:"daily_hotel_promotion,omitempty" xml:"daily_hotel_promotion,omitempty"`
	// 总卖家优惠
	SellerDecrease int64 `json:"seller_decrease,omitempty" xml:"seller_decrease,omitempty"`
}

OrderPromotionDetail 结构体

func GetOrderPromotionDetail added in v1.3.4

func GetOrderPromotionDetail() *OrderPromotionDetail

GetOrderPromotionDetail() 从对象池中获取OrderPromotionDetail

type OrderPromotionDo added in v1.2.5

type OrderPromotionDo struct {
	// OrderPromotionDetail
	CurrentOrderPromotion *OrderPromotionDetail `json:"current_order_promotion,omitempty" xml:"current_order_promotion,omitempty"`
}

OrderPromotionDo 结构体

func GetOrderPromotionDo added in v1.3.4

func GetOrderPromotionDo() *OrderPromotionDo

GetOrderPromotionDo() 从对象池中获取OrderPromotionDo

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

func GetOrderSellerPaymentDo added in v1.3.4

func GetOrderSellerPaymentDo() *OrderSellerPaymentDo

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

func GetOrderSettleDo added in v1.3.4

func GetOrderSettleDo() *OrderSettleDo

GetOrderSettleDo() 从对象池中获取OrderSettleDo

type OtherFeeDetail

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

OtherFeeDetail 结构体

func GetOtherFeeDetail added in v1.3.4

func GetOtherFeeDetail() *OtherFeeDetail

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

func GetOtherFeeInfo added in v1.3.4

func GetOtherFeeInfo() *OtherFeeInfo

GetOtherFeeInfo() 从对象池中获取OtherFeeInfo

type OutSourceOrderCreateReq

type OutSourceOrderCreateReq struct {
	// 入住人信息
	GuestInfoList []GuestInfo `json:"guest_info_list,omitempty" xml:"guest_info_list>guest_info,omitempty"`
	// 日历价格
	DailyPriceInfoList []DailyPriceInfo `json:"daily_price_info_list,omitempty" xml:"daily_price_info_list>daily_price_info,omitempty"`
	// 下单来源信息
	CreateAppKey string `json:"create_app_key,omitempty" xml:"create_app_key,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 预订的标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 外部渠道用户id,钉钉必传
	OutUserId string `json:"out_user_id,omitempty" xml:"out_user_id,omitempty"`
	// 外部渠道 钉钉 欢行 ...
	OutSource string `json:"out_source,omitempty" xml:"out_source,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"`
	// 入住日期
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 外部订单号,幂等性保障
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 一些扩展属性
	Attributes string `json:"attributes,omitempty" xml:"attributes,omitempty"`
	// 联系人电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 取消政策描述
	CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"`
	// 酒店hid
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 房间数
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 是否即时确认订单,1表示是
	TagJsqr int64 `json:"tag_jsqr,omitempty" xml:"tag_jsqr,omitempty"`
	// gid
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// rid
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// rpid
	RpId int64 `json:"rp_id,omitempty" xml:"rp_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"`
	// 总价  单位 分
	TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,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"`
	// 平台促销
	PlatformPromotion int64 `json:"platform_promotion,omitempty" xml:"platform_promotion,omitempty"`
	// 卖家促销
	SellerPromotion int64 `json:"seller_promotion,omitempty" xml:"seller_promotion,omitempty"`
	// 是否直连订单
	IsDirectOrder bool `json:"is_direct_order,omitempty" xml:"is_direct_order,omitempty"`
}

OutSourceOrderCreateReq 结构体

func GetOutSourceOrderCreateReq added in v1.3.4

func GetOutSourceOrderCreateReq() *OutSourceOrderCreateReq

GetOutSourceOrderCreateReq() 从对象池中获取OutSourceOrderCreateReq

type OutSourceOrderCreateRes

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

OutSourceOrderCreateRes 结构体

func GetOutSourceOrderCreateRes added in v1.3.4

func GetOutSourceOrderCreateRes() *OutSourceOrderCreateRes

GetOutSourceOrderCreateRes() 从对象池中获取OutSourceOrderCreateRes

type RoomSettleInfo

type RoomSettleInfo struct {
	// 房间号
	RoomNo string `json:"room_no,omitempty" xml:"room_no,omitempty"`
	// 房间杂费明细 (当房间杂费存在时候,此值不能空。格式与原有杂费格式otherFeeDetail的格式相同)eg;{"洗衣费":5000,"水吧":10000,"优惠":1000}
	RoomOtherFeeDetail string `json:"room_other_fee_detail,omitempty" xml:"room_other_fee_detail,omitempty"`
	// 房间check in 时间
	RoomCheckIn string `json:"room_check_in,omitempty" xml:"room_check_in,omitempty"`
	// 房间check out时间
	RoomCheckOut string `json:"room_check_out,omitempty" xml:"room_check_out,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"`
	// 房间费(大于零)
	RoomFee int64 `json:"room_fee,omitempty" xml:"room_fee,omitempty"`
	// 房间杂费(不能为负数)
	RoomOtherFee int64 `json:"room_other_fee,omitempty" xml:"room_other_fee,omitempty"`
}

RoomSettleInfo 结构体

func GetRoomSettleInfo added in v1.3.4

func GetRoomSettleInfo() *RoomSettleInfo

GetRoomSettleInfo() 从对象池中获取RoomSettleInfo

type StatementOrder

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

StatementOrder 结构体

func GetStatementOrder added in v1.3.4

func GetStatementOrder() *StatementOrder

GetStatementOrder() 从对象池中获取StatementOrder

type TaobaoXhotelCommoninvoiceListVtwoAPIRequest added in v1.2.0

type TaobaoXhotelCommoninvoiceListVtwoAPIRequest struct {
	model.Params
}

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

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

func GetTaobaoXhotelCommoninvoiceListVtwoAPIRequest added in v1.3.4

func GetTaobaoXhotelCommoninvoiceListVtwoAPIRequest() *TaobaoXhotelCommoninvoiceListVtwoAPIRequest

GetTaobaoXhotelCommoninvoiceListVtwoRequest 从 sync.Pool 获取 TaobaoXhotelCommoninvoiceListVtwoAPIRequest

func NewTaobaoXhotelCommoninvoiceListVtwoRequest

func NewTaobaoXhotelCommoninvoiceListVtwoRequest() *TaobaoXhotelCommoninvoiceListVtwoAPIRequest

NewTaobaoXhotelCommoninvoiceListVtwoRequest 初始化TaobaoXhotelCommoninvoiceListVtwoAPIRequest对象

func (TaobaoXhotelCommoninvoiceListVtwoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelCommoninvoiceListVtwoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelCommoninvoiceListVtwoAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoXhotelCommoninvoiceListVtwoAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type TaobaoXhotelCommoninvoiceListVtwoAPIResponse

type TaobaoXhotelCommoninvoiceListVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCommoninvoiceListVtwoAPIResponseModel
}

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

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

func GetTaobaoXhotelCommoninvoiceListVtwoAPIResponse added in v1.3.4

func GetTaobaoXhotelCommoninvoiceListVtwoAPIResponse() *TaobaoXhotelCommoninvoiceListVtwoAPIResponse

GetTaobaoXhotelCommoninvoiceListVtwoAPIResponse 从 sync.Pool 获取 TaobaoXhotelCommoninvoiceListVtwoAPIResponse

func (*TaobaoXhotelCommoninvoiceListVtwoAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCommoninvoiceListVtwoAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelCommoninvoiceListVtwoAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCommoninvoiceListVtwoResultSet

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

TaobaoXhotelCommoninvoiceListVtwoResultSet 结构体

func GetTaobaoXhotelCommoninvoiceListVtwoResultSet added in v1.3.4

func GetTaobaoXhotelCommoninvoiceListVtwoResultSet() *TaobaoXhotelCommoninvoiceListVtwoResultSet

GetTaobaoXhotelCommoninvoiceListVtwoResultSet() 从对象池中获取TaobaoXhotelCommoninvoiceListVtwoResultSet

type TaobaoXhotelCommoninvoiceRemoveAPIRequest added in v1.2.0

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

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

常用发票信息删除接口

func GetTaobaoXhotelCommoninvoiceRemoveAPIRequest added in v1.3.4

func GetTaobaoXhotelCommoninvoiceRemoveAPIRequest() *TaobaoXhotelCommoninvoiceRemoveAPIRequest

GetTaobaoXhotelCommoninvoiceRemoveRequest 从 sync.Pool 获取 TaobaoXhotelCommoninvoiceRemoveAPIRequest

func NewTaobaoXhotelCommoninvoiceRemoveRequest

func NewTaobaoXhotelCommoninvoiceRemoveRequest() *TaobaoXhotelCommoninvoiceRemoveAPIRequest

NewTaobaoXhotelCommoninvoiceRemoveRequest 初始化TaobaoXhotelCommoninvoiceRemoveAPIRequest对象

func (TaobaoXhotelCommoninvoiceRemoveAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelCommoninvoiceRemoveAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelCommoninvoiceRemoveAPIRequest) GetInvoiceId added in v1.2.0

GetInvoiceId InvoiceId Getter

func (TaobaoXhotelCommoninvoiceRemoveAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelCommoninvoiceRemoveAPIRequest) GetUserNick added in v1.2.0

GetUserNick UserNick Getter

func (*TaobaoXhotelCommoninvoiceRemoveAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelCommoninvoiceRemoveAPIRequest) SetInvoiceId added in v1.2.0

func (r *TaobaoXhotelCommoninvoiceRemoveAPIRequest) SetInvoiceId(_invoiceId int64) error

SetInvoiceId is InvoiceId Setter 发票id

func (*TaobaoXhotelCommoninvoiceRemoveAPIRequest) SetUserNick added in v1.2.0

func (r *TaobaoXhotelCommoninvoiceRemoveAPIRequest) SetUserNick(_userNick string) error

SetUserNick is UserNick Setter 用户名

type TaobaoXhotelCommoninvoiceRemoveAPIResponse

type TaobaoXhotelCommoninvoiceRemoveAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCommoninvoiceRemoveAPIResponseModel
}

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

常用发票信息删除接口

func GetTaobaoXhotelCommoninvoiceRemoveAPIResponse added in v1.3.4

func GetTaobaoXhotelCommoninvoiceRemoveAPIResponse() *TaobaoXhotelCommoninvoiceRemoveAPIResponse

GetTaobaoXhotelCommoninvoiceRemoveAPIResponse 从 sync.Pool 获取 TaobaoXhotelCommoninvoiceRemoveAPIResponse

func (*TaobaoXhotelCommoninvoiceRemoveAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCommoninvoiceRemoveAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelCommoninvoiceRemoveAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCommoninvoiceUpdateAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelCommoninvoiceUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelCommoninvoiceUpdateAPIRequest() *TaobaoXhotelCommoninvoiceUpdateAPIRequest

GetTaobaoXhotelCommoninvoiceUpdateRequest 从 sync.Pool 获取 TaobaoXhotelCommoninvoiceUpdateAPIRequest

func NewTaobaoXhotelCommoninvoiceUpdateRequest

func NewTaobaoXhotelCommoninvoiceUpdateRequest() *TaobaoXhotelCommoninvoiceUpdateAPIRequest

NewTaobaoXhotelCommoninvoiceUpdateRequest 初始化TaobaoXhotelCommoninvoiceUpdateAPIRequest对象

func (TaobaoXhotelCommoninvoiceUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelCommoninvoiceUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelCommoninvoiceUpdateAPIRequest) GetCommonInvoiceInfoParam added in v1.2.0

func (r TaobaoXhotelCommoninvoiceUpdateAPIRequest) GetCommonInvoiceInfoParam() *CommonInvoiceInfo

GetCommonInvoiceInfoParam CommonInvoiceInfoParam Getter

func (TaobaoXhotelCommoninvoiceUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoXhotelCommoninvoiceUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelCommoninvoiceUpdateAPIRequest) SetCommonInvoiceInfoParam added in v1.2.0

func (r *TaobaoXhotelCommoninvoiceUpdateAPIRequest) SetCommonInvoiceInfoParam(_commonInvoiceInfoParam *CommonInvoiceInfo) error

SetCommonInvoiceInfoParam is CommonInvoiceInfoParam Setter 无

type TaobaoXhotelCommoninvoiceUpdateAPIResponse

type TaobaoXhotelCommoninvoiceUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelCommoninvoiceUpdateAPIResponseModel
}

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

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

func GetTaobaoXhotelCommoninvoiceUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelCommoninvoiceUpdateAPIResponse() *TaobaoXhotelCommoninvoiceUpdateAPIResponse

GetTaobaoXhotelCommoninvoiceUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelCommoninvoiceUpdateAPIResponse

func (*TaobaoXhotelCommoninvoiceUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelCommoninvoiceUpdateAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelCommoninvoiceUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelFastinvoiceCompleteAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelFastinvoiceCompleteAPIRequest added in v1.3.4

func GetTaobaoXhotelFastinvoiceCompleteAPIRequest() *TaobaoXhotelFastinvoiceCompleteAPIRequest

GetTaobaoXhotelFastinvoiceCompleteRequest 从 sync.Pool 获取 TaobaoXhotelFastinvoiceCompleteAPIRequest

func NewTaobaoXhotelFastinvoiceCompleteRequest

func NewTaobaoXhotelFastinvoiceCompleteRequest() *TaobaoXhotelFastinvoiceCompleteAPIRequest

NewTaobaoXhotelFastinvoiceCompleteRequest 初始化TaobaoXhotelFastinvoiceCompleteAPIRequest对象

func (TaobaoXhotelFastinvoiceCompleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelFastinvoiceCompleteAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelFastinvoiceCompleteAPIRequest) GetInvoiceInfoParam added in v1.2.0

GetInvoiceInfoParam InvoiceInfoParam Getter

func (TaobaoXhotelFastinvoiceCompleteAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoXhotelFastinvoiceCompleteAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelFastinvoiceCompleteAPIRequest) SetInvoiceInfoParam added in v1.2.0

func (r *TaobaoXhotelFastinvoiceCompleteAPIRequest) SetInvoiceInfoParam(_invoiceInfoParam *InvoiceInfoParam) error

SetInvoiceInfoParam is InvoiceInfoParam Setter 无

type TaobaoXhotelFastinvoiceCompleteAPIResponse

type TaobaoXhotelFastinvoiceCompleteAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelFastinvoiceCompleteAPIResponseModel
}

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

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

func GetTaobaoXhotelFastinvoiceCompleteAPIResponse added in v1.3.4

func GetTaobaoXhotelFastinvoiceCompleteAPIResponse() *TaobaoXhotelFastinvoiceCompleteAPIResponse

GetTaobaoXhotelFastinvoiceCompleteAPIResponse 从 sync.Pool 获取 TaobaoXhotelFastinvoiceCompleteAPIResponse

func (*TaobaoXhotelFastinvoiceCompleteAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelFastinvoiceCompleteAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelFastinvoiceCompleteAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelFastinvoiceRequestAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelFastinvoiceRequestAPIRequest added in v1.3.4

func GetTaobaoXhotelFastinvoiceRequestAPIRequest() *TaobaoXhotelFastinvoiceRequestAPIRequest

GetTaobaoXhotelFastinvoiceRequestRequest 从 sync.Pool 获取 TaobaoXhotelFastinvoiceRequestAPIRequest

func NewTaobaoXhotelFastinvoiceRequestRequest

func NewTaobaoXhotelFastinvoiceRequestRequest() *TaobaoXhotelFastinvoiceRequestAPIRequest

NewTaobaoXhotelFastinvoiceRequestRequest 初始化TaobaoXhotelFastinvoiceRequestAPIRequest对象

func (TaobaoXhotelFastinvoiceRequestAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelFastinvoiceRequestAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelFastinvoiceRequestAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelFastinvoiceRequestAPIRequest) GetInvoiceInfoParam added in v1.2.0

GetInvoiceInfoParam InvoiceInfoParam Getter

func (TaobaoXhotelFastinvoiceRequestAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoXhotelFastinvoiceRequestAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelFastinvoiceRequestAPIRequest) SetInvoiceInfoParam added in v1.2.0

func (r *TaobaoXhotelFastinvoiceRequestAPIRequest) SetInvoiceInfoParam(_invoiceInfoParam *InvoiceInfoParam) error

SetInvoiceInfoParam is InvoiceInfoParam Setter 无

type TaobaoXhotelFastinvoiceRequestAPIResponse

type TaobaoXhotelFastinvoiceRequestAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelFastinvoiceRequestAPIResponseModel
}

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

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

func GetTaobaoXhotelFastinvoiceRequestAPIResponse added in v1.3.4

func GetTaobaoXhotelFastinvoiceRequestAPIResponse() *TaobaoXhotelFastinvoiceRequestAPIResponse

GetTaobaoXhotelFastinvoiceRequestAPIResponse 从 sync.Pool 获取 TaobaoXhotelFastinvoiceRequestAPIResponse

func (*TaobaoXhotelFastinvoiceRequestAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelFastinvoiceRequestAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelFastinvoiceRequestAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelFutureSoftmodifyAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelFutureSoftmodifyAPIRequest added in v1.3.4

func GetTaobaoXhotelFutureSoftmodifyAPIRequest() *TaobaoXhotelFutureSoftmodifyAPIRequest

GetTaobaoXhotelFutureSoftmodifyRequest 从 sync.Pool 获取 TaobaoXhotelFutureSoftmodifyAPIRequest

func NewTaobaoXhotelFutureSoftmodifyRequest

func NewTaobaoXhotelFutureSoftmodifyRequest() *TaobaoXhotelFutureSoftmodifyAPIRequest

NewTaobaoXhotelFutureSoftmodifyRequest 初始化TaobaoXhotelFutureSoftmodifyAPIRequest对象

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelFutureSoftmodifyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetContext added in v1.2.0

GetContext Context Getter

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetExpireTime added in v1.2.0

GetExpireTime ExpireTime Getter

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetHid added in v1.2.0

GetHid Hid Getter

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetHotelCode added in v1.2.0

GetHotelCode HotelCode Getter

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetOperateType added in v1.2.0

GetOperateType OperateType Getter

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetOutOrderId added in v1.2.0

GetOutOrderId OutOrderId Getter

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetRequestId added in v1.2.0

GetRequestId RequestId Getter

func (TaobaoXhotelFutureSoftmodifyAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetContext added in v1.2.0

func (r *TaobaoXhotelFutureSoftmodifyAPIRequest) SetContext(_context string) error

SetContext is Context Setter 请求报文

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetExpireTime added in v1.2.0

func (r *TaobaoXhotelFutureSoftmodifyAPIRequest) SetExpireTime(_expireTime int64) error

SetExpireTime is ExpireTime Setter 超时时长,默认3s

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetHid added in v1.2.0

SetHid is Hid Setter 酒店Id

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetHotelCode added in v1.2.0

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

SetHotelCode is HotelCode Setter 酒店code

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetOperateType added in v1.2.0

func (r *TaobaoXhotelFutureSoftmodifyAPIRequest) SetOperateType(_operateType string) error

SetOperateType is OperateType Setter 操作类型

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetOutOrderId added in v1.2.0

func (r *TaobaoXhotelFutureSoftmodifyAPIRequest) SetOutOrderId(_outOrderId string) error

SetOutOrderId is OutOrderId Setter 外部订单号

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetRequestId added in v1.2.0

func (r *TaobaoXhotelFutureSoftmodifyAPIRequest) SetRequestId(_requestId string) error

SetRequestId is RequestId Setter 请求唯一标识值

func (*TaobaoXhotelFutureSoftmodifyAPIRequest) SetTid added in v1.2.0

SetTid is Tid Setter 淘宝订单号

type TaobaoXhotelFutureSoftmodifyAPIResponse

type TaobaoXhotelFutureSoftmodifyAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelFutureSoftmodifyAPIResponseModel
}

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

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

func GetTaobaoXhotelFutureSoftmodifyAPIResponse added in v1.3.4

func GetTaobaoXhotelFutureSoftmodifyAPIResponse() *TaobaoXhotelFutureSoftmodifyAPIResponse

GetTaobaoXhotelFutureSoftmodifyAPIResponse 从 sync.Pool 获取 TaobaoXhotelFutureSoftmodifyAPIResponse

func (*TaobaoXhotelFutureSoftmodifyAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelFutureSoftmodifyAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelFutureSoftmodifyAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelIntlRateUpdateAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelIntlRateUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelIntlRateUpdateAPIRequest() *TaobaoXhotelIntlRateUpdateAPIRequest

GetTaobaoXhotelIntlRateUpdateRequest 从 sync.Pool 获取 TaobaoXhotelIntlRateUpdateAPIRequest

func NewTaobaoXhotelIntlRateUpdateRequest

func NewTaobaoXhotelIntlRateUpdateRequest() *TaobaoXhotelIntlRateUpdateAPIRequest

NewTaobaoXhotelIntlRateUpdateRequest 初始化TaobaoXhotelIntlRateUpdateAPIRequest对象

func (TaobaoXhotelIntlRateUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelIntlRateUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelIntlRateUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelIntlRateUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelIntlRateUpdateAPIRequest) GetUpdateRateParam added in v1.2.0

func (r TaobaoXhotelIntlRateUpdateAPIRequest) GetUpdateRateParam() *UpdateRateParam

GetUpdateRateParam UpdateRateParam Getter

func (*TaobaoXhotelIntlRateUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelIntlRateUpdateAPIRequest) SetUpdateRateParam added in v1.2.0

func (r *TaobaoXhotelIntlRateUpdateAPIRequest) SetUpdateRateParam(_updateRateParam *UpdateRateParam) error

SetUpdateRateParam is UpdateRateParam Setter rate更新参数

type TaobaoXhotelIntlRateUpdateAPIResponse

type TaobaoXhotelIntlRateUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelIntlRateUpdateAPIResponseModel
}

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

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

func GetTaobaoXhotelIntlRateUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelIntlRateUpdateAPIResponse() *TaobaoXhotelIntlRateUpdateAPIResponse

GetTaobaoXhotelIntlRateUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelIntlRateUpdateAPIResponse

func (*TaobaoXhotelIntlRateUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelIntlRateUpdateAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelIntlRateUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelIntlRateUpdateResultSet

type TaobaoXhotelIntlRateUpdateResultSet struct {
	// 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"`
	// errorMsg
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// total_results
	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`
	// 总记录条数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
}

TaobaoXhotelIntlRateUpdateResultSet 结构体

func GetTaobaoXhotelIntlRateUpdateResultSet added in v1.3.4

func GetTaobaoXhotelIntlRateUpdateResultSet() *TaobaoXhotelIntlRateUpdateResultSet

GetTaobaoXhotelIntlRateUpdateResultSet() 从对象池中获取TaobaoXhotelIntlRateUpdateResultSet

type TaobaoXhotelMemberrightUpdateAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelMemberrightUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelMemberrightUpdateAPIRequest() *TaobaoXhotelMemberrightUpdateAPIRequest

GetTaobaoXhotelMemberrightUpdateRequest 从 sync.Pool 获取 TaobaoXhotelMemberrightUpdateAPIRequest

func NewTaobaoXhotelMemberrightUpdateRequest

func NewTaobaoXhotelMemberrightUpdateRequest() *TaobaoXhotelMemberrightUpdateAPIRequest

NewTaobaoXhotelMemberrightUpdateRequest 初始化TaobaoXhotelMemberrightUpdateAPIRequest对象

func (TaobaoXhotelMemberrightUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelMemberrightUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMemberrightUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMemberrightUpdateAPIRequest) GetHasRight added in v1.2.0

GetHasRight HasRight Getter

func (TaobaoXhotelMemberrightUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelMemberrightUpdateAPIRequest) GetRightType added in v1.2.0

GetRightType RightType Getter

func (TaobaoXhotelMemberrightUpdateAPIRequest) GetTaobaoUserId added in v1.2.0

func (r TaobaoXhotelMemberrightUpdateAPIRequest) GetTaobaoUserId() int64

GetTaobaoUserId TaobaoUserId Getter

func (*TaobaoXhotelMemberrightUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMemberrightUpdateAPIRequest) SetHasRight added in v1.2.0

func (r *TaobaoXhotelMemberrightUpdateAPIRequest) SetHasRight(_hasRight bool) error

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

func (*TaobaoXhotelMemberrightUpdateAPIRequest) SetRightType added in v1.2.0

func (r *TaobaoXhotelMemberrightUpdateAPIRequest) SetRightType(_rightType int64) error

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

func (*TaobaoXhotelMemberrightUpdateAPIRequest) SetTaobaoUserId added in v1.2.0

func (r *TaobaoXhotelMemberrightUpdateAPIRequest) SetTaobaoUserId(_taobaoUserId int64) error

SetTaobaoUserId is TaobaoUserId Setter 淘宝用户id

type TaobaoXhotelMemberrightUpdateAPIResponse

type TaobaoXhotelMemberrightUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMemberrightUpdateAPIResponseModel
}

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

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

func GetTaobaoXhotelMemberrightUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelMemberrightUpdateAPIResponse() *TaobaoXhotelMemberrightUpdateAPIResponse

GetTaobaoXhotelMemberrightUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelMemberrightUpdateAPIResponse

func (*TaobaoXhotelMemberrightUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMemberrightUpdateAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelMemberrightUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest() *TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest

GetTaobaoXhotelOrderAlipayfaceCancelsettleRequest 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest

func NewTaobaoXhotelOrderAlipayfaceCancelsettleRequest

func NewTaobaoXhotelOrderAlipayfaceCancelsettleRequest() *TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest

NewTaobaoXhotelOrderAlipayfaceCancelsettleRequest 初始化TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest对象

func (TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) GetOutId added in v1.2.0

GetOutId OutId Getter

func (TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) GetReason added in v1.2.0

GetReason Reason Getter

func (TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (*TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) SetOutId added in v1.2.0

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

func (*TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) SetReason added in v1.2.0

SetReason is Reason Setter 取消结账的原因

func (*TaobaoXhotelOrderAlipayfaceCancelsettleAPIRequest) SetTid added in v1.2.0

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

type TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse

type TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse() *TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse

GetTaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse

func (*TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderAlipayfaceCancelsettleAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderAlipayfaceSettleAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderAlipayfaceSettleAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderAlipayfaceSettleAPIRequest() *TaobaoXhotelOrderAlipayfaceSettleAPIRequest

GetTaobaoXhotelOrderAlipayfaceSettleRequest 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceSettleAPIRequest

func NewTaobaoXhotelOrderAlipayfaceSettleRequest

func NewTaobaoXhotelOrderAlipayfaceSettleRequest() *TaobaoXhotelOrderAlipayfaceSettleAPIRequest

NewTaobaoXhotelOrderAlipayfaceSettleRequest 初始化TaobaoXhotelOrderAlipayfaceSettleAPIRequest对象

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetAmount added in v1.2.0

GetAmount Amount Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetCheckOut added in v1.2.0

GetCheckOut CheckOut Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetContainGuarantee added in v1.2.0

func (r TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetContainGuarantee() int64

GetContainGuarantee ContainGuarantee Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetCurrencyCode added in v1.2.0

GetCurrencyCode CurrencyCode Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetCurrencyRate added in v1.2.0

GetCurrencyRate CurrencyRate Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetDailyPriceInfo added in v1.2.0

GetDailyPriceInfo DailyPriceInfo Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetHotelCode added in v1.2.0

GetHotelCode HotelCode Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetMemo added in v1.2.0

GetMemo Memo Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetOtherFee added in v1.2.0

GetOtherFee OtherFee Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetOtherFeeDetail added in v1.2.0

GetOtherFeeDetail OtherFeeDetail Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetOutId added in v1.2.0

GetOutId OutId Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetPriceChange added in v1.2.0

GetPriceChange PriceChange Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetRoomNo added in v1.2.0

GetRoomNo RoomNo Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetRoomSettleInfoList added in v1.2.0

func (r TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetRoomSettleInfoList() []RoomSettleInfo

GetRoomSettleInfoList RoomSettleInfoList Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetTaxAndFee added in v1.2.0

GetTaxAndFee TaxAndFee Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (TaobaoXhotelOrderAlipayfaceSettleAPIRequest) GetTotalRoomFee added in v1.2.0

GetTotalRoomFee TotalRoomFee Getter

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetAmount added in v1.2.0

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetCheckOut added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetCheckOut(_checkOut string) error

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetContainGuarantee added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetContainGuarantee(_containGuarantee int64) error

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetCurrencyCode added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetCurrencyCode(_currencyCode string) error

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetCurrencyRate added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetCurrencyRate(_currencyRate string) error

SetCurrencyRate is CurrencyRate Setter 汇率

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetDailyPriceInfo added in v1.2.0

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

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetHotelCode added in v1.2.0

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

SetHotelCode is HotelCode Setter 酒店外部编码

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetMemo added in v1.2.0

SetMemo is Memo Setter 备注

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetOtherFee added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetOtherFee(_otherFee int64) error

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetOtherFeeDetail added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetOtherFeeDetail(_otherFeeDetail string) error

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetOutId added in v1.2.0

SetOutId is OutId Setter 商家订单号

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetPriceChange added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetPriceChange(_priceChange int64) error

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetRoomNo added in v1.2.0

SetRoomNo is RoomNo Setter 入住房间号

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetRoomSettleInfoList added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetRoomSettleInfoList(_roomSettleInfoList []RoomSettleInfo) error

SetRoomSettleInfoList is RoomSettleInfoList Setter 单间房明细

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetTaxAndFee added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetTaxAndFee(_taxAndFee int64) error

SetTaxAndFee is TaxAndFee Setter 税和服务费

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetTid added in v1.2.0

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetTotalRoomFee added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceSettleAPIRequest) SetTotalRoomFee(_totalRoomFee int64) error

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

type TaobaoXhotelOrderAlipayfaceSettleAPIResponse

type TaobaoXhotelOrderAlipayfaceSettleAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderAlipayfaceSettleAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderAlipayfaceSettleAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderAlipayfaceSettleAPIResponse() *TaobaoXhotelOrderAlipayfaceSettleAPIResponse

GetTaobaoXhotelOrderAlipayfaceSettleAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceSettleAPIResponse

func (*TaobaoXhotelOrderAlipayfaceSettleAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderAlipayfaceSettleAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderAlipayfaceSettleAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderAlipayfaceUpdateAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderAlipayfaceUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderAlipayfaceUpdateAPIRequest() *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest

GetTaobaoXhotelOrderAlipayfaceUpdateRequest 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceUpdateAPIRequest

func NewTaobaoXhotelOrderAlipayfaceUpdateRequest

func NewTaobaoXhotelOrderAlipayfaceUpdateRequest() *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest

NewTaobaoXhotelOrderAlipayfaceUpdateRequest 初始化TaobaoXhotelOrderAlipayfaceUpdateAPIRequest对象

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetCancelType added in v1.2.0

GetCancelType CancelType Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetCheckinDate added in v1.2.0

GetCheckinDate CheckinDate Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetCheckoutDate added in v1.2.0

GetCheckoutDate CheckoutDate Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetConfirmCode added in v1.2.0

GetConfirmCode ConfirmCode Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetOperator added in v1.2.0

GetOperator Operator Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetOptType added in v1.2.0

GetOptType OptType Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetOutId added in v1.2.0

GetOutId OutId Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetOutRoomNumber added in v1.2.0

GetOutRoomNumber OutRoomNumber Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetReasonText added in v1.2.0

GetReasonText ReasonText Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetReasonType added in v1.2.0

GetReasonType ReasonType Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetRooms added in v1.2.0

GetRooms Rooms Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetSelfCheckin added in v1.2.0

GetSelfCheckin SelfCheckin Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetSyncToHotel added in v1.2.0

GetSyncToHotel SyncToHotel Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) GetTids added in v1.2.0

GetTids Tids Getter

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetCancelType added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetCancelType(_cancelType int64) error

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetCheckinDate added in v1.2.0

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

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetCheckoutDate added in v1.2.0

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

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetConfirmCode added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetConfirmCode(_confirmCode string) error

SetConfirmCode is ConfirmCode Setter opt_type为12, 订单确认号

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetOperator added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetOperator(_operator string) error

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetOptType added in v1.2.0

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetOutId added in v1.2.0

SetOutId is OutId Setter 外部订单号

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetOutRoomNumber added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetOutRoomNumber(_outRoomNumber string) error

SetOutRoomNumber is OutRoomNumber Setter 入住房间号

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetReasonText added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetReasonText(_reasonText string) error

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetReasonType added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetReasonType(_reasonType int64) error

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetRooms added in v1.2.0

SetRooms is Rooms Setter 客人实际预定房间数

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetSelfCheckin added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetSelfCheckin(_selfCheckin bool) error

SetSelfCheckin is SelfCheckin Setter 是否自助入住

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetSyncToHotel added in v1.2.0

func (r *TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetSyncToHotel(_syncToHotel string) error

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetTid added in v1.2.0

SetTid is Tid Setter 淘宝订单号,必填

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIRequest) SetTids added in v1.2.0

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

type TaobaoXhotelOrderAlipayfaceUpdateAPIResponse

type TaobaoXhotelOrderAlipayfaceUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderAlipayfaceUpdateAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderAlipayfaceUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderAlipayfaceUpdateAPIResponse() *TaobaoXhotelOrderAlipayfaceUpdateAPIResponse

GetTaobaoXhotelOrderAlipayfaceUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceUpdateAPIResponse

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderAlipayfaceUpdateAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderAlipayfaceUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderDetailSearchAPIRequest added in v1.2.0

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

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

提供订单详情查询

func GetTaobaoXhotelOrderDetailSearchAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderDetailSearchAPIRequest() *TaobaoXhotelOrderDetailSearchAPIRequest

GetTaobaoXhotelOrderDetailSearchRequest 从 sync.Pool 获取 TaobaoXhotelOrderDetailSearchAPIRequest

func NewTaobaoXhotelOrderDetailSearchRequest

func NewTaobaoXhotelOrderDetailSearchRequest() *TaobaoXhotelOrderDetailSearchAPIRequest

NewTaobaoXhotelOrderDetailSearchRequest 初始化TaobaoXhotelOrderDetailSearchAPIRequest对象

func (TaobaoXhotelOrderDetailSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelOrderDetailSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderDetailSearchAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderDetailSearchAPIRequest) GetOutOid added in v1.2.0

GetOutOid OutOid Getter

func (TaobaoXhotelOrderDetailSearchAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderDetailSearchAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (*TaobaoXhotelOrderDetailSearchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderDetailSearchAPIRequest) SetOutOid added in v1.2.0

SetOutOid is OutOid Setter 外部订单号

func (*TaobaoXhotelOrderDetailSearchAPIRequest) SetTid added in v1.2.0

SetTid is Tid Setter 外部订单号

type TaobaoXhotelOrderDetailSearchAPIResponse

type TaobaoXhotelOrderDetailSearchAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderDetailSearchAPIResponseModel
}

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

提供订单详情查询

func GetTaobaoXhotelOrderDetailSearchAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderDetailSearchAPIResponse() *TaobaoXhotelOrderDetailSearchAPIResponse

GetTaobaoXhotelOrderDetailSearchAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderDetailSearchAPIResponse

func (*TaobaoXhotelOrderDetailSearchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderDetailSearchAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderDetailSearchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderFutureFacescanPutAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderFutureFacescanPutAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderFutureFacescanPutAPIRequest() *TaobaoXhotelOrderFutureFacescanPutAPIRequest

GetTaobaoXhotelOrderFutureFacescanPutRequest 从 sync.Pool 获取 TaobaoXhotelOrderFutureFacescanPutAPIRequest

func NewTaobaoXhotelOrderFutureFacescanPutRequest

func NewTaobaoXhotelOrderFutureFacescanPutRequest() *TaobaoXhotelOrderFutureFacescanPutAPIRequest

NewTaobaoXhotelOrderFutureFacescanPutRequest 初始化TaobaoXhotelOrderFutureFacescanPutAPIRequest对象

func (TaobaoXhotelOrderFutureFacescanPutAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderFutureFacescanPutAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderFutureFacescanPutAPIRequest) GetFaceScanParam added in v1.2.0

GetFaceScanParam FaceScanParam Getter

func (TaobaoXhotelOrderFutureFacescanPutAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoXhotelOrderFutureFacescanPutAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderFutureFacescanPutAPIRequest) SetFaceScanParam added in v1.2.0

func (r *TaobaoXhotelOrderFutureFacescanPutAPIRequest) SetFaceScanParam(_faceScanParam *FaceScanParam) error

SetFaceScanParam is FaceScanParam Setter 扫脸参数

type TaobaoXhotelOrderFutureFacescanPutAPIResponse

type TaobaoXhotelOrderFutureFacescanPutAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderFutureFacescanPutAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderFutureFacescanPutAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderFutureFacescanPutAPIResponse() *TaobaoXhotelOrderFutureFacescanPutAPIResponse

GetTaobaoXhotelOrderFutureFacescanPutAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderFutureFacescanPutAPIResponse

func (*TaobaoXhotelOrderFutureFacescanPutAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderFutureFacescanPutAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderFutureFacescanPutAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderFutureFacescanPutResultSet

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

TaobaoXhotelOrderFutureFacescanPutResultSet 结构体

func GetTaobaoXhotelOrderFutureFacescanPutResultSet added in v1.3.4

func GetTaobaoXhotelOrderFutureFacescanPutResultSet() *TaobaoXhotelOrderFutureFacescanPutResultSet

GetTaobaoXhotelOrderFutureFacescanPutResultSet() 从对象池中获取TaobaoXhotelOrderFutureFacescanPutResultSet

type TaobaoXhotelOrderFutureInfoGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderFutureInfoGetAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderFutureInfoGetAPIRequest() *TaobaoXhotelOrderFutureInfoGetAPIRequest

GetTaobaoXhotelOrderFutureInfoGetRequest 从 sync.Pool 获取 TaobaoXhotelOrderFutureInfoGetAPIRequest

func NewTaobaoXhotelOrderFutureInfoGetRequest

func NewTaobaoXhotelOrderFutureInfoGetRequest() *TaobaoXhotelOrderFutureInfoGetAPIRequest

NewTaobaoXhotelOrderFutureInfoGetRequest 初始化TaobaoXhotelOrderFutureInfoGetAPIRequest对象

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelOrderFutureInfoGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetCreatedEnd added in v1.2.0

GetCreatedEnd CreatedEnd Getter

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetCreatedStart added in v1.2.0

GetCreatedStart CreatedStart Getter

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetHotelCode added in v1.2.0

GetHotelCode HotelCode Getter

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetOperateType added in v1.2.0

GetOperateType OperateType Getter

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetOutUuid added in v1.2.0

GetOutUuid OutUuid Getter

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetTids added in v1.2.0

GetTids Tids Getter

func (TaobaoXhotelOrderFutureInfoGetAPIRequest) GetVendor added in v1.2.0

GetVendor Vendor Getter

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) SetCreatedEnd added in v1.2.0

func (r *TaobaoXhotelOrderFutureInfoGetAPIRequest) SetCreatedEnd(_createdEnd string) error

SetCreatedEnd is CreatedEnd Setter 结束时间

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) SetCreatedStart added in v1.2.0

func (r *TaobaoXhotelOrderFutureInfoGetAPIRequest) SetCreatedStart(_createdStart string) error

SetCreatedStart is CreatedStart Setter 开始时间

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) SetHotelCode added in v1.2.0

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

SetHotelCode is HotelCode Setter 酒店编码

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) SetOperateType added in v1.2.0

func (r *TaobaoXhotelOrderFutureInfoGetAPIRequest) SetOperateType(_operateType int64) error

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

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) SetOutUuid added in v1.2.0

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

SetOutUuid is OutUuid Setter 请求流水号

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) SetTids added in v1.2.0

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

func (*TaobaoXhotelOrderFutureInfoGetAPIRequest) SetVendor added in v1.2.0

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

type TaobaoXhotelOrderFutureInfoGetAPIResponse

type TaobaoXhotelOrderFutureInfoGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderFutureInfoGetAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderFutureInfoGetAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderFutureInfoGetAPIResponse() *TaobaoXhotelOrderFutureInfoGetAPIResponse

GetTaobaoXhotelOrderFutureInfoGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderFutureInfoGetAPIResponse

func (*TaobaoXhotelOrderFutureInfoGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderFutureInfoGetAPIResponseModel added in v1.2.0

type TaobaoXhotelOrderFutureInfoGetAPIResponseModel 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"`
	// 返回外部请求流水号
	OutUuid string `json:"out_uuid,omitempty" xml:"out_uuid,omitempty"`
	// 是否成功标记
	Issuccess bool `json:"issuccess,omitempty" xml:"issuccess,omitempty"`
}

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

func (*TaobaoXhotelOrderFutureInfoGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderFutureInfoPutAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderFutureInfoPutAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderFutureInfoPutAPIRequest() *TaobaoXhotelOrderFutureInfoPutAPIRequest

GetTaobaoXhotelOrderFutureInfoPutRequest 从 sync.Pool 获取 TaobaoXhotelOrderFutureInfoPutAPIRequest

func NewTaobaoXhotelOrderFutureInfoPutRequest

func NewTaobaoXhotelOrderFutureInfoPutRequest() *TaobaoXhotelOrderFutureInfoPutAPIRequest

NewTaobaoXhotelOrderFutureInfoPutRequest 初始化TaobaoXhotelOrderFutureInfoPutAPIRequest对象

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelOrderFutureInfoPutAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetContext added in v1.2.0

GetContext Context Getter

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetHotelCode added in v1.2.0

GetHotelCode HotelCode Getter

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetOperateType added in v1.2.0

GetOperateType OperateType Getter

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetOutUuid added in v1.2.0

GetOutUuid OutUuid Getter

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetRequestId added in v1.2.0

GetRequestId RequestId Getter

func (TaobaoXhotelOrderFutureInfoPutAPIRequest) GetVendor added in v1.2.0

GetVendor Vendor Getter

func (*TaobaoXhotelOrderFutureInfoPutAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderFutureInfoPutAPIRequest) SetContext added in v1.2.0

func (r *TaobaoXhotelOrderFutureInfoPutAPIRequest) SetContext(_context string) error

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

func (*TaobaoXhotelOrderFutureInfoPutAPIRequest) SetHotelCode added in v1.2.0

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

SetHotelCode is HotelCode Setter 酒店编码

func (*TaobaoXhotelOrderFutureInfoPutAPIRequest) SetOperateType added in v1.2.0

func (r *TaobaoXhotelOrderFutureInfoPutAPIRequest) SetOperateType(_operateType int64) error

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

func (*TaobaoXhotelOrderFutureInfoPutAPIRequest) SetOutUuid added in v1.2.0

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

SetOutUuid is OutUuid Setter 商家请求流水号

func (*TaobaoXhotelOrderFutureInfoPutAPIRequest) SetRequestId added in v1.2.0

func (r *TaobaoXhotelOrderFutureInfoPutAPIRequest) SetRequestId(_requestId string) error

SetRequestId is RequestId Setter 请求流水号

func (*TaobaoXhotelOrderFutureInfoPutAPIRequest) SetVendor added in v1.2.0

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

type TaobaoXhotelOrderFutureInfoPutAPIResponse

type TaobaoXhotelOrderFutureInfoPutAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderFutureInfoPutAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderFutureInfoPutAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderFutureInfoPutAPIResponse() *TaobaoXhotelOrderFutureInfoPutAPIResponse

GetTaobaoXhotelOrderFutureInfoPutAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderFutureInfoPutAPIResponse

func (*TaobaoXhotelOrderFutureInfoPutAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderFutureInfoPutAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderFutureInfoPutAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderSearchAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderSearchAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderSearchAPIRequest() *TaobaoXhotelOrderSearchAPIRequest

GetTaobaoXhotelOrderSearchRequest 从 sync.Pool 获取 TaobaoXhotelOrderSearchAPIRequest

func NewTaobaoXhotelOrderSearchRequest

func NewTaobaoXhotelOrderSearchRequest() *TaobaoXhotelOrderSearchAPIRequest

NewTaobaoXhotelOrderSearchRequest 初始化TaobaoXhotelOrderSearchAPIRequest对象

func (TaobaoXhotelOrderSearchAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelOrderSearchAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderSearchAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderSearchAPIRequest) GetCheckinDateEnd added in v1.2.5

func (r TaobaoXhotelOrderSearchAPIRequest) GetCheckinDateEnd() string

GetCheckinDateEnd CheckinDateEnd Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetCheckinDateStart added in v1.2.5

func (r TaobaoXhotelOrderSearchAPIRequest) GetCheckinDateStart() string

GetCheckinDateStart CheckinDateStart Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetCheckoutDateEnd added in v1.2.5

func (r TaobaoXhotelOrderSearchAPIRequest) GetCheckoutDateEnd() string

GetCheckoutDateEnd CheckoutDateEnd Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetCheckoutDateStart added in v1.2.5

func (r TaobaoXhotelOrderSearchAPIRequest) GetCheckoutDateStart() string

GetCheckoutDateStart CheckoutDateStart Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetCreatedEnd added in v1.2.0

func (r TaobaoXhotelOrderSearchAPIRequest) GetCreatedEnd() string

GetCreatedEnd CreatedEnd Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetCreatedStart added in v1.2.0

func (r TaobaoXhotelOrderSearchAPIRequest) GetCreatedStart() string

GetCreatedStart CreatedStart Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetDirect added in v1.2.5

GetDirect Direct Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetOrderIds added in v1.2.0

func (r TaobaoXhotelOrderSearchAPIRequest) GetOrderIds() string

GetOrderIds OrderIds Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetOrderTids added in v1.2.0

func (r TaobaoXhotelOrderSearchAPIRequest) GetOrderTids() string

GetOrderTids OrderTids Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetOutOids added in v1.2.0

GetOutOids OutOids Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderSearchAPIRequest) GetTradeStatus added in v1.2.5

func (r TaobaoXhotelOrderSearchAPIRequest) GetTradeStatus() string

GetTradeStatus TradeStatus Getter

func (TaobaoXhotelOrderSearchAPIRequest) GetVendor added in v1.2.0

GetVendor Vendor Getter

func (*TaobaoXhotelOrderSearchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderSearchAPIRequest) SetCheckinDateEnd added in v1.2.5

func (r *TaobaoXhotelOrderSearchAPIRequest) SetCheckinDateEnd(_checkinDateEnd string) error

SetCheckinDateEnd is CheckinDateEnd Setter 入住时间查询结束时间,格式为:yyyy-MM-dd HH:mm:ss。不能早于checkin_date_start或者间隔不能大于30

func (*TaobaoXhotelOrderSearchAPIRequest) SetCheckinDateStart added in v1.2.5

func (r *TaobaoXhotelOrderSearchAPIRequest) SetCheckinDateStart(_checkinDateStart string) error

SetCheckinDateStart is CheckinDateStart Setter 入住时间查询起始时间,格式为:yyyy-MM-dd HH:mm:ss

func (*TaobaoXhotelOrderSearchAPIRequest) SetCheckoutDateEnd added in v1.2.5

func (r *TaobaoXhotelOrderSearchAPIRequest) SetCheckoutDateEnd(_checkoutDateEnd string) error

SetCheckoutDateEnd is CheckoutDateEnd Setter 离店时间查询结束时间,格式为:yyyy-MM-dd HH:mm:ss。不能早于checkout_date_start或者间隔不能大于30

func (*TaobaoXhotelOrderSearchAPIRequest) SetCheckoutDateStart added in v1.2.5

func (r *TaobaoXhotelOrderSearchAPIRequest) SetCheckoutDateStart(_checkoutDateStart string) error

SetCheckoutDateStart is CheckoutDateStart Setter 离店时间查询起始时间,格式为:yyyy-MM-dd HH:mm:ss

func (*TaobaoXhotelOrderSearchAPIRequest) SetCreatedEnd added in v1.2.0

func (r *TaobaoXhotelOrderSearchAPIRequest) SetCreatedEnd(_createdEnd string) error

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

func (*TaobaoXhotelOrderSearchAPIRequest) SetCreatedStart added in v1.2.0

func (r *TaobaoXhotelOrderSearchAPIRequest) SetCreatedStart(_createdStart string) error

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

func (*TaobaoXhotelOrderSearchAPIRequest) SetDirect added in v1.2.5

func (r *TaobaoXhotelOrderSearchAPIRequest) SetDirect(_direct bool) error

SetDirect is Direct Setter 订单类型(true为直连,false为非直连)

func (*TaobaoXhotelOrderSearchAPIRequest) SetOrderIds added in v1.2.0

func (r *TaobaoXhotelOrderSearchAPIRequest) SetOrderIds(_orderIds string) error

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

func (*TaobaoXhotelOrderSearchAPIRequest) SetOrderTids added in v1.2.0

func (r *TaobaoXhotelOrderSearchAPIRequest) SetOrderTids(_orderTids string) error

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

func (*TaobaoXhotelOrderSearchAPIRequest) SetOutOids added in v1.2.0

func (r *TaobaoXhotelOrderSearchAPIRequest) SetOutOids(_outOids string) error

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

func (*TaobaoXhotelOrderSearchAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoXhotelOrderSearchAPIRequest) SetPageNo(_pageNo int64) error

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

func (*TaobaoXhotelOrderSearchAPIRequest) SetTradeStatus added in v1.2.5

func (r *TaobaoXhotelOrderSearchAPIRequest) SetTradeStatus(_tradeStatus string) error

SetTradeStatus is TradeStatus Setter 订单状态(可发多个,逗号隔开)

func (*TaobaoXhotelOrderSearchAPIRequest) SetVendor added in v1.2.0

func (r *TaobaoXhotelOrderSearchAPIRequest) SetVendor(_vendor string) error

SetVendor is Vendor Setter 系统商标识

type TaobaoXhotelOrderSearchAPIResponse

type TaobaoXhotelOrderSearchAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderSearchAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderSearchAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderSearchAPIResponse() *TaobaoXhotelOrderSearchAPIResponse

GetTaobaoXhotelOrderSearchAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderSearchAPIResponse

func (*TaobaoXhotelOrderSearchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderSearchAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderSearchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderStatementGetAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderStatementGetAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderStatementGetAPIRequest() *TaobaoXhotelOrderStatementGetAPIRequest

GetTaobaoXhotelOrderStatementGetRequest 从 sync.Pool 获取 TaobaoXhotelOrderStatementGetAPIRequest

func NewTaobaoXhotelOrderStatementGetRequest

func NewTaobaoXhotelOrderStatementGetRequest() *TaobaoXhotelOrderStatementGetAPIRequest

NewTaobaoXhotelOrderStatementGetRequest 初始化TaobaoXhotelOrderStatementGetAPIRequest对象

func (TaobaoXhotelOrderStatementGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelOrderStatementGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderStatementGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderStatementGetAPIRequest) GetDateType added in v1.2.0

GetDateType DateType Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetFrom added in v1.2.0

GetFrom From Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetHotelCode added in v1.2.0

GetHotelCode HotelCode Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetOrderTids added in v1.2.0

GetOrderTids OrderTids Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderStatementGetAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetTo added in v1.2.0

GetTo To Getter

func (TaobaoXhotelOrderStatementGetAPIRequest) GetVendor added in v1.2.0

GetVendor Vendor Getter

func (*TaobaoXhotelOrderStatementGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetDateType added in v1.2.0

func (r *TaobaoXhotelOrderStatementGetAPIRequest) SetDateType(_dateType int64) error

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

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetFrom added in v1.2.0

SetFrom is From Setter 查询开始时间

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetHotelCode added in v1.2.0

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

SetHotelCode is HotelCode Setter 外部酒店编码

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetOrderTids added in v1.2.0

func (r *TaobaoXhotelOrderStatementGetAPIRequest) SetOrderTids(_orderTids string) error

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

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetPageSize added in v1.2.0

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

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

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 数据查询开始下标

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetTid added in v1.2.0

SetTid is Tid Setter 淘宝订单号

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetTo added in v1.2.0

SetTo is To Setter 查询结束时间

func (*TaobaoXhotelOrderStatementGetAPIRequest) SetVendor added in v1.2.0

SetVendor is Vendor Setter 系统商vendor

type TaobaoXhotelOrderStatementGetAPIResponse

type TaobaoXhotelOrderStatementGetAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderStatementGetAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderStatementGetAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderStatementGetAPIResponse() *TaobaoXhotelOrderStatementGetAPIResponse

GetTaobaoXhotelOrderStatementGetAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderStatementGetAPIResponse

func (*TaobaoXhotelOrderStatementGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderStatementGetAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderStatementGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderUpdateAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderUpdateAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderUpdateAPIRequest() *TaobaoXhotelOrderUpdateAPIRequest

GetTaobaoXhotelOrderUpdateRequest 从 sync.Pool 获取 TaobaoXhotelOrderUpdateAPIRequest

func NewTaobaoXhotelOrderUpdateRequest

func NewTaobaoXhotelOrderUpdateRequest() *TaobaoXhotelOrderUpdateAPIRequest

NewTaobaoXhotelOrderUpdateRequest 初始化TaobaoXhotelOrderUpdateAPIRequest对象

func (TaobaoXhotelOrderUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoXhotelOrderUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderUpdateAPIRequest) GetConfirmCode added in v1.2.5

func (r TaobaoXhotelOrderUpdateAPIRequest) GetConfirmCode() string

GetConfirmCode ConfirmCode Getter

func (TaobaoXhotelOrderUpdateAPIRequest) GetInvoiceAmount added in v1.2.0

func (r TaobaoXhotelOrderUpdateAPIRequest) GetInvoiceAmount() int64

GetInvoiceAmount InvoiceAmount Getter

func (TaobaoXhotelOrderUpdateAPIRequest) GetOptType added in v1.2.0

GetOptType OptType Getter

func (TaobaoXhotelOrderUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelOrderUpdateAPIRequest) GetReasonType added in v1.2.0

func (r TaobaoXhotelOrderUpdateAPIRequest) GetReasonType() int64

GetReasonType ReasonType Getter

func (TaobaoXhotelOrderUpdateAPIRequest) GetRefundFee added in v1.2.0

func (r TaobaoXhotelOrderUpdateAPIRequest) GetRefundFee() int64

GetRefundFee RefundFee Getter

func (TaobaoXhotelOrderUpdateAPIRequest) GetSyncToHotel added in v1.2.0

func (r TaobaoXhotelOrderUpdateAPIRequest) GetSyncToHotel() string

GetSyncToHotel SyncToHotel Getter

func (TaobaoXhotelOrderUpdateAPIRequest) GetTid added in v1.2.0

GetTid Tid Getter

func (*TaobaoXhotelOrderUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderUpdateAPIRequest) SetConfirmCode added in v1.2.5

func (r *TaobaoXhotelOrderUpdateAPIRequest) SetConfirmCode(_confirmCode string) error

SetConfirmCode is ConfirmCode Setter 外部订单号(酒店确认号)

func (*TaobaoXhotelOrderUpdateAPIRequest) SetInvoiceAmount added in v1.2.0

func (r *TaobaoXhotelOrderUpdateAPIRequest) SetInvoiceAmount(_invoiceAmount int64) error

SetInvoiceAmount is InvoiceAmount Setter 开票金额

func (*TaobaoXhotelOrderUpdateAPIRequest) SetOptType added in v1.2.0

func (r *TaobaoXhotelOrderUpdateAPIRequest) SetOptType(_optType int64) error

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

func (*TaobaoXhotelOrderUpdateAPIRequest) SetReasonType added in v1.2.0

func (r *TaobaoXhotelOrderUpdateAPIRequest) SetReasonType(_reasonType int64) error

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

func (*TaobaoXhotelOrderUpdateAPIRequest) SetRefundFee added in v1.2.0

func (r *TaobaoXhotelOrderUpdateAPIRequest) SetRefundFee(_refundFee int64) error

SetRefundFee is RefundFee Setter 退款费用

func (*TaobaoXhotelOrderUpdateAPIRequest) SetSyncToHotel added in v1.2.0

func (r *TaobaoXhotelOrderUpdateAPIRequest) SetSyncToHotel(_syncToHotel string) error

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

func (*TaobaoXhotelOrderUpdateAPIRequest) SetTid added in v1.2.0

SetTid is Tid Setter 订单号

type TaobaoXhotelOrderUpdateAPIResponse

type TaobaoXhotelOrderUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderUpdateAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderUpdateAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderUpdateAPIResponse() *TaobaoXhotelOrderUpdateAPIResponse

GetTaobaoXhotelOrderUpdateAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderUpdateAPIResponse

func (*TaobaoXhotelOrderUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderUpdateAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderUpdateConfirmcodeAPIRequest added in v1.2.0

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

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

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

func GetTaobaoXhotelOrderUpdateConfirmcodeAPIRequest added in v1.3.4

func GetTaobaoXhotelOrderUpdateConfirmcodeAPIRequest() *TaobaoXhotelOrderUpdateConfirmcodeAPIRequest

GetTaobaoXhotelOrderUpdateConfirmcodeRequest 从 sync.Pool 获取 TaobaoXhotelOrderUpdateConfirmcodeAPIRequest

func NewTaobaoXhotelOrderUpdateConfirmcodeRequest

func NewTaobaoXhotelOrderUpdateConfirmcodeRequest() *TaobaoXhotelOrderUpdateConfirmcodeAPIRequest

NewTaobaoXhotelOrderUpdateConfirmcodeRequest 初始化TaobaoXhotelOrderUpdateConfirmcodeAPIRequest对象

func (TaobaoXhotelOrderUpdateConfirmcodeAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelOrderUpdateConfirmcodeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelOrderUpdateConfirmcodeAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (TaobaoXhotelOrderUpdateConfirmcodeAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoXhotelOrderUpdateConfirmcodeAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelOrderUpdateConfirmcodeAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 系统入参

type TaobaoXhotelOrderUpdateConfirmcodeAPIResponse

type TaobaoXhotelOrderUpdateConfirmcodeAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelOrderUpdateConfirmcodeAPIResponseModel
}

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

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

func GetTaobaoXhotelOrderUpdateConfirmcodeAPIResponse added in v1.3.4

func GetTaobaoXhotelOrderUpdateConfirmcodeAPIResponse() *TaobaoXhotelOrderUpdateConfirmcodeAPIResponse

GetTaobaoXhotelOrderUpdateConfirmcodeAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderUpdateConfirmcodeAPIResponse

func (*TaobaoXhotelOrderUpdateConfirmcodeAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelOrderUpdateConfirmcodeAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelOrderUpdateConfirmcodeAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelPmsGuestbillGetVtwoAPIRequest added in v1.2.0

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

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

从pms获取客人账单信息

func GetTaobaoXhotelPmsGuestbillGetVtwoAPIRequest added in v1.3.4

func GetTaobaoXhotelPmsGuestbillGetVtwoAPIRequest() *TaobaoXhotelPmsGuestbillGetVtwoAPIRequest

GetTaobaoXhotelPmsGuestbillGetVtwoRequest 从 sync.Pool 获取 TaobaoXhotelPmsGuestbillGetVtwoAPIRequest

func NewTaobaoXhotelPmsGuestbillGetVtwoRequest

func NewTaobaoXhotelPmsGuestbillGetVtwoRequest() *TaobaoXhotelPmsGuestbillGetVtwoAPIRequest

NewTaobaoXhotelPmsGuestbillGetVtwoRequest 初始化TaobaoXhotelPmsGuestbillGetVtwoAPIRequest对象

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetRequestId added in v1.2.0

GetRequestId RequestId Getter

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetRoomNum added in v1.2.0

GetRoomNum RoomNum Getter

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetShortIdNum added in v1.2.0

GetShortIdNum ShortIdNum Getter

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetTaxNum added in v1.2.0

GetTaxNum TaxNum Getter

func (TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) GetUserChannel added in v1.2.0

GetUserChannel UserChannel Getter

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetRequestId added in v1.2.0

func (r *TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetRequestId(_requestId string) error

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

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetRoomNum added in v1.2.0

func (r *TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetRoomNum(_roomNum string) error

SetRoomNum is RoomNum Setter 房间号

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetShortIdNum added in v1.2.0

func (r *TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetShortIdNum(_shortIdNum string) error

SetShortIdNum is ShortIdNum Setter 身份证后4位

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetTaxNum added in v1.2.0

SetTaxNum is TaxNum Setter 开票点税号

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetUserChannel added in v1.2.0

func (r *TaobaoXhotelPmsGuestbillGetVtwoAPIRequest) SetUserChannel(_userChannel int64) error

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

type TaobaoXhotelPmsGuestbillGetVtwoAPIResponse

type TaobaoXhotelPmsGuestbillGetVtwoAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelPmsGuestbillGetVtwoAPIResponseModel
}

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

从pms获取客人账单信息

func GetTaobaoXhotelPmsGuestbillGetVtwoAPIResponse added in v1.3.4

func GetTaobaoXhotelPmsGuestbillGetVtwoAPIResponse() *TaobaoXhotelPmsGuestbillGetVtwoAPIResponse

GetTaobaoXhotelPmsGuestbillGetVtwoAPIResponse 从 sync.Pool 获取 TaobaoXhotelPmsGuestbillGetVtwoAPIResponse

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelPmsGuestbillGetVtwoAPIResponseModel added in v1.2.0

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

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

func (*TaobaoXhotelPmsGuestbillGetVtwoAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

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

func GetTaobaoXhotelPmsGuestbillGetVtwoResultSet added in v1.3.4

func GetTaobaoXhotelPmsGuestbillGetVtwoResultSet() *TaobaoXhotelPmsGuestbillGetVtwoResultSet

GetTaobaoXhotelPmsGuestbillGetVtwoResultSet() 从对象池中获取TaobaoXhotelPmsGuestbillGetVtwoResultSet

type TopDailyInfo

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

TopDailyInfo 结构体

func GetTopDailyInfo added in v1.3.4

func GetTopDailyInfo() *TopDailyInfo

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

func GetTopDailySellerPromotion added in v1.3.4

func GetTopDailySellerPromotion() *TopDailySellerPromotion

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

func GetTopDomesticPriceInfoDo added in v1.3.4

func GetTopDomesticPriceInfoDo() *TopDomesticPriceInfoDo

GetTopDomesticPriceInfoDo() 从对象池中获取TopDomesticPriceInfoDo

type TopHotelPromotion

type TopHotelPromotion struct {
	// 订单命中的优惠计算规则描述(由优惠计算规则解析后的文本形式)
	RuleDesc string `json:"rule_desc,omitempty" xml:"rule_desc,omitempty"`
	// 活动优惠描述
	PromotionDesc string `json:"promotion_desc,omitempty" xml:"promotion_desc,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"`
	// 使用的活动规则code
	RuleCode string `json:"rule_code,omitempty" xml:"rule_code,omitempty"`
	// 卖家系统中的活动名称
	ActivityName string `json:"activity_name,omitempty" xml:"activity_name,omitempty"`
	// 消費里程数
	ConsumeMileage int64 `json:"consume_mileage,omitempty" xml:"consume_mileage,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"`
	// 优惠的呈现方式,目前有如下定义:,1. 金额类优惠,2. 使用次数类优惠,3. 权益类优惠,4. 后返类优惠
	AmountType int64 `json:"amount_type,omitempty" xml:"amount_type,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"`
	// 出资方是否卖家还是平台
	InvestorType int64 `json:"investor_type,omitempty" xml:"investor_type,omitempty"`
	// 是否"积分加钱购"类型活动
	IntegralActivity bool `json:"integral_activity,omitempty" xml:"integral_activity,omitempty"`
}

TopHotelPromotion 结构体

func GetTopHotelPromotion added in v1.3.4

func GetTopHotelPromotion() *TopHotelPromotion

GetTopHotelPromotion() 从对象池中获取TopHotelPromotion

type TopInvoiceDo

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

TopInvoiceDo 结构体

func GetTopInvoiceDo added in v1.3.4

func GetTopInvoiceDo() *TopInvoiceDo

GetTopInvoiceDo() 从对象池中获取TopInvoiceDo

type TopOrderCouponDo added in v1.2.5

type TopOrderCouponDo struct {
	// 卡劵名称
	CouponTitle string `json:"coupon_title,omitempty" xml:"coupon_title,omitempty"`
	// 卡劵订单号
	CouponOutBizId string `json:"coupon_out_biz_id,omitempty" xml:"coupon_out_biz_id,omitempty"`
	// 面额
	FaceValue string `json:"face_value,omitempty" xml:"face_value,omitempty"`
	// 单间夜面额
	RoomNightFaceValue string `json:"room_night_face_value,omitempty" xml:"room_night_face_value,omitempty"`
	// 卡劵说明
	Instruction string `json:"instruction,omitempty" xml:"instruction,omitempty"`
	// 卡劵模块id
	CouponBizType int64 `json:"coupon_biz_type,omitempty" xml:"coupon_biz_type,omitempty"`
	// 是否可拆分
	CanSplit bool `json:"can_split,omitempty" xml:"can_split,omitempty"`
}

TopOrderCouponDo 结构体

func GetTopOrderCouponDo added in v1.3.4

func GetTopOrderCouponDo() *TopOrderCouponDo

GetTopOrderCouponDo() 从对象池中获取TopOrderCouponDo

type TopOrderDetail

type TopOrderDetail struct {
	// 关联子订单对象
	TopRelationOrders []string `json:"top_relation_orders,omitempty" xml:"top_relation_orders>string,omitempty"`
	// List<TopDailyInfo>
	TopDailyInfos []TopDailyInfo `json:"top_daily_infos,omitempty" xml:"top_daily_infos>top_daily_info,omitempty"`
	// List<TopOrderGuest>
	TopOrderGuests []TopOrderGuest `json:"top_order_guests,omitempty" xml:"top_order_guests>top_order_guest,omitempty"`
	// rp名称
	RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"`
	// 完结时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 支付时间
	PayTime string `json:"pay_time,omitempty" xml:"pay_time,omitempty"`
	// 商家订单ID
	OutOid string `json:"out_oid,omitempty" xml:"out_oid,omitempty"`
	// 下单时间
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,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"`
	// 联系人名称
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 渠道企业名称
	OutSourceCorpName string `json:"out_source_corp_name,omitempty" xml:"out_source_corp_name,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"`
	// 统一订单状态,与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"`
	// 入住时间
	CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"`
	// 物流状态描述
	LogisticsStatusText string `json:"logistics_status_text,omitempty" xml:"logistics_status_text,omitempty"`
	// 离店时间
	CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"`
	// 最晚到店时间
	ArriveLate string `json:"arrive_late,omitempty" xml:"arrive_late,omitempty"`
	// 联系人电话
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 订单取消原因
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 最早到店时间
	ArriveEarly string `json:"arrive_early,omitempty" xml:"arrive_early,omitempty"`
	// outSource
	OutSource string `json:"out_source,omitempty" xml:"out_source,omitempty"`
	// 房型名称
	RoomTypeName string `json:"room_type_name,omitempty" xml:"room_type_name,omitempty"`
	// 发票抬头
	InvoiceTitle string `json:"invoice_title,omitempty" xml:"invoice_title,omitempty"`
	// memo
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 取消规则描述
	CancelPolicyDesc string `json:"cancel_policy_desc,omitempty" xml:"cancel_policy_desc,omitempty"`
	// 房价id
	RateId string `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// gmtModified
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// vendor
	Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"`
	// 退款状态,1:买家已经申请退款,等待卖家同意;4:退款关闭;5:退款成功;6:卖家拒绝退款;9:没有申请退款
	RefundStatus string `json:"refund_status,omitempty" xml:"refund_status,omitempty"`
	// 销售渠道
	Channel string `json:"channel,omitempty" xml:"channel,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"`
	// 原始rp信息
	RpOriName string `json:"rp_ori_name,omitempty" xml:"rp_ori_name,omitempty"`
	// 卖家没有确认直接关单剩余时间
	CloseOrderRestSecond int64 `json:"close_order_rest_second,omitempty" xml:"close_order_rest_second,omitempty"`
	// 飞猪酒店ID
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 飞猪rpid
	Rpid int64 `json:"rpid,omitempty" xml:"rpid,omitempty"`
	// 订单类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 订单关联包信息: topOrderPackageDO
	TopOrderPackage *TopOrderPackageDo `json:"top_order_package,omitempty" xml:"top_order_package,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"`
	// 酒店订单卖家信息
	HotelOrderSeller *HotelOrderSellerDo `json:"hotel_order_seller,omitempty" xml:"hotel_order_seller,omitempty"`
	// 预定状态 面付信用住有效
	BookingStatus int64 `json:"booking_status,omitempty" xml:"booking_status,omitempty"`
	// 房间数
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 订单确认时长
	ConfirmDuration int64 `json:"confirm_duration,omitempty" xml:"confirm_duration,omitempty"`
	// 海外酒店信息
	TopOverseasPriceInfo *TopOverseasPriceInfoDo `json:"top_overseas_price_info,omitempty" xml:"top_overseas_price_info,omitempty"`
	// 用户支付费用
	Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"`
	// topPromotion
	TopPromotion *TopPromotion `json:"top_promotion,omitempty" xml:"top_promotion,omitempty"`
	// 飞猪房型ID
	Rid int64 `json:"rid,omitempty" xml:"rid,omitempty"`
	// 子订单类型
	SubType int64 `json:"sub_type,omitempty" xml:"sub_type,omitempty"`
	// 总房费
	TotalRoomPrice int64 `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"`
	// 统一订单状态
	UnionStatusValue int64 `json:"union_status_value,omitempty" xml:"union_status_value,omitempty"`
	// 其他费用
	OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,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"`
	// 税和费,单位分
	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"`
	// 信用卡vcc信息
	CreditCard *CreditCard `json:"credit_card,omitempty" xml:"credit_card,omitempty"`
	// 退款金额  单位为分
	RefundAmout int64 `json:"refund_amout,omitempty" xml:"refund_amout,omitempty"`
	// 退款信息
	PostTradeRefund *TopPostTradeRefundDo `json:"post_trade_refund,omitempty" xml:"post_trade_refund,omitempty"`
	// 城市code
	City int64 `json:"city,omitempty" xml:"city,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"`
	// 入住人数(rate维度)
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// com.taobao.trip.htq.top.result.TopOrderCouponDO
	TopOrderCouponDO *TopOrderCouponDo `json:"top_order_coupon_d_o,omitempty" xml:"top_order_coupon_d_o,omitempty"`
	// OrderPromotionDO
	Promotion *OrderPromotionDo `json:"promotion,omitempty" xml:"promotion,omitempty"`
	// 是否包房
	ReservedRoomOrder bool `json:"reserved_room_order,omitempty" xml:"reserved_room_order,omitempty"`
	// 是否拆单
	SplitOrder bool `json:"split_order,omitempty" xml:"split_order,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"`
	// 是否保留房
	BlockRoomOrder bool `json:"block_room_order,omitempty" xml:"block_room_order,omitempty"`
	// 是否即时确认
	TagJsqr bool `json:"tag_jsqr,omitempty" xml:"tag_jsqr,omitempty"`
}

TopOrderDetail 结构体

func GetTopOrderDetail added in v1.3.4

func GetTopOrderDetail() *TopOrderDetail

GetTopOrderDetail() 从对象池中获取TopOrderDetail

type TopOrderGuest

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

TopOrderGuest 结构体

func GetTopOrderGuest added in v1.3.4

func GetTopOrderGuest() *TopOrderGuest

GetTopOrderGuest() 从对象池中获取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"`
	// 套餐数量单位
	AmountUnit string `json:"amount_unit,omitempty" xml:"amount_unit,omitempty"`
	// 附加产品使用维度   1:每间维度 2:每晚维度 3:入住人数维度
	DimensionText string `json:"dimension_text,omitempty" xml:"dimension_text,omitempty"`
	// 套餐类型名称
	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`
	// 套餐名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 景点封面图
	ScenicCoverImg string `json:"scenic_cover_img,omitempty" xml:"scenic_cover_img,omitempty"`
	// 景区id
	ScenicId int64 `json:"scenic_id,omitempty" xml:"scenic_id,omitempty"`
	// 套餐数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 套餐优惠金额
	DiscountPrice int64 `json:"discount_price,omitempty" xml:"discount_price,omitempty"`
	// 套餐类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 套餐ID
	PackageId int64 `json:"package_id,omitempty" xml:"package_id,omitempty"`
}

TopOrderPackageDetail 结构体

func GetTopOrderPackageDetail added in v1.3.4

func GetTopOrderPackageDetail() *TopOrderPackageDetail

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

func GetTopOrderPackageDo added in v1.3.4

func GetTopOrderPackageDo() *TopOrderPackageDo

GetTopOrderPackageDo() 从对象池中获取TopOrderPackageDo

type TopOrderPromotionDetail

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

TopOrderPromotionDetail 结构体

func GetTopOrderPromotionDetail added in v1.3.4

func GetTopOrderPromotionDetail() *TopOrderPromotionDetail

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

func GetTopOrderPromotionExtend added in v1.3.4

func GetTopOrderPromotionExtend() *TopOrderPromotionExtend

GetTopOrderPromotionExtend() 从对象池中获取TopOrderPromotionExtend

type TopOverseasPriceInfoDo

type TopOverseasPriceInfoDo struct {
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 下单时汇率
	BookingRate string `json:"booking_rate,omitempty" xml:"booking_rate,omitempty"`
	// 当前汇率
	Rate string `json:"rate,omitempty" xml:"rate,omitempty"`
	// 离店日汇率
	CheckoutRate string `json:"checkout_rate,omitempty" xml:"checkout_rate,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"`
	// 下单时刻卖家应收
	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"`
	// 担保金(元*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 结构体

func GetTopOverseasPriceInfoDo added in v1.3.4

func GetTopOverseasPriceInfoDo() *TopOverseasPriceInfoDo

GetTopOverseasPriceInfoDo() 从对象池中获取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"`
	// 引起退款申请的类型描述
	RefundReason string `json:"refund_reason,omitempty" xml:"refund_reason,omitempty"`
	// 退款发起时间
	CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"`
	// 申请的退款金额(单位:分)
	RefundAmount int64 `json:"refund_amount,omitempty" xml:"refund_amount,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"`
	// tid
	Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"`
}

TopPostTradeRefundDo 结构体

func GetTopPostTradeRefundDo added in v1.3.4

func GetTopPostTradeRefundDo() *TopPostTradeRefundDo

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

func GetTopPromotion added in v1.3.4

func GetTopPromotion() *TopPromotion

GetTopPromotion() 从对象池中获取TopPromotion

type Topinfomap

type Topinfomap struct {
	// 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"`
	// 凌晨入住订单
	MorningBuy string `json:"morning_buy,omitempty" xml:"morning_buy,omitempty"`
	// cancelType
	CancelType string `json:"cancel_type,omitempty" xml:"cancel_type,omitempty"`
	// 卖家延迟确认时间,单位分钟
	SellerDelayConfirmTime string `json:"seller_delay_confirm_time,omitempty" xml:"seller_delay_confirm_time,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"`
	// umid
	Umid string `json:"umid,omitempty" xml:"umid,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"`
	// pms订单号
	HbsPmsOrderId string `json:"hbs_pms_order_id,omitempty" xml:"hbs_pms_order_id,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"`
	// 身份证线下信用住
	HbsCardAlipayOrder string `json:"hbs_card_alipay_order,omitempty" xml:"hbs_card_alipay_order,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"`
	// 是否直连订单
	HbsDirect string `json:"hbs_direct,omitempty" xml:"hbs_direct,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"`
	// 渠道企业名称
	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"`
	// 是否是在线预约订单
	OnlineBookingRoom string `json:"online_booking_room,omitempty" xml:"online_booking_room,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"`
	// 渠道企业id
	HbsOutSourceCorpId string `json:"hbs_out_source_corp_id,omitempty" xml:"hbs_out_source_corp_id,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"`
	// 订单间夜优惠明细,其中其中day:日期,sellerFullReduce:当日满减卖家优惠,sellerOtherReduce:当日非满减卖家优惠,sellerFullReduceAll:总满减卖家优惠,sellerOtherReduceAll:总非满减卖家优惠
	NightPromotionDetail string `json:"night_promotion_detail,omitempty" xml:"night_promotion_detail,omitempty"`
	// 信用支付因取消的扣款费用的人民币,单位:分
	CreditPayCancelFee int64 `json:"credit_pay_cancel_fee,omitempty" xml:"credit_pay_cancel_fee,omitempty"`
	// 售卖会员价
	SellingMemberPrice int64 `json:"selling_member_price,omitempty" xml:"selling_member_price,omitempty"`
	// 售卖价
	SellingPrice int64 `json:"selling_price,omitempty" xml:"selling_price,omitempty"`
}

Topinfomap 结构体

func GetTopinfomap added in v1.3.4

func GetTopinfomap() *Topinfomap

GetTopinfomap() 从对象池中获取Topinfomap

type UpdateOrderConfirmCodeParam

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

UpdateOrderConfirmCodeParam 结构体

func GetUpdateOrderConfirmCodeParam added in v1.3.4

func GetUpdateOrderConfirmCodeParam() *UpdateOrderConfirmCodeParam

GetUpdateOrderConfirmCodeParam() 从对象池中获取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"`
	// 儿童年龄,多个儿童年龄用竖线分割:4|5,默认儿童年龄为5岁
	Ages string `json:"ages,omitempty" xml:"ages,omitempty"`
	// 成人数
	Adults int64 `json:"adults,omitempty" xml:"adults,omitempty"`
	// 儿童数
	Children int64 `json:"children,omitempty" xml:"children,omitempty"`
}

UpdateRateDo 结构体

func GetUpdateRateDo added in v1.3.4

func GetUpdateRateDo() *UpdateRateDo

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

func GetUpdateRateParam added in v1.3.4

func GetUpdateRateParam() *UpdateRateParam

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

func GetValueAddedInfo added in v1.3.4

func GetValueAddedInfo() *ValueAddedInfo

GetValueAddedInfo() 从对象池中获取ValueAddedInfo

type XHotelOrder

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

XHotelOrder 结构体

func GetXHotelOrder added in v1.3.4

func GetXHotelOrder() *XHotelOrder

GetXHotelOrder() 从对象池中获取XHotelOrder

type XOrderGuest

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

XOrderGuest 结构体

func GetXOrderGuest added in v1.3.4

func GetXOrderGuest() *XOrderGuest

GetXOrderGuest() 从对象池中获取XOrderGuest

Source Files

Jump to

Keyboard shortcuts

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