alitripmerchant

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package alitripmerchant 包含飞猪商家平台相关结构体

https://open.taobao.com/API.htm?docId=54748&docType=2

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AddressLetterDto

type AddressLetterDto struct {
	// 字母分类列表
	AddressList []AddressSearchDto `json:"address_list,omitempty" xml:"address_list>address_search_dto,omitempty"`
	// 字母
	Letter string `json:"letter,omitempty" xml:"letter,omitempty"`
}

AddressLetterDto 结构体

type AddressListSearchDto

type AddressListSearchDto struct {
	// 城市列表
	CityList []AddressLetterDto `json:"city_list,omitempty" xml:"city_list>address_letter_dto,omitempty"`
	// 热门城市
	HotCityList []AddressSearchDto `json:"hot_city_list,omitempty" xml:"hot_city_list>address_search_dto,omitempty"`
}

AddressListSearchDto 结构体

type AddressSearchDto

type AddressSearchDto struct {
	// 城市图片url
	CityUrl string `json:"city_url,omitempty" xml:"city_url,omitempty"`
	// 城市拼音首字母
	CityPyHead string `json:"city_py_head,omitempty" xml:"city_py_head,omitempty"`
	// 城市
	CityCn string `json:"city_cn,omitempty" xml:"city_cn,omitempty"`
	// 国家
	CountryCn string `json:"country_cn,omitempty" xml:"country_cn,omitempty"`
	// 0国内1国外
	Domestic int64 `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 国家编码
	CountryCode int64 `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 城市编码
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
}

AddressSearchDto 结构体

type AlitripMerchantGalaxyBrandSearchAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyBrandSearchAPIRequest 星河-品牌搜索 API请求 alitrip.merchant.galaxy.brand.search

星河服务=获取雅高品牌信息

func NewAlitripMerchantGalaxyBrandSearchRequest

func NewAlitripMerchantGalaxyBrandSearchRequest() *AlitripMerchantGalaxyBrandSearchAPIRequest

NewAlitripMerchantGalaxyBrandSearchRequest 初始化AlitripMerchantGalaxyBrandSearchAPIRequest对象

func (AlitripMerchantGalaxyBrandSearchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyBrandSearchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyBrandSearchAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyBrandSearchAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyBrandSearchAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户信息

type AlitripMerchantGalaxyBrandSearchAPIResponse

type AlitripMerchantGalaxyBrandSearchAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyBrandSearchAPIResponseModel
}

AlitripMerchantGalaxyBrandSearchAPIResponse 星河-品牌搜索 API返回值 alitrip.merchant.galaxy.brand.search

星河服务=获取雅高品牌信息

type AlitripMerchantGalaxyBrandSearchAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyBrandSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_brand_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlitripMerchantGalaxyBrandSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyBrandSearchAPIResponseModel is 星河-品牌搜索 成功返回结果

type AlitripMerchantGalaxyBrandSearchResult

type AlitripMerchantGalaxyBrandSearchResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 品牌信息
	Brands *Content `json:"brands,omitempty" xml:"brands,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyBrandSearchResult 结构体

type AlitripMerchantGalaxyCityLikeAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyCityLikeAPIRequest 星河-酒店城市模糊查询 API请求 alitrip.merchant.galaxy.city.like

根据城市模糊查询,雅高酒店所在城市的城市信息

func NewAlitripMerchantGalaxyCityLikeRequest

func NewAlitripMerchantGalaxyCityLikeRequest() *AlitripMerchantGalaxyCityLikeAPIRequest

NewAlitripMerchantGalaxyCityLikeRequest 初始化AlitripMerchantGalaxyCityLikeAPIRequest对象

func (AlitripMerchantGalaxyCityLikeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripMerchantGalaxyCityLikeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyCityLikeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyCityLikeAPIRequest) GetCityName added in v1.2.0

GetCityName CityName Getter

func (AlitripMerchantGalaxyCityLikeAPIRequest) GetDomestic added in v1.2.0

GetDomestic Domestic Getter

func (AlitripMerchantGalaxyCityLikeAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyCityLikeAPIRequest) SetCityName added in v1.2.0

func (r *AlitripMerchantGalaxyCityLikeAPIRequest) SetCityName(_cityName string) error

SetCityName is CityName Setter 城市模糊

func (*AlitripMerchantGalaxyCityLikeAPIRequest) SetDomestic added in v1.2.0

func (r *AlitripMerchantGalaxyCityLikeAPIRequest) SetDomestic(_domestic int64) error

SetDomestic is Domestic Setter 0国内1国外

func (*AlitripMerchantGalaxyCityLikeAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyCityLikeAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 商家租户id

type AlitripMerchantGalaxyCityLikeAPIResponse

type AlitripMerchantGalaxyCityLikeAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyCityLikeAPIResponseModel
}

AlitripMerchantGalaxyCityLikeAPIResponse 星河-酒店城市模糊查询 API返回值 alitrip.merchant.galaxy.city.like

根据城市模糊查询,雅高酒店所在城市的城市信息

type AlitripMerchantGalaxyCityLikeAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyCityLikeAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_city_like_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyCityLikeResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyCityLikeAPIResponseModel is 星河-酒店城市模糊查询 成功返回结果

type AlitripMerchantGalaxyCityLikeResponse

type AlitripMerchantGalaxyCityLikeResponse struct {
	// 返回结果
	Contents []AddressSearchDto `json:"contents,omitempty" xml:"contents>address_search_dto,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyCityLikeResponse 结构体

type AlitripMerchantGalaxyCityListAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyCityListAPIRequest 星河-酒店城市列表展示 API请求 alitrip.merchant.galaxy.city.list

雅高酒店城市列表展示,并且首字母列出酒店城市

func NewAlitripMerchantGalaxyCityListRequest

func NewAlitripMerchantGalaxyCityListRequest() *AlitripMerchantGalaxyCityListAPIRequest

NewAlitripMerchantGalaxyCityListRequest 初始化AlitripMerchantGalaxyCityListAPIRequest对象

func (AlitripMerchantGalaxyCityListAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripMerchantGalaxyCityListAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyCityListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyCityListAPIRequest) GetDomestic added in v1.2.0

GetDomestic Domestic Getter

func (AlitripMerchantGalaxyCityListAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyCityListAPIRequest) SetDomestic added in v1.2.0

func (r *AlitripMerchantGalaxyCityListAPIRequest) SetDomestic(_domestic int64) error

SetDomestic is Domestic Setter 0国内 1国外

func (*AlitripMerchantGalaxyCityListAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyCityListAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 商家租户id

type AlitripMerchantGalaxyCityListAPIResponse

type AlitripMerchantGalaxyCityListAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyCityListAPIResponseModel
}

AlitripMerchantGalaxyCityListAPIResponse 星河-酒店城市列表展示 API返回值 alitrip.merchant.galaxy.city.list

雅高酒店城市列表展示,并且首字母列出酒店城市

type AlitripMerchantGalaxyCityListAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyCityListAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_city_list_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyCityListResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyCityListAPIResponseModel is 星河-酒店城市列表展示 成功返回结果

type AlitripMerchantGalaxyCityListResponse

