Documentation ¶
Overview ¶
Package xhoteloffline 包含酒店线下信用住API相关结构体
Index ¶
- func ReleaseGuest(v *Guest)
- func ReleaseRoomSettleInfo(v *RoomSettleInfo)
- func ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIRequest(v *TaobaoXhotelOrderAlipayfaceCancelAPIRequest)
- func ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIResponse(v *TaobaoXhotelOrderAlipayfaceCancelAPIResponse)
- func ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIRequest(v *TaobaoXhotelOrderAlipayfaceCheckAPIRequest)
- func ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIResponse(v *TaobaoXhotelOrderAlipayfaceCheckAPIResponse)
- func ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIRequest(v *TaobaoXhotelOrderAlipayfaceCreateAPIRequest)
- func ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIResponse(v *TaobaoXhotelOrderAlipayfaceCreateAPIResponse)
- func ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIRequest(v *TaobaoXhotelOrderAlipayfaceExtendAPIRequest)
- func ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIResponse(v *TaobaoXhotelOrderAlipayfaceExtendAPIResponse)
- func ReleaseTaobaoXhotelOrderOfflineSettlePutAPIRequest(v *TaobaoXhotelOrderOfflineSettlePutAPIRequest)
- func ReleaseTaobaoXhotelOrderOfflineSettlePutAPIResponse(v *TaobaoXhotelOrderOfflineSettlePutAPIResponse)
- type Guest
- type RoomSettleInfo
- type TaobaoXhotelOrderAlipayfaceCancelAPIRequest
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetNotifyUrl() string
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetOutId() string
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetOutUuid() string
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetReasonText() string
- func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetTid() int64
- func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) Reset()
- func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
- func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetReasonText(_reasonText string) error
- func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetTid(_tid int64) error
- type TaobaoXhotelOrderAlipayfaceCancelAPIResponse
- type TaobaoXhotelOrderAlipayfaceCancelAPIResponseModel
- type TaobaoXhotelOrderAlipayfaceCheckAPIRequest
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetEncryptType() int64
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetGuestName() string
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetHotelCode() string
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetIdNumber() string
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetIdType() int64
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetMobileNo() string
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetTotalFee() int64
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetType() int64
- func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetVendor() string
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) Reset()
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetEncryptType(_encryptType int64) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetGuestName(_guestName string) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetIdNumber(_idNumber string) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetIdType(_idType int64) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetMobileNo(_mobileNo string) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetTotalFee(_totalFee int64) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetType(_type int64) error
- func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetVendor(_vendor string) error
- type TaobaoXhotelOrderAlipayfaceCheckAPIResponse
- type TaobaoXhotelOrderAlipayfaceCheckAPIResponseModel
- type TaobaoXhotelOrderAlipayfaceCreateAPIRequest
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetAlipayNumber() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetChannel() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetCheckIn() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetCheckOut() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetDailyPriceInfo() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetGuests() []Guest
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetHotelCode() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetOutOrderId() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRateplanName() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRoomQuantity() int64
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRoomtypeName() string
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetSelfCheckin() bool
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetTotalFee() int64
- func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetVendor() string
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) Reset()
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetAlipayNumber(_alipayNumber string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetChannel(_channel string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetCheckIn(_checkIn string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetCheckOut(_checkOut string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetGuests(_guests []Guest) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRateplanName(_rateplanName string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRoomQuantity(_roomQuantity int64) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRoomtypeName(_roomtypeName string) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetSelfCheckin(_selfCheckin bool) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetTotalFee(_totalFee int64) error
- func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetVendor(_vendor string) error
- type TaobaoXhotelOrderAlipayfaceCreateAPIResponse
- type TaobaoXhotelOrderAlipayfaceCreateAPIResponseModel
- type TaobaoXhotelOrderAlipayfaceExtendAPIRequest
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetCheckOut() string
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetExtendDailyPriceInfo() string
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetExtendFee() int64
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetOutOrderId() string
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetTid() int64
- func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) Reset()
- func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetCheckOut(_checkOut string) error
- func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetExtendDailyPriceInfo(_extendDailyPriceInfo string) error
- func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetExtendFee(_extendFee int64) error
- func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetOutOrderId(_outOrderId string) error
- func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetTid(_tid int64) error
- type TaobaoXhotelOrderAlipayfaceExtendAPIResponse
- type TaobaoXhotelOrderAlipayfaceExtendAPIResponseModel
- type TaobaoXhotelOrderOfflineSettlePutAPIRequest
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetAmount() int64
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetApiMethodName() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetCheckOut() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetContainGuarantee() int64
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetDailyPriceInfo() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetHotelCode() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetMemo() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetNotifyUrl() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOtherFee() int64
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOtherFeeDetail() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOutId() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOutUuid() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRawParams() model.Params
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRoomNo() string
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRoomSettleInfoList() []RoomSettleInfo
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetTid() int64
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetTotalRoomFee() int64
- func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetVendor() string
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) Reset()
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetAmount(_amount int64) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetCheckOut(_checkOut string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetContainGuarantee(_containGuarantee int64) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetHotelCode(_hotelCode string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetMemo(_memo string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetNotifyUrl(_notifyUrl string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOtherFee(_otherFee int64) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOtherFeeDetail(_otherFeeDetail string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOutId(_outId string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOutUuid(_outUuid string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetRoomNo(_roomNo string) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetRoomSettleInfoList(_roomSettleInfoList []RoomSettleInfo) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetTotalRoomFee(_totalRoomFee int64) error
- func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetVendor(_vendor string) error
- type TaobaoXhotelOrderOfflineSettlePutAPIResponse
- type TaobaoXhotelOrderOfflineSettlePutAPIResponseModel
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 ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIRequest(v *TaobaoXhotelOrderAlipayfaceCancelAPIRequest)
ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIRequest 将 TaobaoXhotelOrderAlipayfaceCancelAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIResponse(v *TaobaoXhotelOrderAlipayfaceCancelAPIResponse)
ReleaseTaobaoXhotelOrderAlipayfaceCancelAPIResponse 将 TaobaoXhotelOrderAlipayfaceCancelAPIResponse 保存到 sync.Pool
func ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIRequest(v *TaobaoXhotelOrderAlipayfaceCheckAPIRequest)
ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIRequest 将 TaobaoXhotelOrderAlipayfaceCheckAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIResponse(v *TaobaoXhotelOrderAlipayfaceCheckAPIResponse)
ReleaseTaobaoXhotelOrderAlipayfaceCheckAPIResponse 将 TaobaoXhotelOrderAlipayfaceCheckAPIResponse 保存到 sync.Pool
func ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIRequest(v *TaobaoXhotelOrderAlipayfaceCreateAPIRequest)
ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIRequest 将 TaobaoXhotelOrderAlipayfaceCreateAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIResponse(v *TaobaoXhotelOrderAlipayfaceCreateAPIResponse)
ReleaseTaobaoXhotelOrderAlipayfaceCreateAPIResponse 将 TaobaoXhotelOrderAlipayfaceCreateAPIResponse 保存到 sync.Pool
func ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIRequest(v *TaobaoXhotelOrderAlipayfaceExtendAPIRequest)
ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIRequest 将 TaobaoXhotelOrderAlipayfaceExtendAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIResponse(v *TaobaoXhotelOrderAlipayfaceExtendAPIResponse)
ReleaseTaobaoXhotelOrderAlipayfaceExtendAPIResponse 将 TaobaoXhotelOrderAlipayfaceExtendAPIResponse 保存到 sync.Pool
func ReleaseTaobaoXhotelOrderOfflineSettlePutAPIRequest ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfflineSettlePutAPIRequest(v *TaobaoXhotelOrderOfflineSettlePutAPIRequest)
ReleaseTaobaoXhotelOrderOfflineSettlePutAPIRequest 将 TaobaoXhotelOrderOfflineSettlePutAPIRequest 放入 sync.Pool
func ReleaseTaobaoXhotelOrderOfflineSettlePutAPIResponse ¶ added in v1.3.4
func ReleaseTaobaoXhotelOrderOfflineSettlePutAPIResponse(v *TaobaoXhotelOrderOfflineSettlePutAPIResponse)
ReleaseTaobaoXhotelOrderOfflineSettlePutAPIResponse 将 TaobaoXhotelOrderOfflineSettlePutAPIResponse 保存到 sync.Pool
Types ¶
type Guest ¶
type Guest struct { // 姓名, 如果加密方式设置为1, 传入加密后的姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 证件号, 如果加密方式设置为1, 传入加密后的证件号 IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"` // 手机号, 如果加密方式设置为1, 传入加密后的手机号 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` // 加密方式, 默认0: 不加密, 信息会通过淘宝开放平台传输, 阿里旅行可以获取到具体信息; 1: SHA-1不可逆加密, 阿里旅行方面无法解析到具体信息, 只用于做信息匹配.注意加密后生成40字节长度的字符串 EncryptType int64 `json:"encrypt_type,omitempty" xml:"encrypt_type,omitempty"` // 证件类型, 默认0:身份证; 1: 护照; 2:警官证; 3:士兵证; 4: 回乡证 IdType int64 `json:"id_type,omitempty" xml:"id_type,omitempty"` // 是否主入住人,该入住人会参与信用住结算扣款,多个入住人时必须有且仅有一个该字段设置为true IsMain bool `json:"is_main,omitempty" xml:"is_main,omitempty"` }
Guest 结构体
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 TaobaoXhotelOrderAlipayfaceCancelAPIRequest ¶
type TaobaoXhotelOrderAlipayfaceCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderAlipayfaceCancelAPIRequest 线下信用住订单取消 API请求 taobao.xhotel.order.alipayface.cancel
提供给卖家进行线下信用住的订单取消。此接口仅仅支持线下信用住订单的取消
func GetTaobaoXhotelOrderAlipayfaceCancelAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceCancelAPIRequest() *TaobaoXhotelOrderAlipayfaceCancelAPIRequest
GetTaobaoXhotelOrderAlipayfaceCancelRequest 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCancelAPIRequest
func NewTaobaoXhotelOrderAlipayfaceCancelRequest ¶
func NewTaobaoXhotelOrderAlipayfaceCancelRequest() *TaobaoXhotelOrderAlipayfaceCancelAPIRequest
NewTaobaoXhotelOrderAlipayfaceCancelRequest 初始化TaobaoXhotelOrderAlipayfaceCancelAPIRequest对象
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetNotifyUrl ¶
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetNotifyUrl() string
GetNotifyUrl NotifyUrl Getter
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetOutId ¶
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetOutUuid ¶
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetReasonText ¶
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetReasonText() string
GetReasonText ReasonText Getter
func (TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetTid ¶
func (r TaobaoXhotelOrderAlipayfaceCancelAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoXhotelOrderAlipayfaceCancelAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetNotifyUrl ¶
func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetNotifyUrl(_notifyUrl string) error
SetNotifyUrl is NotifyUrl Setter 预留后续用
func (*TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetOutId ¶
func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 外部订单号
func (*TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetOutUuid ¶
func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 请求流水号
func (*TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetReasonText ¶
func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetReasonText(_reasonText string) error
SetReasonText is ReasonText Setter 原因描述
func (*TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetTid ¶
func (r *TaobaoXhotelOrderAlipayfaceCancelAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单ID,必选
type TaobaoXhotelOrderAlipayfaceCancelAPIResponse ¶
type TaobaoXhotelOrderAlipayfaceCancelAPIResponse struct { model.CommonResponse TaobaoXhotelOrderAlipayfaceCancelAPIResponseModel }
TaobaoXhotelOrderAlipayfaceCancelAPIResponse 线下信用住订单取消 API返回值 taobao.xhotel.order.alipayface.cancel
提供给卖家进行线下信用住的订单取消。此接口仅仅支持线下信用住订单的取消
func GetTaobaoXhotelOrderAlipayfaceCancelAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceCancelAPIResponse() *TaobaoXhotelOrderAlipayfaceCancelAPIResponse
GetTaobaoXhotelOrderAlipayfaceCancelAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCancelAPIResponse
func (*TaobaoXhotelOrderAlipayfaceCancelAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceCancelAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderAlipayfaceCancelAPIResponseModel ¶
type TaobaoXhotelOrderAlipayfaceCancelAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_alipayface_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回描述 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelOrderAlipayfaceCancelAPIResponseModel is 线下信用住订单取消 成功返回结果
func (*TaobaoXhotelOrderAlipayfaceCancelAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceCancelAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoXhotelOrderAlipayfaceCheckAPIRequest ¶
type TaobaoXhotelOrderAlipayfaceCheckAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderAlipayfaceCheckAPIRequest 线下信用住买家资格校验接口 API请求 taobao.xhotel.order.alipayface.check
接口用于校验买家是否具有使用酒店信用住的资格
func GetTaobaoXhotelOrderAlipayfaceCheckAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceCheckAPIRequest() *TaobaoXhotelOrderAlipayfaceCheckAPIRequest
GetTaobaoXhotelOrderAlipayfaceCheckRequest 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCheckAPIRequest
func NewTaobaoXhotelOrderAlipayfaceCheckRequest ¶
func NewTaobaoXhotelOrderAlipayfaceCheckRequest() *TaobaoXhotelOrderAlipayfaceCheckAPIRequest
NewTaobaoXhotelOrderAlipayfaceCheckRequest 初始化TaobaoXhotelOrderAlipayfaceCheckAPIRequest对象
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetEncryptType ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetEncryptType() int64
GetEncryptType EncryptType Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetGuestName ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetGuestName() string
GetGuestName GuestName Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetHotelCode ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetIdNumber ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetIdNumber() string
GetIdNumber IdNumber Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetIdType ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetIdType() int64
GetIdType IdType Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetMobileNo ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetMobileNo() string
GetMobileNo MobileNo Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetTotalFee ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetTotalFee() int64
GetTotalFee TotalFee Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetType ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetType() int64
GetType Type Getter
func (TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetVendor ¶
func (r TaobaoXhotelOrderAlipayfaceCheckAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetEncryptType ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetEncryptType(_encryptType int64) error
SetEncryptType is EncryptType Setter 加密方式, 默认0: 不加密, 信息会通过淘宝开放平台传输, 阿里旅行可以获取到具体信息; 1: SHA-1不可逆加密, 阿里旅行方面无法解析到具体信息, 只用于做信息匹配.注意加密后生成40字节长度的字符串
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetGuestName ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetGuestName(_guestName string) error
SetGuestName is GuestName Setter 入住人姓名
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetHotelCode ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 参数必填,发布到阿里旅行的酒店编码
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetIdNumber ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetIdNumber(_idNumber string) error
SetIdNumber is IdNumber Setter 证件号, 如果加密方式设置为1, 传入加密后的证件号
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetIdType ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetIdType(_idType int64) error
SetIdType is IdType Setter 证件类型, 默认0:身份证; 1: 护照; 2:警官证; 3:士兵证; 4: 回乡证
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetMobileNo ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetMobileNo(_mobileNo string) error
SetMobileNo is MobileNo Setter 客人手机号
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetTotalFee ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetTotalFee(_totalFee int64) error
SetTotalFee is TotalFee Setter 总的收费金额,单位为分
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetType ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetType(_type int64) error
SetType is Type Setter 验证类型.可以不设置. 默认0-信用住下单资格校验;1-已经创建的信用住订单,入住人在checkIn时的资格复审
func (*TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetVendor ¶
func (r *TaobaoXhotelOrderAlipayfaceCheckAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 不清楚请留空, 用于和outHid共同定位一个酒店
type TaobaoXhotelOrderAlipayfaceCheckAPIResponse ¶
type TaobaoXhotelOrderAlipayfaceCheckAPIResponse struct { model.CommonResponse TaobaoXhotelOrderAlipayfaceCheckAPIResponseModel }
TaobaoXhotelOrderAlipayfaceCheckAPIResponse 线下信用住买家资格校验接口 API返回值 taobao.xhotel.order.alipayface.check
接口用于校验买家是否具有使用酒店信用住的资格
func GetTaobaoXhotelOrderAlipayfaceCheckAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceCheckAPIResponse() *TaobaoXhotelOrderAlipayfaceCheckAPIResponse
GetTaobaoXhotelOrderAlipayfaceCheckAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCheckAPIResponse
func (*TaobaoXhotelOrderAlipayfaceCheckAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceCheckAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderAlipayfaceCheckAPIResponseModel ¶
type TaobaoXhotelOrderAlipayfaceCheckAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_alipayface_check_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 当match_condition=false时该字段有意义,用于说明用户不符合信用住条件的原因, 主要有如下几种返回:1. 该用户尚未签约线下信用住, 请先扫码签约; 2.该用户尚未签约, 暂不支持使用线下信用住, 请使用现金或其他方式结账; 3. 该用户支付宝账号存在风险, 暂不支持使用线下信用住, 请使用现金或其他方式结账; 4.该用户当前信用额度不足, 无法支付此房费, 请使用现金或其他方式结账 Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 入参信息回传, 用于校验的证件号码 IdNumber string `json:"id_number,omitempty" xml:"id_number,omitempty"` // 当match_condition=false时该字段有意义,用于标示当用户不符合条件时,应该进行的下一步动作. 0或者空: 代表没有下一步动作, 接入方此时可以直接不提示用户走任何线下信用住的流程和文案等; 1: 提示用户进行扫码签约,此时可以把reason字段展示到前台,或者自己定义提示文案 Action int64 `json:"action,omitempty" xml:"action,omitempty"` // 是否符合信用住条件 MatchCondition bool `json:"match_condition,omitempty" xml:"match_condition,omitempty"` // existAlipayOrder ExistAlipayOrder bool `json:"exist_alipay_order,omitempty" xml:"exist_alipay_order,omitempty"` }
TaobaoXhotelOrderAlipayfaceCheckAPIResponseModel is 线下信用住买家资格校验接口 成功返回结果
func (*TaobaoXhotelOrderAlipayfaceCheckAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceCheckAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoXhotelOrderAlipayfaceCreateAPIRequest ¶
type TaobaoXhotelOrderAlipayfaceCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderAlipayfaceCreateAPIRequest 信用住支付创建接口 API请求 taobao.xhotel.order.alipayface.create
用于创建一笔信用住支付,主要应用场景是线下信用住
func GetTaobaoXhotelOrderAlipayfaceCreateAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceCreateAPIRequest() *TaobaoXhotelOrderAlipayfaceCreateAPIRequest
GetTaobaoXhotelOrderAlipayfaceCreateRequest 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCreateAPIRequest
func NewTaobaoXhotelOrderAlipayfaceCreateRequest ¶
func NewTaobaoXhotelOrderAlipayfaceCreateRequest() *TaobaoXhotelOrderAlipayfaceCreateAPIRequest
NewTaobaoXhotelOrderAlipayfaceCreateRequest 初始化TaobaoXhotelOrderAlipayfaceCreateAPIRequest对象
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetAlipayNumber ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetAlipayNumber() string
GetAlipayNumber AlipayNumber Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetChannel ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetChannel() string
GetChannel Channel Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetCheckIn ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetCheckIn() string
GetCheckIn CheckIn Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetCheckOut ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetCheckOut() string
GetCheckOut CheckOut Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetDailyPriceInfo ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetDailyPriceInfo() string
GetDailyPriceInfo DailyPriceInfo Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetGuests ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetGuests() []Guest
GetGuests Guests Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetHotelCode ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetOutOrderId ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRateplanName ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRateplanName() string
GetRateplanName RateplanName Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRoomQuantity ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRoomQuantity() int64
GetRoomQuantity RoomQuantity Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRoomtypeName ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetRoomtypeName() string
GetRoomtypeName RoomtypeName Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetSelfCheckin ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetSelfCheckin() bool
GetSelfCheckin SelfCheckin Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetTotalFee ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetTotalFee() int64
GetTotalFee TotalFee Getter
func (TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetVendor ¶
func (r TaobaoXhotelOrderAlipayfaceCreateAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetAlipayNumber ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetAlipayNumber(_alipayNumber string) error
SetAlipayNumber is AlipayNumber Setter 扫描用户支付宝得到的串号, 该字段不为空时会采用串号对应的支付宝账号进行信用住结算
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetChannel ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetChannel(_channel string) error
SetChannel is Channel Setter 订单渠道信息,可以留空
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetCheckIn ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetCheckIn(_checkIn string) error
SetCheckIn is CheckIn Setter 入住日期
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetCheckOut ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetCheckOut(_checkOut string) error
SetCheckOut is CheckOut Setter 离店日期(最多允许9天)
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetDailyPriceInfo ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
SetDailyPriceInfo is DailyPriceInfo Setter 每日房价,json格式
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetGuests ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetGuests(_guests []Guest) error
SetGuests is Guests Setter 入住人信息, 注意必须有且只有一个设置为主入住人, 用于信用住结算扣款. 对于java版本的SDK可以使用setGuests(List &lt Guest &gt guests)赋值; 对于.net等其他版本SDK可以通过将List &lt Guest&gt结构数据转为json串赋值.
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetHotelCode ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 发布到阿里旅行的酒店编码
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetOutOrderId ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter 商家系统的订单号,必须全局唯一,重复会按照相同订单处理
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRateplanName ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRateplanName(_rateplanName string) error
SetRateplanName is RateplanName Setter rateplan名称(不清楚可以留空)
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRoomQuantity ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRoomQuantity(_roomQuantity int64) error
SetRoomQuantity is RoomQuantity Setter 预定的房间数量
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRoomtypeName ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetRoomtypeName(_roomtypeName string) error
SetRoomtypeName is RoomtypeName Setter 房型名称
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetSelfCheckin ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetSelfCheckin(_selfCheckin bool) error
SetSelfCheckin is SelfCheckin Setter 是否为自助入住模式下创建订单,是:true,否:false
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetTotalFee ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetTotalFee(_totalFee int64) error
SetTotalFee is TotalFee Setter 总房费,单位为分
func (*TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetVendor ¶
func (r *TaobaoXhotelOrderAlipayfaceCreateAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 不清楚请留空, 用于和outHid共同定位一个酒店
type TaobaoXhotelOrderAlipayfaceCreateAPIResponse ¶
type TaobaoXhotelOrderAlipayfaceCreateAPIResponse struct { model.CommonResponse TaobaoXhotelOrderAlipayfaceCreateAPIResponseModel }
TaobaoXhotelOrderAlipayfaceCreateAPIResponse 信用住支付创建接口 API返回值 taobao.xhotel.order.alipayface.create
用于创建一笔信用住支付,主要应用场景是线下信用住
func GetTaobaoXhotelOrderAlipayfaceCreateAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceCreateAPIResponse() *TaobaoXhotelOrderAlipayfaceCreateAPIResponse
GetTaobaoXhotelOrderAlipayfaceCreateAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceCreateAPIResponse
func (*TaobaoXhotelOrderAlipayfaceCreateAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceCreateAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderAlipayfaceCreateAPIResponseModel ¶
type TaobaoXhotelOrderAlipayfaceCreateAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_alipayface_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 酒店订单号, 和入参中传入一致 OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"` // 用于当传入多个入住人时, 将阿里旅行最终用于结算的入住人信息回传 MainIdNumber string `json:"main_id_number,omitempty" xml:"main_id_number,omitempty"` // 用于签约和扣款的买家淘宝账号 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 阿里旅行生成的备注信息,用于提示用户一些注意事宜. 请将该字段的信息打印到客人的入住单上. 如果为空代表没有阿里旅行方面的特殊备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 阿里旅行生成的订单id,该字段很重要,后续结账等操作都要使用tid Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 阿里旅行为该笔订单提供的最大杂费(不含房费)担保金额,单位为分. 注意该金额指客人除了房费以外可消费的金额上限 GuaranteeAmout int64 `json:"guarantee_amout,omitempty" xml:"guarantee_amout,omitempty"` // 阿里旅行平台提供的优惠金额,单位为分 AlitripDiscount int64 `json:"alitrip_discount,omitempty" xml:"alitrip_discount,omitempty"` // 商家自身提供给该订单的优惠金额,单位为分 SellerDiscount int64 `json:"seller_discount,omitempty" xml:"seller_discount,omitempty"` }
TaobaoXhotelOrderAlipayfaceCreateAPIResponseModel is 信用住支付创建接口 成功返回结果
func (*TaobaoXhotelOrderAlipayfaceCreateAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceCreateAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoXhotelOrderAlipayfaceExtendAPIRequest ¶
type TaobaoXhotelOrderAlipayfaceExtendAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderAlipayfaceExtendAPIRequest 信用住订单延住接口 API请求 taobao.xhotel.order.alipayface.extend
信用住订单延住接口,用于将已有的信用住支付订单checkOut和订单金额等更新
func GetTaobaoXhotelOrderAlipayfaceExtendAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceExtendAPIRequest() *TaobaoXhotelOrderAlipayfaceExtendAPIRequest
GetTaobaoXhotelOrderAlipayfaceExtendRequest 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceExtendAPIRequest
func NewTaobaoXhotelOrderAlipayfaceExtendRequest ¶
func NewTaobaoXhotelOrderAlipayfaceExtendRequest() *TaobaoXhotelOrderAlipayfaceExtendAPIRequest
NewTaobaoXhotelOrderAlipayfaceExtendRequest 初始化TaobaoXhotelOrderAlipayfaceExtendAPIRequest对象
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetCheckOut ¶
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetCheckOut() string
GetCheckOut CheckOut Getter
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetExtendDailyPriceInfo ¶
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetExtendDailyPriceInfo() string
GetExtendDailyPriceInfo ExtendDailyPriceInfo Getter
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetExtendFee ¶
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetExtendFee() int64
GetExtendFee ExtendFee Getter
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetOutOrderId ¶
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetOutOrderId() string
GetOutOrderId OutOrderId Getter
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetTid ¶
func (r TaobaoXhotelOrderAlipayfaceExtendAPIRequest) GetTid() int64
GetTid Tid Getter
func (*TaobaoXhotelOrderAlipayfaceExtendAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetCheckOut ¶
func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetCheckOut(_checkOut string) error
SetCheckOut is CheckOut Setter 延住后的离店日期(最多总共入住天数不能超过9间夜)
func (*TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetExtendDailyPriceInfo ¶
func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetExtendDailyPriceInfo(_extendDailyPriceInfo string) error
SetExtendDailyPriceInfo is ExtendDailyPriceInfo Setter 延住日期段的每日房价信息,注意不包括原有的日期房价
func (*TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetExtendFee ¶
func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetExtendFee(_extendFee int64) error
SetExtendFee is ExtendFee Setter 延住房费,注意不包含原有的房费金额,单位为分
func (*TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetOutOrderId ¶
func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetOutOrderId(_outOrderId string) error
SetOutOrderId is OutOrderId Setter 卖家系统订单号,和tid必须至少传入一个
func (*TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetTid ¶
func (r *TaobaoXhotelOrderAlipayfaceExtendAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 阿里旅行订单id,和outOrderId必须至少传入一个
type TaobaoXhotelOrderAlipayfaceExtendAPIResponse ¶
type TaobaoXhotelOrderAlipayfaceExtendAPIResponse struct { model.CommonResponse TaobaoXhotelOrderAlipayfaceExtendAPIResponseModel }
TaobaoXhotelOrderAlipayfaceExtendAPIResponse 信用住订单延住接口 API返回值 taobao.xhotel.order.alipayface.extend
信用住订单延住接口,用于将已有的信用住支付订单checkOut和订单金额等更新
func GetTaobaoXhotelOrderAlipayfaceExtendAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderAlipayfaceExtendAPIResponse() *TaobaoXhotelOrderAlipayfaceExtendAPIResponse
GetTaobaoXhotelOrderAlipayfaceExtendAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderAlipayfaceExtendAPIResponse
func (*TaobaoXhotelOrderAlipayfaceExtendAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceExtendAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderAlipayfaceExtendAPIResponseModel ¶
type TaobaoXhotelOrderAlipayfaceExtendAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_alipayface_extend_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 出参成功 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelOrderAlipayfaceExtendAPIResponseModel is 信用住订单延住接口 成功返回结果
func (*TaobaoXhotelOrderAlipayfaceExtendAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderAlipayfaceExtendAPIResponseModel) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfflineSettlePutAPIRequest ¶
type TaobaoXhotelOrderOfflineSettlePutAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoXhotelOrderOfflineSettlePutAPIRequest 线下信用住结账专用接口 API请求 taobao.xhotel.order.offline.settle.put
线下信用住结账专用接口
func GetTaobaoXhotelOrderOfflineSettlePutAPIRequest ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfflineSettlePutAPIRequest() *TaobaoXhotelOrderOfflineSettlePutAPIRequest
GetTaobaoXhotelOrderOfflineSettlePutRequest 从 sync.Pool 获取 TaobaoXhotelOrderOfflineSettlePutAPIRequest
func NewTaobaoXhotelOrderOfflineSettlePutRequest ¶
func NewTaobaoXhotelOrderOfflineSettlePutRequest() *TaobaoXhotelOrderOfflineSettlePutAPIRequest
NewTaobaoXhotelOrderOfflineSettlePutRequest 初始化TaobaoXhotelOrderOfflineSettlePutAPIRequest对象
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetAmount ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetAmount() int64
GetAmount Amount Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetApiMethodName ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetApiParams ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetCheckOut ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetCheckOut() string
GetCheckOut CheckOut Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetContainGuarantee ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetContainGuarantee() int64
GetContainGuarantee ContainGuarantee Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetDailyPriceInfo ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetDailyPriceInfo() string
GetDailyPriceInfo DailyPriceInfo Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetHotelCode ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetHotelCode() string
GetHotelCode HotelCode Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetMemo ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetMemo() string
GetMemo Memo Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetNotifyUrl ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetNotifyUrl() string
GetNotifyUrl NotifyUrl Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOtherFee ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOtherFee() int64
GetOtherFee OtherFee Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOtherFeeDetail ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOtherFeeDetail() string
GetOtherFeeDetail OtherFeeDetail Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOutId ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOutId() string
GetOutId OutId Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOutUuid ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetOutUuid() string
GetOutUuid OutUuid Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRoomNo ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRoomNo() string
GetRoomNo RoomNo Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRoomSettleInfoList ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetRoomSettleInfoList() []RoomSettleInfo
GetRoomSettleInfoList RoomSettleInfoList Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetTid ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetTotalRoomFee ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetTotalRoomFee() int64
GetTotalRoomFee TotalRoomFee Getter
func (TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetVendor ¶
func (r TaobaoXhotelOrderOfflineSettlePutAPIRequest) GetVendor() string
GetVendor Vendor Getter
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) Reset ¶ added in v1.3.4
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetAmount ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetAmount(_amount int64) error
SetAmount is Amount Setter 应收金额,大于0时,直接按照此金额扣款,忽略房费和杂费金额(单位分)
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetCheckOut ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetCheckOut(_checkOut string) error
SetCheckOut is CheckOut Setter 实际离店日期,用于校验总房费收取
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetContainGuarantee ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetContainGuarantee(_containGuarantee int64) error
SetContainGuarantee is ContainGuarantee Setter 此金额是否包含担保金 0:默认值无意义;1:包含;2:不包含(多间房结账必须传入)
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetDailyPriceInfo ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetDailyPriceInfo(_dailyPriceInfo string) error
SetDailyPriceInfo is DailyPriceInfo Setter 每日房价,json格式,如果房价和在阿里旅行下单时发生了变化,必须设置该字段.用于更新阿里旅行端的房价信息,涉及到对用户的优惠信息处理等环节(多间房的时候dailyPriceInfo留空)
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetHotelCode ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetHotelCode(_hotelCode string) error
SetHotelCode is HotelCode Setter 商家酒店编码
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetMemo ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetMemo(_memo string) error
SetMemo is Memo Setter 备注
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetNotifyUrl ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetNotifyUrl(_notifyUrl string) error
SetNotifyUrl is NotifyUrl Setter 请求结果通知地址(暂时无效,无需传入)
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOtherFee ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOtherFee(_otherFee int64) error
SetOtherFee is OtherFee Setter 杂费总额(不能为负数)
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOtherFeeDetail ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOtherFeeDetail(_otherFeeDetail string) error
SetOtherFeeDetail is OtherFeeDetail Setter 杂费明细,如果otherFee>0则该字段必须设置,并和杂费金额相吻合
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOutId ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOutId(_outId string) error
SetOutId is OutId Setter 商家订单号
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOutUuid ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetOutUuid(_outUuid string) error
SetOutUuid is OutUuid Setter 结账请求流水号
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetRoomNo ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetRoomNo(_roomNo string) error
SetRoomNo is RoomNo Setter 入住房间号
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetRoomSettleInfoList ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetRoomSettleInfoList(_roomSettleInfoList []RoomSettleInfo) error
SetRoomSettleInfoList is RoomSettleInfoList Setter 房间明细列表
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetTid ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝订单id,必须填写
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetTotalRoomFee ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetTotalRoomFee(_totalRoomFee int64) error
SetTotalRoomFee is TotalRoomFee Setter 房费总额(必须大于0)
func (*TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetVendor ¶
func (r *TaobaoXhotelOrderOfflineSettlePutAPIRequest) SetVendor(_vendor string) error
SetVendor is Vendor Setter 系统商标识
type TaobaoXhotelOrderOfflineSettlePutAPIResponse ¶
type TaobaoXhotelOrderOfflineSettlePutAPIResponse struct { model.CommonResponse TaobaoXhotelOrderOfflineSettlePutAPIResponseModel }
TaobaoXhotelOrderOfflineSettlePutAPIResponse 线下信用住结账专用接口 API返回值 taobao.xhotel.order.offline.settle.put
线下信用住结账专用接口
func GetTaobaoXhotelOrderOfflineSettlePutAPIResponse ¶ added in v1.3.4
func GetTaobaoXhotelOrderOfflineSettlePutAPIResponse() *TaobaoXhotelOrderOfflineSettlePutAPIResponse
GetTaobaoXhotelOrderOfflineSettlePutAPIResponse 从 sync.Pool 获取 TaobaoXhotelOrderOfflineSettlePutAPIResponse
func (*TaobaoXhotelOrderOfflineSettlePutAPIResponse) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfflineSettlePutAPIResponse) Reset()
Reset 清空结构体
type TaobaoXhotelOrderOfflineSettlePutAPIResponseModel ¶
type TaobaoXhotelOrderOfflineSettlePutAPIResponseModel struct { XMLName xml.Name `xml:"xhotel_order_offline_settle_put_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回描述 Result string `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoXhotelOrderOfflineSettlePutAPIResponseModel is 线下信用住结账专用接口 成功返回结果
func (*TaobaoXhotelOrderOfflineSettlePutAPIResponseModel) Reset ¶ added in v1.3.4
func (m *TaobaoXhotelOrderOfflineSettlePutAPIResponseModel) Reset()
Reset 清空结构体
Source Files ¶
- Guest.go
- RoomSettleInfo.go
- TaobaoXhotelOrderAlipayfaceCancelAPIRequest.go
- TaobaoXhotelOrderAlipayfaceCancelAPIResponse.go
- TaobaoXhotelOrderAlipayfaceCheckAPIRequest.go
- TaobaoXhotelOrderAlipayfaceCheckAPIResponse.go
- TaobaoXhotelOrderAlipayfaceCreateAPIRequest.go
- TaobaoXhotelOrderAlipayfaceCreateAPIResponse.go
- TaobaoXhotelOrderAlipayfaceExtendAPIRequest.go
- TaobaoXhotelOrderAlipayfaceExtendAPIResponse.go
- TaobaoXhotelOrderOfflineSettlePutAPIRequest.go
- TaobaoXhotelOrderOfflineSettlePutAPIResponse.go
- doc.go