hotelalliance

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlitripHotelAllianceHidGetAPIResponse

type AlitripHotelAllianceHidGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelAllianceHidGetResponse
}

获取联盟hid APIResponse alitrip.hotel.alliance.hid.get

获取符合条件的菲住联盟hid,目前支持指定日期上线的菲住联盟hid查询

type AlitripHotelAllianceHidGetRequest

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

获取联盟hid APIRequest alitrip.hotel.alliance.hid.get

获取符合条件的菲住联盟hid,目前支持指定日期上线的菲住联盟hid查询

func NewAlitripHotelAllianceHidGetRequest

func NewAlitripHotelAllianceHidGetRequest() *AlitripHotelAllianceHidGetRequest

func (AlitripHotelAllianceHidGetRequest) GetAllianceInfoRequest

func (r AlitripHotelAllianceHidGetRequest) GetAllianceInfoRequest() *AllianceInfoRequest

func (AlitripHotelAllianceHidGetRequest) GetApiMethodName

func (r AlitripHotelAllianceHidGetRequest) GetApiMethodName() string

func (AlitripHotelAllianceHidGetRequest) GetApiParams

func (r AlitripHotelAllianceHidGetRequest) GetApiParams() url.Values

func (*AlitripHotelAllianceHidGetRequest) SetAllianceInfoRequest

func (r *AlitripHotelAllianceHidGetRequest) SetAllianceInfoRequest(allianceInfoRequest *AllianceInfoRequest) error

type AlitripHotelAllianceHidGetResponse

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

type AlitripHotelAllianceSettleOrderSynAPIResponse

type AlitripHotelAllianceSettleOrderSynAPIResponse struct {
	model.CommonResponse
	AlitripHotelAllianceSettleOrderSynResponse
}

菲住联盟分账成功订单同步 APIResponse alitrip.hotel.alliance.settle.order.syn

用于菲住联盟分账成功订单同步

type AlitripHotelAllianceSettleOrderSynRequest

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

菲住联盟分账成功订单同步 APIRequest alitrip.hotel.alliance.settle.order.syn

用于菲住联盟分账成功订单同步

func NewAlitripHotelAllianceSettleOrderSynRequest

func NewAlitripHotelAllianceSettleOrderSynRequest() *AlitripHotelAllianceSettleOrderSynRequest

func (AlitripHotelAllianceSettleOrderSynRequest) GetApiMethodName

func (AlitripHotelAllianceSettleOrderSynRequest) GetApiParams

func (AlitripHotelAllianceSettleOrderSynRequest) GetOrderInfo

func (*AlitripHotelAllianceSettleOrderSynRequest) SetOrderInfo

type AlitripHotelAllianceSettleOrderSynResponse

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

type AlitripHotelHmsPartnerInfoGetAPIResponse

type AlitripHotelHmsPartnerInfoGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelHmsPartnerInfoGetResponse
}

获取合作商信息 APIResponse alitrip.hotel.hms.partner.info.get

用于给到未来酒店读取与飞猪酒店合作的合作商信息,开展单体联盟业务

type AlitripHotelHmsPartnerInfoGetRequest

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

获取合作商信息 APIRequest alitrip.hotel.hms.partner.info.get

用于给到未来酒店读取与飞猪酒店合作的合作商信息,开展单体联盟业务

func NewAlitripHotelHmsPartnerInfoGetRequest

func NewAlitripHotelHmsPartnerInfoGetRequest() *AlitripHotelHmsPartnerInfoGetRequest

func (AlitripHotelHmsPartnerInfoGetRequest) GetApiMethodName

func (r AlitripHotelHmsPartnerInfoGetRequest) GetApiMethodName() string

func (AlitripHotelHmsPartnerInfoGetRequest) GetApiParams

func (AlitripHotelHmsPartnerInfoGetRequest) GetQueryPartnerInfoParam

func (r AlitripHotelHmsPartnerInfoGetRequest) GetQueryPartnerInfoParam() *QueryPartnerInfoParam

func (*AlitripHotelHmsPartnerInfoGetRequest) SetQueryPartnerInfoParam

func (r *AlitripHotelHmsPartnerInfoGetRequest) SetQueryPartnerInfoParam(queryPartnerInfoParam *QueryPartnerInfoParam) error

type AlitripHotelHmsPartnerInfoGetResponse

type AlitripHotelHmsPartnerInfoGetResponse struct {
	XMLName xml.Name `xml:"alitrip_hotel_hms_partner_info_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"`
}

type AlitripHotelSingleInfoGetAPIResponse

type AlitripHotelSingleInfoGetAPIResponse struct {
	model.CommonResponse
	AlitripHotelSingleInfoGetResponse
}

获取单体酒店信息 APIResponse alitrip.hotel.single.info.get

用于给到未来酒店读取与飞猪酒店合作的单体酒店信息,开展单体联盟业务

type AlitripHotelSingleInfoGetRequest

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

