film

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package film 包含电影票API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ActivityTagVo

type ActivityTagVo struct {
	// 活动内容
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 活动标:新促卡惠食星节
	Tag string `json:"tag,omitempty" xml:"tag,omitempty"`
	// tagType
	TagType int64 `json:"tag_type,omitempty" xml:"tag_type,omitempty"`
}

ActivityTagVo 结构体

type CinemaPageCinemaVo

type CinemaPageCinemaVo struct {
	// 活动标
	ActivityTags []ActivityTagVo `json:"activity_tags,omitempty" xml:"activity_tags>activity_tag_vo,omitempty"`
	// 特色标
	DisplaySupports []string `json:"display_supports,omitempty" xml:"display_supports>string,omitempty"`
	// 影院特殊提醒
	SpecialRemind string `json:"special_remind,omitempty" xml:"special_remind,omitempty"`
	// 距离
	Distance string `json:"distance,omitempty" xml:"distance,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"`
	// 影院名称
	CinemaName string `json:"cinema_name,omitempty" xml:"cinema_name,omitempty"`
	// 影院状态
	BizStatus int64 `json:"biz_status,omitempty" xml:"biz_status,omitempty"`
	// 排期数
	ScheduleCount int64 `json:"schedule_count,omitempty" xml:"schedule_count,omitempty"`
	// 场次提前几分钟停止场次售卖
	ScheduleCloseTime int64 `json:"schedule_close_time,omitempty" xml:"schedule_close_time,omitempty"`
	// 最低票价(分)
	MinPrice int64 `json:"min_price,omitempty" xml:"min_price,omitempty"`
	// 影院ID
	CinemaId int64 `json:"cinema_id,omitempty" xml:"cinema_id,omitempty"`
	// 用户是否已开卡
	McardOpen bool `json:"mcard_open,omitempty" xml:"mcard_open,omitempty"`
	// 影城卡标
	SupportMcard bool `json:"support_mcard,omitempty" xml:"support_mcard,omitempty"`
	// 常去影院
	AlwaysGo bool `json:"always_go,omitempty" xml:"always_go,omitempty"`
}

CinemaPageCinemaVo 结构体

type CinemaPageResult

type CinemaPageResult struct {
	// 影院集合
	Cinemas []CinemaPageCinemaVo `json:"cinemas,omitempty" xml:"cinemas>cinema_page_cinema_vo,omitempty"`
}

CinemaPageResult 结构体

type DrawReward

type DrawReward struct {
	// 有效期时间
	GmtExpire string `json:"gmt_expire,omitempty" xml:"gmt_expire,omitempty"`
	// gmtModified
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 奖品描述
	RewardDesc string `json:"reward_desc,omitempty" xml:"reward_desc,omitempty"`
	// 券码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 奖品数量
	RewardCount int64 `json:"reward_count,omitempty" xml:"reward_count,omitempty"`
	// 奖品类型(1:淘票票优惠券)
	RewardType int64 `json:"reward_type,omitempty" xml:"reward_type,omitempty"`
	// 券子类型(1:兑换券 2:代金券)
	CodeType int64 `json:"code_type,omitempty" xml:"code_type,omitempty"`
	// 奖品金额(单位:分)
	CostPrice int64 `json:"cost_price,omitempty" xml:"cost_price,omitempty"`
}

DrawReward 结构体

type FCodeMerchantSendCodeRp

type FCodeMerchantSendCodeRp struct {
	// 码对外信息描述列表
	FCodeMerchantInfoList []FCodeMerchantVo `json:"f_code_merchant_info_list,omitempty" xml:"f_code_merchant_info_list>f_code_merchant_vo,omitempty"`
}

FCodeMerchantSendCodeRp 结构体

type FCodeMerchantSendCodeRq

