Documentation
¶
Index ¶
- type AddressLetterDto
- type AddressListSearchDto
- type AddressSearchDto
- type AlitripMerchantGalaxyBrandSearchAPIResponse
- type AlitripMerchantGalaxyBrandSearchRequest
- func (r AlitripMerchantGalaxyBrandSearchRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyBrandSearchRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyBrandSearchRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyBrandSearchRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyBrandSearchResponse
- type AlitripMerchantGalaxyBrandSearchResult
- type AlitripMerchantGalaxyCityLikeAPIResponse
- type AlitripMerchantGalaxyCityLikeRequest
- func (r AlitripMerchantGalaxyCityLikeRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyCityLikeRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyCityLikeRequest) GetCityName() string
- func (r AlitripMerchantGalaxyCityLikeRequest) GetDomestic() int64
- func (r AlitripMerchantGalaxyCityLikeRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyCityLikeRequest) SetCityName(cityName string) error
- func (r *AlitripMerchantGalaxyCityLikeRequest) SetDomestic(domestic int64) error
- func (r *AlitripMerchantGalaxyCityLikeRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyCityLikeResponse
- type AlitripMerchantGalaxyCityListAPIResponse
- type AlitripMerchantGalaxyCityListRequest
- func (r AlitripMerchantGalaxyCityListRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyCityListRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyCityListRequest) GetDomestic() int64
- func (r AlitripMerchantGalaxyCityListRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyCityListRequest) SetDomestic(domestic int64) error
- func (r *AlitripMerchantGalaxyCityListRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyCityListResponse
- type AlitripMerchantGalaxyHotelDetailSearchAPIResponse
- type AlitripMerchantGalaxyHotelDetailSearchRequest
- func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetHotelDetailsParam() *HotelDetailsParam
- func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyHotelDetailSearchRequest) SetHotelDetailsParam(hotelDetailsParam *HotelDetailsParam) error
- func (r *AlitripMerchantGalaxyHotelDetailSearchRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyHotelDetailSearchResponse
- type AlitripMerchantGalaxyHotelDetailSearchResult
- type AlitripMerchantGalaxyHotelListSearchAPIResponse
- type AlitripMerchantGalaxyHotelListSearchRequest
- func (r AlitripMerchantGalaxyHotelListSearchRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyHotelListSearchRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyHotelListSearchRequest) GetListSearchParam() *ListSearchParam
- func (r AlitripMerchantGalaxyHotelListSearchRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyHotelListSearchRequest) SetListSearchParam(listSearchParam *ListSearchParam) error
- func (r *AlitripMerchantGalaxyHotelListSearchRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyHotelListSearchResponse
- type AlitripMerchantGalaxyMemberCardAPIResponse
- type AlitripMerchantGalaxyMemberCardRequest
- func (r AlitripMerchantGalaxyMemberCardRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyMemberCardRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyMemberCardRequest) GetCardType() string
- func (r AlitripMerchantGalaxyMemberCardRequest) GetFliggyLevel() string
- func (r AlitripMerchantGalaxyMemberCardRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyMemberCardRequest) SetCardType(cardType string) error
- func (r *AlitripMerchantGalaxyMemberCardRequest) SetFliggyLevel(fliggyLevel string) error
- func (r *AlitripMerchantGalaxyMemberCardRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyMemberCardResponse
- type AlitripMerchantGalaxyMemberLogoutAPIResponse
- type AlitripMerchantGalaxyMemberLogoutRequest
- func (r AlitripMerchantGalaxyMemberLogoutRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyMemberLogoutRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyMemberLogoutRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyMemberLogoutRequest) GetToken() string
- func (r *AlitripMerchantGalaxyMemberLogoutRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyMemberLogoutRequest) SetToken(token string) error
- type AlitripMerchantGalaxyMemberLogoutResponse
- type AlitripMerchantGalaxyMemberProviderRegisterAPIResponse
- type AlitripMerchantGalaxyMemberProviderRegisterRequest
- func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetProviderMemberParam() *ProviderMemberParam
- func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyMemberProviderRegisterRequest) SetProviderMemberParam(providerMemberParam *ProviderMemberParam) error
- func (r *AlitripMerchantGalaxyMemberProviderRegisterRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyMemberProviderRegisterResponse
- type AlitripMerchantGalaxyMemberQueryAPIResponse
- type AlitripMerchantGalaxyMemberQueryRequest
- func (r AlitripMerchantGalaxyMemberQueryRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyMemberQueryRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyMemberQueryRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyMemberQueryRequest) GetToken() string
- func (r *AlitripMerchantGalaxyMemberQueryRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyMemberQueryRequest) SetToken(token string) error
- type AlitripMerchantGalaxyMemberQueryResponse
- type AlitripMerchantGalaxyMemberRegisterAPIResponse
- type AlitripMerchantGalaxyMemberRegisterRequest
- func (r AlitripMerchantGalaxyMemberRegisterRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyMemberRegisterRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyMemberRegisterRequest) GetMemberParam() *MemberParam
- func (r AlitripMerchantGalaxyMemberRegisterRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyMemberRegisterRequest) SetMemberParam(memberParam *MemberParam) error
- func (r *AlitripMerchantGalaxyMemberRegisterRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyMemberRegisterResponse
- type AlitripMerchantGalaxyMemberTokenAPIResponse
- type AlitripMerchantGalaxyMemberTokenRequest
- func (r AlitripMerchantGalaxyMemberTokenRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyMemberTokenRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyMemberTokenRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyMemberTokenRequest) GetToken() string
- func (r *AlitripMerchantGalaxyMemberTokenRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyMemberTokenRequest) SetToken(token string) error
- type AlitripMerchantGalaxyMemberTokenResponse
- type AlitripMerchantGalaxyOfferQueryAPIResponse
- type AlitripMerchantGalaxyOfferQueryRequest
- func (r AlitripMerchantGalaxyOfferQueryRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyOfferQueryRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyOfferQueryRequest) GetOfferChannel() string
- func (r AlitripMerchantGalaxyOfferQueryRequest) GetOfferIds() string
- func (r AlitripMerchantGalaxyOfferQueryRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyOfferQueryRequest) SetOfferChannel(offerChannel string) error
- func (r *AlitripMerchantGalaxyOfferQueryRequest) SetOfferIds(offerIds string) error
- func (r *AlitripMerchantGalaxyOfferQueryRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyOfferQueryResponse
- type AlitripMerchantGalaxyOrderBookAPIResponse
- type AlitripMerchantGalaxyOrderBookRequest
- func (r AlitripMerchantGalaxyOrderBookRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyOrderBookRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyOrderBookRequest) GetOrderCode() string
- func (r AlitripMerchantGalaxyOrderBookRequest) GetOrderParam() *CreateOrderParam
- func (r AlitripMerchantGalaxyOrderBookRequest) GetSourceQuery() string
- func (r AlitripMerchantGalaxyOrderBookRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyOrderBookRequest) GetToken() string
- func (r *AlitripMerchantGalaxyOrderBookRequest) SetOrderCode(orderCode string) error
- func (r *AlitripMerchantGalaxyOrderBookRequest) SetOrderParam(orderParam *CreateOrderParam) error
- func (r *AlitripMerchantGalaxyOrderBookRequest) SetSourceQuery(sourceQuery string) error
- func (r *AlitripMerchantGalaxyOrderBookRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyOrderBookRequest) SetToken(token string) error
- type AlitripMerchantGalaxyOrderBookResponse
- type AlitripMerchantGalaxyOrderCancelAPIResponse
- type AlitripMerchantGalaxyOrderCancelRequest
- func (r AlitripMerchantGalaxyOrderCancelRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyOrderCancelRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyOrderCancelRequest) GetOrderId() string
- func (r AlitripMerchantGalaxyOrderCancelRequest) GetReason() string
- func (r AlitripMerchantGalaxyOrderCancelRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyOrderCancelRequest) GetToken() string
- func (r *AlitripMerchantGalaxyOrderCancelRequest) SetOrderId(orderId string) error
- func (r *AlitripMerchantGalaxyOrderCancelRequest) SetReason(reason string) error
- func (r *AlitripMerchantGalaxyOrderCancelRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyOrderCancelRequest) SetToken(token string) error
- type AlitripMerchantGalaxyOrderCancelResponse
- type AlitripMerchantGalaxyOrderListQueryAPIResponse
- type AlitripMerchantGalaxyOrderListQueryRequest
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetEndTime() string
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetOrderStatus() string
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetPage() int64
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetRow() int64
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetStartTime() string
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyOrderListQueryRequest) GetToken() string
- func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetEndTime(endTime string) error
- func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetOrderStatus(orderStatus string) error
- func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetPage(page int64) error
- func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetRow(row int64) error
- func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetStartTime(startTime string) error
- func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetToken(token string) error
- type AlitripMerchantGalaxyOrderListQueryResponse
- type AlitripMerchantGalaxyOrderQueryAPIResponse
- type AlitripMerchantGalaxyOrderQueryRequest
- func (r AlitripMerchantGalaxyOrderQueryRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyOrderQueryRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyOrderQueryRequest) GetOrderId() string
- func (r AlitripMerchantGalaxyOrderQueryRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyOrderQueryRequest) GetToken() string
- func (r *AlitripMerchantGalaxyOrderQueryRequest) SetOrderId(orderId string) error
- func (r *AlitripMerchantGalaxyOrderQueryRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyOrderQueryRequest) SetToken(token string) error
- type AlitripMerchantGalaxyOrderQueryResponse
- type AlitripMerchantGalaxyOrderValidateAPIResponse
- type AlitripMerchantGalaxyOrderValidateRequest
- func (r AlitripMerchantGalaxyOrderValidateRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyOrderValidateRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyOrderValidateRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyOrderValidateRequest) GetToken() string
- func (r AlitripMerchantGalaxyOrderValidateRequest) GetValidateOrderParam() *ValidateOrderParam
- func (r *AlitripMerchantGalaxyOrderValidateRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyOrderValidateRequest) SetToken(token string) error
- func (r *AlitripMerchantGalaxyOrderValidateRequest) SetValidateOrderParam(validateOrderParam *ValidateOrderParam) error
- type AlitripMerchantGalaxyOrderValidateResponse
- type AlitripMerchantGalaxyPaymentParamQueryAPIResponse
- type AlitripMerchantGalaxyPaymentParamQueryRequest
- func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetOrderId() string
- func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetTenantKey() string
- func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetToken() string
- func (r *AlitripMerchantGalaxyPaymentParamQueryRequest) SetOrderId(orderId string) error
- func (r *AlitripMerchantGalaxyPaymentParamQueryRequest) SetTenantKey(tenantKey string) error
- func (r *AlitripMerchantGalaxyPaymentParamQueryRequest) SetToken(token string) error
- type AlitripMerchantGalaxyPaymentParamQueryResponse
- type AlitripMerchantGalaxyProviderMemberQueryAPIResponse
- type AlitripMerchantGalaxyProviderMemberQueryRequest
- func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetQueryMemberParam() *QueryMemberParam
- func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyProviderMemberQueryRequest) SetQueryMemberParam(queryMemberParam *QueryMemberParam) error
- func (r *AlitripMerchantGalaxyProviderMemberQueryRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyProviderMemberQueryResponse
- type AlitripMerchantGalaxyShareGetAPIResponse
- type AlitripMerchantGalaxyShareGetRequest
- type AlitripMerchantGalaxyShareGetResponse
- type AlitripMerchantGalaxyWechatInfoAPIResponse
- type AlitripMerchantGalaxyWechatInfoRequest
- func (r AlitripMerchantGalaxyWechatInfoRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyWechatInfoRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyWechatInfoRequest) GetCode() string
- func (r AlitripMerchantGalaxyWechatInfoRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyWechatInfoRequest) SetCode(code string) error
- func (r *AlitripMerchantGalaxyWechatInfoRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyWechatInfoResponse
- type AlitripMerchantGalaxyWechatLoginAPIResponse
- type AlitripMerchantGalaxyWechatLoginRequest
- func (r AlitripMerchantGalaxyWechatLoginRequest) GetApiMethodName() string
- func (r AlitripMerchantGalaxyWechatLoginRequest) GetApiParams() url.Values
- func (r AlitripMerchantGalaxyWechatLoginRequest) GetLoginParam() *LoginParam
- func (r AlitripMerchantGalaxyWechatLoginRequest) GetTenantKey() string
- func (r *AlitripMerchantGalaxyWechatLoginRequest) SetLoginParam(loginParam *LoginParam) error
- func (r *AlitripMerchantGalaxyWechatLoginRequest) SetTenantKey(tenantKey string) error
- type AlitripMerchantGalaxyWechatLoginResponse
- type BrandListDto
- type CardBaseInfoDto
- type Content
- type CreateOrderParam
- type DailyPrice
- type FacilityDto
- type GuestByRoomDto
- type HotelContentDto
- type HotelDetailInfoDto
- type HotelDetailsParam
- type HotelDinamicLabelDto
- type HotelListSearchDto
- type HotelPictureDto
- type JoinBrandDto
- type ListSearchParam
- type LoginParam
- type MemberBaseInfoDto
- type MemberCardDto
- type MemberDto
- type MemberParam
- type MemberRights
- type NewUserInfo
- type OfferDetailsDto
- type OrderDetailDto
- type OrderDto
- type OrderPayDTO
- type PageableResponse
- type PayParamResult
- type PriceDetailDto
- type PriceInfoDto
- type ProviderMemberParam
- type ProviderMemberVo
- type QueryMemberParam
- type Response
- type RoomDetailDto
- type RoomPropertiesDto
- type RoomTypeBedInfoDto
- type ShareMaterialVo
- type ValidateOrderParam
- type ValidateOrderVo
- type WechatCodeResponse
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 ¶
func (r AlitripMerchantGalaxyBrandSearchRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyBrandSearchRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyBrandSearchRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyCityLikeRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyCityLikeRequest) GetCityName ¶
func (r AlitripMerchantGalaxyCityLikeRequest) GetCityName() string
CityName Getter
func (AlitripMerchantGalaxyCityLikeRequest) GetDomestic ¶
func (r AlitripMerchantGalaxyCityLikeRequest) GetDomestic() int64
Domestic Getter
func (AlitripMerchantGalaxyCityLikeRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyCityLikeRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyCityListRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyCityListRequest) GetDomestic ¶
func (r AlitripMerchantGalaxyCityListRequest) GetDomestic() int64
Domestic Getter
func (AlitripMerchantGalaxyCityListRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyCityListRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyHotelDetailSearchRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyHotelDetailSearchRequest) GetHotelDetailsParam ¶
func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetHotelDetailsParam() *HotelDetailsParam
HotelDetailsParam Getter
func (AlitripMerchantGalaxyHotelDetailSearchRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyHotelDetailSearchRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyHotelListSearchRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyHotelListSearchRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyHotelListSearchRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyHotelListSearchRequest) GetListSearchParam ¶
func (r AlitripMerchantGalaxyHotelListSearchRequest) GetListSearchParam() *ListSearchParam
ListSearchParam Getter
func (AlitripMerchantGalaxyHotelListSearchRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyHotelListSearchRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyMemberCardRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyMemberCardRequest) GetCardType ¶
func (r AlitripMerchantGalaxyMemberCardRequest) GetCardType() string
CardType Getter
func (AlitripMerchantGalaxyMemberCardRequest) GetFliggyLevel ¶
func (r AlitripMerchantGalaxyMemberCardRequest) GetFliggyLevel() string
FliggyLevel Getter
func (AlitripMerchantGalaxyMemberCardRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyMemberCardRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyMemberLogoutRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyMemberLogoutRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyMemberLogoutRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyMemberLogoutRequest) GetToken ¶
func (r AlitripMerchantGalaxyMemberLogoutRequest) GetToken() string
Token Getter
func (*AlitripMerchantGalaxyMemberLogoutRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyMemberLogoutRequest) SetTenantKey(tenantKey string) error
TenantKey Setter 租户信息
func (*AlitripMerchantGalaxyMemberLogoutRequest) SetToken ¶
func (r *AlitripMerchantGalaxyMemberLogoutRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyMemberProviderRegisterRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyMemberProviderRegisterRequest) GetProviderMemberParam ¶
func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetProviderMemberParam() *ProviderMemberParam
ProviderMemberParam Getter
func (AlitripMerchantGalaxyMemberProviderRegisterRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyMemberProviderRegisterRequest) GetTenantKey() string
TenantKey Getter
func (*AlitripMerchantGalaxyMemberProviderRegisterRequest) SetProviderMemberParam ¶
func (r *AlitripMerchantGalaxyMemberProviderRegisterRequest) SetProviderMemberParam(providerMemberParam *ProviderMemberParam) error
ProviderMemberParam Setter 注册入参
func (*AlitripMerchantGalaxyMemberProviderRegisterRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyMemberProviderRegisterRequest) SetTenantKey(tenantKey string) error
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 ¶
func (r AlitripMerchantGalaxyMemberQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyMemberQueryRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyMemberQueryRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyMemberQueryRequest) GetToken ¶
func (r AlitripMerchantGalaxyMemberQueryRequest) GetToken() string
Token Getter
func (*AlitripMerchantGalaxyMemberQueryRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyMemberQueryRequest) SetTenantKey(tenantKey string) error
TenantKey Setter 租户身份信息
func (*AlitripMerchantGalaxyMemberQueryRequest) SetToken ¶
func (r *AlitripMerchantGalaxyMemberQueryRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyMemberRegisterRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyMemberRegisterRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyMemberRegisterRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyMemberRegisterRequest) GetMemberParam ¶
func (r AlitripMerchantGalaxyMemberRegisterRequest) GetMemberParam() *MemberParam
MemberParam Getter
func (AlitripMerchantGalaxyMemberRegisterRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyMemberRegisterRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyMemberTokenRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyMemberTokenRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyMemberTokenRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyMemberTokenRequest) GetToken ¶
func (r AlitripMerchantGalaxyMemberTokenRequest) GetToken() string
Token Getter
func (*AlitripMerchantGalaxyMemberTokenRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyMemberTokenRequest) SetTenantKey(tenantKey string) error
TenantKey Setter 租户身份信息
func (*AlitripMerchantGalaxyMemberTokenRequest) SetToken ¶
func (r *AlitripMerchantGalaxyMemberTokenRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyOfferQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyOfferQueryRequest) GetOfferChannel ¶
func (r AlitripMerchantGalaxyOfferQueryRequest) GetOfferChannel() string
OfferChannel Getter
func (AlitripMerchantGalaxyOfferQueryRequest) GetOfferIds ¶
func (r AlitripMerchantGalaxyOfferQueryRequest) GetOfferIds() string
OfferIds Getter
func (AlitripMerchantGalaxyOfferQueryRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyOfferQueryRequest) GetTenantKey() string
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 ¶
func (r AlitripMerchantGalaxyOrderBookRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyOrderBookRequest) GetOrderCode ¶
func (r AlitripMerchantGalaxyOrderBookRequest) GetOrderCode() string
OrderCode Getter
func (AlitripMerchantGalaxyOrderBookRequest) GetOrderParam ¶
func (r AlitripMerchantGalaxyOrderBookRequest) GetOrderParam() *CreateOrderParam
OrderParam Getter
func (AlitripMerchantGalaxyOrderBookRequest) GetSourceQuery ¶
func (r AlitripMerchantGalaxyOrderBookRequest) GetSourceQuery() string
SourceQuery Getter
func (AlitripMerchantGalaxyOrderBookRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyOrderBookRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyOrderBookRequest) GetToken ¶
func (r AlitripMerchantGalaxyOrderBookRequest) GetToken() string
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 ¶
func (r *AlitripMerchantGalaxyOrderBookRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyOrderCancelRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyOrderCancelRequest) GetOrderId ¶
func (r AlitripMerchantGalaxyOrderCancelRequest) GetOrderId() string
OrderId Getter
func (AlitripMerchantGalaxyOrderCancelRequest) GetReason ¶
func (r AlitripMerchantGalaxyOrderCancelRequest) GetReason() string
Reason Getter
func (AlitripMerchantGalaxyOrderCancelRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyOrderCancelRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyOrderCancelRequest) GetToken ¶
func (r AlitripMerchantGalaxyOrderCancelRequest) GetToken() string
Token Getter
func (*AlitripMerchantGalaxyOrderCancelRequest) SetOrderId ¶
func (r *AlitripMerchantGalaxyOrderCancelRequest) SetOrderId(orderId string) error
OrderId Setter 订单编号
func (*AlitripMerchantGalaxyOrderCancelRequest) SetReason ¶
func (r *AlitripMerchantGalaxyOrderCancelRequest) SetReason(reason string) error
Reason Setter 退款原因
func (*AlitripMerchantGalaxyOrderCancelRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyOrderCancelRequest) SetTenantKey(tenantKey string) error
TenantKey Setter 租户标识
func (*AlitripMerchantGalaxyOrderCancelRequest) SetToken ¶
func (r *AlitripMerchantGalaxyOrderCancelRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyOrderListQueryRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyOrderListQueryRequest) GetEndTime ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetEndTime() string
EndTime Getter
func (AlitripMerchantGalaxyOrderListQueryRequest) GetOrderStatus ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetOrderStatus() string
OrderStatus Getter
func (AlitripMerchantGalaxyOrderListQueryRequest) GetPage ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetPage() int64
Page Getter
func (AlitripMerchantGalaxyOrderListQueryRequest) GetRow ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetRow() int64
Row Getter
func (AlitripMerchantGalaxyOrderListQueryRequest) GetStartTime ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetStartTime() string
StartTime Getter
func (AlitripMerchantGalaxyOrderListQueryRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyOrderListQueryRequest) GetToken ¶
func (r AlitripMerchantGalaxyOrderListQueryRequest) GetToken() string
Token Getter
func (*AlitripMerchantGalaxyOrderListQueryRequest) SetEndTime ¶
func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetEndTime(endTime string) error
EndTime Setter 入住时间
func (*AlitripMerchantGalaxyOrderListQueryRequest) SetOrderStatus ¶
func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetOrderStatus(orderStatus string) error
OrderStatus Setter 订单状态
func (*AlitripMerchantGalaxyOrderListQueryRequest) SetPage ¶
func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetPage(page int64) error
Page Setter 页数
func (*AlitripMerchantGalaxyOrderListQueryRequest) SetRow ¶
func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetRow(row int64) error
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 ¶
func (r *AlitripMerchantGalaxyOrderListQueryRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyOrderQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyOrderQueryRequest) GetOrderId ¶
func (r AlitripMerchantGalaxyOrderQueryRequest) GetOrderId() string
OrderId Getter
func (AlitripMerchantGalaxyOrderQueryRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyOrderQueryRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyOrderQueryRequest) GetToken ¶
func (r AlitripMerchantGalaxyOrderQueryRequest) GetToken() string
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 ¶
func (r *AlitripMerchantGalaxyOrderQueryRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyOrderValidateRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyOrderValidateRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyOrderValidateRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyOrderValidateRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyOrderValidateRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyOrderValidateRequest) GetToken ¶
func (r AlitripMerchantGalaxyOrderValidateRequest) GetToken() string
Token Getter
func (AlitripMerchantGalaxyOrderValidateRequest) GetValidateOrderParam ¶
func (r AlitripMerchantGalaxyOrderValidateRequest) GetValidateOrderParam() *ValidateOrderParam
ValidateOrderParam Getter
func (*AlitripMerchantGalaxyOrderValidateRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyOrderValidateRequest) SetTenantKey(tenantKey string) error
TenantKey Setter 租户身份信息
func (*AlitripMerchantGalaxyOrderValidateRequest) SetToken ¶
func (r *AlitripMerchantGalaxyOrderValidateRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetOrderId ¶
func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetOrderId() string
OrderId Getter
func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetTenantKey() string
TenantKey Getter
func (AlitripMerchantGalaxyPaymentParamQueryRequest) GetToken ¶
func (r AlitripMerchantGalaxyPaymentParamQueryRequest) GetToken() string
Token Getter
func (*AlitripMerchantGalaxyPaymentParamQueryRequest) SetOrderId ¶
func (r *AlitripMerchantGalaxyPaymentParamQueryRequest) SetOrderId(orderId string) error
OrderId Setter 订单编号
func (*AlitripMerchantGalaxyPaymentParamQueryRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyPaymentParamQueryRequest) SetTenantKey(tenantKey string) error
TenantKey Setter 租户身份信息
func (*AlitripMerchantGalaxyPaymentParamQueryRequest) SetToken ¶
func (r *AlitripMerchantGalaxyPaymentParamQueryRequest) SetToken(token string) error
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 ¶
func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlitripMerchantGalaxyProviderMemberQueryRequest) GetApiParams ¶
func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyProviderMemberQueryRequest) GetQueryMemberParam ¶
func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetQueryMemberParam() *QueryMemberParam
QueryMemberParam Getter
func (AlitripMerchantGalaxyProviderMemberQueryRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyProviderMemberQueryRequest) GetTenantKey() string
TenantKey Getter
func (*AlitripMerchantGalaxyProviderMemberQueryRequest) SetQueryMemberParam ¶
func (r *AlitripMerchantGalaxyProviderMemberQueryRequest) SetQueryMemberParam(queryMemberParam *QueryMemberParam) error
QueryMemberParam Setter 查询参数
func (*AlitripMerchantGalaxyProviderMemberQueryRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyProviderMemberQueryRequest) SetTenantKey(tenantKey string) error
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 {}
星河-获取小程序分享文案和图片 API返回值 alitrip.merchant.galaxy.share.get
获取 雅高微信小程序分享素材文案和图片。
type AlitripMerchantGalaxyShareGetRequest ¶
type AlitripMerchantGalaxyShareGetRequest struct { // 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 ¶
func (r AlitripMerchantGalaxyShareGetRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyShareGetRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyShareGetRequest) GetTenantKey() string
TenantKey Getter
func (*AlitripMerchantGalaxyShareGetRequest) SetTenantKey ¶
func (r *AlitripMerchantGalaxyShareGetRequest) SetTenantKey(tenantKey string) error
TenantKey Setter 租户ID
type AlitripMerchantGalaxyShareGetResponse ¶
type AlitripMerchantGalaxyShareGetResponse struct { string `json:"request_id,omitempty" xml:"request_id,omitempty"` Result *Response `json:"result,omitempty" xml:"result,omitempty"` }RequestId
星河-获取小程序分享文案和图片 成功返回结果
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 ¶
func (r AlitripMerchantGalaxyWechatInfoRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyWechatInfoRequest) GetCode ¶
func (r AlitripMerchantGalaxyWechatInfoRequest) GetCode() string
Code Getter
func (AlitripMerchantGalaxyWechatInfoRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyWechatInfoRequest) GetTenantKey() string
TenantKey Getter
func (*AlitripMerchantGalaxyWechatInfoRequest) SetCode ¶
func (r *AlitripMerchantGalaxyWechatInfoRequest) SetCode(code string) error
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 ¶
func (r AlitripMerchantGalaxyWechatLoginRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlitripMerchantGalaxyWechatLoginRequest) GetLoginParam ¶
func (r AlitripMerchantGalaxyWechatLoginRequest) GetLoginParam() *LoginParam
LoginParam Getter
func (AlitripMerchantGalaxyWechatLoginRequest) GetTenantKey ¶
func (r AlitripMerchantGalaxyWechatLoginRequest) GetTenantKey() string
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 { // 品牌logo 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 { string `json:"text,omitempty" xml:"text,omitempty"` Picture string `json:"picture,omitempty" xml:"picture,omitempty"` }Text
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
¶
- AddressLetterDto.go
- AddressListSearchDto.go
- AddressSearchDto.go
- AlitripMerchantGalaxyBrandSearchRequest.go
- AlitripMerchantGalaxyBrandSearchResponse.go
- AlitripMerchantGalaxyBrandSearchResult.go
- AlitripMerchantGalaxyCityLikeRequest.go
- AlitripMerchantGalaxyCityLikeResponse.go
- AlitripMerchantGalaxyCityListRequest.go
- AlitripMerchantGalaxyCityListResponse.go
- AlitripMerchantGalaxyHotelDetailSearchRequest.go
- AlitripMerchantGalaxyHotelDetailSearchResponse.go
- AlitripMerchantGalaxyHotelDetailSearchResult.go
- AlitripMerchantGalaxyHotelListSearchRequest.go
- AlitripMerchantGalaxyHotelListSearchResponse.go
- AlitripMerchantGalaxyMemberCardRequest.go
- AlitripMerchantGalaxyMemberCardResponse.go
- AlitripMerchantGalaxyMemberLogoutRequest.go
- AlitripMerchantGalaxyMemberLogoutResponse.go
- AlitripMerchantGalaxyMemberProviderRegisterRequest.go
- AlitripMerchantGalaxyMemberProviderRegisterResponse.go
- AlitripMerchantGalaxyMemberQueryRequest.go
- AlitripMerchantGalaxyMemberQueryResponse.go
- AlitripMerchantGalaxyMemberRegisterRequest.go
- AlitripMerchantGalaxyMemberRegisterResponse.go
- AlitripMerchantGalaxyMemberTokenRequest.go
- AlitripMerchantGalaxyMemberTokenResponse.go
- AlitripMerchantGalaxyOfferQueryRequest.go
- AlitripMerchantGalaxyOfferQueryResponse.go
- AlitripMerchantGalaxyOrderBookRequest.go
- AlitripMerchantGalaxyOrderBookResponse.go
- AlitripMerchantGalaxyOrderCancelRequest.go
- AlitripMerchantGalaxyOrderCancelResponse.go
- AlitripMerchantGalaxyOrderListQueryRequest.go
- AlitripMerchantGalaxyOrderListQueryResponse.go
- AlitripMerchantGalaxyOrderQueryRequest.go
- AlitripMerchantGalaxyOrderQueryResponse.go
- AlitripMerchantGalaxyOrderValidateRequest.go
- AlitripMerchantGalaxyOrderValidateResponse.go
- AlitripMerchantGalaxyPaymentParamQueryRequest.go
- AlitripMerchantGalaxyPaymentParamQueryResponse.go
- AlitripMerchantGalaxyProviderMemberQueryRequest.go
- AlitripMerchantGalaxyProviderMemberQueryResponse.go
- AlitripMerchantGalaxyShareGetRequest.go
- AlitripMerchantGalaxyShareGetResponse.go
- AlitripMerchantGalaxyWechatInfoRequest.go
- AlitripMerchantGalaxyWechatInfoResponse.go
- AlitripMerchantGalaxyWechatLoginRequest.go
- AlitripMerchantGalaxyWechatLoginResponse.go
- BrandListDto.go
- CardBaseInfoDto.go
- Content.go
- CreateOrderParam.go
- DailyPrice.go
- FacilityDto.go
- GuestByRoomDto.go
- HotelContentDto.go
- HotelDetailInfoDto.go
- HotelDetailsParam.go
- HotelDinamicLabelDto.go
- HotelListSearchDto.go
- HotelPictureDto.go
- JoinBrandDto.go
- ListSearchParam.go
- LoginParam.go
- MemberBaseInfoDto.go
- MemberCardDto.go
- MemberDto.go
- MemberParam.go
- MemberRights.go
- NewUserInfo.go
- OfferDetailsDto.go
- OrderDetailDto.go
- OrderDto.go
- OrderPayDTO.go
- PageableResponse.go
- PayParamResult.go
- PriceDetailDto.go
- PriceInfoDto.go
- ProviderMemberParam.go
- ProviderMemberVo.go
- QueryMemberParam.go
- Response.go
- RoomDetailDto.go
- RoomPropertiesDto.go
- RoomTypeBedInfoDto.go
- ShareMaterialVo.go
- ValidateOrderParam.go
- ValidateOrderVo.go
- WechatCodeResponse.go