lstbm

package
v1.3.2 Latest Latest
Warning

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

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

Documentation

Overview

Package lstbm 包含零售通门店API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabalstbmstoreaddAPIRequest added in v1.3.1

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

AlibabalstbmstoreaddAPIRequest 导入品牌商自有门店 API请求 alibaba.lst.bm.store.add

导入品牌商自有门店

func NewAlibabalstbmstoreaddRequest added in v1.3.1

func NewAlibabalstbmstoreaddRequest() *AlibabalstbmstoreaddAPIRequest

NewAlibabalstbmstoreaddRequest 初始化AlibabalstbmstoreaddAPIRequest对象

func (AlibabalstbmstoreaddAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabalstbmstoreaddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabalstbmstoreaddAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabalstbmstoreaddAPIRequest) GetOpenStoreDto added in v1.3.1

GetOpenStoreDto OpenStoreDto Getter

func (AlibabalstbmstoreaddAPIRequest) GetRawParams added in v1.3.1

func (r AlibabalstbmstoreaddAPIRequest) GetRawParams() model.Params

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

func (*AlibabalstbmstoreaddAPIRequest) SetOpenStoreDto added in v1.3.1

func (r *AlibabalstbmstoreaddAPIRequest) SetOpenStoreDto(_openStoreDto *LstTopOpenStoreDto) error

SetOpenStoreDto is OpenStoreDto Setter 门店数据模型

type AlibabalstbmstoreaddAPIResponse added in v1.3.1

type AlibabalstbmstoreaddAPIResponse struct {
	model.CommonResponse
	AlibabalstbmstoreaddAPIResponseModel
}

AlibabalstbmstoreaddAPIResponse 导入品牌商自有门店 API返回值 alibaba.lst.bm.store.add

导入品牌商自有门店

type AlibabalstbmstoreaddAPIResponseModel added in v1.3.1

type AlibabalstbmstoreaddAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_bm_store_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true表示执行成功,false表示执行失败
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabalstbmstoreaddAPIResponseModel is 导入品牌商自有门店 成功返回结果

type AlibabalstbmstoreempsaveAPIRequest added in v1.3.1

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

AlibabalstbmstoreempsaveAPIRequest 保存品牌商自有门店和内部业代之间的关系 API请求 alibaba.lst.bm.store.emp.save

保存品牌商自有门店和内部业代之间的关系

func NewAlibabalstbmstoreempsaveRequest added in v1.3.1

func NewAlibabalstbmstoreempsaveRequest() *AlibabalstbmstoreempsaveAPIRequest

NewAlibabalstbmstoreempsaveRequest 初始化AlibabalstbmstoreempsaveAPIRequest对象

func (AlibabalstbmstoreempsaveAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabalstbmstoreempsaveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabalstbmstoreempsaveAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabalstbmstoreempsaveAPIRequest) GetBmEmpId added in v1.3.1

GetBmEmpId BmEmpId Getter

func (AlibabalstbmstoreempsaveAPIRequest) GetRawParams added in v1.3.1

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

func (AlibabalstbmstoreempsaveAPIRequest) GetStoreId added in v1.3.1

GetStoreId StoreId Getter

func (*AlibabalstbmstoreempsaveAPIRequest) SetBmEmpId added in v1.3.1

func (r *AlibabalstbmstoreempsaveAPIRequest) SetBmEmpId(_bmEmpId string) error

SetBmEmpId is BmEmpId Setter 员工id标识

func (*AlibabalstbmstoreempsaveAPIRequest) SetStoreId added in v1.3.1

func (r *AlibabalstbmstoreempsaveAPIRequest) SetStoreId(_storeId string) error

SetStoreId is StoreId Setter 门店id标识

type AlibabalstbmstoreempsaveAPIResponse added in v1.3.1

type AlibabalstbmstoreempsaveAPIResponse struct {
	model.CommonResponse
	AlibabalstbmstoreempsaveAPIResponseModel
}

