lifeservice

package
v1.2.1 Latest Latest
Warning

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

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

Documentation

Overview

生活服务API model

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TaobaoPlaceStoreRelationAddAPIRequest added in v1.2.0

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

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

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

func NewTaobaoPlaceStoreRelationAddRequest

func NewTaobaoPlaceStoreRelationAddRequest() *TaobaoPlaceStoreRelationAddAPIRequest

NewTaobaoPlaceStoreRelationAddRequest 初始化TaobaoPlaceStoreRelationAddAPIRequest对象

func (TaobaoPlaceStoreRelationAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreRelationAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreRelationAddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreRelationAddAPIRequest) GetOuterId added in v1.2.0

Get OuterId Getter

func (TaobaoPlaceStoreRelationAddAPIRequest) GetRelationType added in v1.2.0

func (r TaobaoPlaceStoreRelationAddAPIRequest) GetRelationType() int64

Get RelationType Getter

func (TaobaoPlaceStoreRelationAddAPIRequest) GetStoreId added in v1.2.0

Get StoreId Getter

func (*TaobaoPlaceStoreRelationAddAPIRequest) SetOuterId added in v1.2.0

func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetOuterId(_outerId string) error

Set is OuterId Setter 关系B的门店ID

func (*TaobaoPlaceStoreRelationAddAPIRequest) SetRelationType added in v1.2.0

func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetRelationType(_relationType int64) error

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

func (*TaobaoPlaceStoreRelationAddAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetStoreId(_storeId int64) error

Set is StoreId Setter 门店ID

type TaobaoPlaceStoreRelationAddAPIResponse

type TaobaoPlaceStoreRelationAddAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreRelationAddAPIResponseModel
}
TaobaoPlaceStoreRelationAddAPIResponse

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

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

type TaobaoPlaceStoreRelationAddAPIResponseModel added in v1.2.0

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

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

Jump to

Keyboard shortcuts

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