ascp

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package ascp 包含天猫供应相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemSkuCost

type ItemSkuCost struct {
	// 返回错误提示
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// skuId
	Skuid int64 `json:"skuid,omitempty" xml:"skuid,omitempty"`
	// itemId
	Itemid int64 `json:"itemid,omitempty" xml:"itemid,omitempty"`
	// 成本 分为单位
	Cost int64 `json:"cost,omitempty" xml:"cost,omitempty"`
}

ItemSkuCost 结构体

type TmallAscpPricingScmTofAPIRequest added in v1.2.0

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

TmallAscpPricingScmTofAPIRequest TOF&SCM营销域对接-成本录入设置 API请求 tmall.ascp.pricing.scm.tof

TOF&SCM营销域对接-成本录入设置

func NewTmallAscpPricingScmTofRequest

func NewTmallAscpPricingScmTofRequest() *TmallAscpPricingScmTofAPIRequest

NewTmallAscpPricingScmTofRequest 初始化TmallAscpPricingScmTofAPIRequest对象

func (TmallAscpPricingScmTofAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallAscpPricingScmTofAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallAscpPricingScmTofAPIRequest) GetApiParams added in v1.2.0

func (r TmallAscpPricingScmTofAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TmallAscpPricingScmTofAPIRequest) GetCosts added in v1.2.0

GetCosts Costs Getter

func (*TmallAscpPricingScmTofAPIRequest) SetCosts added in v1.2.0

func (r *TmallAscpPricingScmTofAPIRequest) SetCosts(_costs []ItemSkuCost) error

SetCosts is Costs Setter 成本价集合

type TmallAscpPricingScmTofAPIResponse

type TmallAscpPricingScmTofAPIResponse struct {
	model.CommonResponse
	TmallAscpPricingScmTofAPIResponseModel
}

TmallAscpPricingScmTofAPIResponse TOF&SCM营销域对接-成本录入设置 API返回值 tmall.ascp.pricing.scm.tof

TOF&SCM营销域对接-成本录入设置

type TmallAscpPricingScmTofAPIResponseModel added in v1.2.0

type TmallAscpPricingScmTofAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_ascp_pricing_scm_tof_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// reasonsForPartSucc
	ReasonsForPartSuccList []string `json:"reasons_for_part_succ_list,omitempty" xml:"reasons_for_part_succ_list>string,omitempty"`
	// 成功
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 成功
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
}

TmallAscpPricingScmTofAPIResponseModel is TOF&SCM营销域对接-成本录入设置 成功返回结果

Jump to

Keyboard shortcuts

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