Documentation ¶
Overview ¶
Package hotelalliance 包含飞猪酒店签约中心相关结构体
Index ¶
- func ReleaseAlitripHotelAllianceHidGetAPIRequest(v *AlitripHotelAllianceHidGetAPIRequest)
- func ReleaseAlitripHotelAllianceHidGetAPIResponse(v *AlitripHotelAllianceHidGetAPIResponse)
- func ReleaseAlitripHotelAllianceSettleOrderSynAPIRequest(v *AlitripHotelAllianceSettleOrderSynAPIRequest)
- func ReleaseAlitripHotelAllianceSettleOrderSynAPIResponse(v *AlitripHotelAllianceSettleOrderSynAPIResponse)
- func ReleaseAlitripHotelHmsPartnerInfoGetAPIRequest(v *AlitripHotelHmsPartnerInfoGetAPIRequest)
- func ReleaseAlitripHotelHmsPartnerInfoGetAPIResponse(v *AlitripHotelHmsPartnerInfoGetAPIResponse)
- func ReleaseAlitripHotelSingleInfoGetAPIRequest(v *AlitripHotelSingleInfoGetAPIRequest)
- func ReleaseAlitripHotelSingleInfoGetAPIResponse(v *AlitripHotelSingleInfoGetAPIResponse)
- func ReleaseAllianceHotelInfo(v *AllianceHotelInfo)
- func ReleaseAllianceInfoRequest(v *AllianceInfoRequest)
- func ReleaseAllianceInfoResult(v *AllianceInfoResult)
- func ReleaseAlliancePartnerInfo(v *AlliancePartnerInfo)
- func ReleaseAllianceSettleOrderInfo(v *AllianceSettleOrderInfo)
- func ReleaseHmsTopResultSet(v *HmsTopResultSet)
- func ReleaseQueryHotelInfoParam(v *QueryHotelInfoParam)
- func ReleaseQueryPartnerInfoParam(v *QueryPartnerInfoParam)
- type AlitripHotelAllianceHidGetAPIRequest
- func (r AlitripHotelAllianceHidGetAPIRequest) GetAllianceInfoRequest() *AllianceInfoRequest
- func (r AlitripHotelAllianceHidGetAPIRequest) GetApiMethodName() string
- func (r AlitripHotelAllianceHidGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelAllianceHidGetAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelAllianceHidGetAPIRequest) Reset()
- func (r *AlitripHotelAllianceHidGetAPIRequest) SetAllianceInfoRequest(_allianceInfoRequest *AllianceInfoRequest) error
- type AlitripHotelAllianceHidGetAPIResponse
- type AlitripHotelAllianceHidGetAPIResponseModel
- type AlitripHotelAllianceSettleOrderSynAPIRequest
- func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetApiMethodName() string
- func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetOrderInfo() *AllianceSettleOrderInfo
- func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelAllianceSettleOrderSynAPIRequest) Reset()
- func (r *AlitripHotelAllianceSettleOrderSynAPIRequest) SetOrderInfo(_orderInfo *AllianceSettleOrderInfo) error
- type AlitripHotelAllianceSettleOrderSynAPIResponse
- type AlitripHotelAllianceSettleOrderSynAPIResponseModel
- type AlitripHotelHmsPartnerInfoGetAPIRequest
- func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetApiMethodName() string
- func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetQueryPartnerInfoParam() *QueryPartnerInfoParam
- func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelHmsPartnerInfoGetAPIRequest) Reset()
- func (r *AlitripHotelHmsPartnerInfoGetAPIRequest) SetQueryPartnerInfoParam(_queryPartnerInfoParam *QueryPartnerInfoParam) error
- type AlitripHotelHmsPartnerInfoGetAPIResponse
- type AlitripHotelHmsPartnerInfoGetAPIResponseModel
- type AlitripHotelSingleInfoGetAPIRequest
- func (r AlitripHotelSingleInfoGetAPIRequest) GetApiMethodName() string
- func (r AlitripHotelSingleInfoGetAPIRequest) GetApiParams(params url.Values)
- func (r AlitripHotelSingleInfoGetAPIRequest) GetQueryHotelInfoParam() *QueryHotelInfoParam
- func (r AlitripHotelSingleInfoGetAPIRequest) GetRawParams() model.Params
- func (r *AlitripHotelSingleInfoGetAPIRequest) Reset()
- func (r *AlitripHotelSingleInfoGetAPIRequest) SetQueryHotelInfoParam(_queryHotelInfoParam *QueryHotelInfoParam) error
- type AlitripHotelSingleInfoGetAPIResponse
- type AlitripHotelSingleInfoGetAPIResponseModel
- type AllianceHotelInfo
- type AllianceInfoRequest
- type AllianceInfoResult
- type AlliancePartnerInfo
- type AllianceSettleOrderInfo
- type HmsTopResultSet
- type QueryHotelInfoParam
- type QueryPartnerInfoParam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ReleaseAlitripHotelAllianceHidGetAPIRequest ¶ added in v1.3.4
func ReleaseAlitripHotelAllianceHidGetAPIRequest(v *AlitripHotelAllianceHidGetAPIRequest)
ReleaseAlitripHotelAllianceHidGetAPIRequest 将 AlitripHotelAllianceHidGetAPIRequest 放入 sync.Pool
func ReleaseAlitripHotelAllianceHidGetAPIResponse ¶ added in v1.3.4
func ReleaseAlitripHotelAllianceHidGetAPIResponse(v *AlitripHotelAllianceHidGetAPIResponse)
ReleaseAlitripHotelAllianceHidGetAPIResponse 将 AlitripHotelAllianceHidGetAPIResponse 保存到 sync.Pool
func ReleaseAlitripHotelAllianceSettleOrderSynAPIRequest ¶ added in v1.3.4
func ReleaseAlitripHotelAllianceSettleOrderSynAPIRequest(v *AlitripHotelAllianceSettleOrderSynAPIRequest)
ReleaseAlitripHotelAllianceSettleOrderSynAPIRequest 将 AlitripHotelAllianceSettleOrderSynAPIRequest 放入 sync.Pool
func ReleaseAlitripHotelAllianceSettleOrderSynAPIResponse ¶ added in v1.3.4
func ReleaseAlitripHotelAllianceSettleOrderSynAPIResponse(v *AlitripHotelAllianceSettleOrderSynAPIResponse)
ReleaseAlitripHotelAllianceSettleOrderSynAPIResponse 将 AlitripHotelAllianceSettleOrderSynAPIResponse 保存到 sync.Pool
func ReleaseAlitripHotelHmsPartnerInfoGetAPIRequest ¶ added in v1.3.4
func ReleaseAlitripHotelHmsPartnerInfoGetAPIRequest(v *AlitripHotelHmsPartnerInfoGetAPIRequest)
ReleaseAlitripHotelHmsPartnerInfoGetAPIRequest 将 AlitripHotelHmsPartnerInfoGetAPIRequest 放入 sync.Pool
func ReleaseAlitripHotelHmsPartnerInfoGetAPIResponse ¶ added in v1.3.4
func ReleaseAlitripHotelHmsPartnerInfoGetAPIResponse(v *AlitripHotelHmsPartnerInfoGetAPIResponse)
ReleaseAlitripHotelHmsPartnerInfoGetAPIResponse 将 AlitripHotelHmsPartnerInfoGetAPIResponse 保存到 sync.Pool
func ReleaseAlitripHotelSingleInfoGetAPIRequest ¶ added in v1.3.4
func ReleaseAlitripHotelSingleInfoGetAPIRequest(v *AlitripHotelSingleInfoGetAPIRequest)
ReleaseAlitripHotelSingleInfoGetAPIRequest 将 AlitripHotelSingleInfoGetAPIRequest 放入 sync.Pool
func ReleaseAlitripHotelSingleInfoGetAPIResponse ¶ added in v1.3.4
func ReleaseAlitripHotelSingleInfoGetAPIResponse(v *AlitripHotelSingleInfoGetAPIResponse)
ReleaseAlitripHotelSingleInfoGetAPIResponse 将 AlitripHotelSingleInfoGetAPIResponse 保存到 sync.Pool
func ReleaseAllianceHotelInfo ¶ added in v1.3.4
func ReleaseAllianceHotelInfo(v *AllianceHotelInfo)
ReleaseAllianceHotelInfo 释放AllianceHotelInfo
func ReleaseAllianceInfoRequest ¶ added in v1.3.4
func ReleaseAllianceInfoRequest(v *AllianceInfoRequest)
ReleaseAllianceInfoRequest 释放AllianceInfoRequest
func ReleaseAllianceInfoResult ¶ added in v1.3.4
func ReleaseAllianceInfoResult(v *AllianceInfoResult)
ReleaseAllianceInfoResult 释放AllianceInfoResult
func ReleaseAlliancePartnerInfo ¶ added in v1.3.4
func ReleaseAlliancePartnerInfo(v *AlliancePartnerInfo)
ReleaseAlliancePartnerInfo 释放AlliancePartnerInfo
func ReleaseAllianceSettleOrderInfo ¶ added in v1.3.4
func ReleaseAllianceSettleOrderInfo(v *AllianceSettleOrderInfo)
ReleaseAllianceSettleOrderInfo 释放AllianceSettleOrderInfo
func ReleaseHmsTopResultSet ¶ added in v1.3.4
func ReleaseHmsTopResultSet(v *HmsTopResultSet)
ReleaseHmsTopResultSet 释放HmsTopResultSet
func ReleaseQueryHotelInfoParam ¶ added in v1.3.4
func ReleaseQueryHotelInfoParam(v *QueryHotelInfoParam)
ReleaseQueryHotelInfoParam 释放QueryHotelInfoParam
func ReleaseQueryPartnerInfoParam ¶ added in v1.3.4
func ReleaseQueryPartnerInfoParam(v *QueryPartnerInfoParam)
ReleaseQueryPartnerInfoParam 释放QueryPartnerInfoParam
Types ¶
type AlitripHotelAllianceHidGetAPIRequest ¶ added in v1.2.0
type AlitripHotelAllianceHidGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelAllianceHidGetAPIRequest 获取联盟hid API请求 alitrip.hotel.alliance.hid.get
获取符合条件的菲住联盟hid,目前支持指定日期上线的菲住联盟hid查询
func GetAlitripHotelAllianceHidGetAPIRequest ¶ added in v1.3.4
func GetAlitripHotelAllianceHidGetAPIRequest() *AlitripHotelAllianceHidGetAPIRequest
GetAlitripHotelAllianceHidGetRequest 从 sync.Pool 获取 AlitripHotelAllianceHidGetAPIRequest
func NewAlitripHotelAllianceHidGetRequest ¶
func NewAlitripHotelAllianceHidGetRequest() *AlitripHotelAllianceHidGetAPIRequest
NewAlitripHotelAllianceHidGetRequest 初始化AlitripHotelAllianceHidGetAPIRequest对象
func (AlitripHotelAllianceHidGetAPIRequest) GetAllianceInfoRequest ¶ added in v1.2.0
func (r AlitripHotelAllianceHidGetAPIRequest) GetAllianceInfoRequest() *AllianceInfoRequest
GetAllianceInfoRequest AllianceInfoRequest Getter
func (AlitripHotelAllianceHidGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelAllianceHidGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelAllianceHidGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelAllianceHidGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelAllianceHidGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelAllianceHidGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelAllianceHidGetAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripHotelAllianceHidGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripHotelAllianceHidGetAPIRequest) SetAllianceInfoRequest ¶ added in v1.2.0
func (r *AlitripHotelAllianceHidGetAPIRequest) SetAllianceInfoRequest(_allianceInfoRequest *AllianceInfoRequest) error
SetAllianceInfoRequest is AllianceInfoRequest Setter 查询入参
type AlitripHotelAllianceHidGetAPIResponse ¶
type AlitripHotelAllianceHidGetAPIResponse struct { model.CommonResponse AlitripHotelAllianceHidGetAPIResponseModel }
AlitripHotelAllianceHidGetAPIResponse 获取联盟hid API返回值 alitrip.hotel.alliance.hid.get
获取符合条件的菲住联盟hid,目前支持指定日期上线的菲住联盟hid查询
func GetAlitripHotelAllianceHidGetAPIResponse ¶ added in v1.3.4
func GetAlitripHotelAllianceHidGetAPIResponse() *AlitripHotelAllianceHidGetAPIResponse
GetAlitripHotelAllianceHidGetAPIResponse 从 sync.Pool 获取 AlitripHotelAllianceHidGetAPIResponse
func (*AlitripHotelAllianceHidGetAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripHotelAllianceHidGetAPIResponse) Reset()
Reset 清空结构体
type AlitripHotelAllianceHidGetAPIResponseModel ¶ added in v1.2.0
type AlitripHotelAllianceHidGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_alliance_hid_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回结果 HmsTopResultSet *HmsTopResultSet `json:"hms_top_result_set,omitempty" xml:"hms_top_result_set,omitempty"` }
AlitripHotelAllianceHidGetAPIResponseModel is 获取联盟hid 成功返回结果
func (*AlitripHotelAllianceHidGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripHotelAllianceHidGetAPIResponseModel) Reset()
Reset 清空结构体
type AlitripHotelAllianceSettleOrderSynAPIRequest ¶ added in v1.2.0
type AlitripHotelAllianceSettleOrderSynAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelAllianceSettleOrderSynAPIRequest 菲住联盟分账成功订单同步 API请求 alitrip.hotel.alliance.settle.order.syn
用于菲住联盟分账成功订单同步
func GetAlitripHotelAllianceSettleOrderSynAPIRequest ¶ added in v1.3.4
func GetAlitripHotelAllianceSettleOrderSynAPIRequest() *AlitripHotelAllianceSettleOrderSynAPIRequest
GetAlitripHotelAllianceSettleOrderSynRequest 从 sync.Pool 获取 AlitripHotelAllianceSettleOrderSynAPIRequest
func NewAlitripHotelAllianceSettleOrderSynRequest ¶
func NewAlitripHotelAllianceSettleOrderSynRequest() *AlitripHotelAllianceSettleOrderSynAPIRequest
NewAlitripHotelAllianceSettleOrderSynRequest 初始化AlitripHotelAllianceSettleOrderSynAPIRequest对象
func (AlitripHotelAllianceSettleOrderSynAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelAllianceSettleOrderSynAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelAllianceSettleOrderSynAPIRequest) GetOrderInfo ¶ added in v1.2.0
func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetOrderInfo() *AllianceSettleOrderInfo
GetOrderInfo OrderInfo Getter
func (AlitripHotelAllianceSettleOrderSynAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelAllianceSettleOrderSynAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelAllianceSettleOrderSynAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripHotelAllianceSettleOrderSynAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripHotelAllianceSettleOrderSynAPIRequest) SetOrderInfo ¶ added in v1.2.0
func (r *AlitripHotelAllianceSettleOrderSynAPIRequest) SetOrderInfo(_orderInfo *AllianceSettleOrderInfo) error
SetOrderInfo is OrderInfo Setter 订单信息
type AlitripHotelAllianceSettleOrderSynAPIResponse ¶
type AlitripHotelAllianceSettleOrderSynAPIResponse struct { model.CommonResponse AlitripHotelAllianceSettleOrderSynAPIResponseModel }
AlitripHotelAllianceSettleOrderSynAPIResponse 菲住联盟分账成功订单同步 API返回值 alitrip.hotel.alliance.settle.order.syn
用于菲住联盟分账成功订单同步
func GetAlitripHotelAllianceSettleOrderSynAPIResponse ¶ added in v1.3.4
func GetAlitripHotelAllianceSettleOrderSynAPIResponse() *AlitripHotelAllianceSettleOrderSynAPIResponse
GetAlitripHotelAllianceSettleOrderSynAPIResponse 从 sync.Pool 获取 AlitripHotelAllianceSettleOrderSynAPIResponse
func (*AlitripHotelAllianceSettleOrderSynAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripHotelAllianceSettleOrderSynAPIResponse) Reset()
Reset 清空结构体
type AlitripHotelAllianceSettleOrderSynAPIResponseModel ¶ added in v1.2.0
type AlitripHotelAllianceSettleOrderSynAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_alliance_settle_order_syn_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回的结果 HmsTopResultSet *HmsTopResultSet `json:"hms_top_result_set,omitempty" xml:"hms_top_result_set,omitempty"` }
AlitripHotelAllianceSettleOrderSynAPIResponseModel is 菲住联盟分账成功订单同步 成功返回结果
func (*AlitripHotelAllianceSettleOrderSynAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripHotelAllianceSettleOrderSynAPIResponseModel) Reset()
Reset 清空结构体
type AlitripHotelHmsPartnerInfoGetAPIRequest ¶ added in v1.2.0
type AlitripHotelHmsPartnerInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelHmsPartnerInfoGetAPIRequest 获取合作商信息 API请求 alitrip.hotel.hms.partner.info.get
用于给到未来酒店读取与飞猪酒店合作的合作商信息,开展单体联盟业务
func GetAlitripHotelHmsPartnerInfoGetAPIRequest ¶ added in v1.3.4
func GetAlitripHotelHmsPartnerInfoGetAPIRequest() *AlitripHotelHmsPartnerInfoGetAPIRequest
GetAlitripHotelHmsPartnerInfoGetRequest 从 sync.Pool 获取 AlitripHotelHmsPartnerInfoGetAPIRequest
func NewAlitripHotelHmsPartnerInfoGetRequest ¶
func NewAlitripHotelHmsPartnerInfoGetRequest() *AlitripHotelHmsPartnerInfoGetAPIRequest
NewAlitripHotelHmsPartnerInfoGetRequest 初始化AlitripHotelHmsPartnerInfoGetAPIRequest对象
func (AlitripHotelHmsPartnerInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelHmsPartnerInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelHmsPartnerInfoGetAPIRequest) GetQueryPartnerInfoParam ¶ added in v1.2.0
func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetQueryPartnerInfoParam() *QueryPartnerInfoParam
GetQueryPartnerInfoParam QueryPartnerInfoParam Getter
func (AlitripHotelHmsPartnerInfoGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelHmsPartnerInfoGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelHmsPartnerInfoGetAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripHotelHmsPartnerInfoGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripHotelHmsPartnerInfoGetAPIRequest) SetQueryPartnerInfoParam ¶ added in v1.2.0
func (r *AlitripHotelHmsPartnerInfoGetAPIRequest) SetQueryPartnerInfoParam(_queryPartnerInfoParam *QueryPartnerInfoParam) error
SetQueryPartnerInfoParam is QueryPartnerInfoParam Setter 查询合作商信息query参数
type AlitripHotelHmsPartnerInfoGetAPIResponse ¶
type AlitripHotelHmsPartnerInfoGetAPIResponse struct { model.CommonResponse AlitripHotelHmsPartnerInfoGetAPIResponseModel }
AlitripHotelHmsPartnerInfoGetAPIResponse 获取合作商信息 API返回值 alitrip.hotel.hms.partner.info.get
用于给到未来酒店读取与飞猪酒店合作的合作商信息,开展单体联盟业务
func GetAlitripHotelHmsPartnerInfoGetAPIResponse ¶ added in v1.3.4
func GetAlitripHotelHmsPartnerInfoGetAPIResponse() *AlitripHotelHmsPartnerInfoGetAPIResponse
GetAlitripHotelHmsPartnerInfoGetAPIResponse 从 sync.Pool 获取 AlitripHotelHmsPartnerInfoGetAPIResponse
func (*AlitripHotelHmsPartnerInfoGetAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripHotelHmsPartnerInfoGetAPIResponse) Reset()
Reset 清空结构体
type AlitripHotelHmsPartnerInfoGetAPIResponseModel ¶ added in v1.2.0
type AlitripHotelHmsPartnerInfoGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_hms_partner_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回Result HmsTopResultSet *HmsTopResultSet `json:"hms_top_result_set,omitempty" xml:"hms_top_result_set,omitempty"` }
AlitripHotelHmsPartnerInfoGetAPIResponseModel is 获取合作商信息 成功返回结果
func (*AlitripHotelHmsPartnerInfoGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripHotelHmsPartnerInfoGetAPIResponseModel) Reset()
Reset 清空结构体
type AlitripHotelSingleInfoGetAPIRequest ¶ added in v1.2.0
type AlitripHotelSingleInfoGetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlitripHotelSingleInfoGetAPIRequest 获取单体酒店信息 API请求 alitrip.hotel.single.info.get
用于给到未来酒店读取与飞猪酒店合作的单体酒店信息,开展单体联盟业务
func GetAlitripHotelSingleInfoGetAPIRequest ¶ added in v1.3.4
func GetAlitripHotelSingleInfoGetAPIRequest() *AlitripHotelSingleInfoGetAPIRequest
GetAlitripHotelSingleInfoGetRequest 从 sync.Pool 获取 AlitripHotelSingleInfoGetAPIRequest
func NewAlitripHotelSingleInfoGetRequest ¶
func NewAlitripHotelSingleInfoGetRequest() *AlitripHotelSingleInfoGetAPIRequest
NewAlitripHotelSingleInfoGetRequest 初始化AlitripHotelSingleInfoGetAPIRequest对象
func (AlitripHotelSingleInfoGetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlitripHotelSingleInfoGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlitripHotelSingleInfoGetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlitripHotelSingleInfoGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlitripHotelSingleInfoGetAPIRequest) GetQueryHotelInfoParam ¶ added in v1.2.0
func (r AlitripHotelSingleInfoGetAPIRequest) GetQueryHotelInfoParam() *QueryHotelInfoParam
GetQueryHotelInfoParam QueryHotelInfoParam Getter
func (AlitripHotelSingleInfoGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlitripHotelSingleInfoGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlitripHotelSingleInfoGetAPIRequest) Reset ¶ added in v1.3.4
func (r *AlitripHotelSingleInfoGetAPIRequest) Reset()
Reset IRequest interface 方法, 清空结构体
func (*AlitripHotelSingleInfoGetAPIRequest) SetQueryHotelInfoParam ¶ added in v1.2.0
func (r *AlitripHotelSingleInfoGetAPIRequest) SetQueryHotelInfoParam(_queryHotelInfoParam *QueryHotelInfoParam) error
SetQueryHotelInfoParam is QueryHotelInfoParam Setter 查询酒店信息query参数
type AlitripHotelSingleInfoGetAPIResponse ¶
type AlitripHotelSingleInfoGetAPIResponse struct { model.CommonResponse AlitripHotelSingleInfoGetAPIResponseModel }
AlitripHotelSingleInfoGetAPIResponse 获取单体酒店信息 API返回值 alitrip.hotel.single.info.get
用于给到未来酒店读取与飞猪酒店合作的单体酒店信息,开展单体联盟业务
func GetAlitripHotelSingleInfoGetAPIResponse ¶ added in v1.3.4
func GetAlitripHotelSingleInfoGetAPIResponse() *AlitripHotelSingleInfoGetAPIResponse
GetAlitripHotelSingleInfoGetAPIResponse 从 sync.Pool 获取 AlitripHotelSingleInfoGetAPIResponse
func (*AlitripHotelSingleInfoGetAPIResponse) Reset ¶ added in v1.3.4
func (m *AlitripHotelSingleInfoGetAPIResponse) Reset()
Reset 清空结构体
type AlitripHotelSingleInfoGetAPIResponseModel ¶ added in v1.2.0
type AlitripHotelSingleInfoGetAPIResponseModel struct { XMLName xml.Name `xml:"alitrip_hotel_single_info_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回Result HmsTopResultSet *HmsTopResultSet `json:"hms_top_result_set,omitempty" xml:"hms_top_result_set,omitempty"` }
AlitripHotelSingleInfoGetAPIResponseModel is 获取单体酒店信息 成功返回结果
func (*AlitripHotelSingleInfoGetAPIResponseModel) Reset ¶ added in v1.3.4
func (m *AlitripHotelSingleInfoGetAPIResponseModel) Reset()
Reset 清空结构体
type AllianceHotelInfo ¶
type AllianceHotelInfo struct { // 邀约人 Inviter string `json:"inviter,omitempty" xml:"inviter,omitempty"` // 酒店联系人电话 ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"` // 合同签署开始时间 ContractStart string `json:"contract_start,omitempty" xml:"contract_start,omitempty"` // 底价比率值 Fee string `json:"fee,omitempty" xml:"fee,omitempty"` // 结算账号户名 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 酒店名称 HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"` // 开户行名称 AccountOpeningBank string `json:"account_opening_bank,omitempty" xml:"account_opening_bank,omitempty"` // 酒店联系人姓名 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 支付宝账号 AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"` // 银行卡账号 BankAccount string `json:"bank_account,omitempty" xml:"bank_account,omitempty"` // 合同结束时间 ContractEnd string `json:"contract_end,omitempty" xml:"contract_end,omitempty"` // 酒店联系邮箱 ContactEmail string `json:"contact_email,omitempty" xml:"contact_email,omitempty"` // 银行省份 BankProvince string `json:"bank_province,omitempty" xml:"bank_province,omitempty"` // 银行城市 BankCity string `json:"bank_city,omitempty" xml:"bank_city,omitempty"` // 酒店签约主账号 MainAccount string `json:"main_account,omitempty" xml:"main_account,omitempty"` // 开户银行 AccountBank string `json:"account_bank,omitempty" xml:"account_bank,omitempty"` // 新费率 NewFee string `json:"new_fee,omitempty" xml:"new_fee,omitempty"` // 营业执照公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 支付宝帐号ID AlipayAccountId string `json:"alipay_account_id,omitempty" xml:"alipay_account_id,omitempty"` // 卖家酒店id Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 合作商Id PartnerId int64 `json:"partner_id,omitempty" xml:"partner_id,omitempty"` // 标准酒店Id Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"` // 费率类型 FeeType int64 `json:"fee_type,omitempty" xml:"fee_type,omitempty"` // 结算类型0:个人支付宝 1:企业支付宝 3:对公银行卡 PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 是否生效 0:失效 1:生效 IsValid int64 `json:"is_valid,omitempty" xml:"is_valid,omitempty"` // 单体联盟新生成的卖家酒店Id Ahid int64 `json:"ahid,omitempty" xml:"ahid,omitempty"` // 合同号 TplId int64 `json:"tpl_id,omitempty" xml:"tpl_id,omitempty"` // 卖家Id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 是否菲住酒店有效 IsNewValid int64 `json:"is_new_valid,omitempty" xml:"is_new_valid,omitempty"` // 新费率类型 NewFeeType int64 `json:"new_fee_type,omitempty" xml:"new_fee_type,omitempty"` // 是否迁移成功 IsTransfer int64 `json:"is_transfer,omitempty" xml:"is_transfer,omitempty"` // 主合同id MainTplId int64 `json:"main_tpl_id,omitempty" xml:"main_tpl_id,omitempty"` }
AllianceHotelInfo 结构体
func GetAllianceHotelInfo ¶ added in v1.3.4
func GetAllianceHotelInfo() *AllianceHotelInfo
GetAllianceHotelInfo() 从对象池中获取AllianceHotelInfo
type AllianceInfoRequest ¶
type AllianceInfoRequest struct { // 要查询的日期,格式yyyymmdd QueryDay string `json:"query_day,omitempty" xml:"query_day,omitempty"` // 签约类型-0:融合;1:直签。 SignType int64 `json:"sign_type,omitempty" xml:"sign_type,omitempty"` }
AllianceInfoRequest 结构体
func GetAllianceInfoRequest ¶ added in v1.3.4
func GetAllianceInfoRequest() *AllianceInfoRequest
GetAllianceInfoRequest() 从对象池中获取AllianceInfoRequest
type AllianceInfoResult ¶
type AllianceInfoResult struct { // 菲住hid列表 AllianceHids []int64 `json:"alliance_hids,omitempty" xml:"alliance_hids>int64,omitempty"` }
AllianceInfoResult 结构体
func GetAllianceInfoResult ¶ added in v1.3.4
func GetAllianceInfoResult() *AllianceInfoResult
GetAllianceInfoResult() 从对象池中获取AllianceInfoResult
type AlliancePartnerInfo ¶
type AlliancePartnerInfo struct { // 公司名称 CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"` // 合作商联系人电话 ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"` // 结算账户名 AccountName string `json:"account_name,omitempty" xml:"account_name,omitempty"` // 合作商联系人姓名 ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"` // 结算账号 AccountNum string `json:"account_num,omitempty" xml:"account_num,omitempty"` // 公司联系邮箱 ContactEmail string `json:"contact_email,omitempty" xml:"contact_email,omitempty"` // 公司地址 CompanyAddress string `json:"company_address,omitempty" xml:"company_address,omitempty"` // 合作商签约主账号 MainAccount string `json:"main_account,omitempty" xml:"main_account,omitempty"` // 合作商ID PartnerId int64 `json:"partner_id,omitempty" xml:"partner_id,omitempty"` // 结算类型(目前只有0,企业支付宝) PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"` // 是否生效(0: 失效 1:生效) IsValid int64 `json:"is_valid,omitempty" xml:"is_valid,omitempty"` }
AlliancePartnerInfo 结构体
func GetAlliancePartnerInfo ¶ added in v1.3.4
func GetAlliancePartnerInfo() *AlliancePartnerInfo
GetAlliancePartnerInfo() 从对象池中获取AlliancePartnerInfo
type AllianceSettleOrderInfo ¶
type AllianceSettleOrderInfo struct { // 卖家昵称 SellerNick string `json:"seller_nick,omitempty" xml:"seller_nick,omitempty"` // 订单渠道来源 OrderSource string `json:"order_source,omitempty" xml:"order_source,omitempty"` // 分账日期 SettleDate string `json:"settle_date,omitempty" xml:"settle_date,omitempty"` // 分账费率 SettleRate string `json:"settle_rate,omitempty" xml:"settle_rate,omitempty"` // 分账状态 SettleStatus int64 `json:"settle_status,omitempty" xml:"settle_status,omitempty"` // 杂费(单位:分) OtherFee int64 `json:"other_fee,omitempty" xml:"other_fee,omitempty"` // 分账金额(单位:分) SettleAmount int64 `json:"settle_amount,omitempty" xml:"settle_amount,omitempty"` // 卖家佣金金额(单位:分) SellerCommission int64 `json:"seller_commission,omitempty" xml:"seller_commission,omitempty"` // 飞猪订单号 Tid int64 `json:"tid,omitempty" xml:"tid,omitempty"` // 分账拦截金额(单位:分) InterceptAmount int64 `json:"intercept_amount,omitempty" xml:"intercept_amount,omitempty"` // 卖家Id SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"` // 是否底价订单 BaseMode int64 `json:"base_mode,omitempty" xml:"base_mode,omitempty"` // 订单有效间夜 Nights int64 `json:"nights,omitempty" xml:"nights,omitempty"` // 房费(单位:分) Payment int64 `json:"payment,omitempty" xml:"payment,omitempty"` // 底价金额(单位:分) BasePrice int64 `json:"base_price,omitempty" xml:"base_price,omitempty"` }
AllianceSettleOrderInfo 结构体
func GetAllianceSettleOrderInfo ¶ added in v1.3.4
func GetAllianceSettleOrderInfo() *AllianceSettleOrderInfo
GetAllianceSettleOrderInfo() 从对象池中获取AllianceSettleOrderInfo
type HmsTopResultSet ¶
type HmsTopResultSet struct { // 错误code ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 返回module Result *AllianceInfoResult `json:"result,omitempty" xml:"result,omitempty"` // 操作是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
HmsTopResultSet 结构体
func GetHmsTopResultSet ¶ added in v1.3.4
func GetHmsTopResultSet() *HmsTopResultSet
GetHmsTopResultSet() 从对象池中获取HmsTopResultSet
type QueryHotelInfoParam ¶
type QueryHotelInfoParam struct { // 飞猪卖家酒店id Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"` // 单体联盟飞猪卖家酒店id Ahid int64 `json:"ahid,omitempty" xml:"ahid,omitempty"` }
QueryHotelInfoParam 结构体
func GetQueryHotelInfoParam ¶ added in v1.3.4
func GetQueryHotelInfoParam() *QueryHotelInfoParam
GetQueryHotelInfoParam() 从对象池中获取QueryHotelInfoParam
type QueryPartnerInfoParam ¶
type QueryPartnerInfoParam struct { // 合作商Id HocPartnerId int64 `json:"hoc_partner_id,omitempty" xml:"hoc_partner_id,omitempty"` }
QueryPartnerInfoParam 结构体
func GetQueryPartnerInfoParam ¶ added in v1.3.4
func GetQueryPartnerInfoParam() *QueryPartnerInfoParam
GetQueryPartnerInfoParam() 从对象池中获取QueryPartnerInfoParam
Source Files ¶
- AlitripHotelAllianceHidGetAPIRequest.go
- AlitripHotelAllianceHidGetAPIResponse.go
- AlitripHotelAllianceSettleOrderSynAPIRequest.go
- AlitripHotelAllianceSettleOrderSynAPIResponse.go
- AlitripHotelHmsPartnerInfoGetAPIRequest.go
- AlitripHotelHmsPartnerInfoGetAPIResponse.go
- AlitripHotelSingleInfoGetAPIRequest.go
- AlitripHotelSingleInfoGetAPIResponse.go
- AllianceHotelInfo.go
- AllianceInfoRequest.go
- AllianceInfoResult.go
- AlliancePartnerInfo.go
- AllianceSettleOrderInfo.go
- HmsTopResultSet.go
- QueryHotelInfoParam.go
- QueryPartnerInfoParam.go
- doc.go