Documentation ¶
Overview ¶
Package xhotelofficial 包含酒店官网信用住API相关结构体
Index ¶
- func ReleaseRoomSettleInfo(v *RoomSettleInfo)
- func ReleaseTaobaoXhotelOrderOfficialCancelAPIRequest(v *TaobaoXhotelOrderOfficialCancelAPIRequest)
- func ReleaseTaobaoXhotelOrderOfficialCancelAPIResponse(v *TaobaoXhotelOrderOfficialCancelAPIResponse)
- func ReleaseTaobaoXhotelOrderOfficialPrecheckAPIRequest(v *TaobaoXhotelOrderOfficialPrecheckAPIRequest)
- func ReleaseTaobaoXhotelOrderOfficialPrecheckAPIResponse(v *TaobaoXhotelOrderOfficialPrecheckAPIResponse)
- func ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIRequest(v *TaobaoXhotelOrderOfficialSettleCancelAPIRequest)
- func ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIResponse(v *TaobaoXhotelOrderOfficialSettleCancelAPIResponse)
- func ReleaseTaobaoXhotelOrderOfficialSettlePutAPIRequest(v *TaobaoXhotelOrderOfficialSettlePutAPIRequest)
- func ReleaseTaobaoXhotelOrderOfficialSettlePutAPIResponse(v *TaobaoXhotelOrderOfficialSettlePutAPIResponse)
- type RoomSettleInfo
- type TaobaoXhotelOrderOfficialCancelAPIRequest
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetNotifyUrl() string
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetOutId() string
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetOutUuid() string
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetReasonText() string
- func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetTid() int64
- func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) Reset()
- func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
- func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetReasonText(_reasonText string) error
- func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetTid(_tid int64) error
- type TaobaoXhotelOrderOfficialCancelAPIResponse
- type TaobaoXhotelOrderOfficialCancelAPIResponseModel
- type TaobaoXhotelOrderOfficialPrecheckAPIRequest
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetEncryptType() int64
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetGuestName() string
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetHotelCode() string
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetIdNumber() string
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetIdType() int64
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetMobileNo() string
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetTotalFee() int64
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetType() int64
- func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetVendor() string
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) Reset()
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetEncryptType(_encryptType int64) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetGuestName(_guestName string) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetIdNumber(_idNumber string) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetIdType(_idType int64) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetMobileNo(_mobileNo string) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetTotalFee(_totalFee int64) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetType(_type int64) error
- func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetVendor(_vendor string) error
- type TaobaoXhotelOrderOfficialPrecheckAPIResponse
- type TaobaoXhotelOrderOfficialPrecheckAPIResponseModel
- type TaobaoXhotelOrderOfficialSettleCancelAPIRequest
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetNotifyUrl() string
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetOutId() string
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetOutUuid() string
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetReason() string
- func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetTid() int64
- func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) Reset()
- func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
- func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetReason(_reason string) error
- func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetTid(_tid int64) error
- type TaobaoXhotelOrderOfficialSettleCancelAPIResponse
- type TaobaoXhotelOrderOfficialSettleCancelAPIResponseModel
- type TaobaoXhotelOrderOfficialSettlePutAPIRequest
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetCheckOut() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetContainGuarantee() int64
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetDailyPriceInfo() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetMemo() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetNotifyUrl() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOtherFee() int64
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOtherFeeDetail() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOutId() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOutUuid() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRoomNo() string
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRoomSettleInfoList() []RoomSettleInfo
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetTid() int64
- func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetTotalRoomFee() int64
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) Reset()
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetCheckOut(_checkOut string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetContainGuarantee(_containGuarantee int64) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetNotifyUrl(_notifyUrl string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOtherFee(_otherFee int64) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOtherFeeDetail(_otherFeeDetail string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetRoomNo(_roomNo string) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetRoomSettleInfoList(_roomSettleInfoList []RoomSettleInfo) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetTotalRoomFee(_totalRoomFee int64) error
- type TaobaoXhotelOrderOfficialSettlePutAPIResponse
- type TaobaoXhotelOrderOfficialSettlePutAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseRoomSettleInfo ¶ added in v1.3.4
func ReleaseRoomSettleInfo(v *RoomSettleInfo)
ReleaseRoomSettleInfo 释放RoomSettleInfo
func ReleaseTaobaoXhotelOrderOfficialCancelAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialCancelAPIRequest(v *TaobaoXhotelOrderOfficialCancelAPIRequest)
ReleaseTaobaoXhotelOrderOfficialCancelAPIRequest 将 TaobaoXhotelOrderOfficialCancelAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderOfficialCancelAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialCancelAPIResponse(v *TaobaoXhotelOrderOfficialCancelAPIResponse)
ReleaseTaobaoXhotelOrderOfficialCancelAPIResponse 将 TaobaoXhotelOrderOfficialCancelAPIResponse 保存到 sync.Pool
func ReleaseTaobaoXhotelOrderOfficialPrecheckAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialPrecheckAPIRequest(v *TaobaoXhotelOrderOfficialPrecheckAPIRequest)
ReleaseTaobaoXhotelOrderOfficialPrecheckAPIRequest 将 TaobaoXhotelOrderOfficialPrecheckAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderOfficialPrecheckAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialPrecheckAPIResponse(v *TaobaoXhotelOrderOfficialPrecheckAPIResponse)
ReleaseTaobaoXhotelOrderOfficialPrecheckAPIResponse 将 TaobaoXhotelOrderOfficialPrecheckAPIResponse 保存到 sync.Pool
func ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIRequest(v *TaobaoXhotelOrderOfficialSettleCancelAPIRequest)
ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIRequest 将 TaobaoXhotelOrderOfficialSettleCancelAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIResponse(v *TaobaoXhotelOrderOfficialSettleCancelAPIResponse)
ReleaseTaobaoXhotelOrderOfficialSettleCancelAPIResponse 将 TaobaoXhotelOrderOfficialSettleCancelAPIResponse 保存到 sync.Pool
func ReleaseTaobaoXhotelOrderOfficialSettlePutAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialSettlePutAPIRequest(v *TaobaoXhotelOrderOfficialSettlePutAPIRequest)
ReleaseTaobaoXhotelOrderOfficialSettlePutAPIRequest 将 TaobaoXhotelOrderOfficialSettlePutAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderOfficialSettlePutAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfficialSettlePutAPIResponse(v *TaobaoXhotelOrderOfficialSettlePutAPIResponse)
ReleaseTaobaoXhotelOrderOfficialSettlePutAPIResponse 将 TaobaoXhotelOrderOfficialSettlePutAPIResponse 保存到 sync.Pool
Types ¶
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"` // 日历价格(每个房间的日历价格,多间房结账必填) 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 TaobaoXhotelOrderOfficialCancelAPIRequest ¶
type TaobaoXhotelOrderOfficialCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderOfficialCancelAPIRequest 官网信用住订单取消 API请求 taobao.xhotel.order.official.cancel
官网信用住订单取消
func GetTaobaoXhotelOrderOfficialCancelAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialCancelAPIRequest() *TaobaoXhotelOrderOfficialCancelAPIRequest
GetTaobaoXhotelOrderOfficialCancelRequest 从 sync.Pool 获取 TaobaoXhotelOrderOfficialCancelAPIRequest
func NewTaobaoXhotelOrderOfficialCancelRequest ¶
func NewTaobaoXhotelOrderOfficialCancelRequest() *TaobaoXhotelOrderOfficialCancelAPIRequest
NewTaobaoXhotelOrderOfficialCancelRequest 初始化TaobaoXhotelOrderOfficialCancelAPIRequest对象
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetNotifyUrl ¶
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetNotifyUrl() string
GetNotifyUrl NotifyUrl Getter
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetOutId ¶
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetOutUuid ¶
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetReasonText ¶
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetReasonText() string
GetReasonText ReasonText Getter
func (TaobaoXhotelOrderOfficialCancelAPIRequest) GetTid ¶
func (r TaobaoXhotelOrderOfficialCancelAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoXhotelOrderOfficialCancelAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderOfficialCancelAPIRequest) SetNotifyUrl ¶
func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
SetNotifyUrl is NotifyUrl Setter 暂无意义,无需传入
func (*TaobaoXhotelOrderOfficialCancelAPIRequest) SetOutId ¶
func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部订单号
func (*TaobaoXhotelOrderOfficialCancelAPIRequest) SetOutUuid ¶
func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 请求流水号(必须传入)
func (*TaobaoXhotelOrderOfficialCancelAPIRequest) SetReasonText ¶
func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetReasonText(_reasonText string) error
SetReasonText is ReasonText Setter 原因描述
func (*TaobaoXhotelOrderOfficialCancelAPIRequest) SetTid ¶
func (r *TaobaoXhotelOrderOfficialCancelAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单号,必选
type TaobaoXhotelOrderOfficialCancelAPIResponse ¶
type TaobaoXhotelOrderOfficialCancelAPIResponse struct { model.CommonResponse TaobaoXhotelOrderOfficialCancelAPIResponseModel }
TaobaoXhotelOrderOfficialCancelAPIResponse 官网信用住订单取消 API返回值 taobao.xhotel.order.official.cancel
官网信用住订单取消
func GetTaobaoXhotelOrderOfficialCancelAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialCancelAPIResponse() *TaobaoXhotelOrderOfficialCancelAPIResponse
GetTaobaoXhotelOrderOfficialCancelAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderOfficialCancelAPIResponse
func (*TaobaoXhotelOrderOfficialCancelAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialCancelAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfficialCancelAPIResponseModel ¶
type TaobaoXhotelOrderOfficialCancelAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_official_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回提示信息 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelOrderOfficialCancelAPIResponseModel is 官网信用住订单取消 成功返回结果
func (*TaobaoXhotelOrderOfficialCancelAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialCancelAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfficialPrecheckAPIRequest ¶
type TaobaoXhotelOrderOfficialPrecheckAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderOfficialPrecheckAPIRequest 官网信用住用户资格预校验接口 API请求 taobao.xhotel.order.official.precheck
官网信用住用户资格预校验接口是在订单创建之前,根据入住人身份信息对其做预先校验是否具有信用住资格。可以优化用户预定体验,对于无资格的用户在预定前即不可进行信用住的选择。减少在提交预定后预定失败体验。该接口为可选对接接口,商家可根据实际情况自行决定是否对接。
接口使用场景
提交订单前的预定人信用住资格预先校验,卖家可决定是否在搜索,预订页,补全身份信息时进行调用,以便决定信用住是否提供给用户
func GetTaobaoXhotelOrderOfficialPrecheckAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialPrecheckAPIRequest() *TaobaoXhotelOrderOfficialPrecheckAPIRequest
GetTaobaoXhotelOrderOfficialPrecheckRequest 从 sync.Pool 获取 TaobaoXhotelOrderOfficialPrecheckAPIRequest
func NewTaobaoXhotelOrderOfficialPrecheckRequest ¶
func NewTaobaoXhotelOrderOfficialPrecheckRequest() *TaobaoXhotelOrderOfficialPrecheckAPIRequest
NewTaobaoXhotelOrderOfficialPrecheckRequest 初始化TaobaoXhotelOrderOfficialPrecheckAPIRequest对象
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetEncryptType ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetEncryptType() int64
GetEncryptType EncryptType Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetGuestName ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetGuestName() string
GetGuestName GuestName Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetHotelCode ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetIdNumber ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetIdNumber() string
GetIdNumber IdNumber Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetIdType ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetIdType() int64
GetIdType IdType Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetMobileNo ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetMobileNo() string
GetMobileNo MobileNo Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetTotalFee ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetTotalFee() int64
GetTotalFee TotalFee Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetType ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetType() int64
GetType Type Getter
func (TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetVendor ¶
func (r TaobaoXhotelOrderOfficialPrecheckAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetEncryptType ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetEncryptType(_encryptType int64) error
SetEncryptType is EncryptType Setter 加密方式, 默认0: 不加密, 信息会通过淘宝开放平台传输, 阿里旅行可以获取到具体信息; 1: SHA-1不可逆加密, 阿里旅行方面无法解析到具体信息, 只用于做信息匹配.注意加密后生成40字节长度的字符串(目前不建议加密)
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetGuestName ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetGuestName(_guestName string) error
SetGuestName is GuestName Setter 入住人姓名
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetHotelCode ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 参数必填,发布到阿里旅行的酒店编码
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetIdNumber ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetIdNumber(_idNumber string) error
SetIdNumber is IdNumber Setter 证件号, 如果加密方式设置为1, 传入加密后的证件号(建议明文传递)
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetIdType ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetIdType(_idType int64) error
SetIdType is IdType Setter 证件类型, 默认0:身份证; 1: 护照; 2:警官证; 3:士兵证; 4: 回乡证(目前仅仅支持身份证)
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetMobileNo ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetMobileNo(_mobileNo string) error
SetMobileNo is MobileNo Setter 客人手机号
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetTotalFee ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetTotalFee(_totalFee int64) error
SetTotalFee is TotalFee Setter 总的收费金额,单位为分
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetType ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetType(_type int64) error
SetType is Type Setter 验证类型.可以不设置. 默认0-下单前资格校验;1-已经创建的信用住订单,入住人在checkIn时的资格复审(无特殊要求不填写)
func (*TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetVendor ¶
func (r *TaobaoXhotelOrderOfficialPrecheckAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 请咨酒店对接负责人, 用于和outHid共同定位一个酒店
type TaobaoXhotelOrderOfficialPrecheckAPIResponse ¶
type TaobaoXhotelOrderOfficialPrecheckAPIResponse struct { model.CommonResponse TaobaoXhotelOrderOfficialPrecheckAPIResponseModel }
TaobaoXhotelOrderOfficialPrecheckAPIResponse 官网信用住用户资格预校验接口 API返回值 taobao.xhotel.order.official.precheck
官网信用住用户资格预校验接口是在订单创建之前,根据入住人身份信息对其做预先校验是否具有信用住资格。可以优化用户预定体验,对于无资格的用户在预定前即不可进行信用住的选择。减少在提交预定后预定失败体验。该接口为可选对接接口,商家可根据实际情况自行决定是否对接。
接口使用场景
提交订单前的预定人信用住资格预先校验,卖家可决定是否在搜索,预订页,补全身份信息时进行调用,以便决定信用住是否提供给用户
func GetTaobaoXhotelOrderOfficialPrecheckAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialPrecheckAPIResponse() *TaobaoXhotelOrderOfficialPrecheckAPIResponse
GetTaobaoXhotelOrderOfficialPrecheckAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderOfficialPrecheckAPIResponse
func (*TaobaoXhotelOrderOfficialPrecheckAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialPrecheckAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfficialPrecheckAPIResponseModel ¶
type TaobaoXhotelOrderOfficialPrecheckAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_official_precheck_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 当match_condition=false时该字段有意义,用于说明用户不符合信用住条件的原因。以下两种情况,请不要读取此字段值(1、match_condition=true;2、当match_condition=false并且action=1时候(action=1表示用户未签约信用住)) Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 入参信息回传, 用于校验的证件号码 IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"` // 当match_condition=false时该字段有意义,用于标示当用户不符合条件时,应该进行的下一步动作. 0或者空: 用户没有资格使用信用住。可以读取reson字段查看原因。 1: 表示用户符合资格,但是未签约信用住。可以提示用户进行签约后重试。 Action int64 `json:"action,omitempty" xml:"action,omitempty"` // 是否符合信用住条件 MatchCondition bool `json:"match_condition,omitempty" xml:"match_condition,omitempty"` }
TaobaoXhotelOrderOfficialPrecheckAPIResponseModel is 官网信用住用户资格预校验接口 成功返回结果
func (*TaobaoXhotelOrderOfficialPrecheckAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialPrecheckAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfficialSettleCancelAPIRequest ¶
type TaobaoXhotelOrderOfficialSettleCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderOfficialSettleCancelAPIRequest 官网信用住取消结账 API请求 taobao.xhotel.order.official.settle.cancel
用于官网信用住取消结账
func GetTaobaoXhotelOrderOfficialSettleCancelAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialSettleCancelAPIRequest() *TaobaoXhotelOrderOfficialSettleCancelAPIRequest
GetTaobaoXhotelOrderOfficialSettleCancelRequest 从 sync.Pool 获取 TaobaoXhotelOrderOfficialSettleCancelAPIRequest
func NewTaobaoXhotelOrderOfficialSettleCancelRequest ¶
func NewTaobaoXhotelOrderOfficialSettleCancelRequest() *TaobaoXhotelOrderOfficialSettleCancelAPIRequest
NewTaobaoXhotelOrderOfficialSettleCancelRequest 初始化TaobaoXhotelOrderOfficialSettleCancelAPIRequest对象
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetNotifyUrl ¶
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetNotifyUrl() string
GetNotifyUrl NotifyUrl Getter
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetOutId ¶
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetOutUuid ¶
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetReason ¶
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetReason() string
GetReason Reason Getter
func (TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetTid ¶
func (r TaobaoXhotelOrderOfficialSettleCancelAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoXhotelOrderOfficialSettleCancelAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetNotifyUrl ¶
func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
SetNotifyUrl is NotifyUrl Setter 暂时无意义,无需传入
func (*TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetOutId ¶
func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部订单号,和tid二选一必填
func (*TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetOutUuid ¶
func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 请求流水号
func (*TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetReason ¶
func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetReason(_reason string) error
SetReason is Reason Setter 取消结账的原因
func (*TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetTid ¶
func (r *TaobaoXhotelOrderOfficialSettleCancelAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 阿里旅行订单号,淘宝订单号或外部订单号二选一必填
type TaobaoXhotelOrderOfficialSettleCancelAPIResponse ¶
type TaobaoXhotelOrderOfficialSettleCancelAPIResponse struct { model.CommonResponse TaobaoXhotelOrderOfficialSettleCancelAPIResponseModel }
TaobaoXhotelOrderOfficialSettleCancelAPIResponse 官网信用住取消结账 API返回值 taobao.xhotel.order.official.settle.cancel
用于官网信用住取消结账
func GetTaobaoXhotelOrderOfficialSettleCancelAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialSettleCancelAPIResponse() *TaobaoXhotelOrderOfficialSettleCancelAPIResponse
GetTaobaoXhotelOrderOfficialSettleCancelAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderOfficialSettleCancelAPIResponse
func (*TaobaoXhotelOrderOfficialSettleCancelAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialSettleCancelAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfficialSettleCancelAPIResponseModel ¶
type TaobaoXhotelOrderOfficialSettleCancelAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_official_settle_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回信息 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelOrderOfficialSettleCancelAPIResponseModel is 官网信用住取消结账 成功返回结果
func (*TaobaoXhotelOrderOfficialSettleCancelAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialSettleCancelAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfficialSettlePutAPIRequest ¶
type TaobaoXhotelOrderOfficialSettlePutAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderOfficialSettlePutAPIRequest 官网信用住结账接口 API请求 taobao.xhotel.order.official.settle.put
用于酒店官网信用住商家结账调用
func GetTaobaoXhotelOrderOfficialSettlePutAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialSettlePutAPIRequest() *TaobaoXhotelOrderOfficialSettlePutAPIRequest
GetTaobaoXhotelOrderOfficialSettlePutRequest 从 sync.Pool 获取 TaobaoXhotelOrderOfficialSettlePutAPIRequest
func NewTaobaoXhotelOrderOfficialSettlePutRequest ¶
func NewTaobaoXhotelOrderOfficialSettlePutRequest() *TaobaoXhotelOrderOfficialSettlePutAPIRequest
NewTaobaoXhotelOrderOfficialSettlePutRequest 初始化TaobaoXhotelOrderOfficialSettlePutAPIRequest对象
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetCheckOut ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetCheckOut() string
GetCheckOut CheckOut Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetContainGuarantee ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetContainGuarantee() int64
GetContainGuarantee ContainGuarantee Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetDailyPriceInfo ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetDailyPriceInfo() string
GetDailyPriceInfo DailyPriceInfo Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetMemo ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetMemo() string
GetMemo Memo Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetNotifyUrl ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetNotifyUrl() string
GetNotifyUrl NotifyUrl Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOtherFee ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOtherFee() int64
GetOtherFee OtherFee Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOtherFeeDetail ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOtherFeeDetail() string
GetOtherFeeDetail OtherFeeDetail Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOutId ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOutUuid ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRoomNo ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRoomNo() string
GetRoomNo RoomNo Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRoomSettleInfoList ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetRoomSettleInfoList() []RoomSettleInfo
GetRoomSettleInfoList RoomSettleInfoList Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetTid ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetTotalRoomFee ¶
func (r TaobaoXhotelOrderOfficialSettlePutAPIRequest) GetTotalRoomFee() int64
GetTotalRoomFee TotalRoomFee Getter
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetCheckOut ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetCheckOut(_checkOut string) error
SetCheckOut is CheckOut Setter 实际离店日期,用于校验总房费收取
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetContainGuarantee ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetContainGuarantee(_containGuarantee int64) error
SetContainGuarantee is ContainGuarantee Setter 此金额是否包含担保金 0:默认值无意义;1:包含;2:不包含(多间房结账必须传入)
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetDailyPriceInfo ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
SetDailyPriceInfo is DailyPriceInfo Setter 每日房价,json格式,如果房价和在阿里旅行下单时发生了变化,必须设置该字段.用于更新阿里旅行端的房价信息,涉及到对用户的优惠信息处理等环节(多间房的时候dailyPriceInfo留空)
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetMemo ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetMemo(_memo string) error
SetMemo is Memo Setter 备注
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetNotifyUrl ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetNotifyUrl(_notifyUrl string) error
SetNotifyUrl is NotifyUrl Setter 请求结果通知地址(暂时无效,无需传入)
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOtherFee ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOtherFee(_otherFee int64) error
SetOtherFee is OtherFee Setter 杂费总额(不能为负数)
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOtherFeeDetail ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOtherFeeDetail(_otherFeeDetail string) error
SetOtherFeeDetail is OtherFeeDetail Setter 杂费明细,如果otherFee>0则该字段必须设置,并和杂费金额相吻合
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOutId ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 商家订单号
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOutUuid ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 结账请求流水号
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetRoomNo ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetRoomNo(_roomNo string) error
SetRoomNo is RoomNo Setter 入住房间号
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetRoomSettleInfoList ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetRoomSettleInfoList(_roomSettleInfoList []RoomSettleInfo) error
SetRoomSettleInfoList is RoomSettleInfoList Setter 房间明细列表
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetTid ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单id,必须填写
func (*TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetTotalRoomFee ¶
func (r *TaobaoXhotelOrderOfficialSettlePutAPIRequest) SetTotalRoomFee(_totalRoomFee int64) error
SetTotalRoomFee is TotalRoomFee Setter 房费总额(必须大于0)
type TaobaoXhotelOrderOfficialSettlePutAPIResponse ¶
type TaobaoXhotelOrderOfficialSettlePutAPIResponse struct { model.CommonResponse TaobaoXhotelOrderOfficialSettlePutAPIResponseModel }
TaobaoXhotelOrderOfficialSettlePutAPIResponse 官网信用住结账接口 API返回值 taobao.xhotel.order.official.settle.put
用于酒店官网信用住商家结账调用
func GetTaobaoXhotelOrderOfficialSettlePutAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfficialSettlePutAPIResponse() *TaobaoXhotelOrderOfficialSettlePutAPIResponse
GetTaobaoXhotelOrderOfficialSettlePutAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderOfficialSettlePutAPIResponse
func (*TaobaoXhotelOrderOfficialSettlePutAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialSettlePutAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfficialSettlePutAPIResponseModel ¶
type TaobaoXhotelOrderOfficialSettlePutAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_official_settle_put_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelOrderOfficialSettlePutAPIResponseModel is 官网信用住结账接口 成功返回结果
func (*TaobaoXhotelOrderOfficialSettlePutAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfficialSettlePutAPIResponseModel) Reset()
Reset 清空结构体
Source Files ¶
- RoomSettleInfo.go
- TaobaoXhotelOrderOfficialCancelAPIRequest.go
- TaobaoXhotelOrderOfficialCancelAPIResponse.go
- TaobaoXhotelOrderOfficialPrecheckAPIRequest.go
- TaobaoXhotelOrderOfficialPrecheckAPIResponse.go
- TaobaoXhotelOrderOfficialSettleCancelAPIRequest.go
- TaobaoXhotelOrderOfficialSettleCancelAPIResponse.go
- TaobaoXhotelOrderOfficialSettlePutAPIRequest.go
- TaobaoXhotelOrderOfficialSettlePutAPIResponse.go
- doc.go