rhino

package
v1.3.2 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

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

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClothingInboundConfirmDto

type ClothingInboundConfirmDto struct {
	// 物料描述,对应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"`
	// 入库完成时间
	InboundDate string `json:"inbound_date,omitempty" xml:"inbound_date,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"`
	// 物料ID,对应WMS002:Item
	MaterialId int64 `json:"material_id,omitempty" xml:"material_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"`
	// 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 CrmEntity added in v1.2.9

type CrmEntity struct {
	// 修改时间
	GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"`
	// 创建人名称
	Creator string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 实例id
	InstanceId string `json:"instance_id,omitempty" xml:"instance_id,omitempty"`
	// 创建人dingId
	CreatorDingUserId string `json:"creator_ding_user_id,omitempty" xml:"creator_ding_user_id,omitempty"`
	// 数据json,修改时包括before data
	Data string `json:"data,omitempty" xml:"data,omitempty"`
	// 修改人dingId
	ModifierDingUserId string `json:"modifier_ding_user_id,omitempty" xml:"modifier_ding_user_id,omitempty"`
	// 修改人名称
	Modifier string `json:"modifier,omitempty" xml:"modifier,omitempty"`
	// 创建时间
	GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"`
}

CrmEntity 结构体

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 TaobaorhinocrmgatewayAPIRequest added in v1.3.1

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

TaobaorhinocrmgatewayAPIRequest crm实体变更回调接口 API请求 taobao.rhino.crm.gateway

crm实体变更回调接口

func NewTaobaorhinocrmgatewayRequest added in v1.3.1

func NewTaobaorhinocrmgatewayRequest() *TaobaorhinocrmgatewayAPIRequest

NewTaobaorhinocrmgatewayRequest 初始化TaobaorhinocrmgatewayAPIRequest对象

func (TaobaorhinocrmgatewayAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaorhinocrmgatewayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorhinocrmgatewayAPIRequest) GetApiParams added in v1.3.1

func (r TaobaorhinocrmgatewayAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorhinocrmgatewayAPIRequest) GetCrmEntity added in v1.3.1

func (r TaobaorhinocrmgatewayAPIRequest) GetCrmEntity() *CrmEntity

GetCrmEntity CrmEntity Getter

func (TaobaorhinocrmgatewayAPIRequest) GetEventTimestamp added in v1.3.1

func (r TaobaorhinocrmgatewayAPIRequest) GetEventTimestamp() int64

GetEventTimestamp EventTimestamp Getter

func (TaobaorhinocrmgatewayAPIRequest) GetFormCode added in v1.3.1

func (r TaobaorhinocrmgatewayAPIRequest) GetFormCode() string

GetFormCode FormCode Getter

func (TaobaorhinocrmgatewayAPIRequest) GetOperateType added in v1.3.1

func (r TaobaorhinocrmgatewayAPIRequest) GetOperateType() string

GetOperateType OperateType Getter

func (TaobaorhinocrmgatewayAPIRequest) GetRawParams added in v1.3.1

func (r TaobaorhinocrmgatewayAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaorhinocrmgatewayAPIRequest) SetCrmEntity added in v1.3.1

func (r *TaobaorhinocrmgatewayAPIRequest) SetCrmEntity(_crmEntity *CrmEntity) error

SetCrmEntity is CrmEntity Setter crm实体

func (*TaobaorhinocrmgatewayAPIRequest) SetEventTimestamp added in v1.3.1

func (r *TaobaorhinocrmgatewayAPIRequest) SetEventTimestamp(_eventTimestamp int64) error

SetEventTimestamp is EventTimestamp Setter 事件发生的时间戳

func (*TaobaorhinocrmgatewayAPIRequest) SetFormCode added in v1.3.1

func (r *TaobaorhinocrmgatewayAPIRequest) SetFormCode(_formCode string) error

SetFormCode is FormCode Setter 探迹定义,formcode

func (*TaobaorhinocrmgatewayAPIRequest) SetOperateType added in v1.3.1

func (r *TaobaorhinocrmgatewayAPIRequest) SetOperateType(_operateType string) error

SetOperateType is OperateType Setter 操作类型,create,update,delete

type TaobaorhinocrmgatewayAPIResponse added in v1.3.1

type TaobaorhinocrmgatewayAPIResponse struct {
	model.CommonResponse
	TaobaorhinocrmgatewayAPIResponseModel
}

TaobaorhinocrmgatewayAPIResponse crm实体变更回调接口 API返回值 taobao.rhino.crm.gateway

crm实体变更回调接口

type TaobaorhinocrmgatewayAPIResponseModel added in v1.3.1

type TaobaorhinocrmgatewayAPIResponseModel struct {
	XMLName xml.Name `xml:"rhino_crm_gateway_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息,如果失败时,错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回码,200成功,500失败
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 是否成功
	Content bool `json:"content,omitempty" xml:"content,omitempty"`
}

TaobaorhinocrmgatewayAPIResponseModel is crm实体变更回调接口 成功返回结果

type TaobaorhinocrmreviewdeliveryAPIRequest added in v1.3.1

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

TaobaorhinocrmreviewdeliveryAPIRequest crm实体预询期 API请求 taobao.rhino.crm.review.delivery

crm实体预询期

func NewTaobaorhinocrmreviewdeliveryRequest added in v1.3.1

func NewTaobaorhinocrmreviewdeliveryRequest() *TaobaorhinocrmreviewdeliveryAPIRequest

NewTaobaorhinocrmreviewdeliveryRequest 初始化TaobaorhinocrmreviewdeliveryAPIRequest对象

func (TaobaorhinocrmreviewdeliveryAPIRequest) GetApiMethodName added in v1.3.1

func (r TaobaorhinocrmreviewdeliveryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorhinocrmreviewdeliveryAPIRequest) GetApiParams added in v1.3.1

func (r TaobaorhinocrmreviewdeliveryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorhinocrmreviewdeliveryAPIRequest) GetCrmEntity added in v1.3.1

GetCrmEntity CrmEntity Getter

func (TaobaorhinocrmreviewdeliveryAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaorhinocrmreviewdeliveryAPIRequest) SetCrmEntity added in v1.3.1

func (r *TaobaorhinocrmreviewdeliveryAPIRequest) SetCrmEntity(_crmEntity *CrmEntity) error

SetCrmEntity is CrmEntity Setter crm实体数据

type TaobaorhinocrmreviewdeliveryAPIResponse added in v1.3.1

type TaobaorhinocrmreviewdeliveryAPIResponse struct {
	model.CommonResponse
	TaobaorhinocrmreviewdeliveryAPIResponseModel
}

TaobaorhinocrmreviewdeliveryAPIResponse crm实体预询期 API返回值 taobao.rhino.crm.review.delivery

crm实体预询期

type TaobaorhinocrmreviewdeliveryAPIResponseModel added in v1.3.1

type TaobaorhinocrmreviewdeliveryAPIResponseModel struct {
	XMLName xml.Name `xml:"rhino_crm_review_delivery_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息,错误时展示
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回码,成功200/失败500
	RetCode int64 `json:"ret_code,omitempty" xml:"ret_code,omitempty"`
	// 是否成功
	Content bool `json:"content,omitempty" xml:"content,omitempty"`
}

TaobaorhinocrmreviewdeliveryAPIResponseModel is crm实体预询期 成功返回结果

type TaobaorhinosupplychaininboundconfirmAPIRequest added in v1.3.1

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

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

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

func NewTaobaorhinosupplychaininboundconfirmRequest added in v1.3.1

func NewTaobaorhinosupplychaininboundconfirmRequest() *TaobaorhinosupplychaininboundconfirmAPIRequest

NewTaobaorhinosupplychaininboundconfirmRequest 初始化TaobaorhinosupplychaininboundconfirmAPIRequest对象

func (TaobaorhinosupplychaininboundconfirmAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorhinosupplychaininboundconfirmAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorhinosupplychaininboundconfirmAPIRequest) GetClothingInboundConfirm added in v1.3.1

GetClothingInboundConfirm ClothingInboundConfirm Getter

func (TaobaorhinosupplychaininboundconfirmAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaorhinosupplychaininboundconfirmAPIRequest) SetClothingInboundConfirm added in v1.3.1

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

SetClothingInboundConfirm is ClothingInboundConfirm Setter 入库单确认对象

type TaobaorhinosupplychaininboundconfirmAPIResponse added in v1.3.1

type TaobaorhinosupplychaininboundconfirmAPIResponse struct {
	model.CommonResponse
	TaobaorhinosupplychaininboundconfirmAPIResponseModel
}

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

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

type TaobaorhinosupplychaininboundconfirmAPIResponseModel added in v1.3.1

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

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

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

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

func NewTaobaorhinosupplychainoutboundpickingcompleteRequest added in v1.3.1

func NewTaobaorhinosupplychainoutboundpickingcompleteRequest() *TaobaorhinosupplychainoutboundpickingcompleteAPIRequest

NewTaobaorhinosupplychainoutboundpickingcompleteRequest 初始化TaobaorhinosupplychainoutboundpickingcompleteAPIRequest对象

func (TaobaorhinosupplychainoutboundpickingcompleteAPIRequest) GetApiMethodName added in v1.3.1

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaorhinosupplychainoutboundpickingcompleteAPIRequest) GetApiParams added in v1.3.1

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaorhinosupplychainoutboundpickingcompleteAPIRequest) GetParam0 added in v1.3.1

GetParam0 Param0 Getter

func (TaobaorhinosupplychainoutboundpickingcompleteAPIRequest) GetRawParams added in v1.3.1

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaorhinosupplychainoutboundpickingcompleteAPIRequest) SetParam0 added in v1.3.1

SetParam0 is Param0 Setter 捡配完成消息

type TaobaorhinosupplychainoutboundpickingcompleteAPIResponse added in v1.3.1

type TaobaorhinosupplychainoutboundpickingcompleteAPIResponse struct {
	model.CommonResponse
	TaobaorhinosupplychainoutboundpickingcompleteAPIResponseModel
}

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

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

type TaobaorhinosupplychainoutboundpickingcompleteAPIResponseModel added in v1.3.1

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