tmallcarenter

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 1, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

tmall-carcenter model

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

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"`
	// 停产年份
	EndYear int64 `json:"end_year,omitempty" xml:"end_year,omitempty"`
	// 产地
	Origin string `json:"origin,omitempty" xml:"origin,omitempty"`
	// 生产年份
	ProductiveYear int64 `json:"productive_year,omitempty" xml:"productive_year,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"`
}

ChasisVehicleInfoOriginalDto

type OriginVehicleInfoDto

type OriginVehicleInfoDto struct {
	// 销售名称
	SalesName string `json:"sales_name,omitempty" xml:"sales_name,omitempty"`
	// 生产年份
	ProductiveYear int64 `json:"productive_year,omitempty" xml:"productive_year,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"`
	// 上市年份
	ReleaseYear int64 `json:"release_year,omitempty" xml:"release_year,omitempty"`
	// 厂家名称
	ManufactureName string `json:"manufacture_name,omitempty" xml:"manufacture_name,omitempty"`
	// 销售年款
	SalesYear int64 `json:"sales_year,omitempty" xml:"sales_year,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"`
	// 停产年份
	EndYear int64 `json:"end_year,omitempty" xml:"end_year,omitempty"`
	// 状态(状态,0:删除,1:新增,2:修改)
	Status int64 `json:"status,omitempty" xml:"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"`
	// 上市月份
	ReleaseMonth int64 `json:"release_month,omitempty" xml:"release_month,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"`
}

OriginVehicleInfoDto

type TmallCarcenterVehicleChasisInsertAPIRequest added in v1.2.0

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

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

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

func NewTmallCarcenterVehicleChasisInsertRequest

func NewTmallCarcenterVehicleChasisInsertRequest() *TmallCarcenterVehicleChasisInsertAPIRequest

初始化TmallCarcenterVehicleChasisInsertAPIRequest对象

func (TmallCarcenterVehicleChasisInsertAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleChasisInsertAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleChasisInsertAPIRequest) GetDto added in v1.2.0

Dto Getter

func (*TmallCarcenterVehicleChasisInsertAPIRequest) SetDto added in v1.2.0

Dto Setter 底盘压缩库入参

type TmallCarcenterVehicleChasisInsertAPIResponse

type TmallCarcenterVehicleChasisInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleChasisInsertAPIResponseModel
}

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

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

type TmallCarcenterVehicleChasisInsertAPIResponseModel added in v1.2.0

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"`
}

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

type TmallCarcenterVehicleChasisInsertResult

type TmallCarcenterVehicleChasisInsertResult struct {
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 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"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
}

TmallCarcenterVehicleChasisInsertResult

type TmallCarcenterVehicleCvmappingInsertAPIRequest added in v1.2.0

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

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

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

func NewTmallCarcenterVehicleCvmappingInsertRequest

func NewTmallCarcenterVehicleCvmappingInsertRequest() *TmallCarcenterVehicleCvmappingInsertAPIRequest

初始化TmallCarcenterVehicleCvmappingInsertAPIRequest对象

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetStatus added in v1.2.0

Status Getter

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierChassisCid added in v1.2.0

func (r TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierChassisCid() string

SupplierChassisCid Getter

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierVersionCid added in v1.2.0

func (r TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierVersionCid() string

SupplierVersionCid Getter

func (*TmallCarcenterVehicleCvmappingInsertAPIRequest) SetStatus added in v1.2.0

Status Setter 状态

func (*TmallCarcenterVehicleCvmappingInsertAPIRequest) SetSupplierChassisCid added in v1.2.0

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

SupplierChassisCid Setter 底盘ID

func (*TmallCarcenterVehicleCvmappingInsertAPIRequest) SetSupplierVersionCid added in v1.2.0

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

SupplierVersionCid Setter 版本ID

type TmallCarcenterVehicleCvmappingInsertAPIResponse

type TmallCarcenterVehicleCvmappingInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleCvmappingInsertAPIResponseModel
}

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

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

type TmallCarcenterVehicleCvmappingInsertAPIResponseModel added in v1.2.0

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"`
}

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

type TmallCarcenterVehicleCvmappingInsertResult

type TmallCarcenterVehicleCvmappingInsertResult struct {
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 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"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
}

TmallCarcenterVehicleCvmappingInsertResult

type TmallCarcenterVehicleVersionInsertAPIRequest added in v1.2.0

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

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

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

func NewTmallCarcenterVehicleVersionInsertRequest

func NewTmallCarcenterVehicleVersionInsertRequest() *TmallCarcenterVehicleVersionInsertAPIRequest

初始化TmallCarcenterVehicleVersionInsertAPIRequest对象

func (TmallCarcenterVehicleVersionInsertAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleVersionInsertAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleVersionInsertAPIRequest) GetDto added in v1.2.0

Dto Getter

func (*TmallCarcenterVehicleVersionInsertAPIRequest) SetDto added in v1.2.0

Dto Setter 版本压缩库入参

type TmallCarcenterVehicleVersionInsertAPIResponse

type TmallCarcenterVehicleVersionInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleVersionInsertAPIResponseModel
}

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

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

type TmallCarcenterVehicleVersionInsertAPIResponseModel added in v1.2.0

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"`
}

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

type TmallCarcenterVehicleVersionInsertResult

type TmallCarcenterVehicleVersionInsertResult struct {
	// gmtCurrentTime
	GmtCurrentTime int64 `json:"gmt_current_time,omitempty" xml:"gmt_current_time,omitempty"`
	// 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"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// costTime
	CostTime int64 `json:"cost_time,omitempty" xml:"cost_time,omitempty"`
}

TmallCarcenterVehicleVersionInsertResult

type TmallCarcenterVehicleinfoRegisterAPIRequest added in v1.2.0

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

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

基本车型信息维护

func NewTmallCarcenterVehicleinfoRegisterRequest

func NewTmallCarcenterVehicleinfoRegisterRequest() *TmallCarcenterVehicleinfoRegisterAPIRequest

初始化TmallCarcenterVehicleinfoRegisterAPIRequest对象

func (TmallCarcenterVehicleinfoRegisterAPIRequest) GetApiMethodName added in v1.2.0

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleinfoRegisterAPIRequest) GetApiParams added in v1.2.0

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleinfoRegisterAPIRequest) GetVehicleInfo added in v1.2.0

VehicleInfo Getter

func (*TmallCarcenterVehicleinfoRegisterAPIRequest) SetVehicleInfo added in v1.2.0

VehicleInfo Setter 车型数据对象

type TmallCarcenterVehicleinfoRegisterAPIResponse

type TmallCarcenterVehicleinfoRegisterAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleinfoRegisterAPIResponseModel
}

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

基本车型信息维护

type TmallCarcenterVehicleinfoRegisterAPIResponseModel added in v1.2.0

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"`
}

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

type TmallCarcenterVehicleinfoRegisterResult

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

TmallCarcenterVehicleinfoRegisterResult

type VersionVehicleInfoOriginalDto

type VersionVehicleInfoOriginalDto struct {
	// 换代
	Replacement string `json:"replacement,omitempty" xml:"replacement,omitempty"`
	// 停产年份
	EndYear int64 `json:"end_year,omitempty" xml:"end_year,omitempty"`
	// 销售名称
	SalesName string `json:"sales_name,omitempty" xml:"sales_name,omitempty"`
	// 生产年份
	ProductiveYear int64 `json:"productive_year,omitempty" xml:"productive_year,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"`
}

VersionVehicleInfoOriginalDto

Jump to

Keyboard shortcuts

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