retail

package
v1.2.0 Latest Latest
Warning

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

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

Documentation

Overview

天猫门店API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaInteractRetailQueryshelflocationAPIRequest added in v1.2.0

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

查询货架和位置数据 API请求 alibaba.interact.retail.queryshelflocation

查询货架和位置数据

func NewAlibabaInteractRetailQueryshelflocationRequest

func NewAlibabaInteractRetailQueryshelflocationRequest() *AlibabaInteractRetailQueryshelflocationAPIRequest

初始化AlibabaInteractRetailQueryshelflocationAPIRequest对象

func (AlibabaInteractRetailQueryshelflocationAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaInteractRetailQueryshelflocationAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaInteractRetailQueryshelflocationAPIRequest) GetParam0 added in v1.2.0

Param0 Getter

func (*AlibabaInteractRetailQueryshelflocationAPIRequest) SetParam0 added in v1.2.0

Param0 Setter 门店code

type AlibabaInteractRetailQueryshelflocationAPIResponse

type AlibabaInteractRetailQueryshelflocationAPIResponse struct {
	model.CommonResponse
	AlibabaInteractRetailQueryshelflocationAPIResponseModel
}

查询货架和位置数据 API返回值 alibaba.interact.retail.queryshelflocation

查询货架和位置数据

type AlibabaInteractRetailQueryshelflocationAPIResponseModel added in v1.2.0

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

查询货架和位置数据 成功返回结果

type AlibabaInteractRetailQueryshelflocationResult

type AlibabaInteractRetailQueryshelflocationResult struct {
	// module
	Module string `json:"module,omitempty" xml:"module,omitempty"`
	// warningInfos
	WarningInfos []string `json:"warning_infos,omitempty" xml:"warning_infos>string,omitempty"`
	// errorInfos
	ErrorInfos []string `json:"error_infos,omitempty" xml:"error_infos>string,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaInteractRetailQueryshelflocationResult

type AlibabaInteractRetailSaveshelflocationAPIRequest added in v1.2.0

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

保存地理位置和货架关系 API请求 alibaba.interact.retail.saveshelflocation

保存地理位置和货架关系

func NewAlibabaInteractRetailSaveshelflocationRequest

func NewAlibabaInteractRetailSaveshelflocationRequest() *AlibabaInteractRetailSaveshelflocationAPIRequest

初始化AlibabaInteractRetailSaveshelflocationAPIRequest对象

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetAddress added in v1.2.0

Address Getter

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetLat added in v1.2.0

Lat Getter

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetLng added in v1.2.0

Lng Getter

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetPoiId added in v1.2.0

PoiId Getter

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetShelfNo added in v1.2.0

ShelfNo Getter

func (AlibabaInteractRetailSaveshelflocationAPIRequest) GetStoreCode added in v1.2.0

StoreCode Getter

func (*AlibabaInteractRetailSaveshelflocationAPIRequest) SetAddress added in v1.2.0

Address Setter 地址

func (*AlibabaInteractRetailSaveshelflocationAPIRequest) SetLat added in v1.2.0

Lat Setter 纬度

func (*AlibabaInteractRetailSaveshelflocationAPIRequest) SetLng added in v1.2.0

Lng Setter 经度

func (*AlibabaInteractRetailSaveshelflocationAPIRequest) SetPoiId added in v1.2.0

PoiId Setter POI

func (*AlibabaInteractRetailSaveshelflocationAPIRequest) SetShelfNo added in v1.2.0

ShelfNo Setter 货架编号

func (*AlibabaInteractRetailSaveshelflocationAPIRequest) SetStoreCode added in v1.2.0

StoreCode Setter 门店code

type AlibabaInteractRetailSaveshelflocationAPIResponse

type AlibabaInteractRetailSaveshelflocationAPIResponse struct {
	model.CommonResponse
	AlibabaInteractRetailSaveshelflocationAPIResponseModel
}

保存地理位置和货架关系 API返回值 alibaba.interact.retail.saveshelflocation

保存地理位置和货架关系

type AlibabaInteractRetailSaveshelflocationAPIResponseModel added in v1.2.0

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

保存地理位置和货架关系 成功返回结果

type AlibabaInteractRetailSaveshelflocationResult

type AlibabaInteractRetailSaveshelflocationResult struct {
	// module
	Module string `json:"module,omitempty" xml:"module,omitempty"`
	// warningInfos
	WarningInfos []string `json:"warning_infos,omitempty" xml:"warning_infos>string,omitempty"`
	// errorInfos
	ErrorInfos []string `json:"error_infos,omitempty" xml:"error_infos>string,omitempty"`
	// success
	Success string `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaInteractRetailSaveshelflocationResult

type AlibabaRetailDeviceInfoGetAPIRequest added in v1.2.0

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

贩卖机设备信息获取 API请求 alibaba.retail.device.info.get

贩卖机设备信息获取

func NewAlibabaRetailDeviceInfoGetRequest

func NewAlibabaRetailDeviceInfoGetRequest() *AlibabaRetailDeviceInfoGetAPIRequest

初始化AlibabaRetailDeviceInfoGetAPIRequest对象

func (AlibabaRetailDeviceInfoGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaRetailDeviceInfoGetAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceInfoGetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceInfoGetAPIRequest) GetDeviceCode added in v1.2.0

func (r AlibabaRetailDeviceInfoGetAPIRequest) GetDeviceCode() string

DeviceCode Getter

func (AlibabaRetailDeviceInfoGetAPIRequest) GetDeviceSn added in v1.2.0

DeviceSn Getter

func (AlibabaRetailDeviceInfoGetAPIRequest) GetDeviceUuid added in v1.2.0

func (r AlibabaRetailDeviceInfoGetAPIRequest) GetDeviceUuid() string

DeviceUuid Getter

func (*AlibabaRetailDeviceInfoGetAPIRequest) SetDeviceCode added in v1.2.0

func (r *AlibabaRetailDeviceInfoGetAPIRequest) SetDeviceCode(_deviceCode string) error

DeviceCode Setter 阿里设备编码

func (*AlibabaRetailDeviceInfoGetAPIRequest) SetDeviceSn added in v1.2.0

func (r *AlibabaRetailDeviceInfoGetAPIRequest) SetDeviceSn(_deviceSn string) error

DeviceSn Setter 阿里设备物理ID(32位)

func (*AlibabaRetailDeviceInfoGetAPIRequest) SetDeviceUuid added in v1.2.0

func (r *AlibabaRetailDeviceInfoGetAPIRequest) SetDeviceUuid(_deviceUuid string) error

DeviceUuid Setter 外部设备ID

type AlibabaRetailDeviceInfoGetAPIResponse

type AlibabaRetailDeviceInfoGetAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceInfoGetAPIResponseModel
}

