xhotelcrm

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package xhotelcrm 包含酒店会员API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseCouponActiveParam added in v1.3.4

func ReleaseCouponActiveParam(v *CouponActiveParam)

ReleaseCouponActiveParam 释放CouponActiveParam

func ReleaseHMemberResult added in v1.3.4

func ReleaseHMemberResult(v *HMemberResult)

ReleaseHMemberResult 释放HMemberResult

func ReleaseMerchantMemberBindInfoVo added in v1.3.4

func ReleaseMerchantMemberBindInfoVo(v *MerchantMemberBindInfoVo)

ReleaseMerchantMemberBindInfoVo 释放MerchantMemberBindInfoVo

func ReleaseMsdResult added in v1.3.4

func ReleaseMsdResult(v *MsdResult)

ReleaseMsdResult 释放MsdResult

func ReleaseSendCouponParam added in v1.3.4

func ReleaseSendCouponParam(v *SendCouponParam)

ReleaseSendCouponParam 释放SendCouponParam

func ReleaseStateSynchronizeParam added in v1.3.4

func ReleaseStateSynchronizeParam(v *StateSynchronizeParam)

ReleaseStateSynchronizeParam 释放StateSynchronizeParam

func ReleaseTaobaoXhotelMemberAlipayQueryAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMemberAlipayQueryAPIRequest(v *TaobaoXhotelMemberAlipayQueryAPIRequest)

ReleaseTaobaoXhotelMemberAlipayQueryAPIRequest 将 TaobaoXhotelMemberAlipayQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMemberAlipayQueryAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMemberAlipayQueryAPIResponse(v *TaobaoXhotelMemberAlipayQueryAPIResponse)

ReleaseTaobaoXhotelMemberAlipayQueryAPIResponse 将 TaobaoXhotelMemberAlipayQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelMemberDerbyCouponSendAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMemberDerbyCouponSendAPIRequest(v *TaobaoXhotelMemberDerbyCouponSendAPIRequest)

ReleaseTaobaoXhotelMemberDerbyCouponSendAPIRequest 将 TaobaoXhotelMemberDerbyCouponSendAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMemberDerbyCouponSendAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMemberDerbyCouponSendAPIResponse(v *TaobaoXhotelMemberDerbyCouponSendAPIResponse)

ReleaseTaobaoXhotelMemberDerbyCouponSendAPIResponse 将 TaobaoXhotelMemberDerbyCouponSendAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelMemberDerbyStateSyncAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelMemberDerbyStateSyncAPIRequest(v *TaobaoXhotelMemberDerbyStateSyncAPIRequest)

ReleaseTaobaoXhotelMemberDerbyStateSyncAPIRequest 将 TaobaoXhotelMemberDerbyStateSyncAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelMemberDerbyStateSyncAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelMemberDerbyStateSyncAPIResponse(v *TaobaoXhotelMemberDerbyStateSyncAPIResponse)

ReleaseTaobaoXhotelMemberDerbyStateSyncAPIResponse 将 TaobaoXhotelMemberDerbyStateSyncAPIResponse 保存到 sync.Pool

func ReleaseTaobaoXhotelPotentialMemberBindAPIRequest added in v1.3.4

func ReleaseTaobaoXhotelPotentialMemberBindAPIRequest(v *TaobaoXhotelPotentialMemberBindAPIRequest)

ReleaseTaobaoXhotelPotentialMemberBindAPIRequest 将 TaobaoXhotelPotentialMemberBindAPIRequest 放入 sync.Pool

func ReleaseTaobaoXhotelPotentialMemberBindAPIResponse added in v1.3.4

func ReleaseTaobaoXhotelPotentialMemberBindAPIResponse(v *TaobaoXhotelPotentialMemberBindAPIResponse)

ReleaseTaobaoXhotelPotentialMemberBindAPIResponse 将 TaobaoXhotelPotentialMemberBindAPIResponse 保存到 sync.Pool

Types

type CouponActiveParam added in v1.2.8

type CouponActiveParam struct {
	// 券有效期截止时间
	CouponEndDate string `json:"coupon_end_date,omitempty" xml:"coupon_end_date,omitempty"`
	// 券实例ID
	CouponInstanceId string `json:"coupon_instance_id,omitempty" xml:"coupon_instance_id,omitempty"`
	// 券有效期考试时间
	CouponStartDate string `json:"coupon_start_date,omitempty" xml:"coupon_start_date,omitempty"`
}

CouponActiveParam 结构体

