Documentation ¶
Overview ¶
Package xhotel 包含酒店API相关结构体
Index ¶
- type AlitripxhotelchannelordercreateresqueryAPIRequest
- func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetApiMethodName() string
- func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetApiParams(params url.Values)
- func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetOutSourceOrderId() string
- func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetRawParams() model.Params
- func (r *AlitripxhotelchannelordercreateresqueryAPIRequest) SetOutSourceOrderId(_outSourceOrderId string) error
- type AlitripxhotelchannelordercreateresqueryAPIResponse
- type AlitripxhotelchannelordercreateresqueryAPIResponseModel
- type DailyBookingInfo
- type DchotelSignDo
- type DsNhotelInfoDo
- type EarlyBookingInfo
- type HbsResult
- type HotelDivision
- type InvalidDate
- type LongOrderInfo
- type PromoInfo
- type RateInfo
- type TaobaoxhotelbnbpromoupdateAPIRequest
- func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetUpdatePromoParam() *UpdatePromoParam
- func (r *TaobaoxhotelbnbpromoupdateAPIRequest) SetUpdatePromoParam(_updatePromoParam *UpdatePromoParam) error
- type TaobaoxhotelbnbpromoupdateAPIResponse
- type TaobaoxhotelbnbpromoupdateAPIResponseModel
- type TaobaoxhotelbnbpromoupdateResultSet
- type TaobaoxhotelcitydistributiongetAPIRequest
- func (r TaobaoxhotelcitydistributiongetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelcitydistributiongetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelcitydistributiongetAPIRequest) GetCount() int64
- func (r TaobaoxhotelcitydistributiongetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelcitydistributiongetAPIRequest) GetStart() int64
- func (r *TaobaoxhotelcitydistributiongetAPIRequest) SetCount(_count int64) error
- func (r *TaobaoxhotelcitydistributiongetAPIRequest) SetStart(_start int64) error
- type TaobaoxhotelcitydistributiongetAPIResponse
- type TaobaoxhotelcitydistributiongetAPIResponseModel
- type TaobaoxhoteldataservicehotelserviceindexAPIRequest
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetApiMethodName() string
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetHid() int64
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetPageSize() int64
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetReportEndDate() string
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetReportStartDate() string
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetStartRow() int64
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetSupplier() string
- func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetVendor() string
- func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetReportEndDate(_reportEndDate string) error
- func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetReportStartDate(_reportStartDate string) error
- func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetStartRow(_startRow int64) error
- func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhoteldataservicehotelserviceindexAPIResponse
- type TaobaoxhoteldataservicehotelserviceindexAPIResponseModel
- type TaobaoxhoteldataservicehotelserviceindexResultSet
- type TaobaoxhoteldataserviceorderdetailAPIRequest
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetApiMethodName() string
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetEndDate() string
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetHid() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsCallNoOrder() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsNoRoomCompen() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSellerDeny() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSellerRefund() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSpecTimeOrder() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetPageSize() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetStartDate() string
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetStartRow() int64
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetSupplier() string
- func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetVendor() string
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetHid(_hid int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsCallNoOrder(_isCallNoOrder int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsNoRoomCompen(_isNoRoomCompen int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSellerDeny(_isSellerDeny int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSellerRefund(_isSellerRefund int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSpecTimeOrder(_isSpecTimeOrder int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetStartDate(_startDate string) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetStartRow(_startRow int64) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetSupplier(_supplier string) error
- func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhoteldataserviceorderdetailAPIResponse
- type TaobaoxhoteldataserviceorderdetailAPIResponseModel
- type TaobaoxhoteldataserviceorderdetailResultSet
- type TaobaoxhotelorderhotelsignqueryAPIRequest
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetOutUuid() string
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetPageNo() int64
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetType() string
- func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetVendor() string
- func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetType(_type string) error
- func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelorderhotelsignqueryAPIResponse
- type TaobaoxhotelorderhotelsignqueryAPIResponseModel
- type TaobaoxhotelorderofficialqualificationgetAPIRequest
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetAlipayAccount() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetCheckIn() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetCheckOut() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetDailyPriceInfo() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetEncryptType() int64
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetExtendAttrs() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetGuestName() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetHotelCode() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetIdNumber() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetIdType() int64
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetMobileNo() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetNotifyUrl() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutMemberAccount() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutOid() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutUUID() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetReturnUrl() string
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetRoomNum() int64
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetTotalFee() int64
- func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetVendor() string
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetAlipayAccount(_alipayAccount string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetCheckIn(_checkIn string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetCheckOut(_checkOut string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetEncryptType(_encryptType int64) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetExtendAttrs(_extendAttrs string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetGuestName(_guestName string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetIdNumber(_idNumber string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetIdType(_idType int64) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetMobileNo(_mobileNo string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetNotifyUrl(_notifyUrl string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutMemberAccount(_outMemberAccount string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutOid(_outOid string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutUUID(_outUUID string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetReturnUrl(_returnUrl string) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetRoomNum(_roomNum int64) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetTotalFee(_totalFee int64) error
- func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetVendor(_vendor string) error
- type TaobaoxhotelorderofficialqualificationgetAPIResponse
- type TaobaoxhotelorderofficialqualificationgetAPIResponseModel
- type TaobaoxhotelorderofflinesettlecancelAPIRequest
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetApiMethodName() string
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetNotifyUrl() string
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetOutId() string
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetOutUuid() string
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetRawParams() model.Params
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetReason() string
- func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetTid() int64
- func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
- func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetReason(_reason string) error
- func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetTid(_tid int64) error
- type TaobaoxhotelorderofflinesettlecancelAPIResponse
- type TaobaoxhotelorderofflinesettlecancelAPIResponseModel
- type TopAdsHtlDataQueryResult
- type TopAdsTripSvcQueryResult
- type Topadshtlservicedatalist
- type UpdatePromoParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlitripxhotelchannelordercreateresqueryAPIRequest ¶ added in v1.3.1
type AlitripxhotelchannelordercreateresqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripxhotelchannelordercreateresqueryAPIRequest 分销订单查询订单创建结果 API请求 alitrip.xhotel.channel.order.create.res.query
针对分销渠道订单,在调用创建订单接口失败1分钟后,调用此接口,用以确认订单是否创建成功。
func NewAlitripxhotelchannelordercreateresqueryRequest ¶ added in v1.3.1
func NewAlitripxhotelchannelordercreateresqueryRequest() *AlitripxhotelchannelordercreateresqueryAPIRequest
NewAlitripxhotelchannelordercreateresqueryRequest 初始化AlitripxhotelchannelordercreateresqueryAPIRequest对象
func (AlitripxhotelchannelordercreateresqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripxhotelchannelordercreateresqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripxhotelchannelordercreateresqueryAPIRequest) GetOutSourceOrderId ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetOutSourceOrderId() string
GetOutSourceOrderId OutSourceOrderId Getter
func (AlitripxhotelchannelordercreateresqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlitripxhotelchannelordercreateresqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripxhotelchannelordercreateresqueryAPIRequest) SetOutSourceOrderId ¶ added in v1.3.1
func (r *AlitripxhotelchannelordercreateresqueryAPIRequest) SetOutSourceOrderId(_outSourceOrderId string) error
SetOutSourceOrderId is OutSourceOrderId Setter 外部渠道订单号
type AlitripxhotelchannelordercreateresqueryAPIResponse ¶ added in v1.3.1
type AlitripxhotelchannelordercreateresqueryAPIResponse struct { model.CommonResponse AlitripxhotelchannelordercreateresqueryAPIResponseModel }
AlitripxhotelchannelordercreateresqueryAPIResponse 分销订单查询订单创建结果 API返回值 alitrip.xhotel.channel.order.create.res.query
针对分销渠道订单,在调用创建订单接口失败1分钟后,调用此接口,用以确认订单是否创建成功。
type AlitripxhotelchannelordercreateresqueryAPIResponseModel ¶ added in v1.3.1
type AlitripxhotelchannelordercreateresqueryAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_xhotel_channel_order_create_res_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 结果 Result *HbsResult `json:"result,omitempty" xml:"result,omitempty"` }
AlitripxhotelchannelordercreateresqueryAPIResponseModel is 分销订单查询订单创建结果 成功返回结果
type DailyBookingInfo ¶ added in v1.2.5
type DailyBookingInfo struct { // 一个星期内有效性约束。1-7 对应周一到周日,传入的值比如[1,6],就表示星期一和星期六营销生效 ValidWeeks []string `json:"valid_weeks,omitempty" xml:"valid_weeks>string,omitempty"` // 不可用日期,开始日期和结束日期: from--to 只有一天的场景,from和to传同一天; 默认:空,代表无时间限制; InvalidDates []InvalidDate `json:"invalid_dates,omitempty" xml:"invalid_dates>invalid_date,omitempty"` // 可入住的起始时间,不填默认一年,一年后自动续期 CheckInFrom string `json:"check_in_from,omitempty" xml:"check_in_from,omitempty"` // 可入住的结束时间,不填默认一年,一年后自动续期 CheckInTo string `json:"check_in_to,omitempty" xml:"check_in_to,omitempty"` // 折扣比例,填30就意味着原价的30%,也就是打3折。数字范围限定在10-95之间 InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"` }
DailyBookingInfo 结构体
type DchotelSignDo ¶
type DchotelSignDo struct { // taccAuthLetterAllowDate TaccAuthLetterAllowDate string `json:"tacc_auth_letter_allow_date,omitempty" xml:"tacc_auth_letter_allow_date,omitempty"` // phone Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // email Email string `json:"email,omitempty" xml:"email,omitempty"` // name Name string `json:"name,omitempty" xml:"name,omitempty"` // intentAchieveDate IntentAchieveDate string `json:"intent_achieve_date,omitempty" xml:"intent_achieve_date,omitempty"` // hotelAccount HotelAccount string `json:"hotel_account,omitempty" xml:"hotel_account,omitempty"` // privateReceiptAccountStatus PrivateReceiptAccountStatus int64 `json:"private_receipt_account_status,omitempty" xml:"private_receipt_account_status,omitempty"` // hotelierIdStatus HotelierIdStatus int64 `json:"hotelier_id_status,omitempty" xml:"hotelier_id_status,omitempty"` // stlStatus StlStatus int64 `json:"stl_status,omitempty" xml:"stl_status,omitempty"` // blStatus BlStatus int64 `json:"bl_status,omitempty" xml:"bl_status,omitempty"` // idConfirmLetterStatus IdConfirmLetterStatus int64 `json:"id_confirm_letter_status,omitempty" xml:"id_confirm_letter_status,omitempty"` // qlfType QlfType int64 `json:"qlf_type,omitempty" xml:"qlf_type,omitempty"` // payType PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // isKezhanSign IsKezhanSign int64 `json:"is_kezhan_sign,omitempty" xml:"is_kezhan_sign,omitempty"` // signStatus SignStatus int64 `json:"sign_status,omitempty" xml:"sign_status,omitempty"` // pid Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"` // hid Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // hotelPicturesStatus HotelPicturesStatus int64 `json:"hotel_pictures_status,omitempty" xml:"hotel_pictures_status,omitempty"` // commLetterStatus CommLetterStatus int64 `json:"comm_letter_status,omitempty" xml:"comm_letter_status,omitempty"` // toDcHotelStatus ToDcHotelStatus int64 `json:"to_dc_hotel_status,omitempty" xml:"to_dc_hotel_status,omitempty"` }
DchotelSignDo 结构体
type DsNhotelInfoDo ¶
type DsNhotelInfoDo struct { // onlineDate OnlineDate string `json:"online_date,omitempty" xml:"online_date,omitempty"` // signDate SignDate string `json:"sign_date,omitempty" xml:"sign_date,omitempty"` // name Name string `json:"name,omitempty" xml:"name,omitempty"` // outerId OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // canSellDate CanSellDate string `json:"can_sell_date,omitempty" xml:"can_sell_date,omitempty"` // onlineStatus OnlineStatus int64 `json:"online_status,omitempty" xml:"online_status,omitempty"` // qualificationType QualificationType int64 `json:"qualification_type,omitempty" xml:"qualification_type,omitempty"` // accountType AccountType int64 `json:"account_type,omitempty" xml:"account_type,omitempty"` // trainStatus TrainStatus int64 `json:"train_status,omitempty" xml:"train_status,omitempty"` // commLetterStatus CommLetterStatus int64 `json:"comm_letter_status,omitempty" xml:"comm_letter_status,omitempty"` // privateReceiptAccountStatus PrivateReceiptAccountStatus int64 `json:"private_receipt_account_status,omitempty" xml:"private_receipt_account_status,omitempty"` // hotelierIdStatus HotelierIdStatus int64 `json:"hotelier_id_status,omitempty" xml:"hotelier_id_status,omitempty"` // srlStatus SrlStatus int64 `json:"srl_status,omitempty" xml:"srl_status,omitempty"` // businessLicenseStatus BusinessLicenseStatus int64 `json:"business_license_status,omitempty" xml:"business_license_status,omitempty"` // idConfirmLetterStatus IdConfirmLetterStatus int64 `json:"id_confirm_letter_status,omitempty" xml:"id_confirm_letter_status,omitempty"` // isSigned IsSigned int64 `json:"is_signed,omitempty" xml:"is_signed,omitempty"` // isAccountApply IsAccountApply int64 `json:"is_account_apply,omitempty" xml:"is_account_apply,omitempty"` // hid Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // isKezhan IsKezhan int64 `json:"is_kezhan,omitempty" xml:"is_kezhan,omitempty"` // hotelPicturesStatus HotelPicturesStatus int64 `json:"hotel_pictures_status,omitempty" xml:"hotel_pictures_status,omitempty"` // canSellStatus CanSellStatus int64 `json:"can_sell_status,omitempty" xml:"can_sell_status,omitempty"` }
DsNhotelInfoDo 结构体
type EarlyBookingInfo ¶ added in v1.2.5
type EarlyBookingInfo struct { // 最少提前预定天数,数字范围限定在1-60 MinPreBookingDays int64 `json:"min_pre_booking_days,omitempty" xml:"min_pre_booking_days,omitempty"` // 折扣比例,填30就意味着原价的30%,也就是打3折。数字范围限定在10-95之间 InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"` // 连住天数,可为空,范围1-60 MinContinuityStay int64 `json:"min_continuity_stay,omitempty" xml:"min_continuity_stay,omitempty"` }
EarlyBookingInfo 结构体
type HbsResult ¶
type HbsResult struct { // 错误信息 ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"` // 结果码 ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"` // 给开发用的错误信息 ResultMsg4Dev string `json:"result_msg4_dev,omitempty" xml:"result_msg4_dev,omitempty"` // 飞猪平台订单号 Module int64 `json:"module,omitempty" xml:"module,omitempty"` // 订单是否创建成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
HbsResult 结构体
type HotelDivision ¶ added in v1.2.9
type HotelDivision struct { // 城市名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 0:国内;1:国外 Region int64 `json:"region,omitempty" xml:"region,omitempty"` // 城市编码 Code int64 `json:"code,omitempty" xml:"code,omitempty"` // 层级,1:国家,2:州省,3:城市,4:区县 Level int64 `json:"level,omitempty" xml:"level,omitempty"` // 类型,0:普通,1:景点,cityTag,如千岛湖 Type int64 `json:"type,omitempty" xml:"type,omitempty"` // 父行政区编码,例如杭州市(330100)的父行政区为浙江省(330000)。注意:如果parent_code的值为0,表示该行政区为最高级别的行政区,没有父行政区。 ParentCode int64 `json:"parent_code,omitempty" xml:"parent_code,omitempty"` // code是否可用来搜索酒店,true:code可直接用于搜索酒店,false: code不可直接用于搜索酒店。 Searchable bool `json:"searchable,omitempty" xml:"searchable,omitempty"` }
HotelDivision 结构体
type InvalidDate ¶ added in v1.2.5
type InvalidDate struct { // 活动失效开始时间 InvalidFrom string `json:"invalid_from,omitempty" xml:"invalid_from,omitempty"` // 活动失效结束时间 InvalidTo string `json:"invalid_to,omitempty" xml:"invalid_to,omitempty"` }
InvalidDate 结构体
type LongOrderInfo ¶ added in v1.2.5
type LongOrderInfo struct { // 最小连住天数 MinContinuityStay int64 `json:"min_continuity_stay,omitempty" xml:"min_continuity_stay,omitempty"` // 折扣比例,填30就意味着原价的30%,也就是打3折。数字范围限定在10-95之间 InvestmentNumber int64 `json:"investment_number,omitempty" xml:"investment_number,omitempty"` }
LongOrderInfo 结构体
type PromoInfo ¶ added in v1.2.5
type PromoInfo struct { // 连住优惠的入参 LongOrderInfo *LongOrderInfo `json:"long_order_info,omitempty" xml:"long_order_info,omitempty"` // 早定优惠的入参 EarlyBookingInfo *EarlyBookingInfo `json:"early_booking_info,omitempty" xml:"early_booking_info,omitempty"` // 天天特惠的入参 DailyBookingInfo *DailyBookingInfo `json:"daily_booking_info,omitempty" xml:"daily_booking_info,omitempty"` }
PromoInfo 结构体
type RateInfo ¶ added in v1.2.5
type RateInfo struct { // 外部价格计划code RatePlanCode string `json:"rate_plan_code,omitempty" xml:"rate_plan_code,omitempty"` // 外部房型id OutRid string `json:"out_rid,omitempty" xml:"out_rid,omitempty"` }
RateInfo 结构体
type TaobaoxhotelbnbpromoupdateAPIRequest ¶ added in v1.3.1
type TaobaoxhotelbnbpromoupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelbnbpromoupdateAPIRequest 民宿营销活动更新 API请求 taobao.xhotel.bnbpromo.update
全量更新对应外部活动code相关的营销活动信息
func NewTaobaoxhotelbnbpromoupdateRequest ¶ added in v1.3.1
func NewTaobaoxhotelbnbpromoupdateRequest() *TaobaoxhotelbnbpromoupdateAPIRequest
NewTaobaoxhotelbnbpromoupdateRequest 初始化TaobaoxhotelbnbpromoupdateAPIRequest对象
func (TaobaoxhotelbnbpromoupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelbnbpromoupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelbnbpromoupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelbnbpromoupdateAPIRequest) GetUpdatePromoParam ¶ added in v1.3.1
func (r TaobaoxhotelbnbpromoupdateAPIRequest) GetUpdatePromoParam() *UpdatePromoParam
GetUpdatePromoParam UpdatePromoParam Getter
func (*TaobaoxhotelbnbpromoupdateAPIRequest) SetUpdatePromoParam ¶ added in v1.3.1
func (r *TaobaoxhotelbnbpromoupdateAPIRequest) SetUpdatePromoParam(_updatePromoParam *UpdatePromoParam) error
SetUpdatePromoParam is UpdatePromoParam Setter 更新营销活动的入参
type TaobaoxhotelbnbpromoupdateAPIResponse ¶ added in v1.3.1
type TaobaoxhotelbnbpromoupdateAPIResponse struct { model.CommonResponse TaobaoxhotelbnbpromoupdateAPIResponseModel }
TaobaoxhotelbnbpromoupdateAPIResponse 民宿营销活动更新 API返回值 taobao.xhotel.bnbpromo.update
全量更新对应外部活动code相关的营销活动信息
type TaobaoxhotelbnbpromoupdateAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelbnbpromoupdateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_bnbpromo_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 查询结果集 Result *TaobaoxhotelbnbpromoupdateResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelbnbpromoupdateAPIResponseModel is 民宿营销活动更新 成功返回结果
type TaobaoxhotelbnbpromoupdateResultSet ¶ added in v1.3.1
type TaobaoxhotelbnbpromoupdateResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoxhotelbnbpromoupdateResultSet 结构体
type TaobaoxhotelcitydistributiongetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelcitydistributiongetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelcitydistributiongetAPIRequest 酒店城市数据获取接口-分销场景使用 API请求 taobao.xhotel.city.distribution.get
引流API,对外提供酒店城市数据
func NewTaobaoxhotelcitydistributiongetRequest ¶ added in v1.3.1
func NewTaobaoxhotelcitydistributiongetRequest() *TaobaoxhotelcitydistributiongetAPIRequest
NewTaobaoxhotelcitydistributiongetRequest 初始化TaobaoxhotelcitydistributiongetAPIRequest对象
func (TaobaoxhotelcitydistributiongetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelcitydistributiongetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelcitydistributiongetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelcitydistributiongetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelcitydistributiongetAPIRequest) GetCount ¶ added in v1.3.1
func (r TaobaoxhotelcitydistributiongetAPIRequest) GetCount() int64
GetCount Count Getter
func (TaobaoxhotelcitydistributiongetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelcitydistributiongetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelcitydistributiongetAPIRequest) GetStart ¶ added in v1.3.1
func (r TaobaoxhotelcitydistributiongetAPIRequest) GetStart() int64
GetStart Start Getter
func (*TaobaoxhotelcitydistributiongetAPIRequest) SetCount ¶ added in v1.3.1
func (r *TaobaoxhotelcitydistributiongetAPIRequest) SetCount(_count int64) error
SetCount is Count Setter 分页读取的城市个数,最小值为1,最大值为200
func (*TaobaoxhotelcitydistributiongetAPIRequest) SetStart ¶ added in v1.3.1
func (r *TaobaoxhotelcitydistributiongetAPIRequest) SetStart(_start int64) error
SetStart is Start Setter 分页读取的开始下标,从0开始
type TaobaoxhotelcitydistributiongetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelcitydistributiongetAPIResponse struct { model.CommonResponse TaobaoxhotelcitydistributiongetAPIResponseModel }
TaobaoxhotelcitydistributiongetAPIResponse 酒店城市数据获取接口-分销场景使用 API返回值 taobao.xhotel.city.distribution.get
引流API,对外提供酒店城市数据
type TaobaoxhotelcitydistributiongetAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelcitydistributiongetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_city_distribution_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店区域的数据列表 Divisions []HotelDivision `json:"divisions,omitempty" xml:"divisions>hotel_division,omitempty"` // 总数 TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"` // 城市数据的版本。所有城市数据有一个统一的版本,与入参start和count无关。 ISV可通过版本判断城市数据是否有更新。判断方法如下:ISV在第一次拉取数据时请将version保存在本地;以后再调用接口时请比较本地version与接口返回的version。如果本地version小于于接口返回version,则说明城市数据有更新;如果本地version等于接口返回version,则说明城市数据无更新,不需要再继续拉取城市数据。 Version int64 `json:"version,omitempty" xml:"version,omitempty"` }
TaobaoxhotelcitydistributiongetAPIResponseModel is 酒店城市数据获取接口-分销场景使用 成功返回结果
type TaobaoxhoteldataservicehotelserviceindexAPIRequest ¶ added in v1.3.1
type TaobaoxhoteldataservicehotelserviceindexAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhoteldataservicehotelserviceindexAPIRequest 酒店服务指数 API请求 taobao.xhotel.data.service.hotel.serviceindex
酒店服务指数
func NewTaobaoxhoteldataservicehotelserviceindexRequest ¶ added in v1.3.1
func NewTaobaoxhoteldataservicehotelserviceindexRequest() *TaobaoxhoteldataservicehotelserviceindexAPIRequest
NewTaobaoxhoteldataservicehotelserviceindexRequest 初始化TaobaoxhoteldataservicehotelserviceindexAPIRequest对象
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetReportEndDate ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetReportEndDate() string
GetReportEndDate ReportEndDate Getter
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetReportStartDate ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetReportStartDate() string
GetReportStartDate ReportStartDate Getter
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetStartRow ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetStartRow() int64
GetStartRow StartRow Getter
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhoteldataservicehotelserviceindexAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
func (*TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 10
func (*TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetReportEndDate ¶ added in v1.3.1
func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetReportEndDate(_reportEndDate string) error
SetReportEndDate is ReportEndDate Setter 查询时间段结束
func (*TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetReportStartDate ¶ added in v1.3.1
func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetReportStartDate(_reportStartDate string) error
SetReportStartDate is ReportStartDate Setter 查询时间段开始
func (*TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetStartRow ¶ added in v1.3.1
func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetStartRow(_startRow int64) error
SetStartRow is StartRow Setter 1
func (*TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetSupplier ¶ added in v1.3.1
func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商名称
func (*TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhoteldataservicehotelserviceindexAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 渠道商名称
type TaobaoxhoteldataservicehotelserviceindexAPIResponse ¶ added in v1.3.1
type TaobaoxhoteldataservicehotelserviceindexAPIResponse struct { model.CommonResponse TaobaoxhoteldataservicehotelserviceindexAPIResponseModel }
TaobaoxhoteldataservicehotelserviceindexAPIResponse 酒店服务指数 API返回值 taobao.xhotel.data.service.hotel.serviceindex
酒店服务指数
type TaobaoxhoteldataservicehotelserviceindexAPIResponseModel ¶ added in v1.3.1
type TaobaoxhoteldataservicehotelserviceindexAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_data_service_hotel_serviceindex_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoxhoteldataservicehotelserviceindexResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhoteldataservicehotelserviceindexAPIResponseModel is 酒店服务指数 成功返回结果
type TaobaoxhoteldataservicehotelserviceindexResultSet ¶ added in v1.3.1
type TaobaoxhoteldataservicehotelserviceindexResultSet struct { // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // firstResult FirstResult *TopAdsHtlDataQueryResult `json:"first_result,omitempty" xml:"first_result,omitempty"` // success Success bool `json:"success,omitempty" xml:"success,omitempty"` }
TaobaoxhoteldataservicehotelserviceindexResultSet 结构体
type TaobaoxhoteldataserviceorderdetailAPIRequest ¶ added in v1.3.1
type TaobaoxhoteldataserviceorderdetailAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhoteldataserviceorderdetailAPIRequest 服务订单详情 API请求 taobao.xhotel.data.service.order.detail
服务订单详情top接口构建
func NewTaobaoxhoteldataserviceorderdetailRequest ¶ added in v1.3.1
func NewTaobaoxhoteldataserviceorderdetailRequest() *TaobaoxhoteldataserviceorderdetailAPIRequest
NewTaobaoxhoteldataserviceorderdetailRequest 初始化TaobaoxhoteldataserviceorderdetailAPIRequest对象
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetEndDate ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetEndDate() string
GetEndDate EndDate Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetHid ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetHid() int64
GetHid Hid Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsCallNoOrder ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsCallNoOrder() int64
GetIsCallNoOrder IsCallNoOrder Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsNoRoomCompen ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsNoRoomCompen() int64
GetIsNoRoomCompen IsNoRoomCompen Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSellerDeny ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSellerDeny() int64
GetIsSellerDeny IsSellerDeny Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSellerRefund ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSellerRefund() int64
GetIsSellerRefund IsSellerRefund Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSpecTimeOrder ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetIsSpecTimeOrder() int64
GetIsSpecTimeOrder IsSpecTimeOrder Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetPageSize ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetStartDate ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetStartDate() string
GetStartDate StartDate Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetStartRow ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetStartRow() int64
GetStartRow StartRow Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetSupplier ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetSupplier() string
GetSupplier Supplier Getter
func (TaobaoxhoteldataserviceorderdetailAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhoteldataserviceorderdetailAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetEndDate ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetEndDate(_endDate string) error
SetEndDate is EndDate Setter 查询结束时间
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetHid ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetHid(_hid int64) error
SetHid is Hid Setter 酒店id
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsCallNoOrder ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsCallNoOrder(_isCallNoOrder int64) error
SetIsCallNoOrder is IsCallNoOrder Setter 是否查无订单 1:是 0:否
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsNoRoomCompen ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsNoRoomCompen(_isNoRoomCompen int64) error
SetIsNoRoomCompen is IsNoRoomCompen Setter 是否到店无房 1:是
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSellerDeny ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSellerDeny(_isSellerDeny int64) error
SetIsSellerDeny is IsSellerDeny Setter 是否拒单 1:是 0:否
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSellerRefund ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSellerRefund(_isSellerRefund int64) error
SetIsSellerRefund is IsSellerRefund Setter 是否卖家原因退款 1:是 0:否
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSpecTimeOrder ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetIsSpecTimeOrder(_isSpecTimeOrder int64) error
SetIsSpecTimeOrder is IsSpecTimeOrder Setter 是否特殊时段订单 1:是 0:否
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetPageSize ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页大小
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetStartDate ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetStartDate(_startDate string) error
SetStartDate is StartDate Setter 查询开始日期
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetStartRow ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetStartRow(_startRow int64) error
SetStartRow is StartRow Setter 分页参数
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetSupplier ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetSupplier(_supplier string) error
SetSupplier is Supplier Setter 供应商名称
func (*TaobaoxhoteldataserviceorderdetailAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhoteldataserviceorderdetailAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 渠道商名称
type TaobaoxhoteldataserviceorderdetailAPIResponse ¶ added in v1.3.1
type TaobaoxhoteldataserviceorderdetailAPIResponse struct { model.CommonResponse TaobaoxhoteldataserviceorderdetailAPIResponseModel }
TaobaoxhoteldataserviceorderdetailAPIResponse 服务订单详情 API返回值 taobao.xhotel.data.service.order.detail
服务订单详情top接口构建
type TaobaoxhoteldataserviceorderdetailAPIResponseModel ¶ added in v1.3.1
type TaobaoxhoteldataserviceorderdetailAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_data_service_order_detail_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *TaobaoxhoteldataserviceorderdetailResultSet `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhoteldataserviceorderdetailAPIResponseModel is 服务订单详情 成功返回结果
type TaobaoxhoteldataserviceorderdetailResultSet ¶ added in v1.3.1
type TaobaoxhoteldataserviceorderdetailResultSet struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMsg ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // firstResult FirstResult *TopAdsTripSvcQueryResult `json:"first_result,omitempty" xml:"first_result,omitempty"` }
TaobaoxhoteldataserviceorderdetailResultSet 结构体
type TaobaoxhotelorderhotelsignqueryAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderhotelsignqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderhotelsignqueryAPIRequest 获取直连酒店(客栈)签约上线进度信息 API请求 taobao.xhotel.order.hotelsign.query
获取直连酒店(客栈)签约上线进度信息
func NewTaobaoxhotelorderhotelsignqueryRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderhotelsignqueryRequest() *TaobaoxhotelorderhotelsignqueryAPIRequest
NewTaobaoxhotelorderhotelsignqueryRequest 初始化TaobaoxhotelorderhotelsignqueryAPIRequest对象
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetOutUuid ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetPageNo ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetType ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetType() string
GetType Type Getter
func (TaobaoxhotelorderhotelsignqueryAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelorderhotelsignqueryAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelorderhotelsignqueryAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 商家酒店编码
func (*TaobaoxhotelorderhotelsignqueryAPIRequest) SetOutUuid ¶ added in v1.3.1
func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 请求流水
func (*TaobaoxhotelorderhotelsignqueryAPIRequest) SetPageNo ¶ added in v1.3.1
func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 页码
func (*TaobaoxhotelorderhotelsignqueryAPIRequest) SetType ¶ added in v1.3.1
func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetType(_type string) error
SetType is Type Setter 1
func (*TaobaoxhotelorderhotelsignqueryAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelorderhotelsignqueryAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 商家vendor
type TaobaoxhotelorderhotelsignqueryAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderhotelsignqueryAPIResponse struct { model.CommonResponse TaobaoxhotelorderhotelsignqueryAPIResponseModel }
TaobaoxhotelorderhotelsignqueryAPIResponse 获取直连酒店(客栈)签约上线进度信息 API返回值 taobao.xhotel.order.hotelsign.query
获取直连酒店(客栈)签约上线进度信息
type TaobaoxhotelorderhotelsignqueryAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderhotelsignqueryAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_hotelsign_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // dsNhotelInfoDOList,当入参不包含hotelcode的时候,只有vendor的时候返回该对象 DsNhotelInfoDOList []DsNhotelInfoDo `json:"ds_nhotel_info_d_o_list,omitempty" xml:"ds_nhotel_info_d_o_list>ds_nhotel_info_do,omitempty"` // outUuid OutUuid string `json:"out_uuid,omitempty" xml:"out_uuid,omitempty"` // hotelSignInfo,当入参中包含hotelcode和vendor的时候,返回该对象 HotelSignInfo *DchotelSignDo `json:"hotel_sign_info,omitempty" xml:"hotel_sign_info,omitempty"` }
TaobaoxhotelorderhotelsignqueryAPIResponseModel is 获取直连酒店(客栈)签约上线进度信息 成功返回结果
type TaobaoxhotelorderofficialqualificationgetAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderofficialqualificationgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderofficialqualificationgetAPIRequest 官网信用住用户资质校验 API请求 taobao.xhotel.order.official.qualification.get
官网信用住在下单前对用户进行资质校验,资质校验通过才能进行信用支付
func NewTaobaoxhotelorderofficialqualificationgetRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderofficialqualificationgetRequest() *TaobaoxhotelorderofficialqualificationgetAPIRequest
NewTaobaoxhotelorderofficialqualificationgetRequest 初始化TaobaoxhotelorderofficialqualificationgetAPIRequest对象
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetAlipayAccount ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetAlipayAccount() string
GetAlipayAccount AlipayAccount Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetCheckIn ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetCheckIn() string
GetCheckIn CheckIn Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetCheckOut ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetCheckOut() string
GetCheckOut CheckOut Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetDailyPriceInfo ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetDailyPriceInfo() string
GetDailyPriceInfo DailyPriceInfo Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetEncryptType ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetEncryptType() int64
GetEncryptType EncryptType Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetExtendAttrs ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetExtendAttrs() string
GetExtendAttrs ExtendAttrs Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetGuestName ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetGuestName() string
GetGuestName GuestName Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetHotelCode ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetIdNumber ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetIdNumber() string
GetIdNumber IdNumber Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetIdType ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetIdType() int64
GetIdType IdType Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetMobileNo ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetMobileNo() string
GetMobileNo MobileNo Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetNotifyUrl ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetNotifyUrl() string
GetNotifyUrl NotifyUrl Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutMemberAccount ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutMemberAccount() string
GetOutMemberAccount OutMemberAccount Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutOid ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutOid() string
GetOutOid OutOid Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutUUID ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetOutUUID() string
GetOutUUID OutUUID Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetReturnUrl ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetReturnUrl() string
GetReturnUrl ReturnUrl Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetRoomNum ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetRoomNum() int64
GetRoomNum RoomNum Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetTotalFee ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetTotalFee() int64
GetTotalFee TotalFee Getter
func (TaobaoxhotelorderofficialqualificationgetAPIRequest) GetVendor ¶ added in v1.3.1
func (r TaobaoxhotelorderofficialqualificationgetAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetAlipayAccount ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetAlipayAccount(_alipayAccount string) error
SetAlipayAccount is AlipayAccount Setter 用户支付宝唯一识别码(可选)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetCheckIn ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetCheckIn(_checkIn string) error
SetCheckIn is CheckIn Setter 客人入住日期
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetCheckOut ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetCheckOut(_checkOut string) error
SetCheckOut is CheckOut Setter 客人离店日期, 最多支持9间夜
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetDailyPriceInfo ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
SetDailyPriceInfo is DailyPriceInfo Setter 每日房价,json格式 ,如果是多间房,则是每日多间房总房价(可选) * eg:{"day":"2015-08-12","price":48800}, {"day":"2015-08-13","price":48800}
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetEncryptType ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetEncryptType(_encryptType int64) error
SetEncryptType is EncryptType Setter 加密方式, 默认0: 不加密, 信息会通过淘宝开放平台传输, 阿里旅行可以获取到具体信息; * 目前只支持不加密
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetExtendAttrs ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetExtendAttrs(_extendAttrs string) error
SetExtendAttrs is ExtendAttrs Setter 扩展字段,json串,用户后续的营销、统计、定制等需求,目前已有key列表: is_new_user:是否是卖家新用户,1-是,0或者key为null,表示不是 is_first_stay:是否是卖家首住,1-是,0或者key为null,表示不是 (已有列表必须传递)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetGuestName ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetGuestName(_guestName string) error
SetGuestName is GuestName Setter 入住人姓名(必选)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetHotelCode ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 酒店外部编码
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetIdNumber ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetIdNumber(_idNumber string) error
SetIdNumber is IdNumber Setter 身份证号,必选
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetIdType ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetIdType(_idType int64) error
SetIdType is IdType Setter 证件类型, 默认0:身份证; 1: 护照; 2:警官证; 3:士兵证; 4: 回乡证。目前只支持身份证
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetMobileNo ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetMobileNo(_mobileNo string) error
SetMobileNo is MobileNo Setter 用户手机号(可选)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetNotifyUrl ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetNotifyUrl(_notifyUrl string) error
SetNotifyUrl is NotifyUrl Setter 卖家接收阿里旅行订单状态变更的服务地址(需要实现阿里旅行提供的服务通知规范)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutMemberAccount ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutMemberAccount(_outMemberAccount string) error
SetOutMemberAccount is OutMemberAccount Setter 外部会员账号(必选)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutOid ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutOid(_outOid string) error
SetOutOid is OutOid Setter 外部订单号(必选),阿里旅行会根据此值进行幂等性校验
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutUUID ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetOutUUID(_outUUID string) error
SetOutUUID is OutUUID Setter 外部请求序列表号\流水号,单次请求的唯一标识(必须)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetReturnUrl ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetReturnUrl(_returnUrl string) error
SetReturnUrl is ReturnUrl Setter 阿里旅行支付(下单)结束后跳转卖家的页面地址(必须)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetRoomNum ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetRoomNum(_roomNum int64) error
SetRoomNum is RoomNum Setter 房间数
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetTotalFee ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetTotalFee(_totalFee int64) error
SetTotalFee is TotalFee Setter 总的收费金额,单位为分(必须)
func (*TaobaoxhotelorderofficialqualificationgetAPIRequest) SetVendor ¶ added in v1.3.1
func (r *TaobaoxhotelorderofficialqualificationgetAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 商家在淘宝给分配的渠道名(建议填充较好)
type TaobaoxhotelorderofficialqualificationgetAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderofficialqualificationgetAPIResponse struct { model.CommonResponse TaobaoxhotelorderofficialqualificationgetAPIResponseModel }
TaobaoxhotelorderofficialqualificationgetAPIResponse 官网信用住用户资质校验 API返回值 taobao.xhotel.order.official.qualification.get
官网信用住在下单前对用户进行资质校验,资质校验通过才能进行信用支付
type TaobaoxhotelorderofficialqualificationgetAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderofficialqualificationgetAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_official_qualification_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 无资格原因提示信息 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 入参信息回传, 用于校验的证件号码 IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"` // * 外部请求序列表号回传\流水号(如果外部订单号唯一,建议外部订单号,这样容易核对问题),用于区别一次请求和排查问题,阿里旅行不做任何格式校验(必须) OutUUID string `json:"out_u_u_i_d,omitempty" xml:"out_u_u_i_d,omitempty"` // 入参信息回传,用于校验的外部会员账号 OutMemeberAccount string `json:"out_memeber_account,omitempty" xml:"out_memeber_account,omitempty"` // 扩展字段,json串,后续留用 ExtendAttrs string `json:"extend_attrs,omitempty" xml:"extend_attrs,omitempty"` // 资质校验是否成功,有资格返回true, 无资格返回false MatchCondition bool `json:"match_condition,omitempty" xml:"match_condition,omitempty"` }
TaobaoxhotelorderofficialqualificationgetAPIResponseModel is 官网信用住用户资质校验 成功返回结果
type TaobaoxhotelorderofflinesettlecancelAPIRequest ¶ added in v1.3.1
type TaobaoxhotelorderofflinesettlecancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoxhotelorderofflinesettlecancelAPIRequest 线下信用住取消结账专用接口 API请求 taobao.xhotel.order.offline.settle.cancel
线下信用住取消结账专用接口
func NewTaobaoxhotelorderofflinesettlecancelRequest ¶ added in v1.3.1
func NewTaobaoxhotelorderofflinesettlecancelRequest() *TaobaoxhotelorderofflinesettlecancelAPIRequest
NewTaobaoxhotelorderofflinesettlecancelRequest 初始化TaobaoxhotelorderofflinesettlecancelAPIRequest对象
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetNotifyUrl ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetNotifyUrl() string
GetNotifyUrl NotifyUrl Getter
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetOutId ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetOutUuid ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetReason ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetReason() string
GetReason Reason Getter
func (TaobaoxhotelorderofflinesettlecancelAPIRequest) GetTid ¶ added in v1.3.1
func (r TaobaoxhotelorderofflinesettlecancelAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoxhotelorderofflinesettlecancelAPIRequest) SetNotifyUrl ¶ added in v1.3.1
func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
SetNotifyUrl is NotifyUrl Setter 暂时无意义,无需传入
func (*TaobaoxhotelorderofflinesettlecancelAPIRequest) SetOutId ¶ added in v1.3.1
func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部订单号,和tid二选一必填(建议都写入)
func (*TaobaoxhotelorderofflinesettlecancelAPIRequest) SetOutUuid ¶ added in v1.3.1
func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 请求流水号
func (*TaobaoxhotelorderofflinesettlecancelAPIRequest) SetReason ¶ added in v1.3.1
func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetReason(_reason string) error
SetReason is Reason Setter 取消结账的原因
func (*TaobaoxhotelorderofflinesettlecancelAPIRequest) SetTid ¶ added in v1.3.1
func (r *TaobaoxhotelorderofflinesettlecancelAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 阿里旅行订单号,淘宝订单号或外部订单号二选一必填
type TaobaoxhotelorderofflinesettlecancelAPIResponse ¶ added in v1.3.1
type TaobaoxhotelorderofflinesettlecancelAPIResponse struct { model.CommonResponse TaobaoxhotelorderofflinesettlecancelAPIResponseModel }
TaobaoxhotelorderofflinesettlecancelAPIResponse 线下信用住取消结账专用接口 API返回值 taobao.xhotel.order.offline.settle.cancel
线下信用住取消结账专用接口
type TaobaoxhotelorderofflinesettlecancelAPIResponseModel ¶ added in v1.3.1
type TaobaoxhotelorderofflinesettlecancelAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_offline_settle_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回信息 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoxhotelorderofflinesettlecancelAPIResponseModel is 线下信用住取消结账专用接口 成功返回结果
type TopAdsHtlDataQueryResult ¶
type TopAdsHtlDataQueryResult struct { // topAdsHtlServiceDataList TopAdsHtlServiceDataList []Topadshtlservicedatalist `json:"top_ads_htl_service_data_list,omitempty" xml:"top_ads_htl_service_data_list>topadshtlservicedatalist,omitempty"` // 数量 Count int64 `json:"count,omitempty" xml:"count,omitempty"` }
TopAdsHtlDataQueryResult 结构体
type TopAdsTripSvcQueryResult ¶
type TopAdsTripSvcQueryResult struct { // topAdsHtlServiceDataList TopAdsHtlServiceDataList []Topadshtlservicedatalist `json:"top_ads_htl_service_data_list,omitempty" xml:"top_ads_htl_service_data_list>topadshtlservicedatalist,omitempty"` // count Count int64 `json:"count,omitempty" xml:"count,omitempty"` }
TopAdsTripSvcQueryResult 结构体
type Topadshtlservicedatalist ¶
type Topadshtlservicedatalist struct { // 渠道名称 Vendor string `json:"vendor,omitempty" xml:"vendor,omitempty"` // 电话 Tel string `json:"tel,omitempty" xml:"tel,omitempty"` // 预定成功率 BookingSuccRateStr string `json:"booking_succ_rate_str,omitempty" xml:"booking_succ_rate_str,omitempty"` // 酒店名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 统计时间 ReportDate string `json:"report_date,omitempty" xml:"report_date,omitempty"` // 酒店外部编码 OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"` // 是否查无订单 N:否 Y:是 IsCallNoOrder string `json:"is_call_no_order,omitempty" xml:"is_call_no_order,omitempty"` // 是否特殊时段订单 N:否 Y:是 IsSpecTimeOrder string `json:"is_spec_time_order,omitempty" xml:"is_spec_time_order,omitempty"` // 入住时间 CheckinDate string `json:"checkin_date,omitempty" xml:"checkin_date,omitempty"` // 是否到店无房订单 1:是 IsNoRoomCompen string `json:"is_no_room_compen,omitempty" xml:"is_no_room_compen,omitempty"` // 酒店名称 HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"` // 是否拒单 N:否 Y:是 IsSellerDeny string `json:"is_seller_deny,omitempty" xml:"is_seller_deny,omitempty"` // 离店时间 CheckoutDate string `json:"checkout_date,omitempty" xml:"checkout_date,omitempty"` // 是否卖家原因退款 N:否 Y:是 IsSellerRefund string `json:"is_seller_refund,omitempty" xml:"is_seller_refund,omitempty"` // 供应商名称 Supplier string `json:"supplier,omitempty" xml:"supplier,omitempty"` // 酒店id Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 有效订单数 SalesCountInCycle int64 `json:"sales_count_in_cycle,omitempty" xml:"sales_count_in_cycle,omitempty"` // 关闭订单数 ClosedCountInCycle int64 `json:"closed_count_in_cycle,omitempty" xml:"closed_count_in_cycle,omitempty"` // 查无订单数 NoOrdCntInCycle int64 `json:"no_ord_cnt_in_cycle,omitempty" xml:"no_ord_cnt_in_cycle,omitempty"` // 到店无房数量 NoRoomCntInCycle int64 `json:"no_room_cnt_in_cycle,omitempty" xml:"no_room_cnt_in_cycle,omitempty"` // 确认时长 ConfirmDuration int64 `json:"confirm_duration,omitempty" xml:"confirm_duration,omitempty"` // 订单id Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` }
Topadshtlservicedatalist 结构体
type UpdatePromoParam ¶ added in v1.2.5
type UpdatePromoParam struct { // 营销活动关联的价格计划和房型 RateInfos []RateInfo `json:"rate_infos,omitempty" xml:"rate_infos>rate_info,omitempty"` // 外部营销活动的code,最长40个字符 OuterActivityCode string `json:"outer_activity_code,omitempty" xml:"outer_activity_code,omitempty"` // 营销活动的具体参数对象,在每次添加更新的时候,long_order_info、early_booking_info、daily_booking_info 只能填1种类型,其他2种类型为空 PromoInfo *PromoInfo `json:"promo_info,omitempty" xml:"promo_info,omitempty"` }
UpdatePromoParam 结构体
Source Files ¶
- AlitripXhotelChannelOrderCreateResQueryAPIRequest.go
- AlitripXhotelChannelOrderCreateResQueryAPIResponse.go
- DailyBookingInfo.go
- DchotelSignDo.go
- DsNhotelInfoDo.go
- EarlyBookingInfo.go
- HbsResult.go
- HotelDivision.go
- InvalidDate.go
- LongOrderInfo.go
- PromoInfo.go
- RateInfo.go
- TaobaoXhotelBnbpromoUpdateAPIRequest.go
- TaobaoXhotelBnbpromoUpdateAPIResponse.go
- TaobaoXhotelBnbpromoUpdateResultSet.go
- TaobaoXhotelCityDistributionGetAPIRequest.go
- TaobaoXhotelCityDistributionGetAPIResponse.go
- TaobaoXhotelDataServiceHotelServiceindexAPIRequest.go
- TaobaoXhotelDataServiceHotelServiceindexAPIResponse.go
- TaobaoXhotelDataServiceHotelServiceindexResultSet.go
- TaobaoXhotelDataServiceOrderDetailAPIRequest.go
- TaobaoXhotelDataServiceOrderDetailAPIResponse.go
- TaobaoXhotelDataServiceOrderDetailResultSet.go
- TaobaoXhotelOrderHotelsignQueryAPIRequest.go
- TaobaoXhotelOrderHotelsignQueryAPIResponse.go
- TaobaoXhotelOrderOfficialQualificationGetAPIRequest.go
- TaobaoXhotelOrderOfficialQualificationGetAPIResponse.go
- TaobaoXhotelOrderOfflineSettleCancelAPIRequest.go
- TaobaoXhotelOrderOfflineSettleCancelAPIResponse.go
- TopAdsHtlDataQueryResult.go
- TopAdsTripSvcQueryResult.go
- Topadshtlservicedatalist.go
- UpdatePromoParam.go
- doc.go