alitripmerchant

package
v1.1.5 Latest Latest
Warning

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

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

Documentation

Overview

飞猪商家平台 model

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

AddressSearchDto

type AlitripMerchantGalaxyBrandSearchAPIResponse

type AlitripMerchantGalaxyBrandSearchAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyBrandSearchResponse
}

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

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

type AlitripMerchantGalaxyBrandSearchRequest

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

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

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

func NewAlitripMerchantGalaxyBrandSearchRequest

func NewAlitripMerchantGalaxyBrandSearchRequest() *AlitripMerchantGalaxyBrandSearchRequest

初始化AlitripMerchantGalaxyBrandSearchRequest对象

func (AlitripMerchantGalaxyBrandSearchRequest) GetApiMethodName

func (r AlitripMerchantGalaxyBrandSearchRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyBrandSearchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyBrandSearchRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyBrandSearchRequest) SetTenantKey

func (r *AlitripMerchantGalaxyBrandSearchRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户信息

type AlitripMerchantGalaxyBrandSearchResponse

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

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

type AlitripMerchantGalaxyBrandSearchResult

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

AlitripMerchantGalaxyBrandSearchResult

type AlitripMerchantGalaxyCityLikeAPIResponse

type AlitripMerchantGalaxyCityLikeAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyCityLikeResponse
}

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

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

type AlitripMerchantGalaxyCityLikeRequest

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

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

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

func NewAlitripMerchantGalaxyCityLikeRequest

func NewAlitripMerchantGalaxyCityLikeRequest() *AlitripMerchantGalaxyCityLikeRequest

初始化AlitripMerchantGalaxyCityLikeRequest对象

func (AlitripMerchantGalaxyCityLikeRequest) GetApiMethodName

func (r AlitripMerchantGalaxyCityLikeRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyCityLikeRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyCityLikeRequest) GetCityName

CityName Getter

func (AlitripMerchantGalaxyCityLikeRequest) GetDomestic

Domestic Getter

func (AlitripMerchantGalaxyCityLikeRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyCityLikeRequest) SetCityName

func (r *AlitripMerchantGalaxyCityLikeRequest) SetCityName(cityName string) error

CityName Setter 城市模糊

func (*AlitripMerchantGalaxyCityLikeRequest) SetDomestic

func (r *AlitripMerchantGalaxyCityLikeRequest) SetDomestic(domestic int64) error

Domestic Setter 0国内1国外

func (*AlitripMerchantGalaxyCityLikeRequest) SetTenantKey

func (r *AlitripMerchantGalaxyCityLikeRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 商家租户id

type AlitripMerchantGalaxyCityLikeResponse

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

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

type AlitripMerchantGalaxyCityListAPIResponse

type AlitripMerchantGalaxyCityListAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyCityListResponse
}

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

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

type AlitripMerchantGalaxyCityListRequest

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

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

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

func NewAlitripMerchantGalaxyCityListRequest

func NewAlitripMerchantGalaxyCityListRequest() *AlitripMerchantGalaxyCityListRequest

初始化AlitripMerchantGalaxyCityListRequest对象

func (AlitripMerchantGalaxyCityListRequest) GetApiMethodName

func (r AlitripMerchantGalaxyCityListRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyCityListRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyCityListRequest) GetDomestic

Domestic Getter

func (AlitripMerchantGalaxyCityListRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyCityListRequest) SetDomestic

func (r *AlitripMerchantGalaxyCityListRequest) SetDomestic(domestic int64) error

Domestic Setter 0国内 1国外

func (*AlitripMerchantGalaxyCityListRequest) SetTenantKey

func (r *AlitripMerchantGalaxyCityListRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 商家租户id

type AlitripMerchantGalaxyCityListResponse

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

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

type AlitripMerchantGalaxyHotelDetailSearchAPIResponse

type AlitripMerchantGalaxyHotelDetailSearchAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyHotelDetailSearchResponse
}

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

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

type AlitripMerchantGalaxyHotelDetailSearchRequest

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

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

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

func NewAlitripMerchantGalaxyHotelDetailSearchRequest

func NewAlitripMerchantGalaxyHotelDetailSearchRequest() *AlitripMerchantGalaxyHotelDetailSearchRequest

初始化AlitripMerchantGalaxyHotelDetailSearchRequest对象

func (AlitripMerchantGalaxyHotelDetailSearchRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyHotelDetailSearchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyHotelDetailSearchRequest) GetHotelDetailsParam

HotelDetailsParam Getter

func (AlitripMerchantGalaxyHotelDetailSearchRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyHotelDetailSearchRequest) SetHotelDetailsParam

func (r *AlitripMerchantGalaxyHotelDetailSearchRequest) SetHotelDetailsParam(hotelDetailsParam *HotelDetailsParam) error

HotelDetailsParam Setter 酒店详情入参

func (*AlitripMerchantGalaxyHotelDetailSearchRequest) SetTenantKey

func (r *AlitripMerchantGalaxyHotelDetailSearchRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户id

type AlitripMerchantGalaxyHotelDetailSearchResponse

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

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

type AlitripMerchantGalaxyHotelDetailSearchResult

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

AlitripMerchantGalaxyHotelDetailSearchResult

type AlitripMerchantGalaxyHotelListSearchAPIResponse

type AlitripMerchantGalaxyHotelListSearchAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyHotelListSearchResponse
}

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

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

type AlitripMerchantGalaxyHotelListSearchRequest

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

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

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

func NewAlitripMerchantGalaxyHotelListSearchRequest

func NewAlitripMerchantGalaxyHotelListSearchRequest() *AlitripMerchantGalaxyHotelListSearchRequest

初始化AlitripMerchantGalaxyHotelListSearchRequest对象

func (AlitripMerchantGalaxyHotelListSearchRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyHotelListSearchRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyHotelListSearchRequest) GetListSearchParam

ListSearchParam Getter

func (AlitripMerchantGalaxyHotelListSearchRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyHotelListSearchRequest) SetListSearchParam

func (r *AlitripMerchantGalaxyHotelListSearchRequest) SetListSearchParam(listSearchParam *ListSearchParam) error

ListSearchParam Setter 请求参数