type AlitripMerchantGalaxyCityListResponse struct {
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回城市列表
	Content *AddressListSearchDto `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyCityListResponse 结构体

type AlitripMerchantGalaxyHotelDetailSearchAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyHotelDetailSearchAPIRequest 星河-酒店详细信息搜索 API请求 alitrip.merchant.galaxy.hotel.detail.search

星河服务=获取雅高酒店详细信息

func NewAlitripMerchantGalaxyHotelDetailSearchRequest

func NewAlitripMerchantGalaxyHotelDetailSearchRequest() *AlitripMerchantGalaxyHotelDetailSearchAPIRequest

NewAlitripMerchantGalaxyHotelDetailSearchRequest 初始化AlitripMerchantGalaxyHotelDetailSearchAPIRequest对象

func (AlitripMerchantGalaxyHotelDetailSearchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyHotelDetailSearchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyHotelDetailSearchAPIRequest) GetHotelDetailsParam added in v1.2.0

GetHotelDetailsParam HotelDetailsParam Getter

func (AlitripMerchantGalaxyHotelDetailSearchAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyHotelDetailSearchAPIRequest) SetHotelDetailsParam added in v1.2.0

func (r *AlitripMerchantGalaxyHotelDetailSearchAPIRequest) SetHotelDetailsParam(_hotelDetailsParam *HotelDetailsParam) error

SetHotelDetailsParam is HotelDetailsParam Setter 酒店详情入参

func (*AlitripMerchantGalaxyHotelDetailSearchAPIRequest) SetTenantKey added in v1.2.0

SetTenantKey is TenantKey Setter 租户id

type AlitripMerchantGalaxyHotelDetailSearchAPIResponse

type AlitripMerchantGalaxyHotelDetailSearchAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyHotelDetailSearchAPIResponseModel
}

AlitripMerchantGalaxyHotelDetailSearchAPIResponse 星河-酒店详细信息搜索 API返回值 alitrip.merchant.galaxy.hotel.detail.search

星河服务=获取雅高酒店详细信息

type AlitripMerchantGalaxyHotelDetailSearchAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyHotelDetailSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_hotel_detail_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlitripMerchantGalaxyHotelDetailSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyHotelDetailSearchAPIResponseModel is 星河-酒店详细信息搜索 成功返回结果

type AlitripMerchantGalaxyHotelDetailSearchResult

type AlitripMerchantGalaxyHotelDetailSearchResult struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 酒店详情返回实体
	Content *HotelDetailInfoDto `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyHotelDetailSearchResult 结构体

type AlitripMerchantGalaxyHotelListSearchAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyHotelListSearchAPIRequest 星河-酒店列表页搜索 API请求 alitrip.merchant.galaxy.hotel.list.search

星河产品=酒店列表页搜索

func NewAlitripMerchantGalaxyHotelListSearchRequest

func NewAlitripMerchantGalaxyHotelListSearchRequest() *AlitripMerchantGalaxyHotelListSearchAPIRequest

NewAlitripMerchantGalaxyHotelListSearchRequest 初始化AlitripMerchantGalaxyHotelListSearchAPIRequest对象

func (AlitripMerchantGalaxyHotelListSearchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyHotelListSearchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyHotelListSearchAPIRequest) GetListSearchParam added in v1.2.0

GetListSearchParam ListSearchParam Getter

func (AlitripMerchantGalaxyHotelListSearchAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyHotelListSearchAPIRequest) SetListSearchParam added in v1.2.0

func (r *AlitripMerchantGalaxyHotelListSearchAPIRequest) SetListSearchParam(_listSearchParam *ListSearchParam) error

SetListSearchParam is ListSearchParam Setter 请求参数

func (*AlitripMerchantGalaxyHotelListSearchAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyHotelListSearchAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 商家租户id

type AlitripMerchantGalaxyHotelListSearchAPIResponse

type AlitripMerchantGalaxyHotelListSearchAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyHotelListSearchAPIResponseModel
}

AlitripMerchantGalaxyHotelListSearchAPIResponse 星河-酒店列表页搜索 API返回值 alitrip.merchant.galaxy.hotel.list.search

星河产品=酒店列表页搜索

type AlitripMerchantGalaxyHotelListSearchAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyHotelListSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_hotel_list_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *PageableResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyHotelListSearchAPIResponseModel is 星河-酒店列表页搜索 成功返回结果

type AlitripMerchantGalaxyMemberCardAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyMemberCardAPIRequest 星河-获取会员卡信息 API请求 alitrip.merchant.galaxy.member.card

星河=根据会员等级获取会员的权益

func NewAlitripMerchantGalaxyMemberCardRequest

func NewAlitripMerchantGalaxyMemberCardRequest() *AlitripMerchantGalaxyMemberCardAPIRequest

NewAlitripMerchantGalaxyMemberCardRequest 初始化AlitripMerchantGalaxyMemberCardAPIRequest对象

func (AlitripMerchantGalaxyMemberCardAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberCardAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberCardAPIRequest) GetCardType added in v1.2.0

GetCardType CardType Getter

func (AlitripMerchantGalaxyMemberCardAPIRequest) GetFliggyLevel added in v1.2.0

GetFliggyLevel FliggyLevel Getter

func (AlitripMerchantGalaxyMemberCardAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyMemberCardAPIRequest) SetCardType added in v1.2.0

func (r *AlitripMerchantGalaxyMemberCardAPIRequest) SetCardType(_cardType string) error

SetCardType is CardType Setter 卡类型

func (*AlitripMerchantGalaxyMemberCardAPIRequest) SetFliggyLevel added in v1.2.0

func (r *AlitripMerchantGalaxyMemberCardAPIRequest) SetFliggyLevel(_fliggyLevel string) error

SetFliggyLevel is FliggyLevel Setter 飞猪等级

func (*AlitripMerchantGalaxyMemberCardAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyMemberCardAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户信息

type AlitripMerchantGalaxyMemberCardAPIResponse

type AlitripMerchantGalaxyMemberCardAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberCardAPIResponseModel
}

AlitripMerchantGalaxyMemberCardAPIResponse 星河-获取会员卡信息 API返回值 alitrip.merchant.galaxy.member.card

星河=根据会员等级获取会员的权益

type AlitripMerchantGalaxyMemberCardAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyMemberCardAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_member_card_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyMemberCardResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyMemberCardAPIResponseModel is 星河-获取会员卡信息 成功返回结果

type AlitripMerchantGalaxyMemberCardResponse

type AlitripMerchantGalaxyMemberCardResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回参数
	Content *MemberCardDto `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyMemberCardResponse 结构体

type AlitripMerchantGalaxyMemberLogoutAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyMemberLogoutAPIRequest 星河-用户登出 API请求 alitrip.merchant.galaxy.member.logout

星河=微信小程序用户登出

func NewAlitripMerchantGalaxyMemberLogoutRequest

func NewAlitripMerchantGalaxyMemberLogoutRequest() *AlitripMerchantGalaxyMemberLogoutAPIRequest

NewAlitripMerchantGalaxyMemberLogoutRequest 初始化AlitripMerchantGalaxyMemberLogoutAPIRequest对象

func (AlitripMerchantGalaxyMemberLogoutAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberLogoutAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberLogoutAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyMemberLogoutAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyMemberLogoutAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyMemberLogoutAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户信息

func (*AlitripMerchantGalaxyMemberLogoutAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户登录token

type AlitripMerchantGalaxyMemberLogoutAPIResponse

type AlitripMerchantGalaxyMemberLogoutAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberLogoutAPIResponseModel
}

AlitripMerchantGalaxyMemberLogoutAPIResponse 星河-用户登出 API返回值 alitrip.merchant.galaxy.member.logout

星河=微信小程序用户登出

type AlitripMerchantGalaxyMemberLogoutAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyMemberLogoutAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_member_logout_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyMemberLogoutResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyMemberLogoutAPIResponseModel is 星河-用户登出 成功返回结果

type AlitripMerchantGalaxyMemberLogoutResponse

type AlitripMerchantGalaxyMemberLogoutResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 登出是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

AlitripMerchantGalaxyMemberLogoutResponse 结构体

type AlitripMerchantGalaxyMemberProviderRegisterAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyMemberProviderRegisterAPIRequest 对外提供会员注册服务 API请求 alitrip.merchant.galaxy.member.provider.register

星河产品=对外提供注册雅高会员服务

func NewAlitripMerchantGalaxyMemberProviderRegisterRequest

func NewAlitripMerchantGalaxyMemberProviderRegisterRequest() *AlitripMerchantGalaxyMemberProviderRegisterAPIRequest

NewAlitripMerchantGalaxyMemberProviderRegisterRequest 初始化AlitripMerchantGalaxyMemberProviderRegisterAPIRequest对象

func (AlitripMerchantGalaxyMemberProviderRegisterAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberProviderRegisterAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberProviderRegisterAPIRequest) GetProviderMemberParam added in v1.2.0

GetProviderMemberParam ProviderMemberParam Getter

func (AlitripMerchantGalaxyMemberProviderRegisterAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyMemberProviderRegisterAPIRequest) SetProviderMemberParam added in v1.2.0

func (r *AlitripMerchantGalaxyMemberProviderRegisterAPIRequest) SetProviderMemberParam(_providerMemberParam *ProviderMemberParam) error

SetProviderMemberParam is ProviderMemberParam Setter 注册入参

func (*AlitripMerchantGalaxyMemberProviderRegisterAPIRequest) SetTenantKey added in v1.2.0

SetTenantKey is TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyMemberProviderRegisterAPIResponse

type AlitripMerchantGalaxyMemberProviderRegisterAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberProviderRegisterAPIResponseModel
}

AlitripMerchantGalaxyMemberProviderRegisterAPIResponse 对外提供会员注册服务 API返回值 alitrip.merchant.galaxy.member.provider.register

星河产品=对外提供注册雅高会员服务

type AlitripMerchantGalaxyMemberProviderRegisterAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyMemberProviderRegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_member_provider_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyMemberProviderRegisterResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyMemberProviderRegisterAPIResponseModel is 对外提供会员注册服务 成功返回结果

type AlitripMerchantGalaxyMemberProviderRegisterResponse

type AlitripMerchantGalaxyMemberProviderRegisterResponse struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 是否注册成功
	Content bool `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyMemberProviderRegisterResponse 结构体

type AlitripMerchantGalaxyMemberQueryAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyMemberQueryAPIRequest 星河-获取登录用户的信息 API请求 alitrip.merchant.galaxy.member.query

获取登录用户的信息

func NewAlitripMerchantGalaxyMemberQueryRequest

func NewAlitripMerchantGalaxyMemberQueryRequest() *AlitripMerchantGalaxyMemberQueryAPIRequest

NewAlitripMerchantGalaxyMemberQueryRequest 初始化AlitripMerchantGalaxyMemberQueryAPIRequest对象

func (AlitripMerchantGalaxyMemberQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberQueryAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyMemberQueryAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyMemberQueryAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyMemberQueryAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyMemberQueryAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter toekn

type AlitripMerchantGalaxyMemberQueryAPIResponse

type AlitripMerchantGalaxyMemberQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberQueryAPIResponseModel
}

AlitripMerchantGalaxyMemberQueryAPIResponse 星河-获取登录用户的信息 API返回值 alitrip.merchant.galaxy.member.query

获取登录用户的信息

type AlitripMerchantGalaxyMemberQueryAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyMemberQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_member_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyMemberQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyMemberQueryAPIResponseModel is 星河-获取登录用户的信息 成功返回结果

type AlitripMerchantGalaxyMemberQueryResponse

type AlitripMerchantGalaxyMemberQueryResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 用户信息
	Content *MemberDto `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyMemberQueryResponse 结构体

type AlitripMerchantGalaxyMemberRegisterAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyMemberRegisterAPIRequest 星河-微信小程序会员注册 API请求 alitrip.merchant.galaxy.member.register

星河产品=微信小程序注册雅高会员服务

func NewAlitripMerchantGalaxyMemberRegisterRequest

func NewAlitripMerchantGalaxyMemberRegisterRequest() *AlitripMerchantGalaxyMemberRegisterAPIRequest

NewAlitripMerchantGalaxyMemberRegisterRequest 初始化AlitripMerchantGalaxyMemberRegisterAPIRequest对象

func (AlitripMerchantGalaxyMemberRegisterAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberRegisterAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberRegisterAPIRequest) GetMemberParam added in v1.2.0

GetMemberParam MemberParam Getter

func (AlitripMerchantGalaxyMemberRegisterAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyMemberRegisterAPIRequest) SetMemberParam added in v1.2.0

func (r *AlitripMerchantGalaxyMemberRegisterAPIRequest) SetMemberParam(_memberParam *MemberParam) error

SetMemberParam is MemberParam Setter 注册入参

func (*AlitripMerchantGalaxyMemberRegisterAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyMemberRegisterAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyMemberRegisterAPIResponse

type AlitripMerchantGalaxyMemberRegisterAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberRegisterAPIResponseModel
}

AlitripMerchantGalaxyMemberRegisterAPIResponse 星河-微信小程序会员注册 API返回值 alitrip.merchant.galaxy.member.register

星河产品=微信小程序注册雅高会员服务

type AlitripMerchantGalaxyMemberRegisterAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyMemberRegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_member_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyMemberRegisterResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyMemberRegisterAPIResponseModel is 星河-微信小程序会员注册 成功返回结果

type AlitripMerchantGalaxyMemberRegisterResponse

type AlitripMerchantGalaxyMemberRegisterResponse struct {
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 成功还是失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否注册成功
	RegisterResult bool `json:"register_result,omitempty" xml:"register_result,omitempty"`
}

AlitripMerchantGalaxyMemberRegisterResponse 结构体

type AlitripMerchantGalaxyMemberTokenAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyMemberTokenAPIRequest 星河-校验token API请求 alitrip.merchant.galaxy.member.token

校验或者刷新token

func NewAlitripMerchantGalaxyMemberTokenRequest

func NewAlitripMerchantGalaxyMemberTokenRequest() *AlitripMerchantGalaxyMemberTokenAPIRequest

NewAlitripMerchantGalaxyMemberTokenRequest 初始化AlitripMerchantGalaxyMemberTokenAPIRequest对象

func (AlitripMerchantGalaxyMemberTokenAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberTokenAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberTokenAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyMemberTokenAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyMemberTokenAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyMemberTokenAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyMemberTokenAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 访问携带toekn

type AlitripMerchantGalaxyMemberTokenAPIResponse

type AlitripMerchantGalaxyMemberTokenAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberTokenAPIResponseModel
}

AlitripMerchantGalaxyMemberTokenAPIResponse 星河-校验token API返回值 alitrip.merchant.galaxy.member.token

校验或者刷新token

type AlitripMerchantGalaxyMemberTokenAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyMemberTokenAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_member_token_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyMemberTokenResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyMemberTokenAPIResponseModel is 星河-校验token 成功返回结果

type AlitripMerchantGalaxyMemberTokenResponse

type AlitripMerchantGalaxyMemberTokenResponse struct {
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 成功还是失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyMemberTokenResponse 结构体

type AlitripMerchantGalaxyOfferQueryAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyOfferQueryAPIRequest 星河-offer查询 API请求 alitrip.merchant.galaxy.offer.query

根据offer的ID查询offer信息

func NewAlitripMerchantGalaxyOfferQueryRequest

func NewAlitripMerchantGalaxyOfferQueryRequest() *AlitripMerchantGalaxyOfferQueryAPIRequest

NewAlitripMerchantGalaxyOfferQueryRequest 初始化AlitripMerchantGalaxyOfferQueryAPIRequest对象

func (AlitripMerchantGalaxyOfferQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOfferQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOfferQueryAPIRequest) GetOfferChannel added in v1.2.0

GetOfferChannel OfferChannel Getter

func (AlitripMerchantGalaxyOfferQueryAPIRequest) GetOfferIds added in v1.2.0

GetOfferIds OfferIds Getter

func (AlitripMerchantGalaxyOfferQueryAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyOfferQueryAPIRequest) SetOfferChannel added in v1.2.0

func (r *AlitripMerchantGalaxyOfferQueryAPIRequest) SetOfferChannel(_offerChannel string) error

SetOfferChannel is OfferChannel Setter 渠道来源

func (*AlitripMerchantGalaxyOfferQueryAPIRequest) SetOfferIds added in v1.2.0

func (r *AlitripMerchantGalaxyOfferQueryAPIRequest) SetOfferIds(_offerIds string) error

SetOfferIds is OfferIds Setter offer活动ID

func (*AlitripMerchantGalaxyOfferQueryAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyOfferQueryAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyOfferQueryAPIResponse

type AlitripMerchantGalaxyOfferQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOfferQueryAPIResponseModel
}

AlitripMerchantGalaxyOfferQueryAPIResponse 星河-offer查询 API返回值 alitrip.merchant.galaxy.offer.query

根据offer的ID查询offer信息

type AlitripMerchantGalaxyOfferQueryAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyOfferQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_offer_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyOfferQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyOfferQueryAPIResponseModel is 星河-offer查询 成功返回结果

type AlitripMerchantGalaxyOfferQueryResponse

type AlitripMerchantGalaxyOfferQueryResponse struct {
	// offer列表
	Offers []OfferDetailsDto `json:"offers,omitempty" xml:"offers>offer_details_dto,omitempty"`
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 成功还是失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyOfferQueryResponse 结构体

type AlitripMerchantGalaxyOrderBookAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyOrderBookAPIRequest 星河-订单预订接口 API请求 alitrip.merchant.galaxy.order.book

为星河酒店解决方案的C端用户提供酒店预订能力

func NewAlitripMerchantGalaxyOrderBookRequest

func NewAlitripMerchantGalaxyOrderBookRequest() *AlitripMerchantGalaxyOrderBookAPIRequest

NewAlitripMerchantGalaxyOrderBookRequest 初始化AlitripMerchantGalaxyOrderBookAPIRequest对象

func (AlitripMerchantGalaxyOrderBookAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripMerchantGalaxyOrderBookAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderBookAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderBookAPIRequest) GetOrderCode added in v1.2.0

GetOrderCode OrderCode Getter

func (AlitripMerchantGalaxyOrderBookAPIRequest) GetOrderParam added in v1.2.0

GetOrderParam OrderParam Getter

func (AlitripMerchantGalaxyOrderBookAPIRequest) GetSourceQuery added in v1.2.0

GetSourceQuery SourceQuery Getter

func (AlitripMerchantGalaxyOrderBookAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyOrderBookAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyOrderBookAPIRequest) SetOrderCode added in v1.2.0

func (r *AlitripMerchantGalaxyOrderBookAPIRequest) SetOrderCode(_orderCode string) error

SetOrderCode is OrderCode Setter 订单编号

func (*AlitripMerchantGalaxyOrderBookAPIRequest) SetOrderParam added in v1.2.0

func (r *AlitripMerchantGalaxyOrderBookAPIRequest) SetOrderParam(_orderParam *CreateOrderParam) error

SetOrderParam is OrderParam Setter 预订参数

func (*AlitripMerchantGalaxyOrderBookAPIRequest) SetSourceQuery added in v1.2.0

func (r *AlitripMerchantGalaxyOrderBookAPIRequest) SetSourceQuery(_sourceQuery string) error

SetSourceQuery is SourceQuery Setter 广告追踪信息

func (*AlitripMerchantGalaxyOrderBookAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyOrderBookAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyOrderBookAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户登录token

type AlitripMerchantGalaxyOrderBookAPIResponse

type AlitripMerchantGalaxyOrderBookAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderBookAPIResponseModel
}

AlitripMerchantGalaxyOrderBookAPIResponse 星河-订单预订接口 API返回值 alitrip.merchant.galaxy.order.book

为星河酒店解决方案的C端用户提供酒店预订能力

type AlitripMerchantGalaxyOrderBookAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyOrderBookAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_order_book_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyOrderBookResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyOrderBookAPIResponseModel is 星河-订单预订接口 成功返回结果

type AlitripMerchantGalaxyOrderBookResponse

type AlitripMerchantGalaxyOrderBookResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 预订返回
	Content *PayParamResult `json:"content,omitempty" xml:"content,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyOrderBookResponse 结构体

type AlitripMerchantGalaxyOrderCancelAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyOrderCancelAPIRequest 星河-取消预订 API请求 alitrip.merchant.galaxy.order.cancel

雅高酒店用户使用该接口,取消酒店预订

func NewAlitripMerchantGalaxyOrderCancelRequest

func NewAlitripMerchantGalaxyOrderCancelRequest() *AlitripMerchantGalaxyOrderCancelAPIRequest

NewAlitripMerchantGalaxyOrderCancelRequest 初始化AlitripMerchantGalaxyOrderCancelAPIRequest对象

func (AlitripMerchantGalaxyOrderCancelAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderCancelAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderCancelAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlitripMerchantGalaxyOrderCancelAPIRequest) GetReason added in v1.2.0

GetReason Reason Getter

func (AlitripMerchantGalaxyOrderCancelAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyOrderCancelAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyOrderCancelAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 订单编号

func (*AlitripMerchantGalaxyOrderCancelAPIRequest) SetReason added in v1.2.0

SetReason is Reason Setter 退款原因

func (*AlitripMerchantGalaxyOrderCancelAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyOrderCancelAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户标识

func (*AlitripMerchantGalaxyOrderCancelAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户登录标识

type AlitripMerchantGalaxyOrderCancelAPIResponse

type AlitripMerchantGalaxyOrderCancelAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderCancelAPIResponseModel
}

AlitripMerchantGalaxyOrderCancelAPIResponse 星河-取消预订 API返回值 alitrip.merchant.galaxy.order.cancel

雅高酒店用户使用该接口,取消酒店预订

type AlitripMerchantGalaxyOrderCancelAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyOrderCancelAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_order_cancel_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyOrderCancelResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyOrderCancelAPIResponseModel is 星河-取消预订 成功返回结果

type AlitripMerchantGalaxyOrderCancelResponse

type AlitripMerchantGalaxyOrderCancelResponse struct {
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 结果描述
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 结果成功判断
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyOrderCancelResponse 结构体

type AlitripMerchantGalaxyOrderListQueryAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyOrderListQueryAPIRequest 星河-订单列表查询 API请求 alitrip.merchant.galaxy.order.list.query

为C端用户提供酒店预订订单列表查询服务,包括订单支付状态、订单日期

func NewAlitripMerchantGalaxyOrderListQueryRequest

func NewAlitripMerchantGalaxyOrderListQueryRequest() *AlitripMerchantGalaxyOrderListQueryAPIRequest

NewAlitripMerchantGalaxyOrderListQueryRequest 初始化AlitripMerchantGalaxyOrderListQueryAPIRequest对象

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetEndTime added in v1.2.0

GetEndTime EndTime Getter

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetOrderStatus added in v1.2.0

GetOrderStatus OrderStatus Getter

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetPage added in v1.2.0

GetPage Page Getter

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetRow added in v1.2.0

GetRow Row Getter

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetStartTime added in v1.2.0

GetStartTime StartTime Getter

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyOrderListQueryAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyOrderListQueryAPIRequest) SetEndTime added in v1.2.0

SetEndTime is EndTime Setter 入住时间

func (*AlitripMerchantGalaxyOrderListQueryAPIRequest) SetOrderStatus added in v1.2.0

func (r *AlitripMerchantGalaxyOrderListQueryAPIRequest) SetOrderStatus(_orderStatus string) error

SetOrderStatus is OrderStatus Setter 订单状态

func (*AlitripMerchantGalaxyOrderListQueryAPIRequest) SetPage added in v1.2.0

SetPage is Page Setter 页数

func (*AlitripMerchantGalaxyOrderListQueryAPIRequest) SetRow added in v1.2.0

SetRow is Row Setter 每页行数

func (*AlitripMerchantGalaxyOrderListQueryAPIRequest) SetStartTime added in v1.2.0

func (r *AlitripMerchantGalaxyOrderListQueryAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 入住时间

func (*AlitripMerchantGalaxyOrderListQueryAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyOrderListQueryAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户标识

func (*AlitripMerchantGalaxyOrderListQueryAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户token

type AlitripMerchantGalaxyOrderListQueryAPIResponse

type AlitripMerchantGalaxyOrderListQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderListQueryAPIResponseModel
}

AlitripMerchantGalaxyOrderListQueryAPIResponse 星河-订单列表查询 API返回值 alitrip.merchant.galaxy.order.list.query

为C端用户提供酒店预订订单列表查询服务,包括订单支付状态、订单日期

type AlitripMerchantGalaxyOrderListQueryAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyOrderListQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_order_list_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyOrderListQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyOrderListQueryAPIResponseModel is 星河-订单列表查询 成功返回结果

type AlitripMerchantGalaxyOrderListQueryResponse

type AlitripMerchantGalaxyOrderListQueryResponse struct {
	// 查询结果
	OrderDtos []OrderDto `json:"order_dtos,omitempty" xml:"order_dtos>order_dto,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 每页的数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页的数量
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 当前页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 总页数
	TotalPageNum int64 `json:"total_page_num,omitempty" xml:"total_page_num,omitempty"`
	// 结果总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否有下一页
	HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
}

AlitripMerchantGalaxyOrderListQueryResponse 结构体

type AlitripMerchantGalaxyOrderQueryAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyOrderQueryAPIRequest 星河-单个订单详细信息查询 API请求 alitrip.merchant.galaxy.order.query

为用户提供酒店订单的详细信息查询能力

func NewAlitripMerchantGalaxyOrderQueryRequest

func NewAlitripMerchantGalaxyOrderQueryRequest() *AlitripMerchantGalaxyOrderQueryAPIRequest

NewAlitripMerchantGalaxyOrderQueryRequest 初始化AlitripMerchantGalaxyOrderQueryAPIRequest对象

func (AlitripMerchantGalaxyOrderQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderQueryAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlitripMerchantGalaxyOrderQueryAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyOrderQueryAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyOrderQueryAPIRequest) SetOrderId added in v1.2.0

func (r *AlitripMerchantGalaxyOrderQueryAPIRequest) SetOrderId(_orderId string) error

SetOrderId is OrderId Setter 订单号

func (*AlitripMerchantGalaxyOrderQueryAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyOrderQueryAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户标识

func (*AlitripMerchantGalaxyOrderQueryAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户登录标识

type AlitripMerchantGalaxyOrderQueryAPIResponse

type AlitripMerchantGalaxyOrderQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderQueryAPIResponseModel
}

AlitripMerchantGalaxyOrderQueryAPIResponse 星河-单个订单详细信息查询 API返回值 alitrip.merchant.galaxy.order.query

为用户提供酒店订单的详细信息查询能力

type AlitripMerchantGalaxyOrderQueryAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyOrderQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyOrderQueryAPIResponseModel is 星河-单个订单详细信息查询 成功返回结果

type AlitripMerchantGalaxyOrderQueryResponse

type AlitripMerchantGalaxyOrderQueryResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 订单详情
	Content *OrderDetailDto `json:"content,omitempty" xml:"content,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyOrderQueryResponse 结构体

type AlitripMerchantGalaxyOrderValidateAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyOrderValidateAPIRequest 星河-订单试单接口 API请求 alitrip.merchant.galaxy.order.validate

根据用户选择酒店房型、入住人数、预订时间参数,获取是否可预订及价格变化信息

func NewAlitripMerchantGalaxyOrderValidateRequest

func NewAlitripMerchantGalaxyOrderValidateRequest() *AlitripMerchantGalaxyOrderValidateAPIRequest

NewAlitripMerchantGalaxyOrderValidateRequest 初始化AlitripMerchantGalaxyOrderValidateAPIRequest对象

func (AlitripMerchantGalaxyOrderValidateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderValidateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderValidateAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyOrderValidateAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (AlitripMerchantGalaxyOrderValidateAPIRequest) GetValidateOrderParam added in v1.2.0

GetValidateOrderParam ValidateOrderParam Getter

func (*AlitripMerchantGalaxyOrderValidateAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyOrderValidateAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyOrderValidateAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户标识

func (*AlitripMerchantGalaxyOrderValidateAPIRequest) SetValidateOrderParam added in v1.2.0

func (r *AlitripMerchantGalaxyOrderValidateAPIRequest) SetValidateOrderParam(_validateOrderParam *ValidateOrderParam) error

SetValidateOrderParam is ValidateOrderParam Setter 试单参数

type AlitripMerchantGalaxyOrderValidateAPIResponse

type AlitripMerchantGalaxyOrderValidateAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderValidateAPIResponseModel
}

AlitripMerchantGalaxyOrderValidateAPIResponse 星河-订单试单接口 API返回值 alitrip.merchant.galaxy.order.validate

根据用户选择酒店房型、入住人数、预订时间参数,获取是否可预订及价格变化信息

type AlitripMerchantGalaxyOrderValidateAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyOrderValidateAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_order_validate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyOrderValidateResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyOrderValidateAPIResponseModel is 星河-订单试单接口 成功返回结果

type AlitripMerchantGalaxyOrderValidateResponse

type AlitripMerchantGalaxyOrderValidateResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 试单结果
	Content *ValidateOrderVo `json:"content,omitempty" xml:"content,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyOrderValidateResponse 结构体

type AlitripMerchantGalaxyPaymentParamQueryAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyPaymentParamQueryAPIRequest 星河-支付参数查询接口 API请求 alitrip.merchant.galaxy.payment.param.query

获取微信小程序的支付参数,供微信小程序调起支付请求。参数都为校验字段,不涉及用户隐私数据

func NewAlitripMerchantGalaxyPaymentParamQueryRequest

func NewAlitripMerchantGalaxyPaymentParamQueryRequest() *AlitripMerchantGalaxyPaymentParamQueryAPIRequest

NewAlitripMerchantGalaxyPaymentParamQueryRequest 初始化AlitripMerchantGalaxyPaymentParamQueryAPIRequest对象

func (AlitripMerchantGalaxyPaymentParamQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyPaymentParamQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyPaymentParamQueryAPIRequest) GetOrderId added in v1.2.0

GetOrderId OrderId Getter

func (AlitripMerchantGalaxyPaymentParamQueryAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (AlitripMerchantGalaxyPaymentParamQueryAPIRequest) GetToken added in v1.2.0

GetToken Token Getter

func (*AlitripMerchantGalaxyPaymentParamQueryAPIRequest) SetOrderId added in v1.2.0

SetOrderId is OrderId Setter 订单编号

func (*AlitripMerchantGalaxyPaymentParamQueryAPIRequest) SetTenantKey added in v1.2.0

SetTenantKey is TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyPaymentParamQueryAPIRequest) SetToken added in v1.2.0

SetToken is Token Setter 用户校验token

type AlitripMerchantGalaxyPaymentParamQueryAPIResponse

type AlitripMerchantGalaxyPaymentParamQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyPaymentParamQueryAPIResponseModel
}

AlitripMerchantGalaxyPaymentParamQueryAPIResponse 星河-支付参数查询接口 API返回值 alitrip.merchant.galaxy.payment.param.query

获取微信小程序的支付参数,供微信小程序调起支付请求。参数都为校验字段,不涉及用户隐私数据

type AlitripMerchantGalaxyPaymentParamQueryAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyPaymentParamQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_payment_param_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyPaymentParamQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyPaymentParamQueryAPIResponseModel is 星河-支付参数查询接口 成功返回结果

type AlitripMerchantGalaxyPaymentParamQueryResponse

type AlitripMerchantGalaxyPaymentParamQueryResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 支付参数
	Content *OrderPayDto `json:"content,omitempty" xml:"content,omitempty"`
	// 成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyPaymentParamQueryResponse 结构体

type AlitripMerchantGalaxyProviderMemberQueryAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyProviderMemberQueryAPIRequest 提供会员查询接口 API请求 alitrip.merchant.galaxy.provider.member.query

星河产品=提供会查询服务

func NewAlitripMerchantGalaxyProviderMemberQueryRequest

func NewAlitripMerchantGalaxyProviderMemberQueryRequest() *AlitripMerchantGalaxyProviderMemberQueryAPIRequest

NewAlitripMerchantGalaxyProviderMemberQueryRequest 初始化AlitripMerchantGalaxyProviderMemberQueryAPIRequest对象

func (AlitripMerchantGalaxyProviderMemberQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyProviderMemberQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyProviderMemberQueryAPIRequest) GetQueryMemberParam added in v1.2.0

GetQueryMemberParam QueryMemberParam Getter

func (AlitripMerchantGalaxyProviderMemberQueryAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyProviderMemberQueryAPIRequest) SetQueryMemberParam added in v1.2.0

func (r *AlitripMerchantGalaxyProviderMemberQueryAPIRequest) SetQueryMemberParam(_queryMemberParam *QueryMemberParam) error

SetQueryMemberParam is QueryMemberParam Setter 查询参数

func (*AlitripMerchantGalaxyProviderMemberQueryAPIRequest) SetTenantKey added in v1.2.0

SetTenantKey is TenantKey Setter 租户id

type AlitripMerchantGalaxyProviderMemberQueryAPIResponse

type AlitripMerchantGalaxyProviderMemberQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyProviderMemberQueryAPIResponseModel
}

AlitripMerchantGalaxyProviderMemberQueryAPIResponse 提供会员查询接口 API返回值 alitrip.merchant.galaxy.provider.member.query

星河产品=提供会查询服务

type AlitripMerchantGalaxyProviderMemberQueryAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyProviderMemberQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_provider_member_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyProviderMemberQueryResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyProviderMemberQueryAPIResponseModel is 提供会员查询接口 成功返回结果

type AlitripMerchantGalaxyProviderMemberQueryResponse

type AlitripMerchantGalaxyProviderMemberQueryResponse struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回结果
	ProviderMemberVo *ProviderMemberVo `json:"provider_member_vo,omitempty" xml:"provider_member_vo,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyProviderMemberQueryResponse 结构体

type AlitripMerchantGalaxyShareGetAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyShareGetAPIRequest 星河-获取小程序分享文案和图片 API请求 alitrip.merchant.galaxy.share.get

获取 雅高微信小程序分享素材文案和图片。

func NewAlitripMerchantGalaxyShareGetRequest

func NewAlitripMerchantGalaxyShareGetRequest() *AlitripMerchantGalaxyShareGetAPIRequest

NewAlitripMerchantGalaxyShareGetRequest 初始化AlitripMerchantGalaxyShareGetAPIRequest对象

func (AlitripMerchantGalaxyShareGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlitripMerchantGalaxyShareGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyShareGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyShareGetAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyShareGetAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyShareGetAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户ID

type AlitripMerchantGalaxyShareGetAPIResponse

type AlitripMerchantGalaxyShareGetAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyShareGetAPIResponseModel
}

AlitripMerchantGalaxyShareGetAPIResponse 星河-获取小程序分享文案和图片 API返回值 alitrip.merchant.galaxy.share.get

获取 雅高微信小程序分享素材文案和图片。

type AlitripMerchantGalaxyShareGetAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyShareGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_share_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyShareGetResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyShareGetAPIResponseModel is 星河-获取小程序分享文案和图片 成功返回结果

type AlitripMerchantGalaxyShareGetResponse

type AlitripMerchantGalaxyShareGetResponse struct {
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回分享素材
	Content *ShareMaterialVo `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyShareGetResponse 结构体

type AlitripMerchantGalaxyWechatInfoAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyWechatInfoAPIRequest 星河-获取微信用户的信息 API请求 alitrip.merchant.galaxy.wechat.info

获取微信用户的openId和unionId

func NewAlitripMerchantGalaxyWechatInfoRequest

func NewAlitripMerchantGalaxyWechatInfoRequest() *AlitripMerchantGalaxyWechatInfoAPIRequest

NewAlitripMerchantGalaxyWechatInfoRequest 初始化AlitripMerchantGalaxyWechatInfoAPIRequest对象

func (AlitripMerchantGalaxyWechatInfoAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyWechatInfoAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyWechatInfoAPIRequest) GetCode added in v1.2.0

GetCode Code Getter

func (AlitripMerchantGalaxyWechatInfoAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyWechatInfoAPIRequest) SetCode added in v1.2.0

SetCode is Code Setter 微信小程序获取的code

func (*AlitripMerchantGalaxyWechatInfoAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyWechatInfoAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户的id

type AlitripMerchantGalaxyWechatInfoAPIResponse

type AlitripMerchantGalaxyWechatInfoAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyWechatInfoAPIResponseModel
}

AlitripMerchantGalaxyWechatInfoAPIResponse 星河-获取微信用户的信息 API返回值 alitrip.merchant.galaxy.wechat.info

获取微信用户的openId和unionId

type AlitripMerchantGalaxyWechatInfoAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyWechatInfoAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_wechat_info_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyWechatInfoResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyWechatInfoAPIResponseModel is 星河-获取微信用户的信息 成功返回结果

type AlitripMerchantGalaxyWechatInfoResponse

type AlitripMerchantGalaxyWechatInfoResponse struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回的微信用户信息
	Content *WechatCodeResponse `json:"content,omitempty" xml:"content,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyWechatInfoResponse 结构体

type AlitripMerchantGalaxyWechatLoginAPIRequest added in v1.2.0

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

AlitripMerchantGalaxyWechatLoginAPIRequest 星河-用户使用微信登陆 API请求 alitrip.merchant.galaxy.wechat.login

星河产品=用户微信小程序登陆

func NewAlitripMerchantGalaxyWechatLoginRequest

func NewAlitripMerchantGalaxyWechatLoginRequest() *AlitripMerchantGalaxyWechatLoginAPIRequest

NewAlitripMerchantGalaxyWechatLoginRequest 初始化AlitripMerchantGalaxyWechatLoginAPIRequest对象

func (AlitripMerchantGalaxyWechatLoginAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyWechatLoginAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyWechatLoginAPIRequest) GetLoginParam added in v1.2.0

GetLoginParam LoginParam Getter

func (AlitripMerchantGalaxyWechatLoginAPIRequest) GetTenantKey added in v1.2.0

GetTenantKey TenantKey Getter

func (*AlitripMerchantGalaxyWechatLoginAPIRequest) SetLoginParam added in v1.2.0

func (r *AlitripMerchantGalaxyWechatLoginAPIRequest) SetLoginParam(_loginParam *LoginParam) error

SetLoginParam is LoginParam Setter 微信小程序登陆请求参数

func (*AlitripMerchantGalaxyWechatLoginAPIRequest) SetTenantKey added in v1.2.0

func (r *AlitripMerchantGalaxyWechatLoginAPIRequest) SetTenantKey(_tenantKey string) error

SetTenantKey is TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyWechatLoginAPIResponse

type AlitripMerchantGalaxyWechatLoginAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyWechatLoginAPIResponseModel
}

AlitripMerchantGalaxyWechatLoginAPIResponse 星河-用户使用微信登陆 API返回值 alitrip.merchant.galaxy.wechat.login

星河产品=用户微信小程序登陆

type AlitripMerchantGalaxyWechatLoginAPIResponseModel added in v1.2.0

type AlitripMerchantGalaxyWechatLoginAPIResponseModel struct {
	XMLName xml.Name `xml:"alitrip_merchant_galaxy_wechat_login_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 默认描述
	Result *AlitripMerchantGalaxyWechatLoginResponse `json:"result,omitempty" xml:"result,omitempty"`
}

AlitripMerchantGalaxyWechatLoginAPIResponseModel is 星河-用户使用微信登陆 成功返回结果

type AlitripMerchantGalaxyWechatLoginResponse

type AlitripMerchantGalaxyWechatLoginResponse struct {
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlitripMerchantGalaxyWechatLoginResponse 结构体

type BrandListDto

type BrandListDto struct {
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 品牌类型
	Species string `json:"species,omitempty" xml:"species,omitempty"`
	Logo string `json:"logo,omitempty" xml:"logo,omitempty"`
	// 品牌编码
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 子品牌编码
	SubType int64 `json:"sub_type,omitempty" xml:"sub_type,omitempty"`
}

BrandListDto 结构体

type CardBaseInfoDto

type CardBaseInfoDto struct {
	// 会员等级
	CardTier string `json:"card_tier,omitempty" xml:"card_tier,omitempty"`
	// 会员卡号
	CardNumber string `json:"card_number,omitempty" xml:"card_number,omitempty"`
	// 会员卡类型
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
}

CardBaseInfoDto 结构体

type Content

type Content struct {
	// 高档型
	Upscales []BrandListDto `json:"upscales,omitempty" xml:"upscales>brand_list_dto,omitempty"`
	// 豪华型
	Luxurys []BrandListDto `json:"luxurys,omitempty" xml:"luxurys>brand_list_dto,omitempty"`
	// 舒适型
	CmForTables []BrandListDto `json:"cm_for_tables,omitempty" xml:"cm_for_tables>brand_list_dto,omitempty"`
	// 经济型
	Economics []BrandListDto `json:"economics,omitempty" xml:"economics>brand_list_dto,omitempty"`
}

Content 结构体

type CreateOrderParam

type CreateOrderParam struct {
	// 多房间参数
	GuestByRoomDtos []GuestByRoomDto `json:"guest_by_room_dtos,omitempty" xml:"guest_by_room_dtos>guest_by_room_dto,omitempty"`
	// 早餐名称
	BreakfastName string `json:"breakfast_name,omitempty" xml:"breakfast_name,omitempty"`
	// 会员可见等级
	MemberLevel string `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 外部酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 入住时间
	CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,omitempty"`
	// 支付渠道
	PaymentChannel string `json:"payment_channel,omitempty" xml:"payment_channel,omitempty"`
	// 入住人电话
	CustomerPhone string `json:"customer_phone,omitempty" xml:"customer_phone,omitempty"`
	// 离店时间
	CheckOutDate string `json:"check_out_date,omitempty" xml:"check_out_date,omitempty"`
	// 入住人名
	CustomerFirstName string `json:"customer_first_name,omitempty" xml:"customer_first_name,omitempty"`
	// 入住人邮箱
	CustomerEmail string `json:"customer_email,omitempty" xml:"customer_email,omitempty"`
	// 入住人姓
	CustomerLastName string `json:"customer_last_name,omitempty" xml:"customer_last_name,omitempty"`
	// 价格名称
	RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"`
	// 活动标识字段
	OfferSourceChannel string `json:"offer_source_channel,omitempty" xml:"offer_source_channel,omitempty"`
	// 外部outRoomId
	OutRoomId int64 `json:"out_room_id,omitempty" xml:"out_room_id,omitempty"`
	// 宝贝ID
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// 预订酒店房间数
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 标准静态信息库酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 儿童数量
	ChildrenNumber int64 `json:"children_number,omitempty" xml:"children_number,omitempty"`
	// 内部rpId
	RpId int64 `json:"rp_id,omitempty" xml:"rp_id,omitempty"`
	// 成人数量
	PersonNumber int64 `json:"person_number,omitempty" xml:"person_number,omitempty"`
	// 成人数量
	AdultNumber int64 `json:"adult_number,omitempty" xml:"adult_number,omitempty"`
	// 房间Id
	RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"`
	// 价格id
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 支付类型
	PaymentType int64 `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
}

CreateOrderParam 结构体

type DailyPrice

type DailyPrice struct {
	// 价格
	ReallyPrice string `json:"really_price,omitempty" xml:"really_price,omitempty"`
	// 日期
	Date string `json:"date,omitempty" xml:"date,omitempty"`
}

DailyPrice 结构体

type FacilityDto

type FacilityDto struct {
	// 设施图片
	Icon string `json:"icon,omitempty" xml:"icon,omitempty"`
	// 设施名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 设施id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

FacilityDto 结构体

type GuestByRoomDto

type GuestByRoomDto struct {
	// 儿童年龄数组
	ChildAges []int64 `json:"child_ages,omitempty" xml:"child_ages>int64,omitempty"`
	// 入住人名
	ContactFirstName string `json:"contact_first_name,omitempty" xml:"contact_first_name,omitempty"`
	// 入住人姓
	ContactLastName string `json:"contact_last_name,omitempty" xml:"contact_last_name,omitempty"`
	// 当前房间的总人数
	RoomerNumber int64 `json:"roomer_number,omitempty" xml:"roomer_number,omitempty"`
	// 成人数
	AdultRoomerNumber int64 `json:"adult_roomer_number,omitempty" xml:"adult_roomer_number,omitempty"`
	// 儿童数
	ChildRoomerNumber int64 `json:"child_roomer_number,omitempty" xml:"child_roomer_number,omitempty"`
}

GuestByRoomDto 结构体

type HotelContentDto

type HotelContentDto struct {
	// 酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 酒店信息
	HotelIntro string `json:"hotel_intro,omitempty" xml:"hotel_intro,omitempty"`
	// 酒店电话
	HotelPhone string `json:"hotel_phone,omitempty" xml:"hotel_phone,omitempty"`
	// 图片
	PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 城市名称
	CityCn string `json:"city_cn,omitempty" xml:"city_cn,omitempty"`
	// 城市名称首字母
	CityPyHead string `json:"city_py_head,omitempty" xml:"city_py_head,omitempty"`
	// 地图
	PositionType *model.File `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 标准id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 城市code
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
}

HotelContentDto 结构体

type HotelDetailInfoDto

type HotelDetailInfoDto struct {
	// 娱乐设施图片
	FunFacilitys []string `json:"fun_facilitys,omitempty" xml:"fun_facilitys>string,omitempty"`
	// 酒店设施
	HotelFacilitys []string `json:"hotel_facilitys,omitempty" xml:"hotel_facilitys>string,omitempty"`
	// 酒店服务
	HotelServices []string `json:"hotel_services,omitempty" xml:"hotel_services>string,omitempty"`
	// 酒店图片信息
	HotelPictures []HotelPictureDto `json:"hotel_pictures,omitempty" xml:"hotel_pictures>hotel_picture_dto,omitempty"`
	// 房型详情
	RoomDetails []RoomDetailDto `json:"room_details,omitempty" xml:"room_details>room_detail_dto,omitempty"`
	// 酒店政策
	HotelPolicys []string `json:"hotel_policys,omitempty" xml:"hotel_policys>string,omitempty"`
	// 开业时间
	OpeningTime string `json:"opening_time,omitempty" xml:"opening_time,omitempty"`
	// 邮编
	PostalCode string `json:"postal_code,omitempty" xml:"postal_code,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 酒店描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 楼层信息
	Floors string `json:"floors,omitempty" xml:"floors,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 市
	CityCn string `json:"city_cn,omitempty" xml:"city_cn,omitempty"`
	// 传真
	Fax string `json:"fax,omitempty" xml:"fax,omitempty"`
	// 品牌编码
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 房型设施
	Facilitys string `json:"facilitys,omitempty" xml:"facilitys,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 星级
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 装修时间
	DecorateTime string `json:"decorate_time,omitempty" xml:"decorate_time,omitempty"`
	// 酒店中文名称
	NameCn string `json:"name_cn,omitempty" xml:"name_cn,omitempty"`
	// 外部酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 最早入住时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 酒店电话
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 地区
	District string `json:"district,omitempty" xml:"district,omitempty"`
	// 最晚离店时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 国家中文名
	CountryCn string `json:"country_cn,omitempty" xml:"country_cn,omitempty"`
	// 评分
	RatingAverage string `json:"rating_average,omitempty" xml:"rating_average,omitempty"`
	// 国家英文名
	CountryEn string `json:"country_en,omitempty" xml:"country_en,omitempty"`
	// 房间数
	Rooms int64 `json:"rooms,omitempty" xml:"rooms,omitempty"`
	// 旗舰店与标准酒店的绑定ID
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 地区code
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 经纬度类型
	PositionType *model.File `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 城市code
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 国别
	Domestic *model.File `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 国家
	CountryCode int64 `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 省份code
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 0-营业中;-1,筹建中;-2,暂停营业;-3,已停业;-4,失效,-5 ,需电话咨询;默认为0
	Status *model.File `json:"status,omitempty" xml:"status,omitempty"`
}

HotelDetailInfoDto 结构体

type HotelDetailsParam

type HotelDetailsParam struct {
	// 离店时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 入店时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 外部酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 会员等级
	MemberLevel string `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 儿童年龄数组
	ChildrenAges string `json:"children_ages,omitempty" xml:"children_ages,omitempty"`
	// 快筛选项
	RoomType string `json:"room_type,omitempty" xml:"room_type,omitempty"`
	// 用户登录信息
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 成人数量
	AdultNum int64 `json:"adult_num,omitempty" xml:"adult_num,omitempty"`
	// 连住几晚
	FewNights int64 `json:"few_nights,omitempty" xml:"few_nights,omitempty"`
}

HotelDetailsParam 结构体

type HotelDinamicLabelDto

type HotelDinamicLabelDto struct {
	// 权益名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 权益类型
	Type string `json:"type,omitempty" xml:"type,omitempty"`
}

HotelDinamicLabelDto 结构体

type HotelListSearchDto

type HotelListSearchDto struct {
	// 酒店设施
	HotelFacilityList []string `json:"hotel_facility_list,omitempty" xml:"hotel_facility_list>string,omitempty"`
	// 娱乐设施
	FunFacilityList []string `json:"fun_facility_list,omitempty" xml:"fun_facility_list>string,omitempty"`
	// 酒店服务
	HotelServiceList []string `json:"hotel_service_list,omitempty" xml:"hotel_service_list>string,omitempty"`
	// 设施icon
	FacilityList []FacilityDto `json:"facility_list,omitempty" xml:"facility_list>facility_dto,omitempty"`
	// 品牌名字
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 地址详情
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 酒店星级
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 图片头图
	PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"`
	// 酒店中文名
	NameCn string `json:"name_cn,omitempty" xml:"name_cn,omitempty"`
	// 酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 国内外 0国内 1国外
	Domestic string `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 品牌头图
	BrandUrl string `json:"brand_url,omitempty" xml:"brand_url,omitempty"`
	// 城市中文名
	CityCn string `json:"city_cn,omitempty" xml:"city_cn,omitempty"`
	// 国家中文名
	CountryCn string `json:"country_cn,omitempty" xml:"country_cn,omitempty"`
	// 最低价格房型名
	RoomNameCn string `json:"room_name_cn,omitempty" xml:"room_name_cn,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 品牌code
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 经纬度类型 0-高德 1-google
	PositionType int64 `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 标准库id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 酒店商品的最低价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 酒店id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 是否热门
	Hot int64 `json:"hot,omitempty" xml:"hot,omitempty"`
	// 是否满房 0未满房1满房
	Full bool `json:"full,omitempty" xml:"full,omitempty"`
}

HotelListSearchDto 结构体

type HotelPictureDto

type HotelPictureDto struct {
	// 图片集合
	PictureAddress []string `json:"picture_address,omitempty" xml:"picture_address>string,omitempty"`
	// 类型名称
	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`
	// 类型编码
	TypeCode string `json:"type_code,omitempty" xml:"type_code,omitempty"`
}

HotelPictureDto 结构体

type JoinBrandDto

type JoinBrandDto struct {
	BrandLogo string `json:"brand_logo,omitempty" xml:"brand_logo,omitempty"`
	// 品牌跳转url
	LogoRedirectUrl string `json:"logo_redirect_url,omitempty" xml:"logo_redirect_url,omitempty"`
}

JoinBrandDto 结构体

type ListSearchParam

type ListSearchParam struct {
	// 星级筛选
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 城市编码,默认上海
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 会员等级
	MemberLevel string `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 儿童年龄
	ChildrenAges string `json:"children_ages,omitempty" xml:"children_ages,omitempty"`
	// 入店时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 离店时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 品牌编码
	Brand string `json:"brand,omitempty" xml:"brand,omitempty"`
	// 用户登录信息
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 最高价格
	PriceMax int64 `json:"price_max,omitempty" xml:"price_max,omitempty"`
	// 成人数
	AdultNum int64 `json:"adult_num,omitempty" xml:"adult_num,omitempty"`
	// 儿童数
	ChildNum int64 `json:"child_num,omitempty" xml:"child_num,omitempty"`
	// 偏移量
	Offset int64 `json:"offset,omitempty" xml:"offset,omitempty"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 升降序 0降序 1升序
	Dir int64 `json:"dir,omitempty" xml:"dir,omitempty"`
	// 最低价格
	PriceMin int64 `json:"price_min,omitempty" xml:"price_min,omitempty"`
	// 当前页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
}

ListSearchParam 结构体

type LoginParam

type LoginParam struct {
	// 用户信息初始化向量
	InfoIv string `json:"info_iv,omitempty" xml:"info_iv,omitempty"`
	// 微信认证code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 加密的手机信息
	EncryptedPhone string `json:"encrypted_phone,omitempty" xml:"encrypted_phone,omitempty"`
	// 验签数据完整签名
	Signature string `json:"signature,omitempty" xml:"signature,omitempty"`
	// 用户ip
	Ip string `json:"ip,omitempty" xml:"ip,omitempty"`
	// 用户信息的加密数据
	EncryptedInfo string `json:"encrypted_info,omitempty" xml:"encrypted_info,omitempty"`
	// 解密用户手机号的初始化向量
	PhoneIv string `json:"phone_iv,omitempty" xml:"phone_iv,omitempty"`
	// 用户的基本信息
	RawData string `json:"raw_data,omitempty" xml:"raw_data,omitempty"`
	// 用户注册来源
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
	// 新版本用户信息
	NewUserinfo *NewUserInfo `json:"new_userinfo,omitempty" xml:"new_userinfo,omitempty"`
	// 是否是老版本
	OldVersion bool `json:"old_version,omitempty" xml:"old_version,omitempty"`
}

LoginParam 结构体

type MemberBaseInfoDto

type MemberBaseInfoDto struct {
	// 用户英文姓
	FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"`
	// 用户英文名
	LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"`
	// 称呼
	Civility string `json:"civility,omitempty" xml:"civility,omitempty"`
	// 语言
	Language string `json:"language,omitempty" xml:"language,omitempty"`
}

MemberBaseInfoDto 结构体

type MemberCardDto

type MemberCardDto struct {
	// 会员权益
	MemberRights []MemberRights `json:"member_rights,omitempty" xml:"member_rights>member_rights,omitempty"`
	// 飞猪等级
	FliggyLevel string `json:"fliggy_level,omitempty" xml:"fliggy_level,omitempty"`
	// 会员卡图片地址
	MemberCardPic string `json:"member_card_pic,omitempty" xml:"member_card_pic,omitempty"`
	// 酒店等级
	HotelLevel string `json:"hotel_level,omitempty" xml:"hotel_level,omitempty"`
	// 权益描述
	CardName string `json:"card_name,omitempty" xml:"card_name,omitempty"`
	// 会员卡ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

MemberCardDto 结构体

type MemberDto

type MemberDto struct {
	// 手机号
	PhoneNum string `json:"phone_num,omitempty" xml:"phone_num,omitempty"`
	// 微信头像
	WechatAvatarUrl string `json:"wechat_avatar_url,omitempty" xml:"wechat_avatar_url,omitempty"`
	// 微信昵称
	WechatNickName string `json:"wechat_nick_name,omitempty" xml:"wechat_nick_name,omitempty"`
	// 手机前缀
	PhonePri string `json:"phone_pri,omitempty" xml:"phone_pri,omitempty"`
	// 邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// 用户id
	TenantUserId string `json:"tenant_user_id,omitempty" xml:"tenant_user_id,omitempty"`
	// 返回日期毫秒值
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 用户基本信息
	MemberBaseInfo *MemberBaseInfoDto `json:"member_base_info,omitempty" xml:"member_base_info,omitempty"`
	// 会员卡信息
	CardBaseInfo *CardBaseInfoDto `json:"card_base_info,omitempty" xml:"card_base_info,omitempty"`
	// 是否是会员
	IsMember bool `json:"is_member,omitempty" xml:"is_member,omitempty"`
}

MemberDto 结构体

type MemberParam

type MemberParam struct {
	// 用户英文姓
	LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"`
	// 用户英文名
	FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"`
	// 称呼
	Civility string `json:"civility,omitempty" xml:"civility,omitempty"`
	// 用户手机号前缀
	PhonePre string `json:"phone_pre,omitempty" xml:"phone_pre,omitempty"`
	// 用户语言
	Language string `json:"language,omitempty" xml:"language,omitempty"`
	// 用户手机号
	PhoneNum string `json:"phone_num,omitempty" xml:"phone_num,omitempty"`
	// 用户邮箱
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 是否接受协议
	AcceptedTandC bool `json:"accepted_tand_c,omitempty" xml:"accepted_tand_c,omitempty"`
	// 是否接受消息推送
	Subscription bool `json:"subscription,omitempty" xml:"subscription,omitempty"`
}

MemberParam 结构体

type MemberRights

type MemberRights struct {
	// 权益图标
	MemberRightIcon string `json:"member_right_icon,omitempty" xml:"member_right_icon,omitempty"`
	// 权益描述
	MemberRightDesc string `json:"member_right_desc,omitempty" xml:"member_right_desc,omitempty"`
}

MemberRights 结构体

type NewUserInfo

type NewUserInfo struct {
	// 国家
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 头像
	AvatarUrl string `json:"avatar_url,omitempty" xml:"avatar_url,omitempty"`
	// 昵称
	NickName string `json:"nick_name,omitempty" xml:"nick_name,omitempty"`
	// 语言
	Language string `json:"language,omitempty" xml:"language,omitempty"`
	// 性别
	Gender int64 `json:"gender,omitempty" xml:"gender,omitempty"`
}

NewUserInfo 结构体

type OfferDetailsDto

type OfferDetailsDto struct {
	// 关联品牌
	JoinBrands []JoinBrandDto `json:"join_brands,omitempty" xml:"join_brands>join_brand_dto,omitempty"`
	// 无线端图片
	OfferImageWireless []string `json:"offer_image_wireless,omitempty" xml:"offer_image_wireless>string,omitempty"`
	// 酒店数据集合
	HotelContentList []HotelContentDto `json:"hotel_content_list,omitempty" xml:"hotel_content_list>hotel_content_dto,omitempty"`
	// offer名称
	OfferName string `json:"offer_name,omitempty" xml:"offer_name,omitempty"`
	// 子标题
	Subtitle string `json:"subtitle,omitempty" xml:"subtitle,omitempty"`
	// 起价单位
	FromPriceUnit string `json:"from_price_unit,omitempty" xml:"from_price_unit,omitempty"`
	// 小图
	OfferImageSmall string `json:"offer_image_small,omitempty" xml:"offer_image_small,omitempty"`
	// 大图
	OfferImageBig string `json:"offer_image_big,omitempty" xml:"offer_image_big,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// offer跳转url
	OfferRedirectUrl string `json:"offer_redirect_url,omitempty" xml:"offer_redirect_url,omitempty"`
	// 起价
	FromPriceAmount string `json:"from_price_amount,omitempty" xml:"from_price_amount,omitempty"`
	// 时区
	TimeZone string `json:"time_zone,omitempty" xml:"time_zone,omitempty"`
	// offer类型
	OfferType string `json:"offer_type,omitempty" xml:"offer_type,omitempty"`
	// 预定开始时间
	BookStartDate string `json:"book_start_date,omitempty" xml:"book_start_date,omitempty"`
	// 预定结束时间
	BookEndDate string `json:"book_end_date,omitempty" xml:"book_end_date,omitempty"`
	// 入住开始时间
	ClEndDate string `json:"cl_end_date,omitempty" xml:"cl_end_date,omitempty"`
	// 入住结束时间
	ClStartDate string `json:"cl_start_date,omitempty" xml:"cl_start_date,omitempty"`
	// 子类型
	SubType string `json:"sub_type,omitempty" xml:"sub_type,omitempty"`
	// offerId
	OfferId int64 `json:"offer_id,omitempty" xml:"offer_id,omitempty"`
}

OfferDetailsDto 结构体

type OrderDetailDto

type OrderDetailDto struct {
	// 每个房间入住人信息
	GuestByRoomDtos []GuestByRoomDto `json:"guest_by_room_dtos,omitempty" xml:"guest_by_room_dtos>guest_by_room_dto,omitempty"`
	// 酒店电话
	HotelPhone string `json:"hotel_phone,omitempty" xml:"hotel_phone,omitempty"`
	// 早餐类别
	BreakfastType string `json:"breakfast_type,omitempty" xml:"breakfast_type,omitempty"`
	// 房间图片
	RoomPicture string `json:"room_picture,omitempty" xml:"room_picture,omitempty"`
	// 预定时间
	PaymentDate string `json:"payment_date,omitempty" xml:"payment_date,omitempty"`
	// 订单编号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 纬度
	Lat string `json:"lat,omitempty" xml:"lat,omitempty"`
	// 经度
	Lon string `json:"lon,omitempty" xml:"lon,omitempty"`
	// 入住人邮箱
	ContactEmail string `json:"contact_email,omitempty" xml:"contact_email,omitempty"`
	// 入住人手机
	ContactPhone string `json:"contact_phone,omitempty" xml:"contact_phone,omitempty"`
	// 入住人姓
	ContactFirstName string `json:"contact_first_name,omitempty" xml:"contact_first_name,omitempty"`
	// 入住人名
	ContactLastName string `json:"contact_last_name,omitempty" xml:"contact_last_name,omitempty"`
	// 离店时间
	CheckOutDate string `json:"check_out_date,omitempty" xml:"check_out_date,omitempty"`
	// 入住时间
	CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,omitempty"`
	// 价格名称
	RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"`
	// 房间床型描述
	BedTypeDesc string `json:"bed_type_desc,omitempty" xml:"bed_type_desc,omitempty"`
	// 房间面积
	RoomArea string `json:"room_area,omitempty" xml:"room_area,omitempty"`
	// 房间名称
	RoomName string `json:"room_name,omitempty" xml:"room_name,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 货币
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 总价格
	TotalPrice string `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 取消描述
	CancelDec string `json:"cancel_dec,omitempty" xml:"cancel_dec,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 卖家房型id
	OuterRoomId string `json:"outer_room_id,omitempty" xml:"outer_room_id,omitempty"`
	// 租户酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 酒店地址描述
	HotelAddress string `json:"hotel_address,omitempty" xml:"hotel_address,omitempty"`
	// 退款手续费
	RefundCostAmount string `json:"refund_cost_amount,omitempty" xml:"refund_cost_amount,omitempty"`
	// 订单状态描述
	OrderStatusDesc string `json:"order_status_desc,omitempty" xml:"order_status_desc,omitempty"`
	// 支付渠道
	PaymentChannel string `json:"payment_channel,omitempty" xml:"payment_channel,omitempty"`
	// 酒店预订确认参数
	PmsCode string `json:"pms_code,omitempty" xml:"pms_code,omitempty"`
	// 入住人数
	PersonNum int64 `json:"person_num,omitempty" xml:"person_num,omitempty"`
	// 入住天数
	Days int64 `json:"days,omitempty" xml:"days,omitempty"`
	// 房间数量
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 最大入住人数
	MaxCheckInNumber int64 `json:"max_check_in_number,omitempty" xml:"max_check_in_number,omitempty"`
	// 费用明细对象
	PriceDetailDto *PriceDetailDto `json:"price_detail_dto,omitempty" xml:"price_detail_dto,omitempty"`
	// 支付类型
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 取消政策规则
	CancelRule int64 `json:"cancel_rule,omitempty" xml:"cancel_rule,omitempty"`
	// 支付剩余时间
	PayRemainTime int64 `json:"pay_remain_time,omitempty" xml:"pay_remain_time,omitempty"`
	// 酒店房型信息
	RoomDetailDto *RoomDetailDto `json:"room_detail_dto,omitempty" xml:"room_detail_dto,omitempty"`
	// 卖家价格ID
	OutRateId int64 `json:"out_rate_id,omitempty" xml:"out_rate_id,omitempty"`
	// 成人总数
	AdultNumber int64 `json:"adult_number,omitempty" xml:"adult_number,omitempty"`
	// 儿童总数
	ChildrenNumber int64 `json:"children_number,omitempty" xml:"children_number,omitempty"`
}

OrderDetailDto 结构体

type OrderDto

type OrderDto struct {
	// 床型名称
	BedName string `json:"bed_name,omitempty" xml:"bed_name,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 用户支付总价
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 预订日期
	BookDate string `json:"book_date,omitempty" xml:"book_date,omitempty"`
	// 入住人姓名
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 离店时间
	CheckOutDate string `json:"check_out_date,omitempty" xml:"check_out_date,omitempty"`
	// 入住时间
	CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,omitempty"`
	// 房型名称
	RoomName string `json:"room_name,omitempty" xml:"room_name,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 房型照片
	RoomPhotoUrl string `json:"room_photo_url,omitempty" xml:"room_photo_url,omitempty"`
	// 酒店外部id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 支付剩余时间
	PayRemainTime int64 `json:"pay_remain_time,omitempty" xml:"pay_remain_time,omitempty"`
	// 房间数量
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 酒店房型id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 成人数量
	AdultNumber int64 `json:"adult_number,omitempty" xml:"adult_number,omitempty"`
	// 儿童数量
	ChildrenNumber int64 `json:"children_number,omitempty" xml:"children_number,omitempty"`
}

OrderDto 结构体

type OrderPayDto added in v1.2.0

type OrderPayDto struct {
	// 签名
	PaySign string `json:"pay_sign,omitempty" xml:"pay_sign,omitempty"`
	// 签名类型
	SignType string `json:"sign_type,omitempty" xml:"sign_type,omitempty"`
	// 数据包
	PackageStr string `json:"package_str,omitempty" xml:"package_str,omitempty"`
	// 随机字符串
	NonceStr string `json:"nonce_str,omitempty" xml:"nonce_str,omitempty"`
	// 时间戳
	TimeStamp string `json:"time_stamp,omitempty" xml:"time_stamp,omitempty"`
	// 小程序id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 预订结果
	BookResult bool `json:"book_result,omitempty" xml:"book_result,omitempty"`
}

OrderPayDto 结构体

type PageableResponse

type PageableResponse struct {
	// 返回类型
	Contents []HotelListSearchDto `json:"contents,omitempty" xml:"contents>hotel_list_search_dto,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 当前页的数量
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 当前页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 每页的数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 总页数
	TotalPageNum int64 `json:"total_page_num,omitempty" xml:"total_page_num,omitempty"`
	// 总数量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 是否有下一页
	HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

PageableResponse 结构体

type PayParamResult

type PayParamResult struct {
	// 签名
	PaySign string `json:"pay_sign,omitempty" xml:"pay_sign,omitempty"`
	// 签名方式
	SignType string `json:"sign_type,omitempty" xml:"sign_type,omitempty"`
	// 数据包
	PackageStr string `json:"package_str,omitempty" xml:"package_str,omitempty"`
	// 随机字符串
	NonceStr string `json:"nonce_str,omitempty" xml:"nonce_str,omitempty"`
	// 时间戳
	TimeStamp string `json:"time_stamp,omitempty" xml:"time_stamp,omitempty"`
	// 小程序id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 订单编号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 预订结果
	BookResult bool `json:"book_result,omitempty" xml:"book_result,omitempty"`
}

PayParamResult 结构体

type PriceDetailDto

type PriceDetailDto struct {
	// 每日价格
	DailyPrices []DailyPrice `json:"daily_prices,omitempty" xml:"daily_prices>daily_price,omitempty"`
	// 总价格
	TotalPrice string `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 总税费
	TotalTax string `json:"total_tax,omitempty" xml:"total_tax,omitempty"`
	// 总房间价格(不含税)
	TotalRoomPrice string `json:"total_room_price,omitempty" xml:"total_room_price,omitempty"`
	// 货币
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 入住时间
	Days int64 `json:"days,omitempty" xml:"days,omitempty"`
	// 房间数量
	RoomNum int64 `json:"room_num,omitempty" xml:"room_num,omitempty"`
}

PriceDetailDto 结构体

type PriceInfoDto

type PriceInfoDto struct {
	// 早餐信息 -1 含早、0无早、1单早、2、双早
	Breakfasts []string `json:"breakfasts,omitempty" xml:"breakfasts>string,omitempty"`
	// 详情页会员权益标签
	HotelDinamicLabels []HotelDinamicLabelDto `json:"hotel_dinamic_labels,omitempty" xml:"hotel_dinamic_labels>hotel_dinamic_label_dto,omitempty"`
	// 税费 单位元
	TaxAndFeeToString string `json:"tax_and_fee_to_string,omitempty" xml:"tax_and_fee_to_string,omitempty"`
	// 含税价 均价 单位元
	DinamicOriginalPriceToString string `json:"dinamic_original_price_to_string,omitempty" xml:"dinamic_original_price_to_string,omitempty"`
	// 退订规则
	RefundRules string `json:"refund_rules,omitempty" xml:"refund_rules,omitempty"`
	// 可够取消险
	CancelInsuranceIcon string `json:"cancel_insurance_icon,omitempty" xml:"cancel_insurance_icon,omitempty"`
	// 净价均价 不含税 单位元
	RatePriceToString string `json:"rate_price_to_string,omitempty" xml:"rate_price_to_string,omitempty"`
	// 会员等级
	MemberLevel string `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 币种CNY 人民币
	PriceType string `json:"price_type,omitempty" xml:"price_type,omitempty"`
	// 早餐
	BreakfastDesc string `json:"breakfast_desc,omitempty" xml:"breakfast_desc,omitempty"`
	// 取消政策模型同小搜一致即可,入住日往前XX小时
	CancelTime string `json:"cancel_time,omitempty" xml:"cancel_time,omitempty"`
	// 不含税总价 保留到元
	RoomTotalPriceToString string `json:"room_total_price_to_string,omitempty" xml:"room_total_price_to_string,omitempty"`
	// 取消险文案
	CancelInsuranceDesc string `json:"cancel_insurance_desc,omitempty" xml:"cancel_insurance_desc,omitempty"`
	// 商品定价规则标题
	RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"`
	// 库存数量
	StockNumberDes string `json:"stock_number_des,omitempty" xml:"stock_number_des,omitempty"`
	// 首住标签
	FirstLive string `json:"first_live,omitempty" xml:"first_live,omitempty"`
	// 副会员商品等级
	MemberLevelV2 string `json:"member_level_v2,omitempty" xml:"member_level_v2,omitempty"`
	// 是否担保商品
	IsGuarantee int64 `json:"is_guarantee,omitempty" xml:"is_guarantee,omitempty"`
	// 库存剩余数量
	StockNumber int64 `json:"stock_number,omitempty" xml:"stock_number,omitempty"`
	// 商品id
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// 取消政策枚举 01-不可取消 02-免费取消 03-阶梯取消 04-限时免费取消
	CancelType int64 `json:"cancel_type,omitempty" xml:"cancel_type,omitempty"`
	// 含税价 均价 单位分
	DinamicOriginalPrice int64 `json:"dinamic_original_price,omitempty" xml:"dinamic_original_price,omitempty"`
	// 是否已售空
	IsSellOut int64 `json:"is_sell_out,omitempty" xml:"is_sell_out,omitempty"`
	// 不含税总价 单位分
	RoomTotalPrice int64 `json:"room_total_price,omitempty" xml:"room_total_price,omitempty"`
	// Rate Plan ID商品定价规则
	RpId int64 `json:"rp_id,omitempty" xml:"rp_id,omitempty"`
	// 商品最小可售卖粒度
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 1:全额支付;5:前台面付;
	PaymentType int64 `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// 净价均价 不含税
	RatePrice int64 `json:"rate_price,omitempty" xml:"rate_price,omitempty"`
	// 税费 单位分
	TaxAndFee int64 `json:"tax_and_fee,omitempty" xml:"tax_and_fee,omitempty"`
	// 卖家房型id
	OuterRoomId int64 `json:"outer_room_id,omitempty" xml:"outer_room_id,omitempty"`
	// 表示当前价格允许几人入住
	AllowPersonNumber int64 `json:"allow_person_number,omitempty" xml:"allow_person_number,omitempty"`
	// 是否售空
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 是否是会员房
	MemberRoom bool `json:"member_room,omitempty" xml:"member_room,omitempty"`
	// 是否是副会员房
	MemberRoomV2 bool `json:"member_room_v2,omitempty" xml:"member_room_v2,omitempty"`
}

PriceInfoDto 结构体

type ProviderMemberParam

type ProviderMemberParam struct {
	// 用户英文姓
	LastName string `json:"last_name,omitempty" xml:"last_name,omitempty"`
	// 称呼
	Civility string `json:"civility,omitempty" xml:"civility,omitempty"`
	// 签名
	Signature string `json:"signature,omitempty" xml:"signature,omitempty"`
	// 手机号前缀(加密)
	PhonePre string `json:"phone_pre,omitempty" xml:"phone_pre,omitempty"`
	// 手机号(加密)
	PhoneNum string `json:"phone_num,omitempty" xml:"phone_num,omitempty"`
	// 语言
	Language string `json:"language,omitempty" xml:"language,omitempty"`
	// 请求路径
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 英文名
	FirstName string `json:"first_name,omitempty" xml:"first_name,omitempty"`
	// 请求应用的id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
	// 邮箱(加密)
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 追踪信息
	PromoteInfo string `json:"promote_info,omitempty" xml:"promote_info,omitempty"`
	// 是否订阅信息
	Subscription bool `json:"subscription,omitempty" xml:"subscription,omitempty"`
	// 是否接受协议
	AcceptedTandC bool `json:"accepted_tand_c,omitempty" xml:"accepted_tand_c,omitempty"`
}

ProviderMemberParam 结构体

type ProviderMemberVo

type ProviderMemberVo struct {
	// 卡类型
	CardType string `json:"card_type,omitempty" xml:"card_type,omitempty"`
	// 卡等级
	CardTier string `json:"card_tier,omitempty" xml:"card_tier,omitempty"`
	// 卡号
	CardNumber string `json:"card_number,omitempty" xml:"card_number,omitempty"`
	// 会员id
	MemberId string `json:"member_id,omitempty" xml:"member_id,omitempty"`
	// 注册类型
	RegisterType string `json:"register_type,omitempty" xml:"register_type,omitempty"`
}

ProviderMemberVo 结构体

type QueryMemberParam

type QueryMemberParam struct {
	// 签名
	Signature string `json:"signature,omitempty" xml:"signature,omitempty"`
	// 手机号前缀(加密)
	PhonePre string `json:"phone_pre,omitempty" xml:"phone_pre,omitempty"`
	// 手机号(加密)
	PhoneNum string `json:"phone_num,omitempty" xml:"phone_num,omitempty"`
	// 应用id
	AppId string `json:"app_id,omitempty" xml:"app_id,omitempty"`
}

QueryMemberParam 结构体

type RoomDetailDto

type RoomDetailDto struct {
	// 价格信息
	PriceInfos []PriceInfoDto `json:"price_infos,omitempty" xml:"price_infos>price_info_dto,omitempty"`
	// 房型图片
	Pics []string `json:"pics,omitempty" xml:"pics>string,omitempty"`
	// 房型设施
	Facilitys []RoomPropertiesDto `json:"facilitys,omitempty" xml:"facilitys>room_properties_dto,omitempty"`
	// 酒店设施
	RoomFacilities []RoomPropertiesDto `json:"room_facilities,omitempty" xml:"room_facilities>room_properties_dto,omitempty"`
	// 房间图片列表
	PictureList []string `json:"picture_list,omitempty" xml:"picture_list>string,omitempty"`
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 最低价单位元
	LowestPriceToString string `json:"lowest_price_to_string,omitempty" xml:"lowest_price_to_string,omitempty"`
	// 入住人数图标
	MaxOccupancyIcon string `json:"max_occupancy_icon,omitempty" xml:"max_occupancy_icon,omitempty"`
	// 货币类型
	PriceType string `json:"price_type,omitempty" xml:"price_type,omitempty"`
	// 面积图标
	AreaIcon string `json:"area_icon,omitempty" xml:"area_icon,omitempty"`
	// 房型名称
	RoomName string `json:"room_name,omitempty" xml:"room_name,omitempty"`
	// 宽带服务
	NetworkService string `json:"network_service,omitempty" xml:"network_service,omitempty"`
	// 床型图标
	BedTypeIcon string `json:"bed_type_icon,omitempty" xml:"bed_type_icon,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 窗型
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 床型描述
	BedTypeDesc string `json:"bed_type_desc,omitempty" xml:"bed_type_desc,omitempty"`
	// 房间大小
	RoomArea string `json:"room_area,omitempty" xml:"room_area,omitempty"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 最低价单位分
	LowestPrice int64 `json:"lowest_price,omitempty" xml:"lowest_price,omitempty"`
	// 床型详情
	RoomTypeBedInfo *RoomTypeBedInfoDto `json:"room_type_bed_info,omitempty" xml:"room_type_bed_info,omitempty"`
	// 房型id
	RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"`
	// 是否可加床
	AddBed int64 `json:"add_bed,omitempty" xml:"add_bed,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 最大人数
	MaxCheckInNumber int64 `json:"max_check_in_number,omitempty" xml:"max_check_in_number,omitempty"`
	// 是否满房
	Full bool `json:"full,omitempty" xml:"full,omitempty"`
}

RoomDetailDto 结构体

type RoomPropertiesDto

type RoomPropertiesDto struct {
	// 设施类型
	SubType string `json:"sub_type,omitempty" xml:"sub_type,omitempty"`
	// 设施名称
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

RoomPropertiesDto 结构体

type RoomTypeBedInfoDto

type RoomTypeBedInfoDto struct {
	// 简短描述,用于详情页报价前面的床型展示。
	BriefDesc string `json:"brief_desc,omitempty" xml:"brief_desc,omitempty"`
	// 模糊描述,最精简的描述信息,大床/双床/单人床/多床/床位
	FuzzyDesc string `json:"fuzzy_desc,omitempty" xml:"fuzzy_desc,omitempty"`
	// 分类描述
	ClassificationDesc string `json:"classification_desc,omitempty" xml:"classification_desc,omitempty"`
	// 简单描述,较长描述省略床宽,但依然会描述具体的床型信息,用于详情页标准房型床型展示
	SimpleDesc string `json:"simple_desc,omitempty" xml:"simple_desc,omitempty"`
	// 描述,长描述,描述为最详细的内容,用于详情页房型详情Dialog,下单页,订单页展
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
}

RoomTypeBedInfoDto 结构体

type ShareMaterialVo

type ShareMaterialVo struct {
	// 分享的文案
	Text string `json:"text,omitempty" xml:"text,omitempty"`
	// 分享的图片
	Picture string `json:"picture,omitempty" xml:"picture,omitempty"`
}

ShareMaterialVo 结构体

type ValidateOrderParam

type ValidateOrderParam struct {
	// 房间类型
	GuestByRoomDtos []GuestByRoomDto `json:"guest_by_room_dtos,omitempty" xml:"guest_by_room_dtos>guest_by_room_dto,omitempty"`
	// 总价格
	TotalPrice string `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 离店时间
	CheckOutDate string `json:"check_out_date,omitempty" xml:"check_out_date,omitempty"`
	// 入住时间
	CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,omitempty"`
	// 外部酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 价格编号
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 宝贝id
	Gid int64 `json:"gid,omitempty" xml:"gid,omitempty"`
	// 支付类型
	PaymentType int64 `json:"payment_type,omitempty" xml:"payment_type,omitempty"`
	// 入住人数
	CustomerNumbers int64 `json:"customer_numbers,omitempty" xml:"customer_numbers,omitempty"`
	// 房间数量
	RoomNum int64 `json:"room_num,omitempty" xml:"room_num,omitempty"`
	// 价格id
	RpId int64 `json:"rp_id,omitempty" xml:"rp_id,omitempty"`
	// 飞猪外部房型id
	OutRoomId int64 `json:"out_room_id,omitempty" xml:"out_room_id,omitempty"`
	// 内部酒店id
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
}

ValidateOrderParam 结构体

type ValidateOrderVo

type ValidateOrderVo struct {
	// 每日价格
	DailyPriceList []DailyPrice `json:"daily_price_list,omitempty" xml:"daily_price_list>daily_price,omitempty"`
	// 实际需要支付金额,含税
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 总税价
	TotalTax string `json:"total_tax,omitempty" xml:"total_tax,omitempty"`
	// 价格变化描述
	AmountChangedDisplay string `json:"amount_changed_display,omitempty" xml:"amount_changed_display,omitempty"`
	// 订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
	// 价格发生变化
	IsAmountChanged bool `json:"is_amount_changed,omitempty" xml:"is_amount_changed,omitempty"`
}

ValidateOrderVo 结构体

type WechatCodeResponse

type WechatCodeResponse struct {
	// 微信union_Id
	UnionId string `json:"union_id,omitempty" xml:"union_id,omitempty"`
	// 微信用户openId
	OpenId string `json:"open_id,omitempty" xml:"open_id,omitempty"`
}

WechatCodeResponse 结构体

Source Files

Jump to

Keyboard shortcuts

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