Documentation
¶
Index ¶
- type AlibabaRetailDeviceInventorySyncAPIResponse
- type AlibabaRetailDeviceInventorySyncRequest
- func (r AlibabaRetailDeviceInventorySyncRequest) GetApiMethodName() string
- func (r AlibabaRetailDeviceInventorySyncRequest) GetApiParams() url.Values
- func (r AlibabaRetailDeviceInventorySyncRequest) GetDeviceId() string
- func (r AlibabaRetailDeviceInventorySyncRequest) GetDeviceOption() *InventorySyncOption
- func (r AlibabaRetailDeviceInventorySyncRequest) GetDeviceType() string
- func (r AlibabaRetailDeviceInventorySyncRequest) GetInventoryDtos() []InventorySyncDTO
- func (r *AlibabaRetailDeviceInventorySyncRequest) SetDeviceId(deviceId string) error
- func (r *AlibabaRetailDeviceInventorySyncRequest) SetDeviceOption(deviceOption *InventorySyncOption) error
- func (r *AlibabaRetailDeviceInventorySyncRequest) SetDeviceType(deviceType string) error
- func (r *AlibabaRetailDeviceInventorySyncRequest) SetInventoryDtos(inventoryDtos []InventorySyncDTO) error
- type AlibabaRetailDeviceInventorySyncResponse
- type AlibabaRetailDeviceInventorySyncResult
- type BatchResult
- type ErrorInfo
- type InvUnifyPlanTopQuery
- type InvUnifyPlanTopQuerys
- type InventoryCheckDetailDto
- type InventoryCheckDto
- type InventoryCheckResultDto
- type InventorySyncDTO
- type InventorySyncOption
- type LocationRelationDto
- type PlanInstanceInvResultDto
- type PlanInstanceTopDto
- type PlanInvAdjustTopDetailDto
- type PlanInvAdjustTopDto
- type PlanInvTopDto
- type PlanItemRelationTopDto
- type PlanPromiseTopDto
- type PlanStopDetailTopDto
- type PlanStopTopDto
- type PlanTopDto
- type PromiseList
- type RelationList
- type ResultCode
- type SingleResult
- type Strategy
- type StrategyRuleTopDto
- type TaobaoInventoryMerchantAdjustAPIResponse
- type TaobaoInventoryMerchantAdjustRequest
- func (r TaobaoInventoryMerchantAdjustRequest) GetApiMethodName() string
- func (r TaobaoInventoryMerchantAdjustRequest) GetApiParams() url.Values
- func (r TaobaoInventoryMerchantAdjustRequest) GetInventoryCheck() *InventoryCheckDto
- func (r *TaobaoInventoryMerchantAdjustRequest) SetInventoryCheck(inventoryCheck *InventoryCheckDto) error
- type TaobaoInventoryMerchantAdjustResponse
- type TaobaoInventoryPlanEditAPIResponse
- type TaobaoInventoryPlanEditRequest
- type TaobaoInventoryPlanEditResponse
- type TaobaoInventoryPlanInvalidAPIResponse
- type TaobaoInventoryPlanInvalidRequest
- func (r TaobaoInventoryPlanInvalidRequest) GetApiMethodName() string
- func (r TaobaoInventoryPlanInvalidRequest) GetApiParams() url.Values
- func (r TaobaoInventoryPlanInvalidRequest) GetPlanStopTop() *PlanStopTopDto
- func (r *TaobaoInventoryPlanInvalidRequest) SetPlanStopTop(planStopTop *PlanStopTopDto) error
- type TaobaoInventoryPlanInvalidResponse
- type TaobaoInventoryPlanQuantityIncreaseAPIResponse
- type TaobaoInventoryPlanQuantityIncreaseRequest
- func (r TaobaoInventoryPlanQuantityIncreaseRequest) GetApiMethodName() string
- func (r TaobaoInventoryPlanQuantityIncreaseRequest) GetApiParams() url.Values
- func (r TaobaoInventoryPlanQuantityIncreaseRequest) GetPlanInvAdjustTop() *PlanInvAdjustTopDto
- func (r *TaobaoInventoryPlanQuantityIncreaseRequest) SetPlanInvAdjustTop(planInvAdjustTop *PlanInvAdjustTopDto) error
- type TaobaoInventoryPlanQuantityIncreaseResponse
- type TaobaoInventoryPlanQueryAPIResponse
- type TaobaoInventoryPlanQueryRequest
- type TaobaoInventoryPlanQueryResponse
- type TaobaoInventoryPlanQueryResult
- type TaobaoLocationRelationEditAPIResponse
- type TaobaoLocationRelationEditRequest
- func (r TaobaoLocationRelationEditRequest) GetApiMethodName() string
- func (r TaobaoLocationRelationEditRequest) GetApiParams() url.Values
- func (r TaobaoLocationRelationEditRequest) GetLocationRelationList() []LocationRelationDto
- func (r *TaobaoLocationRelationEditRequest) SetLocationRelationList(locationRelationList []LocationRelationDto) error
- type TaobaoLocationRelationEditResponse
- type TaobaoLocationRelationQueryAPIResponse
- type TaobaoLocationRelationQueryRequest
- func (r TaobaoLocationRelationQueryRequest) GetApiMethodName() string
- func (r TaobaoLocationRelationQueryRequest) GetApiParams() url.Values
- func (r TaobaoLocationRelationQueryRequest) GetLocationRelation() *LocationRelationDto
- func (r *TaobaoLocationRelationQueryRequest) SetLocationRelation(locationRelation *LocationRelationDto) error
- type TaobaoLocationRelationQueryResponse
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabaRetailDeviceInventorySyncAPIResponse ¶
type AlibabaRetailDeviceInventorySyncAPIResponse struct { model.CommonResponse AlibabaRetailDeviceInventorySyncResponse }
库存同步接口 API返回值 alibaba.retail.device.inventory.sync
商库存同步接口
type AlibabaRetailDeviceInventorySyncRequest ¶
type AlibabaRetailDeviceInventorySyncRequest struct { model.Params // contains filtered or unexported fields }
库存同步接口 API请求 alibaba.retail.device.inventory.sync
商库存同步接口
func NewAlibabaRetailDeviceInventorySyncRequest ¶
func NewAlibabaRetailDeviceInventorySyncRequest() *AlibabaRetailDeviceInventorySyncRequest
初始化AlibabaRetailDeviceInventorySyncRequest对象
func (AlibabaRetailDeviceInventorySyncRequest) GetApiMethodName ¶
func (r AlibabaRetailDeviceInventorySyncRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (AlibabaRetailDeviceInventorySyncRequest) GetApiParams ¶
func (r AlibabaRetailDeviceInventorySyncRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (AlibabaRetailDeviceInventorySyncRequest) GetDeviceId ¶
func (r AlibabaRetailDeviceInventorySyncRequest) GetDeviceId() string
DeviceId Getter
func (AlibabaRetailDeviceInventorySyncRequest) GetDeviceOption ¶
func (r AlibabaRetailDeviceInventorySyncRequest) GetDeviceOption() *InventorySyncOption
DeviceOption Getter
func (AlibabaRetailDeviceInventorySyncRequest) GetDeviceType ¶
func (r AlibabaRetailDeviceInventorySyncRequest) GetDeviceType() string
DeviceType Getter
func (AlibabaRetailDeviceInventorySyncRequest) GetInventoryDtos ¶
func (r AlibabaRetailDeviceInventorySyncRequest) GetInventoryDtos() []InventorySyncDTO
InventoryDtos Getter
func (*AlibabaRetailDeviceInventorySyncRequest) SetDeviceId ¶
func (r *AlibabaRetailDeviceInventorySyncRequest) SetDeviceId(deviceId string) error
DeviceId Setter 设备Id
func (*AlibabaRetailDeviceInventorySyncRequest) SetDeviceOption ¶
func (r *AlibabaRetailDeviceInventorySyncRequest) SetDeviceOption(deviceOption *InventorySyncOption) error
DeviceOption Setter 系统自动生成
func (*AlibabaRetailDeviceInventorySyncRequest) SetDeviceType ¶
func (r *AlibabaRetailDeviceInventorySyncRequest) SetDeviceType(deviceType string) error
DeviceType Setter 设备类型
func (*AlibabaRetailDeviceInventorySyncRequest) SetInventoryDtos ¶
func (r *AlibabaRetailDeviceInventorySyncRequest) SetInventoryDtos(inventoryDtos []InventorySyncDTO) error
InventoryDtos Setter 系统自动生成
type AlibabaRetailDeviceInventorySyncResponse ¶
type AlibabaRetailDeviceInventorySyncResponse 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"` }
库存同步接口 成功返回结果
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
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
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
type InvUnifyPlanTopQuery ¶
type InvUnifyPlanTopQuery struct { // 商品或者货品的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"` // 生成计划库存的外部单据号 PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,omitempty"` }
InvUnifyPlanTopQuery
type InvUnifyPlanTopQuerys ¶
type InvUnifyPlanTopQuerys struct { // 查询入参 PlanQueryList []InvUnifyPlanTopQuery `json:"plan_query_list,omitempty" xml:"plan_query_list>inv_unify_plan_top_query,omitempty"` }
InvUnifyPlanTopQuerys
type InventoryCheckDetailDto ¶
type InventoryCheckDetailDto struct { // 如果是门店类型,则为必填。 ONLINE_INVENTORY 线上可售库存, SHARE_INVENTORY 线下可售库存 InvBizCode string `json:"inv_biz_code,omitempty" xml:"inv_biz_code,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"` // 每个货品的调整子单据号,作为业务调整依据,处理时会根据此单据号作幂 SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` // 调整商品对应的SKUID,如果商品为货品,则为0 SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
InventoryCheckDetailDto
type InventoryCheckDto ¶
type InventoryCheckDto struct { // 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"` // 调整明细 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"` }
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"` // 每个子调整单据是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 每个货品的调整子单据号,作为业务调整依据,处理时会幂等 SubOrderId string `json:"sub_order_id,omitempty" xml:"sub_order_id,omitempty"` }
InventoryCheckResultDto
type InventorySyncDTO ¶
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
type InventorySyncOption ¶
type InventorySyncOption struct { // 业务 BizName string `json:"biz_name,omitempty" xml:"biz_name,omitempty"` }
InventorySyncOption
type LocationRelationDto ¶
type LocationRelationDto struct { // 状态 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"` // 实体code TargetStoreCode string `json:"target_store_code,omitempty" xml:"target_store_code,omitempty"` // 实体类型 2:仓库 6:门店 SourceInvStoreType int64 `json:"source_inv_store_type,omitempty" xml:"source_inv_store_type,omitempty"` // 实体code SourceStoreCode string `json:"source_store_code,omitempty" xml:"source_store_code,omitempty"` }
LocationRelationDto
type PlanInstanceInvResultDto ¶
type PlanInstanceInvResultDto struct { // 品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"` // 计划的开始销售时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 计划的结束销售时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 策略 Strategy *StrategyRuleTopDto `json:"strategy,omitempty" xml:"strategy,omitempty"` // 生成计划库存的外部单据号 PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,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"` // 计划的履约仓信息 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"` }
PlanInstanceInvResultDto
type PlanInstanceTopDto ¶
type PlanInstanceTopDto struct { // 服务承诺信息 PromiseList []PromiseList `json:"promise_list,omitempty" xml:"promise_list>promise_list,omitempty"` // 设置的库存类型,0-全量覆盖,1-增量处理 QuantityOpType int64 `json:"quantity_op_type,omitempty" xml:"quantity_op_type,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"` // 销售策略 Strategy *Strategy `json:"strategy,omitempty" xml:"strategy,omitempty"` // 设置的库存值 SettingQuantity int64 `json:"setting_quantity,omitempty" xml:"setting_quantity,omitempty"` // 外部商家系统单据号,用于生成计划库存的业务来源 PlanOrderId string `json:"plan_order_id,omitempty" xml:"plan_order_id,omitempty"` // 操作码,用于幂等验证 OperateCode string `json:"operate_code,omitempty" xml:"operate_code,omitempty"` }
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
type PlanInvAdjustTopDto ¶
type PlanInvAdjustTopDto struct { // 品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"` // 计划库存增量编辑的详细信息 AdjustDetailList []PlanInvAdjustTopDetailDto `json:"adjust_detail_list,omitempty" xml:"adjust_detail_list>plan_inv_adjust_top_detail_dto,omitempty"` // 设置计划的品的skuid。对于货品,是0. SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
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
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
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
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
type PlanStopTopDto ¶
type PlanStopTopDto struct { // 品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"` // 要失效的计划库存的详情 PlanDetailList []PlanStopDetailTopDto `json:"plan_detail_list,omitempty" xml:"plan_detail_list>plan_stop_detail_top_dto,omitempty"` // 设置计划的品的skuid。对于货品,是0. SkuId int64 `json:"sku_id,omitempty" xml:"sku_id,omitempty"` }
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
type PromiseList ¶
type PromiseList struct { // 服务时效信息,发货时间比如2020-01-26;相对时间比如3,代表付款后3天内发货 DeliveryTime string `json:"delivery_time,omitempty" xml:"delivery_time,omitempty"` // 发货时间类型,0-绝对时间,1-相对时间 DeliveryType int64 `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"` // 履约仓code PerformStore string `json:"perform_store,omitempty" xml:"perform_store,omitempty"` }
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
type ResultCode ¶
type ResultCode struct { // 结果描述 Code string `json:"code,omitempty" xml:"code,omitempty"` // 结果id Id int64 `json:"id,omitempty" xml:"id,omitempty"` // 结果码 Message string `json:"message,omitempty" xml:"message,omitempty"` }
ResultCode
type SingleResult ¶
type SingleResult struct { // 错误信息 ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"` // data AdjustResults []InventoryCheckResultDto `json:"adjust_results,omitempty" xml:"adjust_results>inventory_check_result_dto,omitempty"` // 错误码 ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"` // 如果是失败,可能是部分失败。如果是成功,则全部成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 地点关系 LocationRelationList []LocationRelationDto `json:"location_relation_list,omitempty" xml:"location_relation_list>location_relation_dto,omitempty"` }
SingleResult
type Strategy ¶
type Strategy struct { // 组合货品情况下,是否支持部分子品现货部分子品计划库存可以进行组合。如果不设置,则都是现货库存,或者都是计划库存才能进行组合 CombSupport bool `json:"comb_support,omitempty" xml:"comb_support,omitempty"` // 具体的销售策略,1-先现货库存,后计划库存;2-仅计划库存 RuleType int64 `json:"rule_type,omitempty" xml:"rule_type,omitempty"` }
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
type TaobaoInventoryMerchantAdjustAPIResponse ¶
type TaobaoInventoryMerchantAdjustAPIResponse struct { model.CommonResponse TaobaoInventoryMerchantAdjustResponse }
货品库存商家端调整 API返回值 taobao.inventory.merchant.adjust
货品库存商家端调整 ,入库,出库,盘点
type TaobaoInventoryMerchantAdjustRequest ¶
type TaobaoInventoryMerchantAdjustRequest struct { model.Params // contains filtered or unexported fields }
货品库存商家端调整 API请求 taobao.inventory.merchant.adjust
货品库存商家端调整 ,入库,出库,盘点
func NewTaobaoInventoryMerchantAdjustRequest ¶
func NewTaobaoInventoryMerchantAdjustRequest() *TaobaoInventoryMerchantAdjustRequest
初始化TaobaoInventoryMerchantAdjustRequest对象
func (TaobaoInventoryMerchantAdjustRequest) GetApiMethodName ¶
func (r TaobaoInventoryMerchantAdjustRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoInventoryMerchantAdjustRequest) GetApiParams ¶
func (r TaobaoInventoryMerchantAdjustRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoInventoryMerchantAdjustRequest) GetInventoryCheck ¶
func (r TaobaoInventoryMerchantAdjustRequest) GetInventoryCheck() *InventoryCheckDto
InventoryCheck Getter
func (*TaobaoInventoryMerchantAdjustRequest) SetInventoryCheck ¶
func (r *TaobaoInventoryMerchantAdjustRequest) SetInventoryCheck(inventoryCheck *InventoryCheckDto) error
InventoryCheck Setter 调整库存对象
type TaobaoInventoryMerchantAdjustResponse ¶
type TaobaoInventoryMerchantAdjustResponse 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"` }
货品库存商家端调整 成功返回结果
type TaobaoInventoryPlanEditAPIResponse ¶
type TaobaoInventoryPlanEditAPIResponse struct { model.CommonResponse TaobaoInventoryPlanEditResponse }
设置计划库存 API返回值 taobao.inventory.plan.edit
初始化计划库存,或者编辑已经存在的计划库存
type TaobaoInventoryPlanEditRequest ¶
type TaobaoInventoryPlanEditRequest struct { model.Params // contains filtered or unexported fields }
设置计划库存 API请求 taobao.inventory.plan.edit
初始化计划库存,或者编辑已经存在的计划库存
func NewTaobaoInventoryPlanEditRequest ¶
func NewTaobaoInventoryPlanEditRequest() *TaobaoInventoryPlanEditRequest
初始化TaobaoInventoryPlanEditRequest对象
func (TaobaoInventoryPlanEditRequest) GetApiMethodName ¶
func (r TaobaoInventoryPlanEditRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoInventoryPlanEditRequest) GetApiParams ¶
func (r TaobaoInventoryPlanEditRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoInventoryPlanEditRequest) GetPlanTop ¶
func (r TaobaoInventoryPlanEditRequest) GetPlanTop() *PlanTopDto
PlanTop Getter
func (*TaobaoInventoryPlanEditRequest) SetPlanTop ¶
func (r *TaobaoInventoryPlanEditRequest) SetPlanTop(planTop *PlanTopDto) error
PlanTop Setter 计划库存设置入参
type TaobaoInventoryPlanEditResponse ¶
type TaobaoInventoryPlanEditResponse 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"` }
设置计划库存 成功返回结果
type TaobaoInventoryPlanInvalidAPIResponse ¶
type TaobaoInventoryPlanInvalidAPIResponse struct { model.CommonResponse TaobaoInventoryPlanInvalidResponse }
失效计划库存 API返回值 taobao.inventory.plan.invalid
计划库存的失效服务
type TaobaoInventoryPlanInvalidRequest ¶
type TaobaoInventoryPlanInvalidRequest struct { model.Params // contains filtered or unexported fields }
失效计划库存 API请求 taobao.inventory.plan.invalid
计划库存的失效服务
func NewTaobaoInventoryPlanInvalidRequest ¶
func NewTaobaoInventoryPlanInvalidRequest() *TaobaoInventoryPlanInvalidRequest
初始化TaobaoInventoryPlanInvalidRequest对象
func (TaobaoInventoryPlanInvalidRequest) GetApiMethodName ¶
func (r TaobaoInventoryPlanInvalidRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoInventoryPlanInvalidRequest) GetApiParams ¶
func (r TaobaoInventoryPlanInvalidRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoInventoryPlanInvalidRequest) GetPlanStopTop ¶
func (r TaobaoInventoryPlanInvalidRequest) GetPlanStopTop() *PlanStopTopDto
PlanStopTop Getter
func (*TaobaoInventoryPlanInvalidRequest) SetPlanStopTop ¶
func (r *TaobaoInventoryPlanInvalidRequest) SetPlanStopTop(planStopTop *PlanStopTopDto) error
PlanStopTop Setter 计划库存失效入参
type TaobaoInventoryPlanInvalidResponse ¶
type TaobaoInventoryPlanInvalidResponse 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"` }
失效计划库存 成功返回结果
type TaobaoInventoryPlanQuantityIncreaseAPIResponse ¶
type TaobaoInventoryPlanQuantityIncreaseAPIResponse struct { model.CommonResponse TaobaoInventoryPlanQuantityIncreaseResponse }
计划库存的增量编辑 API返回值 taobao.inventory.plan.quantity.increase
计划库存的增量编辑
type TaobaoInventoryPlanQuantityIncreaseRequest ¶
type TaobaoInventoryPlanQuantityIncreaseRequest struct { model.Params // contains filtered or unexported fields }
计划库存的增量编辑 API请求 taobao.inventory.plan.quantity.increase
计划库存的增量编辑
func NewTaobaoInventoryPlanQuantityIncreaseRequest ¶
func NewTaobaoInventoryPlanQuantityIncreaseRequest() *TaobaoInventoryPlanQuantityIncreaseRequest
初始化TaobaoInventoryPlanQuantityIncreaseRequest对象
func (TaobaoInventoryPlanQuantityIncreaseRequest) GetApiMethodName ¶
func (r TaobaoInventoryPlanQuantityIncreaseRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoInventoryPlanQuantityIncreaseRequest) GetApiParams ¶
func (r TaobaoInventoryPlanQuantityIncreaseRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoInventoryPlanQuantityIncreaseRequest) GetPlanInvAdjustTop ¶
func (r TaobaoInventoryPlanQuantityIncreaseRequest) GetPlanInvAdjustTop() *PlanInvAdjustTopDto
PlanInvAdjustTop Getter
func (*TaobaoInventoryPlanQuantityIncreaseRequest) SetPlanInvAdjustTop ¶
func (r *TaobaoInventoryPlanQuantityIncreaseRequest) SetPlanInvAdjustTop(planInvAdjustTop *PlanInvAdjustTopDto) error
PlanInvAdjustTop Setter 增量编辑计划库存入参
type TaobaoInventoryPlanQuantityIncreaseResponse ¶
type TaobaoInventoryPlanQuantityIncreaseResponse 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"` }
计划库存的增量编辑 成功返回结果
type TaobaoInventoryPlanQueryAPIResponse ¶
type TaobaoInventoryPlanQueryAPIResponse struct { model.CommonResponse TaobaoInventoryPlanQueryResponse }
计划库存查询 API返回值 taobao.inventory.plan.query
计划库存查询
type TaobaoInventoryPlanQueryRequest ¶
type TaobaoInventoryPlanQueryRequest struct { model.Params // contains filtered or unexported fields }
计划库存查询 API请求 taobao.inventory.plan.query
计划库存查询
func NewTaobaoInventoryPlanQueryRequest ¶
func NewTaobaoInventoryPlanQueryRequest() *TaobaoInventoryPlanQueryRequest
初始化TaobaoInventoryPlanQueryRequest对象
func (TaobaoInventoryPlanQueryRequest) GetApiMethodName ¶
func (r TaobaoInventoryPlanQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoInventoryPlanQueryRequest) GetApiParams ¶
func (r TaobaoInventoryPlanQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoInventoryPlanQueryRequest) GetParam ¶
func (r TaobaoInventoryPlanQueryRequest) GetParam() *InvUnifyPlanTopQuerys
Param Getter
func (*TaobaoInventoryPlanQueryRequest) SetParam ¶
func (r *TaobaoInventoryPlanQueryRequest) SetParam(param *InvUnifyPlanTopQuerys) error
Param Setter 计划库存查询入参
type TaobaoInventoryPlanQueryResponse ¶
type TaobaoInventoryPlanQueryResponse 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"` }
计划库存查询 成功返回结果
type TaobaoInventoryPlanQueryResult ¶
type TaobaoInventoryPlanQueryResult struct { // 返回的对象 Data *PlanInvTopDto `json:"data,omitempty" xml:"data,omitempty"` // 返回结果码 ResultCode *ResultCode `json:"result_code,omitempty" xml:"result_code,omitempty"` }
TaobaoInventoryPlanQueryResult
type TaobaoLocationRelationEditAPIResponse ¶
type TaobaoLocationRelationEditAPIResponse struct { model.CommonResponse TaobaoLocationRelationEditResponse }
地点关联关系增量编辑 API返回值 taobao.location.relation.edit
地点关联关系增量编辑
type TaobaoLocationRelationEditRequest ¶
type TaobaoLocationRelationEditRequest struct { model.Params // contains filtered or unexported fields }
地点关联关系增量编辑 API请求 taobao.location.relation.edit
地点关联关系增量编辑
func NewTaobaoLocationRelationEditRequest ¶
func NewTaobaoLocationRelationEditRequest() *TaobaoLocationRelationEditRequest
初始化TaobaoLocationRelationEditRequest对象
func (TaobaoLocationRelationEditRequest) GetApiMethodName ¶
func (r TaobaoLocationRelationEditRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoLocationRelationEditRequest) GetApiParams ¶
func (r TaobaoLocationRelationEditRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoLocationRelationEditRequest) GetLocationRelationList ¶
func (r TaobaoLocationRelationEditRequest) GetLocationRelationList() []LocationRelationDto
LocationRelationList Getter
func (*TaobaoLocationRelationEditRequest) SetLocationRelationList ¶
func (r *TaobaoLocationRelationEditRequest) SetLocationRelationList(locationRelationList []LocationRelationDto) error
LocationRelationList Setter 关系对象列表
type TaobaoLocationRelationEditResponse ¶
type TaobaoLocationRelationEditResponse 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"` // 是否成功 IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"` // 错误码 Errorcode string `json:"errorcode,omitempty" xml:"errorcode,omitempty"` }
地点关联关系增量编辑 成功返回结果
type TaobaoLocationRelationQueryAPIResponse ¶
type TaobaoLocationRelationQueryAPIResponse struct { model.CommonResponse TaobaoLocationRelationQueryResponse }
地点关联关系查询 API返回值 taobao.location.relation.query
地点关联关系查询 门店和仓库关联关系查询
type TaobaoLocationRelationQueryRequest ¶
type TaobaoLocationRelationQueryRequest struct { model.Params // contains filtered or unexported fields }
地点关联关系查询 API请求 taobao.location.relation.query
地点关联关系查询 门店和仓库关联关系查询
func NewTaobaoLocationRelationQueryRequest ¶
func NewTaobaoLocationRelationQueryRequest() *TaobaoLocationRelationQueryRequest
初始化TaobaoLocationRelationQueryRequest对象
func (TaobaoLocationRelationQueryRequest) GetApiMethodName ¶
func (r TaobaoLocationRelationQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TaobaoLocationRelationQueryRequest) GetApiParams ¶
func (r TaobaoLocationRelationQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TaobaoLocationRelationQueryRequest) GetLocationRelation ¶
func (r TaobaoLocationRelationQueryRequest) GetLocationRelation() *LocationRelationDto
LocationRelation Getter
func (*TaobaoLocationRelationQueryRequest) SetLocationRelation ¶
func (r *TaobaoLocationRelationQueryRequest) SetLocationRelation(locationRelation *LocationRelationDto) error
LocationRelation Setter 关系查询
type TaobaoLocationRelationQueryResponse ¶
type TaobaoLocationRelationQueryResponse 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"` }
地点关联关系查询 成功返回结果
Source Files
¶
- AlibabaRetailDeviceInventorySyncRequest.go
- AlibabaRetailDeviceInventorySyncResponse.go
- AlibabaRetailDeviceInventorySyncResult.go
- BatchResult.go
- ErrorInfo.go
- InvUnifyPlanTopQuery.go
- InvUnifyPlanTopQuerys.go
- InventoryCheckDetailDto.go
- InventoryCheckDto.go
- InventoryCheckResultDto.go
- InventorySyncDTO.go
- InventorySyncOption.go
- LocationRelationDto.go
- PlanInstanceInvResultDto.go
- PlanInstanceTopDto.go
- PlanInvAdjustTopDetailDto.go
- PlanInvAdjustTopDto.go
- PlanInvTopDto.go
- PlanItemRelationTopDto.go
- PlanPromiseTopDto.go
- PlanStopDetailTopDto.go
- PlanStopTopDto.go
- PlanTopDto.go
- PromiseList.go
- RelationList.go
- ResultCode.go
- SingleResult.go
- Strategy.go
- StrategyRuleTopDto.go
- TaobaoInventoryMerchantAdjustRequest.go
- TaobaoInventoryMerchantAdjustResponse.go
- TaobaoInventoryPlanEditRequest.go
- TaobaoInventoryPlanEditResponse.go
- TaobaoInventoryPlanInvalidRequest.go
- TaobaoInventoryPlanInvalidResponse.go
- TaobaoInventoryPlanQuantityIncreaseRequest.go
- TaobaoInventoryPlanQuantityIncreaseResponse.go
- TaobaoInventoryPlanQueryRequest.go
- TaobaoInventoryPlanQueryResponse.go
- TaobaoInventoryPlanQueryResult.go
- TaobaoLocationRelationEditRequest.go
- TaobaoLocationRelationEditResponse.go
- TaobaoLocationRelationQueryRequest.go
- TaobaoLocationRelationQueryResponse.go