func (*AlitripMerchantGalaxyHotelListSearchRequest) SetTenantKey

func (r *AlitripMerchantGalaxyHotelListSearchRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 商家租户id

type AlitripMerchantGalaxyHotelListSearchResponse

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

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

type AlitripMerchantGalaxyMemberCardAPIResponse

type AlitripMerchantGalaxyMemberCardAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberCardResponse
}

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

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

type AlitripMerchantGalaxyMemberCardRequest

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

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

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

func NewAlitripMerchantGalaxyMemberCardRequest

func NewAlitripMerchantGalaxyMemberCardRequest() *AlitripMerchantGalaxyMemberCardRequest

初始化AlitripMerchantGalaxyMemberCardRequest对象

func (AlitripMerchantGalaxyMemberCardRequest) GetApiMethodName

func (r AlitripMerchantGalaxyMemberCardRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberCardRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberCardRequest) GetCardType

CardType Getter

func (AlitripMerchantGalaxyMemberCardRequest) GetFliggyLevel

FliggyLevel Getter

func (AlitripMerchantGalaxyMemberCardRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyMemberCardRequest) SetCardType

func (r *AlitripMerchantGalaxyMemberCardRequest) SetCardType(cardType string) error

CardType Setter 卡类型

func (*AlitripMerchantGalaxyMemberCardRequest) SetFliggyLevel

func (r *AlitripMerchantGalaxyMemberCardRequest) SetFliggyLevel(fliggyLevel string) error

FliggyLevel Setter 飞猪等级

func (*AlitripMerchantGalaxyMemberCardRequest) SetTenantKey

func (r *AlitripMerchantGalaxyMemberCardRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户信息

type AlitripMerchantGalaxyMemberCardResponse

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

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

type AlitripMerchantGalaxyMemberLogoutAPIResponse

type AlitripMerchantGalaxyMemberLogoutAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberLogoutResponse
}

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

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

type AlitripMerchantGalaxyMemberLogoutRequest

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

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

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

func NewAlitripMerchantGalaxyMemberLogoutRequest

func NewAlitripMerchantGalaxyMemberLogoutRequest() *AlitripMerchantGalaxyMemberLogoutRequest

初始化AlitripMerchantGalaxyMemberLogoutRequest对象

func (AlitripMerchantGalaxyMemberLogoutRequest) GetApiMethodName

func (r AlitripMerchantGalaxyMemberLogoutRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberLogoutRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberLogoutRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyMemberLogoutRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyMemberLogoutRequest) SetTenantKey

func (r *AlitripMerchantGalaxyMemberLogoutRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户信息

func (*AlitripMerchantGalaxyMemberLogoutRequest) SetToken

Token Setter 用户登录token

type AlitripMerchantGalaxyMemberLogoutResponse

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

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

type AlitripMerchantGalaxyMemberProviderRegisterAPIResponse

type AlitripMerchantGalaxyMemberProviderRegisterAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberProviderRegisterResponse
}

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

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

type AlitripMerchantGalaxyMemberProviderRegisterRequest

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

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

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

func NewAlitripMerchantGalaxyMemberProviderRegisterRequest

func NewAlitripMerchantGalaxyMemberProviderRegisterRequest() *AlitripMerchantGalaxyMemberProviderRegisterRequest

初始化AlitripMerchantGalaxyMemberProviderRegisterRequest对象

func (AlitripMerchantGalaxyMemberProviderRegisterRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberProviderRegisterRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberProviderRegisterRequest) GetProviderMemberParam

ProviderMemberParam Getter

func (AlitripMerchantGalaxyMemberProviderRegisterRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyMemberProviderRegisterRequest) SetProviderMemberParam

func (r *AlitripMerchantGalaxyMemberProviderRegisterRequest) SetProviderMemberParam(providerMemberParam *ProviderMemberParam) error

ProviderMemberParam Setter 注册入参

func (*AlitripMerchantGalaxyMemberProviderRegisterRequest) SetTenantKey

TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyMemberProviderRegisterResponse

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

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

type AlitripMerchantGalaxyMemberQueryAPIResponse

type AlitripMerchantGalaxyMemberQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberQueryResponse
}

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

获取登录用户的信息

type AlitripMerchantGalaxyMemberQueryRequest

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

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

获取登录用户的信息

func NewAlitripMerchantGalaxyMemberQueryRequest

func NewAlitripMerchantGalaxyMemberQueryRequest() *AlitripMerchantGalaxyMemberQueryRequest

初始化AlitripMerchantGalaxyMemberQueryRequest对象

func (AlitripMerchantGalaxyMemberQueryRequest) GetApiMethodName

func (r AlitripMerchantGalaxyMemberQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberQueryRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyMemberQueryRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyMemberQueryRequest) SetTenantKey

func (r *AlitripMerchantGalaxyMemberQueryRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyMemberQueryRequest) SetToken

Token Setter toekn

type AlitripMerchantGalaxyMemberQueryResponse

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

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

type AlitripMerchantGalaxyMemberRegisterAPIResponse

type AlitripMerchantGalaxyMemberRegisterAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberRegisterResponse
}

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

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

type AlitripMerchantGalaxyMemberRegisterRequest

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

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

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

func NewAlitripMerchantGalaxyMemberRegisterRequest

func NewAlitripMerchantGalaxyMemberRegisterRequest() *AlitripMerchantGalaxyMemberRegisterRequest

初始化AlitripMerchantGalaxyMemberRegisterRequest对象

func (AlitripMerchantGalaxyMemberRegisterRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberRegisterRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberRegisterRequest) GetMemberParam

MemberParam Getter

func (AlitripMerchantGalaxyMemberRegisterRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyMemberRegisterRequest) SetMemberParam

func (r *AlitripMerchantGalaxyMemberRegisterRequest) SetMemberParam(memberParam *MemberParam) error

MemberParam Setter 注册入参

func (*AlitripMerchantGalaxyMemberRegisterRequest) SetTenantKey

func (r *AlitripMerchantGalaxyMemberRegisterRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyMemberRegisterResponse

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

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

type AlitripMerchantGalaxyMemberTokenAPIResponse

type AlitripMerchantGalaxyMemberTokenAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyMemberTokenResponse
}

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

