nropen

package
v1.3.4 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: 4 Imported by: 0

Documentation

Overview

Package nropen 包含新零售开放API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaAscpIndustryDisivisonQueryAPIRequest added in v1.3.4

func ReleaseAlibabaAscpIndustryDisivisonQueryAPIRequest(v *AlibabaAscpIndustryDisivisonQueryAPIRequest)

ReleaseAlibabaAscpIndustryDisivisonQueryAPIRequest 将 AlibabaAscpIndustryDisivisonQueryAPIRequest 放入 sync.Pool

func ReleaseAlibabaAscpIndustryDisivisonQueryAPIResponse added in v1.3.4

func ReleaseAlibabaAscpIndustryDisivisonQueryAPIResponse(v *AlibabaAscpIndustryDisivisonQueryAPIResponse)

ReleaseAlibabaAscpIndustryDisivisonQueryAPIResponse 将 AlibabaAscpIndustryDisivisonQueryAPIResponse 保存到 sync.Pool

func ReleaseAlibabaAscpIndustryDisivisonQueryData added in v1.3.4

func ReleaseAlibabaAscpIndustryDisivisonQueryData(v *AlibabaAscpIndustryDisivisonQueryData)

ReleaseAlibabaAscpIndustryDisivisonQueryData 释放AlibabaAscpIndustryDisivisonQueryData

func ReleaseDivisioninfos added in v1.3.4

func ReleaseDivisioninfos(v *Divisioninfos)

ReleaseDivisioninfos 释放Divisioninfos

Types

type AlibabaAscpIndustryDisivisonQueryAPIRequest added in v1.2.0

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

AlibabaAscpIndustryDisivisonQueryAPIRequest 查询服务支持地区列表 API请求 alibaba.ascp.industry.disivison.query

商家获取服务支持地区

func GetAlibabaAscpIndustryDisivisonQueryAPIRequest added in v1.3.4

func GetAlibabaAscpIndustryDisivisonQueryAPIRequest() *AlibabaAscpIndustryDisivisonQueryAPIRequest

GetAlibabaAscpIndustryDisivisonQueryRequest 从 sync.Pool 获取 AlibabaAscpIndustryDisivisonQueryAPIRequest

func NewAlibabaAscpIndustryDisivisonQueryRequest

func NewAlibabaAscpIndustryDisivisonQueryRequest() *AlibabaAscpIndustryDisivisonQueryAPIRequest

NewAlibabaAscpIndustryDisivisonQueryRequest 初始化AlibabaAscpIndustryDisivisonQueryAPIRequest对象

func (AlibabaAscpIndustryDisivisonQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaAscpIndustryDisivisonQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaAscpIndustryDisivisonQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaAscpIndustryDisivisonQueryAPIRequest) GetServiceCode added in v1.2.0

GetServiceCode ServiceCode Getter

func (*AlibabaAscpIndustryDisivisonQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaAscpIndustryDisivisonQueryAPIRequest) SetServiceCode added in v1.2.0

func (r *AlibabaAscpIndustryDisivisonQueryAPIRequest) SetServiceCode(_serviceCode string) error

SetServiceCode is ServiceCode Setter 服务编码

type AlibabaAscpIndustryDisivisonQueryAPIResponse

type AlibabaAscpIndustryDisivisonQueryAPIResponse struct {
	model.CommonResponse
	AlibabaAscpIndustryDisivisonQueryAPIResponseModel
}

AlibabaAscpIndustryDisivisonQueryAPIResponse 查询服务支持地区列表 API返回值 alibaba.ascp.industry.disivison.query

商家获取服务支持地区

func GetAlibabaAscpIndustryDisivisonQueryAPIResponse added in v1.3.4

func GetAlibabaAscpIndustryDisivisonQueryAPIResponse() *AlibabaAscpIndustryDisivisonQueryAPIResponse

GetAlibabaAscpIndustryDisivisonQueryAPIResponse 从 sync.Pool 获取 AlibabaAscpIndustryDisivisonQueryAPIResponse

func (*AlibabaAscpIndustryDisivisonQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaAscpIndustryDisivisonQueryAPIResponseModel added in v1.2.0

type AlibabaAscpIndustryDisivisonQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ascp_industry_disivison_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Data *AlibabaAscpIndustryDisivisonQueryData `json:"data,omitempty" xml:"data,omitempty"`
}

AlibabaAscpIndustryDisivisonQueryAPIResponseModel is 查询服务支持地区列表 成功返回结果

func (*AlibabaAscpIndustryDisivisonQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaAscpIndustryDisivisonQueryData

type AlibabaAscpIndustryDisivisonQueryData struct {
	// 区域信息了列表
	DivisionInfos []Divisioninfos `json:"division_infos,omitempty" xml:"division_infos>divisioninfos,omitempty"`
}

AlibabaAscpIndustryDisivisonQueryData 结构体

func GetAlibabaAscpIndustryDisivisonQueryData added in v1.3.4

func GetAlibabaAscpIndustryDisivisonQueryData() *AlibabaAscpIndustryDisivisonQueryData

GetAlibabaAscpIndustryDisivisonQueryData() 从对象池中获取AlibabaAscpIndustryDisivisonQueryData

type Divisioninfos

type Divisioninfos struct {
	// 扩展字段JSON字符串
	Feature string `json:"feature,omitempty" xml:"feature,omitempty"`
	// 国家
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// 省份
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 城市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区县
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 区域id
	DivisionId int64 `json:"division_id,omitempty" xml:"division_id,omitempty"`
}

Divisioninfos 结构体

func GetDivisioninfos added in v1.3.4

func GetDivisioninfos() *Divisioninfos

GetDivisioninfos() 从对象池中获取Divisioninfos

Jump to

Keyboard shortcuts

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