type FCodeMerchantSendCodeRq struct {
	// 外部业务用户id
	OutUid string `json:"out_uid,omitempty" xml:"out_uid,omitempty"`
	// 外部商户发码的外部业务号
	ExtOrderId string `json:"ext_order_id,omitempty" xml:"ext_order_id,omitempty"`
	// 外部下单时间
	OrderTime string `json:"order_time,omitempty" xml:"order_time,omitempty"`
	// 用户ID类型 TAOBAO 或者 TAOBAO_NAME
	UserIdType string `json:"user_id_type,omitempty" xml:"user_id_type,omitempty"`
	// 外部商户标示
	PartnerCode string `json:"partner_code,omitempty" xml:"partner_code,omitempty"`
	// 外面用户昵称
	OutUserName string `json:"out_user_name,omitempty" xml:"out_user_name,omitempty"`
	// 请求属性字段
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 淘宝用户ID列表,用|分割
	UserIdList string `json:"user_id_list,omitempty" xml:"user_id_list,omitempty"`
	// 发券码商品mixId
	MixId string `json:"mix_id,omitempty" xml:"mix_id,omitempty"`
	// 每个用户发码的数量
	EachNum int64 `json:"each_num,omitempty" xml:"each_num,omitempty"`
	// 发码总数
	Number int64 `json:"number,omitempty" xml:"number,omitempty"`
}

FCodeMerchantSendCodeRq 结构体

type FCodeMerchantVo

type FCodeMerchantVo struct {
	// 码过期时间
	GmtExpire string `json:"gmt_expire,omitempty" xml:"gmt_expire,omitempty"`
	// code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 码生成任务ID
	GenTaskId int64 `json:"gen_task_id,omitempty" xml:"gen_task_id,omitempty"`
	// 码可抵用金额
	CostPrice int64 `json:"cost_price,omitempty" xml:"cost_price,omitempty"`
}

FCodeMerchantVo 结构体

type LotteryDraws

type LotteryDraws struct {
	// useDesc
	UseDesc string `json:"use_desc,omitempty" xml:"use_desc,omitempty"`
	// couponSubtitle
	CouponSubtitle string `json:"coupon_subtitle,omitempty" xml:"coupon_subtitle,omitempty"`
	// lotteryTitle
	LotteryTitle string `json:"lottery_title,omitempty" xml:"lottery_title,omitempty"`
	// lotteryMixId
	LotteryMixId string `json:"lottery_mix_id,omitempty" xml:"lottery_mix_id,omitempty"`
	// validDay
	ValidDay int64 `json:"valid_day,omitempty" xml:"valid_day,omitempty"`
	// costPrice
	CostPrice int64 `json:"cost_price,omitempty" xml:"cost_price,omitempty"`
}

LotteryDraws 结构体

type ResultGeneralModel