func GetCouponActiveParam added in v1.3.4

func GetCouponActiveParam() *CouponActiveParam

GetCouponActiveParam() 从对象池中获取CouponActiveParam

type HMemberResult added in v1.2.8

type HMemberResult struct {
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 信息
	ResultInfo string `json:"result_info,omitempty" xml:"result_info,omitempty"`
	// 数据
	Module *MerchantMemberBindInfoVo `json:"module,omitempty" xml:"module,omitempty"`
	// 状态
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

HMemberResult 结构体

func GetHMemberResult added in v1.3.4

func GetHMemberResult() *HMemberResult

GetHMemberResult() 从对象池中获取HMemberResult

type MerchantMemberBindInfoVo added in v1.2.8

type MerchantMemberBindInfoVo struct {
	// 渠道
	Fpt string `json:"fpt,omitempty" xml:"fpt,omitempty"`
	// 注册时间
	Time string `json:"time,omitempty" xml:"time,omitempty"`
	// 1.未注册/非支付宝端注册的会员2.未注册成功3.非新会员
	Reason string `json:"reason,omitempty" xml:"reason,omitempty"`
	// 是否完成任务
	Status bool `json:"status,omitempty" xml:"status,omitempty"`
}

MerchantMemberBindInfoVo 结构体

func GetMerchantMemberBindInfoVo added in v1.3.4

func GetMerchantMemberBindInfoVo() *MerchantMemberBindInfoVo

GetMerchantMemberBindInfoVo() 从对象池中获取MerchantMemberBindInfoVo

type MsdResult added in v1.2.8

type MsdResult struct {
	// 系统异常
	ErrMsg string `json:"err_msg,omitempty" xml:"err_msg,omitempty"`
	// false
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// S_SYS_EXCEPTION
	ErrCode bool `json:"err_code,omitempty" xml:"err_code,omitempty"`
}

MsdResult 结构体

func GetMsdResult added in v1.3.4

func GetMsdResult() *MsdResult

GetMsdResult() 从对象池中获取MsdResult

type SendCouponParam added in v1.2.8

type SendCouponParam struct {
	// 会员卡号
	MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,omitempty"`
	// 券有效期截止时间
	CouponEndDate string `json:"coupon_end_date,omitempty" xml:"coupon_end_date,omitempty"`
	// 券实例ID
	CouponInstanceId string `json:"coupon_instance_id,omitempty" xml:"coupon_instance_id,omitempty"`
	// 券有效期开始时间
	CouponStartDate string `json:"coupon_start_date,omitempty" xml:"coupon_start_date,omitempty"`
}

SendCouponParam 结构体

func GetSendCouponParam added in v1.3.4

func GetSendCouponParam() *SendCouponParam

GetSendCouponParam() 从对象池中获取SendCouponParam

type StateSynchronizeParam added in v1.2.8

type StateSynchronizeParam struct {
	// 券信息
	CouponActiveParamList []CouponActiveParam `json:"coupon_active_param_list,omitempty" xml:"coupon_active_param_list>coupon_active_param,omitempty"`
	// 卡有效期截止时间
	CardEndDate string `json:"card_end_date,omitempty" xml:"card_end_date,omitempty"`
	// 卡有效期开始时间
	CardStartDate string `json:"card_start_date,omitempty" xml:"card_start_date,omitempty"`
	// action类型
	OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"`
	// action渠道
	Channel string `json:"channel,omitempty" xml:"channel,omitempty"`
	// 券实例ID
	CouponInstanceId string `json:"coupon_instance_id,omitempty" xml:"coupon_instance_id,omitempty"`
	// 飞猪订单号
	FliggyOrderId string `json:"fliggy_order_id,omitempty" xml:"fliggy_order_id,omitempty"`
	// 卡实例ID
	CardInstanceId string `json:"card_instance_id,omitempty" xml:"card_instance_id,omitempty"`
	// 会员卡号
	MemberCardNo string `json:"member_card_no,omitempty" xml:"member_card_no,omitempty"`
}

StateSynchronizeParam 结构体

func GetStateSynchronizeParam added in v1.3.4

func GetStateSynchronizeParam() *StateSynchronizeParam

GetStateSynchronizeParam() 从对象池中获取StateSynchronizeParam

type TaobaoXhotelMemberAlipayQueryAPIRequest added in v1.2.8

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

TaobaoXhotelMemberAlipayQueryAPIRequest 希尔顿会员查询 API请求 taobao.xhotel.member.alipay.query

希尔顿会员查询

func GetTaobaoXhotelMemberAlipayQueryAPIRequest added in v1.3.4

func GetTaobaoXhotelMemberAlipayQueryAPIRequest() *TaobaoXhotelMemberAlipayQueryAPIRequest

GetTaobaoXhotelMemberAlipayQueryRequest 从 sync.Pool 获取 TaobaoXhotelMemberAlipayQueryAPIRequest

func NewTaobaoXhotelMemberAlipayQueryRequest added in v1.2.8

func NewTaobaoXhotelMemberAlipayQueryRequest() *TaobaoXhotelMemberAlipayQueryAPIRequest

NewTaobaoXhotelMemberAlipayQueryRequest 初始化TaobaoXhotelMemberAlipayQueryAPIRequest对象

func (TaobaoXhotelMemberAlipayQueryAPIRequest) GetAlipayUserId added in v1.2.8

func (r TaobaoXhotelMemberAlipayQueryAPIRequest) GetAlipayUserId() int64

GetAlipayUserId AlipayUserId Getter

func (TaobaoXhotelMemberAlipayQueryAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoXhotelMemberAlipayQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMemberAlipayQueryAPIRequest) GetApiParams added in v1.2.8

func (r TaobaoXhotelMemberAlipayQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMemberAlipayQueryAPIRequest) GetFpt added in v1.2.8

GetFpt Fpt Getter

func (TaobaoXhotelMemberAlipayQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelMemberAlipayQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMemberAlipayQueryAPIRequest) SetAlipayUserId added in v1.2.8

func (r *TaobaoXhotelMemberAlipayQueryAPIRequest) SetAlipayUserId(_alipayUserId int64) error

SetAlipayUserId is AlipayUserId Setter 支付宝id

func (*TaobaoXhotelMemberAlipayQueryAPIRequest) SetFpt added in v1.2.8

SetFpt is Fpt Setter 渠道

type TaobaoXhotelMemberAlipayQueryAPIResponse added in v1.2.8

type TaobaoXhotelMemberAlipayQueryAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMemberAlipayQueryAPIResponseModel
}