校验或者刷新token

type AlitripMerchantGalaxyMemberTokenRequest

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

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

校验或者刷新token

func NewAlitripMerchantGalaxyMemberTokenRequest

func NewAlitripMerchantGalaxyMemberTokenRequest() *AlitripMerchantGalaxyMemberTokenRequest

初始化AlitripMerchantGalaxyMemberTokenRequest对象

func (AlitripMerchantGalaxyMemberTokenRequest) GetApiMethodName

func (r AlitripMerchantGalaxyMemberTokenRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyMemberTokenRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyMemberTokenRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyMemberTokenRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyMemberTokenRequest) SetTenantKey

func (r *AlitripMerchantGalaxyMemberTokenRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyMemberTokenRequest) SetToken

Token Setter 访问携带toekn

type AlitripMerchantGalaxyMemberTokenResponse

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

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

type AlitripMerchantGalaxyOfferQueryAPIResponse

type AlitripMerchantGalaxyOfferQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOfferQueryResponse
}

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

根据offer的ID查询offer信息

type AlitripMerchantGalaxyOfferQueryRequest

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

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

根据offer的ID查询offer信息

func NewAlitripMerchantGalaxyOfferQueryRequest

func NewAlitripMerchantGalaxyOfferQueryRequest() *AlitripMerchantGalaxyOfferQueryRequest

初始化AlitripMerchantGalaxyOfferQueryRequest对象

func (AlitripMerchantGalaxyOfferQueryRequest) GetApiMethodName

func (r AlitripMerchantGalaxyOfferQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOfferQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOfferQueryRequest) GetOfferChannel

func (r AlitripMerchantGalaxyOfferQueryRequest) GetOfferChannel() string

OfferChannel Getter

func (AlitripMerchantGalaxyOfferQueryRequest) GetOfferIds

OfferIds Getter

func (AlitripMerchantGalaxyOfferQueryRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyOfferQueryRequest) SetOfferChannel

func (r *AlitripMerchantGalaxyOfferQueryRequest) SetOfferChannel(offerChannel string) error

OfferChannel Setter 渠道来源

func (*AlitripMerchantGalaxyOfferQueryRequest) SetOfferIds

func (r *AlitripMerchantGalaxyOfferQueryRequest) SetOfferIds(offerIds string) error

OfferIds Setter offer活动ID

func (*AlitripMerchantGalaxyOfferQueryRequest) SetTenantKey

func (r *AlitripMerchantGalaxyOfferQueryRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyOfferQueryResponse

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

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

type AlitripMerchantGalaxyOrderBookAPIResponse

type AlitripMerchantGalaxyOrderBookAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderBookResponse
}

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

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

type AlitripMerchantGalaxyOrderBookRequest

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

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

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

func NewAlitripMerchantGalaxyOrderBookRequest

func NewAlitripMerchantGalaxyOrderBookRequest() *AlitripMerchantGalaxyOrderBookRequest

初始化AlitripMerchantGalaxyOrderBookRequest对象

func (AlitripMerchantGalaxyOrderBookRequest) GetApiMethodName

func (r AlitripMerchantGalaxyOrderBookRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderBookRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderBookRequest) GetOrderCode

OrderCode Getter

func (AlitripMerchantGalaxyOrderBookRequest) GetOrderParam

OrderParam Getter

func (AlitripMerchantGalaxyOrderBookRequest) GetSourceQuery

func (r AlitripMerchantGalaxyOrderBookRequest) GetSourceQuery() string

SourceQuery Getter

func (AlitripMerchantGalaxyOrderBookRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyOrderBookRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyOrderBookRequest) SetOrderCode

func (r *AlitripMerchantGalaxyOrderBookRequest) SetOrderCode(orderCode string) error

OrderCode Setter 订单编号

func (*AlitripMerchantGalaxyOrderBookRequest) SetOrderParam

func (r *AlitripMerchantGalaxyOrderBookRequest) SetOrderParam(orderParam *CreateOrderParam) error

OrderParam Setter 预订参数

func (*AlitripMerchantGalaxyOrderBookRequest) SetSourceQuery

func (r *AlitripMerchantGalaxyOrderBookRequest) SetSourceQuery(sourceQuery string) error

SourceQuery Setter 广告追踪信息

func (*AlitripMerchantGalaxyOrderBookRequest) SetTenantKey

func (r *AlitripMerchantGalaxyOrderBookRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyOrderBookRequest) SetToken

Token Setter 用户登录token

type AlitripMerchantGalaxyOrderBookResponse

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

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

type AlitripMerchantGalaxyOrderCancelAPIResponse

type AlitripMerchantGalaxyOrderCancelAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderCancelResponse
}

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

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

type AlitripMerchantGalaxyOrderCancelRequest

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

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

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

func NewAlitripMerchantGalaxyOrderCancelRequest

func NewAlitripMerchantGalaxyOrderCancelRequest() *AlitripMerchantGalaxyOrderCancelRequest

初始化AlitripMerchantGalaxyOrderCancelRequest对象

func (AlitripMerchantGalaxyOrderCancelRequest) GetApiMethodName

func (r AlitripMerchantGalaxyOrderCancelRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderCancelRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderCancelRequest) GetOrderId

OrderId Getter

func (AlitripMerchantGalaxyOrderCancelRequest) GetReason

Reason Getter

func (AlitripMerchantGalaxyOrderCancelRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyOrderCancelRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyOrderCancelRequest) SetOrderId

func (r *AlitripMerchantGalaxyOrderCancelRequest) SetOrderId(orderId string) error

OrderId Setter 订单编号

func (*AlitripMerchantGalaxyOrderCancelRequest) SetReason

Reason Setter 退款原因

func (*AlitripMerchantGalaxyOrderCancelRequest) SetTenantKey

func (r *AlitripMerchantGalaxyOrderCancelRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户标识

func (*AlitripMerchantGalaxyOrderCancelRequest) SetToken

Token Setter 用户登录标识

type AlitripMerchantGalaxyOrderCancelResponse

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

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

type AlitripMerchantGalaxyOrderListQueryAPIResponse

type AlitripMerchantGalaxyOrderListQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderListQueryResponse
}

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

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

