inventory

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package inventory 包含库存API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaRetailDeviceInventorySyncAPIRequest added in v1.3.4

func ReleaseAlibabaRetailDeviceInventorySyncAPIRequest(v *AlibabaRetailDeviceInventorySyncAPIRequest)

ReleaseAlibabaRetailDeviceInventorySyncAPIRequest 将 AlibabaRetailDeviceInventorySyncAPIRequest 放入 sync.Pool

func ReleaseAlibabaRetailDeviceInventorySyncAPIResponse added in v1.3.4

func ReleaseAlibabaRetailDeviceInventorySyncAPIResponse(v *AlibabaRetailDeviceInventorySyncAPIResponse)

ReleaseAlibabaRetailDeviceInventorySyncAPIResponse 将 AlibabaRetailDeviceInventorySyncAPIResponse 保存到 sync.Pool

func ReleaseAlibabaRetailDeviceInventorySyncResult added in v1.3.4

func ReleaseAlibabaRetailDeviceInventorySyncResult(v *AlibabaRetailDeviceInventorySyncResult)

ReleaseAlibabaRetailDeviceInventorySyncResult 释放AlibabaRetailDeviceInventorySyncResult

func ReleaseBatchResult added in v1.3.4

func ReleaseBatchResult(v *BatchResult)

ReleaseBatchResult 释放BatchResult

func ReleaseErrorInfo added in v1.3.4

func ReleaseErrorInfo(v *ErrorInfo)

ReleaseErrorInfo 释放ErrorInfo

func ReleaseInvUnifyPlanTopQuery added in v1.3.4

func ReleaseInvUnifyPlanTopQuery(v *InvUnifyPlanTopQuery)

ReleaseInvUnifyPlanTopQuery 释放InvUnifyPlanTopQuery

func ReleaseInvUnifyPlanTopQuerys added in v1.3.4

func ReleaseInvUnifyPlanTopQuerys(v *InvUnifyPlanTopQuerys)

ReleaseInvUnifyPlanTopQuerys 释放InvUnifyPlanTopQuerys

func ReleaseInventoryCheckDetailDto added in v1.3.4

func ReleaseInventoryCheckDetailDto(v *InventoryCheckDetailDto)

ReleaseInventoryCheckDetailDto 释放InventoryCheckDetailDto

func ReleaseInventoryCheckDto added in v1.3.4

func ReleaseInventoryCheckDto(v *InventoryCheckDto)

ReleaseInventoryCheckDto 释放InventoryCheckDto

func ReleaseInventoryCheckResultDto added in v1.3.4

func ReleaseInventoryCheckResultDto(v *InventoryCheckResultDto)

ReleaseInventoryCheckResultDto 释放InventoryCheckResultDto

func ReleaseInventorySyncDto added in v1.3.4

func ReleaseInventorySyncDto(v *InventorySyncDto)

ReleaseInventorySyncDto 释放InventorySyncDto

func ReleaseInventorySyncOption added in v1.3.4

func ReleaseInventorySyncOption(v *InventorySyncOption)

ReleaseInventorySyncOption 释放InventorySyncOption

func ReleaseLocationRelationDto added in v1.3.4

func ReleaseLocationRelationDto(v *LocationRelationDto)

ReleaseLocationRelationDto 释放LocationRelationDto

func ReleasePlanInstanceInvResultDto added in v1.3.4

func ReleasePlanInstanceInvResultDto(v *PlanInstanceInvResultDto)

ReleasePlanInstanceInvResultDto 释放PlanInstanceInvResultDto

func ReleasePlanInstanceTopDto added in v1.3.4

func ReleasePlanInstanceTopDto(v *PlanInstanceTopDto)

ReleasePlanInstanceTopDto 释放PlanInstanceTopDto

func ReleasePlanInvAdjustTopDetailDto added in v1.3.4

func ReleasePlanInvAdjustTopDetailDto(v *PlanInvAdjustTopDetailDto)

ReleasePlanInvAdjustTopDetailDto 释放PlanInvAdjustTopDetailDto

func ReleasePlanInvAdjustTopDto added in v1.3.4

func ReleasePlanInvAdjustTopDto(v *PlanInvAdjustTopDto)

ReleasePlanInvAdjustTopDto 释放PlanInvAdjustTopDto

func ReleasePlanInvTopDto added in v1.3.4

func ReleasePlanInvTopDto(v *PlanInvTopDto)

ReleasePlanInvTopDto 释放PlanInvTopDto

func ReleasePlanItemRelationTopDto added in v1.3.4

func ReleasePlanItemRelationTopDto(v *PlanItemRelationTopDto)

ReleasePlanItemRelationTopDto 释放PlanItemRelationTopDto

func ReleasePlanPromiseTopDto added in v1.3.4

func ReleasePlanPromiseTopDto(v *PlanPromiseTopDto)

ReleasePlanPromiseTopDto 释放PlanPromiseTopDto

func ReleasePlanStopDetailTopDto added in v1.3.4

func ReleasePlanStopDetailTopDto(v *PlanStopDetailTopDto)

ReleasePlanStopDetailTopDto 释放PlanStopDetailTopDto

func ReleasePlanStopTopDto added in v1.3.4

func ReleasePlanStopTopDto(v *PlanStopTopDto)

ReleasePlanStopTopDto 释放PlanStopTopDto

func ReleasePlanTopDto added in v1.3.4

func ReleasePlanTopDto(v *PlanTopDto)

ReleasePlanTopDto 释放PlanTopDto

func ReleasePromiseList added in v1.3.4

func ReleasePromiseList(v *PromiseList)

ReleasePromiseList 释放PromiseList

func ReleaseRelationList added in v1.3.4

func ReleaseRelationList(v *RelationList)

ReleaseRelationList 释放RelationList

func ReleaseResultCode added in v1.3.4

func ReleaseResultCode(v *ResultCode)

ReleaseResultCode 释放ResultCode

func ReleaseSingleResult added in v1.3.4

func ReleaseSingleResult(v *SingleResult)

ReleaseSingleResult 释放SingleResult

func ReleaseStrategy added in v1.3.4

func ReleaseStrategy(v *Strategy)

ReleaseStrategy 释放Strategy

func ReleaseStrategyRuleTopDto added in v1.3.4

func ReleaseStrategyRuleTopDto(v *StrategyRuleTopDto)

ReleaseStrategyRuleTopDto 释放StrategyRuleTopDto

func ReleaseTaobaoInventoryMerchantAdjustAPIRequest added in v1.3.4

func ReleaseTaobaoInventoryMerchantAdjustAPIRequest(v *TaobaoInventoryMerchantAdjustAPIRequest)

