retail

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 retail 包含天猫门店API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaRetailDeviceRoadStatusResetAPIRequest added in v1.3.4

func ReleaseAlibabaRetailDeviceRoadStatusResetAPIRequest(v *AlibabaRetailDeviceRoadStatusResetAPIRequest)

ReleaseAlibabaRetailDeviceRoadStatusResetAPIRequest 将 AlibabaRetailDeviceRoadStatusResetAPIRequest 放入 sync.Pool

func ReleaseAlibabaRetailDeviceRoadStatusResetAPIResponse added in v1.3.4

func ReleaseAlibabaRetailDeviceRoadStatusResetAPIResponse(v *AlibabaRetailDeviceRoadStatusResetAPIResponse)

ReleaseAlibabaRetailDeviceRoadStatusResetAPIResponse 将 AlibabaRetailDeviceRoadStatusResetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaRetailElectronicCertificateConfirmAPIRequest added in v1.3.4

func ReleaseAlibabaRetailElectronicCertificateConfirmAPIRequest(v *AlibabaRetailElectronicCertificateConfirmAPIRequest)

ReleaseAlibabaRetailElectronicCertificateConfirmAPIRequest 将 AlibabaRetailElectronicCertificateConfirmAPIRequest 放入 sync.Pool

func ReleaseAlibabaRetailElectronicCertificateConfirmAPIResponse added in v1.3.4

func ReleaseAlibabaRetailElectronicCertificateConfirmAPIResponse(v *AlibabaRetailElectronicCertificateConfirmAPIResponse)

ReleaseAlibabaRetailElectronicCertificateConfirmAPIResponse 将 AlibabaRetailElectronicCertificateConfirmAPIResponse 保存到 sync.Pool

func ReleaseAlibabaRetailElectronicCertificateConfirmResult added in v1.3.4

func ReleaseAlibabaRetailElectronicCertificateConfirmResult(v *AlibabaRetailElectronicCertificateConfirmResult)

ReleaseAlibabaRetailElectronicCertificateConfirmResult 释放AlibabaRetailElectronicCertificateConfirmResult

func ReleaseAlibabaRetailElectronicCertificatePreConfirmAPIRequest added in v1.3.4

func ReleaseAlibabaRetailElectronicCertificatePreConfirmAPIRequest(v *AlibabaRetailElectronicCertificatePreConfirmAPIRequest)

ReleaseAlibabaRetailElectronicCertificatePreConfirmAPIRequest 将 AlibabaRetailElectronicCertificatePreConfirmAPIRequest 放入 sync.Pool

func ReleaseAlibabaRetailElectronicCertificatePreConfirmAPIResponse added in v1.3.4

func ReleaseAlibabaRetailElectronicCertificatePreConfirmAPIResponse(v *AlibabaRetailElectronicCertificatePreConfirmAPIResponse)

ReleaseAlibabaRetailElectronicCertificatePreConfirmAPIResponse 将 AlibabaRetailElectronicCertificatePreConfirmAPIResponse 保存到 sync.Pool

func ReleaseAlibabaRetailElectronicCertificatePreConfirmResult added in v1.3.4

func ReleaseAlibabaRetailElectronicCertificatePreConfirmResult(v *AlibabaRetailElectronicCertificatePreConfirmResult)

ReleaseAlibabaRetailElectronicCertificatePreConfirmResult 释放AlibabaRetailElectronicCertificatePreConfirmResult

func ReleaseAlibabaRetailVendingPriceWhitelistRemoveAPIRequest added in v1.3.4

func ReleaseAlibabaRetailVendingPriceWhitelistRemoveAPIRequest(v *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest)

ReleaseAlibabaRetailVendingPriceWhitelistRemoveAPIRequest 将 AlibabaRetailVendingPriceWhitelistRemoveAPIRequest 放入 sync.Pool

func ReleaseAlibabaRetailVendingPriceWhitelistRemoveAPIResponse added in v1.3.4

func ReleaseAlibabaRetailVendingPriceWhitelistRemoveAPIResponse(v *AlibabaRetailVendingPriceWhitelistRemoveAPIResponse)

ReleaseAlibabaRetailVendingPriceWhitelistRemoveAPIResponse 将 AlibabaRetailVendingPriceWhitelistRemoveAPIResponse 保存到 sync.Pool

func ReleaseAlibabaRetailVendingPriceWhitelistRemoveResultDo added in v1.3.4