TaobaoXhotelMemberAlipayQueryAPIResponse 希尔顿会员查询 API返回值 taobao.xhotel.member.alipay.query

希尔顿会员查询

func GetTaobaoXhotelMemberAlipayQueryAPIResponse added in v1.3.4

func GetTaobaoXhotelMemberAlipayQueryAPIResponse() *TaobaoXhotelMemberAlipayQueryAPIResponse

GetTaobaoXhotelMemberAlipayQueryAPIResponse 从 sync.Pool 获取 TaobaoXhotelMemberAlipayQueryAPIResponse

func (*TaobaoXhotelMemberAlipayQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMemberAlipayQueryAPIResponseModel added in v1.2.8

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

TaobaoXhotelMemberAlipayQueryAPIResponseModel is 希尔顿会员查询 成功返回结果

func (*TaobaoXhotelMemberAlipayQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMemberDerbyCouponSendAPIRequest added in v1.2.8

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

TaobaoXhotelMemberDerbyCouponSendAPIRequest 发券 API请求 taobao.xhotel.member.derby.coupon.send

发券

func GetTaobaoXhotelMemberDerbyCouponSendAPIRequest added in v1.3.4

func GetTaobaoXhotelMemberDerbyCouponSendAPIRequest() *TaobaoXhotelMemberDerbyCouponSendAPIRequest

GetTaobaoXhotelMemberDerbyCouponSendRequest 从 sync.Pool 获取 TaobaoXhotelMemberDerbyCouponSendAPIRequest

func NewTaobaoXhotelMemberDerbyCouponSendRequest added in v1.2.8

func NewTaobaoXhotelMemberDerbyCouponSendRequest() *TaobaoXhotelMemberDerbyCouponSendAPIRequest

NewTaobaoXhotelMemberDerbyCouponSendRequest 初始化TaobaoXhotelMemberDerbyCouponSendAPIRequest对象

func (TaobaoXhotelMemberDerbyCouponSendAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMemberDerbyCouponSendAPIRequest) GetApiParams added in v1.2.8

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMemberDerbyCouponSendAPIRequest) GetParam added in v1.2.8

GetParam Param Getter

func (TaobaoXhotelMemberDerbyCouponSendAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelMemberDerbyCouponSendAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMemberDerbyCouponSendAPIRequest) SetParam added in v1.2.8

SetParam is Param Setter 入参模型

type TaobaoXhotelMemberDerbyCouponSendAPIResponse added in v1.2.8

type TaobaoXhotelMemberDerbyCouponSendAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMemberDerbyCouponSendAPIResponseModel
}