ReleaseTaobaoInventoryMerchantAdjustAPIRequest 将 TaobaoInventoryMerchantAdjustAPIRequest 放入 sync.Pool

func ReleaseTaobaoInventoryMerchantAdjustAPIResponse added in v1.3.4

func ReleaseTaobaoInventoryMerchantAdjustAPIResponse(v *TaobaoInventoryMerchantAdjustAPIResponse)

ReleaseTaobaoInventoryMerchantAdjustAPIResponse 将 TaobaoInventoryMerchantAdjustAPIResponse 保存到 sync.Pool

func ReleaseTaobaoInventoryPlanEditAPIRequest added in v1.3.4

func ReleaseTaobaoInventoryPlanEditAPIRequest(v *TaobaoInventoryPlanEditAPIRequest)

ReleaseTaobaoInventoryPlanEditAPIRequest 将 TaobaoInventoryPlanEditAPIRequest 放入 sync.Pool

func ReleaseTaobaoInventoryPlanEditAPIResponse added in v1.3.4

func ReleaseTaobaoInventoryPlanEditAPIResponse(v *TaobaoInventoryPlanEditAPIResponse)

ReleaseTaobaoInventoryPlanEditAPIResponse 将 TaobaoInventoryPlanEditAPIResponse 保存到 sync.Pool

func ReleaseTaobaoInventoryPlanInvalidAPIRequest added in v1.3.4

func ReleaseTaobaoInventoryPlanInvalidAPIRequest(v *TaobaoInventoryPlanInvalidAPIRequest)

ReleaseTaobaoInventoryPlanInvalidAPIRequest 将 TaobaoInventoryPlanInvalidAPIRequest 放入 sync.Pool

func ReleaseTaobaoInventoryPlanInvalidAPIResponse added in v1.3.4

func ReleaseTaobaoInventoryPlanInvalidAPIResponse(v *TaobaoInventoryPlanInvalidAPIResponse)

ReleaseTaobaoInventoryPlanInvalidAPIResponse 将 TaobaoInventoryPlanInvalidAPIResponse 保存到 sync.Pool

func ReleaseTaobaoInventoryPlanQuantityIncreaseAPIRequest added in v1.3.4

func ReleaseTaobaoInventoryPlanQuantityIncreaseAPIRequest(v *TaobaoInventoryPlanQuantityIncreaseAPIRequest)

ReleaseTaobaoInventoryPlanQuantityIncreaseAPIRequest 将 TaobaoInventoryPlanQuantityIncreaseAPIRequest 放入 sync.Pool

func ReleaseTaobaoInventoryPlanQuantityIncreaseAPIResponse added in v1.3.4

func ReleaseTaobaoInventoryPlanQuantityIncreaseAPIResponse(v *TaobaoInventoryPlanQuantityIncreaseAPIResponse)

ReleaseTaobaoInventoryPlanQuantityIncreaseAPIResponse 将 TaobaoInventoryPlanQuantityIncreaseAPIResponse 保存到 sync.Pool

func ReleaseTaobaoInventoryPlanQueryAPIRequest added in v1.3.4

func ReleaseTaobaoInventoryPlanQueryAPIRequest(v *TaobaoInventoryPlanQueryAPIRequest)

ReleaseTaobaoInventoryPlanQueryAPIRequest 将 TaobaoInventoryPlanQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoInventoryPlanQueryAPIResponse added in v1.3.4

func ReleaseTaobaoInventoryPlanQueryAPIResponse(v *TaobaoInventoryPlanQueryAPIResponse)

ReleaseTaobaoInventoryPlanQueryAPIResponse 将 TaobaoInventoryPlanQueryAPIResponse 保存到 sync.Pool

func ReleaseTaobaoInventoryPlanQueryResult added in v1.3.4

func ReleaseTaobaoInventoryPlanQueryResult(v *TaobaoInventoryPlanQueryResult)

ReleaseTaobaoInventoryPlanQueryResult 释放TaobaoInventoryPlanQueryResult

func ReleaseTaobaoLocationRelationEditAPIRequest added in v1.3.4

func ReleaseTaobaoLocationRelationEditAPIRequest(v *TaobaoLocationRelationEditAPIRequest)

ReleaseTaobaoLocationRelationEditAPIRequest 将 TaobaoLocationRelationEditAPIRequest 放入 sync.Pool

func ReleaseTaobaoLocationRelationEditAPIResponse added in v1.3.4

func ReleaseTaobaoLocationRelationEditAPIResponse(v *TaobaoLocationRelationEditAPIResponse)

ReleaseTaobaoLocationRelationEditAPIResponse 将 TaobaoLocationRelationEditAPIResponse 保存到 sync.Pool

func ReleaseTaobaoLocationRelationQueryAPIRequest added in v1.3.4

func ReleaseTaobaoLocationRelationQueryAPIRequest(v *TaobaoLocationRelationQueryAPIRequest)

ReleaseTaobaoLocationRelationQueryAPIRequest 将 TaobaoLocationRelationQueryAPIRequest 放入 sync.Pool

func ReleaseTaobaoLocationRelationQueryAPIResponse added in v1.3.4

func ReleaseTaobaoLocationRelationQueryAPIResponse(v *TaobaoLocationRelationQueryAPIResponse)

ReleaseTaobaoLocationRelationQueryAPIResponse 将 TaobaoLocationRelationQueryAPIResponse 保存到 sync.Pool

Types

type AlibabaRetailDeviceInventorySyncAPIRequest added in v1.2.0

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

AlibabaRetailDeviceInventorySyncAPIRequest 库存同步接口 API请求 alibaba.retail.device.inventory.sync

商库存同步接口

func GetAlibabaRetailDeviceInventorySyncAPIRequest added in v1.3.4

func GetAlibabaRetailDeviceInventorySyncAPIRequest() *AlibabaRetailDeviceInventorySyncAPIRequest

GetAlibabaRetailDeviceInventorySyncRequest 从 sync.Pool 获取 AlibabaRetailDeviceInventorySyncAPIRequest

func NewAlibabaRetailDeviceInventorySyncRequest

func NewAlibabaRetailDeviceInventorySyncRequest() *AlibabaRetailDeviceInventorySyncAPIRequest

NewAlibabaRetailDeviceInventorySyncRequest 初始化AlibabaRetailDeviceInventorySyncAPIRequest对象

func (AlibabaRetailDeviceInventorySyncAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaRetailDeviceInventorySyncAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaRetailDeviceInventorySyncAPIRequest) GetDeviceId added in v1.2.0

GetDeviceId DeviceId Getter

func (AlibabaRetailDeviceInventorySyncAPIRequest) GetDeviceOption added in v1.2.0

GetDeviceOption DeviceOption Getter

func (AlibabaRetailDeviceInventorySyncAPIRequest) GetDeviceType added in v1.2.0