func ReleaseAlibabaRetailVendingPriceWhitelistRemoveResultDo(v *AlibabaRetailVendingPriceWhitelistRemoveResultDo)

ReleaseAlibabaRetailVendingPriceWhitelistRemoveResultDo 释放AlibabaRetailVendingPriceWhitelistRemoveResultDo

func ReleaseAppInfo added in v1.3.4

func ReleaseAppInfo(v *AppInfo)

ReleaseAppInfo 释放AppInfo

func ReleaseCreateOrderRequest added in v1.3.4

func ReleaseCreateOrderRequest(v *CreateOrderRequest)

ReleaseCreateOrderRequest 释放CreateOrderRequest

func ReleaseDeliveryAddressDto added in v1.3.4

func ReleaseDeliveryAddressDto(v *DeliveryAddressDto)

ReleaseDeliveryAddressDto 释放DeliveryAddressDto

func ReleaseDetailresults added in v1.3.4

func ReleaseDetailresults(v *Detailresults)

ReleaseDetailresults 释放Detailresults

func ReleaseElectronicCertificateDto added in v1.3.4

func ReleaseElectronicCertificateDto(v *ElectronicCertificateDto)

ReleaseElectronicCertificateDto 释放ElectronicCertificateDto

func ReleaseItemLineDto added in v1.3.4

func ReleaseItemLineDto(v *ItemLineDto)

ReleaseItemLineDto 释放ItemLineDto

func ReleaseOrder added in v1.3.4

func ReleaseOrder(v *Order)

ReleaseOrder 释放Order

func ReleaseServiceItemLineDto added in v1.3.4

func ReleaseServiceItemLineDto(v *ServiceItemLineDto)

ReleaseServiceItemLineDto 释放ServiceItemLineDto

func ReleaseTmallStoreOrderCreateAPIRequest added in v1.3.4

func ReleaseTmallStoreOrderCreateAPIRequest(v *TmallStoreOrderCreateAPIRequest)

ReleaseTmallStoreOrderCreateAPIRequest 将 TmallStoreOrderCreateAPIRequest 放入 sync.Pool

func ReleaseTmallStoreOrderCreateAPIResponse added in v1.3.4

func ReleaseTmallStoreOrderCreateAPIResponse(v *TmallStoreOrderCreateAPIResponse)

ReleaseTmallStoreOrderCreateAPIResponse 将 TmallStoreOrderCreateAPIResponse 保存到 sync.Pool

Types

type AlibabaRetailDeviceRoadStatusResetAPIRequest added in v1.2.0

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

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

贩卖机货道解锁

func GetAlibabaRetailDeviceRoadStatusResetAPIRequest added in v1.3.4

func GetAlibabaRetailDeviceRoadStatusResetAPIRequest() *AlibabaRetailDeviceRoadStatusResetAPIRequest

GetAlibabaRetailDeviceRoadStatusResetRequest 从 sync.Pool 获取 AlibabaRetailDeviceRoadStatusResetAPIRequest

func NewAlibabaRetailDeviceRoadStatusResetRequest

func NewAlibabaRetailDeviceRoadStatusResetRequest() *AlibabaRetailDeviceRoadStatusResetAPIRequest

NewAlibabaRetailDeviceRoadStatusResetRequest 初始化AlibabaRetailDeviceRoadStatusResetAPIRequest对象

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceCode added in v1.2.0

GetDeviceCode DeviceCode Getter

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceSn added in v1.2.0

GetDeviceSn DeviceSn Getter

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceUuid added in v1.2.0

GetDeviceUuid DeviceUuid Getter

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRoadNoList added in v1.2.0

GetRoadNoList RoadNoList Getter

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceCode added in v1.2.0

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

SetDeviceCode is DeviceCode Setter 阿里设备编码

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceSn added in v1.2.0

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

SetDeviceSn is DeviceSn Setter 阿里设备物理编码

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceUuid added in v1.2.0

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

SetDeviceUuid is DeviceUuid Setter 设备外部编码

func (*AlibabaRetailDeviceRoadStatusResetAPIRequest) SetRoadNoList added in v1.2.0

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

SetRoadNoList is RoadNoList Setter 货道编码

type AlibabaRetailDeviceRoadStatusResetAPIResponse

type AlibabaRetailDeviceRoadStatusResetAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceRoadStatusResetAPIResponseModel
}

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

贩卖机货道解锁

func GetAlibabaRetailDeviceRoadStatusResetAPIResponse added in v1.3.4

