Documentation ¶
Overview ¶
Package wlb 包含物流宝API相关结构体
Index ¶
- type AddressInfo
- type BmsConsignOrderConfirm
- type CainiaoBmsOrderConsignConfirmAPIRequest
- func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetApiMethodName() string
- func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetContent() *BmsConsignOrderConfirm
- func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetRawParams() model.Params
- func (r *CainiaoBmsOrderConsignConfirmAPIRequest) SetContent(_content *BmsConsignOrderConfirm) error
- type CainiaoBmsOrderConsignConfirmAPIResponse
- type CainiaoBmsOrderConsignConfirmAPIResponseModel
- type CainiaoMerchantInventoryAdjustAPIRequest
- func (r CainiaoMerchantInventoryAdjustAPIRequest) GetAdjustRequest() []MerStoreInvAdjustDto
- func (r CainiaoMerchantInventoryAdjustAPIRequest) GetApiMethodName() string
- func (r CainiaoMerchantInventoryAdjustAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoMerchantInventoryAdjustAPIRequest) GetAppName() string
- func (r CainiaoMerchantInventoryAdjustAPIRequest) GetOperation() string
- func (r CainiaoMerchantInventoryAdjustAPIRequest) GetRawParams() model.Params
- func (r *CainiaoMerchantInventoryAdjustAPIRequest) SetAdjustRequest(_adjustRequest []MerStoreInvAdjustDto) error
- func (r *CainiaoMerchantInventoryAdjustAPIRequest) SetAppName(_appName string) error
- func (r *CainiaoMerchantInventoryAdjustAPIRequest) SetOperation(_operation string) error
- type CainiaoMerchantInventoryAdjustAPIResponse
- type CainiaoMerchantInventoryAdjustAPIResponseModel
- type CainiaoWaybillCloudprintNetprintPrintAPIRequest
- func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetApiMethodName() string
- func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetApiParams(params url.Values)
- func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetPrinterPrintData() *CloudPrinterPrintRequest
- func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetRawParams() model.Params
- func (r *CainiaoWaybillCloudprintNetprintPrintAPIRequest) SetPrinterPrintData(_printerPrintData *CloudPrinterPrintRequest) error
- type CainiaoWaybillCloudprintNetprintPrintAPIResponse
- type CainiaoWaybillCloudprintNetprintPrintAPIResponseModel
- type CloudPrinterPrintRequest
- type ContactInfo
- type CustomData
- type DeliveryOrder
- type FreshWaybill
- type ItemListWlbWmsInventoryLackUpload
- type JzConsignArgsNew
- type JzPartnerNew
- type MerStoreInvAdjustDto
- type OrderItems
- type OrderLine
- type OutEntityItem
- type PackageMaterialList
- type Partner
- type PrintData
- type ReceiverInfo
- type ResultDo
- type SellerSubscriptionList
- type SingleResultDto
- type TaobaoUopTobOrderCreateAPIRequest
- func (r TaobaoUopTobOrderCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoUopTobOrderCreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoUopTobOrderCreateAPIRequest) GetDeliveryOrder() *DeliveryOrder
- func (r TaobaoUopTobOrderCreateAPIRequest) GetRawParams() model.Params
- func (r *TaobaoUopTobOrderCreateAPIRequest) SetDeliveryOrder(_deliveryOrder *DeliveryOrder) error
- type TaobaoUopTobOrderCreateAPIResponse
- type TaobaoUopTobOrderCreateAPIResponseModel
- type TaobaoWlbInventoryDetailGetAPIRequest
- func (r TaobaoWlbInventoryDetailGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbInventoryDetailGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbInventoryDetailGetAPIRequest) GetInventoryTypeList() []string
- func (r TaobaoWlbInventoryDetailGetAPIRequest) GetItemId() int64
- func (r TaobaoWlbInventoryDetailGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbInventoryDetailGetAPIRequest) GetStoreCode() string
- func (r *TaobaoWlbInventoryDetailGetAPIRequest) SetInventoryTypeList(_inventoryTypeList []string) error
- func (r *TaobaoWlbInventoryDetailGetAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoWlbInventoryDetailGetAPIRequest) SetStoreCode(_storeCode string) error
- type TaobaoWlbInventoryDetailGetAPIResponse
- type TaobaoWlbInventoryDetailGetAPIResponseModel
- type TaobaoWlbInventorylogQueryAPIRequest
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetGmtEnd() string
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetGmtStart() string
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetItemId() int64
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetOpType() string
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetOpUserId() int64
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetOrderCode() string
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetPageNo() int64
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetPageSize() int64
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbInventorylogQueryAPIRequest) GetStoreCode() string
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetGmtEnd(_gmtEnd string) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetGmtStart(_gmtStart string) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetOpType(_opType string) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetOpUserId(_opUserId int64) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetOrderCode(_orderCode string) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoWlbInventorylogQueryAPIRequest) SetStoreCode(_storeCode string) error
- type TaobaoWlbInventorylogQueryAPIResponse
- type TaobaoWlbInventorylogQueryAPIResponseModel
- type TaobaoWlbItemAddAPIRequest
- func (r TaobaoWlbItemAddAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbItemAddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbItemAddAPIRequest) GetColor() string
- func (r TaobaoWlbItemAddAPIRequest) GetGoodsCat() string
- func (r TaobaoWlbItemAddAPIRequest) GetHeight() int64
- func (r TaobaoWlbItemAddAPIRequest) GetIsDangerous() bool
- func (r TaobaoWlbItemAddAPIRequest) GetIsFriable() bool
- func (r TaobaoWlbItemAddAPIRequest) GetIsSku() string
- func (r TaobaoWlbItemAddAPIRequest) GetItemCode() string
- func (r TaobaoWlbItemAddAPIRequest) GetLength() int64
- func (r TaobaoWlbItemAddAPIRequest) GetName() string
- func (r TaobaoWlbItemAddAPIRequest) GetPackageMaterial() string
- func (r TaobaoWlbItemAddAPIRequest) GetPrice() int64
- func (r TaobaoWlbItemAddAPIRequest) GetPricingCat() string
- func (r TaobaoWlbItemAddAPIRequest) GetProNameList() string
- func (r TaobaoWlbItemAddAPIRequest) GetProValueList() string
- func (r TaobaoWlbItemAddAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbItemAddAPIRequest) GetRemark() string
- func (r TaobaoWlbItemAddAPIRequest) GetSupportBatch() bool
- func (r TaobaoWlbItemAddAPIRequest) GetTitle() string
- func (r TaobaoWlbItemAddAPIRequest) GetType() string
- func (r TaobaoWlbItemAddAPIRequest) GetVolume() int64
- func (r TaobaoWlbItemAddAPIRequest) GetWeight() int64
- func (r TaobaoWlbItemAddAPIRequest) GetWidth() int64
- func (r *TaobaoWlbItemAddAPIRequest) SetColor(_color string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetGoodsCat(_goodsCat string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetHeight(_height int64) error
- func (r *TaobaoWlbItemAddAPIRequest) SetIsDangerous(_isDangerous bool) error
- func (r *TaobaoWlbItemAddAPIRequest) SetIsFriable(_isFriable bool) error
- func (r *TaobaoWlbItemAddAPIRequest) SetIsSku(_isSku string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetItemCode(_itemCode string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetLength(_length int64) error
- func (r *TaobaoWlbItemAddAPIRequest) SetName(_name string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetPackageMaterial(_packageMaterial string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetPrice(_price int64) error
- func (r *TaobaoWlbItemAddAPIRequest) SetPricingCat(_pricingCat string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetProNameList(_proNameList string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetProValueList(_proValueList string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetSupportBatch(_supportBatch bool) error
- func (r *TaobaoWlbItemAddAPIRequest) SetTitle(_title string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetType(_type string) error
- func (r *TaobaoWlbItemAddAPIRequest) SetVolume(_volume int64) error
- func (r *TaobaoWlbItemAddAPIRequest) SetWeight(_weight int64) error
- func (r *TaobaoWlbItemAddAPIRequest) SetWidth(_width int64) error
- type TaobaoWlbItemAddAPIResponse
- type TaobaoWlbItemAddAPIResponseModel
- type TaobaoWlbItemBatchQueryAPIRequest
- func (r TaobaoWlbItemBatchQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbItemBatchQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbItemBatchQueryAPIRequest) GetItemIds() string
- func (r TaobaoWlbItemBatchQueryAPIRequest) GetPageNo() int64
- func (r TaobaoWlbItemBatchQueryAPIRequest) GetPageSize() int64
- func (r TaobaoWlbItemBatchQueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbItemBatchQueryAPIRequest) GetStoreCode() string
- func (r *TaobaoWlbItemBatchQueryAPIRequest) SetItemIds(_itemIds string) error
- func (r *TaobaoWlbItemBatchQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbItemBatchQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoWlbItemBatchQueryAPIRequest) SetStoreCode(_storeCode string) error
- type TaobaoWlbItemBatchQueryAPIResponse
- type TaobaoWlbItemBatchQueryAPIResponseModel
- type TaobaoWlbItemCombinationGetAPIRequest
- func (r TaobaoWlbItemCombinationGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbItemCombinationGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbItemCombinationGetAPIRequest) GetItemId() int64
- func (r TaobaoWlbItemCombinationGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoWlbItemCombinationGetAPIRequest) SetItemId(_itemId int64) error
- type TaobaoWlbItemCombinationGetAPIResponse
- type TaobaoWlbItemCombinationGetAPIResponseModel
- type TaobaoWlbItemGetAPIRequest
- func (r TaobaoWlbItemGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbItemGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbItemGetAPIRequest) GetItemId() int64
- func (r TaobaoWlbItemGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoWlbItemGetAPIRequest) SetItemId(_itemId int64) error
- type TaobaoWlbItemGetAPIResponse
- type TaobaoWlbItemGetAPIResponseModel
- type TaobaoWlbItemMapGetAPIRequest
- func (r TaobaoWlbItemMapGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbItemMapGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbItemMapGetAPIRequest) GetItemId() int64
- func (r TaobaoWlbItemMapGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoWlbItemMapGetAPIRequest) SetItemId(_itemId int64) error
- type TaobaoWlbItemMapGetAPIResponse
- type TaobaoWlbItemMapGetAPIResponseModel
- type TaobaoWlbItemQueryAPIRequest
- func (r TaobaoWlbItemQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbItemQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbItemQueryAPIRequest) GetIsSku() string
- func (r TaobaoWlbItemQueryAPIRequest) GetItemCode() string
- func (r TaobaoWlbItemQueryAPIRequest) GetItemType() string
- func (r TaobaoWlbItemQueryAPIRequest) GetName() string
- func (r TaobaoWlbItemQueryAPIRequest) GetPageNo() int64
- func (r TaobaoWlbItemQueryAPIRequest) GetPageSize() int64
- func (r TaobaoWlbItemQueryAPIRequest) GetParentId() int64
- func (r TaobaoWlbItemQueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbItemQueryAPIRequest) GetStatus() string
- func (r TaobaoWlbItemQueryAPIRequest) GetTitle() string
- func (r *TaobaoWlbItemQueryAPIRequest) SetIsSku(_isSku string) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetItemCode(_itemCode string) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetItemType(_itemType string) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetName(_name string) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetParentId(_parentId int64) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetStatus(_status string) error
- func (r *TaobaoWlbItemQueryAPIRequest) SetTitle(_title string) error
- type TaobaoWlbItemQueryAPIResponse
- type TaobaoWlbItemQueryAPIResponseModel
- type TaobaoWlbItemUpdateAPIRequest
- func (r TaobaoWlbItemUpdateAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbItemUpdateAPIRequest) GetColor() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetDeletePropertyKeyList() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetGoodsCat() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetHeight() int64
- func (r TaobaoWlbItemUpdateAPIRequest) GetId() int64
- func (r TaobaoWlbItemUpdateAPIRequest) GetIsDangerous() bool
- func (r TaobaoWlbItemUpdateAPIRequest) GetIsFriable() bool
- func (r TaobaoWlbItemUpdateAPIRequest) GetLength() int64
- func (r TaobaoWlbItemUpdateAPIRequest) GetName() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetPackageMaterial() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetPricingCat() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbItemUpdateAPIRequest) GetRemark() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetTitle() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetUpdatePropertyKeyList() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetUpdatePropertyValueList() string
- func (r TaobaoWlbItemUpdateAPIRequest) GetVolume() int64
- func (r TaobaoWlbItemUpdateAPIRequest) GetWeight() int64
- func (r TaobaoWlbItemUpdateAPIRequest) GetWidth() int64
- func (r *TaobaoWlbItemUpdateAPIRequest) SetColor(_color string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetDeletePropertyKeyList(_deletePropertyKeyList string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetGoodsCat(_goodsCat string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetHeight(_height int64) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetId(_id int64) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetIsDangerous(_isDangerous bool) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetIsFriable(_isFriable bool) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetLength(_length int64) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetName(_name string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetPackageMaterial(_packageMaterial string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetPricingCat(_pricingCat string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetTitle(_title string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetUpdatePropertyKeyList(_updatePropertyKeyList string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetUpdatePropertyValueList(_updatePropertyValueList string) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetVolume(_volume int64) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetWeight(_weight int64) error
- func (r *TaobaoWlbItemUpdateAPIRequest) SetWidth(_width int64) error
- type TaobaoWlbItemUpdateAPIResponse
- type TaobaoWlbItemUpdateAPIResponseModel
- type TaobaoWlbNotifyMessagePageGetAPIRequest
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetEndDate() string
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetMsgCode() string
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetPageNo() int64
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetPageSize() int64
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetStartDate() string
- func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetStatus() string
- func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetEndDate(_endDate string) error
- func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetMsgCode(_msgCode string) error
- func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetStartDate(_startDate string) error
- func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetStatus(_status string) error
- type TaobaoWlbNotifyMessagePageGetAPIResponse
- type TaobaoWlbNotifyMessagePageGetAPIResponseModel
- type TaobaoWlbOrderCancelAPIRequest
- func (r TaobaoWlbOrderCancelAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderCancelAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderCancelAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderCancelAPIRequest) GetWlbOrderCode() string
- func (r *TaobaoWlbOrderCancelAPIRequest) SetWlbOrderCode(_wlbOrderCode string) error
- type TaobaoWlbOrderCancelAPIResponse
- type TaobaoWlbOrderCancelAPIResponseModel
- type TaobaoWlbOrderConsignAPIRequest
- func (r TaobaoWlbOrderConsignAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderConsignAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderConsignAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderConsignAPIRequest) GetWlbOrderCode() string
- func (r *TaobaoWlbOrderConsignAPIRequest) SetWlbOrderCode(_wlbOrderCode string) error
- type TaobaoWlbOrderConsignAPIResponse
- type TaobaoWlbOrderConsignAPIResponseModel
- type TaobaoWlbOrderCreateAPIRequest
- func (r TaobaoWlbOrderCreateAPIRequest) GetAlipayNo() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderCreateAPIRequest) GetAttributes() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetBuyerNick() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetExpectEndTime() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetExpectStartTime() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetInvoinceInfo() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetIsFinished() bool
- func (r TaobaoWlbOrderCreateAPIRequest) GetOrderCode() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetOrderFlag() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetOrderItemList() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetOrderSubType() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetOrderType() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetOutBizCode() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetPackageCount() int64
- func (r TaobaoWlbOrderCreateAPIRequest) GetPayableAmount() int64
- func (r TaobaoWlbOrderCreateAPIRequest) GetPrevOrderCode() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderCreateAPIRequest) GetReceiverInfo() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetRemark() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetScheduleEnd() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetScheduleStart() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetScheduleType() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetSenderInfo() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetServiceFee() int64
- func (r TaobaoWlbOrderCreateAPIRequest) GetStoreCode() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetTmsInfo() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetTmsOrderCode() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetTmsServiceCode() string
- func (r TaobaoWlbOrderCreateAPIRequest) GetTotalAmount() int64
- func (r *TaobaoWlbOrderCreateAPIRequest) SetAlipayNo(_alipayNo string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetAttributes(_attributes string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetBuyerNick(_buyerNick string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetExpectEndTime(_expectEndTime string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetExpectStartTime(_expectStartTime string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetInvoinceInfo(_invoinceInfo string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetIsFinished(_isFinished bool) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderCode(_orderCode string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderFlag(_orderFlag string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderItemList(_orderItemList string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderSubType(_orderSubType string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderType(_orderType string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetOutBizCode(_outBizCode string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetPackageCount(_packageCount int64) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetPayableAmount(_payableAmount int64) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetPrevOrderCode(_prevOrderCode string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetReceiverInfo(_receiverInfo string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetRemark(_remark string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetScheduleEnd(_scheduleEnd string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetScheduleStart(_scheduleStart string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetScheduleType(_scheduleType string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetSenderInfo(_senderInfo string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetServiceFee(_serviceFee int64) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetStoreCode(_storeCode string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetTmsInfo(_tmsInfo string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetTmsOrderCode(_tmsOrderCode string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetTmsServiceCode(_tmsServiceCode string) error
- func (r *TaobaoWlbOrderCreateAPIRequest) SetTotalAmount(_totalAmount int64) error
- type TaobaoWlbOrderCreateAPIResponse
- type TaobaoWlbOrderCreateAPIResponseModel
- type TaobaoWlbOrderJzpartnerQueryAPIRequest
- func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetServiceType() int64
- func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetTaobaoTradeId() int64
- func (r *TaobaoWlbOrderJzpartnerQueryAPIRequest) SetServiceType(_serviceType int64) error
- func (r *TaobaoWlbOrderJzpartnerQueryAPIRequest) SetTaobaoTradeId(_taobaoTradeId int64) error
- type TaobaoWlbOrderJzpartnerQueryAPIResponse
- type TaobaoWlbOrderJzpartnerQueryAPIResponseModel
- type TaobaoWlbOrderJzwithinsConsignAPIRequest
- func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetInsPartner() *JzPartnerNew
- func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetJzConsignArgs() *JzConsignArgsNew
- func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetTid() int64
- func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetTmsPartner() *JzPartnerNew
- func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetInsPartner(_insPartner *JzPartnerNew) error
- func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetJzConsignArgs(_jzConsignArgs *JzConsignArgsNew) error
- func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetTid(_tid int64) error
- func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetTmsPartner(_tmsPartner *JzPartnerNew) error
- type TaobaoWlbOrderJzwithinsConsignAPIResponse
- type TaobaoWlbOrderJzwithinsConsignAPIResponseModel
- type TaobaoWlbOrderPageGetAPIRequest
- func (r TaobaoWlbOrderPageGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderPageGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderPageGetAPIRequest) GetEndTime() string
- func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderCode() string
- func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderStatus() int64
- func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderSubType() string
- func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderType() string
- func (r TaobaoWlbOrderPageGetAPIRequest) GetPageNo() int64
- func (r TaobaoWlbOrderPageGetAPIRequest) GetPageSize() int64
- func (r TaobaoWlbOrderPageGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderPageGetAPIRequest) GetStartTime() string
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderCode(_orderCode string) error
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderStatus(_orderStatus int64) error
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderSubType(_orderSubType string) error
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderType(_orderType string) error
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoWlbOrderPageGetAPIRequest) SetStartTime(_startTime string) error
- type TaobaoWlbOrderPageGetAPIResponse
- type TaobaoWlbOrderPageGetAPIResponseModel
- type TaobaoWlbOrderdetailDateGetAPIRequest
- func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetEndTime() string
- func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetPageNo() int64
- func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetPageSize() int64
- func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetStartTime() string
- func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetEndTime(_endTime string) error
- func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetStartTime(_startTime string) error
- type TaobaoWlbOrderdetailDateGetAPIResponse
- type TaobaoWlbOrderdetailDateGetAPIResponseModel
- type TaobaoWlbOrderitemPageGetAPIRequest
- func (r TaobaoWlbOrderitemPageGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderitemPageGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderitemPageGetAPIRequest) GetOrderCode() string
- func (r TaobaoWlbOrderitemPageGetAPIRequest) GetPageNo() int64
- func (r TaobaoWlbOrderitemPageGetAPIRequest) GetPageSize() int64
- func (r TaobaoWlbOrderitemPageGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoWlbOrderitemPageGetAPIRequest) SetOrderCode(_orderCode string) error
- func (r *TaobaoWlbOrderitemPageGetAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbOrderitemPageGetAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoWlbOrderitemPageGetAPIResponse
- type TaobaoWlbOrderitemPageGetAPIResponseModel
- type TaobaoWlbOrderstatusGetAPIRequest
- func (r TaobaoWlbOrderstatusGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOrderstatusGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOrderstatusGetAPIRequest) GetOrderCode() string
- func (r TaobaoWlbOrderstatusGetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoWlbOrderstatusGetAPIRequest) SetOrderCode(_orderCode string) error
- type TaobaoWlbOrderstatusGetAPIResponse
- type TaobaoWlbOrderstatusGetAPIResponseModel
- type TaobaoWlbOutInventoryChangeNotifyAPIRequest
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetChangeCount() int64
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetItemId() int64
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOpType() string
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOrderSourceCode() string
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOutBizCode() string
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetResultCount() int64
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetSource() string
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetStoreCode() string
- func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetType() string
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetChangeCount(_changeCount int64) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetItemId(_itemId int64) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOpType(_opType string) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOrderSourceCode(_orderSourceCode string) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOutBizCode(_outBizCode string) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetResultCount(_resultCount int64) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetSource(_source string) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetStoreCode(_storeCode string) error
- func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetType(_type string) error
- type TaobaoWlbOutInventoryChangeNotifyAPIResponse
- type TaobaoWlbOutInventoryChangeNotifyAPIResponseModel
- type TaobaoWlbSubscriptionQueryAPIRequest
- func (r TaobaoWlbSubscriptionQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbSubscriptionQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbSubscriptionQueryAPIRequest) GetPageNo() int64
- func (r TaobaoWlbSubscriptionQueryAPIRequest) GetPageSize() int64
- func (r TaobaoWlbSubscriptionQueryAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbSubscriptionQueryAPIRequest) GetStatus() string
- func (r *TaobaoWlbSubscriptionQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbSubscriptionQueryAPIRequest) SetPageSize(_pageSize int64) error
- func (r *TaobaoWlbSubscriptionQueryAPIRequest) SetStatus(_status string) error
- type TaobaoWlbSubscriptionQueryAPIResponse
- type TaobaoWlbSubscriptionQueryAPIResponseModel
- type TaobaoWlbTmsorderQueryAPIRequest
- func (r TaobaoWlbTmsorderQueryAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbTmsorderQueryAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbTmsorderQueryAPIRequest) GetOrderCode() string
- func (r TaobaoWlbTmsorderQueryAPIRequest) GetPageNo() int64
- func (r TaobaoWlbTmsorderQueryAPIRequest) GetPageSize() int64
- func (r TaobaoWlbTmsorderQueryAPIRequest) GetRawParams() model.Params
- func (r *TaobaoWlbTmsorderQueryAPIRequest) SetOrderCode(_orderCode string) error
- func (r *TaobaoWlbTmsorderQueryAPIRequest) SetPageNo(_pageNo int64) error
- func (r *TaobaoWlbTmsorderQueryAPIRequest) SetPageSize(_pageSize int64) error
- type TaobaoWlbTmsorderQueryAPIResponse
- type TaobaoWlbTmsorderQueryAPIResponseModel
- type TaobaoWlbTradeorderGetAPIRequest
- func (r TaobaoWlbTradeorderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbTradeorderGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbTradeorderGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbTradeorderGetAPIRequest) GetSubTradeId() string
- func (r TaobaoWlbTradeorderGetAPIRequest) GetTradeId() string
- func (r TaobaoWlbTradeorderGetAPIRequest) GetTradeType() string
- func (r *TaobaoWlbTradeorderGetAPIRequest) SetSubTradeId(_subTradeId string) error
- func (r *TaobaoWlbTradeorderGetAPIRequest) SetTradeId(_tradeId string) error
- func (r *TaobaoWlbTradeorderGetAPIRequest) SetTradeType(_tradeType string) error
- type TaobaoWlbTradeorderGetAPIResponse
- type TaobaoWlbTradeorderGetAPIResponseModel
- type TaobaoWlbWaybillShengxianGetAPIRequest
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetBizCode() string
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetDeliveryType() string
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetFeature() string
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetOrderChannelsType() string
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetSenderAddressId() string
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetServiceCode() string
- func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetTradeId() string
- func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetBizCode(_bizCode string) error
- func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetDeliveryType(_deliveryType string) error
- func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetFeature(_feature string) error
- func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetOrderChannelsType(_orderChannelsType string) error
- func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetSenderAddressId(_senderAddressId string) error
- func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetServiceCode(_serviceCode string) error
- func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetTradeId(_tradeId string) error
- type TaobaoWlbWaybillShengxianGetAPIResponse
- type TaobaoWlbWaybillShengxianGetAPIResponseModel
- type TaobaoWlbWlborderGetAPIRequest
- func (r TaobaoWlbWlborderGetAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbWlborderGetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbWlborderGetAPIRequest) GetRawParams() model.Params
- func (r TaobaoWlbWlborderGetAPIRequest) GetWlbOrderCode() string
- func (r *TaobaoWlbWlborderGetAPIRequest) SetWlbOrderCode(_wlbOrderCode string) error
- type TaobaoWlbWlborderGetAPIResponse
- type TaobaoWlbWlborderGetAPIResponseModel
- type TaobaoWlbWmsInventoryLackUploadAPIRequest
- func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetApiMethodName() string
- func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetContent() *WlbWmsInventoryLackUpload
- func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetRawParams() model.Params
- func (r *TaobaoWlbWmsInventoryLackUploadAPIRequest) SetContent(_content *WlbWmsInventoryLackUpload) error
- type TaobaoWlbWmsInventoryLackUploadAPIResponse
- type TaobaoWlbWmsInventoryLackUploadAPIResponseModel
- type TmsItem
- type TmsOrders
- type WlbInventory
- type WlbItem
- type WlbItemBatch
- type WlbItemBatchInventory
- type WlbItemInventory
- type WlbItemInventoryLog
- type WlbMessage
- type WlbOrder
- type WlbOrderDetail
- type WlbOrderItem
- type WlbProcessStatus
- type WlbTmsOrder
- type WlbWmsInventoryLackUpload
- type WlbWmsInventoryLackUploadResp
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AddressInfo ¶ added in v1.2.5
type AddressInfo struct { // 省 Province string `json:"province,omitempty" xml:"province,omitempty"` // 市 City string `json:"city,omitempty" xml:"city,omitempty"` // 区 Borough string `json:"borough,omitempty" xml:"borough,omitempty"` // 详细地址 Address string `json:"address,omitempty" xml:"address,omitempty"` // 邮编 Zip string `json:"zip,omitempty" xml:"zip,omitempty"` }
AddressInfo 结构体
type BmsConsignOrderConfirm ¶
type BmsConsignOrderConfirm struct { // 运单信息列表 TmsOrders []TmsOrders `json:"tms_orders,omitempty" xml:"tms_orders>tms_orders,omitempty"` // 订单商品信息列表 OrderItems []OrderItems `json:"order_items,omitempty" xml:"order_items>order_items,omitempty"` // 仓库出库时间 ConsignTime string `json:"consign_time,omitempty" xml:"consign_time,omitempty"` // 仓库作业单号,LBX号 StoreOrderCode string `json:"store_order_code,omitempty" xml:"store_order_code,omitempty"` // 发货仓的仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 店铺id,主店铺时跟货主id相同 ShopId string `json:"shop_id,omitempty" xml:"shop_id,omitempty"` // out_biz_id,(非导入时为订单创建时的交易号) ErpOrderCode string `json:"erp_order_code,omitempty" xml:"erp_order_code,omitempty"` // 每次发货均重新生成 ConsignCode string `json:"consign_code,omitempty" xml:"consign_code,omitempty"` // BMS订单编码 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 货主id OwnerUserId string `json:"owner_user_id,omitempty" xml:"owner_user_id,omitempty"` // 邮费,以分为单位 OrderPostFee int64 `json:"order_post_fee,omitempty" xml:"order_post_fee,omitempty"` // 交易订单金额,以分为单位 OrderAmount int64 `json:"order_amount,omitempty" xml:"order_amount,omitempty"` // 0销售平台、1手工录入、2导入发货、3ERP推送 OrderSoruce int64 `json:"order_soruce,omitempty" xml:"order_soruce,omitempty"` // 操作子类型(201 一般交易出库单,502 换货出库单,503 补发出库单) OrderType int64 `json:"order_type,omitempty" xml:"order_type,omitempty"` }
BmsConsignOrderConfirm 结构体
type CainiaoBmsOrderConsignConfirmAPIRequest ¶
type CainiaoBmsOrderConsignConfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoBmsOrderConsignConfirmAPIRequest BMS出库通知 API请求 cainiao.bms.order.consign.confirm
BMS出库后,通知ISV
func NewCainiaoBmsOrderConsignConfirmRequest ¶
func NewCainiaoBmsOrderConsignConfirmRequest() *CainiaoBmsOrderConsignConfirmAPIRequest
NewCainiaoBmsOrderConsignConfirmRequest 初始化CainiaoBmsOrderConsignConfirmAPIRequest对象
func (CainiaoBmsOrderConsignConfirmAPIRequest) GetApiMethodName ¶
func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoBmsOrderConsignConfirmAPIRequest) GetApiParams ¶
func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoBmsOrderConsignConfirmAPIRequest) GetContent ¶
func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetContent() *BmsConsignOrderConfirm
GetContent Content Getter
func (CainiaoBmsOrderConsignConfirmAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoBmsOrderConsignConfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoBmsOrderConsignConfirmAPIRequest) SetContent ¶
func (r *CainiaoBmsOrderConsignConfirmAPIRequest) SetContent(_content *BmsConsignOrderConfirm) error
SetContent is Content Setter 通知消息主体
type CainiaoBmsOrderConsignConfirmAPIResponse ¶
type CainiaoBmsOrderConsignConfirmAPIResponse struct { model.CommonResponse CainiaoBmsOrderConsignConfirmAPIResponseModel }
CainiaoBmsOrderConsignConfirmAPIResponse BMS出库通知 API返回值 cainiao.bms.order.consign.confirm
BMS出库后,通知ISV
type CainiaoBmsOrderConsignConfirmAPIResponseModel ¶
type CainiaoBmsOrderConsignConfirmAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_bms_order_consign_confirm_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 返回值 Result *ResultDo `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoBmsOrderConsignConfirmAPIResponseModel is BMS出库通知 成功返回结果
type CainiaoMerchantInventoryAdjustAPIRequest ¶
type CainiaoMerchantInventoryAdjustAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoMerchantInventoryAdjustAPIRequest 商家库存调整 API请求 cainiao.merchant.inventory.adjust
商家仓库存调整接口,目前仅支持全量更新
func NewCainiaoMerchantInventoryAdjustRequest ¶
func NewCainiaoMerchantInventoryAdjustRequest() *CainiaoMerchantInventoryAdjustAPIRequest
NewCainiaoMerchantInventoryAdjustRequest 初始化CainiaoMerchantInventoryAdjustAPIRequest对象
func (CainiaoMerchantInventoryAdjustAPIRequest) GetAdjustRequest ¶
func (r CainiaoMerchantInventoryAdjustAPIRequest) GetAdjustRequest() []MerStoreInvAdjustDto
GetAdjustRequest AdjustRequest Getter
func (CainiaoMerchantInventoryAdjustAPIRequest) GetApiMethodName ¶
func (r CainiaoMerchantInventoryAdjustAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoMerchantInventoryAdjustAPIRequest) GetApiParams ¶
func (r CainiaoMerchantInventoryAdjustAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoMerchantInventoryAdjustAPIRequest) GetAppName ¶
func (r CainiaoMerchantInventoryAdjustAPIRequest) GetAppName() string
GetAppName AppName Getter
func (CainiaoMerchantInventoryAdjustAPIRequest) GetOperation ¶
func (r CainiaoMerchantInventoryAdjustAPIRequest) GetOperation() string
GetOperation Operation Getter
func (CainiaoMerchantInventoryAdjustAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoMerchantInventoryAdjustAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoMerchantInventoryAdjustAPIRequest) SetAdjustRequest ¶
func (r *CainiaoMerchantInventoryAdjustAPIRequest) SetAdjustRequest(_adjustRequest []MerStoreInvAdjustDto) error
SetAdjustRequest is AdjustRequest Setter 商家仓编辑库存
func (*CainiaoMerchantInventoryAdjustAPIRequest) SetAppName ¶
func (r *CainiaoMerchantInventoryAdjustAPIRequest) SetAppName(_appName string) error
SetAppName is AppName Setter 调用方应用名
func (*CainiaoMerchantInventoryAdjustAPIRequest) SetOperation ¶
func (r *CainiaoMerchantInventoryAdjustAPIRequest) SetOperation(_operation string) error
SetOperation is Operation Setter 操作
type CainiaoMerchantInventoryAdjustAPIResponse ¶
type CainiaoMerchantInventoryAdjustAPIResponse struct { model.CommonResponse CainiaoMerchantInventoryAdjustAPIResponseModel }
CainiaoMerchantInventoryAdjustAPIResponse 商家库存调整 API返回值 cainiao.merchant.inventory.adjust
商家仓库存调整接口,目前仅支持全量更新
type CainiaoMerchantInventoryAdjustAPIResponseModel ¶
type CainiaoMerchantInventoryAdjustAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_merchant_inventory_adjust_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // result Result *SingleResultDto `json:"result,omitempty" xml:"result,omitempty"` }
CainiaoMerchantInventoryAdjustAPIResponseModel is 商家库存调整 成功返回结果
type CainiaoWaybillCloudprintNetprintPrintAPIRequest ¶ added in v1.2.5
type CainiaoWaybillCloudprintNetprintPrintAPIRequest struct { model.Params // contains filtered or unexported fields }
CainiaoWaybillCloudprintNetprintPrintAPIRequest 网络打印机打印接口 API请求 cainiao.waybill.cloudprint.netprint.print
打印接口
func NewCainiaoWaybillCloudprintNetprintPrintRequest ¶ added in v1.2.5
func NewCainiaoWaybillCloudprintNetprintPrintRequest() *CainiaoWaybillCloudprintNetprintPrintAPIRequest
NewCainiaoWaybillCloudprintNetprintPrintRequest 初始化CainiaoWaybillCloudprintNetprintPrintAPIRequest对象
func (CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetApiParams ¶ added in v1.2.5
func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetPrinterPrintData ¶ added in v1.2.5
func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetPrinterPrintData() *CloudPrinterPrintRequest
GetPrinterPrintData PrinterPrintData Getter
func (CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetRawParams ¶ added in v1.2.8
func (r CainiaoWaybillCloudprintNetprintPrintAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*CainiaoWaybillCloudprintNetprintPrintAPIRequest) SetPrinterPrintData ¶ added in v1.2.5
func (r *CainiaoWaybillCloudprintNetprintPrintAPIRequest) SetPrinterPrintData(_printerPrintData *CloudPrinterPrintRequest) error
SetPrinterPrintData is PrinterPrintData Setter 请求
type CainiaoWaybillCloudprintNetprintPrintAPIResponse ¶ added in v1.2.5
type CainiaoWaybillCloudprintNetprintPrintAPIResponse struct { model.CommonResponse CainiaoWaybillCloudprintNetprintPrintAPIResponseModel }
CainiaoWaybillCloudprintNetprintPrintAPIResponse 网络打印机打印接口 API返回值 cainiao.waybill.cloudprint.netprint.print
打印接口
type CainiaoWaybillCloudprintNetprintPrintAPIResponseModel ¶ added in v1.2.5
type CainiaoWaybillCloudprintNetprintPrintAPIResponseModel struct { XMLName xml.Name `xml:"cainiao_waybill_cloudprint_netprint_print_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 错误码,0 为成功 ServerErrorCode string `json:"server_error_code,omitempty" xml:"server_error_code,omitempty"` // 错误描述 Describe string `json:"describe,omitempty" xml:"describe,omitempty"` }
CainiaoWaybillCloudprintNetprintPrintAPIResponseModel is 网络打印机打印接口 成功返回结果
type CloudPrinterPrintRequest ¶ added in v1.2.5
type CloudPrinterPrintRequest struct { string `json:"share_code,omitempty" xml:"share_code,omitempty"` // 打印机 id Uid string `json:"uid,omitempty" xml:"uid,omitempty"` // 自定义内容 CustomData *CustomData `json:"custom_data,omitempty" xml:"custom_data,omitempty"` // 打印数据 PrintData *PrintData `json:"print_data,omitempty" xml:"print_data,omitempty"` }ShareCode
CloudPrinterPrintRequest 结构体
type ContactInfo ¶ added in v1.2.5
type ContactInfo struct { // 仓库联系人姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 联系电话 Phone string `json:"phone,omitempty" xml:"phone,omitempty"` }
ContactInfo 结构体
type CustomData ¶ added in v1.2.5
type CustomData struct { // 自定义区数据 Data string `json:"data,omitempty" xml:"data,omitempty"` // 自定义区链接 TemplateUrl string `json:"template_url,omitempty" xml:"template_url,omitempty"` }
CustomData 结构体
type DeliveryOrder ¶
type DeliveryOrder struct { // 订单信息 OrderLine []OrderLine `json:"order_line,omitempty" xml:"order_line>order_line,omitempty"` // 订单行 OrderLines []OrderLine `json:"order_lines,omitempty" xml:"order_lines>order_line,omitempty"` // 发货单创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // ERP出库单号,ERP系统内本次出库的唯一标示 DeliveryOrderCode string `json:"delivery_order_code,omitempty" xml:"delivery_order_code,omitempty"` // 物流公司编码 LogisticsCode string `json:"logistics_code,omitempty" xml:"logistics_code,omitempty"` // 交接入库单号,例如唯品会入库单号或者门店收货单号、商家仓入库单号等 RelInBoundOrderCode string `json:"rel_in_bound_order_code,omitempty" xml:"rel_in_bound_order_code,omitempty"` // 发货仓库 WarehouseCode string `json:"warehouse_code,omitempty" xml:"warehouse_code,omitempty"` // 单据类型,出库单类型(JYCK=一般交易出库单;HHCK=换货出库单;BFCK=补发出库单;QTCK=其他出库单;TOBCK=TOB出库;BIGTOBCK=大B2B发货) OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // 到货渠道类型,VIP=1、门店=2、经销商=3、大润发=4、猫超=5、零售通=6、AE=7、京东=8、亚马逊=9、经销=10、代理=11、商超=12、其他=99 ArriveChannelType string `json:"arrive_channel_type,omitempty" xml:"arrive_channel_type,omitempty"` // 物流公司名称 LogisticsName string `json:"logistics_name,omitempty" xml:"logistics_name,omitempty"` // 最晚到货时间 LastArriveDate string `json:"last_arrive_date,omitempty" xml:"last_arrive_date,omitempty"` // 扩展信息 ExtendProps string `json:"extend_props,omitempty" xml:"extend_props,omitempty"` // 收货时间区间 SignTime string `json:"sign_time,omitempty" xml:"sign_time,omitempty"` // 是否自提 IsSelfLifting string `json:"is_self_lifting,omitempty" xml:"is_self_lifting,omitempty"` // 配送方式,1=整车直送、2=拼车直送、3=零担、4=快递、5=自提 TransportMode string `json:"transport_mode,omitempty" xml:"transport_mode,omitempty"` // 物流单号 CnOrderCode string `json:"cn_order_code,omitempty" xml:"cn_order_code,omitempty"` // 收货人信息 ReceiverInfo *ReceiverInfo `json:"receiver_info,omitempty" xml:"receiver_info,omitempty"` }
DeliveryOrder 结构体
type FreshWaybill ¶
type FreshWaybill struct { // 预计到达时间 Time string `json:"time,omitempty" xml:"time,omitempty"` // 简称 Alias string `json:"alias,omitempty" xml:"alias,omitempty"` // 大头笔 ShortAddress string `json:"short_address,omitempty" xml:"short_address,omitempty"` // 交易号 TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"` // 预留扩展字段 Feature string `json:"feature,omitempty" xml:"feature,omitempty"` // 获取的所有电子面单号,以“;”分隔 WaybillCode string `json:"waybill_code,omitempty" xml:"waybill_code,omitempty"` }
FreshWaybill 结构体
type ItemListWlbWmsInventoryLackUpload ¶
type ItemListWlbWmsInventoryLackUpload struct { // 报缺原因(系统报缺,实物报缺) Reason string `json:"reason,omitempty" xml:"reason,omitempty"` // 后端商品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 应发商品数量 ItemQty int64 `json:"item_qty,omitempty" xml:"item_qty,omitempty"` // 商品缺货数量 LackQty int64 `json:"lack_qty,omitempty" xml:"lack_qty,omitempty"` }
ItemListWlbWmsInventoryLackUpload 结构体
type JzConsignArgsNew ¶
type JzConsignArgsNew struct { // 快递运单号,serviceType=20 和serviceType=21时必填 MailNo string `json:"mail_no,omitempty" xml:"mail_no,omitempty"` // 包裹重量kg PackageWeight string `json:"package_weight,omitempty" xml:"package_weight,omitempty"` // 包裹体积m3 PackageVolume string `json:"package_volume,omitempty" xml:"package_volume,omitempty"` // 包裹数目 PackageNumber string `json:"package_number,omitempty" xml:"package_number,omitempty"` // 包裹备注信息 PackageRemark string `json:"package_remark,omitempty" xml:"package_remark,omitempty"` // 运单号,tmsPartner.virualType=true时必填 ZyMailNo string `json:"zy_mail_no,omitempty" xml:"zy_mail_no,omitempty"` // 物流公司名称,tmsPartner.virualType=true时必填 ZyCompany string `json:"zy_company,omitempty" xml:"zy_company,omitempty"` // 物流公司电话,tmsPartner.virualType=true时必填 ZyPhoneNumber string `json:"zy_phone_number,omitempty" xml:"zy_phone_number,omitempty"` // 发货时间,tmsPartner.virualType=true时必填 ZyConsignTime string `json:"zy_consign_time,omitempty" xml:"zy_consign_time,omitempty"` }
JzConsignArgsNew 结构体
type JzPartnerNew ¶
type JzPartnerNew struct { // 服务商编码 TpCode string `json:"tp_code,omitempty" xml:"tp_code,omitempty"` // 服务商名称 TpName string `json:"tp_name,omitempty" xml:"tp_name,omitempty"` // 服务类型 ServiceType int64 `json:"service_type,omitempty" xml:"service_type,omitempty"` // 是否是虚拟服务商(家装-商家自有物流) IsVirtualTp bool `json:"is_virtual_tp,omitempty" xml:"is_virtual_tp,omitempty"` }
JzPartnerNew 结构体
type MerStoreInvAdjustDto ¶
type MerStoreInvAdjustDto struct { // 扩展属性 Attribute string `json:"attribute,omitempty" xml:"attribute,omitempty"` // 外部操作唯一编码 OutBizCode string `json:"out_biz_code,omitempty" xml:"out_biz_code,omitempty"` // 仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 库存类型 InventoryType int64 `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"` // 数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 货品id ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` }
MerStoreInvAdjustDto 结构体
type OrderItems ¶
type OrderItems struct { // 明细对应主单的交易单号 TradeId string `json:"trade_id,omitempty" xml:"trade_id,omitempty"` // 明细对应的子交易单号 TradeItemId string `json:"trade_item_id,omitempty" xml:"trade_item_id,omitempty"` // 默认:0;促销赠品1001 ItemTag string `json:"item_tag,omitempty" xml:"item_tag,omitempty"` // 货品id ScItemId string `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 前端商家编码 ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 前端宝贝itemId ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 前端skuId SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"` // 后端商家编码 ScItemCode string `json:"sc_item_code,omitempty" xml:"sc_item_code,omitempty"` // 明细ID OrderItemId int64 `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"` // 数量 ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"` // 商品金额 123.33元,单位:分 ItemAmount int64 `json:"item_amount,omitempty" xml:"item_amount,omitempty"` }
OrderItems 结构体
type OrderLine ¶
type OrderLine struct { // 库存类型,ZP=正品、CC=残次 InventoryType string `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"` // 原交易单,供销平台交易单号、分销平台单号 SourceOrderCode string `json:"source_order_code,omitempty" xml:"source_order_code,omitempty"` // 子交易单号 SubSourceOrderCode string `json:"sub_source_order_code,omitempty" xml:"sub_source_order_code,omitempty"` // 批次编码 BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"` // 生产日期,生产日期(YYYY-MM-DD) ProductDate string `json:"product_date,omitempty" xml:"product_date,omitempty"` // 过期日期,生产日期(YYYY-MM-DD) ExpireDate string `json:"expire_date,omitempty" xml:"expire_date,omitempty"` // 生产批号 ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"` // 商品编码 ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 商品ID ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` // 订单行号 OrderLineNo string `json:"order_line_no,omitempty" xml:"order_line_no,omitempty"` // 数量 Amount string `json:"amount,omitempty" xml:"amount,omitempty"` // 商品数量 ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"` }
OrderLine 结构体
type OutEntityItem ¶
type OutEntityItem struct { // 外部实体类型:<br/>IC_ITEM--ic商品<br/>IC_SKU--ic销售单元 EntityType string `json:"entity_type,omitempty" xml:"entity_type,omitempty"` // entity_type对应的实体类型的id:<br/>当entity_type为IC_ITEM时,entity_id为ic的商品id EntityId string `json:"entity_id,omitempty" xml:"entity_id,omitempty"` }
OutEntityItem 结构体
type PackageMaterialList ¶
type PackageMaterialList struct { // 包材 MaterialType string `json:"material_type,omitempty" xml:"material_type,omitempty"` // 数量 MaterialQuantity int64 `json:"material_quantity,omitempty" xml:"material_quantity,omitempty"` }
PackageMaterialList 结构体
type Partner ¶ added in v1.2.9
type Partner struct { // 物流商名称 TpName string `json:"tp_name,omitempty" xml:"tp_name,omitempty"` // 物流商编码 TpCode string `json:"tp_code,omitempty" xml:"tp_code,omitempty"` // 服务类型 ServiceType int64 `json:"service_type,omitempty" xml:"service_type,omitempty"` // 是否虚拟物流商 IsVirtualTp bool `json:"is_virtual_tp,omitempty" xml:"is_virtual_tp,omitempty"` }
Partner 结构体
type PrintData ¶ added in v1.2.5
type PrintData struct { // 版本 Ver string `json:"ver,omitempty" xml:"ver,omitempty"` // 打印数据 Data string `json:"data,omitempty" xml:"data,omitempty"` // 签名 Signature string `json:"signature,omitempty" xml:"signature,omitempty"` // 追加的 data AddData string `json:"add_data,omitempty" xml:"add_data,omitempty"` // 模板 url TemplateUrl string `json:"template_url,omitempty" xml:"template_url,omitempty"` // 是否加密 Encrypted bool `json:"encrypted,omitempty" xml:"encrypted,omitempty"` }
PrintData 结构体
type ReceiverInfo ¶
type ReceiverInfo struct { // 收货人移动电话 Mobile string `json:"mobile,omitempty" xml:"mobile,omitempty"` // 收货人姓名 Name string `json:"name,omitempty" xml:"name,omitempty"` // 收货人详细地址 DetailAddress string `json:"detail_address,omitempty" xml:"detail_address,omitempty"` // 收货人镇 Town string `json:"town,omitempty" xml:"town,omitempty"` // 收货人区 Area string `json:"area,omitempty" xml:"area,omitempty"` // 收货人市 City string `json:"city,omitempty" xml:"city,omitempty"` // 收货人省 Province string `json:"province,omitempty" xml:"province,omitempty"` }
ReceiverInfo 结构体
type ResultDo ¶
type ResultDo struct { // 网络延时 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 01 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 成功、失败 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
ResultDo 结构体
type SellerSubscriptionList ¶ added in v1.2.5
type SellerSubscriptionList struct { // 定购用户NICK SubscriberUserNick string `json:"subscriber_user_nick,omitempty" xml:"subscriber_user_nick,omitempty"` // 定购有效开始日期 StartDate string `json:"start_date,omitempty" xml:"start_date,omitempty"` // 定购有效结束日期 EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"` // 服务编码 ServiceCode string `json:"service_code,omitempty" xml:"service_code,omitempty"` // 服务名 ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"` // 服务类型,<br/>STORE 1-仓储、<br/>TMS 2-TMS、<br/>PACKAGE 3-包装服务<br/>SUPPLIER 4-供货<br/>INSTALL 5-安装<br/>COMPLEX_SERVICE 100-综合服务 ServiceType string `json:"service_type,omitempty" xml:"service_type,omitempty"` // 状态<br/>AUDITING 1-待审核<br/>CANCEL 2-撤销<br/>CHECKED 3-审核通过<br/>FAILED 4-审核未通过<br/>SYNCHRONIZING 5-同步中 Status string `json:"status,omitempty" xml:"status,omitempty"` // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 修改时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 自有仓的别名,当当前订购记录为自有仓时才会有值 ServiceAlias string `json:"service_alias,omitempty" xml:"service_alias,omitempty"` // openuid Openuid string `json:"openuid,omitempty" xml:"openuid,omitempty"` // 定购ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 定购用户ID SubscriberUserId int64 `json:"subscriber_user_id,omitempty" xml:"subscriber_user_id,omitempty"` // 服务商ID ProviderUserId int64 `json:"provider_user_id,omitempty" xml:"provider_user_id,omitempty"` // 服务ID ServiceId int64 `json:"service_id,omitempty" xml:"service_id,omitempty"` // 父定购ID<br/>可通过该字段来得之服务上下级关系。<br/>例定购了仓储服务,下又有TMS服务。<br/>该字段保存仓储服务ID。 ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` // 联系人地址信息 WlbPartnerAddress *AddressInfo `json:"wlb_partner_address,omitempty" xml:"wlb_partner_address,omitempty"` // 联系人联系详情 WlbPartnerContact *ContactInfo `json:"wlb_partner_contact,omitempty" xml:"wlb_partner_contact,omitempty"` // 判断该仓库是否是实体仓,还是虚拟仓,null是实体仓,10:代表虚拟仓 IsOwnService int64 `json:"is_own_service,omitempty" xml:"is_own_service,omitempty"` }
SellerSubscriptionList 结构体
type SingleResultDto ¶
type SingleResultDto struct { // errorCode ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // errorMessage ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // success Flag bool `json:"flag,omitempty" xml:"flag,omitempty"` }
SingleResultDto 结构体
type TaobaoUopTobOrderCreateAPIRequest ¶
type TaobaoUopTobOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoUopTobOrderCreateAPIRequest ToB仓储发货 API请求 taobao.uop.tob.order.create
ToB仓储发货
func NewTaobaoUopTobOrderCreateRequest ¶
func NewTaobaoUopTobOrderCreateRequest() *TaobaoUopTobOrderCreateAPIRequest
NewTaobaoUopTobOrderCreateRequest 初始化TaobaoUopTobOrderCreateAPIRequest对象
func (TaobaoUopTobOrderCreateAPIRequest) GetApiMethodName ¶
func (r TaobaoUopTobOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoUopTobOrderCreateAPIRequest) GetApiParams ¶
func (r TaobaoUopTobOrderCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoUopTobOrderCreateAPIRequest) GetDeliveryOrder ¶
func (r TaobaoUopTobOrderCreateAPIRequest) GetDeliveryOrder() *DeliveryOrder
GetDeliveryOrder DeliveryOrder Getter
func (TaobaoUopTobOrderCreateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoUopTobOrderCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoUopTobOrderCreateAPIRequest) SetDeliveryOrder ¶
func (r *TaobaoUopTobOrderCreateAPIRequest) SetDeliveryOrder(_deliveryOrder *DeliveryOrder) error
SetDeliveryOrder is DeliveryOrder Setter ERP出库对象
type TaobaoUopTobOrderCreateAPIResponse ¶
type TaobaoUopTobOrderCreateAPIResponse struct { model.CommonResponse TaobaoUopTobOrderCreateAPIResponseModel }
TaobaoUopTobOrderCreateAPIResponse ToB仓储发货 API返回值 taobao.uop.tob.order.create
ToB仓储发货
type TaobaoUopTobOrderCreateAPIResponseModel ¶
type TaobaoUopTobOrderCreateAPIResponseModel struct { XMLName xml.Name `xml:"uop_tob_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单 DeliveryOrders []DeliveryOrder `json:"delivery_orders,omitempty" xml:"delivery_orders>delivery_order,omitempty"` // flag Flag string `json:"flag,omitempty" xml:"flag,omitempty"` // message Message string `json:"message,omitempty" xml:"message,omitempty"` }
TaobaoUopTobOrderCreateAPIResponseModel is ToB仓储发货 成功返回结果
type TaobaoWlbInventoryDetailGetAPIRequest ¶
type TaobaoWlbInventoryDetailGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbInventoryDetailGetAPIRequest 查询库存详情 API请求 taobao.wlb.inventory.detail.get
查询库存详情,通过商品ID获取发送请求的卖家的库存详情
func NewTaobaoWlbInventoryDetailGetRequest ¶
func NewTaobaoWlbInventoryDetailGetRequest() *TaobaoWlbInventoryDetailGetAPIRequest
NewTaobaoWlbInventoryDetailGetRequest 初始化TaobaoWlbInventoryDetailGetAPIRequest对象
func (TaobaoWlbInventoryDetailGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbInventoryDetailGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbInventoryDetailGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbInventoryDetailGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbInventoryDetailGetAPIRequest) GetInventoryTypeList ¶
func (r TaobaoWlbInventoryDetailGetAPIRequest) GetInventoryTypeList() []string
GetInventoryTypeList InventoryTypeList Getter
func (TaobaoWlbInventoryDetailGetAPIRequest) GetItemId ¶
func (r TaobaoWlbInventoryDetailGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoWlbInventoryDetailGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbInventoryDetailGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbInventoryDetailGetAPIRequest) GetStoreCode ¶
func (r TaobaoWlbInventoryDetailGetAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoWlbInventoryDetailGetAPIRequest) SetInventoryTypeList ¶
func (r *TaobaoWlbInventoryDetailGetAPIRequest) SetInventoryTypeList(_inventoryTypeList []string) error
SetInventoryTypeList is InventoryTypeList Setter 库存类型列表,值包括:<br/>VENDIBLE--可销售库存<br/>FREEZE--冻结库存<br/>ONWAY--在途库存<br/>DEFECT--残次品库存<br/>ENGINE_DAMAGE--机损<br/>BOX_DAMAGE--箱损<br/>EXPIRATION--过保
func (*TaobaoWlbInventoryDetailGetAPIRequest) SetItemId ¶
func (r *TaobaoWlbInventoryDetailGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoWlbInventoryDetailGetAPIRequest) SetStoreCode ¶
func (r *TaobaoWlbInventoryDetailGetAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 仓库编码
type TaobaoWlbInventoryDetailGetAPIResponse ¶
type TaobaoWlbInventoryDetailGetAPIResponse struct { model.CommonResponse TaobaoWlbInventoryDetailGetAPIResponseModel }
TaobaoWlbInventoryDetailGetAPIResponse 查询库存详情 API返回值 taobao.wlb.inventory.detail.get
查询库存详情,通过商品ID获取发送请求的卖家的库存详情
type TaobaoWlbInventoryDetailGetAPIResponseModel ¶
type TaobaoWlbInventoryDetailGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_inventory_detail_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 库存详情对象。其中包括货主ID,仓库编码,库存,库存类型等属性 InventoryList []WlbInventory `json:"inventory_list,omitempty" xml:"inventory_list>wlb_inventory,omitempty"` // 入参的item_id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` }
TaobaoWlbInventoryDetailGetAPIResponseModel is 查询库存详情 成功返回结果
type TaobaoWlbInventorylogQueryAPIRequest ¶
type TaobaoWlbInventorylogQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbInventorylogQueryAPIRequest 根据商品ID查询所有库存变更记录 API请求 taobao.wlb.inventorylog.query
通过商品ID等几个条件来分页查询库存变更记录
func NewTaobaoWlbInventorylogQueryRequest ¶
func NewTaobaoWlbInventorylogQueryRequest() *TaobaoWlbInventorylogQueryAPIRequest
NewTaobaoWlbInventorylogQueryRequest 初始化TaobaoWlbInventorylogQueryAPIRequest对象
func (TaobaoWlbInventorylogQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbInventorylogQueryAPIRequest) GetApiParams ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbInventorylogQueryAPIRequest) GetGmtEnd ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetGmtEnd() string
GetGmtEnd GmtEnd Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetGmtStart ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetGmtStart() string
GetGmtStart GmtStart Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetItemId ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetOpType ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetOpType() string
GetOpType OpType Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetOpUserId ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetOpUserId() int64
GetOpUserId OpUserId Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetOrderCode ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetPageNo ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetPageSize ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbInventorylogQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbInventorylogQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbInventorylogQueryAPIRequest) GetStoreCode ¶
func (r TaobaoWlbInventorylogQueryAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoWlbInventorylogQueryAPIRequest) SetGmtEnd ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetGmtEnd(_gmtEnd string) error
SetGmtEnd is GmtEnd Setter 结束修改时间,小于等于该时间
func (*TaobaoWlbInventorylogQueryAPIRequest) SetGmtStart ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetGmtStart(_gmtStart string) error
SetGmtStart is GmtStart Setter 起始修改时间,大于等于该时间
func (*TaobaoWlbInventorylogQueryAPIRequest) SetItemId ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
func (*TaobaoWlbInventorylogQueryAPIRequest) SetOpType ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetOpType(_opType string) error
SetOpType is OpType Setter 库存操作作类型(可以为空) CHU_KU 1-出库 RU_KU 2-入库 FREEZE 3-冻结 THAW 4-解冻 CHECK_FREEZE 5-冻结确认 CHANGE_KU 6-库存类型变更 若值不在范围内,则按CHU_KU处理
func (*TaobaoWlbInventorylogQueryAPIRequest) SetOpUserId ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetOpUserId(_opUserId int64) error
SetOpUserId is OpUserId Setter 可指定授权的用户来查询
func (*TaobaoWlbInventorylogQueryAPIRequest) SetOrderCode ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 单号
func (*TaobaoWlbInventorylogQueryAPIRequest) SetPageNo ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 当前页
func (*TaobaoWlbInventorylogQueryAPIRequest) SetPageSize ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页记录个数
func (*TaobaoWlbInventorylogQueryAPIRequest) SetStoreCode ¶
func (r *TaobaoWlbInventorylogQueryAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 仓库编码
type TaobaoWlbInventorylogQueryAPIResponse ¶
type TaobaoWlbInventorylogQueryAPIResponse struct { model.CommonResponse TaobaoWlbInventorylogQueryAPIResponseModel }
TaobaoWlbInventorylogQueryAPIResponse 根据商品ID查询所有库存变更记录 API返回值 taobao.wlb.inventorylog.query
通过商品ID等几个条件来分页查询库存变更记录
type TaobaoWlbInventorylogQueryAPIResponseModel ¶
type TaobaoWlbInventorylogQueryAPIResponseModel struct { XMLName xml.Name `xml:"wlb_inventorylog_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 库存变更记录 InventoryLogList []WlbItemInventoryLog `json:"inventory_log_list,omitempty" xml:"inventory_log_list>wlb_item_inventory_log,omitempty"` // 记录数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbInventorylogQueryAPIResponseModel is 根据商品ID查询所有库存变更记录 成功返回结果
type TaobaoWlbItemAddAPIRequest ¶
TaobaoWlbItemAddAPIRequest 添加单个物流宝商品 API请求 taobao.wlb.item.add
添加物流宝商品,支持物流宝子商品和属性添加
func NewTaobaoWlbItemAddRequest ¶
func NewTaobaoWlbItemAddRequest() *TaobaoWlbItemAddAPIRequest
NewTaobaoWlbItemAddRequest 初始化TaobaoWlbItemAddAPIRequest对象
func (TaobaoWlbItemAddAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbItemAddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbItemAddAPIRequest) GetApiParams ¶
func (r TaobaoWlbItemAddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbItemAddAPIRequest) GetColor ¶
func (r TaobaoWlbItemAddAPIRequest) GetColor() string
GetColor Color Getter
func (TaobaoWlbItemAddAPIRequest) GetGoodsCat ¶
func (r TaobaoWlbItemAddAPIRequest) GetGoodsCat() string
GetGoodsCat GoodsCat Getter
func (TaobaoWlbItemAddAPIRequest) GetHeight ¶
func (r TaobaoWlbItemAddAPIRequest) GetHeight() int64
GetHeight Height Getter
func (TaobaoWlbItemAddAPIRequest) GetIsDangerous ¶
func (r TaobaoWlbItemAddAPIRequest) GetIsDangerous() bool
GetIsDangerous IsDangerous Getter
func (TaobaoWlbItemAddAPIRequest) GetIsFriable ¶
func (r TaobaoWlbItemAddAPIRequest) GetIsFriable() bool
GetIsFriable IsFriable Getter
func (TaobaoWlbItemAddAPIRequest) GetIsSku ¶
func (r TaobaoWlbItemAddAPIRequest) GetIsSku() string
GetIsSku IsSku Getter
func (TaobaoWlbItemAddAPIRequest) GetItemCode ¶
func (r TaobaoWlbItemAddAPIRequest) GetItemCode() string
GetItemCode ItemCode Getter
func (TaobaoWlbItemAddAPIRequest) GetLength ¶
func (r TaobaoWlbItemAddAPIRequest) GetLength() int64
GetLength Length Getter
func (TaobaoWlbItemAddAPIRequest) GetName ¶
func (r TaobaoWlbItemAddAPIRequest) GetName() string
GetName Name Getter
func (TaobaoWlbItemAddAPIRequest) GetPackageMaterial ¶
func (r TaobaoWlbItemAddAPIRequest) GetPackageMaterial() string
GetPackageMaterial PackageMaterial Getter
func (TaobaoWlbItemAddAPIRequest) GetPrice ¶
func (r TaobaoWlbItemAddAPIRequest) GetPrice() int64
GetPrice Price Getter
func (TaobaoWlbItemAddAPIRequest) GetPricingCat ¶
func (r TaobaoWlbItemAddAPIRequest) GetPricingCat() string
GetPricingCat PricingCat Getter
func (TaobaoWlbItemAddAPIRequest) GetProNameList ¶
func (r TaobaoWlbItemAddAPIRequest) GetProNameList() string
GetProNameList ProNameList Getter
func (TaobaoWlbItemAddAPIRequest) GetProValueList ¶
func (r TaobaoWlbItemAddAPIRequest) GetProValueList() string
GetProValueList ProValueList Getter
func (TaobaoWlbItemAddAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbItemAddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbItemAddAPIRequest) GetRemark ¶
func (r TaobaoWlbItemAddAPIRequest) GetRemark() string
GetRemark Remark Getter
func (TaobaoWlbItemAddAPIRequest) GetSupportBatch ¶
func (r TaobaoWlbItemAddAPIRequest) GetSupportBatch() bool
GetSupportBatch SupportBatch Getter
func (TaobaoWlbItemAddAPIRequest) GetTitle ¶
func (r TaobaoWlbItemAddAPIRequest) GetTitle() string
GetTitle Title Getter
func (TaobaoWlbItemAddAPIRequest) GetType ¶
func (r TaobaoWlbItemAddAPIRequest) GetType() string
GetType Type Getter
func (TaobaoWlbItemAddAPIRequest) GetVolume ¶
func (r TaobaoWlbItemAddAPIRequest) GetVolume() int64
GetVolume Volume Getter
func (TaobaoWlbItemAddAPIRequest) GetWeight ¶
func (r TaobaoWlbItemAddAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (TaobaoWlbItemAddAPIRequest) GetWidth ¶
func (r TaobaoWlbItemAddAPIRequest) GetWidth() int64
GetWidth Width Getter
func (*TaobaoWlbItemAddAPIRequest) SetColor ¶
func (r *TaobaoWlbItemAddAPIRequest) SetColor(_color string) error
SetColor is Color Setter 商品颜色
func (*TaobaoWlbItemAddAPIRequest) SetGoodsCat ¶
func (r *TaobaoWlbItemAddAPIRequest) SetGoodsCat(_goodsCat string) error
SetGoodsCat is GoodsCat Setter 货类
func (*TaobaoWlbItemAddAPIRequest) SetHeight ¶
func (r *TaobaoWlbItemAddAPIRequest) SetHeight(_height int64) error
SetHeight is Height Setter 商品高度,单位毫米
func (*TaobaoWlbItemAddAPIRequest) SetIsDangerous ¶
func (r *TaobaoWlbItemAddAPIRequest) SetIsDangerous(_isDangerous bool) error
SetIsDangerous is IsDangerous Setter 是否危险品
func (*TaobaoWlbItemAddAPIRequest) SetIsFriable ¶
func (r *TaobaoWlbItemAddAPIRequest) SetIsFriable(_isFriable bool) error
SetIsFriable is IsFriable Setter 是否易碎品
func (*TaobaoWlbItemAddAPIRequest) SetIsSku ¶
func (r *TaobaoWlbItemAddAPIRequest) SetIsSku(_isSku string) error
SetIsSku is IsSku Setter 是否sku
func (*TaobaoWlbItemAddAPIRequest) SetItemCode ¶
func (r *TaobaoWlbItemAddAPIRequest) SetItemCode(_itemCode string) error
SetItemCode is ItemCode Setter 商品编码
func (*TaobaoWlbItemAddAPIRequest) SetLength ¶
func (r *TaobaoWlbItemAddAPIRequest) SetLength(_length int64) error
SetLength is Length Setter 商品长度,单位毫米
func (*TaobaoWlbItemAddAPIRequest) SetName ¶
func (r *TaobaoWlbItemAddAPIRequest) SetName(_name string) error
SetName is Name Setter 商品名称
func (*TaobaoWlbItemAddAPIRequest) SetPackageMaterial ¶
func (r *TaobaoWlbItemAddAPIRequest) SetPackageMaterial(_packageMaterial string) error
SetPackageMaterial is PackageMaterial Setter 商品包装材料类型
func (*TaobaoWlbItemAddAPIRequest) SetPrice ¶
func (r *TaobaoWlbItemAddAPIRequest) SetPrice(_price int64) error
SetPrice is Price Setter 商品价格,单位:分
func (*TaobaoWlbItemAddAPIRequest) SetPricingCat ¶
func (r *TaobaoWlbItemAddAPIRequest) SetPricingCat(_pricingCat string) error
SetPricingCat is PricingCat Setter 计价货类
func (*TaobaoWlbItemAddAPIRequest) SetProNameList ¶
func (r *TaobaoWlbItemAddAPIRequest) SetProNameList(_proNameList string) error
SetProNameList is ProNameList Setter 属性名列表,目前支持的属性:<br/>毛重:GWeight <br/>净重:Nweight<br/>皮重: Tweight<br/>自定义属性:<br/>paramkey1<br/>paramkey2<br/>paramkey3<br/>paramkey4
func (*TaobaoWlbItemAddAPIRequest) SetProValueList ¶
func (r *TaobaoWlbItemAddAPIRequest) SetProValueList(_proValueList string) error
SetProValueList is ProValueList Setter 属性值列表:<br/>10,8
func (*TaobaoWlbItemAddAPIRequest) SetRemark ¶
func (r *TaobaoWlbItemAddAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 商品备注
func (*TaobaoWlbItemAddAPIRequest) SetSupportBatch ¶
func (r *TaobaoWlbItemAddAPIRequest) SetSupportBatch(_supportBatch bool) error
SetSupportBatch is SupportBatch Setter 是否支持批次
func (*TaobaoWlbItemAddAPIRequest) SetTitle ¶
func (r *TaobaoWlbItemAddAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 商品标题
func (*TaobaoWlbItemAddAPIRequest) SetType ¶
func (r *TaobaoWlbItemAddAPIRequest) SetType(_type string) error
SetType is Type Setter NORMAL--普通商品<br/>COMBINE--组合商品<br/>DISTRIBUTION--分销
func (*TaobaoWlbItemAddAPIRequest) SetVolume ¶
func (r *TaobaoWlbItemAddAPIRequest) SetVolume(_volume int64) error
SetVolume is Volume Setter 商品体积,单位立方厘米
func (*TaobaoWlbItemAddAPIRequest) SetWeight ¶
func (r *TaobaoWlbItemAddAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 商品重量,单位G
func (*TaobaoWlbItemAddAPIRequest) SetWidth ¶
func (r *TaobaoWlbItemAddAPIRequest) SetWidth(_width int64) error
SetWidth is Width Setter 商品宽度,单位毫米
type TaobaoWlbItemAddAPIResponse ¶
type TaobaoWlbItemAddAPIResponse struct { model.CommonResponse TaobaoWlbItemAddAPIResponseModel }
TaobaoWlbItemAddAPIResponse 添加单个物流宝商品 API返回值 taobao.wlb.item.add
添加物流宝商品,支持物流宝子商品和属性添加
type TaobaoWlbItemAddAPIResponseModel ¶
type TaobaoWlbItemAddAPIResponseModel struct { XMLName xml.Name `xml:"wlb_item_add_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 新增的商品 ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"` }
TaobaoWlbItemAddAPIResponseModel is 添加单个物流宝商品 成功返回结果
type TaobaoWlbItemBatchQueryAPIRequest ¶
type TaobaoWlbItemBatchQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbItemBatchQueryAPIRequest 批次库存查询接口 API请求 taobao.wlb.item.batch.query
根据用户id,item id list和store code来查询商品库存信息和批次信息
func NewTaobaoWlbItemBatchQueryRequest ¶
func NewTaobaoWlbItemBatchQueryRequest() *TaobaoWlbItemBatchQueryAPIRequest
NewTaobaoWlbItemBatchQueryRequest 初始化TaobaoWlbItemBatchQueryAPIRequest对象
func (TaobaoWlbItemBatchQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbItemBatchQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbItemBatchQueryAPIRequest) GetApiParams ¶
func (r TaobaoWlbItemBatchQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbItemBatchQueryAPIRequest) GetItemIds ¶
func (r TaobaoWlbItemBatchQueryAPIRequest) GetItemIds() string
GetItemIds ItemIds Getter
func (TaobaoWlbItemBatchQueryAPIRequest) GetPageNo ¶
func (r TaobaoWlbItemBatchQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbItemBatchQueryAPIRequest) GetPageSize ¶
func (r TaobaoWlbItemBatchQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbItemBatchQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbItemBatchQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbItemBatchQueryAPIRequest) GetStoreCode ¶
func (r TaobaoWlbItemBatchQueryAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (*TaobaoWlbItemBatchQueryAPIRequest) SetItemIds ¶
func (r *TaobaoWlbItemBatchQueryAPIRequest) SetItemIds(_itemIds string) error
SetItemIds is ItemIds Setter 需要查询的商品ID列表,以字符串表示,ID间以;隔开
func (*TaobaoWlbItemBatchQueryAPIRequest) SetPageNo ¶
func (r *TaobaoWlbItemBatchQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页查询参数,指定查询页数,默认为1
func (*TaobaoWlbItemBatchQueryAPIRequest) SetPageSize ¶
func (r *TaobaoWlbItemBatchQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页查询参数,每页查询数量,默认20,最大值50,大于50时按照50条查询
func (*TaobaoWlbItemBatchQueryAPIRequest) SetStoreCode ¶
func (r *TaobaoWlbItemBatchQueryAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 仓库编号
type TaobaoWlbItemBatchQueryAPIResponse ¶
type TaobaoWlbItemBatchQueryAPIResponse struct { model.CommonResponse TaobaoWlbItemBatchQueryAPIResponseModel }
TaobaoWlbItemBatchQueryAPIResponse 批次库存查询接口 API返回值 taobao.wlb.item.batch.query
根据用户id,item id list和store code来查询商品库存信息和批次信息
type TaobaoWlbItemBatchQueryAPIResponseModel ¶
type TaobaoWlbItemBatchQueryAPIResponseModel struct { XMLName xml.Name `xml:"wlb_item_batch_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品库存及批次信息查询结果 ItemInventoryBatchList []WlbItemBatchInventory `json:"item_inventory_batch_list,omitempty" xml:"item_inventory_batch_list>wlb_item_batch_inventory,omitempty"` // 返回结果记录的数量 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbItemBatchQueryAPIResponseModel is 批次库存查询接口 成功返回结果
type TaobaoWlbItemCombinationGetAPIRequest ¶
type TaobaoWlbItemCombinationGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbItemCombinationGetAPIRequest 根据商品id查询商品组合关系 API请求 taobao.wlb.item.combination.get
根据商品id查询商品组合关系
func NewTaobaoWlbItemCombinationGetRequest ¶
func NewTaobaoWlbItemCombinationGetRequest() *TaobaoWlbItemCombinationGetAPIRequest
NewTaobaoWlbItemCombinationGetRequest 初始化TaobaoWlbItemCombinationGetAPIRequest对象
func (TaobaoWlbItemCombinationGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbItemCombinationGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbItemCombinationGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbItemCombinationGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbItemCombinationGetAPIRequest) GetItemId ¶
func (r TaobaoWlbItemCombinationGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoWlbItemCombinationGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbItemCombinationGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoWlbItemCombinationGetAPIRequest) SetItemId ¶
func (r *TaobaoWlbItemCombinationGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 要查询的组合商品id
type TaobaoWlbItemCombinationGetAPIResponse ¶
type TaobaoWlbItemCombinationGetAPIResponse struct { model.CommonResponse TaobaoWlbItemCombinationGetAPIResponseModel }
TaobaoWlbItemCombinationGetAPIResponse 根据商品id查询商品组合关系 API返回值 taobao.wlb.item.combination.get
根据商品id查询商品组合关系
type TaobaoWlbItemCombinationGetAPIResponseModel ¶
type TaobaoWlbItemCombinationGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_item_combination_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 组合子商品id列表 ItemIdList []int64 `json:"item_id_list,omitempty" xml:"item_id_list>int64,omitempty"` }
TaobaoWlbItemCombinationGetAPIResponseModel is 根据商品id查询商品组合关系 成功返回结果
type TaobaoWlbItemGetAPIRequest ¶
TaobaoWlbItemGetAPIRequest 根据商品ID获取商品信息 API请求 taobao.wlb.item.get
根据商品ID获取商品信息,除了获取商品信息外还可获取商品属性信息和库存信息。
func NewTaobaoWlbItemGetRequest ¶
func NewTaobaoWlbItemGetRequest() *TaobaoWlbItemGetAPIRequest
NewTaobaoWlbItemGetRequest 初始化TaobaoWlbItemGetAPIRequest对象
func (TaobaoWlbItemGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbItemGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbItemGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbItemGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbItemGetAPIRequest) GetItemId ¶
func (r TaobaoWlbItemGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoWlbItemGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbItemGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoWlbItemGetAPIRequest) SetItemId ¶
func (r *TaobaoWlbItemGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 商品ID
type TaobaoWlbItemGetAPIResponse ¶
type TaobaoWlbItemGetAPIResponse struct { model.CommonResponse TaobaoWlbItemGetAPIResponseModel }
TaobaoWlbItemGetAPIResponse 根据商品ID获取商品信息 API返回值 taobao.wlb.item.get
根据商品ID获取商品信息,除了获取商品信息外还可获取商品属性信息和库存信息。
type TaobaoWlbItemGetAPIResponseModel ¶
type TaobaoWlbItemGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_item_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品信息 Item *WlbItem `json:"item,omitempty" xml:"item,omitempty"` }
TaobaoWlbItemGetAPIResponseModel is 根据商品ID获取商品信息 成功返回结果
type TaobaoWlbItemMapGetAPIRequest ¶
type TaobaoWlbItemMapGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbItemMapGetAPIRequest 根据物流宝商品ID查询商品映射关系 API请求 taobao.wlb.item.map.get
根据物流宝商品ID查询商品映射关系
func NewTaobaoWlbItemMapGetRequest ¶
func NewTaobaoWlbItemMapGetRequest() *TaobaoWlbItemMapGetAPIRequest
NewTaobaoWlbItemMapGetRequest 初始化TaobaoWlbItemMapGetAPIRequest对象
func (TaobaoWlbItemMapGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbItemMapGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbItemMapGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbItemMapGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbItemMapGetAPIRequest) GetItemId ¶
func (r TaobaoWlbItemMapGetAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoWlbItemMapGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbItemMapGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoWlbItemMapGetAPIRequest) SetItemId ¶
func (r *TaobaoWlbItemMapGetAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 要查询映射关系的物流宝商品id
type TaobaoWlbItemMapGetAPIResponse ¶
type TaobaoWlbItemMapGetAPIResponse struct { model.CommonResponse TaobaoWlbItemMapGetAPIResponseModel }
TaobaoWlbItemMapGetAPIResponse 根据物流宝商品ID查询商品映射关系 API返回值 taobao.wlb.item.map.get
根据物流宝商品ID查询商品映射关系
type TaobaoWlbItemMapGetAPIResponseModel ¶
type TaobaoWlbItemMapGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_item_map_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 外部商品实体 OutEntityItemList []OutEntityItem `json:"out_entity_item_list,omitempty" xml:"out_entity_item_list>out_entity_item,omitempty"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoWlbItemMapGetAPIResponseModel is 根据物流宝商品ID查询商品映射关系 成功返回结果
type TaobaoWlbItemQueryAPIRequest ¶
TaobaoWlbItemQueryAPIRequest 分页查询商品 API请求 taobao.wlb.item.query
根据状态、卖家、SKU等信息查询商品列表
func NewTaobaoWlbItemQueryRequest ¶
func NewTaobaoWlbItemQueryRequest() *TaobaoWlbItemQueryAPIRequest
NewTaobaoWlbItemQueryRequest 初始化TaobaoWlbItemQueryAPIRequest对象
func (TaobaoWlbItemQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbItemQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbItemQueryAPIRequest) GetApiParams ¶
func (r TaobaoWlbItemQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbItemQueryAPIRequest) GetIsSku ¶
func (r TaobaoWlbItemQueryAPIRequest) GetIsSku() string
GetIsSku IsSku Getter
func (TaobaoWlbItemQueryAPIRequest) GetItemCode ¶
func (r TaobaoWlbItemQueryAPIRequest) GetItemCode() string
GetItemCode ItemCode Getter
func (TaobaoWlbItemQueryAPIRequest) GetItemType ¶
func (r TaobaoWlbItemQueryAPIRequest) GetItemType() string
GetItemType ItemType Getter
func (TaobaoWlbItemQueryAPIRequest) GetName ¶
func (r TaobaoWlbItemQueryAPIRequest) GetName() string
GetName Name Getter
func (TaobaoWlbItemQueryAPIRequest) GetPageNo ¶
func (r TaobaoWlbItemQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbItemQueryAPIRequest) GetPageSize ¶
func (r TaobaoWlbItemQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbItemQueryAPIRequest) GetParentId ¶
func (r TaobaoWlbItemQueryAPIRequest) GetParentId() int64
GetParentId ParentId Getter
func (TaobaoWlbItemQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbItemQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbItemQueryAPIRequest) GetStatus ¶
func (r TaobaoWlbItemQueryAPIRequest) GetStatus() string
GetStatus Status Getter
func (TaobaoWlbItemQueryAPIRequest) GetTitle ¶
func (r TaobaoWlbItemQueryAPIRequest) GetTitle() string
GetTitle Title Getter
func (*TaobaoWlbItemQueryAPIRequest) SetIsSku ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetIsSku(_isSku string) error
SetIsSku is IsSku Setter 是否是最小库存单元,只有最小库存单元的商品才可以有库存,值只能给"true","false"来表示; 若值不在范围内,则按true处理
func (*TaobaoWlbItemQueryAPIRequest) SetItemCode ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetItemCode(_itemCode string) error
SetItemCode is ItemCode Setter 商家编码
func (*TaobaoWlbItemQueryAPIRequest) SetItemType ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetItemType(_itemType string) error
SetItemType is ItemType Setter ITEM类型(只允许输入以下英文或空) NORMAL 0:普通商品; COMBINE 1:是否是组合商品 DISTRIBUTION 2:是否是分销商品(货主是别人) 若值不在范围内,则按NORMAL处理
func (*TaobaoWlbItemQueryAPIRequest) SetName ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetName(_name string) error
SetName is Name Setter 商品名称
func (*TaobaoWlbItemQueryAPIRequest) SetPageNo ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 当前页
func (*TaobaoWlbItemQueryAPIRequest) SetPageSize ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页记录个数,如果用户输入的记录数大于50,则一页显示50条记录
func (*TaobaoWlbItemQueryAPIRequest) SetParentId ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetParentId(_parentId int64) error
SetParentId is ParentId Setter 父ID,只有is_sku=1时才能有父ID,商品也可以没有付商品
func (*TaobaoWlbItemQueryAPIRequest) SetStatus ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 只能输入以下值或空: ITEM_STATUS_VALID -- 1 表示 有效; ITEM_STATUS_LOCK -- 2 表示锁住。 若值不在范围内,按ITEM_STATUS_VALID处理
func (*TaobaoWlbItemQueryAPIRequest) SetTitle ¶
func (r *TaobaoWlbItemQueryAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 商品前台销售名字
type TaobaoWlbItemQueryAPIResponse ¶
type TaobaoWlbItemQueryAPIResponse struct { model.CommonResponse TaobaoWlbItemQueryAPIResponseModel }
TaobaoWlbItemQueryAPIResponse 分页查询商品 API返回值 taobao.wlb.item.query
根据状态、卖家、SKU等信息查询商品列表
type TaobaoWlbItemQueryAPIResponseModel ¶
type TaobaoWlbItemQueryAPIResponseModel struct { XMLName xml.Name `xml:"wlb_item_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 商品信息列表 ItemList []WlbItem `json:"item_list,omitempty" xml:"item_list>wlb_item,omitempty"` // 结果总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbItemQueryAPIResponseModel is 分页查询商品 成功返回结果
type TaobaoWlbItemUpdateAPIRequest ¶
type TaobaoWlbItemUpdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbItemUpdateAPIRequest 物流宝商品修改 API请求 taobao.wlb.item.update
修改物流宝商品信息
func NewTaobaoWlbItemUpdateRequest ¶
func NewTaobaoWlbItemUpdateRequest() *TaobaoWlbItemUpdateAPIRequest
NewTaobaoWlbItemUpdateRequest 初始化TaobaoWlbItemUpdateAPIRequest对象
func (TaobaoWlbItemUpdateAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbItemUpdateAPIRequest) GetApiParams ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbItemUpdateAPIRequest) GetColor ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetColor() string
GetColor Color Getter
func (TaobaoWlbItemUpdateAPIRequest) GetDeletePropertyKeyList ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetDeletePropertyKeyList() string
GetDeletePropertyKeyList DeletePropertyKeyList Getter
func (TaobaoWlbItemUpdateAPIRequest) GetGoodsCat ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetGoodsCat() string
GetGoodsCat GoodsCat Getter
func (TaobaoWlbItemUpdateAPIRequest) GetHeight ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetHeight() int64
GetHeight Height Getter
func (TaobaoWlbItemUpdateAPIRequest) GetId ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetId() int64
GetId Id Getter
func (TaobaoWlbItemUpdateAPIRequest) GetIsDangerous ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetIsDangerous() bool
GetIsDangerous IsDangerous Getter
func (TaobaoWlbItemUpdateAPIRequest) GetIsFriable ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetIsFriable() bool
GetIsFriable IsFriable Getter
func (TaobaoWlbItemUpdateAPIRequest) GetLength ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetLength() int64
GetLength Length Getter
func (TaobaoWlbItemUpdateAPIRequest) GetName ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaoWlbItemUpdateAPIRequest) GetPackageMaterial ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetPackageMaterial() string
GetPackageMaterial PackageMaterial Getter
func (TaobaoWlbItemUpdateAPIRequest) GetPricingCat ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetPricingCat() string
GetPricingCat PricingCat Getter
func (TaobaoWlbItemUpdateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbItemUpdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbItemUpdateAPIRequest) GetRemark ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetRemark() string
GetRemark Remark Getter
func (TaobaoWlbItemUpdateAPIRequest) GetTitle ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetTitle() string
GetTitle Title Getter
func (TaobaoWlbItemUpdateAPIRequest) GetUpdatePropertyKeyList ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetUpdatePropertyKeyList() string
GetUpdatePropertyKeyList UpdatePropertyKeyList Getter
func (TaobaoWlbItemUpdateAPIRequest) GetUpdatePropertyValueList ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetUpdatePropertyValueList() string
GetUpdatePropertyValueList UpdatePropertyValueList Getter
func (TaobaoWlbItemUpdateAPIRequest) GetVolume ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetVolume() int64
GetVolume Volume Getter
func (TaobaoWlbItemUpdateAPIRequest) GetWeight ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetWeight() int64
GetWeight Weight Getter
func (TaobaoWlbItemUpdateAPIRequest) GetWidth ¶
func (r TaobaoWlbItemUpdateAPIRequest) GetWidth() int64
GetWidth Width Getter
func (*TaobaoWlbItemUpdateAPIRequest) SetColor ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetColor(_color string) error
SetColor is Color Setter 商品颜色
func (*TaobaoWlbItemUpdateAPIRequest) SetDeletePropertyKeyList ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetDeletePropertyKeyList(_deletePropertyKeyList string) error
SetDeletePropertyKeyList is DeletePropertyKeyList Setter 需要删除的商品属性key列表
func (*TaobaoWlbItemUpdateAPIRequest) SetGoodsCat ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetGoodsCat(_goodsCat string) error
SetGoodsCat is GoodsCat Setter 商品货类
func (*TaobaoWlbItemUpdateAPIRequest) SetHeight ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetHeight(_height int64) error
SetHeight is Height Setter 商品高度,单位厘米
func (*TaobaoWlbItemUpdateAPIRequest) SetId ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetId(_id int64) error
SetId is Id Setter 要修改的商品id
func (*TaobaoWlbItemUpdateAPIRequest) SetIsDangerous ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetIsDangerous(_isDangerous bool) error
SetIsDangerous is IsDangerous Setter 是否危险品
func (*TaobaoWlbItemUpdateAPIRequest) SetIsFriable ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetIsFriable(_isFriable bool) error
SetIsFriable is IsFriable Setter 是否易碎品
func (*TaobaoWlbItemUpdateAPIRequest) SetLength ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetLength(_length int64) error
SetLength is Length Setter 商品长度,单位厘米
func (*TaobaoWlbItemUpdateAPIRequest) SetName ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetName(_name string) error
SetName is Name Setter 要修改的商品名称
func (*TaobaoWlbItemUpdateAPIRequest) SetPackageMaterial ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetPackageMaterial(_packageMaterial string) error
SetPackageMaterial is PackageMaterial Setter 商品包装材料类型
func (*TaobaoWlbItemUpdateAPIRequest) SetPricingCat ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetPricingCat(_pricingCat string) error
SetPricingCat is PricingCat Setter 商品计价货类
func (*TaobaoWlbItemUpdateAPIRequest) SetRemark ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 要修改的商品备注
func (*TaobaoWlbItemUpdateAPIRequest) SetTitle ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 要修改的商品标题
func (*TaobaoWlbItemUpdateAPIRequest) SetUpdatePropertyKeyList ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetUpdatePropertyKeyList(_updatePropertyKeyList string) error
SetUpdatePropertyKeyList is UpdatePropertyKeyList Setter 需要修改的商品属性值的列表,如果属性不存在,则新增属性
func (*TaobaoWlbItemUpdateAPIRequest) SetUpdatePropertyValueList ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetUpdatePropertyValueList(_updatePropertyValueList string) error
SetUpdatePropertyValueList is UpdatePropertyValueList Setter 需要修改的属性值的列表
func (*TaobaoWlbItemUpdateAPIRequest) SetVolume ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetVolume(_volume int64) error
SetVolume is Volume Setter 商品体积,单位立方厘米
func (*TaobaoWlbItemUpdateAPIRequest) SetWeight ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetWeight(_weight int64) error
SetWeight is Weight Setter 商品重量,单位G
func (*TaobaoWlbItemUpdateAPIRequest) SetWidth ¶
func (r *TaobaoWlbItemUpdateAPIRequest) SetWidth(_width int64) error
SetWidth is Width Setter 商品宽度,单位厘米
type TaobaoWlbItemUpdateAPIResponse ¶
type TaobaoWlbItemUpdateAPIResponse struct { model.CommonResponse TaobaoWlbItemUpdateAPIResponseModel }
TaobaoWlbItemUpdateAPIResponse 物流宝商品修改 API返回值 taobao.wlb.item.update
修改物流宝商品信息
type TaobaoWlbItemUpdateAPIResponseModel ¶
type TaobaoWlbItemUpdateAPIResponseModel struct { XMLName xml.Name `xml:"wlb_item_update_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 修改时间 GmtModified bool `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` }
TaobaoWlbItemUpdateAPIResponseModel is 物流宝商品修改 成功返回结果
type TaobaoWlbNotifyMessagePageGetAPIRequest ¶
type TaobaoWlbNotifyMessagePageGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbNotifyMessagePageGetAPIRequest 物流宝通知消息查询接口 API请求 taobao.wlb.notify.message.page.get
物流宝提供的消息通知查询接口,消息内容包括;出入库单不一致消息,取消订单成功消息,盘点单消息
func NewTaobaoWlbNotifyMessagePageGetRequest ¶
func NewTaobaoWlbNotifyMessagePageGetRequest() *TaobaoWlbNotifyMessagePageGetAPIRequest
NewTaobaoWlbNotifyMessagePageGetRequest 初始化TaobaoWlbNotifyMessagePageGetAPIRequest对象
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetEndDate ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetEndDate() string
GetEndDate EndDate Getter
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetMsgCode ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetMsgCode() string
GetMsgCode MsgCode Getter
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetPageNo ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetPageSize ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetStartDate ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetStartDate() string
GetStartDate StartDate Getter
func (TaobaoWlbNotifyMessagePageGetAPIRequest) GetStatus ¶
func (r TaobaoWlbNotifyMessagePageGetAPIRequest) GetStatus() string
GetStatus Status Getter
func (*TaobaoWlbNotifyMessagePageGetAPIRequest) SetEndDate ¶
func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetEndDate(_endDate string) error
SetEndDate is EndDate Setter 记录截至时间
func (*TaobaoWlbNotifyMessagePageGetAPIRequest) SetMsgCode ¶
func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetMsgCode(_msgCode string) error
SetMsgCode is MsgCode Setter 通知消息编码: STOCK_IN_NOT_CONSISTENT---入库单不一致 CANCEL_ORDER_SUCCESS---取消订单成功 INVENTORY_CHECK---盘点 CANCEL_ORDER_FAILURE---取消订单失败 ORDER_REJECT--wms拒单 ORDER_CONFIRMED--订单处理成功
func (*TaobaoWlbNotifyMessagePageGetAPIRequest) SetPageNo ¶
func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页查询页数
func (*TaobaoWlbNotifyMessagePageGetAPIRequest) SetPageSize ¶
func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页查询的每页页数
func (*TaobaoWlbNotifyMessagePageGetAPIRequest) SetStartDate ¶
func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetStartDate(_startDate string) error
SetStartDate is StartDate Setter 记录开始时间
func (*TaobaoWlbNotifyMessagePageGetAPIRequest) SetStatus ¶
func (r *TaobaoWlbNotifyMessagePageGetAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 消息状态: 不需要确认:NO_NEED_CONFIRM 已确认:CONFIRMED 待确认:TO_BE_CONFIRM
type TaobaoWlbNotifyMessagePageGetAPIResponse ¶
type TaobaoWlbNotifyMessagePageGetAPIResponse struct { model.CommonResponse TaobaoWlbNotifyMessagePageGetAPIResponseModel }
TaobaoWlbNotifyMessagePageGetAPIResponse 物流宝通知消息查询接口 API返回值 taobao.wlb.notify.message.page.get
物流宝提供的消息通知查询接口,消息内容包括;出入库单不一致消息,取消订单成功消息,盘点单消息
type TaobaoWlbNotifyMessagePageGetAPIResponseModel ¶
type TaobaoWlbNotifyMessagePageGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_notify_message_page_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 通道消息 WlbMessages []WlbMessage `json:"wlb_messages,omitempty" xml:"wlb_messages>wlb_message,omitempty"` // 2000-01-01 00:00:00 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbNotifyMessagePageGetAPIResponseModel is 物流宝通知消息查询接口 成功返回结果
type TaobaoWlbOrderCancelAPIRequest ¶
type TaobaoWlbOrderCancelAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderCancelAPIRequest 取消物流宝订单 API请求 taobao.wlb.order.cancel
取消物流宝订单
func NewTaobaoWlbOrderCancelRequest ¶
func NewTaobaoWlbOrderCancelRequest() *TaobaoWlbOrderCancelAPIRequest
NewTaobaoWlbOrderCancelRequest 初始化TaobaoWlbOrderCancelAPIRequest对象
func (TaobaoWlbOrderCancelAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderCancelAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderCancelAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderCancelAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderCancelAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderCancelAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderCancelAPIRequest) GetWlbOrderCode ¶
func (r TaobaoWlbOrderCancelAPIRequest) GetWlbOrderCode() string
GetWlbOrderCode WlbOrderCode Getter
func (*TaobaoWlbOrderCancelAPIRequest) SetWlbOrderCode ¶
func (r *TaobaoWlbOrderCancelAPIRequest) SetWlbOrderCode(_wlbOrderCode string) error
SetWlbOrderCode is WlbOrderCode Setter 物流宝订单编号
type TaobaoWlbOrderCancelAPIResponse ¶
type TaobaoWlbOrderCancelAPIResponse struct { model.CommonResponse TaobaoWlbOrderCancelAPIResponseModel }
TaobaoWlbOrderCancelAPIResponse 取消物流宝订单 API返回值 taobao.wlb.order.cancel
取消物流宝订单
type TaobaoWlbOrderCancelAPIResponseModel ¶
type TaobaoWlbOrderCancelAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_cancel_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 修改时间,只有在取消成功的情况下,才可以做 ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` // 错误编码列表 ErrorCodeList string `json:"error_code_list,omitempty" xml:"error_code_list,omitempty"` }
TaobaoWlbOrderCancelAPIResponseModel is 取消物流宝订单 成功返回结果
type TaobaoWlbOrderConsignAPIRequest ¶
type TaobaoWlbOrderConsignAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderConsignAPIRequest 物流宝订单已发货通知接口 API请求 taobao.wlb.order.consign
如果erp导入淘宝交易订单到物流宝,当物流宝订单已发货的时候,erp需要调用该接口来通知物流订单和淘宝交易订单已发货
func NewTaobaoWlbOrderConsignRequest ¶
func NewTaobaoWlbOrderConsignRequest() *TaobaoWlbOrderConsignAPIRequest
NewTaobaoWlbOrderConsignRequest 初始化TaobaoWlbOrderConsignAPIRequest对象
func (TaobaoWlbOrderConsignAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderConsignAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderConsignAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderConsignAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderConsignAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderConsignAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderConsignAPIRequest) GetWlbOrderCode ¶
func (r TaobaoWlbOrderConsignAPIRequest) GetWlbOrderCode() string
GetWlbOrderCode WlbOrderCode Getter
func (*TaobaoWlbOrderConsignAPIRequest) SetWlbOrderCode ¶
func (r *TaobaoWlbOrderConsignAPIRequest) SetWlbOrderCode(_wlbOrderCode string) error
SetWlbOrderCode is WlbOrderCode Setter 物流宝订单编号
type TaobaoWlbOrderConsignAPIResponse ¶
type TaobaoWlbOrderConsignAPIResponse struct { model.CommonResponse TaobaoWlbOrderConsignAPIResponseModel }
TaobaoWlbOrderConsignAPIResponse 物流宝订单已发货通知接口 API返回值 taobao.wlb.order.consign
如果erp导入淘宝交易订单到物流宝,当物流宝订单已发货的时候,erp需要调用该接口来通知物流订单和淘宝交易订单已发货
type TaobaoWlbOrderConsignAPIResponseModel ¶
type TaobaoWlbOrderConsignAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_consign_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 修改时间 ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` }
TaobaoWlbOrderConsignAPIResponseModel is 物流宝订单已发货通知接口 成功返回结果
type TaobaoWlbOrderCreateAPIRequest ¶
type TaobaoWlbOrderCreateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderCreateAPIRequest 创建物流宝订单 API请求 taobao.wlb.order.create
创建物流宝订单,由外部ISV或者ERP,Elink,淘宝交易产生
func NewTaobaoWlbOrderCreateRequest ¶
func NewTaobaoWlbOrderCreateRequest() *TaobaoWlbOrderCreateAPIRequest
NewTaobaoWlbOrderCreateRequest 初始化TaobaoWlbOrderCreateAPIRequest对象
func (TaobaoWlbOrderCreateAPIRequest) GetAlipayNo ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetAlipayNo() string
GetAlipayNo AlipayNo Getter
func (TaobaoWlbOrderCreateAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderCreateAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderCreateAPIRequest) GetAttributes ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetAttributes() string
GetAttributes Attributes Getter
func (TaobaoWlbOrderCreateAPIRequest) GetBuyerNick ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetBuyerNick() string
GetBuyerNick BuyerNick Getter
func (TaobaoWlbOrderCreateAPIRequest) GetExpectEndTime ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetExpectEndTime() string
GetExpectEndTime ExpectEndTime Getter
func (TaobaoWlbOrderCreateAPIRequest) GetExpectStartTime ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetExpectStartTime() string
GetExpectStartTime ExpectStartTime Getter
func (TaobaoWlbOrderCreateAPIRequest) GetInvoinceInfo ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetInvoinceInfo() string
GetInvoinceInfo InvoinceInfo Getter
func (TaobaoWlbOrderCreateAPIRequest) GetIsFinished ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetIsFinished() bool
GetIsFinished IsFinished Getter
func (TaobaoWlbOrderCreateAPIRequest) GetOrderCode ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (TaobaoWlbOrderCreateAPIRequest) GetOrderFlag ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetOrderFlag() string
GetOrderFlag OrderFlag Getter
func (TaobaoWlbOrderCreateAPIRequest) GetOrderItemList ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetOrderItemList() string
GetOrderItemList OrderItemList Getter
func (TaobaoWlbOrderCreateAPIRequest) GetOrderSubType ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetOrderSubType() string
GetOrderSubType OrderSubType Getter
func (TaobaoWlbOrderCreateAPIRequest) GetOrderType ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetOrderType() string
GetOrderType OrderType Getter
func (TaobaoWlbOrderCreateAPIRequest) GetOutBizCode ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetOutBizCode() string
GetOutBizCode OutBizCode Getter
func (TaobaoWlbOrderCreateAPIRequest) GetPackageCount ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetPackageCount() int64
GetPackageCount PackageCount Getter
func (TaobaoWlbOrderCreateAPIRequest) GetPayableAmount ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetPayableAmount() int64
GetPayableAmount PayableAmount Getter
func (TaobaoWlbOrderCreateAPIRequest) GetPrevOrderCode ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetPrevOrderCode() string
GetPrevOrderCode PrevOrderCode Getter
func (TaobaoWlbOrderCreateAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderCreateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderCreateAPIRequest) GetReceiverInfo ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetReceiverInfo() string
GetReceiverInfo ReceiverInfo Getter
func (TaobaoWlbOrderCreateAPIRequest) GetRemark ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetRemark() string
GetRemark Remark Getter
func (TaobaoWlbOrderCreateAPIRequest) GetScheduleEnd ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetScheduleEnd() string
GetScheduleEnd ScheduleEnd Getter
func (TaobaoWlbOrderCreateAPIRequest) GetScheduleStart ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetScheduleStart() string
GetScheduleStart ScheduleStart Getter
func (TaobaoWlbOrderCreateAPIRequest) GetScheduleType ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetScheduleType() string
GetScheduleType ScheduleType Getter
func (TaobaoWlbOrderCreateAPIRequest) GetSenderInfo ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetSenderInfo() string
GetSenderInfo SenderInfo Getter
func (TaobaoWlbOrderCreateAPIRequest) GetServiceFee ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetServiceFee() int64
GetServiceFee ServiceFee Getter
func (TaobaoWlbOrderCreateAPIRequest) GetStoreCode ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (TaobaoWlbOrderCreateAPIRequest) GetTmsInfo ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetTmsInfo() string
GetTmsInfo TmsInfo Getter
func (TaobaoWlbOrderCreateAPIRequest) GetTmsOrderCode ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetTmsOrderCode() string
GetTmsOrderCode TmsOrderCode Getter
func (TaobaoWlbOrderCreateAPIRequest) GetTmsServiceCode ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetTmsServiceCode() string
GetTmsServiceCode TmsServiceCode Getter
func (TaobaoWlbOrderCreateAPIRequest) GetTotalAmount ¶
func (r TaobaoWlbOrderCreateAPIRequest) GetTotalAmount() int64
GetTotalAmount TotalAmount Getter
func (*TaobaoWlbOrderCreateAPIRequest) SetAlipayNo ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetAlipayNo(_alipayNo string) error
SetAlipayNo is AlipayNo Setter 支付宝交易号
func (*TaobaoWlbOrderCreateAPIRequest) SetAttributes ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetAttributes(_attributes string) error
SetAttributes is Attributes Setter 该字段暂时保留
func (*TaobaoWlbOrderCreateAPIRequest) SetBuyerNick ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetBuyerNick(_buyerNick string) error
SetBuyerNick is BuyerNick Setter 买家呢称
func (*TaobaoWlbOrderCreateAPIRequest) SetExpectEndTime ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetExpectEndTime(_expectEndTime string) error
SetExpectEndTime is ExpectEndTime Setter 期望结束时间,在入库单会使用到
func (*TaobaoWlbOrderCreateAPIRequest) SetExpectStartTime ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetExpectStartTime(_expectStartTime string) error
SetExpectStartTime is ExpectStartTime Setter 计划开始送达时间 在入库单中可能会使用
func (*TaobaoWlbOrderCreateAPIRequest) SetInvoinceInfo ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetInvoinceInfo(_invoinceInfo string) error
SetInvoinceInfo is InvoinceInfo Setter {"invoince_info": [{"bill_type":"发票类型,必选", "bill_title":"发票抬头,必选", "bill_amount":"发票金额(单位是分),必选","bill_content":"发票内容,可选"}]}
func (*TaobaoWlbOrderCreateAPIRequest) SetIsFinished ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetIsFinished(_isFinished bool) error
SetIsFinished is IsFinished Setter 该物流宝订单是否已完成,如果完成则设置为true,如果为false,则需要等待继续创建订单商品信息。
func (*TaobaoWlbOrderCreateAPIRequest) SetOrderCode ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 物流宝订单编号,该接口约定每次最多只能传50条order_item_list,如果一个物流宝订单超过50条商品的时候,需要批量来调用该接口,第一次调用的时候,wlb_order_code为空,如果第一次创建成功,该接口返回wlb_order_code,其后继续再该订单上添加商品条目,需要带上wlb_order_code,out_biz_code,order_item_list,is_finished四个字段。
func (*TaobaoWlbOrderCreateAPIRequest) SetOrderFlag ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderFlag(_orderFlag string) error
SetOrderFlag is OrderFlag Setter 用字符串格式来表示订单标记列表:比如COD^PRESELL^SPLIT^LIMIT 等,中间用“^”来隔开 ---------------------------------------- 订单标记list(所有字母全部大写): 1: COD –货到付款 2: LIMIT-限时配送 3: PRESELL-预售 5:COMPLAIN-已投诉 7:SPLIT-拆单, 8:EXCHANGE-换货, 9:VISIT-上门 , 10: MODIFYTRANSPORT-是否可改配送方式,<br/>: 是否可改配送方式 默认可更改<br/>11 CONSIGN 物流宝代理发货,自动更改发货状态<br/>12: SELLER_AFFORD 是否卖家承担运费 默认是,即没 13: SYNC_RETURN_BILL,同时退回发票
func (*TaobaoWlbOrderCreateAPIRequest) SetOrderItemList ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderItemList(_orderItemList string) error
SetOrderItemList is OrderItemList Setter 订单商品列表: {"order_item_list":[{"trade_code":"可选,淘宝交易订单,并且不是赠品,必须要传订单来源编号"," sub_trade_code ":"可选,淘宝子交易号","item_id":"必须,商品Id","item_code":"必须,商家编码","item_name":"可选,物流宝商品名称","item_quantity":"必选,计划数量","item_price":"必选,物品价格,单位为分","owner_user_nick":"可选,货主nick 代销模式下会存在","flag":"判断是否为赠品0 不是1是","remarks":"可选,备注","batch_remark":"可选,批次描述信息会把这个信息带给WMS,但不会跟物流宝库存相关联","inventory_type":"库存类型1 可销售库存 101 类型用来定义残次品 201 冻结类型库存 301 在途库存","picture_url":"图片Url","distributor_user_nick": "分销商NICK",必选"ext_order_item_code":"可选,外部商品的商家编码"]} ======================================== 如果订单中的商品条目数大于50条的时候,我们会校验,不能创建成功,需要你按照50个一批的数量传,需要分批调用该接口,第二次传的时候,需要带上wlb_order_code和is_finished和order_item_list三个字段是必传的,is_finished为true表示传输完毕,为false表示还没完全传完。
func (*TaobaoWlbOrderCreateAPIRequest) SetOrderSubType ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderSubType(_orderSubType string) error
SetOrderSubType is OrderSubType Setter 订单子类型: (1)OTHER: 其他 (2)TAOBAO_TRADE: 淘宝交易 (3)OTHER_TRADE:其他交易 (4)ALLCOATE: 调拨 (5)PURCHASE:采购
func (*TaobaoWlbOrderCreateAPIRequest) SetOrderType ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetOrderType(_orderType string) error
SetOrderType is OrderType Setter 订单类型: (1)NORMAL_OUT :正常出库 (2)NORMAL_IN:正常入库 (3)RETURN_IN:退货入库 (4)EXCHANGE_OUT:换货出库
func (*TaobaoWlbOrderCreateAPIRequest) SetOutBizCode ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetOutBizCode(_outBizCode string) error
SetOutBizCode is OutBizCode Setter 外部订单业务ID,该编号在isv中是唯一编号, 用来控制并发,去重用
func (*TaobaoWlbOrderCreateAPIRequest) SetPackageCount ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetPackageCount(_packageCount int64) error
SetPackageCount is PackageCount Setter 包裹件数,入库单和出库单中会用到
func (*TaobaoWlbOrderCreateAPIRequest) SetPayableAmount ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetPayableAmount(_payableAmount int64) error
SetPayableAmount is PayableAmount Setter 应收金额,cod订单必选
func (*TaobaoWlbOrderCreateAPIRequest) SetPrevOrderCode ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetPrevOrderCode(_prevOrderCode string) error
SetPrevOrderCode is PrevOrderCode Setter 源订单编号
func (*TaobaoWlbOrderCreateAPIRequest) SetReceiverInfo ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetReceiverInfo(_receiverInfo string) error
SetReceiverInfo is ReceiverInfo Setter 收货方信息,必须传, 手机和电话必选其一。收货方信息:邮编^^^省^^^市^^^区^^^具体地址^^^收件方名称^^^手机^^^电话如果某一个字段的数据为空时,必须传NA
func (*TaobaoWlbOrderCreateAPIRequest) SetRemark ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetRemark(_remark string) error
SetRemark is Remark Setter 备注
func (*TaobaoWlbOrderCreateAPIRequest) SetScheduleEnd ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetScheduleEnd(_scheduleEnd string) error
SetScheduleEnd is ScheduleEnd Setter 投递时间范围要求,格式'15:20'用分号隔开
func (*TaobaoWlbOrderCreateAPIRequest) SetScheduleStart ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetScheduleStart(_scheduleStart string) error
SetScheduleStart is ScheduleStart Setter 投递时间范围要求,格式'13:20'用分号隔开
func (*TaobaoWlbOrderCreateAPIRequest) SetScheduleType ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetScheduleType(_scheduleType string) error
SetScheduleType is ScheduleType Setter 投递时延要求: (1)INSTANT_ARRIVED: 当日达 (2)TOMMORROY_MORNING_ARRIVED:次晨达 (3)TOMMORROY_ARRIVED:次日达 (4)工作日:WORK_DAY (5)节假日:WEEKED_DAY
func (*TaobaoWlbOrderCreateAPIRequest) SetSenderInfo ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetSenderInfo(_senderInfo string) error
SetSenderInfo is SenderInfo Setter 发货方信息,发货方信息必须传, 手机和电话必选其一。 发货方信息:邮编^^^省^^^市^^^区^^^具体地址^^^收件方名称^^^手机^^^电话如果某一个字段的数据为空时,必须传NA
func (*TaobaoWlbOrderCreateAPIRequest) SetServiceFee ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetServiceFee(_serviceFee int64) error
SetServiceFee is ServiceFee Setter cod服务费,只有cod订单的时候,才需要这个字段
func (*TaobaoWlbOrderCreateAPIRequest) SetStoreCode ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 仓库编码
func (*TaobaoWlbOrderCreateAPIRequest) SetTmsInfo ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetTmsInfo(_tmsInfo string) error
SetTmsInfo is TmsInfo Setter 出库单中可能会用到<br/>运输公司名称^^^运输公司联系人^^^运输公司运单号^^^运输公司电话^^^运输公司联系人身份证号<br/><br/>========================================<br/>如果某一个字段的数据为空时,必须传NA
func (*TaobaoWlbOrderCreateAPIRequest) SetTmsOrderCode ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetTmsOrderCode(_tmsOrderCode string) error
SetTmsOrderCode is TmsOrderCode Setter 运单编号,退货单时可能会使用
func (*TaobaoWlbOrderCreateAPIRequest) SetTmsServiceCode ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetTmsServiceCode(_tmsServiceCode string) error
SetTmsServiceCode is TmsServiceCode Setter 物流公司编码
func (*TaobaoWlbOrderCreateAPIRequest) SetTotalAmount ¶
func (r *TaobaoWlbOrderCreateAPIRequest) SetTotalAmount(_totalAmount int64) error
SetTotalAmount is TotalAmount Setter 总金额
type TaobaoWlbOrderCreateAPIResponse ¶
type TaobaoWlbOrderCreateAPIResponse struct { model.CommonResponse TaobaoWlbOrderCreateAPIResponseModel }
TaobaoWlbOrderCreateAPIResponse 创建物流宝订单 API返回值 taobao.wlb.order.create
创建物流宝订单,由外部ISV或者ERP,Elink,淘宝交易产生
type TaobaoWlbOrderCreateAPIResponseModel ¶
type TaobaoWlbOrderCreateAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_create_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 物流宝订单创建成功后,返回物流宝的订单编号;如果订单创建失败,该字段为空。 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 订单创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` }
TaobaoWlbOrderCreateAPIResponseModel is 创建物流宝订单 成功返回结果
type TaobaoWlbOrderJzpartnerQueryAPIRequest ¶
type TaobaoWlbOrderJzpartnerQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderJzpartnerQueryAPIRequest 查询家装服务商列表 API请求 taobao.wlb.order.jzpartner.query
为支持家装类目的商家,对绑定家装物流服务的订单可以在商家的ERP中发货、批量发货,因此开发根据服务类型查询所有的服务商列表的接口
func NewTaobaoWlbOrderJzpartnerQueryRequest ¶
func NewTaobaoWlbOrderJzpartnerQueryRequest() *TaobaoWlbOrderJzpartnerQueryAPIRequest
NewTaobaoWlbOrderJzpartnerQueryRequest 初始化TaobaoWlbOrderJzpartnerQueryAPIRequest对象
func (TaobaoWlbOrderJzpartnerQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderJzpartnerQueryAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderJzpartnerQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderJzpartnerQueryAPIRequest) GetServiceType ¶
func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetServiceType() int64
GetServiceType ServiceType Getter
func (TaobaoWlbOrderJzpartnerQueryAPIRequest) GetTaobaoTradeId ¶
func (r TaobaoWlbOrderJzpartnerQueryAPIRequest) GetTaobaoTradeId() int64
GetTaobaoTradeId TaobaoTradeId Getter
func (*TaobaoWlbOrderJzpartnerQueryAPIRequest) SetServiceType ¶
func (r *TaobaoWlbOrderJzpartnerQueryAPIRequest) SetServiceType(_serviceType int64) error
SetServiceType is ServiceType Setter serviceType表示查询所有的支持服务类型的服务商。 家装干线服务 11 家装干支服务 12 家装干支装服务 13 卫浴大件干线 14 卫浴大件干支 15 卫浴大件安装 16 地板干线 17 地板干支 18 地板安装 19 灯具安装 20 卫浴小件安装 21 (注:同一个服务商针对不同类型的serviceType是具有不同的tpCode的)
func (*TaobaoWlbOrderJzpartnerQueryAPIRequest) SetTaobaoTradeId ¶
func (r *TaobaoWlbOrderJzpartnerQueryAPIRequest) SetTaobaoTradeId(_taobaoTradeId int64) error
SetTaobaoTradeId is TaobaoTradeId Setter 淘宝交易订单号,如果不填写Tid则必须填写serviceType。如果填写Tid,则表明只需要查询对应订单的服务商。
type TaobaoWlbOrderJzpartnerQueryAPIResponse ¶
type TaobaoWlbOrderJzpartnerQueryAPIResponse struct { model.CommonResponse TaobaoWlbOrderJzpartnerQueryAPIResponseModel }
TaobaoWlbOrderJzpartnerQueryAPIResponse 查询家装服务商列表 API返回值 taobao.wlb.order.jzpartner.query
为支持家装类目的商家,对绑定家装物流服务的订单可以在商家的ERP中发货、批量发货,因此开发根据服务类型查询所有的服务商列表的接口
type TaobaoWlbOrderJzpartnerQueryAPIResponseModel ¶
type TaobaoWlbOrderJzpartnerQueryAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_jzpartner_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 安装服务商列表 InstallList []Partner `json:"install_list,omitempty" xml:"install_list>partner,omitempty"` // 物流配送服务商对象列表 ServerList []Partner `json:"server_list,omitempty" xml:"server_list>partner,omitempty"` // 查询返回信息,如果失败,存储错误信息 ResultInfo string `json:"result_info,omitempty" xml:"result_info,omitempty"` // 接口查询成功或者失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoWlbOrderJzpartnerQueryAPIResponseModel is 查询家装服务商列表 成功返回结果
type TaobaoWlbOrderJzwithinsConsignAPIRequest ¶
type TaobaoWlbOrderJzwithinsConsignAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderJzwithinsConsignAPIRequest 家装发货接口 API请求 taobao.wlb.order.jzwithins.consign
为支持家装类目的商家,对绑定家装物流服务的订单可以在商家的ERP中发货、批量发货,因此开发带安装服务商的发货接口
func NewTaobaoWlbOrderJzwithinsConsignRequest ¶
func NewTaobaoWlbOrderJzwithinsConsignRequest() *TaobaoWlbOrderJzwithinsConsignAPIRequest
NewTaobaoWlbOrderJzwithinsConsignRequest 初始化TaobaoWlbOrderJzwithinsConsignAPIRequest对象
func (TaobaoWlbOrderJzwithinsConsignAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderJzwithinsConsignAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderJzwithinsConsignAPIRequest) GetInsPartner ¶
func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetInsPartner() *JzPartnerNew
GetInsPartner InsPartner Getter
func (TaobaoWlbOrderJzwithinsConsignAPIRequest) GetJzConsignArgs ¶
func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetJzConsignArgs() *JzConsignArgsNew
GetJzConsignArgs JzConsignArgs Getter
func (TaobaoWlbOrderJzwithinsConsignAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderJzwithinsConsignAPIRequest) GetTid ¶
func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetTid() int64
GetTid Tid Getter
func (TaobaoWlbOrderJzwithinsConsignAPIRequest) GetTmsPartner ¶
func (r TaobaoWlbOrderJzwithinsConsignAPIRequest) GetTmsPartner() *JzPartnerNew
GetTmsPartner TmsPartner Getter
func (*TaobaoWlbOrderJzwithinsConsignAPIRequest) SetInsPartner ¶
func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetInsPartner(_insPartner *JzPartnerNew) error
SetInsPartner is InsPartner Setter 物流服务商信息
func (*TaobaoWlbOrderJzwithinsConsignAPIRequest) SetJzConsignArgs ¶
func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetJzConsignArgs(_jzConsignArgs *JzConsignArgsNew) error
SetJzConsignArgs is JzConsignArgs Setter 家装物流发货参数
func (*TaobaoWlbOrderJzwithinsConsignAPIRequest) SetTid ¶
func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetTid(_tid int64) error
SetTid is Tid Setter 淘宝交易订单号
func (*TaobaoWlbOrderJzwithinsConsignAPIRequest) SetTmsPartner ¶
func (r *TaobaoWlbOrderJzwithinsConsignAPIRequest) SetTmsPartner(_tmsPartner *JzPartnerNew) error
SetTmsPartner is TmsPartner Setter 物流服务商信息
type TaobaoWlbOrderJzwithinsConsignAPIResponse ¶
type TaobaoWlbOrderJzwithinsConsignAPIResponse struct { model.CommonResponse TaobaoWlbOrderJzwithinsConsignAPIResponseModel }
TaobaoWlbOrderJzwithinsConsignAPIResponse 家装发货接口 API返回值 taobao.wlb.order.jzwithins.consign
为支持家装类目的商家,对绑定家装物流服务的订单可以在商家的ERP中发货、批量发货,因此开发带安装服务商的发货接口
type TaobaoWlbOrderJzwithinsConsignAPIResponseModel ¶
type TaobaoWlbOrderJzwithinsConsignAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_jzwithins_consign_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 发货返回信息,如果发货错误则报出对应错误 ResultInfo string `json:"result_info,omitempty" xml:"result_info,omitempty"` // 发货成功或者失败 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoWlbOrderJzwithinsConsignAPIResponseModel is 家装发货接口 成功返回结果
type TaobaoWlbOrderPageGetAPIRequest ¶
type TaobaoWlbOrderPageGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderPageGetAPIRequest 分页查询物流宝订单 API请求 taobao.wlb.order.page.get
分页查询物流宝订单
func NewTaobaoWlbOrderPageGetRequest ¶
func NewTaobaoWlbOrderPageGetRequest() *TaobaoWlbOrderPageGetAPIRequest
NewTaobaoWlbOrderPageGetRequest 初始化TaobaoWlbOrderPageGetAPIRequest对象
func (TaobaoWlbOrderPageGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderPageGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderPageGetAPIRequest) GetEndTime ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoWlbOrderPageGetAPIRequest) GetOrderCode ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (TaobaoWlbOrderPageGetAPIRequest) GetOrderStatus ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderStatus() int64
GetOrderStatus OrderStatus Getter
func (TaobaoWlbOrderPageGetAPIRequest) GetOrderSubType ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderSubType() string
GetOrderSubType OrderSubType Getter
func (TaobaoWlbOrderPageGetAPIRequest) GetOrderType ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetOrderType() string
GetOrderType OrderType Getter
func (TaobaoWlbOrderPageGetAPIRequest) GetPageNo ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbOrderPageGetAPIRequest) GetPageSize ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbOrderPageGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderPageGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderPageGetAPIRequest) GetStartTime ¶
func (r TaobaoWlbOrderPageGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (*TaobaoWlbOrderPageGetAPIRequest) SetEndTime ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 查询截止时间
func (*TaobaoWlbOrderPageGetAPIRequest) SetOrderCode ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 物流订单编号
func (*TaobaoWlbOrderPageGetAPIRequest) SetOrderStatus ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderStatus(_orderStatus int64) error
SetOrderStatus is OrderStatus Setter TMS拒签:-100 接收方拒签:-200
func (*TaobaoWlbOrderPageGetAPIRequest) SetOrderSubType ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderSubType(_orderSubType string) error
SetOrderSubType is OrderSubType Setter 订单子类型: (1)OTHER: 其他 (2)TAOBAO_TRADE: 淘宝交易 (3)OTHER_TRADE:其他交易 (4)ALLCOATE: 调拨 (5)CHECK: 盘点单 (6)PURCHASE: 采购单
func (*TaobaoWlbOrderPageGetAPIRequest) SetOrderType ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetOrderType(_orderType string) error
SetOrderType is OrderType Setter 订单类型: (1)NORMAL_OUT :正常出库 (2)NORMAL_IN:正常入库 (3)RETURN_IN:退货入库 (4)EXCHANGE_OUT:换货出库
func (*TaobaoWlbOrderPageGetAPIRequest) SetPageNo ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页的第几页
func (*TaobaoWlbOrderPageGetAPIRequest) SetPageSize ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 每页多少条
func (*TaobaoWlbOrderPageGetAPIRequest) SetStartTime ¶
func (r *TaobaoWlbOrderPageGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 查询开始时间
type TaobaoWlbOrderPageGetAPIResponse ¶
type TaobaoWlbOrderPageGetAPIResponse struct { model.CommonResponse TaobaoWlbOrderPageGetAPIResponseModel }
TaobaoWlbOrderPageGetAPIResponse 分页查询物流宝订单 API返回值 taobao.wlb.order.page.get
分页查询物流宝订单
type TaobaoWlbOrderPageGetAPIResponseModel ¶
type TaobaoWlbOrderPageGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_order_page_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 物流宝订单对象 OrderList []WlbOrder `json:"order_list,omitempty" xml:"order_list>wlb_order,omitempty"` // 总条数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbOrderPageGetAPIResponseModel is 分页查询物流宝订单 成功返回结果
type TaobaoWlbOrderdetailDateGetAPIRequest ¶
type TaobaoWlbOrderdetailDateGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderdetailDateGetAPIRequest 按照日期范围查询物流订单详情 API请求 taobao.wlb.orderdetail.date.get
外部ERP可通过该接口查询一段时间内的物流宝订单,以及订单详情
func NewTaobaoWlbOrderdetailDateGetRequest ¶
func NewTaobaoWlbOrderdetailDateGetRequest() *TaobaoWlbOrderdetailDateGetAPIRequest
NewTaobaoWlbOrderdetailDateGetRequest 初始化TaobaoWlbOrderdetailDateGetAPIRequest对象
func (TaobaoWlbOrderdetailDateGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderdetailDateGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderdetailDateGetAPIRequest) GetEndTime ¶
func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetEndTime() string
GetEndTime EndTime Getter
func (TaobaoWlbOrderdetailDateGetAPIRequest) GetPageNo ¶
func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbOrderdetailDateGetAPIRequest) GetPageSize ¶
func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbOrderdetailDateGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOrderdetailDateGetAPIRequest) GetStartTime ¶
func (r TaobaoWlbOrderdetailDateGetAPIRequest) GetStartTime() string
GetStartTime StartTime Getter
func (*TaobaoWlbOrderdetailDateGetAPIRequest) SetEndTime ¶
func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetEndTime(_endTime string) error
SetEndTime is EndTime Setter 创建时间结束
func (*TaobaoWlbOrderdetailDateGetAPIRequest) SetPageNo ¶
func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页下标
func (*TaobaoWlbOrderdetailDateGetAPIRequest) SetPageSize ¶
func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页大小
func (*TaobaoWlbOrderdetailDateGetAPIRequest) SetStartTime ¶
func (r *TaobaoWlbOrderdetailDateGetAPIRequest) SetStartTime(_startTime string) error
SetStartTime is StartTime Setter 创建时间起始
type TaobaoWlbOrderdetailDateGetAPIResponse ¶
type TaobaoWlbOrderdetailDateGetAPIResponse struct { model.CommonResponse TaobaoWlbOrderdetailDateGetAPIResponseModel }
TaobaoWlbOrderdetailDateGetAPIResponse 按照日期范围查询物流订单详情 API返回值 taobao.wlb.orderdetail.date.get
外部ERP可通过该接口查询一段时间内的物流宝订单,以及订单详情
type TaobaoWlbOrderdetailDateGetAPIResponseModel ¶
type TaobaoWlbOrderdetailDateGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_orderdetail_date_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 物流宝订单,并且包含订单详情 OrderDetailList []WlbOrderDetail `json:"order_detail_list,omitempty" xml:"order_detail_list>wlb_order_detail,omitempty"` // 总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbOrderdetailDateGetAPIResponseModel is 按照日期范围查询物流订单详情 成功返回结果
type TaobaoWlbOrderitemPageGetAPIRequest ¶ added in v1.2.5
type TaobaoWlbOrderitemPageGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderitemPageGetAPIRequest 分页查询物流宝订单商品详情 API请求 taobao.wlb.orderitem.page.get
分页查询物流宝订单商品详情
func NewTaobaoWlbOrderitemPageGetRequest ¶ added in v1.2.5
func NewTaobaoWlbOrderitemPageGetRequest() *TaobaoWlbOrderitemPageGetAPIRequest
NewTaobaoWlbOrderitemPageGetRequest 初始化TaobaoWlbOrderitemPageGetAPIRequest对象
func (TaobaoWlbOrderitemPageGetAPIRequest) GetApiMethodName ¶ added in v1.2.5
func (r TaobaoWlbOrderitemPageGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderitemPageGetAPIRequest) GetApiParams ¶ added in v1.2.5
func (r TaobaoWlbOrderitemPageGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderitemPageGetAPIRequest) GetOrderCode ¶ added in v1.2.5
func (r TaobaoWlbOrderitemPageGetAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (TaobaoWlbOrderitemPageGetAPIRequest) GetPageNo ¶ added in v1.2.5
func (r TaobaoWlbOrderitemPageGetAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbOrderitemPageGetAPIRequest) GetPageSize ¶ added in v1.2.5
func (r TaobaoWlbOrderitemPageGetAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbOrderitemPageGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderitemPageGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoWlbOrderitemPageGetAPIRequest) SetOrderCode ¶ added in v1.2.5
func (r *TaobaoWlbOrderitemPageGetAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 物流宝订单编码
func (*TaobaoWlbOrderitemPageGetAPIRequest) SetPageNo ¶ added in v1.2.5
func (r *TaobaoWlbOrderitemPageGetAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 分页查询参数,指定查询页数,默认为1
func (*TaobaoWlbOrderitemPageGetAPIRequest) SetPageSize ¶ added in v1.2.5
func (r *TaobaoWlbOrderitemPageGetAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页查询参数,每页查询数量,默认20,最大值50,大于50时按照50条查询
type TaobaoWlbOrderitemPageGetAPIResponse ¶ added in v1.2.5
type TaobaoWlbOrderitemPageGetAPIResponse struct { model.CommonResponse TaobaoWlbOrderitemPageGetAPIResponseModel }
TaobaoWlbOrderitemPageGetAPIResponse 分页查询物流宝订单商品详情 API返回值 taobao.wlb.orderitem.page.get
分页查询物流宝订单商品详情
type TaobaoWlbOrderitemPageGetAPIResponseModel ¶ added in v1.2.5
type TaobaoWlbOrderitemPageGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_orderitem_page_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 系统自动生成 OrderItemList []WlbOrderItem `json:"order_item_list,omitempty" xml:"order_item_list>wlb_order_item,omitempty"` // 总数量 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbOrderitemPageGetAPIResponseModel is 分页查询物流宝订单商品详情 成功返回结果
type TaobaoWlbOrderstatusGetAPIRequest ¶
type TaobaoWlbOrderstatusGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOrderstatusGetAPIRequest 物流宝订单流转状态查询 API请求 taobao.wlb.orderstatus.get
根据物流宝订单号查询物流宝订单至目前为止的流转状态列表
func NewTaobaoWlbOrderstatusGetRequest ¶
func NewTaobaoWlbOrderstatusGetRequest() *TaobaoWlbOrderstatusGetAPIRequest
NewTaobaoWlbOrderstatusGetRequest 初始化TaobaoWlbOrderstatusGetAPIRequest对象
func (TaobaoWlbOrderstatusGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOrderstatusGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOrderstatusGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbOrderstatusGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOrderstatusGetAPIRequest) GetOrderCode ¶
func (r TaobaoWlbOrderstatusGetAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (TaobaoWlbOrderstatusGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOrderstatusGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoWlbOrderstatusGetAPIRequest) SetOrderCode ¶
func (r *TaobaoWlbOrderstatusGetAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 物流宝订单编码
type TaobaoWlbOrderstatusGetAPIResponse ¶
type TaobaoWlbOrderstatusGetAPIResponse struct { model.CommonResponse TaobaoWlbOrderstatusGetAPIResponseModel }
TaobaoWlbOrderstatusGetAPIResponse 物流宝订单流转状态查询 API返回值 taobao.wlb.orderstatus.get
根据物流宝订单号查询物流宝订单至目前为止的流转状态列表
type TaobaoWlbOrderstatusGetAPIResponseModel ¶
type TaobaoWlbOrderstatusGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_orderstatus_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 订单流转信息状态列表 WlbOrderStatus []WlbProcessStatus `json:"wlb_order_status,omitempty" xml:"wlb_order_status>wlb_process_status,omitempty"` }
TaobaoWlbOrderstatusGetAPIResponseModel is 物流宝订单流转状态查询 成功返回结果
type TaobaoWlbOutInventoryChangeNotifyAPIRequest ¶
type TaobaoWlbOutInventoryChangeNotifyAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbOutInventoryChangeNotifyAPIRequest 外部库存变化通知(企业物流用户使用) API请求 taobao.wlb.out.inventory.change.notify
拥有自有仓的企业物流用户通过该接口把自有仓的库存通知到物流宝,由物流宝维护该库存,控制前台显示库存的准确性。
func NewTaobaoWlbOutInventoryChangeNotifyRequest ¶
func NewTaobaoWlbOutInventoryChangeNotifyRequest() *TaobaoWlbOutInventoryChangeNotifyAPIRequest
NewTaobaoWlbOutInventoryChangeNotifyRequest 初始化TaobaoWlbOutInventoryChangeNotifyAPIRequest对象
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetApiParams ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetChangeCount ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetChangeCount() int64
GetChangeCount ChangeCount Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetItemId ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetItemId() int64
GetItemId ItemId Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOpType ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOpType() string
GetOpType OpType Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOrderSourceCode ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOrderSourceCode() string
GetOrderSourceCode OrderSourceCode Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOutBizCode ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetOutBizCode() string
GetOutBizCode OutBizCode Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetResultCount ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetResultCount() int64
GetResultCount ResultCount Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetSource ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetSource() string
GetSource Source Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetStoreCode ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetStoreCode() string
GetStoreCode StoreCode Getter
func (TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetType ¶
func (r TaobaoWlbOutInventoryChangeNotifyAPIRequest) GetType() string
GetType Type Getter
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetChangeCount ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetChangeCount(_changeCount int64) error
SetChangeCount is ChangeCount Setter 库存变化数量
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetItemId ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetItemId(_itemId int64) error
SetItemId is ItemId Setter 物流宝商品id或前台宝贝id(由type类型决定)
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOpType ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOpType(_opType string) error
SetOpType is OpType Setter OUT--出库 IN--入库
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOrderSourceCode ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOrderSourceCode(_orderSourceCode string) error
SetOrderSourceCode is OrderSourceCode Setter 订单号,如果source为TAOBAO_TRADE,order_source_code必须为淘宝交易号
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOutBizCode ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetOutBizCode(_outBizCode string) error
SetOutBizCode is OutBizCode Setter 库存变化唯一标识,用于去重,一个外部唯一编码唯一标识一次库存变化。
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetResultCount ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetResultCount(_resultCount int64) error
SetResultCount is ResultCount Setter 本次库存变化后库存余额
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetSource ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetSource(_source string) error
SetSource is Source Setter (1)OTHER: 其他 (2)TAOBAO_TRADE: 淘宝交易 (3)OTHER_TRADE:其他交易 (4)ALLCOATE: 调拨 (5)CHECK:盘点 (6)PURCHASE:采购
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetStoreCode ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetStoreCode(_storeCode string) error
SetStoreCode is StoreCode Setter 目前非必须,系统会选择默认值
func (*TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetType ¶
func (r *TaobaoWlbOutInventoryChangeNotifyAPIRequest) SetType(_type string) error
SetType is Type Setter WLB_ITEM--物流宝商品 IC_ITEM--淘宝商品 IC_SKU--淘宝sku
type TaobaoWlbOutInventoryChangeNotifyAPIResponse ¶
type TaobaoWlbOutInventoryChangeNotifyAPIResponse struct { model.CommonResponse TaobaoWlbOutInventoryChangeNotifyAPIResponseModel }
TaobaoWlbOutInventoryChangeNotifyAPIResponse 外部库存变化通知(企业物流用户使用) API返回值 taobao.wlb.out.inventory.change.notify
拥有自有仓的企业物流用户通过该接口把自有仓的库存通知到物流宝,由物流宝维护该库存,控制前台显示库存的准确性。
type TaobaoWlbOutInventoryChangeNotifyAPIResponseModel ¶
type TaobaoWlbOutInventoryChangeNotifyAPIResponseModel struct { XMLName xml.Name `xml:"wlb_out_inventory_change_notify_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 库存变化通知成功时间 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` }
TaobaoWlbOutInventoryChangeNotifyAPIResponseModel is 外部库存变化通知(企业物流用户使用) 成功返回结果
type TaobaoWlbSubscriptionQueryAPIRequest ¶
type TaobaoWlbSubscriptionQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbSubscriptionQueryAPIRequest 查询商家定购的所有服务 API请求 taobao.wlb.subscription.query
查询商家定购的所有服务,可通过入参状态来筛选
func NewTaobaoWlbSubscriptionQueryRequest ¶
func NewTaobaoWlbSubscriptionQueryRequest() *TaobaoWlbSubscriptionQueryAPIRequest
NewTaobaoWlbSubscriptionQueryRequest 初始化TaobaoWlbSubscriptionQueryAPIRequest对象
func (TaobaoWlbSubscriptionQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbSubscriptionQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbSubscriptionQueryAPIRequest) GetApiParams ¶
func (r TaobaoWlbSubscriptionQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbSubscriptionQueryAPIRequest) GetPageNo ¶
func (r TaobaoWlbSubscriptionQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbSubscriptionQueryAPIRequest) GetPageSize ¶
func (r TaobaoWlbSubscriptionQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbSubscriptionQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbSubscriptionQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbSubscriptionQueryAPIRequest) GetStatus ¶
func (r TaobaoWlbSubscriptionQueryAPIRequest) GetStatus() string
GetStatus Status Getter
func (*TaobaoWlbSubscriptionQueryAPIRequest) SetPageNo ¶
func (r *TaobaoWlbSubscriptionQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 当前页
func (*TaobaoWlbSubscriptionQueryAPIRequest) SetPageSize ¶
func (r *TaobaoWlbSubscriptionQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页记录个数,如果用户输入的记录数大于50,则一页显示50条记录
func (*TaobaoWlbSubscriptionQueryAPIRequest) SetStatus ¶
func (r *TaobaoWlbSubscriptionQueryAPIRequest) SetStatus(_status string) error
SetStatus is Status Setter 状态 <br/>AUDITING 1-待审核; <br/>CANCEL 2-撤销 ;<br/>CHECKED 3-审核通过 ;<br/>FAILED 4-审核未通过 ;<br/>SYNCHRONIZING 5-同步中;<br/>只允许输入上面指定的值,且可以为空,为空时查询所有状态。若输错了,则按AUDITING处理。
type TaobaoWlbSubscriptionQueryAPIResponse ¶
type TaobaoWlbSubscriptionQueryAPIResponse struct { model.CommonResponse TaobaoWlbSubscriptionQueryAPIResponseModel }
TaobaoWlbSubscriptionQueryAPIResponse 查询商家定购的所有服务 API返回值 taobao.wlb.subscription.query
查询商家定购的所有服务,可通过入参状态来筛选
type TaobaoWlbSubscriptionQueryAPIResponseModel ¶
type TaobaoWlbSubscriptionQueryAPIResponseModel struct { XMLName xml.Name `xml:"wlb_subscription_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 卖家定购的服务列表 SellerSubscriptionList []SellerSubscriptionList `json:"seller_subscription_list,omitempty" xml:"seller_subscription_list>seller_subscription_list,omitempty"` // 结果总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbSubscriptionQueryAPIResponseModel is 查询商家定购的所有服务 成功返回结果
type TaobaoWlbTmsorderQueryAPIRequest ¶
type TaobaoWlbTmsorderQueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbTmsorderQueryAPIRequest 通过物流订单编号查询物流信息 API请求 taobao.wlb.tmsorder.query
通过物流订单编号分页查询物流信息
func NewTaobaoWlbTmsorderQueryRequest ¶
func NewTaobaoWlbTmsorderQueryRequest() *TaobaoWlbTmsorderQueryAPIRequest
NewTaobaoWlbTmsorderQueryRequest 初始化TaobaoWlbTmsorderQueryAPIRequest对象
func (TaobaoWlbTmsorderQueryAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbTmsorderQueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbTmsorderQueryAPIRequest) GetApiParams ¶
func (r TaobaoWlbTmsorderQueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbTmsorderQueryAPIRequest) GetOrderCode ¶
func (r TaobaoWlbTmsorderQueryAPIRequest) GetOrderCode() string
GetOrderCode OrderCode Getter
func (TaobaoWlbTmsorderQueryAPIRequest) GetPageNo ¶
func (r TaobaoWlbTmsorderQueryAPIRequest) GetPageNo() int64
GetPageNo PageNo Getter
func (TaobaoWlbTmsorderQueryAPIRequest) GetPageSize ¶
func (r TaobaoWlbTmsorderQueryAPIRequest) GetPageSize() int64
GetPageSize PageSize Getter
func (TaobaoWlbTmsorderQueryAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbTmsorderQueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoWlbTmsorderQueryAPIRequest) SetOrderCode ¶
func (r *TaobaoWlbTmsorderQueryAPIRequest) SetOrderCode(_orderCode string) error
SetOrderCode is OrderCode Setter 物流订单编号
func (*TaobaoWlbTmsorderQueryAPIRequest) SetPageNo ¶
func (r *TaobaoWlbTmsorderQueryAPIRequest) SetPageNo(_pageNo int64) error
SetPageNo is PageNo Setter 当前页
func (*TaobaoWlbTmsorderQueryAPIRequest) SetPageSize ¶
func (r *TaobaoWlbTmsorderQueryAPIRequest) SetPageSize(_pageSize int64) error
SetPageSize is PageSize Setter 分页记录个数,如果用户输入的记录数大于50,则一页显示50条记录
type TaobaoWlbTmsorderQueryAPIResponse ¶
type TaobaoWlbTmsorderQueryAPIResponse struct { model.CommonResponse TaobaoWlbTmsorderQueryAPIResponseModel }
TaobaoWlbTmsorderQueryAPIResponse 通过物流订单编号查询物流信息 API返回值 taobao.wlb.tmsorder.query
通过物流订单编号分页查询物流信息
type TaobaoWlbTmsorderQueryAPIResponseModel ¶
type TaobaoWlbTmsorderQueryAPIResponseModel struct { XMLName xml.Name `xml:"wlb_tmsorder_query_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 物流订单运单信息列表 TmsOrderList []WlbTmsOrder `json:"tms_order_list,omitempty" xml:"tms_order_list>wlb_tms_order,omitempty"` // 结果总数 TotalCount int64 `json:"total_count,omitempty" xml:"total_count,omitempty"` }
TaobaoWlbTmsorderQueryAPIResponseModel is 通过物流订单编号查询物流信息 成功返回结果
type TaobaoWlbTradeorderGetAPIRequest ¶
type TaobaoWlbTradeorderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbTradeorderGetAPIRequest 根据交易号获取物流宝订单 API请求 taobao.wlb.tradeorder.get
根据交易类型和交易id查询物流宝订单详情
func NewTaobaoWlbTradeorderGetRequest ¶
func NewTaobaoWlbTradeorderGetRequest() *TaobaoWlbTradeorderGetAPIRequest
NewTaobaoWlbTradeorderGetRequest 初始化TaobaoWlbTradeorderGetAPIRequest对象
func (TaobaoWlbTradeorderGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbTradeorderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbTradeorderGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbTradeorderGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbTradeorderGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbTradeorderGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbTradeorderGetAPIRequest) GetSubTradeId ¶
func (r TaobaoWlbTradeorderGetAPIRequest) GetSubTradeId() string
GetSubTradeId SubTradeId Getter
func (TaobaoWlbTradeorderGetAPIRequest) GetTradeId ¶
func (r TaobaoWlbTradeorderGetAPIRequest) GetTradeId() string
GetTradeId TradeId Getter
func (TaobaoWlbTradeorderGetAPIRequest) GetTradeType ¶
func (r TaobaoWlbTradeorderGetAPIRequest) GetTradeType() string
GetTradeType TradeType Getter
func (*TaobaoWlbTradeorderGetAPIRequest) SetSubTradeId ¶
func (r *TaobaoWlbTradeorderGetAPIRequest) SetSubTradeId(_subTradeId string) error
SetSubTradeId is SubTradeId Setter 子交易号
func (*TaobaoWlbTradeorderGetAPIRequest) SetTradeId ¶
func (r *TaobaoWlbTradeorderGetAPIRequest) SetTradeId(_tradeId string) error
SetTradeId is TradeId Setter 指定交易类型的交易号
func (*TaobaoWlbTradeorderGetAPIRequest) SetTradeType ¶
func (r *TaobaoWlbTradeorderGetAPIRequest) SetTradeType(_tradeType string) error
SetTradeType is TradeType Setter 交易类型: TAOBAO--淘宝交易 OTHER_TRADE--其它交易
type TaobaoWlbTradeorderGetAPIResponse ¶
type TaobaoWlbTradeorderGetAPIResponse struct { model.CommonResponse TaobaoWlbTradeorderGetAPIResponseModel }
TaobaoWlbTradeorderGetAPIResponse 根据交易号获取物流宝订单 API返回值 taobao.wlb.tradeorder.get
根据交易类型和交易id查询物流宝订单详情
type TaobaoWlbTradeorderGetAPIResponseModel ¶
type TaobaoWlbTradeorderGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_tradeorder_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 物流宝订单对象 WlbOrderList []WlbOrder `json:"wlb_order_list,omitempty" xml:"wlb_order_list>wlb_order,omitempty"` }
TaobaoWlbTradeorderGetAPIResponseModel is 根据交易号获取物流宝订单 成功返回结果
type TaobaoWlbWaybillShengxianGetAPIRequest ¶
type TaobaoWlbWaybillShengxianGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWaybillShengxianGetAPIRequest 商家获取生鲜电子面单号 API请求 taobao.wlb.waybill.shengxian.get
商家通过交易订单号获取电子面单接口
func NewTaobaoWlbWaybillShengxianGetRequest ¶
func NewTaobaoWlbWaybillShengxianGetRequest() *TaobaoWlbWaybillShengxianGetAPIRequest
NewTaobaoWlbWaybillShengxianGetRequest 初始化TaobaoWlbWaybillShengxianGetAPIRequest对象
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetBizCode ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetBizCode() string
GetBizCode BizCode Getter
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetDeliveryType ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetDeliveryType() string
GetDeliveryType DeliveryType Getter
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetFeature ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetFeature() string
GetFeature Feature Getter
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetOrderChannelsType ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetOrderChannelsType() string
GetOrderChannelsType OrderChannelsType Getter
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetSenderAddressId ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetSenderAddressId() string
GetSenderAddressId SenderAddressId Getter
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetServiceCode ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetServiceCode() string
GetServiceCode ServiceCode Getter
func (TaobaoWlbWaybillShengxianGetAPIRequest) GetTradeId ¶
func (r TaobaoWlbWaybillShengxianGetAPIRequest) GetTradeId() string
GetTradeId TradeId Getter
func (*TaobaoWlbWaybillShengxianGetAPIRequest) SetBizCode ¶
func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetBizCode(_bizCode string) error
SetBizCode is BizCode Setter 物流服务方代码,生鲜配送:YXSR
func (*TaobaoWlbWaybillShengxianGetAPIRequest) SetDeliveryType ¶
func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetDeliveryType(_deliveryType string) error
SetDeliveryType is DeliveryType Setter 物流服务类型。冷链:602,常温:502
func (*TaobaoWlbWaybillShengxianGetAPIRequest) SetFeature ¶
func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetFeature(_feature string) error
SetFeature is Feature Setter 预留扩展字段
func (*TaobaoWlbWaybillShengxianGetAPIRequest) SetOrderChannelsType ¶
func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetOrderChannelsType(_orderChannelsType string) error
SetOrderChannelsType is OrderChannelsType Setter 订单渠道: 淘宝平台订单:"TB"; 天猫平台订单:"TM"; 京东:"JD"; 拍拍:"PP"; 易迅平台订单:"YX"; 一号店平台订单:"YHD"; 当当网平台订单:"DD"; EBAY:"EBAY"; QQ网购:"QQ"; 苏宁:"SN"; 国美:"GM"; 唯品会:"WPH"; 聚美:"Jm"; 乐峰:"LF"; 蘑菇街:"MGJ"; 聚尚:"JS"; 银泰:"YT"; VANCL:"VANCL"; 邮乐:"YL"; 优购:"YG"; 拍鞋:"PX"; 1688平台:"1688";
func (*TaobaoWlbWaybillShengxianGetAPIRequest) SetSenderAddressId ¶
func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetSenderAddressId(_senderAddressId string) error
SetSenderAddressId is SenderAddressId Setter 商家淘宝地址信息ID
func (*TaobaoWlbWaybillShengxianGetAPIRequest) SetServiceCode ¶
func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetServiceCode(_serviceCode string) error
SetServiceCode is ServiceCode Setter 仓库的服务代码标示,代码一个仓库的实体。(可以通过taobao.wlb.stores.baseinfo.get接口查询)
func (*TaobaoWlbWaybillShengxianGetAPIRequest) SetTradeId ¶
func (r *TaobaoWlbWaybillShengxianGetAPIRequest) SetTradeId(_tradeId string) error
SetTradeId is TradeId Setter 交易号,传入交易号不能存在拆单场景。
type TaobaoWlbWaybillShengxianGetAPIResponse ¶
type TaobaoWlbWaybillShengxianGetAPIResponse struct { model.CommonResponse TaobaoWlbWaybillShengxianGetAPIResponseModel }
TaobaoWlbWaybillShengxianGetAPIResponse 商家获取生鲜电子面单号 API返回值 taobao.wlb.waybill.shengxian.get
商家通过交易订单号获取电子面单接口
type TaobaoWlbWaybillShengxianGetAPIResponseModel ¶
type TaobaoWlbWaybillShengxianGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_waybill_shengxian_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 成功后返回的生鲜电子面单信息 FreshWaybill *FreshWaybill `json:"fresh_waybill,omitempty" xml:"fresh_waybill,omitempty"` // 生成是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` }
TaobaoWlbWaybillShengxianGetAPIResponseModel is 商家获取生鲜电子面单号 成功返回结果
type TaobaoWlbWlborderGetAPIRequest ¶
type TaobaoWlbWlborderGetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWlborderGetAPIRequest 根据物流宝订单编号查询物流宝订单概要信息 API请求 taobao.wlb.wlborder.get
根据物流宝订单编号查询物流宝订单概要信息
func NewTaobaoWlbWlborderGetRequest ¶
func NewTaobaoWlbWlborderGetRequest() *TaobaoWlbWlborderGetAPIRequest
NewTaobaoWlbWlborderGetRequest 初始化TaobaoWlbWlborderGetAPIRequest对象
func (TaobaoWlbWlborderGetAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbWlborderGetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWlborderGetAPIRequest) GetApiParams ¶
func (r TaobaoWlbWlborderGetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWlborderGetAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbWlborderGetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoWlbWlborderGetAPIRequest) GetWlbOrderCode ¶
func (r TaobaoWlbWlborderGetAPIRequest) GetWlbOrderCode() string
GetWlbOrderCode WlbOrderCode Getter
func (*TaobaoWlbWlborderGetAPIRequest) SetWlbOrderCode ¶
func (r *TaobaoWlbWlborderGetAPIRequest) SetWlbOrderCode(_wlbOrderCode string) error
SetWlbOrderCode is WlbOrderCode Setter 物流宝订单编码
type TaobaoWlbWlborderGetAPIResponse ¶
type TaobaoWlbWlborderGetAPIResponse struct { model.CommonResponse TaobaoWlbWlborderGetAPIResponseModel }
TaobaoWlbWlborderGetAPIResponse 根据物流宝订单编号查询物流宝订单概要信息 API返回值 taobao.wlb.wlborder.get
根据物流宝订单编号查询物流宝订单概要信息
type TaobaoWlbWlborderGetAPIResponseModel ¶
type TaobaoWlbWlborderGetAPIResponseModel struct { XMLName xml.Name `xml:"wlb_wlborder_get_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 物流宝订单对象 WlbOrder *WlbOrder `json:"wlb_order,omitempty" xml:"wlb_order,omitempty"` }
TaobaoWlbWlborderGetAPIResponseModel is 根据物流宝订单编号查询物流宝订单概要信息 成功返回结果
type TaobaoWlbWmsInventoryLackUploadAPIRequest ¶
type TaobaoWlbWmsInventoryLackUploadAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoWlbWmsInventoryLackUploadAPIRequest 缺货通知 API请求 taobao.wlb.wms.inventory.lack.upload
缺货通知
func NewTaobaoWlbWmsInventoryLackUploadRequest ¶
func NewTaobaoWlbWmsInventoryLackUploadRequest() *TaobaoWlbWmsInventoryLackUploadAPIRequest
NewTaobaoWlbWmsInventoryLackUploadRequest 初始化TaobaoWlbWmsInventoryLackUploadAPIRequest对象
func (TaobaoWlbWmsInventoryLackUploadAPIRequest) GetApiMethodName ¶
func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoWlbWmsInventoryLackUploadAPIRequest) GetApiParams ¶
func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoWlbWmsInventoryLackUploadAPIRequest) GetContent ¶
func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetContent() *WlbWmsInventoryLackUpload
GetContent Content Getter
func (TaobaoWlbWmsInventoryLackUploadAPIRequest) GetRawParams ¶ added in v1.2.8
func (r TaobaoWlbWmsInventoryLackUploadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoWlbWmsInventoryLackUploadAPIRequest) SetContent ¶
func (r *TaobaoWlbWmsInventoryLackUploadAPIRequest) SetContent(_content *WlbWmsInventoryLackUpload) error
SetContent is Content Setter 缺货通知信息
type TaobaoWlbWmsInventoryLackUploadAPIResponse ¶
type TaobaoWlbWmsInventoryLackUploadAPIResponse struct { model.CommonResponse TaobaoWlbWmsInventoryLackUploadAPIResponseModel }
TaobaoWlbWmsInventoryLackUploadAPIResponse 缺货通知 API返回值 taobao.wlb.wms.inventory.lack.upload
缺货通知
type TaobaoWlbWmsInventoryLackUploadAPIResponseModel ¶
type TaobaoWlbWmsInventoryLackUploadAPIResponseModel struct { XMLName xml.Name `xml:"wlb_wms_inventory_lack_upload_response"` // 平台颁发的每次请求访问的唯一标识 RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"` // 缺货回告 Result *WlbWmsInventoryLackUploadResp `json:"result,omitempty" xml:"result,omitempty"` }
TaobaoWlbWmsInventoryLackUploadAPIResponseModel is 缺货通知 成功返回结果
type TmsItem ¶
type TmsItem struct { // 前端商家编码 ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 货品ID ScItemId string `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"` // 数量 ItemQuantity int64 `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"` }
TmsItem 结构体
type TmsOrders ¶
type TmsOrders struct { // 运单信息 TmsItems []TmsItem `json:"tms_items,omitempty" xml:"tms_items>tms_item,omitempty"` // 包裹的包材信息列表 PackageMaterialList []PackageMaterialList `json:"package_material_list,omitempty" xml:"package_material_list>package_material_list,omitempty"` // 运单编码,运单号 TmsOrderCode string `json:"tms_order_code,omitempty" xml:"tms_order_code,omitempty"` // 快递公司服务编码 TmsCode string `json:"tms_code,omitempty" xml:"tms_code,omitempty"` // 包裹号 PackageCode string `json:"package_code,omitempty" xml:"package_code,omitempty"` // 包裹高度,单位:毫米 PackageHeight int64 `json:"package_height,omitempty" xml:"package_height,omitempty"` // 包裹宽度,单位:毫米 PackageWidth int64 `json:"package_width,omitempty" xml:"package_width,omitempty"` // 包裹长度,单位:毫米 PackageLength int64 `json:"package_length,omitempty" xml:"package_length,omitempty"` // 包裹重量,单位:克 PackageWeight int64 `json:"package_weight,omitempty" xml:"package_weight,omitempty"` }
TmsOrders 结构体
type WlbInventory ¶
type WlbInventory struct { // 仓库编码,关联到仓库类型服务的编码非托管库存(卖家自己管理的库存,物流宝不可见又称自有库存)的所在仓库编码: STORE_SYS_PRIVATE StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // VENDIBLE--可销售库存<br/>FREEZE--冻结库存<br/>ONWAY--在途库存<br/>DEFECT--残次品库存 Type string `json:"type,omitempty" xml:"type,omitempty"` // 货主ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 可销库存数量(库存总数-拍下预扣数-占用数) Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 冻结(锁定)数量,用来跟踪库存的中间状态,比如前台销售了1件商品,这时lock加1,当商品出库的时候lock再减回去 LockQuantity int64 `json:"lock_quantity,omitempty" xml:"lock_quantity,omitempty"` // 系统自动生成 ReserveQuantity int64 `json:"reserve_quantity,omitempty" xml:"reserve_quantity,omitempty"` // 系统自动生成 OccupyQuantity int64 `json:"occupy_quantity,omitempty" xml:"occupy_quantity,omitempty"` }
WlbInventory 结构体
type WlbItem ¶
type WlbItem struct { // 商品所有人淘宝nick UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 商品的名称 Name string `json:"name,omitempty" xml:"name,omitempty"` // 前台商品名称 Title string `json:"title,omitempty" xml:"title,omitempty"` // 商家编码 ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 标记,用逗号隔开的字符串。<br/>BIT_HAS_AUTHORIZE 第1位 是否有授权规则;<br/>BATCH 第2位 是否有批次规则;<br/>SYNCHRONIZATION 第3位 是否有同步规则。 Flag string `json:"flag,omitempty" xml:"flag,omitempty"` // 商品类型:<br/>NORMAL--普通类型;<br/>COMBINE--组合商品;<br/>DISTRIBUTION--分销商品;<br/>默认为NORMAL Type string `json:"type,omitempty" xml:"type,omitempty"` // 商品备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 状态,item_status_valid -- 1 表示 有效 item_status_lock -- 2 表示锁住 Status string `json:"status,omitempty" xml:"status,omitempty"` // 创建人 Creator string `json:"creator,omitempty" xml:"creator,omitempty"` // 创建日期 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 最后修改人 LastModifier string `json:"last_modifier,omitempty" xml:"last_modifier,omitempty"` // 修改日期 GmtModified string `json:"gmt_modified,omitempty" xml:"gmt_modified,omitempty"` // 属性key:value; key:value Properties string `json:"properties,omitempty" xml:"properties,omitempty"` // 颜色 Color string `json:"color,omitempty" xml:"color,omitempty"` // 货类 GoodsCat string `json:"goods_cat,omitempty" xml:"goods_cat,omitempty"` // 计价货类 PricingCat string `json:"pricing_cat,omitempty" xml:"pricing_cat,omitempty"` // 包装材料 PackageMaterial string `json:"package_material,omitempty" xml:"package_material,omitempty"` // 商品id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 商品所有人淘宝ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 父item的id,当item为物流宝子商品时,parent_id必填,否则不必填<br/>可通过父ID来得知商品的关系。 ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"` // 发布版本号,用来同步商 PublishVersion int64 `json:"publish_version,omitempty" xml:"publish_version,omitempty"` // 品牌ID BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"` // 重量 Weight int64 `json:"weight,omitempty" xml:"weight,omitempty"` // mm Length int64 `json:"length,omitempty" xml:"length,omitempty"` // 宽 Width int64 `json:"width,omitempty" xml:"width,omitempty"` // 高 Height int64 `json:"height,omitempty" xml:"height,omitempty"` // 立方mm Volume int64 `json:"volume,omitempty" xml:"volume,omitempty"` // 价格 Price int64 `json:"price,omitempty" xml:"price,omitempty"` // 是不是sku商品<br/>值为true或false IsSku bool `json:"is_sku,omitempty" xml:"is_sku,omitempty"` // 是否易碎 IsFriable bool `json:"is_friable,omitempty" xml:"is_friable,omitempty"` // 是否危险品 IsDangerous bool `json:"is_dangerous,omitempty" xml:"is_dangerous,omitempty"` }
WlbItem 结构体
type WlbItemBatch ¶
type WlbItemBatch struct { // 存储类型 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 批次编号 BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"` // 生产编号 ProduceCode string `json:"produce_code,omitempty" xml:"produce_code,omitempty"` // 到期时间 DueDate string `json:"due_date,omitempty" xml:"due_date,omitempty"` // 生产日期 ProduceDate string `json:"produce_date,omitempty" xml:"produce_date,omitempty"` // 接受日期 ReceiveDate string `json:"receive_date,omitempty" xml:"receive_date,omitempty"` // 保质期 GuaranteePeriod string `json:"guarantee_period,omitempty" xml:"guarantee_period,omitempty"` // 产地 ProduceArea string `json:"produce_area,omitempty" xml:"produce_area,omitempty"` // 描述 Remarks string `json:"remarks,omitempty" xml:"remarks,omitempty"` // 状态。item_batch_status_open:开放 item_batch_status_lock:冻结 item_batch_status_invalid:无效 Status string `json:"status,omitempty" xml:"status,omitempty"` // 商品批次记录id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 用户id UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 残次数量 DefectQuantity int64 `json:"defect_quantity,omitempty" xml:"defect_quantity,omitempty"` // 天(单位) GuaranteeUnit int64 `json:"guarantee_unit,omitempty" xml:"guarantee_unit,omitempty"` }
WlbItemBatch 结构体
type WlbItemBatchInventory ¶
type WlbItemBatchInventory struct { // 批次库存查询结果 ItemBatch []WlbItemBatch `json:"item_batch,omitempty" xml:"item_batch>wlb_item_batch,omitempty"` // 商品库存查询结果 ItemInventorys []WlbItemInventory `json:"item_inventorys,omitempty" xml:"item_inventorys>wlb_item_inventory,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 商品在所有仓库的可销库存总数 TotalQuantity int64 `json:"total_quantity,omitempty" xml:"total_quantity,omitempty"` }
WlbItemBatchInventory 结构体
type WlbItemInventory ¶
type WlbItemInventory struct { // 仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // SELLALBE 可销售库存<br/>DEFECTIVE 残次<br/>JISHUN 机损<br/>XIANGSHUN 箱损<br/>FREEZE 冻结库存<br/>ONROAD 在途库存 Type string `json:"type,omitempty" xml:"type,omitempty"` // 商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 库存数量 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 锁定库存数量 LockQuantity int64 `json:"lock_quantity,omitempty" xml:"lock_quantity,omitempty"` }
WlbItemInventory 结构体
type WlbItemInventoryLog ¶
type WlbItemInventoryLog struct { // 库存操作作类型CHU_KU 1-出库RU_KU 2-入库FREEZE 3-冻结THAW 4-解冻CHECK_FREEZE 5-冻结确认CHANGE_KU 6-库存类型变更 OpType string `json:"op_type,omitempty" xml:"op_type,omitempty"` // 批次号 BatchCode string `json:"batch_code,omitempty" xml:"batch_code,omitempty"` // 仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 订单号 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 创建日期 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // VENDIBLE 1-可销售;FREEZE 201-冻结库存;ONWAY 301-在途库存;DEFECT 101-残存品;ENGINE_DAMAGE 102-机损;BOX_DAMAGE 103-箱损 InventType string `json:"invent_type,omitempty" xml:"invent_type,omitempty"` // 库存变更ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 用户ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 库存操作者ID OpUserId int64 `json:"op_user_id,omitempty" xml:"op_user_id,omitempty"` // 商品ID ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 订单商品ID OrderItemId int64 `json:"order_item_id,omitempty" xml:"order_item_id,omitempty"` // 处理数量变化值 Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"` // 结果值 ResultQuantity int64 `json:"result_quantity,omitempty" xml:"result_quantity,omitempty"` }
WlbItemInventoryLog 结构体
type WlbMessage ¶
type WlbMessage struct { // 创建时间 GmtCreate string `json:"gmt_create,omitempty" xml:"gmt_create,omitempty"` // 消息描述 MsgDescription string `json:"msg_description,omitempty" xml:"msg_description,omitempty"` // 通知内容:msg_code为STOCK_IN_NOT_CONSISTENT时,msg_content为:orderCode:code;orderItemId:111;itemId:123;planQuantity:10;relQuantity:6; msg_code为CANCEL_ORDER_SUCCESS及其它时,msg_content为:orderCode:code;msg_code为CANCEL_ORDER_SUCCESS及其它时,msg_content为:orderCode:code; msg_code为INVENTORY_CHECK时,msg_content为orderCode:code; MsgContent string `json:"msg_content,omitempty" xml:"msg_content,omitempty"` // 通知消息编码: STOCK_IN_NOT_CONSISTENT---入库单不一致 CANCEL_ORDER_SUCCESS---取消订单成功 CANCEL_ORDER_FAILURE---取消订单失败 INVENTORY_CHECK---盘点 INVENTORY_CHECK---盘点消息 ORDER_REJECT--wms拒单 ORDER_CONFIRMED--订单处理成功 WMS_FAILED--wms处理失败 MsgCode string `json:"msg_code,omitempty" xml:"msg_code,omitempty"` // 消息状态: 不需要确认:NO_NEED_CONFIRM 已确认:CONFIRMED 待确认:TO_BE_CONFIRM Status string `json:"status,omitempty" xml:"status,omitempty"` // 用户ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 消息通道ID Id int64 `json:"id,omitempty" xml:"id,omitempty"` }
WlbMessage 结构体
type WlbOrder ¶
type WlbOrder struct { // 出库或者入库,IN表示入库,OUT表示出库 OperateType string `json:"operate_type,omitempty" xml:"operate_type,omitempty"` // 订单编码 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 订单来源:<br/>产生物流订单的原因,比如:<br/><br/>订单来源:1:TAOBAO;2:EXT;3:ERP;4:WMS OrderSource string `json:"order_source,omitempty" xml:"order_source,omitempty"` // 对应创建物流宝订单top接口中的的out_biz_code字段,主要是用来去重用 OrderSourceCode string `json:"order_source_code,omitempty" xml:"order_source_code,omitempty"` // 1:正常订单: NORMAL2:退货订单: RETURN3:换货订单: CHANGE OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // (1)其它: OTHER<br/>(2)淘宝交易: TAOBAO<br/>(3)301:调拨: ALLOCATION<br/>(4)401:盘点:CHECK<br/>(5)501:销售采购:PRUCHASE OrderSubType string `json:"order_sub_type,omitempty" xml:"order_sub_type,omitempty"` // 卖家NICK UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 发货物流公司编码,STO,YTO,EMS等 TmsTpCode string `json:"tms_tp_code,omitempty" xml:"tms_tp_code,omitempty"` // 物流状态,订单已创建:0订单已取消: -1订单关闭:-3下发中: 10已下发: 11TMS拒签 :-100接收方拒签:-200已发货:100签收成功:200 OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 卖家取消,仓库取消标识 OrderStatusReason string `json:"order_status_reason,omitempty" xml:"order_status_reason,omitempty"` // 订单备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 原订单编码 PrevOrderCode string `json:"prev_order_code,omitempty" xml:"prev_order_code,omitempty"` // 买家nick BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 接收人姓名 ReceiverName string `json:"receiver_name,omitempty" xml:"receiver_name,omitempty"` // 接收人旺旺 ReceiverWangwang string `json:"receiver_wangwang,omitempty" xml:"receiver_wangwang,omitempty"` // 1 ReceiverMail string `json:"receiver_mail,omitempty" xml:"receiver_mail,omitempty"` // 收件人邮编 ReceiverZipCode string `json:"receiver_zip_code,omitempty" xml:"receiver_zip_code,omitempty"` // 接收人手机号码 ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"` // 接收人固定电话 ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"` // 发票信息 InvoiceInfo string `json:"invoice_info,omitempty" xml:"invoice_info,omitempty"` // 收件人省份 ReceiverProvince string `json:"receiver_province,omitempty" xml:"receiver_province,omitempty"` // 收件人城市 ReceiverCity string `json:"receiver_city,omitempty" xml:"receiver_city,omitempty"` // 区或者县 ReceiverArea string `json:"receiver_area,omitempty" xml:"receiver_area,omitempty"` // 收件人具体地址 ReceiverAddress string `json:"receiver_address,omitempty" xml:"receiver_address,omitempty"` // 发件人所在省份 SenderProvince string `json:"sender_province,omitempty" xml:"sender_province,omitempty"` // 发件人城市 SenderCity string `json:"sender_city,omitempty" xml:"sender_city,omitempty"` // 发件人所在区 SenderArea string `json:"sender_area,omitempty" xml:"sender_area,omitempty"` // 发件人地址 SenderAddress string `json:"sender_address,omitempty" xml:"sender_address,omitempty"` // 发件人姓名 SenderName string `json:"sender_name,omitempty" xml:"sender_name,omitempty"` // 发件人电子邮箱 SenderEmail string `json:"sender_email,omitempty" xml:"sender_email,omitempty"` // 发件人联系电话 SenderPhone string `json:"sender_phone,omitempty" xml:"sender_phone,omitempty"` // 发件人移动电话 SenderMobile string `json:"sender_mobile,omitempty" xml:"sender_mobile,omitempty"` // 发件人邮编 SenderZipCode string `json:"sender_zip_code,omitempty" xml:"sender_zip_code,omitempty"` // 配送开始时间通常是HH:MM格式 ScheduleDay string `json:"schedule_day,omitempty" xml:"schedule_day,omitempty"` // 配送结束时间通常是HH:MM格式 ScheduleEnd string `json:"schedule_end,omitempty" xml:"schedule_end,omitempty"` // 计划送达开始时间 ExpectStartTime string `json:"expect_start_time,omitempty" xml:"expect_start_time,omitempty"` // 计划送达结束时间 ExpectEndTime string `json:"expect_end_time,omitempty" xml:"expect_end_time,omitempty"` // 订单总价 TotalAmount int64 `json:"total_amount,omitempty" xml:"total_amount,omitempty"` // 第1位:COD,2:限时配送,3:预售,4:需要发票,5:已投诉,第6位:合单,第7位:拆单 第8位:EXCHANGE-换货, 第9位:VISIT-上门 , 第10位: MODIFYTRANSPORT-是否可改配送方式,第11位:是否物流代理确认发货 OrderFlag int64 `json:"order_flag,omitempty" xml:"order_flag,omitempty"` // 应收金额 ReceivableAmount int64 `json:"receivable_amount,omitempty" xml:"receivable_amount,omitempty"` // cod服务费 ServiceFee int64 `json:"service_fee,omitempty" xml:"service_fee,omitempty"` // 订单取消状态:<br/>1-取消中; <br/>2-取消失败;<br/>3-取消完成 CancelOrderStatus int64 `json:"cancel_order_status,omitempty" xml:"cancel_order_status,omitempty"` // 发货速度 , 101-当日达, 102-次晨达, 103-次日达 ScheduleSpeed int64 `json:"schedule_speed,omitempty" xml:"schedule_speed,omitempty"` // 卖家ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 1 IsCompleted bool `json:"is_completed,omitempty" xml:"is_completed,omitempty"` }
WlbOrder 结构体
type WlbOrderDetail ¶
type WlbOrderDetail struct { // 物流宝订单商品 OrderItemList []WlbOrderItem `json:"order_item_list,omitempty" xml:"order_item_list>wlb_order_item,omitempty"` // 出库或者入库,IN表示入库,OUT表示出库 OperateType string `json:"operate_type,omitempty" xml:"operate_type,omitempty"` // 订单编码 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 订单来源:<br/>产生物流订单的原因,比如:<br/><br/>订单来源:1:TAOBAO;2:EXT;3:ERP;4:WMS OrderSource string `json:"order_source,omitempty" xml:"order_source,omitempty"` // 对应创建物流宝订单top接口中的的out_biz_code字段,主要是用来去重用 OrderSourceCode string `json:"order_source_code,omitempty" xml:"order_source_code,omitempty"` // 1:正常订单: NARMAL<br/>2:退货订单: RETURN<br/>3:换货订单: CHANGE OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"` // (1)其它: OTHER<br/>(2)淘宝交易: TAOBAO<br/>(3)301:调拨: ALLOCATION<br/>(4)401:盘点:CHECK<br/>(5)501:销售采购:PRUCHASE OrderSubType string `json:"order_sub_type,omitempty" xml:"order_sub_type,omitempty"` // 卖家NICK UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // 仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // 物流状态,<br/>订单已创建:0<br/>订单已取消: -1<br/>订单关闭:-3<br/>下发中: 10<br/>已下发: 11<br/>接收方拒签 :-100<br/>已发货:100<br/>签收成功:200 OrderStatus string `json:"order_status,omitempty" xml:"order_status,omitempty"` // 订单备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 如果是交易单,则显示交易中买家昵称 BuyerNick string `json:"buyer_nick,omitempty" xml:"buyer_nick,omitempty"` // 订单创建时间 ModifyTime string `json:"modify_time,omitempty" xml:"modify_time,omitempty"` // 订单最后一次修改时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 买家openId OpenUid string `json:"open_uid,omitempty" xml:"open_uid,omitempty"` // 卖家ID UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` }
WlbOrderDetail 结构体
type WlbOrderItem ¶
type WlbOrderItem struct { // 订单商品用户昵称 UserNick string `json:"user_nick,omitempty" xml:"user_nick,omitempty"` // INVENTORY_TYPE_SELL 可销库存<br/>INVENTORY_TYPE_IMPERFECTIONS 残次库存<br/>INVENTORY_TYPE_FREEZE 冻结库存<br/>INVENTORY_TYPE_ON_PASSAGE 在途库存<br/>INVENTORY_TYPE_ENGINE_DAMAGE 机损<br/>INVENTORY_TYPE_BOX_DAMAGE 箱损 InventoryType string `json:"inventory_type,omitempty" xml:"inventory_type,omitempty"` // 物流宝订单编码 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // (1)其它: OTHER (2)淘宝交易: TAOBAO (3)调拨: ALLOCATION (4)盘点:CHECK (5)销售采购:PRUCHASE(6)其它交易:OTHER_TRADE OrderSubType string `json:"order_sub_type,omitempty" xml:"order_sub_type,omitempty"` // 订单号 OrderSubCode string `json:"order_sub_code,omitempty" xml:"order_sub_code,omitempty"` // 子交易号 OrderSub2code string `json:"order_sub_2code,omitempty" xml:"order_sub_2code,omitempty"` // 订单商品名称 ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"` // 订单商品编码 ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"` // 货主nick ProviderTpNick string `json:"provider_tp_nick,omitempty" xml:"provider_tp_nick,omitempty"` // 物流宝订单确认状态:<br/>NO_NEED_CONFIRM--不需要确认<br/>WAIT_CONFIRM--待确认<br/>CONFIRMED--已确认 ConfirmStatus string `json:"confirm_status,omitempty" xml:"confirm_status,omitempty"` // 订单商品备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 批次号备注 BatchRemark string `json:"batch_remark,omitempty" xml:"batch_remark,omitempty"` // 外部实体id ExtEntityId string `json:"ext_entity_id,omitempty" xml:"ext_entity_id,omitempty"` // 订单商品图片url PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"` // 订单商品id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 订单商品用户id UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` // 物流宝订单id OrderId int64 `json:"order_id,omitempty" xml:"order_id,omitempty"` // 物流宝订单商品的物流宝商品id ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"` // 货主id ProviderTpId int64 `json:"provider_tp_id,omitempty" xml:"provider_tp_id,omitempty"` // 计划数量 PlanQuantity int64 `json:"plan_quantity,omitempty" xml:"plan_quantity,omitempty"` // 实际数量 RealQuantity int64 `json:"real_quantity,omitempty" xml:"real_quantity,omitempty"` // 商品价格 ItemPrice int64 `json:"item_price,omitempty" xml:"item_price,omitempty"` // 第一位标示是否为赠品 Flag int64 `json:"flag,omitempty" xml:"flag,omitempty"` // 商品发布版本号 PublishVersion int64 `json:"publish_version,omitempty" xml:"publish_version,omitempty"` }
WlbOrderItem 结构体
type WlbProcessStatus ¶
type WlbProcessStatus struct { // 物流宝订单编码 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 操作人 Operator string `json:"operator,omitempty" xml:"operator,omitempty"` // 操作时间 OperateTime string `json:"operate_time,omitempty" xml:"operate_time,omitempty"` // 仓库合作公司编码 StoreTpCode string `json:"store_tp_code,omitempty" xml:"store_tp_code,omitempty"` // 仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` // tms合作公司编码 TmsTpCode string `json:"tms_tp_code,omitempty" xml:"tms_tp_code,omitempty"` // tms合作公司订单编码 TmsOrderCode string `json:"tms_order_code,omitempty" xml:"tms_order_code,omitempty"` // 状态内容 Content string `json:"content,omitempty" xml:"content,omitempty"` // 备注 Remark string `json:"remark,omitempty" xml:"remark,omitempty"` // 订单操作状态:WMS_ACCEPT;WMS_PRINT;WMS_PICK;WMS_CHECK;WMS_PACKAGE;WMS_CONSIGN;WMS_CANCEL;WMS_UNKNOWN;WMS_CONFIRMEDTMS_ACCEPT;TMS_STATION_IN;TMS_STATION_OUT;TMS_SIGN;TMS_REJECT;TMS_CANCEL;TMS_UNKNOW;SYS_UNKNOWN StatusCode string `json:"status_code,omitempty" xml:"status_code,omitempty"` }
WlbProcessStatus 结构体
type WlbTmsOrder ¶
type WlbTmsOrder struct { // 物流订单编号 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 运单号 Code string `json:"code,omitempty" xml:"code,omitempty"` // 物流公司编码 CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"` // 物流订单的所有者ID,货主 UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"` }
WlbTmsOrder 结构体
type WlbWmsInventoryLackUpload ¶
type WlbWmsInventoryLackUpload struct { // 商品信息列表 ItemList []ItemListWlbWmsInventoryLackUpload `json:"item_list,omitempty" xml:"item_list>item_list_wlb_wms_inventory_lack_upload,omitempty"` // 创建时间 CreateTime string `json:"create_time,omitempty" xml:"create_time,omitempty"` // 外部业务编码;消息ID,用于去重 OutBizCode string `json:"out_biz_code,omitempty" xml:"out_biz_code,omitempty"` // 仓储订单编码 StoreOrderCode string `json:"store_order_code,omitempty" xml:"store_order_code,omitempty"` // 订单编码 OrderCode string `json:"order_code,omitempty" xml:"order_code,omitempty"` // 仓库编码 StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"` }
WlbWmsInventoryLackUpload 结构体
type WlbWmsInventoryLackUploadResp ¶
type WlbWmsInventoryLackUploadResp struct { // 错误编码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 错误信息 ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"` // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` }
WlbWmsInventoryLackUploadResp 结构体
Source Files ¶
- AddressInfo.go
- BmsConsignOrderConfirm.go
- CainiaoBmsOrderConsignConfirmAPIRequest.go
- CainiaoBmsOrderConsignConfirmAPIResponse.go
- CainiaoMerchantInventoryAdjustAPIRequest.go
- CainiaoMerchantInventoryAdjustAPIResponse.go
- CainiaoWaybillCloudprintNetprintPrintAPIRequest.go
- CainiaoWaybillCloudprintNetprintPrintAPIResponse.go
- CloudPrinterPrintRequest.go
- ContactInfo.go
- CustomData.go
- DeliveryOrder.go
- FreshWaybill.go
- ItemListWlbWmsInventoryLackUpload.go
- JzConsignArgsNew.go
- JzPartnerNew.go
- MerStoreInvAdjustDto.go
- OrderItems.go
- OrderLine.go
- OutEntityItem.go
- PackageMaterialList.go
- Partner.go
- PrintData.go
- ReceiverInfo.go
- ResultDo.go
- SellerSubscriptionList.go
- SingleResultDto.go
- TaobaoUopTobOrderCreateAPIRequest.go
- TaobaoUopTobOrderCreateAPIResponse.go
- TaobaoWlbInventoryDetailGetAPIRequest.go
- TaobaoWlbInventoryDetailGetAPIResponse.go
- TaobaoWlbInventorylogQueryAPIRequest.go
- TaobaoWlbInventorylogQueryAPIResponse.go
- TaobaoWlbItemAddAPIRequest.go
- TaobaoWlbItemAddAPIResponse.go
- TaobaoWlbItemBatchQueryAPIRequest.go
- TaobaoWlbItemBatchQueryAPIResponse.go
- TaobaoWlbItemCombinationGetAPIRequest.go
- TaobaoWlbItemCombinationGetAPIResponse.go
- TaobaoWlbItemGetAPIRequest.go
- TaobaoWlbItemGetAPIResponse.go
- TaobaoWlbItemMapGetAPIRequest.go
- TaobaoWlbItemMapGetAPIResponse.go
- TaobaoWlbItemQueryAPIRequest.go
- TaobaoWlbItemQueryAPIResponse.go
- TaobaoWlbItemUpdateAPIRequest.go
- TaobaoWlbItemUpdateAPIResponse.go
- TaobaoWlbNotifyMessagePageGetAPIRequest.go
- TaobaoWlbNotifyMessagePageGetAPIResponse.go
- TaobaoWlbOrderCancelAPIRequest.go
- TaobaoWlbOrderCancelAPIResponse.go
- TaobaoWlbOrderConsignAPIRequest.go
- TaobaoWlbOrderConsignAPIResponse.go
- TaobaoWlbOrderCreateAPIRequest.go
- TaobaoWlbOrderCreateAPIResponse.go
- TaobaoWlbOrderJzpartnerQueryAPIRequest.go
- TaobaoWlbOrderJzpartnerQueryAPIResponse.go
- TaobaoWlbOrderJzwithinsConsignAPIRequest.go
- TaobaoWlbOrderJzwithinsConsignAPIResponse.go
- TaobaoWlbOrderPageGetAPIRequest.go
- TaobaoWlbOrderPageGetAPIResponse.go
- TaobaoWlbOrderdetailDateGetAPIRequest.go
- TaobaoWlbOrderdetailDateGetAPIResponse.go
- TaobaoWlbOrderitemPageGetAPIRequest.go
- TaobaoWlbOrderitemPageGetAPIResponse.go
- TaobaoWlbOrderstatusGetAPIRequest.go
- TaobaoWlbOrderstatusGetAPIResponse.go
- TaobaoWlbOutInventoryChangeNotifyAPIRequest.go
- TaobaoWlbOutInventoryChangeNotifyAPIResponse.go
- TaobaoWlbSubscriptionQueryAPIRequest.go
- TaobaoWlbSubscriptionQueryAPIResponse.go
- TaobaoWlbTmsorderQueryAPIRequest.go
- TaobaoWlbTmsorderQueryAPIResponse.go
- TaobaoWlbTradeorderGetAPIRequest.go
- TaobaoWlbTradeorderGetAPIResponse.go
- TaobaoWlbWaybillShengxianGetAPIRequest.go
- TaobaoWlbWaybillShengxianGetAPIResponse.go
- TaobaoWlbWlborderGetAPIRequest.go
- TaobaoWlbWlborderGetAPIResponse.go
- TaobaoWlbWmsInventoryLackUploadAPIRequest.go
- TaobaoWlbWmsInventoryLackUploadAPIResponse.go
- TmsItem.go
- TmsOrders.go
- WlbInventory.go
- WlbItem.go
- WlbItemBatch.go
- WlbItemBatchInventory.go
- WlbItemInventory.go
- WlbItemInventoryLog.go
- WlbMessage.go
- WlbOrder.go
- WlbOrderDetail.go
- WlbOrderItem.go
- WlbProcessStatus.go
- WlbTmsOrder.go
- WlbWmsInventoryLackUpload.go
- WlbWmsInventoryLackUploadResp.go
- doc.go