获取单体酒店信息 APIRequest alitrip.hotel.single.info.get

用于给到未来酒店读取与飞猪酒店合作的单体酒店信息,开展单体联盟业务

func NewAlitripHotelSingleInfoGetRequest

func NewAlitripHotelSingleInfoGetRequest() *AlitripHotelSingleInfoGetRequest

func (AlitripHotelSingleInfoGetRequest) GetApiMethodName

func (r AlitripHotelSingleInfoGetRequest) GetApiMethodName() string

func (AlitripHotelSingleInfoGetRequest) GetApiParams

func (r AlitripHotelSingleInfoGetRequest) GetApiParams() url.Values

func (AlitripHotelSingleInfoGetRequest) GetQueryHotelInfoParam

func (r AlitripHotelSingleInfoGetRequest) GetQueryHotelInfoParam() *QueryHotelInfoParam

func (*AlitripHotelSingleInfoGetRequest) SetQueryHotelInfoParam

func (r *AlitripHotelSingleInfoGetRequest) SetQueryHotelInfoParam(queryHotelInfoParam *QueryHotelInfoParam) error

type AlitripHotelSingleInfoGetResponse

type AlitripHotelSingleInfoGetResponse struct {
	XMLName xml.Name `xml:"alitrip_hotel_single_info_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"`
}

type AllianceHotelInfo

type AllianceHotelInfo struct {
	Inviter string `json:"inviter,omitempty" xml:"inviter,omitempty"`

	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`

	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`

	ContractStart string `json:"contract_start,omitempty" xml:"contract_start,omitempty"`

	PartnerId int64 `json:"partner_id,omitempty" xml:"partner_id,omitempty"`

	Shid int64 `json:"shid,omitempty" xml:"shid,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"`

	FeeType int64 `json:"fee_type,omitempty" xml:"fee_type,omitempty"`

	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`

	AlipayAccount string `json:"alipay_account,omitempty" xml:"alipay_account,omitempty"`

	IsValid int64 `json:"is_valid,omitempty" xml:"is_valid,omitempty"`

	Ahid int64 `json:"ahid,omitempty" xml:"ahid,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"`

	TplId int64 `json:"tpl_id,omitempty" xml:"tpl_id,omitempty"`

	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`

	IsNewValid int64 `json:"is_new_valid,omitempty" xml:"is_new_valid,omitempty"`

	NewFee string `json:"new_fee,omitempty" xml:"new_fee,omitempty"`

	NewFeeType int64 `json:"new_fee_type,omitempty" xml:"new_fee_type,omitempty"`

	IsTransfer int64 `json:"is_transfer,omitempty" xml:"is_transfer,omitempty"`

	MainTplId int64 `json:"main_tpl_id,omitempty" xml:"main_tpl_id,omitempty"`

	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`

	AlipayAccountId string `json:"alipay_account_id,omitempty" xml:"alipay_account_id,omitempty"`
}

AllianceHotelInfo

type AllianceInfoRequest

type AllianceInfoRequest struct {
	QueryDay string `json:"query_day,omitempty" xml:"query_day,omitempty"`

	SignType int64 `json:"sign_type,omitempty" xml:"sign_type,omitempty"`
}

AllianceInfoRequest

type AllianceInfoResult

type AllianceInfoResult struct {
	AllianceHids []int64 `json:"alliance_hids,omitempty" xml:"alliance_hids>int64,omitempty"`
}

AllianceInfoResult

type AlliancePartnerInfo

type AlliancePartnerInfo struct {
	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"`

	PartnerId int64 `json:"partner_id,omitempty" xml:"partner_id,omitempty"`

	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`

	AccountNum string `json:"account_num,omitempty" xml:"account_num,omitempty"`

	IsValid int64 `json:"is_valid,omitempty" xml:"is_valid,omitempty"`

	CompanyName string `json:"company_name,omitempty" xml:"company_name,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"`
}

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"`

	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"`

	SettleDate string `json:"settle_date,omitempty" xml:"settle_date,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"`

	SettleRate string `json:"settle_rate,omitempty" xml:"settle_rate,omitempty"`

	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

type HmsTopResultSet

type HmsTopResultSet struct {
	Result *AllianceInfoResult `json:"result,omitempty" xml:"result,omitempty"`

	Success bool `json:"success,omitempty" xml:"success,omitempty"`

	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`

	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
}

HmsTopResultSet

type QueryHotelInfoParam

type QueryHotelInfoParam struct {
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`

	Ahid int64 `json:"ahid,omitempty" xml:"ahid,omitempty"`
}

QueryHotelInfoParam

type QueryPartnerInfoParam

type QueryPartnerInfoParam struct {
	HocPartnerId int64 `json:"hoc_partner_id,omitempty" xml:"hoc_partner_id,omitempty"`
}

QueryPartnerInfoParam

Jump to

Keyboard shortcuts

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