贩卖机设备信息获取 API返回值 alibaba.retail.device.info.get

贩卖机设备信息获取

type AlibabaRetailDeviceInfoGetAPIResponseModel added in v1.2.0

type AlibabaRetailDeviceInfoGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_retail_device_info_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Data string `json:"data,omitempty" xml:"data,omitempty"`
}

贩卖机设备信息获取 成功返回结果

type AlibabaRetailDeviceOrderQueryAPIRequest added in v1.2.0

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

贩卖机订单查询 API请求 alibaba.retail.device.order.query

贩卖机订单查询

func NewAlibabaRetailDeviceOrderQueryRequest

func NewAlibabaRetailDeviceOrderQueryRequest() *AlibabaRetailDeviceOrderQueryAPIRequest

初始化AlibabaRetailDeviceOrderQueryAPIRequest对象

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaRetailDeviceOrderQueryAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetDeviceCode added in v1.2.0

DeviceCode Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetDeviceSnList added in v1.2.0

func (r AlibabaRetailDeviceOrderQueryAPIRequest) GetDeviceSnList() []string

DeviceSnList Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetDeviceUuid added in v1.2.0

DeviceUuid Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetEnds added in v1.2.0

Ends Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetPageNum added in v1.2.0

PageNum Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetPageSize added in v1.2.0

PageSize Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetPayType added in v1.2.0

PayType Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetStarts added in v1.2.0

Starts Getter

func (AlibabaRetailDeviceOrderQueryAPIRequest) GetStatus added in v1.2.0

Status Getter

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetDeviceCode added in v1.2.0

func (r *AlibabaRetailDeviceOrderQueryAPIRequest) SetDeviceCode(_deviceCode string) error

DeviceCode Setter 阿里设备编码

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetDeviceSnList added in v1.2.0

