ascp

package
v1.1.4 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ItemSkuCost

type ItemSkuCost struct {
	// 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"`
	// 返回错误提示
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
}

ItemSkuCost

type TmallAscpPricingScmTofAPIResponse

type TmallAscpPricingScmTofAPIResponse struct {
	model.CommonResponse
	TmallAscpPricingScmTofResponse
}

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

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

type TmallAscpPricingScmTofRequest

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

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

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

func NewTmallAscpPricingScmTofRequest

func NewTmallAscpPricingScmTofRequest() *TmallAscpPricingScmTofRequest

初始化TmallAscpPricingScmTofRequest对象

func (TmallAscpPricingScmTofRequest) GetApiMethodName

func (r TmallAscpPricingScmTofRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TmallAscpPricingScmTofRequest) GetApiParams

func (r TmallAscpPricingScmTofRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TmallAscpPricingScmTofRequest) GetCosts

Costs Getter

func (*TmallAscpPricingScmTofRequest) SetCosts

func (r *TmallAscpPricingScmTofRequest) SetCosts(costs []ItemSkuCost) error

Costs Setter 成本价集合

type TmallAscpPricingScmTofResponse

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

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

Jump to

Keyboard shortcuts

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