tmallcarenter

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 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 TmallCarcenterVehicleChasisInsertAPIResponse

type TmallCarcenterVehicleChasisInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleChasisInsertResponse
}

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

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

type TmallCarcenterVehicleChasisInsertRequest

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

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

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

func NewTmallCarcenterVehicleChasisInsertRequest

func NewTmallCarcenterVehicleChasisInsertRequest() *TmallCarcenterVehicleChasisInsertRequest

初始化TmallCarcenterVehicleChasisInsertRequest对象

func (TmallCarcenterVehicleChasisInsertRequest) GetApiMethodName

func (r TmallCarcenterVehicleChasisInsertRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleChasisInsertRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleChasisInsertRequest) GetDto

Dto Getter

func (*TmallCarcenterVehicleChasisInsertRequest) SetDto

Dto Setter 底盘压缩库入参

type TmallCarcenterVehicleChasisInsertResponse

type TmallCarcenterVehicleChasisInsertResponse 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 TmallCarcenterVehicleCvmappingInsertAPIResponse

type TmallCarcenterVehicleCvmappingInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleCvmappingInsertResponse
}

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

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

type TmallCarcenterVehicleCvmappingInsertRequest

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

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

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

func NewTmallCarcenterVehicleCvmappingInsertRequest

func NewTmallCarcenterVehicleCvmappingInsertRequest() *TmallCarcenterVehicleCvmappingInsertRequest

初始化TmallCarcenterVehicleCvmappingInsertRequest对象

func (TmallCarcenterVehicleCvmappingInsertRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleCvmappingInsertRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleCvmappingInsertRequest) GetStatus

Status Getter

func (TmallCarcenterVehicleCvmappingInsertRequest) GetSupplierChassisCid

func (r TmallCarcenterVehicleCvmappingInsertRequest) GetSupplierChassisCid() string

SupplierChassisCid Getter

func (TmallCarcenterVehicleCvmappingInsertRequest) GetSupplierVersionCid

func (r TmallCarcenterVehicleCvmappingInsertRequest) GetSupplierVersionCid() string

SupplierVersionCid Getter

func (*TmallCarcenterVehicleCvmappingInsertRequest) SetStatus

Status Setter 状态

func (*TmallCarcenterVehicleCvmappingInsertRequest) SetSupplierChassisCid

func (r *TmallCarcenterVehicleCvmappingInsertRequest) SetSupplierChassisCid(supplierChassisCid string) error

SupplierChassisCid Setter 底盘ID

func (*TmallCarcenterVehicleCvmappingInsertRequest) SetSupplierVersionCid

func (r *TmallCarcenterVehicleCvmappingInsertRequest) SetSupplierVersionCid(supplierVersionCid string) error

SupplierVersionCid Setter 版本ID

type TmallCarcenterVehicleCvmappingInsertResponse

type TmallCarcenterVehicleCvmappingInsertResponse 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 TmallCarcenterVehicleVersionInsertAPIResponse

type TmallCarcenterVehicleVersionInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleVersionInsertResponse
}

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

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

type TmallCarcenterVehicleVersionInsertRequest

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

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

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

func NewTmallCarcenterVehicleVersionInsertRequest

func NewTmallCarcenterVehicleVersionInsertRequest() *TmallCarcenterVehicleVersionInsertRequest

初始化TmallCarcenterVehicleVersionInsertRequest对象

func (TmallCarcenterVehicleVersionInsertRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleVersionInsertRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleVersionInsertRequest) GetDto

Dto Getter

func (*TmallCarcenterVehicleVersionInsertRequest) SetDto

Dto Setter 版本压缩库入参

type TmallCarcenterVehicleVersionInsertResponse

type TmallCarcenterVehicleVersionInsertResponse 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 TmallCarcenterVehicleinfoRegisterAPIResponse

type TmallCarcenterVehicleinfoRegisterAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleinfoRegisterResponse
}

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

基本车型信息维护

type TmallCarcenterVehicleinfoRegisterRequest

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

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

基本车型信息维护

func NewTmallCarcenterVehicleinfoRegisterRequest

func NewTmallCarcenterVehicleinfoRegisterRequest() *TmallCarcenterVehicleinfoRegisterRequest

初始化TmallCarcenterVehicleinfoRegisterRequest对象

func (TmallCarcenterVehicleinfoRegisterRequest) GetApiMethodName

func (r TmallCarcenterVehicleinfoRegisterRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleinfoRegisterRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleinfoRegisterRequest) GetVehicleInfo

VehicleInfo Getter

func (*TmallCarcenterVehicleinfoRegisterRequest) SetVehicleInfo

VehicleInfo Setter 车型数据对象

type TmallCarcenterVehicleinfoRegisterResponse

type TmallCarcenterVehicleinfoRegisterResponse 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