GetDeviceType DeviceType Getter

func (AlibabaRetailDeviceInventorySyncAPIRequest) GetInventoryDtos added in v1.2.0

GetInventoryDtos InventoryDtos Getter

func (AlibabaRetailDeviceInventorySyncAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaRetailDeviceInventorySyncAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaRetailDeviceInventorySyncAPIRequest) SetDeviceId added in v1.2.0

func (r *AlibabaRetailDeviceInventorySyncAPIRequest) SetDeviceId(_deviceId string) error

SetDeviceId is DeviceId Setter 设备Id

func (*AlibabaRetailDeviceInventorySyncAPIRequest) SetDeviceOption added in v1.2.0

func (r *AlibabaRetailDeviceInventorySyncAPIRequest) SetDeviceOption(_deviceOption *InventorySyncOption) error

SetDeviceOption is DeviceOption Setter 系统自动生成

func (*AlibabaRetailDeviceInventorySyncAPIRequest) SetDeviceType added in v1.2.0

func (r *AlibabaRetailDeviceInventorySyncAPIRequest) SetDeviceType(_deviceType string) error

SetDeviceType is DeviceType Setter 设备类型

func (*AlibabaRetailDeviceInventorySyncAPIRequest) SetInventoryDtos added in v1.2.0

func (r *AlibabaRetailDeviceInventorySyncAPIRequest) SetInventoryDtos(_inventoryDtos []InventorySyncDto) error

SetInventoryDtos is InventoryDtos Setter 系统自动生成

type AlibabaRetailDeviceInventorySyncAPIResponse

type AlibabaRetailDeviceInventorySyncAPIResponse struct {
	model.CommonResponse
	AlibabaRetailDeviceInventorySyncAPIResponseModel
}

AlibabaRetailDeviceInventorySyncAPIResponse 库存同步接口 API返回值 alibaba.retail.device.inventory.sync

商库存同步接口

func GetAlibabaRetailDeviceInventorySyncAPIResponse added in v1.3.4

func GetAlibabaRetailDeviceInventorySyncAPIResponse() *AlibabaRetailDeviceInventorySyncAPIResponse

GetAlibabaRetailDeviceInventorySyncAPIResponse 从 sync.Pool 获取 AlibabaRetailDeviceInventorySyncAPIResponse