type AlitripMerchantGalaxyOrderListQueryRequest

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

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

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

func NewAlitripMerchantGalaxyOrderListQueryRequest

func NewAlitripMerchantGalaxyOrderListQueryRequest() *AlitripMerchantGalaxyOrderListQueryRequest

初始化AlitripMerchantGalaxyOrderListQueryRequest对象

func (AlitripMerchantGalaxyOrderListQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderListQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderListQueryRequest) GetEndTime

EndTime Getter

func (AlitripMerchantGalaxyOrderListQueryRequest) GetOrderStatus

OrderStatus Getter

func (AlitripMerchantGalaxyOrderListQueryRequest) GetPage

Page Getter

func (AlitripMerchantGalaxyOrderListQueryRequest) GetRow

Row Getter

func (AlitripMerchantGalaxyOrderListQueryRequest) GetStartTime

StartTime Getter

func (AlitripMerchantGalaxyOrderListQueryRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyOrderListQueryRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyOrderListQueryRequest) SetEndTime

EndTime Setter 入住时间

func (*AlitripMerchantGalaxyOrderListQueryRequest) SetOrderStatus

func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetOrderStatus(orderStatus string) error

OrderStatus Setter 订单状态

func (*AlitripMerchantGalaxyOrderListQueryRequest) SetPage

Page Setter 页数

func (*AlitripMerchantGalaxyOrderListQueryRequest) SetRow

Row Setter 每页行数

func (*AlitripMerchantGalaxyOrderListQueryRequest) SetStartTime

func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetStartTime(startTime string) error

StartTime Setter 入住时间

func (*AlitripMerchantGalaxyOrderListQueryRequest) SetTenantKey

func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户标识

func (*AlitripMerchantGalaxyOrderListQueryRequest) SetToken

Token Setter 用户token

type AlitripMerchantGalaxyOrderListQueryResponse

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

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

type AlitripMerchantGalaxyOrderQueryAPIResponse

type AlitripMerchantGalaxyOrderQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderQueryResponse
}

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

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

type AlitripMerchantGalaxyOrderQueryRequest

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

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

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

func NewAlitripMerchantGalaxyOrderQueryRequest

func NewAlitripMerchantGalaxyOrderQueryRequest() *AlitripMerchantGalaxyOrderQueryRequest

初始化AlitripMerchantGalaxyOrderQueryRequest对象

func (AlitripMerchantGalaxyOrderQueryRequest) GetApiMethodName

func (r AlitripMerchantGalaxyOrderQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderQueryRequest) GetOrderId

OrderId Getter

func (AlitripMerchantGalaxyOrderQueryRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyOrderQueryRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyOrderQueryRequest) SetOrderId

func (r *AlitripMerchantGalaxyOrderQueryRequest) SetOrderId(orderId string) error

OrderId Setter 订单号

func (*AlitripMerchantGalaxyOrderQueryRequest) SetTenantKey

func (r *AlitripMerchantGalaxyOrderQueryRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户标识

func (*AlitripMerchantGalaxyOrderQueryRequest) SetToken

Token Setter 用户登录标识

type AlitripMerchantGalaxyOrderQueryResponse

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

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

type AlitripMerchantGalaxyOrderValidateAPIResponse

type AlitripMerchantGalaxyOrderValidateAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyOrderValidateResponse
}

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

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

type AlitripMerchantGalaxyOrderValidateRequest

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

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

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

func NewAlitripMerchantGalaxyOrderValidateRequest

func NewAlitripMerchantGalaxyOrderValidateRequest() *AlitripMerchantGalaxyOrderValidateRequest

初始化AlitripMerchantGalaxyOrderValidateRequest对象

func (AlitripMerchantGalaxyOrderValidateRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyOrderValidateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyOrderValidateRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyOrderValidateRequest) GetToken

Token Getter

func (AlitripMerchantGalaxyOrderValidateRequest) GetValidateOrderParam

ValidateOrderParam Getter

func (*AlitripMerchantGalaxyOrderValidateRequest) SetTenantKey

func (r *AlitripMerchantGalaxyOrderValidateRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyOrderValidateRequest) SetToken

Token Setter 用户标识

func (*AlitripMerchantGalaxyOrderValidateRequest) SetValidateOrderParam

func (r *AlitripMerchantGalaxyOrderValidateRequest) SetValidateOrderParam(validateOrderParam *ValidateOrderParam) error

ValidateOrderParam Setter 试单参数

type AlitripMerchantGalaxyOrderValidateResponse

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

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

type AlitripMerchantGalaxyPaymentParamQueryAPIResponse

type AlitripMerchantGalaxyPaymentParamQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyPaymentParamQueryResponse
}

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

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

type AlitripMerchantGalaxyPaymentParamQueryRequest

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

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

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

func NewAlitripMerchantGalaxyPaymentParamQueryRequest

func NewAlitripMerchantGalaxyPaymentParamQueryRequest() *AlitripMerchantGalaxyPaymentParamQueryRequest

初始化AlitripMerchantGalaxyPaymentParamQueryRequest对象

func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetOrderId

OrderId Getter

func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetTenantKey

TenantKey Getter

func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetToken

Token Getter

func (*AlitripMerchantGalaxyPaymentParamQueryRequest) SetOrderId

OrderId Setter 订单编号

func (*AlitripMerchantGalaxyPaymentParamQueryRequest) SetTenantKey

func (r *AlitripMerchantGalaxyPaymentParamQueryRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

func (*AlitripMerchantGalaxyPaymentParamQueryRequest) SetToken

Token Setter 用户校验token

type AlitripMerchantGalaxyPaymentParamQueryResponse

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

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

type AlitripMerchantGalaxyProviderMemberQueryAPIResponse

type AlitripMerchantGalaxyProviderMemberQueryAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyProviderMemberQueryResponse
}

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

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

type AlitripMerchantGalaxyProviderMemberQueryRequest

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

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

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

func NewAlitripMerchantGalaxyProviderMemberQueryRequest

