rhino

package
v1.3.3 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.2.9

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

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

crm实体变更回调接口

func NewTaobaoRhinoCrmGatewayRequest added in v1.2.9

func NewTaobaoRhinoCrmGatewayRequest() *TaobaoRhinoCrmGatewayAPIRequest

NewTaobaoRhinoCrmGatewayRequest 初始化TaobaoRhinoCrmGatewayAPIRequest对象

func (TaobaoRhinoCrmGatewayAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoRhinoCrmGatewayAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRhinoCrmGatewayAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRhinoCrmGatewayAPIRequest) GetCrmEntity added in v1.2.9

func (r TaobaoRhinoCrmGatewayAPIRequest) GetCrmEntity() *CrmEntity

GetCrmEntity CrmEntity Getter

func (TaobaoRhinoCrmGatewayAPIRequest) GetEventTimestamp added in v1.2.9

func (r TaobaoRhinoCrmGatewayAPIRequest) GetEventTimestamp() int64

GetEventTimestamp EventTimestamp Getter

func (TaobaoRhinoCrmGatewayAPIRequest) GetFormCode added in v1.2.9

func (r TaobaoRhinoCrmGatewayAPIRequest) GetFormCode() string

GetFormCode FormCode Getter

func (TaobaoRhinoCrmGatewayAPIRequest) GetOperateType added in v1.2.9

func (r TaobaoRhinoCrmGatewayAPIRequest) GetOperateType() string

GetOperateType OperateType Getter

func (TaobaoRhinoCrmGatewayAPIRequest) GetRawParams added in v1.2.9

func (r TaobaoRhinoCrmGatewayAPIRequest) GetRawParams() model.Params

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

func (*TaobaoRhinoCrmGatewayAPIRequest) SetCrmEntity added in v1.2.9

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

SetCrmEntity is CrmEntity Setter crm实体

func (*TaobaoRhinoCrmGatewayAPIRequest) SetEventTimestamp added in v1.2.9

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

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

func (*TaobaoRhinoCrmGatewayAPIRequest) SetFormCode added in v1.2.9

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

SetFormCode is FormCode Setter 探迹定义,formcode

func (*TaobaoRhinoCrmGatewayAPIRequest) SetOperateType added in v1.2.9

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

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

type TaobaoRhinoCrmGatewayAPIResponse added in v1.2.9

type TaobaoRhinoCrmGatewayAPIResponse struct {
	model.CommonResponse
	TaobaoRhinoCrmGatewayAPIResponseModel
}

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

crm实体变更回调接口

type TaobaoRhinoCrmGatewayAPIResponseModel added in v1.2.9

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

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

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

crm实体预询期

func NewTaobaoRhinoCrmReviewDeliveryRequest added in v1.2.9

func NewTaobaoRhinoCrmReviewDeliveryRequest() *TaobaoRhinoCrmReviewDeliveryAPIRequest

NewTaobaoRhinoCrmReviewDeliveryRequest 初始化TaobaoRhinoCrmReviewDeliveryAPIRequest对象

func (TaobaoRhinoCrmReviewDeliveryAPIRequest) GetApiMethodName added in v1.2.9

func (r TaobaoRhinoCrmReviewDeliveryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoRhinoCrmReviewDeliveryAPIRequest) GetApiParams added in v1.2.9

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoRhinoCrmReviewDeliveryAPIRequest) GetCrmEntity added in v1.2.9

GetCrmEntity CrmEntity Getter

func (TaobaoRhinoCrmReviewDeliveryAPIRequest) GetRawParams added in v1.2.9

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

func (*TaobaoRhinoCrmReviewDeliveryAPIRequest) SetCrmEntity added in v1.2.9

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

SetCrmEntity is CrmEntity Setter crm实体数据

type TaobaoRhinoCrmReviewDeliveryAPIResponse added in v1.2.9

type TaobaoRhinoCrmReviewDeliveryAPIResponse struct {
	model.CommonResponse
	TaobaoRhinoCrmReviewDeliveryAPIResponseModel
}

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

crm实体预询期

type TaobaoRhinoCrmReviewDeliveryAPIResponseModel added in v1.2.9

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.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) GetRawParams added in v1.2.8

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

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) GetRawParams added in v1.2.8

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

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