tttm

package
v1.1.4 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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AliyunIndustryTttmItemsSyncAPIResponse

type AliyunIndustryTttmItemsSyncAPIResponse struct {
	model.CommonResponse
	AliyunIndustryTttmItemsSyncResponse
}

天天特卖商品信息同步 API返回值 aliyun.industry.tttm.items.sync

天天特卖商品信息同步

type AliyunIndustryTttmItemsSyncRequest

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

天天特卖商品信息同步 API请求 aliyun.industry.tttm.items.sync

天天特卖商品信息同步

func NewAliyunIndustryTttmItemsSyncRequest

func NewAliyunIndustryTttmItemsSyncRequest() *AliyunIndustryTttmItemsSyncRequest

初始化AliyunIndustryTttmItemsSyncRequest对象

func (AliyunIndustryTttmItemsSyncRequest) GetApiMethodName

func (r AliyunIndustryTttmItemsSyncRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliyunIndustryTttmItemsSyncRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliyunIndustryTttmItemsSyncRequest) GetSyncItems

SyncItems Getter

func (*AliyunIndustryTttmItemsSyncRequest) SetSyncItems

func (r *AliyunIndustryTttmItemsSyncRequest) SetSyncItems(syncItems []ItemInfoDto) error

SyncItems Setter 商品信息

type AliyunIndustryTttmItemsSyncResponse