func GetAlibabaRetailDeviceRoadStatusResetAPIResponse() *AlibabaRetailDeviceRoadStatusResetAPIResponse

GetAlibabaRetailDeviceRoadStatusResetAPIResponse 从 sync.Pool 获取 AlibabaRetailDeviceRoadStatusResetAPIResponse

func (*AlibabaRetailDeviceRoadStatusResetAPIResponse) Reset added in v1.3.4

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"`
}

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

func (*AlibabaRetailDeviceRoadStatusResetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaRetailElectronicCertificateConfirmAPIRequest added in v1.2.0

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

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

确认核销接口

func GetAlibabaRetailElectronicCertificateConfirmAPIRequest added in v1.3.4

func GetAlibabaRetailElectronicCertificateConfirmAPIRequest() *AlibabaRetailElectronicCertificateConfirmAPIRequest

GetAlibabaRetailElectronicCertificateConfirmRequest 从 sync.Pool 获取 AlibabaRetailElectronicCertificateConfirmAPIRequest

func NewAlibabaRetailElectronicCertificateConfirmRequest

func NewAlibabaRetailElectronicCertificateConfirmRequest() *AlibabaRetailElectronicCertificateConfirmAPIRequest

NewAlibabaRetailElectronicCertificateConfirmRequest 初始化AlibabaRetailElectronicCertificateConfirmAPIRequest对象

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetCode added in v1.2.0

GetCode Code Getter

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetDeviceId added in v1.2.0

GetDeviceId DeviceId Getter

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetCode added in v1.2.0

SetCode is Code Setter 核销码

func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetDeviceId added in v1.2.0

SetDeviceId is DeviceId Setter 设备ID

func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 商品ID

type AlibabaRetailElectronicCertificateConfirmAPIResponse

type AlibabaRetailElectronicCertificateConfirmAPIResponse struct {
	model.CommonResponse
	AlibabaRetailElectronicCertificateConfirmAPIResponseModel
}

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

确认核销接口

func GetAlibabaRetailElectronicCertificateConfirmAPIResponse added in v1.3.4

func GetAlibabaRetailElectronicCertificateConfirmAPIResponse() *AlibabaRetailElectronicCertificateConfirmAPIResponse

GetAlibabaRetailElectronicCertificateConfirmAPIResponse 从 sync.Pool 获取 AlibabaRetailElectronicCertificateConfirmAPIResponse

func (*AlibabaRetailElectronicCertificateConfirmAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
}

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

func (*AlibabaRetailElectronicCertificateConfirmAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaRetailElectronicCertificateConfirmResult

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

AlibabaRetailElectronicCertificateConfirmResult 结构体

func GetAlibabaRetailElectronicCertificateConfirmResult added in v1.3.4

func GetAlibabaRetailElectronicCertificateConfirmResult() *AlibabaRetailElectronicCertificateConfirmResult

GetAlibabaRetailElectronicCertificateConfirmResult() 从对象池中获取AlibabaRetailElectronicCertificateConfirmResult

type AlibabaRetailElectronicCertificatePreConfirmAPIRequest added in v1.2.0

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

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

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

func GetAlibabaRetailElectronicCertificatePreConfirmAPIRequest added in v1.3.4

func GetAlibabaRetailElectronicCertificatePreConfirmAPIRequest() *AlibabaRetailElectronicCertificatePreConfirmAPIRequest

GetAlibabaRetailElectronicCertificatePreConfirmRequest 从 sync.Pool 获取 AlibabaRetailElectronicCertificatePreConfirmAPIRequest

func NewAlibabaRetailElectronicCertificatePreConfirmRequest

func NewAlibabaRetailElectronicCertificatePreConfirmRequest() *AlibabaRetailElectronicCertificatePreConfirmAPIRequest

NewAlibabaRetailElectronicCertificatePreConfirmRequest 初始化AlibabaRetailElectronicCertificatePreConfirmAPIRequest对象

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetCode added in v1.2.0

GetCode Code Getter

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetDeviceId added in v1.2.0

GetDeviceId DeviceId Getter

func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaRetailElectronicCertificatePreConfirmAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetCode added in v1.2.0

SetCode is Code Setter 核销码

func (*AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetDeviceId added in v1.2.0

SetDeviceId is DeviceId Setter 设备ID

type AlibabaRetailElectronicCertificatePreConfirmAPIResponse

type AlibabaRetailElectronicCertificatePreConfirmAPIResponse struct {
	model.CommonResponse
	AlibabaRetailElectronicCertificatePreConfirmAPIResponseModel
}

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

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

func GetAlibabaRetailElectronicCertificatePreConfirmAPIResponse added in v1.3.4

func GetAlibabaRetailElectronicCertificatePreConfirmAPIResponse() *AlibabaRetailElectronicCertificatePreConfirmAPIResponse

GetAlibabaRetailElectronicCertificatePreConfirmAPIResponse 从 sync.Pool 获取 AlibabaRetailElectronicCertificatePreConfirmAPIResponse

func (*AlibabaRetailElectronicCertificatePreConfirmAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
}

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

func (*AlibabaRetailElectronicCertificatePreConfirmAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaRetailElectronicCertificatePreConfirmResult

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

AlibabaRetailElectronicCertificatePreConfirmResult 结构体

func GetAlibabaRetailElectronicCertificatePreConfirmResult added in v1.3.4

func GetAlibabaRetailElectronicCertificatePreConfirmResult() *AlibabaRetailElectronicCertificatePreConfirmResult

GetAlibabaRetailElectronicCertificatePreConfirmResult() 从对象池中获取AlibabaRetailElectronicCertificatePreConfirmResult

type AlibabaRetailVendingPriceWhitelistRemoveAPIRequest added in v1.2.0

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

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

商家价格管控白名单去除

func GetAlibabaRetailVendingPriceWhitelistRemoveAPIRequest added in v1.3.4

func GetAlibabaRetailVendingPriceWhitelistRemoveAPIRequest() *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest

GetAlibabaRetailVendingPriceWhitelistRemoveRequest 从 sync.Pool 获取 AlibabaRetailVendingPriceWhitelistRemoveAPIRequest

func NewAlibabaRetailVendingPriceWhitelistRemoveRequest

func NewAlibabaRetailVendingPriceWhitelistRemoveRequest() *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest

NewAlibabaRetailVendingPriceWhitelistRemoveRequest 初始化AlibabaRetailVendingPriceWhitelistRemoveAPIRequest对象

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetAllDevice added in v1.2.0

GetAllDevice AllDevice Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetBarcode added in v1.2.0

GetBarcode Barcode Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceCodeList added in v1.2.0

GetDeviceCodeList DeviceCodeList Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceUuidList added in v1.2.0

GetDeviceUuidList DeviceUuidList Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetSellerId added in v1.2.0

GetSellerId SellerId Getter

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetAllDevice added in v1.2.0

SetAllDevice is AllDevice Setter 是否生效到所有设备

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetBarcode added in v1.2.0

SetBarcode is Barcode Setter 条码

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceCodeList added in v1.2.0

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

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

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceUuidList added in v1.2.0

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

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

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetItemId added in v1.2.0

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

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetSellerId added in v1.2.0

SetSellerId is SellerId Setter 淘宝用户ID

type AlibabaRetailVendingPriceWhitelistRemoveAPIResponse

type AlibabaRetailVendingPriceWhitelistRemoveAPIResponse struct {
	model.CommonResponse
	AlibabaRetailVendingPriceWhitelistRemoveAPIResponseModel
}

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

商家价格管控白名单去除

func GetAlibabaRetailVendingPriceWhitelistRemoveAPIResponse added in v1.3.4

func GetAlibabaRetailVendingPriceWhitelistRemoveAPIResponse() *AlibabaRetailVendingPriceWhitelistRemoveAPIResponse

GetAlibabaRetailVendingPriceWhitelistRemoveAPIResponse 从 sync.Pool 获取 AlibabaRetailVendingPriceWhitelistRemoveAPIResponse

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
}

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

func (*AlibabaRetailVendingPriceWhitelistRemoveAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaRetailVendingPriceWhitelistRemoveResultDo

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

AlibabaRetailVendingPriceWhitelistRemoveResultDo 结构体

func GetAlibabaRetailVendingPriceWhitelistRemoveResultDo added in v1.3.4

func GetAlibabaRetailVendingPriceWhitelistRemoveResultDo() *AlibabaRetailVendingPriceWhitelistRemoveResultDo

GetAlibabaRetailVendingPriceWhitelistRemoveResultDo() 从对象池中获取AlibabaRetailVendingPriceWhitelistRemoveResultDo

type AppInfo

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

AppInfo 结构体

func GetAppInfo added in v1.3.4

func GetAppInfo() *AppInfo

GetAppInfo() 从对象池中获取AppInfo

type CreateOrderRequest

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

CreateOrderRequest 结构体

func GetCreateOrderRequest added in v1.3.4

func GetCreateOrderRequest() *CreateOrderRequest

GetCreateOrderRequest() 从对象池中获取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 结构体

func GetDeliveryAddressDto added in v1.3.4

func GetDeliveryAddressDto() *DeliveryAddressDto

GetDeliveryAddressDto() 从对象池中获取DeliveryAddressDto

type Detailresults

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

Detailresults 结构体

func GetDetailresults added in v1.3.4

func GetDetailresults() *Detailresults

GetDetailresults() 从对象池中获取Detailresults

type ElectronicCertificateDto

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

ElectronicCertificateDto 结构体

func GetElectronicCertificateDto added in v1.3.4

func GetElectronicCertificateDto() *ElectronicCertificateDto

GetElectronicCertificateDto() 从对象池中获取ElectronicCertificateDto

type ItemLineDto added in v1.2.0

type ItemLineDto struct {
	// 服务子订单
	ServiceList []ServiceItemLineDto `json:"service_list,omitempty" xml:"service_list>service_item_line_dto,omitempty"`
	// 百安居id
	OutLineId string `json:"out_line_id,omitempty" xml:"out_line_id,omitempty"`
	// 外部skuId
	OutSkuId string `json:"out_sku_id,omitempty" xml:"out_sku_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"`
}

ItemLineDto 结构体

func GetItemLineDto added in v1.3.4

func GetItemLineDto() *ItemLineDto

GetItemLineDto() 从对象池中获取ItemLineDto

type Order

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

Order 结构体

func GetOrder added in v1.3.4

func GetOrder() *Order

GetOrder() 从对象池中获取Order

type ServiceItemLineDto added in v1.2.0

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

ServiceItemLineDto 结构体

func GetServiceItemLineDto added in v1.3.4

func GetServiceItemLineDto() *ServiceItemLineDto

GetServiceItemLineDto() 从对象池中获取ServiceItemLineDto

type TmallStoreOrderCreateAPIRequest added in v1.2.0

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

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

门店订单创建api

func GetTmallStoreOrderCreateAPIRequest added in v1.3.4

func GetTmallStoreOrderCreateAPIRequest() *TmallStoreOrderCreateAPIRequest

GetTmallStoreOrderCreateRequest 从 sync.Pool 获取 TmallStoreOrderCreateAPIRequest

func NewTmallStoreOrderCreateRequest

func NewTmallStoreOrderCreateRequest() *TmallStoreOrderCreateAPIRequest

NewTmallStoreOrderCreateRequest 初始化TmallStoreOrderCreateAPIRequest对象

func (TmallStoreOrderCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallStoreOrderCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallStoreOrderCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallStoreOrderCreateAPIRequest) GetAppInfo added in v1.2.0

func (r TmallStoreOrderCreateAPIRequest) GetAppInfo() *AppInfo

GetAppInfo AppInfo Getter

func (TmallStoreOrderCreateAPIRequest) GetCreateOrderRequest added in v1.2.0

func (r TmallStoreOrderCreateAPIRequest) GetCreateOrderRequest() *CreateOrderRequest

GetCreateOrderRequest CreateOrderRequest Getter

func (TmallStoreOrderCreateAPIRequest) GetRawParams added in v1.2.8

func (r TmallStoreOrderCreateAPIRequest) GetRawParams() model.Params

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

func (*TmallStoreOrderCreateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallStoreOrderCreateAPIRequest) SetAppInfo added in v1.2.0

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

SetAppInfo is AppInfo Setter 系统自动生成

func (*TmallStoreOrderCreateAPIRequest) SetCreateOrderRequest added in v1.2.0

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

SetCreateOrderRequest is CreateOrderRequest Setter 创建订单请求

type TmallStoreOrderCreateAPIResponse

type TmallStoreOrderCreateAPIResponse struct {
	model.CommonResponse
	TmallStoreOrderCreateAPIResponseModel
}

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

门店订单创建api

func GetTmallStoreOrderCreateAPIResponse added in v1.3.4

func GetTmallStoreOrderCreateAPIResponse() *TmallStoreOrderCreateAPIResponse

GetTmallStoreOrderCreateAPIResponse 从 sync.Pool 获取 TmallStoreOrderCreateAPIResponse

func (*TmallStoreOrderCreateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

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"`
}

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

func (*TmallStoreOrderCreateAPIResponseModel) 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