larkiot

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package larkiot 包含阿里影业云智API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BizListResult

type BizListResult struct {
	// 影院列表
	DataList []CinemaIotResponse `json:"data_list,omitempty" xml:"data_list>cinema_iot_response,omitempty"`
	// 业务码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 业务信息
	BizMsg string `json:"biz_msg,omitempty" xml:"biz_msg,omitempty"`
	// 访问结果
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BizListResult 结构体

type BizSingleResult

type BizSingleResult struct {
	// 业务订结果
	BizMsg string `json:"biz_msg,omitempty" xml:"biz_msg,omitempty"`
	// 业务码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 业务返回
	Data *IotGoodsOrderRsp `json:"data,omitempty" xml:"data,omitempty"`
	// 接口是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

BizSingleResult 结构体

type CinemaIotResponse

type CinemaIotResponse struct {
	// 影院内码
	CinemaLinkId string `json:"cinema_link_id,omitempty" xml:"cinema_link_id,omitempty"`
	// 影院名称
	CinemaName string `json:"cinema_name,omitempty" xml:"cinema_name,omitempty"`
	// 影院国家编码
	CinemaId string `json:"cinema_id,omitempty" xml:"cinema_id,omitempty"`
	// 城市编码
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 城市
	City string `json:"city,omitempty" xml:"city,omitempty"`
}

CinemaIotResponse 结构体

type IotGoodsOrderRsp

type IotGoodsOrderRsp struct {
	// 订单号
	GoodsOrderId string `json:"goods_order_id,omitempty" xml:"goods_order_id,omitempty"`
	// 影院内码
	CinemaLinkId string `json:"cinema_link_id,omitempty" xml:"cinema_link_id,omitempty"`
	// 外部订单号
	OutGoodsOrderId string `json:"out_goods_order_id,omitempty" xml:"out_goods_order_id,omitempty"`
}

IotGoodsOrderRsp 结构体

type TaobaoLarkIotOrderConfirmorderAPIRequest added in v1.2.0

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

TaobaoLarkIotOrderConfirmorderAPIRequest iot渠道卖品落单 API请求 taobao.lark.iot.order.confirmorder

云智对接无人超市,接收无人超市订单信息

func NewTaobaoLarkIotOrderConfirmorderRequest

func NewTaobaoLarkIotOrderConfirmorderRequest() *TaobaoLarkIotOrderConfirmorderAPIRequest

NewTaobaoLarkIotOrderConfirmorderRequest 初始化TaobaoLarkIotOrderConfirmorderAPIRequest对象

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoLarkIotOrderConfirmorderAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetChannelCode added in v1.2.0

GetChannelCode ChannelCode Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetCinemaLinkId added in v1.2.0

GetCinemaLinkId CinemaLinkId Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetGoodsList added in v1.2.0

GetGoodsList GoodsList Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetMobile added in v1.2.0

GetMobile Mobile Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetOperatorUserId added in v1.2.0

func (r TaobaoLarkIotOrderConfirmorderAPIRequest) GetOperatorUserId() string

GetOperatorUserId OperatorUserId Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetOutGoodsOrderId added in v1.2.0

func (r TaobaoLarkIotOrderConfirmorderAPIRequest) GetOutGoodsOrderId() string

GetOutGoodsOrderId OutGoodsOrderId Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetPaymentList added in v1.2.0

GetPaymentList PaymentList Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetPromotionList added in v1.2.0

func (r TaobaoLarkIotOrderConfirmorderAPIRequest) GetPromotionList() string

GetPromotionList PromotionList Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetWorkstationId added in v1.2.0

func (r TaobaoLarkIotOrderConfirmorderAPIRequest) GetWorkstationId() string

GetWorkstationId WorkstationId Getter

func (TaobaoLarkIotOrderConfirmorderAPIRequest) GetWorkstationName added in v1.2.0

func (r TaobaoLarkIotOrderConfirmorderAPIRequest) GetWorkstationName() string

GetWorkstationName WorkstationName Getter

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetChannelCode added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetChannelCode(_channelCode string) error

SetChannelCode is ChannelCode Setter 渠道编码

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetCinemaLinkId added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetCinemaLinkId(_cinemaLinkId string) error

SetCinemaLinkId is CinemaLinkId Setter 影院内码

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetGoodsList added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetGoodsList(_goodsList string) error

SetGoodsList is GoodsList Setter 卖品列表

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetMobile added in v1.2.0

SetMobile is Mobile Setter 手机号

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetOperatorUserId added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetOperatorUserId(_operatorUserId string) error

SetOperatorUserId is OperatorUserId Setter 管理员

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetOutGoodsOrderId added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetOutGoodsOrderId(_outGoodsOrderId string) error

SetOutGoodsOrderId is OutGoodsOrderId Setter 外部订单号

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetPaymentList added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetPaymentList(_paymentList string) error

SetPaymentList is PaymentList Setter 支付方式

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetPromotionList added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetPromotionList(_promotionList string) error

SetPromotionList is PromotionList Setter 优惠列表

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetWorkstationId added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetWorkstationId(_workstationId string) error

SetWorkstationId is WorkstationId Setter 工作站id

func (*TaobaoLarkIotOrderConfirmorderAPIRequest) SetWorkstationName added in v1.2.0

func (r *TaobaoLarkIotOrderConfirmorderAPIRequest) SetWorkstationName(_workstationName string) error

SetWorkstationName is WorkstationName Setter 工作站名称

type TaobaoLarkIotOrderConfirmorderAPIResponse

type TaobaoLarkIotOrderConfirmorderAPIResponse struct {
	model.CommonResponse
	TaobaoLarkIotOrderConfirmorderAPIResponseModel
}

TaobaoLarkIotOrderConfirmorderAPIResponse iot渠道卖品落单 API返回值 taobao.lark.iot.order.confirmorder

云智对接无人超市,接收无人超市订单信息

type TaobaoLarkIotOrderConfirmorderAPIResponseModel added in v1.2.0

type TaobaoLarkIotOrderConfirmorderAPIResponseModel struct {
	XMLName xml.Name `xml:"lark_iot_order_confirmorder_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回下单结果
	Data *BizSingleResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoLarkIotOrderConfirmorderAPIResponseModel is iot渠道卖品落单 成功返回结果

type TaobaoLarkIotOrderGetcinemasAPIRequest added in v1.2.0

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

TaobaoLarkIotOrderGetcinemasAPIRequest 获取iot渠道开放的影院 API请求 taobao.lark.iot.order.getcinemas

iot渠道拉取有权限访问的影院

func NewTaobaoLarkIotOrderGetcinemasRequest

func NewTaobaoLarkIotOrderGetcinemasRequest() *TaobaoLarkIotOrderGetcinemasAPIRequest

NewTaobaoLarkIotOrderGetcinemasRequest 初始化TaobaoLarkIotOrderGetcinemasAPIRequest对象

func (TaobaoLarkIotOrderGetcinemasAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoLarkIotOrderGetcinemasAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLarkIotOrderGetcinemasAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLarkIotOrderGetcinemasAPIRequest) GetChannelCode added in v1.2.0

GetChannelCode ChannelCode Getter

func (TaobaoLarkIotOrderGetcinemasAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLarkIotOrderGetcinemasAPIRequest) SetChannelCode added in v1.2.0

func (r *TaobaoLarkIotOrderGetcinemasAPIRequest) SetChannelCode(_channelCode string) error

SetChannelCode is ChannelCode Setter 渠道编码

type TaobaoLarkIotOrderGetcinemasAPIResponse

type TaobaoLarkIotOrderGetcinemasAPIResponse struct {
	model.CommonResponse
	TaobaoLarkIotOrderGetcinemasAPIResponseModel
}

TaobaoLarkIotOrderGetcinemasAPIResponse 获取iot渠道开放的影院 API返回值 taobao.lark.iot.order.getcinemas

iot渠道拉取有权限访问的影院

type TaobaoLarkIotOrderGetcinemasAPIResponseModel added in v1.2.0

type TaobaoLarkIotOrderGetcinemasAPIResponseModel struct {
	XMLName xml.Name `xml:"lark_iot_order_getcinemas_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 有权限的影院列表
	Data *BizListResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoLarkIotOrderGetcinemasAPIResponseModel is 获取iot渠道开放的影院 成功返回结果

type TaobaoLarkIotOrderGetgoodslistAPIRequest added in v1.2.0

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

TaobaoLarkIotOrderGetgoodslistAPIRequest iot渠道获取卖品信息 API请求 taobao.lark.iot.order.getgoodslist

iot无人超市服务商通过接口获取影院的可售卖品数据

func NewTaobaoLarkIotOrderGetgoodslistRequest

func NewTaobaoLarkIotOrderGetgoodslistRequest() *TaobaoLarkIotOrderGetgoodslistAPIRequest

NewTaobaoLarkIotOrderGetgoodslistRequest 初始化TaobaoLarkIotOrderGetgoodslistAPIRequest对象

func (TaobaoLarkIotOrderGetgoodslistAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoLarkIotOrderGetgoodslistAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLarkIotOrderGetgoodslistAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLarkIotOrderGetgoodslistAPIRequest) GetChannelCode added in v1.2.0

GetChannelCode ChannelCode Getter

func (TaobaoLarkIotOrderGetgoodslistAPIRequest) GetCinemaLinkId added in v1.2.0

GetCinemaLinkId CinemaLinkId Getter

func (TaobaoLarkIotOrderGetgoodslistAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLarkIotOrderGetgoodslistAPIRequest) SetChannelCode added in v1.2.0

func (r *TaobaoLarkIotOrderGetgoodslistAPIRequest) SetChannelCode(_channelCode string) error

SetChannelCode is ChannelCode Setter 渠道编码

func (*TaobaoLarkIotOrderGetgoodslistAPIRequest) SetCinemaLinkId added in v1.2.0

func (r *TaobaoLarkIotOrderGetgoodslistAPIRequest) SetCinemaLinkId(_cinemaLinkId string) error

SetCinemaLinkId is CinemaLinkId Setter 影院内码

type TaobaoLarkIotOrderGetgoodslistAPIResponse

type TaobaoLarkIotOrderGetgoodslistAPIResponse struct {
	model.CommonResponse
	TaobaoLarkIotOrderGetgoodslistAPIResponseModel
}

TaobaoLarkIotOrderGetgoodslistAPIResponse iot渠道获取卖品信息 API返回值 taobao.lark.iot.order.getgoodslist

iot无人超市服务商通过接口获取影院的可售卖品数据

type TaobaoLarkIotOrderGetgoodslistAPIResponseModel added in v1.2.0

type TaobaoLarkIotOrderGetgoodslistAPIResponseModel struct {
	XMLName xml.Name `xml:"lark_iot_order_getgoodslist_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 卖品信息列表
	Data *BizSingleResult `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoLarkIotOrderGetgoodslistAPIResponseModel is iot渠道获取卖品信息 成功返回结果

type TaobaoLarkPosBasedataGetworkstationAPIRequest added in v1.2.0

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

TaobaoLarkPosBasedataGetworkstationAPIRequest 根据影城id工作站和macId获取工作站 API请求 taobao.lark.pos.basedata.getworkstation

获取单独工作站

func NewTaobaoLarkPosBasedataGetworkstationRequest

func NewTaobaoLarkPosBasedataGetworkstationRequest() *TaobaoLarkPosBasedataGetworkstationAPIRequest

NewTaobaoLarkPosBasedataGetworkstationRequest 初始化TaobaoLarkPosBasedataGetworkstationAPIRequest对象

func (TaobaoLarkPosBasedataGetworkstationAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLarkPosBasedataGetworkstationAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLarkPosBasedataGetworkstationAPIRequest) GetCinemaLinkId added in v1.2.0

GetCinemaLinkId CinemaLinkId Getter

func (TaobaoLarkPosBasedataGetworkstationAPIRequest) GetPosCode added in v1.2.0

GetPosCode PosCode Getter

func (TaobaoLarkPosBasedataGetworkstationAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLarkPosBasedataGetworkstationAPIRequest) SetCinemaLinkId added in v1.2.0

func (r *TaobaoLarkPosBasedataGetworkstationAPIRequest) SetCinemaLinkId(_cinemaLinkId string) error

SetCinemaLinkId is CinemaLinkId Setter 影城cinemaLinkId

func (*TaobaoLarkPosBasedataGetworkstationAPIRequest) SetPosCode added in v1.2.0

SetPosCode is PosCode Setter 终端编码

type TaobaoLarkPosBasedataGetworkstationAPIResponse

type TaobaoLarkPosBasedataGetworkstationAPIResponse struct {
	model.CommonResponse
	TaobaoLarkPosBasedataGetworkstationAPIResponseModel
}

TaobaoLarkPosBasedataGetworkstationAPIResponse 根据影城id工作站和macId获取工作站 API返回值 taobao.lark.pos.basedata.getworkstation

获取单独工作站

type TaobaoLarkPosBasedataGetworkstationAPIResponseModel added in v1.2.0

type TaobaoLarkPosBasedataGetworkstationAPIResponseModel struct {
	XMLName xml.Name `xml:"lark_pos_basedata_getworkstation_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应结果
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

TaobaoLarkPosBasedataGetworkstationAPIResponseModel is 根据影城id工作站和macId获取工作站 成功返回结果

type ThirdGoodsListRsp

type ThirdGoodsListRsp struct {
	// 卖品列表
	GoodsList []ThirdGoodsRsp `json:"goods_list,omitempty" xml:"goods_list>third_goods_rsp,omitempty"`
	// 影院内码
	CinemaLinkId string `json:"cinema_link_id,omitempty" xml:"cinema_link_id,omitempty"`
	// 最大数量
	MaxBuyCount int64 `json:"max_buy_count,omitempty" xml:"max_buy_count,omitempty"`
}

ThirdGoodsListRsp 结构体

type ThirdGoodsRsp

type ThirdGoodsRsp struct {
	// 卖品编码
	GoodsCode string `json:"goods_code,omitempty" xml:"goods_code,omitempty"`
	// 卖品名称
	GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"`
	// 套餐标识
	PackageFlag string `json:"package_flag,omitempty" xml:"package_flag,omitempty"`
	// 标准价
	StandardPrice string `json:"standard_price,omitempty" xml:"standard_price,omitempty"`
	// 结算价
	SettlePrice string `json:"settle_price,omitempty" xml:"settle_price,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 唯一键
	GoodsKey string `json:"goods_key,omitempty" xml:"goods_key,omitempty"`
	// 会员标识
	MemberFlag string `json:"member_flag,omitempty" xml:"member_flag,omitempty"`
	// 卖品url
	GoodsPicUrl string `json:"goods_pic_url,omitempty" xml:"goods_pic_url,omitempty"`
}

ThirdGoodsRsp 结构体

Jump to

Keyboard shortcuts

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