tmallcarenter

package
v1.3.2 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 tmallcarenter 包含tmall-carcenter相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ChasisVehicleInfoOriginalDto

type ChasisVehicleInfoOriginalDto struct {
	// 换代
	Replacement string `json:"replacement,omitempty" xml:"replacement,omitempty"`
	// 产地
	Origin string `json:"origin,omitempty" xml:"origin,omitempty"`
	// 品牌
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 最大功率
	MaxPower string `json:"max_power,omitempty" xml:"max_power,omitempty"`
	// 厂家
	ManufactureName string `json:"manufacture_name,omitempty" xml:"manufacture_name,omitempty"`
	// 发动机型号
	EngineNo string `json:"engine_no,omitempty" xml:"engine_no,omitempty"`
	// 车型
	ModelName string `json:"model_name,omitempty" xml:"model_name,omitempty"`
	// 燃料类型
	FuelType string `json:"fuel_type,omitempty" xml:"fuel_type,omitempty"`
	// 排量
	Displacement string `json:"displacement,omitempty" xml:"displacement,omitempty"`
	// 驱动方式
	DriveModel string `json:"drive_model,omitempty" xml:"drive_model,omitempty"`
	// 底盘ID
	ChasisCid string `json:"chasis_cid,omitempty" xml:"chasis_cid,omitempty"`
	// 底盘号
	ChassisNum string `json:"chassis_num,omitempty" xml:"chassis_num,omitempty"`
	// 车系
	LineName string `json:"line_name,omitempty" xml:"line_name,omitempty"`
	// 停产年份
	EndYear int64 `json:"end_year,omitempty" xml:"end_year,omitempty"`
	// 生产年份
	ProductiveYear int64 `json:"productive_year,omitempty" xml:"productive_year,omitempty"`
}

ChasisVehicleInfoOriginalDto 结构体

type OriginVehicleInfoDto

