lstbm

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AlibabaLstBmStoreAddAPIRequest added in v1.2.0

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

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

导入品牌商自有门店

func NewAlibabaLstBmStoreAddRequest

func NewAlibabaLstBmStoreAddRequest() *AlibabaLstBmStoreAddAPIRequest

NewAlibabaLstBmStoreAddRequest 初始化AlibabaLstBmStoreAddAPIRequest对象

func (AlibabaLstBmStoreAddAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLstBmStoreAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstBmStoreAddAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaLstBmStoreAddAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstBmStoreAddAPIRequest) GetOpenStoreDto added in v1.2.0

GetOpenStoreDto OpenStoreDto Getter

func (*AlibabaLstBmStoreAddAPIRequest) SetOpenStoreDto added in v1.2.0

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

SetOpenStoreDto is OpenStoreDto Setter 门店数据模型

type AlibabaLstBmStoreAddAPIResponse

type AlibabaLstBmStoreAddAPIResponse struct {
	model.CommonResponse
	AlibabaLstBmStoreAddAPIResponseModel
}

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

导入品牌商自有门店

type AlibabaLstBmStoreAddAPIResponseModel added in v1.2.0

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.2.0

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

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

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

func NewAlibabaLstBmStoreEmpSaveRequest

func NewAlibabaLstBmStoreEmpSaveRequest() *AlibabaLstBmStoreEmpSaveAPIRequest

NewAlibabaLstBmStoreEmpSaveRequest 初始化AlibabaLstBmStoreEmpSaveAPIRequest对象

func (AlibabaLstBmStoreEmpSaveAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLstBmStoreEmpSaveAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstBmStoreEmpSaveAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstBmStoreEmpSaveAPIRequest) GetBmEmpId added in v1.2.0

GetBmEmpId BmEmpId Getter

func (AlibabaLstBmStoreEmpSaveAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (*AlibabaLstBmStoreEmpSaveAPIRequest) SetBmEmpId added in v1.2.0

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

SetBmEmpId is BmEmpId Setter 员工id标识

func (*AlibabaLstBmStoreEmpSaveAPIRequest) SetStoreId added in v1.2.0

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

SetStoreId is StoreId Setter 门店id标识

type AlibabaLstBmStoreEmpSaveAPIResponse

type AlibabaLstBmStoreEmpSaveAPIResponse struct {
	model.CommonResponse
	AlibabaLstBmStoreEmpSaveAPIResponseModel
}

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

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

type AlibabaLstBmStoreEmpSaveAPIResponseModel added in v1.2.0

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.2.0

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

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

修改品牌商自有门店数据

func NewAlibabaLstBmStoreUpdateRequest

func NewAlibabaLstBmStoreUpdateRequest() *AlibabaLstBmStoreUpdateAPIRequest

NewAlibabaLstBmStoreUpdateRequest 初始化AlibabaLstBmStoreUpdateAPIRequest对象

func (AlibabaLstBmStoreUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaLstBmStoreUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaLstBmStoreUpdateAPIRequest) GetApiParams added in v1.2.0

func (r AlibabaLstBmStoreUpdateAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaLstBmStoreUpdateAPIRequest) GetOpenStoreDto added in v1.2.0

GetOpenStoreDto OpenStoreDto Getter

func (*AlibabaLstBmStoreUpdateAPIRequest) SetOpenStoreDto added in v1.2.0

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

SetOpenStoreDto is OpenStoreDto Setter 门店数据模型

type AlibabaLstBmStoreUpdateAPIResponse

type AlibabaLstBmStoreUpdateAPIResponse struct {
	model.CommonResponse
	AlibabaLstBmStoreUpdateAPIResponseModel
}

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

修改品牌商自有门店数据

type AlibabaLstBmStoreUpdateAPIResponseModel added in v1.2.0

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"`
	// 企业自定义的门店一级类别,最大长度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"`
	// 企业自定义门店id,最大长度128字符
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

LstTopOpenStoreDto 结构体

Jump to

Keyboard shortcuts

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