func NewAlitripMerchantGalaxyProviderMemberQueryRequest() *AlitripMerchantGalaxyProviderMemberQueryRequest

初始化AlitripMerchantGalaxyProviderMemberQueryRequest对象

func (AlitripMerchantGalaxyProviderMemberQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyProviderMemberQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyProviderMemberQueryRequest) GetQueryMemberParam

QueryMemberParam Getter

func (AlitripMerchantGalaxyProviderMemberQueryRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyProviderMemberQueryRequest) SetQueryMemberParam

func (r *AlitripMerchantGalaxyProviderMemberQueryRequest) SetQueryMemberParam(queryMemberParam *QueryMemberParam) error

QueryMemberParam Setter 查询参数

func (*AlitripMerchantGalaxyProviderMemberQueryRequest) SetTenantKey

TenantKey Setter 租户id

type AlitripMerchantGalaxyProviderMemberQueryResponse

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

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

type AlitripMerchantGalaxyShareGetAPIResponse

type AlitripMerchantGalaxyShareGetAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyShareGetResponse
}

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

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

type AlitripMerchantGalaxyShareGetRequest

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

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

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

func NewAlitripMerchantGalaxyShareGetRequest

func NewAlitripMerchantGalaxyShareGetRequest() *AlitripMerchantGalaxyShareGetRequest

初始化AlitripMerchantGalaxyShareGetRequest对象

func (AlitripMerchantGalaxyShareGetRequest) GetApiMethodName

func (r AlitripMerchantGalaxyShareGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyShareGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyShareGetRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyShareGetRequest) SetTenantKey

func (r *AlitripMerchantGalaxyShareGetRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户ID

type AlitripMerchantGalaxyShareGetResponse

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

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

type AlitripMerchantGalaxyWechatInfoAPIResponse

type AlitripMerchantGalaxyWechatInfoAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyWechatInfoResponse
}

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

获取微信用户的openId和unionId

type AlitripMerchantGalaxyWechatInfoRequest

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

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

获取微信用户的openId和unionId

func NewAlitripMerchantGalaxyWechatInfoRequest

func NewAlitripMerchantGalaxyWechatInfoRequest() *AlitripMerchantGalaxyWechatInfoRequest

初始化AlitripMerchantGalaxyWechatInfoRequest对象

func (AlitripMerchantGalaxyWechatInfoRequest) GetApiMethodName

func (r AlitripMerchantGalaxyWechatInfoRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyWechatInfoRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyWechatInfoRequest) GetCode

Code Getter

func (AlitripMerchantGalaxyWechatInfoRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyWechatInfoRequest) SetCode

Code Setter 微信小程序获取的code

func (*AlitripMerchantGalaxyWechatInfoRequest) SetTenantKey

