rhino

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 23, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package rhino 包含新制造API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClothingInboundConfirmDto

type ClothingInboundConfirmDto struct {
	// 入库完成时间
	InboundDate string `json:"inbound_date,omitempty" xml:"inbound_date,omitempty"`
	// 物料描述,对应WMS002:ItemName
	MaterialDesc string `json:"material_desc,omitempty" xml:"material_desc,omitempty"`
	// 电商平台订单号orderCode
	EcOrderCode string `json:"ec_order_code,omitempty" xml:"ec_order_code,omitempty"`
	// 生产订单号
	MesOrderId string `json:"mes_order_id,omitempty" xml:"mes_order_id,omitempty"`
	// 成衣rfid编码
	Rfid string `json:"rfid,omitempty" xml:"rfid,omitempty"`
	// toC订单Id
	DesiredId string `json:"desired_id,omitempty" xml:"desired_id,omitempty"`
	// 入库数量
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
	// 工厂ID,对应WMS002:Company
	FactoryId int64 `json:"factory_id,omitempty" xml:"factory_id,omitempty"`
	// 入库单号,对应WMS002:ReceiptId
	InboundId int64 `json:"inbound_id,omitempty" xml:"inbound_id,omitempty"`
	// 仓库ID,对应WMS002:WareHouse
	WarehouseId int64 `json:"warehouse_id,omitempty" xml:"warehouse_id,omitempty"`
	// 物料ID,对应WMS002:Item
	MaterialId int64 `json:"material_id,omitempty" xml:"material_id,omitempty"`
	// sku 信息
	SkuBO *SkuBo `json:"sku_b_o,omitempty" xml:"sku_b_o,omitempty"`
	// 入库单类型
	InboundType int64 `json:"inbound_type,omitempty" xml:"inbound_type,omitempty"`
}

ClothingInboundConfirmDto 结构体

type ClothingOutboundWaybill

type ClothingOutboundWaybill struct {
	// 每个运货单sku明细items
	OutboundItems []ClothingSkuDto `json:"outbound_items,omitempty" xml:"outbound_items>clothing_sku_dto,omitempty"`
	// 快递公司编码tms_code
	ExpressCompany string `json:"express_company,omitempty" xml:"express_company,omitempty"`
	// 快递编号tms_order_code
	ExpressId string `json:"express_id,omitempty" xml:"express_id,omitempty"`
}

ClothingOutboundWaybill 结构体

type ClothingSkuDto

type ClothingSkuDto struct {
	// 成衣物料名称ItemName
	StyleName string `json:"style_name,omitempty" xml:"style_name,omitempty"`
	// 成衣sku编码Item
	Id string `json:"id,omitempty" xml:"id,omitempty"`
	// 成衣rfid编码
	Rfid string `json:"rfid,omitempty" xml:"rfid,omitempty"`
	// 发货数量item_count
	Amount int64 `json:"amount,omitempty" xml:"amount,omitempty"`
}

ClothingSkuDto 结构体

type MaterialInventoryAdjustDto

type MaterialInventoryAdjustDto struct {
	// 物料名称
	MaterialName string `json:"material_name,omitempty" xml:"material_name,omitempty"`
	// 库存状态(1:正品;2:次品;3:赠品)
	InventoryType string `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"`
	// 调整标示(1:增加库存;2:减少库存)
	AdjustType string `json:"adjust_type,omitempty" xml:"adjust_type,omitempty"`
	// 讯息ID
	AdjustSerialNo string `json:"adjust_serial_no,omitempty" xml:"adjust_serial_no,omitempty"`
	// 盘点原因
	AdjustReason string `json:"adjust_reason,omitempty" xml:"adjust_reason,omitempty"`
	// 盘点日期
	AdjustDate string `json:"adjust_date,omitempty" xml:"adjust_date,omitempty"`
	// 工厂ID,货主编码
	FactoryId int64 `json:"factory_id,omitempty" xml:"factory_id,omitempty"`
	// 物料ID,货品编码
	MaterialId int64 `json:"material_id,omitempty" xml:"material_id,omitempty"`
	// 仓库ID,仓库编码
	WarehouseId int64 `json:"warehouse_id,omitempty" xml:"warehouse_id,omitempty"`
	// 盘点数量
	AdjustAmount int64 `json:"adjust_amount,omitempty" xml:"adjust_amount,omitempty"`
}

