lifeservice

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaobaoPlaceStoreRelationAddAPIResponse

type TaobaoPlaceStoreRelationAddAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreRelationAddResponse
}

门店关系新增 API返回值 taobao.place.store.relation.add

新增授权用户的门店关系信息

type TaobaoPlaceStoreRelationAddRequest

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

门店关系新增 API请求 taobao.place.store.relation.add

新增授权用户的门店关系信息

func NewTaobaoPlaceStoreRelationAddRequest

func NewTaobaoPlaceStoreRelationAddRequest() *TaobaoPlaceStoreRelationAddRequest

初始化TaobaoPlaceStoreRelationAddRequest对象

func (TaobaoPlaceStoreRelationAddRequest) GetApiMethodName

func (r TaobaoPlaceStoreRelationAddRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreRelationAddRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreRelationAddRequest) GetOuterId

OuterId Getter

func (TaobaoPlaceStoreRelationAddRequest) GetRelationType

func (r TaobaoPlaceStoreRelationAddRequest) GetRelationType() int64

RelationType Getter

func (TaobaoPlaceStoreRelationAddRequest) GetStoreId

StoreId Getter

func (*TaobaoPlaceStoreRelationAddRequest) SetOuterId

func (r *TaobaoPlaceStoreRelationAddRequest) SetOuterId(outerId string) error

OuterId Setter 关系B的门店ID

func (*TaobaoPlaceStoreRelationAddRequest) SetRelationType

func (r *TaobaoPlaceStoreRelationAddRequest) SetRelationType(relationType int64) error

RelationType Setter 关系类型(outer_id是主, store_id是从)

func (*TaobaoPlaceStoreRelationAddRequest) SetStoreId

func (r *TaobaoPlaceStoreRelationAddRequest) SetStoreId(storeId int64) error

StoreId Setter 门店ID

type TaobaoPlaceStoreRelationAddResponse

type TaobaoPlaceStoreRelationAddResponse struct {
	XMLName xml.Name `xml:"place_store_relation_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 返回结果:true成功;false失败
	Result int64 `json:"result,omitempty" xml:"result,omitempty"`
	// 个数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

门店关系新增 成功返回结果

Jump to

Keyboard shortcuts

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