func (r *AlitripMerchantGalaxyWechatInfoRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户的id

type AlitripMerchantGalaxyWechatInfoResponse

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

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

type AlitripMerchantGalaxyWechatLoginAPIResponse

type AlitripMerchantGalaxyWechatLoginAPIResponse struct {
	model.CommonResponse
	AlitripMerchantGalaxyWechatLoginResponse
}

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

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

type AlitripMerchantGalaxyWechatLoginRequest

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

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

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

func NewAlitripMerchantGalaxyWechatLoginRequest

func NewAlitripMerchantGalaxyWechatLoginRequest() *AlitripMerchantGalaxyWechatLoginRequest

初始化AlitripMerchantGalaxyWechatLoginRequest对象

func (AlitripMerchantGalaxyWechatLoginRequest) GetApiMethodName

func (r AlitripMerchantGalaxyWechatLoginRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlitripMerchantGalaxyWechatLoginRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AlitripMerchantGalaxyWechatLoginRequest) GetLoginParam

LoginParam Getter

func (AlitripMerchantGalaxyWechatLoginRequest) GetTenantKey

TenantKey Getter

func (*AlitripMerchantGalaxyWechatLoginRequest) SetLoginParam

func (r *AlitripMerchantGalaxyWechatLoginRequest) SetLoginParam(loginParam *LoginParam) error

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

func (*AlitripMerchantGalaxyWechatLoginRequest) SetTenantKey

func (r *AlitripMerchantGalaxyWechatLoginRequest) SetTenantKey(tenantKey string) error

TenantKey Setter 租户身份信息

type AlitripMerchantGalaxyWechatLoginResponse

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

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

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"`
	// 子品牌编码
	SubType int64 `json:"sub_type,omitempty" xml:"sub_type,omitempty"`
	// 品牌编码
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,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 {
	// 早餐名称
	BreakfastName string `json:"breakfast_name,omitempty" xml:"breakfast_name,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"`
	// 会员可见等级
	MemberLevel string `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 外部酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,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"`
	// 酒店名称
	HotelName string `json:"hotel_name,omitempty" xml:"hotel_name,omitempty"`
	// 入住时间
	CheckInDate string `json:"check_in_date,omitempty" xml:"check_in_date,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"`
	// 支付渠道
	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"`
	// 多房间参数
	GuestByRoomDtos []GuestByRoomDto `json:"guest_by_room_dtos,omitempty" xml:"guest_by_room_dtos>guest_by_room_dto,omitempty"`
	// 活动标识字段
	OfferSourceChannel string `json:"offer_source_channel,omitempty" xml:"offer_source_channel,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 {
	// 入住人名
	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"`
	// 儿童年龄数组
	ChildAges []int64 `json:"child_ages,omitempty" xml:"child_ages>int64,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"`
	// 地图
	PositionType *model.File `json:"position_type,omitempty" xml:"position_type,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"`
	// 标准id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 城市名称
	CityCn string `json:"city_cn,omitempty" xml:"city_cn,omitempty"`
	// 城市code
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 城市名称首字母
	CityPyHead string `json:"city_py_head,omitempty" xml:"city_py_head,omitempty"`
}

HotelContentDto

type HotelDetailInfoDto

type HotelDetailInfoDto struct {
	// 房间数
	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"`
	// 开业时间
	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"`
	// 娱乐设施图片
	FunFacilitys []string `json:"fun_facilitys,omitempty" xml:"fun_facilitys>string,omitempty"`
	// 国别
	Domestic *model.File `json:"domestic,omitempty" xml:"domestic,omitempty"`
	// 楼层信息
	Floors string `json:"floors,omitempty" xml:"floors,omitempty"`
	// 省份
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 国家
	CountryCode int64 `json:"country_code,omitempty" xml:"country_code,omitempty"`
	// 市
	CityCn string `json:"city_cn,omitempty" xml:"city_cn,omitempty"`
	// 传真
	Fax string `json:"fax,omitempty" xml:"fax,omitempty"`
	// 酒店设施
	HotelFacilitys []string `json:"hotel_facilitys,omitempty" xml:"hotel_facilitys>string,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"`
	// 省份code
	ProvinceCode int64 `json:"province_code,omitempty" xml:"province_code,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"`
	// 酒店服务
	HotelServices []string `json:"hotel_services,omitempty" xml:"hotel_services>string,omitempty"`
	// 最晚离店时间
	CheckOut string `json:"check_out,omitempty" xml:"check_out,omitempty"`
	// 国家中文名
	CountryCn string `json:"country_cn,omitempty" xml:"country_cn,omitempty"`
	// 0-营业中;-1,筹建中;-2,暂停营业;-3,已停业;-4,失效,-5 ,需电话咨询;默认为0
	Status *model.File `json:"status,omitempty" xml:"status,omitempty"`
	// 评分
	RatingAverage string `json:"rating_average,omitempty" xml:"rating_average,omitempty"`
	// 国家英文名
	CountryEn string `json:"country_en,omitempty" xml:"country_en,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"`
}

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"`
	// 标准酒店id
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 会员等级
	MemberLevel string `json:"member_level,omitempty" xml:"member_level,omitempty"`
	// 成人数量
	AdultNum int64 `json:"adult_num,omitempty" xml:"adult_num,omitempty"`
	// 儿童年龄数组
	ChildrenAges string `json:"children_ages,omitempty" xml:"children_ages,omitempty"`
	// 连住几晚
	FewNights int64 `json:"few_nights,omitempty" xml:"few_nights,omitempty"`
	// 快筛选项
	RoomType string `json:"room_type,omitempty" xml:"room_type,omitempty"`
	// 用户登录信息
	Token string `json:"token,omitempty" xml:"token,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 {
	// 品牌名字
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 地址详情
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 经纬度类型 0-高德 1-google
	PositionType int64 `json:"position_type,omitempty" xml:"position_type,omitempty"`
	// 酒店设施
	HotelFacilityList []string `json:"hotel_facility_list,omitempty" xml:"hotel_facility_list>string,omitempty"`
	// 酒店星级
	Star string `json:"star,omitempty" xml:"star,omitempty"`
	// 标准库id
	Shid int64 `json:"shid,omitempty" xml:"shid,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"`
	// 娱乐设施
	FunFacilityList []string `json:"fun_facility_list,omitempty" xml:"fun_facility_list>string,omitempty"`
	// 品牌头图
	BrandUrl string `json:"brand_url,omitempty" xml:"brand_url,omitempty"`
	// 酒店商品的最低价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 酒店服务
	HotelServiceList []string `json:"hotel_service_list,omitempty" xml:"hotel_service_list>string,omitempty"`
	// 城市中文名
	CityCn string `json:"city_cn,omitempty" xml:"city_cn,omitempty"`
	// 酒店id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 设施icon
	FacilityList []FacilityDto `json:"facility_list,omitempty" xml:"facility_list>facility_dto,omitempty"`
	// 国家中文名
	CountryCn string `json:"country_cn,omitempty" xml:"country_cn,omitempty"`
	// 最低价格房型名
	RoomNameCn string `json:"room_name_cn,omitempty" xml:"room_name_cn,omitempty"`
	// 是否满房 0未满房1满房
	Full bool `json:"full,omitempty" xml:"full,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 品牌code
	BrandCode string `json:"brand_code,omitempty" xml:"brand_code,omitempty"`
	// 是否热门
	Hot int64 `json:"hot,omitempty" xml:"hot,omitempty"`
}

HotelListSearchDto

type HotelPictureDto

type HotelPictureDto struct {
	// 类型名称
	TypeName string `json:"type_name,omitempty" xml:"type_name,omitempty"`
	// 类型编码
	TypeCode string `json:"type_code,omitempty" xml:"type_code,omitempty"`
	// 图片集合
	PictureAddress []string `json:"picture_address,omitempty" xml:"picture_address>string,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 {
	// 最高价格
	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"`
	// 星级筛选
	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"`
	// 每页数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 升降序 0降序 1升序
	Dir int64 `json:"dir,omitempty" xml:"dir,omitempty"`
	// 儿童年龄
	ChildrenAges string `json:"children_ages,omitempty" xml:"children_ages,omitempty"`
	// 最低价格
	PriceMin int64 `json:"price_min,omitempty" xml:"price_min,omitempty"`
	// 入店时间
	CheckIn string `json:"check_in,omitempty" xml:"check_in,omitempty"`
	// 当前页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,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"`
}

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"`
	// 是否是老版本
	OldVersion bool `json:"old_version,omitempty" xml:"old_version,omitempty"`
	// 新版本用户信息
	NewUserinfo *NewUserInfo `json:"new_userinfo,omitempty" xml:"new_userinfo,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"`
	// 会员卡ID
	Id int64 `json:"id,omitempty" xml:"id,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"`
}

MemberCardDto

type MemberDto

type MemberDto struct {
	// 用户基本信息
	MemberBaseInfo *MemberBaseInfoDto `json:"member_base_info,omitempty" xml:"member_base_info,omitempty"`
	// 手机号
	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"`
	// 是否是会员
	IsMember bool `json:"is_member,omitempty" xml:"is_member,omitempty"`
	// 手机前缀
	PhonePri string `json:"phone_pri,omitempty" xml:"phone_pri,omitempty"`
	// 会员卡信息
	CardBaseInfo *CardBaseInfoDto `json:"card_base_info,omitempty" xml:"card_base_info,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"`
}

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"`
	// 是否接受协议
	AcceptedTandC bool `json:"accepted_tand_c,omitempty" xml:"accepted_tand_c,omitempty"`
	// 用户手机号
	PhoneNum string `json:"phone_num,omitempty" xml:"phone_num,omitempty"`
	// 是否接受消息推送
	Subscription bool `json:"subscription,omitempty" xml:"subscription,omitempty"`
	// 用户邮箱
	Email string `json:"email,omitempty" xml:"email,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"`
	// 性别
	Gender int64 `json:"gender,omitempty" xml:"gender,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"`
}