type OriginVehicleInfoDto struct {
	// 销售名称
	SalesName string `json:"sales_name,omitempty" xml:"sales_name,omitempty"`
	// 厂家类型(国产,合资,进口)
	ManufactureType string `json:"manufacture_type,omitempty" xml:"manufacture_type,omitempty"`
	// 后轮胎规格
	RearTyre string `json:"rear_tyre,omitempty" xml:"rear_tyre,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 底盘压缩ID
	ChassisCid string `json:"chassis_cid,omitempty" xml:"chassis_cid,omitempty"`
	// 厂家名称
	ManufactureName string `json:"manufacture_name,omitempty" xml:"manufacture_name,omitempty"`
	// 前轮胎规格
	FrontTyre string `json:"front_tyre,omitempty" xml:"front_tyre,omitempty"`
	// 排量
	Displacement string `json:"displacement,omitempty" xml:"displacement,omitempty"`
	// 销售状态
	SalesStatus string `json:"sales_status,omitempty" xml:"sales_status,omitempty"`
	// 车系
	LineName string `json:"line_name,omitempty" xml:"line_name,omitempty"`
	// 排放标准
	Emmission string `json:"emmission,omitempty" xml:"emmission,omitempty"`
	// 生产状态
	ProductiveStatus string `json:"productive_status,omitempty" xml:"productive_status,omitempty"`
	// 发动起型号
	EngineModel string `json:"engine_model,omitempty" xml:"engine_model,omitempty"`
	// 扩展信息(json串)
	ExtendInfo string `json:"extend_info,omitempty" xml:"extend_info,omitempty"`
	// 最大功率(KW)
	MaxPower string `json:"max_power,omitempty" xml:"max_power,omitempty"`
	// 国别
	Country string `json:"country,omitempty" xml:"country,omitempty"`
	// 销售版本
	SalesEdition string `json:"sales_edition,omitempty" xml:"sales_edition,omitempty"`
	// 版本压缩id
	VersionCid string `json:"version_cid,omitempty" xml:"version_cid,omitempty"`
	// 车型id(主键字段,代表唯一一条数据)
	VehicleInfoId string `json:"vehicle_info_id,omitempty" xml:"vehicle_info_id,omitempty"`
	// 车辆级别
	VehicleLevel string `json:"vehicle_level,omitempty" xml:"vehicle_level,omitempty"`
	// 官方指导价(万元)
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 车型
	ModelName string `json:"model_name,omitempty" xml:"model_name,omitempty"`
	// 燃油类型
	FuelType string `json:"fuel_type,omitempty" xml:"fuel_type,omitempty"`
	// 变速箱类型
	TransmissionType string `json:"transmission_type,omitempty" xml:"transmission_type,omitempty"`
	// 驱动方式
	DriveModel string `json:"drive_model,omitempty" xml:"drive_model,omitempty"`
	// 代号/底盘型号
	ChassisNum string `json:"chassis_num,omitempty" xml:"chassis_num,omitempty"`
	// 车身类型
	BodyModel string `json:"body_model,omitempty" xml:"body_model,omitempty"`
	// 车辆类型
	VehicleType string `json:"vehicle_type,omitempty" xml:"vehicle_type,omitempty"`
	// 代数
	GenerationNum string `json:"generation_num,omitempty" xml:"generation_num,omitempty"`
	// 生产年份
	ProductiveYear int64 `json:"productive_year,omitempty" xml:"productive_year,omitempty"`
	// 上市年份
	ReleaseYear int64 `json:"release_year,omitempty" xml:"release_year,omitempty"`
	// 销售年款
	SalesYear int64 `json:"sales_year,omitempty" xml:"sales_year,omitempty"`
	// 停产年份
	EndYear int64 `json:"end_year,omitempty" xml:"end_year,omitempty"`
	// 状态(状态,0:删除,1:新增,2:修改)
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 上市月份
	ReleaseMonth int64 `json:"release_month,omitempty" xml:"release_month,omitempty"`
}

OriginVehicleInfoDto 结构体

type TmallcarcentervehiclechasisinsertAPIRequest added in v1.3.1

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

TmallcarcentervehiclechasisinsertAPIRequest EPC车型底盘压缩库新增接口 API请求 tmall.carcenter.vehicle.chasis.insert

EPC车型底盘压缩库新增接口

func NewTmallcarcentervehiclechasisinsertRequest added in v1.3.1

func NewTmallcarcentervehiclechasisinsertRequest() *TmallcarcentervehiclechasisinsertAPIRequest

NewTmallcarcentervehiclechasisinsertRequest 初始化TmallcarcentervehiclechasisinsertAPIRequest对象

func (TmallcarcentervehiclechasisinsertAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarcentervehiclechasisinsertAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarcentervehiclechasisinsertAPIRequest) GetDto added in v1.3.1

GetDto Dto Getter

func (TmallcarcentervehiclechasisinsertAPIRequest) GetRawParams added in v1.3.1

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

func (*TmallcarcentervehiclechasisinsertAPIRequest) SetDto added in v1.3.1

SetDto is Dto Setter 底盘压缩库入参

type TmallcarcentervehiclechasisinsertAPIResponse added in v1.3.1

type TmallcarcentervehiclechasisinsertAPIResponse struct {
	model.CommonResponse
	TmallcarcentervehiclechasisinsertAPIResponseModel
}

TmallcarcentervehiclechasisinsertAPIResponse EPC车型底盘压缩库新增接口 API返回值 tmall.carcenter.vehicle.chasis.insert

EPC车型底盘压缩库新增接口

type TmallcarcentervehiclechasisinsertAPIResponseModel added in v1.3.1

type TmallcarcentervehiclechasisinsertAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_carcenter_vehicle_chasis_insert_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TmallcarcentervehiclechasisinsertResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallcarcentervehiclechasisinsertAPIResponseModel is EPC车型底盘压缩库新增接口 成功返回结果

type TmallcarcentervehiclechasisinsertResult added in v1.3.1

type TmallcarcentervehiclechasisinsertResult struct {
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// object
	Object string `json:"object,omitempty" xml:"object,omitempty"`
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallcarcentervehiclechasisinsertResult 结构体

type TmallcarcentervehiclecvmappinginsertAPIRequest added in v1.3.1

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

TmallcarcentervehiclecvmappinginsertAPIRequest EPC车辆版本信息与底盘信息库关系绑定 API请求 tmall.carcenter.vehicle.cvmapping.insert

EPC车辆版本信息与底盘信息库关系绑定

func NewTmallcarcentervehiclecvmappinginsertRequest added in v1.3.1

func NewTmallcarcentervehiclecvmappinginsertRequest() *TmallcarcentervehiclecvmappinginsertAPIRequest

NewTmallcarcentervehiclecvmappinginsertRequest 初始化TmallcarcentervehiclecvmappinginsertAPIRequest对象

func (TmallcarcentervehiclecvmappinginsertAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarcentervehiclecvmappinginsertAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarcentervehiclecvmappinginsertAPIRequest) GetRawParams added in v1.3.1

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

func (TmallcarcentervehiclecvmappinginsertAPIRequest) GetStatus added in v1.3.1

GetStatus Status Getter

func (TmallcarcentervehiclecvmappinginsertAPIRequest) GetSupplierChassisCid added in v1.3.1

func (r TmallcarcentervehiclecvmappinginsertAPIRequest) GetSupplierChassisCid() string

GetSupplierChassisCid SupplierChassisCid Getter

func (TmallcarcentervehiclecvmappinginsertAPIRequest) GetSupplierVersionCid added in v1.3.1

func (r TmallcarcentervehiclecvmappinginsertAPIRequest) GetSupplierVersionCid() string

GetSupplierVersionCid SupplierVersionCid Getter

func (*TmallcarcentervehiclecvmappinginsertAPIRequest) SetStatus added in v1.3.1

SetStatus is Status Setter 状态

func (*TmallcarcentervehiclecvmappinginsertAPIRequest) SetSupplierChassisCid added in v1.3.1

func (r *TmallcarcentervehiclecvmappinginsertAPIRequest) SetSupplierChassisCid(_supplierChassisCid string) error

SetSupplierChassisCid is SupplierChassisCid Setter 底盘ID

func (*TmallcarcentervehiclecvmappinginsertAPIRequest) SetSupplierVersionCid added in v1.3.1

func (r *TmallcarcentervehiclecvmappinginsertAPIRequest) SetSupplierVersionCid(_supplierVersionCid string) error

SetSupplierVersionCid is SupplierVersionCid Setter 版本ID

type TmallcarcentervehiclecvmappinginsertAPIResponse added in v1.3.1

type TmallcarcentervehiclecvmappinginsertAPIResponse struct {
	model.CommonResponse
	TmallcarcentervehiclecvmappinginsertAPIResponseModel
}

TmallcarcentervehiclecvmappinginsertAPIResponse EPC车辆版本信息与底盘信息库关系绑定 API返回值 tmall.carcenter.vehicle.cvmapping.insert

EPC车辆版本信息与底盘信息库关系绑定

type TmallcarcentervehiclecvmappinginsertAPIResponseModel added in v1.3.1

type TmallcarcentervehiclecvmappinginsertAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_carcenter_vehicle_cvmapping_insert_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TmallcarcentervehiclecvmappinginsertResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallcarcentervehiclecvmappinginsertAPIResponseModel is EPC车辆版本信息与底盘信息库关系绑定 成功返回结果

type TmallcarcentervehiclecvmappinginsertResult added in v1.3.1

type TmallcarcentervehiclecvmappinginsertResult struct {
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// object
	Object string `json:"object,omitempty" xml:"object,omitempty"`
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallcarcentervehiclecvmappinginsertResult 结构体

type TmallcarcentervehicleinforegisterAPIRequest added in v1.3.1

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

TmallcarcentervehicleinforegisterAPIRequest 车型数据更新 API请求 tmall.carcenter.vehicleinfo.register

基本车型信息维护

func NewTmallcarcentervehicleinforegisterRequest added in v1.3.1

func NewTmallcarcentervehicleinforegisterRequest() *TmallcarcentervehicleinforegisterAPIRequest

NewTmallcarcentervehicleinforegisterRequest 初始化TmallcarcentervehicleinforegisterAPIRequest对象

func (TmallcarcentervehicleinforegisterAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarcentervehicleinforegisterAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarcentervehicleinforegisterAPIRequest) GetRawParams added in v1.3.1

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

func (TmallcarcentervehicleinforegisterAPIRequest) GetVehicleInfo added in v1.3.1

GetVehicleInfo VehicleInfo Getter

func (*TmallcarcentervehicleinforegisterAPIRequest) SetVehicleInfo added in v1.3.1

SetVehicleInfo is VehicleInfo Setter 车型数据对象

type TmallcarcentervehicleinforegisterAPIResponse added in v1.3.1

type TmallcarcentervehicleinforegisterAPIResponse struct {
	model.CommonResponse
	TmallcarcentervehicleinforegisterAPIResponseModel
}

TmallcarcentervehicleinforegisterAPIResponse 车型数据更新 API返回值 tmall.carcenter.vehicleinfo.register

基本车型信息维护

type TmallcarcentervehicleinforegisterAPIResponseModel added in v1.3.1

type TmallcarcentervehicleinforegisterAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_carcenter_vehicleinfo_register_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TmallcarcentervehicleinforegisterResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallcarcentervehicleinforegisterAPIResponseModel is 车型数据更新 成功返回结果

type TmallcarcentervehicleinforegisterResult added in v1.3.1

type TmallcarcentervehicleinforegisterResult struct {
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// object
	Object bool `json:"object,omitempty" xml:"object,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallcarcentervehicleinforegisterResult 结构体

type TmallcarcentervehicleversioninsertAPIRequest added in v1.3.1

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

TmallcarcentervehicleversioninsertAPIRequest 汽车EPC版本压缩库新增接口 API请求 tmall.carcenter.vehicle.version.insert

汽车EPC版本压缩库新增接口

func NewTmallcarcentervehicleversioninsertRequest added in v1.3.1

func NewTmallcarcentervehicleversioninsertRequest() *TmallcarcentervehicleversioninsertAPIRequest

NewTmallcarcentervehicleversioninsertRequest 初始化TmallcarcentervehicleversioninsertAPIRequest对象

func (TmallcarcentervehicleversioninsertAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallcarcentervehicleversioninsertAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TmallcarcentervehicleversioninsertAPIRequest) GetDto added in v1.3.1

GetDto Dto Getter

func (TmallcarcentervehicleversioninsertAPIRequest) GetRawParams added in v1.3.1

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

func (*TmallcarcentervehicleversioninsertAPIRequest) SetDto added in v1.3.1

SetDto is Dto Setter 版本压缩库入参

type TmallcarcentervehicleversioninsertAPIResponse added in v1.3.1

type TmallcarcentervehicleversioninsertAPIResponse struct {
	model.CommonResponse
	TmallcarcentervehicleversioninsertAPIResponseModel
}

TmallcarcentervehicleversioninsertAPIResponse 汽车EPC版本压缩库新增接口 API返回值 tmall.carcenter.vehicle.version.insert

汽车EPC版本压缩库新增接口

type TmallcarcentervehicleversioninsertAPIResponseModel added in v1.3.1

type TmallcarcentervehicleversioninsertAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_carcenter_vehicle_version_insert_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *TmallcarcentervehicleversioninsertResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallcarcentervehicleversioninsertAPIResponseModel is 汽车EPC版本压缩库新增接口 成功返回结果

type TmallcarcentervehicleversioninsertResult added in v1.3.1

type TmallcarcentervehicleversioninsertResult struct {
	// msgCode
	MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"`
	// msgInfo
	MsgInfo string `json:"msg_info,omitempty" xml:"msg_info,omitempty"`
	// object
	Object string `json:"object,omitempty" xml:"object,omitempty"`
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TmallcarcentervehicleversioninsertResult 结构体

type VersionVehicleInfoOriginalDto

type VersionVehicleInfoOriginalDto struct {
	// 换代
	Replacement string `json:"replacement,omitempty" xml:"replacement,omitempty"`
	// 销售名称
	SalesName string `json:"sales_name,omitempty" xml:"sales_name,omitempty"`
	// 产地
	Origin string `json:"origin,omitempty" xml:"origin,omitempty"`
	// 品牌
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 后轮毂规格
	RearTyre string `json:"rear_tyre,omitempty" xml:"rear_tyre,omitempty"`
	// 最大功率
	MaxPower string `json:"max_power,omitempty" xml:"max_power,omitempty"`
	// 生产厂家
	ManufactureName string `json:"manufacture_name,omitempty" xml:"manufacture_name,omitempty"`
	// 版本压缩ID
	VersionCid string `json:"version_cid,omitempty" xml:"version_cid,omitempty"`
	// 年款
	SalesYear string `json:"sales_year,omitempty" xml:"sales_year,omitempty"`
	// 发动机型号
	EngineNo string `json:"engine_no,omitempty" xml:"engine_no,omitempty"`
	// 车型
	ModelName string `json:"model_name,omitempty" xml:"model_name,omitempty"`
	// 前轮毂规格
	FrontTyre string `json:"front_tyre,omitempty" xml:"front_tyre,omitempty"`
	// 排量
	Displacement string `json:"displacement,omitempty" xml:"displacement,omitempty"`
	// 驱动方式
	DriveModel string `json:"drive_model,omitempty" xml:"drive_model,omitempty"`
	// 底盘号
	ChassisNum string `json:"chassis_num,omitempty" xml:"chassis_num,omitempty"`
	// 车身类型
	BodyModel string `json:"body_model,omitempty" xml:"body_model,omitempty"`
	// 车系
	LineName string `json:"line_name,omitempty" xml:"line_name,omitempty"`
	// 车辆类型
	VehicleType string `json:"vehicle_type,omitempty" xml:"vehicle_type,omitempty"`
	// 停产年份
	EndYear int64 `json:"end_year,omitempty" xml:"end_year,omitempty"`
	// 生产年份
	ProductiveYear int64 `json:"productive_year,omitempty" xml:"productive_year,omitempty"`
}

VersionVehicleInfoOriginalDto 结构体

Jump to

Keyboard shortcuts

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