func (r *AlibabaRetailDeviceOrderQueryAPIRequest) SetDeviceSnList(_deviceSnList []string) error

DeviceSnList Setter 阿里设备物理ID

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetDeviceUuid added in v1.2.0

func (r *AlibabaRetailDeviceOrderQueryAPIRequest) SetDeviceUuid(_deviceUuid string) error

DeviceUuid Setter 外部设备编码

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetEnds added in v1.2.0

Ends Setter 查询订单结束时间

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetPageNum added in v1.2.0

func (r *AlibabaRetailDeviceOrderQueryAPIRequest) SetPageNum(_pageNum int64) error

PageNum Setter 页码

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetPageSize added in v1.2.0

func (r *AlibabaRetailDeviceOrderQueryAPIRequest) SetPageSize(_pageSize int64) error

PageSize Setter 分页大小

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetPayType added in v1.2.0

func (r *AlibabaRetailDeviceOrderQueryAPIRequest) SetPayType(_payType string) error

PayType Setter CASH 现金,ALIPAY_FACE_PAY_QR 支付宝,VENDING_PRIZE 抽奖,FACE_PAY 人脸

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetStarts added in v1.2.0

Starts Setter 查询订单开始时间

func (*AlibabaRetailDeviceOrderQueryAPIRequest) SetStatus added in v1.2.0

func (r *AlibabaRetailDeviceOrderQueryAPIRequest) SetStatus(_status int64) error

Status Setter -20 已退款,-10 交易关闭 ,10 创单 20 已支付 30 已出货 40 交易完成

type AlibabaRetailDeviceOrderQueryAPIResponse

type AlibabaRetailDeviceOrderQueryAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceOrderQueryAPIResponseModel
}

贩卖机订单查询 API返回值 alibaba.retail.device.order.query

贩卖机订单查询

type AlibabaRetailDeviceOrderQueryAPIResponseModel added in v1.2.0

type AlibabaRetailDeviceOrderQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_retail_device_order_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误码
	Errcode string `json:"errcode,omitempty" xml:"errcode,omitempty"`
	// 系统自动生成
	Errmsg string `json:"errmsg,omitempty" xml:"errmsg,omitempty"`
	// 是否成功
	Data *PaginationDo `json:"data,omitempty" xml:"data,omitempty"`
}

贩卖机订单查询 成功返回结果

type AlibabaRetailDeviceRoadStatusResetAPIRequest added in v1.2.0

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

贩卖机货道解锁 API请求 alibaba.retail.device.road.status.reset

贩卖机货道解锁

func NewAlibabaRetailDeviceRoadStatusResetRequest

func NewAlibabaRetailDeviceRoadStatusResetRequest() *AlibabaRetailDeviceRoadStatusResetAPIRequest

初始化AlibabaRetailDeviceRoadStatusResetAPIRequest对象

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceCode added in v1.2.0

DeviceCode Getter

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceSn added in v1.2.0

DeviceSn Getter

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceUuid added in v1.2.0

DeviceUuid Getter

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRoadNoList added in v1.2.0

RoadNoList Getter

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceCode added in v1.2.0

func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceCode(_deviceCode string) error

DeviceCode Setter 阿里设备编码

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceSn added in v1.2.0

func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceSn(_deviceSn string) error

DeviceSn Setter 阿里设备物理编码

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceUuid added in v1.2.0

func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceUuid(_deviceUuid string) error

DeviceUuid Setter 设备外部编码

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetRoadNoList added in v1.2.0

func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetRoadNoList(_roadNoList []string) error

RoadNoList Setter 货道编码

type AlibabaRetailDeviceRoadStatusResetAPIResponse

type AlibabaRetailDeviceRoadStatusResetAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceRoadStatusResetAPIResponseModel
}

贩卖机货道解锁 API返回值 alibaba.retail.device.road.status.reset

贩卖机货道解锁

type AlibabaRetailDeviceRoadStatusResetAPIResponseModel added in v1.2.0

type AlibabaRetailDeviceRoadStatusResetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_retail_device_road_status_reset_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否成功
	Data bool `json:"data,omitempty" xml:"data,omitempty"`
}

贩卖机货道解锁 成功返回结果