MaterialInventoryAdjustDto 结构体

type PickingCompleteMsg

type PickingCompleteMsg struct {
	// 运货单信息package_infos
	Waybills []ClothingOutboundWaybill `json:"waybills,omitempty" xml:"waybills>clothing_outbound_waybill,omitempty"`
	// SAP交货单号torder_code
	SapInvoiceId string `json:"sap_invoice_id,omitempty" xml:"sap_invoice_id,omitempty"`
	// 仓库出库单完成时间shipment_confirm_time
	OutboundDate string `json:"outbound_date,omitempty" xml:"outbound_date,omitempty"`
	// 出库单编码shipment_id
	WmsInvoiceId string `json:"wms_invoice_id,omitempty" xml:"wms_invoice_id,omitempty"`
	// 货主编号company
	FactoryId int64 `json:"factory_id,omitempty" xml:"factory_id,omitempty"`
	// 仓库编码
	WareHouseId int64 `json:"ware_house_id,omitempty" xml:"ware_house_id,omitempty"`
	// 出库单单据类型,1-正常出库2-手工出库
	OutboundType int64 `json:"outbound_type,omitempty" xml:"outbound_type,omitempty"`
}

PickingCompleteMsg 结构体

type SkuBo

type SkuBo struct {
	// 款式id
	StyleId string `json:"style_id,omitempty" xml:"style_id,omitempty"`
	// 工艺版本id
	TechnologyVersion string `json:"technology_version,omitempty" xml:"technology_version,omitempty"`
	// 颜色id
	ColorId int64 `json:"color_id,omitempty" xml:"color_id,omitempty"`
	// 尺码id
	SizeId int64 `json:"size_id,omitempty" xml:"size_id,omitempty"`
}

SkuBo 结构体

type TaobaoRhinoSupplychainClothingAdjustAPIRequest added in v1.2.0

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

TaobaoRhinoSupplychainClothingAdjustAPIRequest 同步成衣仓盘点数据 API请求 taobao.rhino.supplychain.clothing.adjust

同步成衣仓盘点数据

func NewTaobaoRhinoSupplychainClothingAdjustRequest

func NewTaobaoRhinoSupplychainClothingAdjustRequest() *TaobaoRhinoSupplychainClothingAdjustAPIRequest

NewTaobaoRhinoSupplychainClothingAdjustRequest 初始化TaobaoRhinoSupplychainClothingAdjustAPIRequest对象