AlibabalstbmstoreempsaveAPIResponse 保存品牌商自有门店和内部业代之间的关系 API返回值 alibaba.lst.bm.store.emp.save

保存品牌商自有门店和内部业代之间的关系

type AlibabalstbmstoreempsaveAPIResponseModel added in v1.3.1

type AlibabalstbmstoreempsaveAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_bm_store_emp_save_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true表示执行成功,false表示执行失败
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabalstbmstoreempsaveAPIResponseModel is 保存品牌商自有门店和内部业代之间的关系 成功返回结果

type AlibabalstbmstoreupdateAPIRequest added in v1.3.1

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

AlibabalstbmstoreupdateAPIRequest 修改品牌商自有门店数据 API请求 alibaba.lst.bm.store.update

修改品牌商自有门店数据

func NewAlibabalstbmstoreupdateRequest added in v1.3.1

func NewAlibabalstbmstoreupdateRequest() *AlibabalstbmstoreupdateAPIRequest

NewAlibabalstbmstoreupdateRequest 初始化AlibabalstbmstoreupdateAPIRequest对象

func (AlibabalstbmstoreupdateAPIRequest) GetApiMethodName added in v1.3.1

func (r AlibabalstbmstoreupdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabalstbmstoreupdateAPIRequest) GetApiParams added in v1.3.1

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabalstbmstoreupdateAPIRequest) GetOpenStoreDto added in v1.3.1

GetOpenStoreDto OpenStoreDto Getter

func (AlibabalstbmstoreupdateAPIRequest) GetRawParams added in v1.3.1

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

func (*AlibabalstbmstoreupdateAPIRequest) SetOpenStoreDto added in v1.3.1

func (r *AlibabalstbmstoreupdateAPIRequest) SetOpenStoreDto(_openStoreDto *LstTopOpenStoreDto) error

SetOpenStoreDto is OpenStoreDto Setter 门店数据模型

type AlibabalstbmstoreupdateAPIResponse added in v1.3.1

type AlibabalstbmstoreupdateAPIResponse struct {
	model.CommonResponse
	AlibabalstbmstoreupdateAPIResponseModel
}

AlibabalstbmstoreupdateAPIResponse 修改品牌商自有门店数据 API返回值 alibaba.lst.bm.store.update

修改品牌商自有门店数据

type AlibabalstbmstoreupdateAPIResponseModel added in v1.3.1

type AlibabalstbmstoreupdateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_lst_bm_store_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// true表示执行成功,false表示执行失败
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabalstbmstoreupdateAPIResponseModel is 修改品牌商自有门店数据 成功返回结果

type LstTopOpenStoreDto

type LstTopOpenStoreDto struct {
	// 店主的手机号
	Phone string `json:"phone,omitempty" xml:"phone,omitempty"`
	// 门店名称,最大长度512字符
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 企业自定义的门店二级类别,最大长度512字符
	SecondCategory string `json:"second_category,omitempty" xml:"second_category,omitempty"`
	// 企业自定义门店id,最大长度128字符
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 企业自定义的门店一级类别,最大长度512字符
	PrimaryCategory string `json:"primary_category,omitempty" xml:"primary_category,omitempty"`
	// 营业执照上的经营者名称,最大长度256字符
	LicenseOwner string `json:"license_owner,omitempty" xml:"license_owner,omitempty"`
	// 详细地址,最大长度512字符
	Addr string `json:"addr,omitempty" xml:"addr,omitempty"`
	// 市
	City string `json:"city,omitempty" xml:"city,omitempty"`
	// 区
	Area string `json:"area,omitempty" xml:"area,omitempty"`
	// 营业执照编号,最大长度256字符
	LicenseNo string `json:"license_no,omitempty" xml:"license_no,omitempty"`
	// 店主姓名,最大长度256字符
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 省
	Province string `json:"province,omitempty" xml:"province,omitempty"`
	// 区县内的街道
	Town string `json:"town,omitempty" xml:"town,omitempty"`
}

LstTopOpenStoreDto 结构体

Jump to

Keyboard shortcuts

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