type AlibabaRetailElectronicCertificateConfirmAPIRequest added in v1.2.0

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

确认核销接口 API请求 alibaba.retail.electronic.certificate.confirm

确认核销接口

func NewAlibabaRetailElectronicCertificateConfirmRequest

func NewAlibabaRetailElectronicCertificateConfirmRequest() *AlibabaRetailElectronicCertificateConfirmAPIRequest

初始化AlibabaRetailElectronicCertificateConfirmAPIRequest对象

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetCode added in v1.2.0

Code Getter

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetDeviceId added in v1.2.0

DeviceId Getter

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetItemId added in v1.2.0

ItemId Getter

func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetCode added in v1.2.0

Code Setter 核销码

func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetDeviceId added in v1.2.0

DeviceId Setter 设备ID

func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetItemId added in v1.2.0

ItemId Setter 商品ID

type AlibabaRetailElectronicCertificateConfirmAPIResponse

type AlibabaRetailElectronicCertificateConfirmAPIResponse struct {
	model.CommonResponse
	AlibabaRetailElectronicCertificateConfirmAPIResponseModel
}

确认核销接口 API返回值 alibaba.retail.electronic.certificate.confirm

确认核销接口

type AlibabaRetailElectronicCertificateConfirmAPIResponseModel added in v1.2.0

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

确认核销接口 成功返回结果

type AlibabaRetailElectronicCertificateConfirmResult