TaobaoXhotelMemberDerbyCouponSendAPIResponse 发券 API返回值 taobao.xhotel.member.derby.coupon.send

发券

func GetTaobaoXhotelMemberDerbyCouponSendAPIResponse added in v1.3.4

func GetTaobaoXhotelMemberDerbyCouponSendAPIResponse() *TaobaoXhotelMemberDerbyCouponSendAPIResponse

GetTaobaoXhotelMemberDerbyCouponSendAPIResponse 从 sync.Pool 获取 TaobaoXhotelMemberDerbyCouponSendAPIResponse

func (*TaobaoXhotelMemberDerbyCouponSendAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMemberDerbyCouponSendAPIResponseModel added in v1.2.8

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

TaobaoXhotelMemberDerbyCouponSendAPIResponseModel is 发券 成功返回结果

func (*TaobaoXhotelMemberDerbyCouponSendAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMemberDerbyStateSyncAPIRequest added in v1.2.8

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

TaobaoXhotelMemberDerbyStateSyncAPIRequest 德比侧同步卡、券状态接口 API请求 taobao.xhotel.member.derby.state.sync

德比侧同步卡、券状态接口

func GetTaobaoXhotelMemberDerbyStateSyncAPIRequest added in v1.3.4

func GetTaobaoXhotelMemberDerbyStateSyncAPIRequest() *TaobaoXhotelMemberDerbyStateSyncAPIRequest

GetTaobaoXhotelMemberDerbyStateSyncRequest 从 sync.Pool 获取 TaobaoXhotelMemberDerbyStateSyncAPIRequest

func NewTaobaoXhotelMemberDerbyStateSyncRequest added in v1.2.8

func NewTaobaoXhotelMemberDerbyStateSyncRequest() *TaobaoXhotelMemberDerbyStateSyncAPIRequest

NewTaobaoXhotelMemberDerbyStateSyncRequest 初始化TaobaoXhotelMemberDerbyStateSyncAPIRequest对象

func (TaobaoXhotelMemberDerbyStateSyncAPIRequest) GetApiMethodName added in v1.2.8

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelMemberDerbyStateSyncAPIRequest) GetApiParams added in v1.2.8

func (r TaobaoXhotelMemberDerbyStateSyncAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelMemberDerbyStateSyncAPIRequest) GetParam added in v1.2.8

GetParam Param Getter

func (TaobaoXhotelMemberDerbyStateSyncAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoXhotelMemberDerbyStateSyncAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelMemberDerbyStateSyncAPIRequest) SetParam added in v1.2.8

SetParam is Param Setter 入参

type TaobaoXhotelMemberDerbyStateSyncAPIResponse added in v1.2.8

type TaobaoXhotelMemberDerbyStateSyncAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelMemberDerbyStateSyncAPIResponseModel
}

TaobaoXhotelMemberDerbyStateSyncAPIResponse 德比侧同步卡、券状态接口 API返回值 taobao.xhotel.member.derby.state.sync

德比侧同步卡、券状态接口

func GetTaobaoXhotelMemberDerbyStateSyncAPIResponse added in v1.3.4

func GetTaobaoXhotelMemberDerbyStateSyncAPIResponse() *TaobaoXhotelMemberDerbyStateSyncAPIResponse

GetTaobaoXhotelMemberDerbyStateSyncAPIResponse 从 sync.Pool 获取 TaobaoXhotelMemberDerbyStateSyncAPIResponse

