tmallcarenter

package
v1.2.2 Latest Latest
Warning

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

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

Documentation

Overview

Package tmallcarenter 包含tmall-carcenter相关结构体

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"`
	// 产地
	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.2.0

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

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

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

func NewTmallCarcenterVehicleChasisInsertRequest

func NewTmallCarcenterVehicleChasisInsertRequest() *TmallCarcenterVehicleChasisInsertAPIRequest

NewTmallCarcenterVehicleChasisInsertRequest 初始化TmallCarcenterVehicleChasisInsertAPIRequest对象

func (TmallCarcenterVehicleChasisInsertAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleChasisInsertAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleChasisInsertAPIRequest) GetDto added in v1.2.0

GetDto Dto Getter

func (*TmallCarcenterVehicleChasisInsertAPIRequest) SetDto added in v1.2.0

SetDto is Dto Setter 底盘压缩库入参

type TmallCarcenterVehicleChasisInsertAPIResponse

type TmallCarcenterVehicleChasisInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleChasisInsertAPIResponseModel
}

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

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

type TmallCarcenterVehicleChasisInsertResult

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.2.0

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

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

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

func NewTmallCarcenterVehicleCvmappingInsertRequest

func NewTmallCarcenterVehicleCvmappingInsertRequest() *TmallCarcenterVehicleCvmappingInsertAPIRequest

NewTmallCarcenterVehicleCvmappingInsertRequest 初始化TmallCarcenterVehicleCvmappingInsertAPIRequest对象

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierChassisCid added in v1.2.0

func (r TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierChassisCid() string

GetSupplierChassisCid SupplierChassisCid Getter

func (TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierVersionCid added in v1.2.0

func (r TmallCarcenterVehicleCvmappingInsertAPIRequest) GetSupplierVersionCid() string

GetSupplierVersionCid SupplierVersionCid Getter

func (*TmallCarcenterVehicleCvmappingInsertAPIRequest) SetStatus added in v1.2.0

SetStatus is Status Setter 状态

func (*TmallCarcenterVehicleCvmappingInsertAPIRequest) SetSupplierChassisCid added in v1.2.0

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

SetSupplierChassisCid is SupplierChassisCid Setter 底盘ID

func (*TmallCarcenterVehicleCvmappingInsertAPIRequest) SetSupplierVersionCid added in v1.2.0

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

SetSupplierVersionCid is SupplierVersionCid Setter 版本ID

type TmallCarcenterVehicleCvmappingInsertAPIResponse

type TmallCarcenterVehicleCvmappingInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleCvmappingInsertAPIResponseModel
}

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

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

type TmallCarcenterVehicleCvmappingInsertResult

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 TmallCarcenterVehicleVersionInsertAPIRequest added in v1.2.0

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

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

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

func NewTmallCarcenterVehicleVersionInsertRequest

func NewTmallCarcenterVehicleVersionInsertRequest() *TmallCarcenterVehicleVersionInsertAPIRequest

NewTmallCarcenterVehicleVersionInsertRequest 初始化TmallCarcenterVehicleVersionInsertAPIRequest对象

func (TmallCarcenterVehicleVersionInsertAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleVersionInsertAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleVersionInsertAPIRequest) GetDto added in v1.2.0

GetDto Dto Getter

func (*TmallCarcenterVehicleVersionInsertAPIRequest) SetDto added in v1.2.0

SetDto is Dto Setter 版本压缩库入参

type TmallCarcenterVehicleVersionInsertAPIResponse

type TmallCarcenterVehicleVersionInsertAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleVersionInsertAPIResponseModel
}

TmallCarcenterVehicleVersionInsertAPIResponse 汽车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"`
}

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

type TmallCarcenterVehicleVersionInsertResult

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 TmallCarcenterVehicleinfoRegisterAPIRequest added in v1.2.0

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

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

基本车型信息维护

func NewTmallCarcenterVehicleinfoRegisterRequest

func NewTmallCarcenterVehicleinfoRegisterRequest() *TmallCarcenterVehicleinfoRegisterAPIRequest

NewTmallCarcenterVehicleinfoRegisterRequest 初始化TmallCarcenterVehicleinfoRegisterAPIRequest对象

func (TmallCarcenterVehicleinfoRegisterAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallCarcenterVehicleinfoRegisterAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallCarcenterVehicleinfoRegisterAPIRequest) GetVehicleInfo added in v1.2.0

GetVehicleInfo VehicleInfo Getter

func (*TmallCarcenterVehicleinfoRegisterAPIRequest) SetVehicleInfo added in v1.2.0

SetVehicleInfo is VehicleInfo Setter 车型数据对象

type TmallCarcenterVehicleinfoRegisterAPIResponse

type TmallCarcenterVehicleinfoRegisterAPIResponse struct {
	model.CommonResponse
	TmallCarcenterVehicleinfoRegisterAPIResponseModel
}

TmallCarcenterVehicleinfoRegisterAPIResponse 车型数据更新 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"`
}

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

type TmallCarcenterVehicleinfoRegisterResult

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