type AliyunIndustryTttmItemsSyncResponse struct {
	XMLName xml.Name `xml:"aliyun_industry_tttm_items_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功失败标识
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

天天特卖商品信息同步 成功返回结果

type AliyunIndustryTttmOrderQueryAPIResponse

type AliyunIndustryTttmOrderQueryAPIResponse struct {
	model.CommonResponse
	AliyunIndustryTttmOrderQueryResponse
}

天天特卖数字工厂订单获取 API返回值 aliyun.industry.tttm.order.query

获取阿里云数字工厂内天天特卖业务的订单

type AliyunIndustryTttmOrderQueryRequest

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

天天特卖数字工厂订单获取 API请求 aliyun.industry.tttm.order.query

获取阿里云数字工厂内天天特卖业务的订单

func NewAliyunIndustryTttmOrderQueryRequest

func NewAliyunIndustryTttmOrderQueryRequest() *AliyunIndustryTttmOrderQueryRequest

初始化AliyunIndustryTttmOrderQueryRequest对象

func (AliyunIndustryTttmOrderQueryRequest) GetApiMethodName

func (r AliyunIndustryTttmOrderQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliyunIndustryTttmOrderQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliyunIndustryTttmOrderQueryRequest) GetExternalId

func (r AliyunIndustryTttmOrderQueryRequest) GetExternalId() string

ExternalId Getter

func (AliyunIndustryTttmOrderQueryRequest) GetOrderId

OrderId Getter

func (*AliyunIndustryTttmOrderQueryRequest) SetExternalId

func (r *AliyunIndustryTttmOrderQueryRequest) SetExternalId(externalId string) error

ExternalId Setter 外部采购单号

func (*AliyunIndustryTttmOrderQueryRequest) SetOrderId

func (r *AliyunIndustryTttmOrderQueryRequest) SetOrderId(orderId string) error

OrderId Setter 订单号

type AliyunIndustryTttmOrderQueryResponse

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

天天特卖数字工厂订单获取 成功返回结果

type AliyunIndustryTttmPlanSyncAPIResponse

type AliyunIndustryTttmPlanSyncAPIResponse struct {
	model.CommonResponse
	AliyunIndustryTttmPlanSyncResponse
}

天天特卖生产计划单同步 API返回值 aliyun.industry.tttm.plan.sync

ERP系统向天天特卖同步生产计划单的数据

type AliyunIndustryTttmPlanSyncRequest

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

天天特卖生产计划单同步 API请求 aliyun.industry.tttm.plan.sync

ERP系统向天天特卖同步生产计划单的数据

func NewAliyunIndustryTttmPlanSyncRequest

func NewAliyunIndustryTttmPlanSyncRequest() *AliyunIndustryTttmPlanSyncRequest

初始化AliyunIndustryTttmPlanSyncRequest对象

func (AliyunIndustryTttmPlanSyncRequest) GetApiMethodName

func (r AliyunIndustryTttmPlanSyncRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliyunIndustryTttmPlanSyncRequest) GetApiParams

func (r AliyunIndustryTttmPlanSyncRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (AliyunIndustryTttmPlanSyncRequest) GetSyncPlan

SyncPlan Getter

func (*AliyunIndustryTttmPlanSyncRequest) SetSyncPlan

func (r *AliyunIndustryTttmPlanSyncRequest) SetSyncPlan(syncPlan *SyncPlanDto) error

SyncPlan Setter 计划单

type AliyunIndustryTttmPlanSyncResponse

type AliyunIndustryTttmPlanSyncResponse struct {
	XMLName xml.Name `xml:"aliyun_industry_tttm_plan_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 状态
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

天天特卖生产计划单同步 成功返回结果

type AliyunIndustryTttmProduceSyncAPIResponse

type AliyunIndustryTttmProduceSyncAPIResponse struct {
	model.CommonResponse
	AliyunIndustryTttmProduceSyncResponse
}

天天特卖生产进度同步 API返回值 aliyun.industry.tttm.produce.sync

天天特卖生产进度同步

type AliyunIndustryTttmProduceSyncRequest

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

天天特卖生产进度同步 API请求 aliyun.industry.tttm.produce.sync

天天特卖生产进度同步

func NewAliyunIndustryTttmProduceSyncRequest

func NewAliyunIndustryTttmProduceSyncRequest() *AliyunIndustryTttmProduceSyncRequest

初始化AliyunIndustryTttmProduceSyncRequest对象

func (AliyunIndustryTttmProduceSyncRequest) GetApiMethodName

func (r AliyunIndustryTttmProduceSyncRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliyunIndustryTttmProduceSyncRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliyunIndustryTttmProduceSyncRequest) GetSyncPlan

SyncPlan Getter

func (*AliyunIndustryTttmProduceSyncRequest) SetSyncPlan

func (r *AliyunIndustryTttmProduceSyncRequest) SetSyncPlan(syncPlan *SyncPlanDto) error

SyncPlan Setter 计划单

type AliyunIndustryTttmProduceSyncResponse

type AliyunIndustryTttmProduceSyncResponse struct {
	XMLName xml.Name `xml:"aliyun_industry_tttm_produce_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 状态
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

天天特卖生产进度同步 成功返回结果

type AliyunIndustryTttmProductsSyncAPIResponse

type AliyunIndustryTttmProductsSyncAPIResponse struct {
	model.CommonResponse
	AliyunIndustryTttmProductsSyncResponse
}

天天特卖货品信息同步 API返回值 aliyun.industry.tttm.products.sync

天天特卖货品信息同步

type AliyunIndustryTttmProductsSyncRequest

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

天天特卖货品信息同步 API请求 aliyun.industry.tttm.products.sync

天天特卖货品信息同步

func NewAliyunIndustryTttmProductsSyncRequest

func NewAliyunIndustryTttmProductsSyncRequest() *AliyunIndustryTttmProductsSyncRequest

初始化AliyunIndustryTttmProductsSyncRequest对象

func (AliyunIndustryTttmProductsSyncRequest) GetApiMethodName

func (r AliyunIndustryTttmProductsSyncRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliyunIndustryTttmProductsSyncRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliyunIndustryTttmProductsSyncRequest) GetSyncProducts

SyncProducts Getter

func (*AliyunIndustryTttmProductsSyncRequest) SetSyncProducts

func (r *AliyunIndustryTttmProductsSyncRequest) SetSyncProducts(syncProducts []ProductInfoDto) error

SyncProducts Setter 产品信息

type AliyunIndustryTttmProductsSyncResponse

type AliyunIndustryTttmProductsSyncResponse struct {
	XMLName xml.Name `xml:"aliyun_industry_tttm_products_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功失败标识
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

天天特卖货品信息同步 成功返回结果

type AliyunIndustryTttmStockSyncAPIResponse

type AliyunIndustryTttmStockSyncAPIResponse struct {
	model.CommonResponse
	AliyunIndustryTttmStockSyncResponse
}

天天特卖库存同步接口 API返回值 aliyun.industry.tttm.stock.sync

天天特卖库存同步接口

type AliyunIndustryTttmStockSyncRequest

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

天天特卖库存同步接口 API请求 aliyun.industry.tttm.stock.sync

天天特卖库存同步接口

func NewAliyunIndustryTttmStockSyncRequest

func NewAliyunIndustryTttmStockSyncRequest() *AliyunIndustryTttmStockSyncRequest

初始化AliyunIndustryTttmStockSyncRequest对象

func (AliyunIndustryTttmStockSyncRequest) GetApiMethodName

func (r AliyunIndustryTttmStockSyncRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (AliyunIndustryTttmStockSyncRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (AliyunIndustryTttmStockSyncRequest) GetSyncStock

SyncStock Getter

func (*AliyunIndustryTttmStockSyncRequest) SetSyncStock

func (r *AliyunIndustryTttmStockSyncRequest) SetSyncStock(syncStock *StockInfoDto) error

SyncStock Setter 库存

type AliyunIndustryTttmStockSyncResponse

type AliyunIndustryTttmStockSyncResponse struct {
	XMLName xml.Name `xml:"aliyun_industry_tttm_stock_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 成功失败标识
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
}

天天特卖库存同步接口 成功返回结果

type ItemInfoDto

type ItemInfoDto struct {
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 货品信息
	ProductInfoDTOs []ProductInfoDto `json:"product_info_d_t_os,omitempty" xml:"product_info_d_t_os>product_info_dto,omitempty"`
	// skuId
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

ItemInfoDto

type OrderDto

type OrderDto struct {
	// 订单id
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 订单总金额
	TotalPrice string `json:"total_price,omitempty" xml:"total_price,omitempty"`
	// 合同类型
	ContractType int64 `json:"contract_type,omitempty" xml:"contract_type,omitempty"`
	// 公司名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 下单货品
	OrderProductList []OrderProductDto `json:"order_product_list,omitempty" xml:"order_product_list>order_product_dto,omitempty"`
	// 下单时间
	OrderTime string `json:"order_time,omitempty" xml:"order_time,omitempty"`
	// 生产状态
	ProduceStatus int64 `json:"produce_status,omitempty" xml:"produce_status,omitempty"`
	// 订单商品列表
	OrderProducts string `json:"order_products,omitempty" xml:"order_products,omitempty"`
	// 采购单号
	ExternalId string `json:"external_id,omitempty" xml:"external_id,omitempty"`
	// 交付时间
	DueTime string `json:"due_time,omitempty" xml:"due_time,omitempty"`
	// 附件列表
	Annexes string `json:"annexes,omitempty" xml:"annexes,omitempty"`
	// 订单总数
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 业务来源
	BizSource int64 `json:"biz_source,omitempty" xml:"biz_source,omitempty"`
	// 附件列表
	AnnexesJson string `json:"annexes_json,omitempty" xml:"annexes_json,omitempty"`
	// 加工类型
	WorkingType int64 `json:"working_type,omitempty" xml:"working_type,omitempty"`
}

OrderDto

type OrderProductDto

type OrderProductDto struct {
	// 货品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 货品价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 货品数量
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 货品编码
	ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"`
}

OrderProductDto

type ProduceSyncDto

type ProduceSyncDto struct {
	// 顺序
	LinkSort int64 `json:"link_sort,omitempty" xml:"link_sort,omitempty"`
	// 生产节点
	ProduceLink string `json:"produce_link,omitempty" xml:"produce_link,omitempty"`
	// 产量
	ProduceNum int64 `json:"produce_num,omitempty" xml:"produce_num,omitempty"`
	// 次品量
	DefectiveNum int64 `json:"defective_num,omitempty" xml:"defective_num,omitempty"`
	// 生产状态
	ProduceStatus int64 `json:"produce_status,omitempty" xml:"produce_status,omitempty"`
	// 提交时间
	SubmitTime string `json:"submit_time,omitempty" xml:"submit_time,omitempty"`
	// 实际时间
	FinishTime string `json:"finish_time,omitempty" xml:"finish_time,omitempty"`
}

ProduceSyncDto

type ProductInfoDto

type ProductInfoDto struct {
	// 货品编码
	ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"`
	// 货品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 货品状态
	ProductStatus int64 `json:"product_status,omitempty" xml:"product_status,omitempty"`
	// 套餐数量
	SetAmount int64 `json:"set_amount,omitempty" xml:"set_amount,omitempty"`
	// 总库存
	TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 增量库存
	IncrementAmount int64 `json:"increment_amount,omitempty" xml:"increment_amount,omitempty"`
	// 出入库
	IncrementType int64 `json:"increment_type,omitempty" xml:"increment_type,omitempty"`
}

ProductInfoDto

type StockInfoDto

type StockInfoDto struct {
	// 工厂仓
	FactoryDepot []ProductInfoDto `json:"factory_depot,omitempty" xml:"factory_depot>product_info_dto,omitempty"`
	// 电商仓
	ShopDepot []ProductInfoDto `json:"shop_depot,omitempty" xml:"shop_depot>product_info_dto,omitempty"`
}

StockInfoDto

type SyncPlanDto

type SyncPlanDto struct {
	// 工单
	SyncWorkDTOs []WorkSyncDto `json:"sync_work_d_t_os,omitempty" xml:"sync_work_d_t_os>work_sync_dto,omitempty"`
	// 计划完成
	FinishTime string `json:"finish_time,omitempty" xml:"finish_time,omitempty"`
	// 订单
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 联系人
	ContactName string `json:"contact_name,omitempty" xml:"contact_name,omitempty"`
	// 计划单id
	PlanId string `json:"plan_id,omitempty" xml:"plan_id,omitempty"`
	// 计划开始
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 联系人电话
	ContactTel string `json:"contact_tel,omitempty" xml:"contact_tel,omitempty"`
}

SyncPlanDto

type WorkSyncDto

type WorkSyncDto struct {
	// 工单ID
	WorkId string `json:"work_id,omitempty" xml:"work_id,omitempty"`
	// 货品
	ProductCode string `json:"product_code,omitempty" xml:"product_code,omitempty"`
	// 计划产量
	PlanNum string `json:"plan_num,omitempty" xml:"plan_num,omitempty"`
	// 生产节点
	ProduceLinks []string `json:"produce_links,omitempty" xml:"produce_links>string,omitempty"`
	// 生产状态
	ProduceStatus int64 `json:"produce_status,omitempty" xml:"produce_status,omitempty"`
	// 工单开始
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 工单结束
	FinishTime string `json:"finish_time,omitempty" xml:"finish_time,omitempty"`
	// 生产进度
	SyncProduceDTOs []ProduceSyncDto `json:"sync_produce_d_t_os,omitempty" xml:"sync_produce_d_t_os>produce_sync_dto,omitempty"`
}

WorkSyncDto

Jump to

Keyboard shortcuts

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