func (*AlibabaRetailDeviceInventorySyncAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaRetailDeviceInventorySyncAPIResponseModel added in v1.2.0

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

AlibabaRetailDeviceInventorySyncAPIResponseModel is 库存同步接口 成功返回结果

func (*AlibabaRetailDeviceInventorySyncAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaRetailDeviceInventorySyncResult

type AlibabaRetailDeviceInventorySyncResult struct {
	// errorInfos
	ErrorInfos []ErrorInfo `json:"error_infos,omitempty" xml:"error_infos>error_info,omitempty"`
	// success
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaRetailDeviceInventorySyncResult 结构体

func GetAlibabaRetailDeviceInventorySyncResult added in v1.3.4

func GetAlibabaRetailDeviceInventorySyncResult() *AlibabaRetailDeviceInventorySyncResult

GetAlibabaRetailDeviceInventorySyncResult() 从对象池中获取AlibabaRetailDeviceInventorySyncResult

type BatchResult

type BatchResult struct {
	// 成功列表
	SuccessResultMap string `json:"success_result_map,omitempty" xml:"success_result_map,omitempty"`
	// 失败列表
	ErrorResultMap string `json:"error_result_map,omitempty" xml:"error_result_map,omitempty"`
	// 有一个失败,则整体是失败
	ResultCode *ResultCode `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

BatchResult 结构体

func GetBatchResult added in v1.3.4

func GetBatchResult() *BatchResult

GetBatchResult() 从对象池中获取BatchResult

type ErrorInfo

type ErrorInfo struct {
	// errorCode
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// subErrorCode
	SubErrorCode string `json:"sub_error_code,omitempty" xml:"sub_error_code,omitempty"`
	// errorMessage
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
}

ErrorInfo 结构体

func GetErrorInfo added in v1.3.4

func GetErrorInfo() *ErrorInfo

GetErrorInfo() 从对象池中获取ErrorInfo

type InvUnifyPlanTopQuery

type InvUnifyPlanTopQuery struct {
	// 生成计划库存的外部单据号
	PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,omitempty"`
	// 商品或者货品的id,计划建在哪,就用哪个id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// skuid。如果是货品,则skuid是0
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// item_id的类型,1是前端宝贝,2是后端货品
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
}

InvUnifyPlanTopQuery 结构体

func GetInvUnifyPlanTopQuery added in v1.3.4

func GetInvUnifyPlanTopQuery() *InvUnifyPlanTopQuery

GetInvUnifyPlanTopQuery() 从对象池中获取InvUnifyPlanTopQuery

type InvUnifyPlanTopQuerys

type InvUnifyPlanTopQuerys struct {
	// 查询入参
	PlanQueryList []InvUnifyPlanTopQuery `json:"plan_query_list,omitempty" xml:"plan_query_list>inv_unify_plan_top_query,omitempty"`
}

InvUnifyPlanTopQuerys 结构体

func GetInvUnifyPlanTopQuerys added in v1.3.4

func GetInvUnifyPlanTopQuerys() *InvUnifyPlanTopQuerys

GetInvUnifyPlanTopQuerys() 从对象池中获取InvUnifyPlanTopQuerys

type InventoryCheckDetailDto

type InventoryCheckDetailDto struct {
	// 如果是门店类型,则为必填。 ONLINE_INVENTORY  线上可售库存,  SHARE_INVENTORY 线下可售库存
	InvBizCode string `json:"inv_biz_code,omitempty" xml:"inv_biz_code,omitempty"`
	// 每个货品的调整子单据号,作为业务调整依据,处理时会根据此单据号作幂
	SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 调整数量,正数盘盈,负数盘亏
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 若为货品仓库存,则此处是货品ID 若为商品直接设置仓库存,则此处是商品ID, 若商品带SKU,还需要补充skuId
	ScItemId int64 `json:"sc_item_id,omitempty" xml:"sc_item_id,omitempty"`
	// 调整商品对应的SKUID,如果商品为货品,则为0
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

InventoryCheckDetailDto 结构体

func GetInventoryCheckDetailDto added in v1.3.4

func GetInventoryCheckDetailDto() *InventoryCheckDetailDto

GetInventoryCheckDetailDto() 从对象池中获取InventoryCheckDetailDto

type InventoryCheckDto

type InventoryCheckDto struct {
	// 调整明细
	DetailList []InventoryCheckDetailDto `json:"detail_list,omitempty" xml:"detail_list>inventory_check_detail_dto,omitempty"`
	// 仓库code或者门店id
	StoreCode string `json:"store_code,omitempty" xml:"store_code,omitempty"`
	// 调整单据号
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 1:全量更新   2: 出入库盘盈盘亏
	CheckMode int64 `json:"check_mode,omitempty" xml:"check_mode,omitempty"`
	// 2: 仓库类型   6:门店类型
	InvStoreType int64 `json:"inv_store_type,omitempty" xml:"inv_store_type,omitempty"`
}

InventoryCheckDto 结构体

func GetInventoryCheckDto added in v1.3.4

func GetInventoryCheckDto() *InventoryCheckDto

GetInventoryCheckDto() 从对象池中获取InventoryCheckDto

type InventoryCheckResultDto

type InventoryCheckResultDto struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 每个货品的调整子单据号,作为业务调整依据,处理时会幂等
	SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"`
	// 每个子调整单据是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

InventoryCheckResultDto 结构体

func GetInventoryCheckResultDto added in v1.3.4

func GetInventoryCheckResultDto() *InventoryCheckResultDto

GetInventoryCheckResultDto() 从对象池中获取InventoryCheckResultDto

type InventorySyncDto added in v1.2.0

type InventorySyncDto struct {
	// 商品ID
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 库存数量
	ItemAmount int64 `json:"item_amount,omitempty" xml:"item_amount,omitempty"`
}

InventorySyncDto 结构体

func GetInventorySyncDto added in v1.3.4

func GetInventorySyncDto() *InventorySyncDto

GetInventorySyncDto() 从对象池中获取InventorySyncDto

type InventorySyncOption

type InventorySyncOption struct {
	// 业务
	BizName string `json:"biz_name,omitempty" xml:"biz_name,omitempty"`
}

InventorySyncOption 结构体

func GetInventorySyncOption added in v1.3.4

func GetInventorySyncOption() *InventorySyncOption

GetInventorySyncOption() 从对象池中获取InventorySyncOption

type LocationRelationDto

type LocationRelationDto struct {
	// 实体code
	TargetStoreCode string `json:"target_store_code,omitempty" xml:"target_store_code,omitempty"`
	// 实体code
	SourceStoreCode string `json:"source_store_code,omitempty" xml:"source_store_code,omitempty"`
	// 状态  0 正常  -1 删除
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 实体类型 2:仓库 6:门店
	TargetInvStoreType int64 `json:"target_inv_store_type,omitempty" xml:"target_inv_store_type,omitempty"`
	// 实体类型 2:仓库 6:门店
	SourceInvStoreType int64 `json:"source_inv_store_type,omitempty" xml:"source_inv_store_type,omitempty"`
}

LocationRelationDto 结构体

func GetLocationRelationDto added in v1.3.4

func GetLocationRelationDto() *LocationRelationDto

GetLocationRelationDto() 从对象池中获取LocationRelationDto

type PlanInstanceInvResultDto

type PlanInstanceInvResultDto struct {
	// 计划的履约仓信息
	PromiseList []PlanPromiseTopDto `json:"promise_list,omitempty" xml:"promise_list>plan_promise_top_dto,omitempty"`
	// 计划生效的前端宝贝列表,如果是货品关联的所有前端都生效,则这个对象是空
	RelationList []PlanItemRelationTopDto `json:"relation_list,omitempty" xml:"relation_list>plan_item_relation_top_dto,omitempty"`
	// 计划的开始销售时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 计划的结束销售时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 生成计划库存的外部单据号
	PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,omitempty"`
	// 品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 品类型,1是前端宝贝,2是后端货品
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// skuid
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 当前计划的实时剩余可售数量
	SellableQuantity int64 `json:"sellable_quantity,omitempty" xml:"sellable_quantity,omitempty"`
	// 当前计划的实时预扣数量
	WithholdingQuantity int64 `json:"withholding_quantity,omitempty" xml:"withholding_quantity,omitempty"`
	// 当前计划的实时占用数量
	OccupyQuantity int64 `json:"occupy_quantity,omitempty" xml:"occupy_quantity,omitempty"`
	// 策略
	Strategy *StrategyRuleTopDto `json:"strategy,omitempty" xml:"strategy,omitempty"`
	// 计划id,平台内为planOrderId生成的计划id
	PlanInstanceId int64 `json:"plan_instance_id,omitempty" xml:"plan_instance_id,omitempty"`
	// 最后一次全量设置的计划库存值。如果是增量编辑库存,settingQuantity不会变。这个值仅做参考,主要看前面的实时剩余可售数量sellable_quantity
	SettingQuantity int64 `json:"setting_quantity,omitempty" xml:"setting_quantity,omitempty"`
}

PlanInstanceInvResultDto 结构体

func GetPlanInstanceInvResultDto added in v1.3.4

func GetPlanInstanceInvResultDto() *PlanInstanceInvResultDto

GetPlanInstanceInvResultDto() 从对象池中获取PlanInstanceInvResultDto

type PlanInstanceTopDto

type PlanInstanceTopDto struct {
	// 服务承诺信息
	PromiseList []PromiseList `json:"promise_list,omitempty" xml:"promise_list>promise_list,omitempty"`
	// 计划库存生效的宝贝范围。对于品的后端货品情况下,才有可能设置,设置后在这个范围的宝贝才能使用计划库存。也可以不设置,代表后端货品关联的所有宝贝都生效。
	RelationList []RelationList `json:"relation_list,omitempty" xml:"relation_list>relation_list,omitempty"`
	// 计划库存销售开始时间,年月日时分秒
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 计划库存销售结束时间,年月日时分秒
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 外部商家系统单据号,用于生成计划库存的业务来源
	PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,omitempty"`
	// 操作码,用于幂等验证
	OperateCode string `json:"operate_code,omitempty" xml:"operate_code,omitempty"`
	// 设置的库存类型,0-全量覆盖,1-增量处理
	QuantityOpType int64 `json:"quantity_op_type,omitempty" xml:"quantity_op_type,omitempty"`
	// 销售策略
	Strategy *Strategy `json:"strategy,omitempty" xml:"strategy,omitempty"`
	// 设置的库存值
	SettingQuantity int64 `json:"setting_quantity,omitempty" xml:"setting_quantity,omitempty"`
}

PlanInstanceTopDto 结构体

func GetPlanInstanceTopDto added in v1.3.4

func GetPlanInstanceTopDto() *PlanInstanceTopDto

GetPlanInstanceTopDto() 从对象池中获取PlanInstanceTopDto

type PlanInvAdjustTopDetailDto

type PlanInvAdjustTopDetailDto struct {
	// 操作码,用于幂等验证
	OperateCode string `json:"operate_code,omitempty" xml:"operate_code,omitempty"`
	// 外部商家系统单据号,用于定位计划库存的业务来源
	PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,omitempty"`
	// 要调整的库存值,负数代表调低库存,正数代表调高库存
	AdjustQuantity int64 `json:"adjust_quantity,omitempty" xml:"adjust_quantity,omitempty"`
}

PlanInvAdjustTopDetailDto 结构体

func GetPlanInvAdjustTopDetailDto added in v1.3.4

func GetPlanInvAdjustTopDetailDto() *PlanInvAdjustTopDetailDto

GetPlanInvAdjustTopDetailDto() 从对象池中获取PlanInvAdjustTopDetailDto

type PlanInvAdjustTopDto

type PlanInvAdjustTopDto struct {
	// 计划库存增量编辑的详细信息
	AdjustDetailList []PlanInvAdjustTopDetailDto `json:"adjust_detail_list,omitempty" xml:"adjust_detail_list>plan_inv_adjust_top_detail_dto,omitempty"`
	// 品id,前端宝贝id,或者后端货品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 品的类型,1-前端宝贝,2-后端货品
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 设置计划的品的skuid。对于货品,是0.
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

PlanInvAdjustTopDto 结构体

func GetPlanInvAdjustTopDto added in v1.3.4

func GetPlanInvAdjustTopDto() *PlanInvAdjustTopDto

GetPlanInvAdjustTopDto() 从对象池中获取PlanInvAdjustTopDto

type PlanInvTopDto

type PlanInvTopDto struct {
	// 实例列表
	PlanInstanceInvList []PlanInstanceInvResultDto `json:"plan_instance_inv_list,omitempty" xml:"plan_instance_inv_list>plan_instance_inv_result_dto,omitempty"`
}

PlanInvTopDto 结构体

func GetPlanInvTopDto added in v1.3.4

func GetPlanInvTopDto() *PlanInvTopDto

GetPlanInvTopDto() 从对象池中获取PlanInvTopDto

type PlanItemRelationTopDto

type PlanItemRelationTopDto struct {
	// 计划生效的itemid
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 计划生效的skuid
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

PlanItemRelationTopDto 结构体

func GetPlanItemRelationTopDto added in v1.3.4

func GetPlanItemRelationTopDto() *PlanItemRelationTopDto

GetPlanItemRelationTopDto() 从对象池中获取PlanItemRelationTopDto

type PlanPromiseTopDto

type PlanPromiseTopDto struct {
	// 仓code
	PerformStore string `json:"perform_store,omitempty" xml:"perform_store,omitempty"`
	// 履约时间,如绝对时间 2021-03-11 ,或者相对时间 2
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 履约时间类型,0 是绝对时间,年月日;1是相对时间
	DeliveryType int64 `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
}

PlanPromiseTopDto 结构体

func GetPlanPromiseTopDto added in v1.3.4

func GetPlanPromiseTopDto() *PlanPromiseTopDto

GetPlanPromiseTopDto() 从对象池中获取PlanPromiseTopDto

type PlanStopDetailTopDto

type PlanStopDetailTopDto struct {
	// 外部商家系统单据号,用于生成计划库存的业务来源
	PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,omitempty"`
	// 操作码
	OperateCode string `json:"operate_code,omitempty" xml:"operate_code,omitempty"`
}

PlanStopDetailTopDto 结构体

func GetPlanStopDetailTopDto added in v1.3.4

func GetPlanStopDetailTopDto() *PlanStopDetailTopDto

GetPlanStopDetailTopDto() 从对象池中获取PlanStopDetailTopDto

type PlanStopTopDto

type PlanStopTopDto struct {
	// 要失效的计划库存的详情
	PlanDetailList []PlanStopDetailTopDto `json:"plan_detail_list,omitempty" xml:"plan_detail_list>plan_stop_detail_top_dto,omitempty"`
	// 品id,前端宝贝id,或者后端货品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 品的类型,1-前端宝贝,2-后端货品
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 设置计划的品的skuid。对于货品,是0.
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

PlanStopTopDto 结构体

func GetPlanStopTopDto added in v1.3.4

func GetPlanStopTopDto() *PlanStopTopDto

GetPlanStopTopDto() 从对象池中获取PlanStopTopDto

type PlanTopDto

type PlanTopDto struct {
	// 计划详情
	PlanInstanceList []PlanInstanceTopDto `json:"plan_instance_list,omitempty" xml:"plan_instance_list>plan_instance_top_dto,omitempty"`
	// 品id,前端宝贝id,或者后端货品id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 品的类型,1-前端宝贝,2-后端货品
	ItemType int64 `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 设置计划的品的skuid。对于货品,是0.
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

PlanTopDto 结构体

func GetPlanTopDto added in v1.3.4

func GetPlanTopDto() *PlanTopDto

GetPlanTopDto() 从对象池中获取PlanTopDto

type PromiseList

type PromiseList struct {
	// 服务时效信息,发货时间比如2020-01-26;相对时间比如3,代表付款后3天内发货
	DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"`
	// 履约仓code
	PerformStore string `json:"perform_store,omitempty" xml:"perform_store,omitempty"`
	// 发货时间类型,0-绝对时间,1-相对时间
	DeliveryType int64 `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
}

PromiseList 结构体

func GetPromiseList added in v1.3.4

func GetPromiseList() *PromiseList

GetPromiseList() 从对象池中获取PromiseList

type RelationList

type RelationList struct {
	// 生效的前端宝贝id
	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 生效的前端宝贝的skuid
	SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
}

RelationList 结构体

func GetRelationList added in v1.3.4

func GetRelationList() *RelationList

GetRelationList() 从对象池中获取RelationList

type ResultCode

type ResultCode struct {
	// 结果描述
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 结果码
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 结果id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

ResultCode 结构体

func GetResultCode added in v1.3.4

func GetResultCode() *ResultCode

GetResultCode() 从对象池中获取ResultCode

type SingleResult

type SingleResult struct {
	// data
	AdjustResults []InventoryCheckResultDto `json:"adjust_results,omitempty" xml:"adjust_results>inventory_check_result_dto,omitempty"`
	// 地点关系
	LocationRelationList []LocationRelationDto `json:"location_relation_list,omitempty" xml:"location_relation_list>location_relation_dto,omitempty"`
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 如果是失败,可能是部分失败。如果是成功,则全部成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

SingleResult 结构体

func GetSingleResult added in v1.3.4

func GetSingleResult() *SingleResult

GetSingleResult() 从对象池中获取SingleResult

type Strategy

type Strategy struct {
	// 具体的销售策略,1-先现货库存,后计划库存;2-仅计划库存
	RuleType int64 `json:"rule_type,omitempty" xml:"rule_type,omitempty"`
	// 组合货品情况下,是否支持部分子品现货部分子品计划库存可以进行组合。如果不设置,则都是现货库存,或者都是计划库存才能进行组合
	CombSupport bool `json:"comb_support,omitempty" xml:"comb_support,omitempty"`
}

Strategy 结构体

func GetStrategy added in v1.3.4

func GetStrategy() *Strategy

GetStrategy() 从对象池中获取Strategy

type StrategyRuleTopDto

type StrategyRuleTopDto struct {
	// 1,代表先现货后计划库存;2代表仅卖计划库存
	RuleType int64 `json:"rule_type,omitempty" xml:"rule_type,omitempty"`
	// 是否支持组合情况下,一部分子品用现货,一部分子品用计划库存。true代表支持,空或者false代表  子品都要同类型的库存才能组合起来
	CombSupport bool `json:"comb_support,omitempty" xml:"comb_support,omitempty"`
}

StrategyRuleTopDto 结构体

func GetStrategyRuleTopDto added in v1.3.4

func GetStrategyRuleTopDto() *StrategyRuleTopDto

GetStrategyRuleTopDto() 从对象池中获取StrategyRuleTopDto

type TaobaoInventoryMerchantAdjustAPIRequest added in v1.2.0

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

TaobaoInventoryMerchantAdjustAPIRequest 货品库存商家端调整 API请求 taobao.inventory.merchant.adjust

货品库存商家端调整 ,入库,出库,盘点

func GetTaobaoInventoryMerchantAdjustAPIRequest added in v1.3.4

func GetTaobaoInventoryMerchantAdjustAPIRequest() *TaobaoInventoryMerchantAdjustAPIRequest

GetTaobaoInventoryMerchantAdjustRequest 从 sync.Pool 获取 TaobaoInventoryMerchantAdjustAPIRequest

func NewTaobaoInventoryMerchantAdjustRequest

func NewTaobaoInventoryMerchantAdjustRequest() *TaobaoInventoryMerchantAdjustAPIRequest

NewTaobaoInventoryMerchantAdjustRequest 初始化TaobaoInventoryMerchantAdjustAPIRequest对象

func (TaobaoInventoryMerchantAdjustAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoInventoryMerchantAdjustAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoInventoryMerchantAdjustAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoInventoryMerchantAdjustAPIRequest) GetInventoryCheck added in v1.2.0

GetInventoryCheck InventoryCheck Getter

func (TaobaoInventoryMerchantAdjustAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoInventoryMerchantAdjustAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoInventoryMerchantAdjustAPIRequest) SetInventoryCheck added in v1.2.0

func (r *TaobaoInventoryMerchantAdjustAPIRequest) SetInventoryCheck(_inventoryCheck *InventoryCheckDto) error

SetInventoryCheck is InventoryCheck Setter 调整库存对象

type TaobaoInventoryMerchantAdjustAPIResponse

type TaobaoInventoryMerchantAdjustAPIResponse struct {
	model.CommonResponse
	TaobaoInventoryMerchantAdjustAPIResponseModel
}

TaobaoInventoryMerchantAdjustAPIResponse 货品库存商家端调整 API返回值 taobao.inventory.merchant.adjust

货品库存商家端调整 ,入库,出库,盘点

func GetTaobaoInventoryMerchantAdjustAPIResponse added in v1.3.4

func GetTaobaoInventoryMerchantAdjustAPIResponse() *TaobaoInventoryMerchantAdjustAPIResponse

GetTaobaoInventoryMerchantAdjustAPIResponse 从 sync.Pool 获取 TaobaoInventoryMerchantAdjustAPIResponse

func (*TaobaoInventoryMerchantAdjustAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryMerchantAdjustAPIResponseModel added in v1.2.0

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

TaobaoInventoryMerchantAdjustAPIResponseModel is 货品库存商家端调整 成功返回结果

func (*TaobaoInventoryMerchantAdjustAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanEditAPIRequest added in v1.2.0

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

TaobaoInventoryPlanEditAPIRequest 设置计划库存 API请求 taobao.inventory.plan.edit

初始化计划库存,或者编辑已经存在的计划库存

func GetTaobaoInventoryPlanEditAPIRequest added in v1.3.4

func GetTaobaoInventoryPlanEditAPIRequest() *TaobaoInventoryPlanEditAPIRequest

GetTaobaoInventoryPlanEditRequest 从 sync.Pool 获取 TaobaoInventoryPlanEditAPIRequest

func NewTaobaoInventoryPlanEditRequest

func NewTaobaoInventoryPlanEditRequest() *TaobaoInventoryPlanEditAPIRequest

NewTaobaoInventoryPlanEditRequest 初始化TaobaoInventoryPlanEditAPIRequest对象

func (TaobaoInventoryPlanEditAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoInventoryPlanEditAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoInventoryPlanEditAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoInventoryPlanEditAPIRequest) GetPlanTop added in v1.2.0

GetPlanTop PlanTop Getter

func (TaobaoInventoryPlanEditAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoInventoryPlanEditAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoInventoryPlanEditAPIRequest) SetPlanTop added in v1.2.0

func (r *TaobaoInventoryPlanEditAPIRequest) SetPlanTop(_planTop *PlanTopDto) error

SetPlanTop is PlanTop Setter 计划库存设置入参

type TaobaoInventoryPlanEditAPIResponse

type TaobaoInventoryPlanEditAPIResponse struct {
	model.CommonResponse
	TaobaoInventoryPlanEditAPIResponseModel
}

TaobaoInventoryPlanEditAPIResponse 设置计划库存 API返回值 taobao.inventory.plan.edit

初始化计划库存,或者编辑已经存在的计划库存

func GetTaobaoInventoryPlanEditAPIResponse added in v1.3.4

func GetTaobaoInventoryPlanEditAPIResponse() *TaobaoInventoryPlanEditAPIResponse

GetTaobaoInventoryPlanEditAPIResponse 从 sync.Pool 获取 TaobaoInventoryPlanEditAPIResponse

func (*TaobaoInventoryPlanEditAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanEditAPIResponseModel added in v1.2.0

type TaobaoInventoryPlanEditAPIResponseModel struct {
	XMLName xml.Name `xml:"inventory_plan_edit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 批量返回结果
	Result *BatchResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoInventoryPlanEditAPIResponseModel is 设置计划库存 成功返回结果

func (*TaobaoInventoryPlanEditAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanInvalidAPIRequest added in v1.2.0

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

TaobaoInventoryPlanInvalidAPIRequest 失效计划库存 API请求 taobao.inventory.plan.invalid

计划库存的失效服务

func GetTaobaoInventoryPlanInvalidAPIRequest added in v1.3.4

func GetTaobaoInventoryPlanInvalidAPIRequest() *TaobaoInventoryPlanInvalidAPIRequest

GetTaobaoInventoryPlanInvalidRequest 从 sync.Pool 获取 TaobaoInventoryPlanInvalidAPIRequest

func NewTaobaoInventoryPlanInvalidRequest

func NewTaobaoInventoryPlanInvalidRequest() *TaobaoInventoryPlanInvalidAPIRequest

NewTaobaoInventoryPlanInvalidRequest 初始化TaobaoInventoryPlanInvalidAPIRequest对象

func (TaobaoInventoryPlanInvalidAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoInventoryPlanInvalidAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoInventoryPlanInvalidAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoInventoryPlanInvalidAPIRequest) GetPlanStopTop added in v1.2.0

GetPlanStopTop PlanStopTop Getter

func (TaobaoInventoryPlanInvalidAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoInventoryPlanInvalidAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoInventoryPlanInvalidAPIRequest) SetPlanStopTop added in v1.2.0

func (r *TaobaoInventoryPlanInvalidAPIRequest) SetPlanStopTop(_planStopTop *PlanStopTopDto) error

SetPlanStopTop is PlanStopTop Setter 计划库存失效入参

type TaobaoInventoryPlanInvalidAPIResponse

type TaobaoInventoryPlanInvalidAPIResponse struct {
	model.CommonResponse
	TaobaoInventoryPlanInvalidAPIResponseModel
}

TaobaoInventoryPlanInvalidAPIResponse 失效计划库存 API返回值 taobao.inventory.plan.invalid

计划库存的失效服务

func GetTaobaoInventoryPlanInvalidAPIResponse added in v1.3.4

func GetTaobaoInventoryPlanInvalidAPIResponse() *TaobaoInventoryPlanInvalidAPIResponse

GetTaobaoInventoryPlanInvalidAPIResponse 从 sync.Pool 获取 TaobaoInventoryPlanInvalidAPIResponse

func (*TaobaoInventoryPlanInvalidAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanInvalidAPIResponseModel added in v1.2.0

type TaobaoInventoryPlanInvalidAPIResponseModel struct {
	XMLName xml.Name `xml:"inventory_plan_invalid_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 批量返回结果
	Result *BatchResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoInventoryPlanInvalidAPIResponseModel is 失效计划库存 成功返回结果

func (*TaobaoInventoryPlanInvalidAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanQuantityIncreaseAPIRequest added in v1.2.0

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

TaobaoInventoryPlanQuantityIncreaseAPIRequest 计划库存的增量编辑 API请求 taobao.inventory.plan.quantity.increase

计划库存的增量编辑

func GetTaobaoInventoryPlanQuantityIncreaseAPIRequest added in v1.3.4

func GetTaobaoInventoryPlanQuantityIncreaseAPIRequest() *TaobaoInventoryPlanQuantityIncreaseAPIRequest

GetTaobaoInventoryPlanQuantityIncreaseRequest 从 sync.Pool 获取 TaobaoInventoryPlanQuantityIncreaseAPIRequest

func NewTaobaoInventoryPlanQuantityIncreaseRequest

func NewTaobaoInventoryPlanQuantityIncreaseRequest() *TaobaoInventoryPlanQuantityIncreaseAPIRequest

NewTaobaoInventoryPlanQuantityIncreaseRequest 初始化TaobaoInventoryPlanQuantityIncreaseAPIRequest对象

func (TaobaoInventoryPlanQuantityIncreaseAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoInventoryPlanQuantityIncreaseAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoInventoryPlanQuantityIncreaseAPIRequest) GetPlanInvAdjustTop added in v1.2.0

GetPlanInvAdjustTop PlanInvAdjustTop Getter

func (TaobaoInventoryPlanQuantityIncreaseAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoInventoryPlanQuantityIncreaseAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoInventoryPlanQuantityIncreaseAPIRequest) SetPlanInvAdjustTop added in v1.2.0

func (r *TaobaoInventoryPlanQuantityIncreaseAPIRequest) SetPlanInvAdjustTop(_planInvAdjustTop *PlanInvAdjustTopDto) error

SetPlanInvAdjustTop is PlanInvAdjustTop Setter 增量编辑计划库存入参

type TaobaoInventoryPlanQuantityIncreaseAPIResponse

type TaobaoInventoryPlanQuantityIncreaseAPIResponse struct {
	model.CommonResponse
	TaobaoInventoryPlanQuantityIncreaseAPIResponseModel
}

TaobaoInventoryPlanQuantityIncreaseAPIResponse 计划库存的增量编辑 API返回值 taobao.inventory.plan.quantity.increase

计划库存的增量编辑

func GetTaobaoInventoryPlanQuantityIncreaseAPIResponse added in v1.3.4

func GetTaobaoInventoryPlanQuantityIncreaseAPIResponse() *TaobaoInventoryPlanQuantityIncreaseAPIResponse

GetTaobaoInventoryPlanQuantityIncreaseAPIResponse 从 sync.Pool 获取 TaobaoInventoryPlanQuantityIncreaseAPIResponse

func (*TaobaoInventoryPlanQuantityIncreaseAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanQuantityIncreaseAPIResponseModel added in v1.2.0

type TaobaoInventoryPlanQuantityIncreaseAPIResponseModel struct {
	XMLName xml.Name `xml:"inventory_plan_quantity_increase_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 批量返回结果
	Result *BatchResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoInventoryPlanQuantityIncreaseAPIResponseModel is 计划库存的增量编辑 成功返回结果

func (*TaobaoInventoryPlanQuantityIncreaseAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanQueryAPIRequest added in v1.2.0

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

TaobaoInventoryPlanQueryAPIRequest 计划库存查询 API请求 taobao.inventory.plan.query

计划库存查询

func GetTaobaoInventoryPlanQueryAPIRequest added in v1.3.4

func GetTaobaoInventoryPlanQueryAPIRequest() *TaobaoInventoryPlanQueryAPIRequest

GetTaobaoInventoryPlanQueryRequest 从 sync.Pool 获取 TaobaoInventoryPlanQueryAPIRequest

func NewTaobaoInventoryPlanQueryRequest

func NewTaobaoInventoryPlanQueryRequest() *TaobaoInventoryPlanQueryAPIRequest

NewTaobaoInventoryPlanQueryRequest 初始化TaobaoInventoryPlanQueryAPIRequest对象

func (TaobaoInventoryPlanQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoInventoryPlanQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoInventoryPlanQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoInventoryPlanQueryAPIRequest) GetParam added in v1.2.0

GetParam Param Getter

func (TaobaoInventoryPlanQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoInventoryPlanQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoInventoryPlanQueryAPIRequest) SetParam added in v1.2.0

SetParam is Param Setter 计划库存查询入参

type TaobaoInventoryPlanQueryAPIResponse

type TaobaoInventoryPlanQueryAPIResponse struct {
	model.CommonResponse
	TaobaoInventoryPlanQueryAPIResponseModel
}

TaobaoInventoryPlanQueryAPIResponse 计划库存查询 API返回值 taobao.inventory.plan.query

计划库存查询

func GetTaobaoInventoryPlanQueryAPIResponse added in v1.3.4

func GetTaobaoInventoryPlanQueryAPIResponse() *TaobaoInventoryPlanQueryAPIResponse

GetTaobaoInventoryPlanQueryAPIResponse 从 sync.Pool 获取 TaobaoInventoryPlanQueryAPIResponse

func (*TaobaoInventoryPlanQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanQueryAPIResponseModel added in v1.2.0

type TaobaoInventoryPlanQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"inventory_plan_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *TaobaoInventoryPlanQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoInventoryPlanQueryAPIResponseModel is 计划库存查询 成功返回结果

func (*TaobaoInventoryPlanQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoInventoryPlanQueryResult

type TaobaoInventoryPlanQueryResult struct {
	// 返回的对象
	Data *PlanInvTopDto `json:"data,omitempty" xml:"data,omitempty"`
	// 返回结果码
	ResultCode *ResultCode `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TaobaoInventoryPlanQueryResult 结构体

func GetTaobaoInventoryPlanQueryResult added in v1.3.4

func GetTaobaoInventoryPlanQueryResult() *TaobaoInventoryPlanQueryResult

GetTaobaoInventoryPlanQueryResult() 从对象池中获取TaobaoInventoryPlanQueryResult

type TaobaoLocationRelationEditAPIRequest added in v1.2.0

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

TaobaoLocationRelationEditAPIRequest 地点关联关系增量编辑 API请求 taobao.location.relation.edit

地点关联关系增量编辑

func GetTaobaoLocationRelationEditAPIRequest added in v1.3.4

func GetTaobaoLocationRelationEditAPIRequest() *TaobaoLocationRelationEditAPIRequest

GetTaobaoLocationRelationEditRequest 从 sync.Pool 获取 TaobaoLocationRelationEditAPIRequest

func NewTaobaoLocationRelationEditRequest

func NewTaobaoLocationRelationEditRequest() *TaobaoLocationRelationEditAPIRequest

NewTaobaoLocationRelationEditRequest 初始化TaobaoLocationRelationEditAPIRequest对象

func (TaobaoLocationRelationEditAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoLocationRelationEditAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLocationRelationEditAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLocationRelationEditAPIRequest) GetLocationRelationList added in v1.2.0

func (r TaobaoLocationRelationEditAPIRequest) GetLocationRelationList() []LocationRelationDto

GetLocationRelationList LocationRelationList Getter

func (TaobaoLocationRelationEditAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLocationRelationEditAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoLocationRelationEditAPIRequest) SetLocationRelationList added in v1.2.0

func (r *TaobaoLocationRelationEditAPIRequest) SetLocationRelationList(_locationRelationList []LocationRelationDto) error

SetLocationRelationList is LocationRelationList Setter 关系对象列表

type TaobaoLocationRelationEditAPIResponse

type TaobaoLocationRelationEditAPIResponse struct {
	model.CommonResponse
	TaobaoLocationRelationEditAPIResponseModel
}

TaobaoLocationRelationEditAPIResponse 地点关联关系增量编辑 API返回值 taobao.location.relation.edit

地点关联关系增量编辑

func GetTaobaoLocationRelationEditAPIResponse added in v1.3.4

func GetTaobaoLocationRelationEditAPIResponse() *TaobaoLocationRelationEditAPIResponse

GetTaobaoLocationRelationEditAPIResponse 从 sync.Pool 获取 TaobaoLocationRelationEditAPIResponse

func (*TaobaoLocationRelationEditAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoLocationRelationEditAPIResponseModel added in v1.2.0

type TaobaoLocationRelationEditAPIResponseModel struct {
	XMLName xml.Name `xml:"location_relation_edit_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 错误码
	Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

TaobaoLocationRelationEditAPIResponseModel is 地点关联关系增量编辑 成功返回结果

func (*TaobaoLocationRelationEditAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoLocationRelationQueryAPIRequest added in v1.2.0

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

TaobaoLocationRelationQueryAPIRequest 地点关联关系查询 API请求 taobao.location.relation.query

地点关联关系查询 门店和仓库关联关系查询

func GetTaobaoLocationRelationQueryAPIRequest added in v1.3.4

func GetTaobaoLocationRelationQueryAPIRequest() *TaobaoLocationRelationQueryAPIRequest

GetTaobaoLocationRelationQueryRequest 从 sync.Pool 获取 TaobaoLocationRelationQueryAPIRequest

func NewTaobaoLocationRelationQueryRequest

func NewTaobaoLocationRelationQueryRequest() *TaobaoLocationRelationQueryAPIRequest

NewTaobaoLocationRelationQueryRequest 初始化TaobaoLocationRelationQueryAPIRequest对象

func (TaobaoLocationRelationQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoLocationRelationQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoLocationRelationQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoLocationRelationQueryAPIRequest) GetLocationRelation added in v1.2.0

GetLocationRelation LocationRelation Getter

func (TaobaoLocationRelationQueryAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoLocationRelationQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoLocationRelationQueryAPIRequest) SetLocationRelation added in v1.2.0

func (r *TaobaoLocationRelationQueryAPIRequest) SetLocationRelation(_locationRelation *LocationRelationDto) error

SetLocationRelation is LocationRelation Setter 关系查询

type TaobaoLocationRelationQueryAPIResponse

type TaobaoLocationRelationQueryAPIResponse struct {
	model.CommonResponse
	TaobaoLocationRelationQueryAPIResponseModel
}

TaobaoLocationRelationQueryAPIResponse 地点关联关系查询 API返回值 taobao.location.relation.query

地点关联关系查询 门店和仓库关联关系查询

func GetTaobaoLocationRelationQueryAPIResponse added in v1.3.4

func GetTaobaoLocationRelationQueryAPIResponse() *TaobaoLocationRelationQueryAPIResponse

GetTaobaoLocationRelationQueryAPIResponse 从 sync.Pool 获取 TaobaoLocationRelationQueryAPIResponse

func (*TaobaoLocationRelationQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoLocationRelationQueryAPIResponseModel added in v1.2.0

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

TaobaoLocationRelationQueryAPIResponseModel is 地点关联关系查询 成功返回结果

func (*TaobaoLocationRelationQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

Jump to

Keyboard shortcuts

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