NewUserInfo

type OfferDetailsDto

type OfferDetailsDto struct {
	// offerId
	OfferId int64 `json:"offer_id,omitempty" xml:"offer_id,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"`
	// 关联品牌
	JoinBrands []JoinBrandDto `json:"join_brands,omitempty" xml:"join_brands>join_brand_dto,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"`
	// 无线端图片
	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"`
}

OfferDetailsDto

type OrderDetailDto

type OrderDetailDto struct {
	// 酒店电话
	HotelPhone string `json:"hotel_phone,omitempty" xml:"hotel_phone,omitempty"`
	// 入住人数
	PersonNum int64 `json:"person_num,omitempty" xml:"person_num,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"`
	// 入住天数
	Days int64 `json:"days,omitempty" xml:"days,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"`
	// 房间数量
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,omitempty"`
	// 价格名称
	RpName string `json:"rp_name,omitempty" xml:"rp_name,omitempty"`
	// 最大入住人数
	MaxCheckInNumber int64 `json:"max_check_in_number,omitempty" xml:"max_check_in_number,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"`
	// 费用明细对象
	PriceDetailDto *PriceDetailDto `json:"price_detail_dto,omitempty" xml:"price_detail_dto,omitempty"`
	// 货币
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 总价格
	TotalPrice string `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 支付类型
	PayType int64 `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 取消描述
	CancelDec string `json:"cancel_dec,omitempty" xml:"cancel_dec,omitempty"`
	// 取消政策规则
	CancelRule int64 `json:"cancel_rule,omitempty" xml:"cancel_rule,omitempty"`
	// 支付剩余时间
	PayRemainTime int64 `json:"pay_remain_time,omitempty" xml:"pay_remain_time,omitempty"`
	// 订单状态
	OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"`
	// 酒店房型信息
	RoomDetailDto *RoomDetailDto `json:"room_detail_dto,omitempty" xml:"room_detail_dto,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"`
	// 卖家价格ID
	OutRateId int64 `json:"out_rate_id,omitempty" xml:"out_rate_id,omitempty"`
	// 酒店地址描述
	HotelAddress string `json:"hotel_address,omitempty" xml:"hotel_address,omitempty"`
	// 退款手续费
	RefundCostAmount string `json:"refund_cost_amount,omitempty" xml:"refund_cost_amount,omitempty"`
	// 成人总数
	AdultNumber int64 `json:"adult_number,omitempty" xml:"adult_number,omitempty"`
	// 儿童总数
	ChildrenNumber int64 `json:"children_number,omitempty" xml:"children_number,omitempty"`
	// 每个房间入住人信息
	GuestByRoomDtos []GuestByRoomDto `json:"guest_by_room_dtos,omitempty" xml:"guest_by_room_dtos>guest_by_room_dto,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"`
}

OrderDetailDto

type OrderDto

type OrderDto struct {
	// 床型名称
	BedName string `json:"bed_name,omitempty" xml:"bed_name,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 支付剩余时间
	PayRemainTime int64 `json:"pay_remain_time,omitempty" xml:"pay_remain_time,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"`
	// 房间数量
	RoomNumber int64 `json:"room_number,omitempty" xml:"room_number,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
	Shid int64 `json:"shid,omitempty" xml:"shid,omitempty"`
	// 酒店外部id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 成人数量
	AdultNumber int64 `json:"adult_number,omitempty" xml:"adult_number,omitempty"`
	// 儿童数量
	ChildrenNumber int64 `json:"children_number,omitempty" xml:"children_number,omitempty"`
}

OrderDto

type OrderPayDTO

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 {
	// 当前页的数量
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 是否有下一页
	HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
	// 当前页
	PageNo int64 `json:"page_no,omitempty" xml:"page_no,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 每页的数量
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 总页数
	TotalPageNum int64 `json:"total_page_num,omitempty" xml:"total_page_num,omitempty"`
	// 总数量
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 返回类型
	Contents []HotelListSearchDto `json:"contents,omitempty" xml:"contents>hotel_list_search_dto,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,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"`
	// 预订结果
	BookResult bool `json:"book_result,omitempty" xml:"book_result,omitempty"`
	// 订单编号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"`
}

PayParamResult

type PriceDetailDto