type ResultGeneralModel struct {
	// 调用失败描述信息
	ReturnMessage string `json:"return_message,omitempty" xml:"return_message,omitempty"`
	// 0代表接口调用成功,其他值表示调用失败,错误信息可详见接口文档
	ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// returnUrl
	ReturnUrl string `json:"return_url,omitempty" xml:"return_url,omitempty"`
	// requestId
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// returnErrorOper
	ReturnErrorOper string `json:"return_error_oper,omitempty" xml:"return_error_oper,omitempty"`
	// returnErrorSolution
	ReturnErrorSolution string `json:"return_error_solution,omitempty" xml:"return_error_solution,omitempty"`
	// returnErrorStackTrace
	ReturnErrorStackTrace string `json:"return_error_stack_trace,omitempty" xml:"return_error_stack_trace,omitempty"`
	// returnValue
	ReturnValue *TopRefundOrderStatus `json:"return_value,omitempty" xml:"return_value,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ResultGeneralModel 结构体

type ResultListModel

type ResultListModel struct {
	// 返回值
	AccountList []TaobaoFilmAccountPhoneQueryModel `json:"account_list,omitempty" xml:"account_list>taobao_film_account_phone_query_model,omitempty"`
	// returnValue
	ReturnValues []LotteryDraws `json:"return_values,omitempty" xml:"return_values>lottery_draws,omitempty"`
	// 错误码
	ReturnCode string `json:"return_code,omitempty" xml:"return_code,omitempty"`
	// 请求ID
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误描述
	ReturnMessage string `json:"return_message,omitempty" xml:"return_message,omitempty"`
	// 忽略
	ReturnUrl string `json:"return_url,omitempty" xml:"return_url,omitempty"`
	// returnErrorOper
	ReturnErrorOper string `json:"return_error_oper,omitempty" xml:"return_error_oper,omitempty"`
	// returnErrorSolution
	ReturnErrorSolution string `json:"return_error_solution,omitempty" xml:"return_error_solution,omitempty"`
	// returnErrorStackTrace
	ReturnErrorStackTrace string `json:"return_error_stack_trace,omitempty" xml:"return_error_stack_trace,omitempty"`
}

ResultListModel 结构体

type TaobaoFilmAccountPhoneQueryAPIRequest added in v1.2.0

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

TaobaoFilmAccountPhoneQueryAPIRequest 根据手机查询匹配账号列表 API请求 taobao.film.account.phone.query

根据手机号查询匹配的账号列表

func NewTaobaoFilmAccountPhoneQueryRequest

func NewTaobaoFilmAccountPhoneQueryRequest() *TaobaoFilmAccountPhoneQueryAPIRequest

NewTaobaoFilmAccountPhoneQueryRequest 初始化TaobaoFilmAccountPhoneQueryAPIRequest对象

func (TaobaoFilmAccountPhoneQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFilmAccountPhoneQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilmAccountPhoneQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilmAccountPhoneQueryAPIRequest) GetPhone added in v1.2.0

GetPhone Phone Getter

func (*TaobaoFilmAccountPhoneQueryAPIRequest) SetPhone added in v1.2.0

SetPhone is Phone Setter 11位手机号码

type TaobaoFilmAccountPhoneQueryAPIResponse

type TaobaoFilmAccountPhoneQueryAPIResponse struct {
	model.CommonResponse
	TaobaoFilmAccountPhoneQueryAPIResponseModel
}

TaobaoFilmAccountPhoneQueryAPIResponse 根据手机查询匹配账号列表 API返回值 taobao.film.account.phone.query

根据手机号查询匹配的账号列表

type TaobaoFilmAccountPhoneQueryAPIResponseModel added in v1.2.0

type TaobaoFilmAccountPhoneQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"film_account_phone_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *ResultListModel `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoFilmAccountPhoneQueryAPIResponseModel is 根据手机查询匹配账号列表 成功返回结果

type TaobaoFilmAccountPhoneQueryModel

type TaobaoFilmAccountPhoneQueryModel struct {
	// 对外开放ID
	MixUserId string `json:"mix_user_id,omitempty" xml:"mix_user_id,omitempty"`
	// 脱敏昵称
	UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"`
}

TaobaoFilmAccountPhoneQueryModel 结构体

type TaobaoFilmDataThirdPartyRefundOrderAPIRequest added in v1.2.0

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

TaobaoFilmDataThirdPartyRefundOrderAPIRequest 退票接口 API请求 taobao.film.data.third.party.refund.order

淘票票第三方退票接口

func NewTaobaoFilmDataThirdPartyRefundOrderRequest

func NewTaobaoFilmDataThirdPartyRefundOrderRequest() *TaobaoFilmDataThirdPartyRefundOrderAPIRequest

NewTaobaoFilmDataThirdPartyRefundOrderRequest 初始化TaobaoFilmDataThirdPartyRefundOrderAPIRequest对象

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetExtOrderId added in v1.2.0

GetExtOrderId ExtOrderId Getter

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetExtUserId added in v1.2.0

GetExtUserId ExtUserId Getter

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetParams added in v1.2.0

GetParams Params Getter

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetPlatform added in v1.2.0

GetPlatform Platform Getter

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetRefundAmount added in v1.2.0

GetRefundAmount RefundAmount Getter

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetRefundServiceFee added in v1.2.0

func (r TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetRefundServiceFee() int64

GetRefundServiceFee RefundServiceFee Getter

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetTbOrderId added in v1.2.0

GetTbOrderId TbOrderId Getter

func (TaobaoFilmDataThirdPartyRefundOrderAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetExtOrderId added in v1.2.0

func (r *TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetExtOrderId(_extOrderId string) error

SetExtOrderId is ExtOrderId Setter 退款时候需要传入第三方的订单号。外部渠道需保证该参数的唯一性和准确性

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetExtUserId added in v1.2.0

func (r *TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetExtUserId(_extUserId string) error

SetExtUserId is ExtUserId Setter 退票身份ID,用于标识一个购票用户的身份,该参数需要跟锁座接口的ext_order_id参数一致,否则下单会失败。外部渠道需保证该参数的唯一性及准确性,下单出票接口会利用该参数做冥等性判断,如果由于外部渠道自身传入的参数有问题而导致的下单出票接口返回的结果有误,需要外部渠道自己承担损失

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetParams added in v1.2.0

SetParams is Params Setter 目前可以暂时不填参数

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetPlatform added in v1.2.0

func (r *TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 淘票票分配的渠道码

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetRefundAmount added in v1.2.0

func (r *TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetRefundAmount(_refundAmount int64) error

SetRefundAmount is RefundAmount Setter 退款金额,以分为单位,为指定的退款订单的金额

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetRefundServiceFee added in v1.2.0

func (r *TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetRefundServiceFee(_refundServiceFee int64) error

SetRefundServiceFee is RefundServiceFee Setter 退款服务费,目前都为0

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetTbOrderId added in v1.2.0

func (r *TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetTbOrderId(_tbOrderId int64) error

SetTbOrderId is TbOrderId Setter 下单时返回的淘宝订单号参数

func (*TaobaoFilmDataThirdPartyRefundOrderAPIRequest) SetUserId added in v1.2.0

SetUserId is UserId Setter 淘宝账号ID,此ID是一串数字。可自行百度查看如何获取或者咨询淘票票技术人员提供

type TaobaoFilmDataThirdPartyRefundOrderAPIResponse

type TaobaoFilmDataThirdPartyRefundOrderAPIResponse struct {
	model.CommonResponse
	TaobaoFilmDataThirdPartyRefundOrderAPIResponseModel
}

TaobaoFilmDataThirdPartyRefundOrderAPIResponse 退票接口 API返回值 taobao.film.data.third.party.refund.order

淘票票第三方退票接口

type TaobaoFilmDataThirdPartyRefundOrderAPIResponseModel added in v1.2.0

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

TaobaoFilmDataThirdPartyRefundOrderAPIResponseModel is 退票接口 成功返回结果

type TaobaoFilmKoubeiCinemaGetactivityAPIRequest added in v1.2.0

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

TaobaoFilmKoubeiCinemaGetactivityAPIRequest 口碑-影院营销数据查询 API请求 taobao.film.koubei.cinema.getactivity

口碑-影院营销数据查询

func NewTaobaoFilmKoubeiCinemaGetactivityRequest

func NewTaobaoFilmKoubeiCinemaGetactivityRequest() *TaobaoFilmKoubeiCinemaGetactivityAPIRequest

NewTaobaoFilmKoubeiCinemaGetactivityRequest 初始化TaobaoFilmKoubeiCinemaGetactivityAPIRequest对象

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetAccountType added in v1.2.0

GetAccountType AccountType Getter

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetCinemaIds added in v1.2.0

GetCinemaIds CinemaIds Getter

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetParams added in v1.2.0

GetParams Params Getter

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetPlatform added in v1.2.0

GetPlatform Platform Getter

func (TaobaoFilmKoubeiCinemaGetactivityAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (*TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetAccountType added in v1.2.0

func (r *TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetAccountType(_accountType string) error

SetAccountType is AccountType Setter 账号类型

func (*TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetCinemaIds added in v1.2.0

func (r *TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetCinemaIds(_cinemaIds []int64) error

SetCinemaIds is CinemaIds Setter 影院ID集合

func (*TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetCityCode added in v1.2.0

func (r *TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetCityCode(_cityCode int64) error

SetCityCode is CityCode Setter 城市编码

func (*TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetParams added in v1.2.0

SetParams is Params Setter 附加参数

func (*TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetPlatform added in v1.2.0

func (r *TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 平台

func (*TaobaoFilmKoubeiCinemaGetactivityAPIRequest) SetUserId added in v1.2.0

SetUserId is UserId Setter 用户账号

type TaobaoFilmKoubeiCinemaGetactivityAPIResponse

type TaobaoFilmKoubeiCinemaGetactivityAPIResponse struct {
	model.CommonResponse
	TaobaoFilmKoubeiCinemaGetactivityAPIResponseModel
}

TaobaoFilmKoubeiCinemaGetactivityAPIResponse 口碑-影院营销数据查询 API返回值 taobao.film.koubei.cinema.getactivity

口碑-影院营销数据查询

type TaobaoFilmKoubeiCinemaGetactivityAPIResponseModel added in v1.2.0

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

TaobaoFilmKoubeiCinemaGetactivityAPIResponseModel is 口碑-影院营销数据查询 成功返回结果

type TaobaoFilmLotteryDrawAPIRequest added in v1.2.0

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

TaobaoFilmLotteryDrawAPIRequest 淘票票抽奖发放权益API API请求 taobao.film.lottery.draw

对外第三方合作渠道通过抽奖形式发码

func NewTaobaoFilmLotteryDrawRequest

func NewTaobaoFilmLotteryDrawRequest() *TaobaoFilmLotteryDrawAPIRequest

NewTaobaoFilmLotteryDrawRequest 初始化TaobaoFilmLotteryDrawAPIRequest对象

func (TaobaoFilmLotteryDrawAPIRequest) GetAccountNo added in v1.2.0

func (r TaobaoFilmLotteryDrawAPIRequest) GetAccountNo() string

GetAccountNo AccountNo Getter

func (TaobaoFilmLotteryDrawAPIRequest) GetAccountType added in v1.2.0

func (r TaobaoFilmLotteryDrawAPIRequest) GetAccountType() string

GetAccountType AccountType Getter

func (TaobaoFilmLotteryDrawAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFilmLotteryDrawAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilmLotteryDrawAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoFilmLotteryDrawAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilmLotteryDrawAPIRequest) GetBizData added in v1.2.0

func (r TaobaoFilmLotteryDrawAPIRequest) GetBizData() string

GetBizData BizData Getter

func (TaobaoFilmLotteryDrawAPIRequest) GetLotteryMixId added in v1.2.0

func (r TaobaoFilmLotteryDrawAPIRequest) GetLotteryMixId() string

GetLotteryMixId LotteryMixId Getter

func (TaobaoFilmLotteryDrawAPIRequest) GetPlatform added in v1.2.0

func (r TaobaoFilmLotteryDrawAPIRequest) GetPlatform() int64

GetPlatform Platform Getter

func (*TaobaoFilmLotteryDrawAPIRequest) SetAccountNo added in v1.2.0

func (r *TaobaoFilmLotteryDrawAPIRequest) SetAccountNo(_accountNo string) error

SetAccountNo is AccountNo Setter 账号ID

func (*TaobaoFilmLotteryDrawAPIRequest) SetAccountType added in v1.2.0

func (r *TaobaoFilmLotteryDrawAPIRequest) SetAccountType(_accountType string) error

SetAccountType is AccountType Setter 账号类型(TAOBAO\ALIPAY\PHONE\TAOBAO_NAME\OPEN_ID)

func (*TaobaoFilmLotteryDrawAPIRequest) SetBizData added in v1.2.0

func (r *TaobaoFilmLotteryDrawAPIRequest) SetBizData(_bizData string) error

SetBizData is BizData Setter 扩展参数

func (*TaobaoFilmLotteryDrawAPIRequest) SetLotteryMixId added in v1.2.0

func (r *TaobaoFilmLotteryDrawAPIRequest) SetLotteryMixId(_lotteryMixId string) error

SetLotteryMixId is LotteryMixId Setter 活动ID

func (*TaobaoFilmLotteryDrawAPIRequest) SetPlatform added in v1.2.0

func (r *TaobaoFilmLotteryDrawAPIRequest) SetPlatform(_platform int64) error

SetPlatform is Platform Setter 平台类型

type TaobaoFilmLotteryDrawAPIResponse

type TaobaoFilmLotteryDrawAPIResponse struct {
	model.CommonResponse
	TaobaoFilmLotteryDrawAPIResponseModel
}

TaobaoFilmLotteryDrawAPIResponse 淘票票抽奖发放权益API API返回值 taobao.film.lottery.draw

对外第三方合作渠道通过抽奖形式发码

type TaobaoFilmLotteryDrawAPIResponseModel added in v1.2.0

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

TaobaoFilmLotteryDrawAPIResponseModel is 淘票票抽奖发放权益API 成功返回结果

type TaobaoFilmLotteryDrawModel

type TaobaoFilmLotteryDrawModel struct {
	// 奖品模型
	Rewards []DrawReward `json:"rewards,omitempty" xml:"rewards>draw_reward,omitempty"`
	// 使用地址
	UseUrl string `json:"use_url,omitempty" xml:"use_url,omitempty"`
}

TaobaoFilmLotteryDrawModel 结构体

type TaobaoFilmLotteryRuleQueryAPIRequest added in v1.2.0

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

TaobaoFilmLotteryRuleQueryAPIRequest 淘票票抽奖活动查询API(渠道) API请求 taobao.film.lottery.rule.query

淘票票抽奖活动查询API,渠道维度查询

func NewTaobaoFilmLotteryRuleQueryRequest

func NewTaobaoFilmLotteryRuleQueryRequest() *TaobaoFilmLotteryRuleQueryAPIRequest

NewTaobaoFilmLotteryRuleQueryRequest 初始化TaobaoFilmLotteryRuleQueryAPIRequest对象

func (TaobaoFilmLotteryRuleQueryAPIRequest) GetAccountNo added in v1.2.0

GetAccountNo AccountNo Getter

func (TaobaoFilmLotteryRuleQueryAPIRequest) GetAccountType added in v1.2.0

func (r TaobaoFilmLotteryRuleQueryAPIRequest) GetAccountType() string

GetAccountType AccountType Getter

func (TaobaoFilmLotteryRuleQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFilmLotteryRuleQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilmLotteryRuleQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilmLotteryRuleQueryAPIRequest) GetChannel added in v1.2.0

GetChannel Channel Getter

func (*TaobaoFilmLotteryRuleQueryAPIRequest) SetAccountNo added in v1.2.0

func (r *TaobaoFilmLotteryRuleQueryAPIRequest) SetAccountNo(_accountNo string) error

SetAccountNo is AccountNo Setter 账号ID

func (*TaobaoFilmLotteryRuleQueryAPIRequest) SetAccountType added in v1.2.0

func (r *TaobaoFilmLotteryRuleQueryAPIRequest) SetAccountType(_accountType string) error

SetAccountType is AccountType Setter 账号类型(TAOBAO\ALIPAY\PHONE)

func (*TaobaoFilmLotteryRuleQueryAPIRequest) SetChannel added in v1.2.0

func (r *TaobaoFilmLotteryRuleQueryAPIRequest) SetChannel(_channel string) error

SetChannel is Channel Setter 渠道来源

type TaobaoFilmLotteryRuleQueryAPIResponse

type TaobaoFilmLotteryRuleQueryAPIResponse struct {
	model.CommonResponse
	TaobaoFilmLotteryRuleQueryAPIResponseModel
}

TaobaoFilmLotteryRuleQueryAPIResponse 淘票票抽奖活动查询API(渠道) API返回值 taobao.film.lottery.rule.query

淘票票抽奖活动查询API,渠道维度查询

type TaobaoFilmLotteryRuleQueryAPIResponseModel added in v1.2.0

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

TaobaoFilmLotteryRuleQueryAPIResponseModel is 淘票票抽奖活动查询API(渠道) 成功返回结果

type TaobaoFilmLotterySendcodeAPIRequest added in v1.2.0

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

TaobaoFilmLotterySendcodeAPIRequest 淘票票外部直发券 API请求 taobao.film.lottery.sendcode

淘票票外部直发券

func NewTaobaoFilmLotterySendcodeRequest

func NewTaobaoFilmLotterySendcodeRequest() *TaobaoFilmLotterySendcodeAPIRequest

NewTaobaoFilmLotterySendcodeRequest 初始化TaobaoFilmLotterySendcodeAPIRequest对象

func (TaobaoFilmLotterySendcodeAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoFilmLotterySendcodeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilmLotterySendcodeAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilmLotterySendcodeAPIRequest) GetParamFCodeMerchantSendCodeRequest added in v1.2.0

func (r TaobaoFilmLotterySendcodeAPIRequest) GetParamFCodeMerchantSendCodeRequest() *FCodeMerchantSendCodeRq

GetParamFCodeMerchantSendCodeRequest ParamFCodeMerchantSendCodeRequest Getter

func (*TaobaoFilmLotterySendcodeAPIRequest) SetParamFCodeMerchantSendCodeRequest added in v1.2.0

func (r *TaobaoFilmLotterySendcodeAPIRequest) SetParamFCodeMerchantSendCodeRequest(_paramFCodeMerchantSendCodeRequest *FCodeMerchantSendCodeRq) error

SetParamFCodeMerchantSendCodeRequest is ParamFCodeMerchantSendCodeRequest Setter 外部商户发码请求

type TaobaoFilmLotterySendcodeAPIResponse

type TaobaoFilmLotterySendcodeAPIResponse struct {
	model.CommonResponse
	TaobaoFilmLotterySendcodeAPIResponseModel
}

TaobaoFilmLotterySendcodeAPIResponse 淘票票外部直发券 API返回值 taobao.film.lottery.sendcode

淘票票外部直发券

type TaobaoFilmLotterySendcodeAPIResponseModel added in v1.2.0

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

TaobaoFilmLotterySendcodeAPIResponseModel is 淘票票外部直发券 成功返回结果

type TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest added in v1.2.0

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

TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest CGV影城卡排期数据传输 API请求 taobao.film.tfbackyard.cardschedule.update

cgv影城卡排期价格数据传输API

func NewTaobaoFilmTfbackyardCardscheduleUpdateRequest

func NewTaobaoFilmTfbackyardCardscheduleUpdateRequest() *TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest

NewTaobaoFilmTfbackyardCardscheduleUpdateRequest 初始化TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest对象

func (TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest) GetJsonData added in v1.2.0

GetJsonData JsonData Getter

func (*TaobaoFilmTfbackyardCardscheduleUpdateAPIRequest) SetJsonData added in v1.2.0

SetJsonData is JsonData Setter CGV影城卡价格数据

type TaobaoFilmTfbackyardCardscheduleUpdateAPIResponse

type TaobaoFilmTfbackyardCardscheduleUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoFilmTfbackyardCardscheduleUpdateAPIResponseModel
}

TaobaoFilmTfbackyardCardscheduleUpdateAPIResponse CGV影城卡排期数据传输 API返回值 taobao.film.tfbackyard.cardschedule.update

cgv影城卡排期价格数据传输API

type TaobaoFilmTfbackyardCardscheduleUpdateAPIResponseModel added in v1.2.0

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

TaobaoFilmTfbackyardCardscheduleUpdateAPIResponseModel is CGV影城卡排期数据传输 成功返回结果

type TopRefundOrderStatus

type TopRefundOrderStatus struct {
	// 退款中,其他状态可详见接口文档
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// tbOrderId
	TbOrderId string `json:"tb_order_id,omitempty" xml:"tb_order_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
}

TopRefundOrderStatus 结构体

Jump to

Keyboard shortcuts

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