type AlibabaRetailElectronicCertificateConfirmResult struct {
	// module
	Module bool `json:"module,omitempty" xml:"module,omitempty"`
	// warningInfos
	WarningInfos []string `json:"warning_infos,omitempty" xml:"warning_infos>string,omitempty"`
	// errorInfos
	ErrorInfos []string `json:"error_infos,omitempty" xml:"error_infos>string,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaRetailElectronicCertificateConfirmResult

type AlibabaRetailElectronicCertificatePreConfirmAPIRequest added in v1.2.0

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

贩卖机开始核销接口 API请求 alibaba.retail.electronic.certificate.pre.confirm

零售终端贩卖机开始核销接口,返回待领的商品ID

func NewAlibabaRetailElectronicCertificatePreConfirmRequest

func NewAlibabaRetailElectronicCertificatePreConfirmRequest() *AlibabaRetailElectronicCertificatePreConfirmAPIRequest

初始化AlibabaRetailElectronicCertificatePreConfirmAPIRequest对象

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetCode added in v1.2.0

Code Getter

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetDeviceId added in v1.2.0

DeviceId Getter

func (*AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetCode added in v1.2.0

Code Setter 核销码

func (*AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetDeviceId added in v1.2.0

DeviceId Setter 设备ID

type AlibabaRetailElectronicCertificatePreConfirmAPIResponse

type AlibabaRetailElectronicCertificatePreConfirmAPIResponse struct {
	model.CommonResponse
	AlibabaRetailElectronicCertificatePreConfirmAPIResponseModel
}

贩卖机开始核销接口 API返回值 alibaba.retail.electronic.certificate.pre.confirm

零售终端贩卖机开始核销接口,返回待领的商品ID

type AlibabaRetailElectronicCertificatePreConfirmAPIResponseModel added in v1.2.0

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

贩卖机开始核销接口 成功返回结果

type AlibabaRetailElectronicCertificatePreConfirmResult

type AlibabaRetailElectronicCertificatePreConfirmResult struct {
	// module
	Module *ElectronicCertificateDto `json:"module,omitempty" xml:"module,omitempty"`
	// warningInfos
	WarningInfos []string `json:"warning_infos,omitempty" xml:"warning_infos>string,omitempty"`
	// errorInfos
	ErrorInfos []string `json:"error_infos,omitempty" xml:"error_infos>string,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaRetailElectronicCertificatePreConfirmResult

type AlibabaRetailVendingPriceWhitelistAddAPIRequest added in v1.2.0

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

贩卖机价格修改白名单 API请求 alibaba.retail.vending.price.whitelist.add

贩卖机价格修改白名单

func NewAlibabaRetailVendingPriceWhitelistAddRequest

func NewAlibabaRetailVendingPriceWhitelistAddRequest() *AlibabaRetailVendingPriceWhitelistAddAPIRequest

初始化AlibabaRetailVendingPriceWhitelistAddAPIRequest对象

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetAllDevice added in v1.2.0

AllDevice Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetBarcode added in v1.2.0

Barcode Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetDeviceCodeList added in v1.2.0

DeviceCodeList Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetDeviceUuidList added in v1.2.0

DeviceUuidList Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetItemId added in v1.2.0

ItemId Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetMinPrice added in v1.2.0

MinPrice Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetSellerId added in v1.2.0

SellerId Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetValidEnds added in v1.2.0

ValidEnds Getter

func (AlibabaRetailVendingPriceWhitelistAddAPIRequest) GetValidStarts added in v1.2.0

ValidStarts Getter

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetAllDevice added in v1.2.0

func (r *AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetAllDevice(_allDevice bool) error

AllDevice Setter 是否生效到所有设备

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetBarcode added in v1.2.0

Barcode Setter 条码

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetDeviceCodeList added in v1.2.0

func (r *AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetDeviceCodeList(_deviceCodeList []string) error

DeviceCodeList Setter 设备编码 device_code_list, device_uuid_list 二选一必填

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetDeviceUuidList added in v1.2.0

func (r *AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetDeviceUuidList(_deviceUuidList []string) error

DeviceUuidList Setter 外部设备编码 device_code_list, device_uuid_list 二选一必填

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetItemId added in v1.2.0

ItemId Setter 商品ID

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetMinPrice added in v1.2.0

MinPrice Setter 允许修改的最低价

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetSellerId added in v1.2.0

SellerId Setter 淘宝用户ID

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetValidEnds added in v1.2.0

func (r *AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetValidEnds(_validEnds string) error

ValidEnds Setter 生效结束时间

func (*AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetValidStarts added in v1.2.0

func (r *AlibabaRetailVendingPriceWhitelistAddAPIRequest) SetValidStarts(_validStarts string) error

ValidStarts Setter 生效时间

type AlibabaRetailVendingPriceWhitelistAddAPIResponse

type AlibabaRetailVendingPriceWhitelistAddAPIResponse struct {
	model.CommonResponse
	AlibabaRetailVendingPriceWhitelistAddAPIResponseModel
}

贩卖机价格修改白名单 API返回值 alibaba.retail.vending.price.whitelist.add

贩卖机价格修改白名单

type AlibabaRetailVendingPriceWhitelistAddAPIResponseModel added in v1.2.0

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

贩卖机价格修改白名单 成功返回结果

type AlibabaRetailVendingPriceWhitelistAddResultDo

type AlibabaRetailVendingPriceWhitelistAddResultDo struct {
	// 成功标识
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误消息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

AlibabaRetailVendingPriceWhitelistAddResultDo

type AlibabaRetailVendingPriceWhitelistRemoveAPIRequest added in v1.2.0

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

价格管控白名单去除 API请求 alibaba.retail.vending.price.whitelist.remove

商家价格管控白名单去除

func NewAlibabaRetailVendingPriceWhitelistRemoveRequest

func NewAlibabaRetailVendingPriceWhitelistRemoveRequest() *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest

初始化AlibabaRetailVendingPriceWhitelistRemoveAPIRequest对象

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetAllDevice added in v1.2.0

AllDevice Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetBarcode added in v1.2.0

Barcode Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceCodeList added in v1.2.0

DeviceCodeList Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceUuidList added in v1.2.0

DeviceUuidList Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetItemId added in v1.2.0

ItemId Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetSellerId added in v1.2.0

SellerId Getter

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetAllDevice added in v1.2.0

AllDevice Setter 是否生效到所有设备

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetBarcode added in v1.2.0

Barcode Setter 条码

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceCodeList added in v1.2.0

func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceCodeList(_deviceCodeList []string) error

DeviceCodeList Setter 设备编码 device_code_list, device_uuid_list 二选一必填

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceUuidList added in v1.2.0

func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceUuidList(_deviceUuidList []string) error

DeviceUuidList Setter 外部设备编码 device_code_list, device_uuid_list 二选一必填

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetItemId added in v1.2.0

ItemId Setter 如果该参数传入,条码以商品条码为准

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetSellerId added in v1.2.0

SellerId Setter 淘宝用户ID

type AlibabaRetailVendingPriceWhitelistRemoveAPIResponse

type AlibabaRetailVendingPriceWhitelistRemoveAPIResponse struct {
	model.CommonResponse
	AlibabaRetailVendingPriceWhitelistRemoveAPIResponseModel
}

价格管控白名单去除 API返回值 alibaba.retail.vending.price.whitelist.remove

商家价格管控白名单去除

type AlibabaRetailVendingPriceWhitelistRemoveAPIResponseModel added in v1.2.0

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

价格管控白名单去除 成功返回结果

type AlibabaRetailVendingPriceWhitelistRemoveResultDo

type AlibabaRetailVendingPriceWhitelistRemoveResultDo struct {
	// 成功标识
	Succ bool `json:"succ,omitempty" xml:"succ,omitempty"`
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误消息
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

AlibabaRetailVendingPriceWhitelistRemoveResultDo

type AppInfo

type AppInfo struct {
	// 系统自动生成
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
}

AppInfo

type CreateOrderRequest

type CreateOrderRequest struct {
	// 门店编码
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 订单列表
	Orders []Order `json:"orders,omitempty" xml:"orders>order,omitempty"`
	// 用户手机号码
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
}

CreateOrderRequest

type DeliveryAddressDto added in v1.2.0

type DeliveryAddressDto struct {
	// 收货人姓名
	FullName string `json:"full_name,omitempty" xml:"full_name,omitempty"`
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 街道地址
	Town string `json:"town,omitempty" xml:"town,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
}

DeliveryAddressDto

type Detailresults

type Detailresults struct {
	// outOrderId
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
}

Detailresults

type ElectronicCertificateDto

type ElectronicCertificateDto struct {
	// itemId
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
}

ElectronicCertificateDto

type ItemLineDto added in v1.2.0

type ItemLineDto struct {
	// 百安居id
	OutLineId string `json:"out_line_id,omitempty" xml:"out_line_id,omitempty"`
	// 门店商品行id
	StoreOrderLineId int64 `json:"store_order_line_id,omitempty" xml:"store_order_line_id,omitempty"`
	// 商品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// skuId
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 价格
	Price int64 `json:"price,omitempty" xml:"price,omitempty"`
	// 购买数量
	BuyAmount int64 `json:"buy_amount,omitempty" xml:"buy_amount,omitempty"`
	// 实际付款价格
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
	// 外部skuId
	OutSkuId string `json:"out_sku_id,omitempty" xml:"out_sku_id,omitempty"`
	// 服务子订单
	ServiceList []ServiceItemLineDto `json:"service_list,omitempty" xml:"service_list>service_item_line_dto,omitempty"`
}

ItemLineDto

type Order

type Order struct {
	// 买家id
	BuyerId int64 `json:"buyer_id,omitempty" xml:"buyer_id,omitempty"`
	// 门店订单id
	StoreOrderId int64 `json:"store_order_id,omitempty" xml:"store_order_id,omitempty"`
	// 门店id
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 外部订单id
	OutOrderId string `json:"out_order_id,omitempty" xml:"out_order_id,omitempty"`
	// 原价
	OriginPrice int64 `json:"origin_price,omitempty" xml:"origin_price,omitempty"`
	// 商品信息
	ItemList []ItemLineDto `json:"item_list,omitempty" xml:"item_list>item_line_dto,omitempty"`
	// 地址信息
	DeliveryAddress *DeliveryAddressDto `json:"delivery_address,omitempty" xml:"delivery_address,omitempty"`
	// 订单实付价格
	PayFee int64 `json:"pay_fee,omitempty" xml:"pay_fee,omitempty"`
	// 提货类型
	ShippingType string `json:"shipping_type,omitempty" xml:"shipping_type,omitempty"`
}

Order

type PaginationDo

type PaginationDo struct {
	// 总数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 页码
	PageNum int64 `json:"page_num,omitempty" xml:"page_num,omitempty"`
	// 数据
	DataList []VendingBizOrderDto `json:"data_list,omitempty" xml:"data_list>vending_biz_order_dto,omitempty"`
}

PaginationDo

type ServiceItemLineDto added in v1.2.0

type ServiceItemLineDto struct {
	// 服务子订单id
	ServiceId int64 `json:"service_id,omitempty" xml:"service_id,omitempty"`
	// 购买数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 服务商品编码
	ServiceSpuCode string `json:"service_spu_code,omitempty" xml:"service_spu_code,omitempty"`
}

ServiceItemLineDto

type TmallStoreOrderCreateAPIRequest added in v1.2.0

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

门店订单创建api API请求 tmall.store.order.create

门店订单创建api

func NewTmallStoreOrderCreateRequest

func NewTmallStoreOrderCreateRequest() *TmallStoreOrderCreateAPIRequest

初始化TmallStoreOrderCreateAPIRequest对象

func (TmallStoreOrderCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallStoreOrderCreateAPIRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallStoreOrderCreateAPIRequest) GetApiParams added in v1.2.0

func (r TmallStoreOrderCreateAPIRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallStoreOrderCreateAPIRequest) GetAppInfo added in v1.2.0

func (r TmallStoreOrderCreateAPIRequest) GetAppInfo() *AppInfo

AppInfo Getter

func (TmallStoreOrderCreateAPIRequest) GetCreateOrderRequest added in v1.2.0

func (r TmallStoreOrderCreateAPIRequest) GetCreateOrderRequest() *CreateOrderRequest

CreateOrderRequest Getter

func (*TmallStoreOrderCreateAPIRequest) SetAppInfo added in v1.2.0

func (r *TmallStoreOrderCreateAPIRequest) SetAppInfo(_appInfo *AppInfo) error

AppInfo Setter 系统自动生成

func (*TmallStoreOrderCreateAPIRequest) SetCreateOrderRequest added in v1.2.0

func (r *TmallStoreOrderCreateAPIRequest) SetCreateOrderRequest(_createOrderRequest *CreateOrderRequest) error

CreateOrderRequest Setter 创建订单请求

type TmallStoreOrderCreateAPIResponse

type TmallStoreOrderCreateAPIResponse struct {
	model.CommonResponse
	TmallStoreOrderCreateAPIResponseModel
}

门店订单创建api API返回值 tmall.store.order.create

门店订单创建api

type TmallStoreOrderCreateAPIResponseModel added in v1.2.0

type TmallStoreOrderCreateAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_store_order_create_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// detailResults
	DetailResults []Detailresults `json:"detail_results,omitempty" xml:"detail_results>detailresults,omitempty"`
}

门店订单创建api 成功返回结果

type VendingBizOrderDto

type VendingBizOrderDto struct {
	// 创单时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
	// 订单修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 设备编码
	DeviceSn string `json:"device_sn,omitempty" xml:"device_sn,omitempty"`
	// 设备名称
	DeviceName string `json:"device_name,omitempty" xml:"device_name,omitempty"`
	// 设备地址
	DeviceAddress string `json:"device_address,omitempty" xml:"device_address,omitempty"`
	// 外部设备ID
	DeviceUuid string `json:"device_uuid,omitempty" xml:"device_uuid,omitempty"`
	// 设备Code
	DeviceCode string `json:"device_code,omitempty" xml:"device_code,omitempty"`
	// 点位名称
	PointName string `json:"point_name,omitempty" xml:"point_name,omitempty"`
	// 商家id
	SellerId int64 `json:"seller_id,omitempty" xml:"seller_id,omitempty"`
	// 金额,单位分
	TotalFee int64 `json:"total_fee,omitempty" xml:"total_fee,omitempty"`
	// 淘系订单id
	TbMainOrderId int64 `json:"tb_main_order_id,omitempty" xml:"tb_main_order_id,omitempty"`
	// 外部订单ID
	MainOuterOrderId string `json:"main_outer_order_id,omitempty" xml:"main_outer_order_id,omitempty"`
	// -20 已退款,-10 交易关闭 ,10 创单 20 已支付  30 已出货  40 交易完成
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品名称
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 支付状态
	StatusName string `json:"status_name,omitempty" xml:"status_name,omitempty"`
	// 支付类型
	PayType string `json:"pay_type,omitempty" xml:"pay_type,omitempty"`
	// 支付类型名称
	PayTypeName string `json:"pay_type_name,omitempty" xml:"pay_type_name,omitempty"`
	// 条码
	BarCode string `json:"bar_code,omitempty" xml:"bar_code,omitempty"`
	// 货道编号
	RoadId string `json:"road_id,omitempty" xml:"road_id,omitempty"`
}

VendingBizOrderDto

Source Files

Jump to

Keyboard shortcuts

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