Documentation ¶
Overview ¶
Package lifeservice 包含生活服务API相关结构体
Index ¶
- type TaobaoPlaceStoreRelationAddAPIRequest
- func (r TaobaoPlaceStoreRelationAddAPIRequest) GetApiMethodName() string
- func (r TaobaoPlaceStoreRelationAddAPIRequest) GetApiParams() url.Values
- func (r TaobaoPlaceStoreRelationAddAPIRequest) GetOuterId() string
- func (r TaobaoPlaceStoreRelationAddAPIRequest) GetRelationType() int64
- func (r TaobaoPlaceStoreRelationAddAPIRequest) GetStoreId() int64
- func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetOuterId(_outerId string) error
- func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetRelationType(_relationType int64) error
- func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetStoreId(_storeId int64) error
- type TaobaoPlaceStoreRelationAddAPIResponse
- type TaobaoPlaceStoreRelationAddAPIResponseModel
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
func (r TaobaoPlaceStoreRelationAddAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoPlaceStoreRelationAddAPIRequest) GetOuterId ¶ added in v1.2.0
func (r TaobaoPlaceStoreRelationAddAPIRequest) GetOuterId() string
GetOuterId OuterId Getter
func (TaobaoPlaceStoreRelationAddAPIRequest) GetRelationType ¶ added in v1.2.0
func (r TaobaoPlaceStoreRelationAddAPIRequest) GetRelationType() int64
GetRelationType RelationType Getter
func (TaobaoPlaceStoreRelationAddAPIRequest) GetStoreId ¶ added in v1.2.0
func (r TaobaoPlaceStoreRelationAddAPIRequest) GetStoreId() int64
GetStoreId StoreId Getter
func (*TaobaoPlaceStoreRelationAddAPIRequest) SetOuterId ¶ added in v1.2.0
func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetOuterId(_outerId string) error
SetOuterId is OuterId Setter 关系B的门店ID
func (*TaobaoPlaceStoreRelationAddAPIRequest) SetRelationType ¶ added in v1.2.0
func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetRelationType(_relationType int64) error
SetRelationType is RelationType Setter 关系类型(outer_id是主, store_id是从)
func (*TaobaoPlaceStoreRelationAddAPIRequest) SetStoreId ¶ added in v1.2.0
func (r *TaobaoPlaceStoreRelationAddAPIRequest) SetStoreId(_storeId int64) error
SetStoreId 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"` // 返回结果:true成功;false失败 Result int64 `json:"result,omitempty" xml:"result,omitempty"` // 个数 TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"` // 是否失败 Failure bool `json:"failure,omitempty" xml:"failure,omitempty"` }
TaobaoPlaceStoreRelationAddAPIResponseModel is 门店关系新增 成功返回结果