Documentation ¶
Overview ¶
Package nropen 包含新零售开放API相关结构体
Index ¶
- type AlibabaascpindustrydisivisonqueryAPIRequest
- func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetApiMethodName() string
- func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetApiParams(params url.Values)
- func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetRawParams() model.Params
- func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetServiceCode() string
- func (r *AlibabaascpindustrydisivisonqueryAPIRequest) SetServiceCode(_serviceCode string) error
- type AlibabaascpindustrydisivisonqueryAPIResponse
- type AlibabaascpindustrydisivisonqueryAPIResponseModel
- type AlibabaascpindustrydisivisonqueryData
- type Divisioninfos
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaascpindustrydisivisonqueryAPIRequest ¶ added in v1.3.1
type AlibabaascpindustrydisivisonqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabaascpindustrydisivisonqueryAPIRequest 查询服务支持地区列表 API请求 alibaba.ascp.industry.disivison.query
商家获取服务支持地区
func NewAlibabaascpindustrydisivisonqueryRequest ¶ added in v1.3.1
func NewAlibabaascpindustrydisivisonqueryRequest() *AlibabaascpindustrydisivisonqueryAPIRequest
NewAlibabaascpindustrydisivisonqueryRequest 初始化AlibabaascpindustrydisivisonqueryAPIRequest对象
func (AlibabaascpindustrydisivisonqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabaascpindustrydisivisonqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabaascpindustrydisivisonqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabaascpindustrydisivisonqueryAPIRequest) GetServiceCode ¶ added in v1.3.1
func (r AlibabaascpindustrydisivisonqueryAPIRequest) GetServiceCode() string
GetServiceCode ServiceCode Getter
func (*AlibabaascpindustrydisivisonqueryAPIRequest) SetServiceCode ¶ added in v1.3.1
func (r *AlibabaascpindustrydisivisonqueryAPIRequest) SetServiceCode(_serviceCode string) error
SetServiceCode is ServiceCode Setter 服务编码
type AlibabaascpindustrydisivisonqueryAPIResponse ¶ added in v1.3.1
type AlibabaascpindustrydisivisonqueryAPIResponse struct { model.CommonResponse AlibabaascpindustrydisivisonqueryAPIResponseModel }
AlibabaascpindustrydisivisonqueryAPIResponse 查询服务支持地区列表 API返回值 alibaba.ascp.industry.disivison.query
商家获取服务支持地区
type AlibabaascpindustrydisivisonqueryAPIResponseModel ¶ added in v1.3.1
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 ¶ added in v1.3.1
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 结构体