nropen

package
v1.3.3 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: 3 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

This section is empty.

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 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) 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

商家获取服务支持地区

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 查询服务支持地区列表 成功返回结果

type AlibabaAscpIndustryDisivisonQueryData

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

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 结构体

Jump to

Keyboard shortcuts

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