type PriceDetailDto struct {
	// 总价格
	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"`
	// 每日价格
	DailyPrices []DailyPrice `json:"daily_prices,omitempty" xml:"daily_prices>daily_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 {
	// 是否担保商品
	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"`
	// 税费 单位元
	TaxAndFeeToString string `json:"tax_and_fee_to_string,omitempty" xml:"tax_and_fee_to_string,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"`
	// 含税价 均价 单位元
	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"`
	// 净价均价 不含税
	RatePrice int64 `json:"rate_price,omitempty" xml:"rate_price,omitempty"`
	// 净价均价 不含税 单位元
	RatePriceToString string `json:"rate_price_to_string,omitempty" xml:"rate_price_to_string,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"`
	// 会员等级
	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"`
	// 表示当前价格允许几人入住
	AllowPersonNumber int64 `json:"allow_person_number,omitempty" xml:"allow_person_number,omitempty"`
	// 早餐信息 -1 含早、0无早、1单早、2、双早
	Breakfasts []string `json:"breakfasts,omitempty" xml:"breakfasts>string,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"`
	// 是否售空
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 详情页会员权益标签
	HotelDinamicLabels []HotelDinamicLabelDto `json:"hotel_dinamic_labels,omitempty" xml:"hotel_dinamic_labels>hotel_dinamic_label_dto,omitempty"`
	// 库存数量
	StockNumberDes string `json:"stock_number_des,omitempty" xml:"stock_number_des,omitempty"`
	// 是否是会员房
	MemberRoom bool `json:"member_room,omitempty" xml:"member_room,omitempty"`
	// 是否是副会员房
	MemberRoomV2 bool `json:"member_room_v2,omitempty" xml:"member_room_v2,omitempty"`
	// 首住标签
	FirstLive string `json:"first_live,omitempty" xml:"first_live,omitempty"`
	// 副会员商品等级
	MemberLevelV2 string `json:"member_level_v2,omitempty" xml:"member_level_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"`
	// 是否订阅信息
	Subscription bool `json:"subscription,omitempty" xml:"subscription,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"`
	// 是否接受协议
	AcceptedTandC bool `json:"accepted_tand_c,omitempty" xml:"accepted_tand_c,omitempty"`
	// 邮箱(加密)
	Email string `json:"email,omitempty" xml:"email,omitempty"`
	// 追踪信息
	PromoteInfo string `json:"promote_info,omitempty" xml:"promote_info,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 Response

type Response struct {
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 返回结果
	Contents []AddressSearchDto `json:"contents,omitempty" xml:"contents>address_search_dto,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回城市列表
	Content *AddressListSearchDto `json:"content,omitempty" xml:"content,omitempty"`
	// 登出是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
	// 是否注册成功
	RegisterResult bool `json:"register_result,omitempty" xml:"register_result,omitempty"`
	// token
	Token string `json:"token,omitempty" xml:"token,omitempty"`
	// offer列表
	Offers []OfferDetailsDto `json:"offers,omitempty" xml:"offers>offer_details_dto,omitempty"`
	// 查询结果
	OrderDtos []OrderDto `json:"order_dtos,omitempty" xml:"order_dtos>order_dto,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"`
	// 是否有下一页
	HasNextPage bool `json:"has_next_page,omitempty" xml:"has_next_page,omitempty"`
	// 总页数
	TotalPageNum int64 `json:"total_page_num,omitempty" xml:"total_page_num,omitempty"`
	// 结果总数
	TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"`
	// 返回结果
	ProviderMemberVo *ProviderMemberVo `json:"provider_member_vo,omitempty" xml:"provider_member_vo,omitempty"`
}

Response

type RoomDetailDto

type RoomDetailDto struct {
	// 面积
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 最低价单位分
	LowestPrice int64 `json:"lowest_price,omitempty" xml:"lowest_price,omitempty"`
	// 最低价单位元
	LowestPriceToString string `json:"lowest_price_to_string,omitempty" xml:"lowest_price_to_string,omitempty"`
	// 床型详情
	RoomTypeBedInfo *RoomTypeBedInfoDto `json:"room_type_bed_info,omitempty" xml:"room_type_bed_info,omitempty"`
	// 入住人数图标
	MaxOccupancyIcon string `json:"max_occupancy_icon,omitempty" xml:"max_occupancy_icon,omitempty"`
	// 货币类型
	PriceType string `json:"price_type,omitempty" xml:"price_type,omitempty"`
	// 价格信息
	PriceInfos []PriceInfoDto `json:"price_infos,omitempty" xml:"price_infos>price_info_dto,omitempty"`
	// 面积图标
	AreaIcon string `json:"area_icon,omitempty" xml:"area_icon,omitempty"`
	// 房型名称
	RoomName string `json:"room_name,omitempty" xml:"room_name,omitempty"`
	// 房型id
	RoomId int64 `json:"room_id,omitempty" xml:"room_id,omitempty"`
	// 宽带服务
	NetworkService string `json:"network_service,omitempty" xml:"network_service,omitempty"`
	// 床型图标
	BedTypeIcon string `json:"bed_type_icon,omitempty" xml:"bed_type_icon,omitempty"`
	// 是否可加床
	AddBed int64 `json:"add_bed,omitempty" xml:"add_bed,omitempty"`
	// 最大入住人数
	MaxOccupancy int64 `json:"max_occupancy,omitempty" xml:"max_occupancy,omitempty"`
	// 房型图片
	Pics []string `json:"pics,omitempty" xml:"pics>string,omitempty"`
	// 房型设施
	Facilitys []RoomPropertiesDto `json:"facilitys,omitempty" xml:"facilitys>room_properties_dto,omitempty"`
	// 是否满房
	Full bool `json:"full,omitempty" xml:"full,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 窗型
	WindowType string `json:"window_type,omitempty" xml:"window_type,omitempty"`
	// 酒店设施
	RoomFacilities []RoomPropertiesDto `json:"room_facilities,omitempty" xml:"room_facilities>room_properties_dto,omitempty"`
	// 最大人数
	MaxCheckInNumber int64 `json:"max_check_in_number,omitempty" xml:"max_check_in_number,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"`
	// 房间图片列表
	PictureList []string `json:"picture_list,omitempty" xml:"picture_list>string,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 {
	// 价格编号
	RateId int64 `json:"rate_id,omitempty" xml:"rate_id,omitempty"`
	// 总价格
	TotalPrice string `json:"total_price,omitempty" xml:"total_price,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"`
	// 离店时间
	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
	RpId int64 `json:"rp_id,omitempty" xml:"rp_id,omitempty"`
	// 飞猪外部房型id
	OutRoomId int64 `json:"out_room_id,omitempty" xml:"out_room_id,omitempty"`
	// 外部酒店id
	HotelId string `json:"hotel_id,omitempty" xml:"hotel_id,omitempty"`
	// 内部酒店id
	Hid int64 `json:"hid,omitempty" xml:"hid,omitempty"`
	// 房间类型
	GuestByRoomDtos []GuestByRoomDto `json:"guest_by_room_dtos,omitempty" xml:"guest_by_room_dtos>guest_by_room_dto,omitempty"`
}

ValidateOrderParam

type ValidateOrderVo

type ValidateOrderVo struct {
	// 实际需要支付金额,含税
	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"`
	// 价格发生变化
	IsAmountChanged bool `json:"is_amount_changed,omitempty" xml:"is_amount_changed,omitempty"`
	// 每日价格
	DailyPriceList []DailyPrice `json:"daily_price_list,omitempty" xml:"daily_price_list>daily_price,omitempty"`
	// 订单号
	OrderCode string `json:"order_code,omitempty" xml:"order_code,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