func (*TaobaoXhotelMemberDerbyStateSyncAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelMemberDerbyStateSyncAPIResponseModel added in v1.2.8

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

TaobaoXhotelMemberDerbyStateSyncAPIResponseModel is 德比侧同步卡、券状态接口 成功返回结果

func (*TaobaoXhotelMemberDerbyStateSyncAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelPotentialMemberBindAPIRequest added in v1.2.0

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

TaobaoXhotelPotentialMemberBindAPIRequest 飞猪酒店商家会员绑定 API请求 taobao.xhotel.potential.member.bind

支持互通商家发起会员绑定

func GetTaobaoXhotelPotentialMemberBindAPIRequest added in v1.3.4

func GetTaobaoXhotelPotentialMemberBindAPIRequest() *TaobaoXhotelPotentialMemberBindAPIRequest

GetTaobaoXhotelPotentialMemberBindRequest 从 sync.Pool 获取 TaobaoXhotelPotentialMemberBindAPIRequest

func NewTaobaoXhotelPotentialMemberBindRequest

func NewTaobaoXhotelPotentialMemberBindRequest() *TaobaoXhotelPotentialMemberBindAPIRequest

NewTaobaoXhotelPotentialMemberBindRequest 初始化TaobaoXhotelPotentialMemberBindAPIRequest对象

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetAge added in v1.2.0

GetAge Age Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoXhotelPotentialMemberBindAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetCardNo added in v1.2.0

GetCardNo CardNo Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetCity added in v1.2.0

GetCity City Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetEmail added in v1.2.0

GetEmail Email Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetFirstName added in v1.2.0

GetFirstName FirstName Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetFromDate added in v1.2.0

GetFromDate FromDate Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetGrade added in v1.2.0

GetGrade Grade Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetLastName added in v1.2.0

GetLastName LastName Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetNativePlace added in v1.2.0

GetNativePlace NativePlace Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetPhone added in v1.2.0

GetPhone Phone Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetRegisterDate added in v1.2.0

GetRegisterDate RegisterDate Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetSex added in v1.2.0

GetSex Sex Getter

func (TaobaoXhotelPotentialMemberBindAPIRequest) GetToDate added in v1.2.0

GetToDate ToDate Getter

func (*TaobaoXhotelPotentialMemberBindAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetAge added in v1.2.0

SetAge is Age Setter 年龄

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetCardNo added in v1.2.0

SetCardNo is CardNo Setter 卡号

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetCity added in v1.2.0

SetCity is City Setter 城市

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetEmail added in v1.2.0

SetEmail is Email Setter 邮箱

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetFirstName added in v1.2.0

func (r *TaobaoXhotelPotentialMemberBindAPIRequest) SetFirstName(_firstName string) error

SetFirstName is FirstName Setter 名

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetFromDate added in v1.2.0

func (r *TaobaoXhotelPotentialMemberBindAPIRequest) SetFromDate(_fromDate string) error

SetFromDate is FromDate Setter 生效时间

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetGrade added in v1.2.0

SetGrade is Grade Setter 等级(V1,V2,V3)

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetLastName added in v1.2.0

func (r *TaobaoXhotelPotentialMemberBindAPIRequest) SetLastName(_lastName string) error

SetLastName is LastName Setter 姓

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetNativePlace added in v1.2.0

func (r *TaobaoXhotelPotentialMemberBindAPIRequest) SetNativePlace(_nativePlace string) error

SetNativePlace is NativePlace Setter 籍贯

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetPhone added in v1.2.0

SetPhone is Phone Setter 电话

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetRegisterDate added in v1.2.0

func (r *TaobaoXhotelPotentialMemberBindAPIRequest) SetRegisterDate(_registerDate string) error

SetRegisterDate is RegisterDate Setter 注册时间

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetSex added in v1.2.0

SetSex is Sex Setter 性别(M,F,U-未知)

func (*TaobaoXhotelPotentialMemberBindAPIRequest) SetToDate added in v1.2.0

SetToDate is ToDate Setter 截止时间

type TaobaoXhotelPotentialMemberBindAPIResponse

type TaobaoXhotelPotentialMemberBindAPIResponse struct {
	model.CommonResponse
	TaobaoXhotelPotentialMemberBindAPIResponseModel
}

TaobaoXhotelPotentialMemberBindAPIResponse 飞猪酒店商家会员绑定 API返回值 taobao.xhotel.potential.member.bind

支持互通商家发起会员绑定

func GetTaobaoXhotelPotentialMemberBindAPIResponse added in v1.3.4

func GetTaobaoXhotelPotentialMemberBindAPIResponse() *TaobaoXhotelPotentialMemberBindAPIResponse

GetTaobaoXhotelPotentialMemberBindAPIResponse 从 sync.Pool 获取 TaobaoXhotelPotentialMemberBindAPIResponse

func (*TaobaoXhotelPotentialMemberBindAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoXhotelPotentialMemberBindAPIResponseModel added in v1.2.0

type TaobaoXhotelPotentialMemberBindAPIResponseModel struct {
	XMLName xml.Name `xml:"xhotel_potential_member_bind_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 添加操作是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoXhotelPotentialMemberBindAPIResponseModel is 飞猪酒店商家会员绑定 成功返回结果

func (*TaobaoXhotelPotentialMemberBindAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

Jump to

Keyboard shortcuts

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