func (TaobaoRhinoSupplychainClothingAdjustAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRhinoSupplychainClothingAdjustAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRhinoSupplychainClothingAdjustAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TaobaoRhinoSupplychainClothingAdjustAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 库存盘点对象

type TaobaoRhinoSupplychainClothingAdjustAPIResponse

type TaobaoRhinoSupplychainClothingAdjustAPIResponse struct {
	model.CommonResponse
	TaobaoRhinoSupplychainClothingAdjustAPIResponseModel
}

TaobaoRhinoSupplychainClothingAdjustAPIResponse 同步成衣仓盘点数据 API返回值 taobao.rhino.supplychain.clothing.adjust

同步成衣仓盘点数据

type TaobaoRhinoSupplychainClothingAdjustAPIResponseModel added in v1.2.0

type TaobaoRhinoSupplychainClothingAdjustAPIResponseModel struct {
	XMLName xml.Name `xml:"rhino_supplychain_clothing_adjust_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoRhinoSupplychainClothingAdjustAPIResponseModel is 同步成衣仓盘点数据 成功返回结果

type TaobaoRhinoSupplychainInboundConfirmAPIRequest added in v1.2.0

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

TaobaoRhinoSupplychainInboundConfirmAPIRequest WMS003成衣入库确认 API请求 taobao.rhino.supplychain.inbound.confirm

【WMS003】【同步成衣入库完成信息】

func NewTaobaoRhinoSupplychainInboundConfirmRequest

func NewTaobaoRhinoSupplychainInboundConfirmRequest() *TaobaoRhinoSupplychainInboundConfirmAPIRequest

NewTaobaoRhinoSupplychainInboundConfirmRequest 初始化TaobaoRhinoSupplychainInboundConfirmAPIRequest对象

func (TaobaoRhinoSupplychainInboundConfirmAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRhinoSupplychainInboundConfirmAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRhinoSupplychainInboundConfirmAPIRequest) GetClothingInboundConfirm added in v1.2.0

GetClothingInboundConfirm ClothingInboundConfirm Getter

func (*TaobaoRhinoSupplychainInboundConfirmAPIRequest) SetClothingInboundConfirm added in v1.2.0

func (r *TaobaoRhinoSupplychainInboundConfirmAPIRequest) SetClothingInboundConfirm(_clothingInboundConfirm *ClothingInboundConfirmDto) error

SetClothingInboundConfirm is ClothingInboundConfirm Setter 入库单确认对象

type TaobaoRhinoSupplychainInboundConfirmAPIResponse

type TaobaoRhinoSupplychainInboundConfirmAPIResponse struct {
	model.CommonResponse
	TaobaoRhinoSupplychainInboundConfirmAPIResponseModel
}

TaobaoRhinoSupplychainInboundConfirmAPIResponse WMS003成衣入库确认 API返回值 taobao.rhino.supplychain.inbound.confirm

【WMS003】【同步成衣入库完成信息】

type TaobaoRhinoSupplychainInboundConfirmAPIResponseModel added in v1.2.0

type TaobaoRhinoSupplychainInboundConfirmAPIResponseModel struct {
	XMLName xml.Name `xml:"rhino_supplychain_inbound_confirm_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoRhinoSupplychainInboundConfirmAPIResponseModel is WMS003成衣入库确认 成功返回结果

type TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest added in v1.2.0

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

TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest 【WMS005】接收成衣捡配完成通知 API请求 taobao.rhino.supplychain.outbound.pickingcomplete

接收成衣捡配完成通知,WMS005

func NewTaobaoRhinoSupplychainOutboundPickingcompleteRequest

func NewTaobaoRhinoSupplychainOutboundPickingcompleteRequest() *TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest

NewTaobaoRhinoSupplychainOutboundPickingcompleteRequest 初始化TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest对象

func (TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest) GetParam0 added in v1.2.0

GetParam0 Param0 Getter

func (*TaobaoRhinoSupplychainOutboundPickingcompleteAPIRequest) SetParam0 added in v1.2.0

SetParam0 is Param0 Setter 捡配完成消息

type TaobaoRhinoSupplychainOutboundPickingcompleteAPIResponse

type TaobaoRhinoSupplychainOutboundPickingcompleteAPIResponse struct {
	model.CommonResponse
	TaobaoRhinoSupplychainOutboundPickingcompleteAPIResponseModel
}

TaobaoRhinoSupplychainOutboundPickingcompleteAPIResponse 【WMS005】接收成衣捡配完成通知 API返回值 taobao.rhino.supplychain.outbound.pickingcomplete

接收成衣捡配完成通知,WMS005

type TaobaoRhinoSupplychainOutboundPickingcompleteAPIResponseModel added in v1.2.0

type TaobaoRhinoSupplychainOutboundPickingcompleteAPIResponseModel struct {
	XMLName xml.Name `xml:"rhino_supplychain_outbound_pickingcomplete_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// message
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// code
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// success
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoRhinoSupplychainOutboundPickingcompleteAPIResponseModel is 【WMS005】接收成衣捡配完成通知 成功返回结果

Jump to

Keyboard shortcuts

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