Documentation ¶
Overview ¶
Package retail 包含天猫门店API相关结构体
Index ¶
- type AlibabaRetailDeviceRoadStatusResetAPIRequest
- func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiMethodName() string
- func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceCode() string
- func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceSn() string
- func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceUuid() string
- func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRawParams() model.Params
- func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRoadNoList() []string
- func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceCode(_deviceCode string) error
- func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceSn(_deviceSn string) error
- func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetDeviceUuid(_deviceUuid string) error
- func (r *AlibabaRetailDeviceRoadStatusResetAPIRequest) SetRoadNoList(_roadNoList []string) error
- type AlibabaRetailDeviceRoadStatusResetAPIResponse
- type AlibabaRetailDeviceRoadStatusResetAPIResponseModel
- type AlibabaRetailElectronicCertificateConfirmAPIRequest
- func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiMethodName() string
- func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetCode() int64
- func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetDeviceId() string
- func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetItemId() int64
- func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetRawParams() model.Params
- func (r *AlibabaRetailElectronicCertificateConfirmAPIRequest) SetCode(_code int64) error
- func (r *AlibabaRetailElectronicCertificateConfirmAPIRequest) SetDeviceId(_deviceId string) error
- func (r *AlibabaRetailElectronicCertificateConfirmAPIRequest) SetItemId(_itemId int64) error
- type AlibabaRetailElectronicCertificateConfirmAPIResponse
- type AlibabaRetailElectronicCertificateConfirmAPIResponseModel
- type AlibabaRetailElectronicCertificateConfirmResult
- type AlibabaRetailElectronicCertificatePreConfirmAPIRequest
- func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiMethodName() string
- func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetCode() int64
- func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetDeviceId() string
- func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetRawParams() model.Params
- func (r *AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetCode(_code int64) error
- func (r *AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetDeviceId(_deviceId string) error
- type AlibabaRetailElectronicCertificatePreConfirmAPIResponse
- type AlibabaRetailElectronicCertificatePreConfirmAPIResponseModel
- type AlibabaRetailElectronicCertificatePreConfirmResult
- type AlibabaRetailVendingPriceWhitelistRemoveAPIRequest
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetAllDevice() bool
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiMethodName() string
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetBarcode() string
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceCodeList() []string
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceUuidList() []string
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetItemId() int64
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetRawParams() model.Params
- func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetSellerId() int64
- func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetAllDevice(_allDevice bool) error
- func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetBarcode(_barcode string) error
- func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceCodeList(_deviceCodeList []string) error
- func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetDeviceUuidList(_deviceUuidList []string) error
- func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetItemId(_itemId int64) error
- func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetSellerId(_sellerId int64) error
- type AlibabaRetailVendingPriceWhitelistRemoveAPIResponse
- type AlibabaRetailVendingPriceWhitelistRemoveAPIResponseModel
- type AlibabaRetailVendingPriceWhitelistRemoveResultDo
- type AppInfo
- type CreateOrderRequest
- type DeliveryAddressDto
- type Detailresults
- type ElectronicCertificateDto
- type ItemLineDto
- type Order
- type ServiceItemLineDto
- type TmallStoreOrderCreateAPIRequest
- func (r TmallStoreOrderCreateAPIRequest) GetApiMethodName() string
- func (r TmallStoreOrderCreateAPIRequest) GetApiParams(params url.Values)
- func (r TmallStoreOrderCreateAPIRequest) GetAppInfo() *AppInfo
- func (r TmallStoreOrderCreateAPIRequest) GetCreateOrderRequest() *CreateOrderRequest
- func (r TmallStoreOrderCreateAPIRequest) GetRawParams() model.Params
- func (r *TmallStoreOrderCreateAPIRequest) SetAppInfo(_appInfo *AppInfo) error
- func (r *TmallStoreOrderCreateAPIRequest) SetCreateOrderRequest(_createOrderRequest *CreateOrderRequest) error
- type TmallStoreOrderCreateAPIResponse
- type TmallStoreOrderCreateAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
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 NewAlibabaRetailDeviceRoadStatusResetRequest ¶
func NewAlibabaRetailDeviceRoadStatusResetRequest() *AlibabaRetailDeviceRoadStatusResetAPIRequest
NewAlibabaRetailDeviceRoadStatusResetRequest 初始化AlibabaRetailDeviceRoadStatusResetAPIRequest对象
func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceCode ¶ added in v1.2.0
func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceCode() string
GetDeviceCode DeviceCode Getter
func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceSn ¶ added in v1.2.0
func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceSn() string
GetDeviceSn DeviceSn Getter
func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceUuid ¶ added in v1.2.0
func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetDeviceUuid() string
GetDeviceUuid DeviceUuid Getter
func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRoadNoList ¶ added in v1.2.0
func (r AlibabaRetailDeviceRoadStatusResetAPIRequest) GetRoadNoList() []string
GetRoadNoList RoadNoList Getter
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
贩卖机货道解锁
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 贩卖机货道解锁 成功返回结果
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 NewAlibabaRetailElectronicCertificateConfirmRequest ¶
func NewAlibabaRetailElectronicCertificateConfirmRequest() *AlibabaRetailElectronicCertificateConfirmAPIRequest
NewAlibabaRetailElectronicCertificateConfirmRequest 初始化AlibabaRetailElectronicCertificateConfirmAPIRequest对象
func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetCode ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetCode() int64
GetCode Code Getter
func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetDeviceId ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetDeviceId() string
GetDeviceId DeviceId Getter
func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetItemId ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaRetailElectronicCertificateConfirmAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaRetailElectronicCertificateConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetCode ¶ added in v1.2.0
func (r *AlibabaRetailElectronicCertificateConfirmAPIRequest) SetCode(_code int64) error
SetCode is Code Setter 核销码
func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetDeviceId ¶ added in v1.2.0
func (r *AlibabaRetailElectronicCertificateConfirmAPIRequest) SetDeviceId(_deviceId string) error
SetDeviceId is DeviceId Setter 设备ID
func (*AlibabaRetailElectronicCertificateConfirmAPIRequest) SetItemId ¶ added in v1.2.0
func (r *AlibabaRetailElectronicCertificateConfirmAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type AlibabaRetailElectronicCertificateConfirmAPIResponse ¶
type AlibabaRetailElectronicCertificateConfirmAPIResponse struct { model.CommonResponse AlibabaRetailElectronicCertificateConfirmAPIResponseModel }
AlibabaRetailElectronicCertificateConfirmAPIResponse 确认核销接口 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"` }
AlibabaRetailElectronicCertificateConfirmAPIResponseModel is 确认核销接口 成功返回结果
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 结构体
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 NewAlibabaRetailElectronicCertificatePreConfirmRequest ¶
func NewAlibabaRetailElectronicCertificatePreConfirmRequest() *AlibabaRetailElectronicCertificatePreConfirmAPIRequest
NewAlibabaRetailElectronicCertificatePreConfirmRequest 初始化AlibabaRetailElectronicCertificatePreConfirmAPIRequest对象
func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetCode ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetCode() int64
GetCode Code Getter
func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetDeviceId ¶ added in v1.2.0
func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetDeviceId() string
GetDeviceId DeviceId Getter
func (AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaRetailElectronicCertificatePreConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetCode ¶ added in v1.2.0
func (r *AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetCode(_code int64) error
SetCode is Code Setter 核销码
func (*AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetDeviceId ¶ added in v1.2.0
func (r *AlibabaRetailElectronicCertificatePreConfirmAPIRequest) SetDeviceId(_deviceId string) error
SetDeviceId is DeviceId Setter 设备ID
type AlibabaRetailElectronicCertificatePreConfirmAPIResponse ¶
type AlibabaRetailElectronicCertificatePreConfirmAPIResponse struct { model.CommonResponse AlibabaRetailElectronicCertificatePreConfirmAPIResponseModel }
AlibabaRetailElectronicCertificatePreConfirmAPIResponse 贩卖机开始核销接口 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"` }
AlibabaRetailElectronicCertificatePreConfirmAPIResponseModel is 贩卖机开始核销接口 成功返回结果
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 结构体
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 NewAlibabaRetailVendingPriceWhitelistRemoveRequest ¶
func NewAlibabaRetailVendingPriceWhitelistRemoveRequest() *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest
NewAlibabaRetailVendingPriceWhitelistRemoveRequest 初始化AlibabaRetailVendingPriceWhitelistRemoveAPIRequest对象
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetAllDevice ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetAllDevice() bool
GetAllDevice AllDevice Getter
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiParams ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetBarcode ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetBarcode() string
GetBarcode Barcode Getter
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceCodeList ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceCodeList() []string
GetDeviceCodeList DeviceCodeList Getter
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceUuidList ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetDeviceUuidList() []string
GetDeviceUuidList DeviceUuidList Getter
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetItemId ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetRawParams ¶ added in v1.2.8
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetSellerId ¶ added in v1.2.0
func (r AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) GetSellerId() int64
GetSellerId SellerId Getter
func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetAllDevice ¶ added in v1.2.0
func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetAllDevice(_allDevice bool) error
SetAllDevice is AllDevice Setter 是否生效到所有设备
func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetBarcode ¶ added in v1.2.0
func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetBarcode(_barcode string) error
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
func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 如果该参数传入,条码以商品条码为准
func (*AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetSellerId ¶ added in v1.2.0
func (r *AlibabaRetailVendingPriceWhitelistRemoveAPIRequest) SetSellerId(_sellerId int64) error
SetSellerId is SellerId Setter 淘宝用户ID
type AlibabaRetailVendingPriceWhitelistRemoveAPIResponse ¶
type AlibabaRetailVendingPriceWhitelistRemoveAPIResponse struct { model.CommonResponse AlibabaRetailVendingPriceWhitelistRemoveAPIResponseModel }
AlibabaRetailVendingPriceWhitelistRemoveAPIResponse 价格管控白名单去除 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"` }
AlibabaRetailVendingPriceWhitelistRemoveAPIResponseModel is 价格管控白名单去除 成功返回结果
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 结构体
type AppInfo ¶
type AppInfo struct { // 系统自动生成 AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"` }
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 结构体
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"` // 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 结构体
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 { // 服务子订单 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 结构体
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 结构体
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 结构体
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 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) 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
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 成功返回结果
Source Files ¶
- AlibabaRetailDeviceRoadStatusResetAPIRequest.go
- AlibabaRetailDeviceRoadStatusResetAPIResponse.go
- AlibabaRetailElectronicCertificateConfirmAPIRequest.go
- AlibabaRetailElectronicCertificateConfirmAPIResponse.go
- AlibabaRetailElectronicCertificateConfirmResult.go
- AlibabaRetailElectronicCertificatePreConfirmAPIRequest.go
- AlibabaRetailElectronicCertificatePreConfirmAPIResponse.go
- AlibabaRetailElectronicCertificatePreConfirmResult.go
- AlibabaRetailVendingPriceWhitelistRemoveAPIRequest.go
- AlibabaRetailVendingPriceWhitelistRemoveAPIResponse.go
- AlibabaRetailVendingPriceWhitelistRemoveResultDo.go
- AppInfo.go
- CreateOrderRequest.go
- DeliveryAddressDto.go
- Detailresults.go
- ElectronicCertificateDto.go
- ItemLineDto.go
- Order.go
- ServiceItemLineDto.go
- TmallStoreOrderCreateAPIRequest.go
- TmallStoreOrderCreateAPIResponse.go
- doc.go