pur

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package pur 包含信息平台-采购相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessGoodsDto added in v1.2.5

type AccessGoodsDto struct {
	// 报价明细
	QuotationList []AccessQuotationDto `json:"quotation_list,omitempty" xml:"quotation_list>access_quotation_dto,omitempty"`
	// 阿里侧合同编号
	ContractCode string `json:"contract_code,omitempty" xml:"contract_code,omitempty"`
	// 外部商家标识
	DataSource string `json:"data_source,omitempty" xml:"data_source,omitempty"`
	// 是否上架商城
	IsApplyDirectoryMall string `json:"is_apply_directory_mall,omitempty" xml:"is_apply_directory_mall,omitempty"`
	// 外部商家商品标记值
	SourceValue string `json:"source_value,omitempty" xml:"source_value,omitempty"`
	// 最小采购量
	MinimumPurchaseQuantity float64 `json:"minimum_purchase_quantity,omitempty" xml:"minimum_purchase_quantity,omitempty"`
	// 阿里侧供应商ID
	SupplierId int64 `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 税率,如6%则为6
	TaxRate float64 `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
}

AccessGoodsDto 结构体

type AccessLadderPriceDto added in v1.2.5

type AccessLadderPriceDto struct {
	// 原价
	OriginUnitPrice float64 `json:"origin_unit_price,omitempty" xml:"origin_unit_price,omitempty"`
	// 协议价
	UnitPrice float64 `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 最小采购量
	MinimumPurchaseQuantity float64 `json:"minimum_purchase_quantity,omitempty" xml:"minimum_purchase_quantity,omitempty"`
}

AccessLadderPriceDto 结构体

type AccessPackageDto added in v1.2.8

type AccessPackageDto struct {
	// 图片地址列表
	ImgUrlList []string `json:"img_url_list,omitempty" xml:"img_url_list>string,omitempty"`
	// 套餐关联的产品source列表
	ProductSourceValues []string `json:"product_source_values,omitempty" xml:"product_source_values>string,omitempty"`
	// 套餐标识
	SecurityId string `json:"security_id,omitempty" xml:"security_id,omitempty"`
	// 第三方商城标识
	DataSource string `json:"data_source,omitempty" xml:"data_source,omitempty"`
	// 套餐名称
	PackageName string `json:"package_name,omitempty" xml:"package_name,omitempty"`
	// 套餐描述
	PackageDesc string `json:"package_desc,omitempty" xml:"package_desc,omitempty"`
	// 套餐详情
	DetailInfo string `json:"detail_info,omitempty" xml:"detail_info,omitempty"`
}

AccessPackageDto 结构体

type AccessProductAttrValueDto

type AccessProductAttrValueDto struct {
	// 属性值名称
	AttrValueNameList []string `json:"attr_value_name_list,omitempty" xml:"attr_value_name_list>string,omitempty"`
	// 属性Value值英文
	AttrEnValueNameList []string `json:"attr_en_value_name_list,omitempty" xml:"attr_en_value_name_list>string,omitempty"`
	// 属性名称
	AttrName string `json:"attr_name,omitempty" xml:"attr_name,omitempty"`
	// 属性Key英文值
	AttrEnName string `json:"attr_en_name,omitempty" xml:"attr_en_name,omitempty"`
	// 属性描述
	AttrDesc string `json:"attr_desc,omitempty" xml:"attr_desc,omitempty"`
	// 是否关键属性y/n
	IsKey string `json:"is_key,omitempty" xml:"is_key,omitempty"`
}

AccessProductAttrValueDto 结构体

type AccessProductDto

type AccessProductDto struct {
	// 图片地址列表
	ImgUrlList []string `json:"img_url_list,omitempty" xml:"img_url_list>string,omitempty"`
	// 产品属性
	ProductAttrValueList []AccessProductAttrValueDto `json:"product_attr_value_list,omitempty" xml:"product_attr_value_list>access_product_attr_value_dto,omitempty"`
	// 主导采购组织
	LeadPurOrg []string `json:"lead_pur_org,omitempty" xml:"lead_pur_org>string,omitempty"`
	// 阿里采购员工号
	BuyerWorkNo string `json:"buyer_work_no,omitempty" xml:"buyer_work_no,omitempty"`
	// 阿里采购三级类目
	CategoryCode string `json:"category_code,omitempty" xml:"category_code,omitempty"`
	// 外部商家标识
	DataSource string `json:"data_source,omitempty" xml:"data_source,omitempty"`
	// 外部商家产品链接
	MallUrl string `json:"mall_url,omitempty" xml:"mall_url,omitempty"`
	// 计价方式 AMOUNT QUANTITY
	OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 产品描述
	ProductDesc string `json:"product_desc,omitempty" xml:"product_desc,omitempty"`
	// 产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 采购通道,阿里侧枚举
	PurchaseChannel string `json:"purchase_channel,omitempty" xml:"purchase_channel,omitempty"`
	// 产品详情
	Recommendation string `json:"recommendation,omitempty" xml:"recommendation,omitempty"`
	// 外部商家品类名称
	SourceCategoryName string `json:"source_category_name,omitempty" xml:"source_category_name,omitempty"`
	// 额外信息
	SourceInfo string `json:"source_info,omitempty" xml:"source_info,omitempty"`
	// 子类型
	SourceType string `json:"source_type,omitempty" xml:"source_type,omitempty"`
	// 外部商家对应产品ID
	SourceValue string `json:"source_value,omitempty" xml:"source_value,omitempty"`
	// 计价单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 图片存储方式
	ImgStorageType string `json:"img_storage_type,omitempty" xml:"img_storage_type,omitempty"`
	// 阿里商城品类ID
	CatalogCategoryId int64 `json:"catalog_category_id,omitempty" xml:"catalog_category_id,omitempty"`
	// 外部商家品类ID,如果有的话需要在阿里侧有对应的映射
	SourceCategoryId int64 `json:"source_category_id,omitempty" xml:"source_category_id,omitempty"`
	// 租户
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 采购类别
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 品牌ID
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`
	// 采购用途
	CategoryUseId int64 `json:"category_use_id,omitempty" xml:"category_use_id,omitempty"`
	// 前台类目
	FrontCategoryId int64 `json:"front_category_id,omitempty" xml:"front_category_id,omitempty"`
}

AccessProductDto 结构体

type AccessQuotationDto added in v1.2.5

type AccessQuotationDto struct {
	// 阶梯价信息
	LadderPriceList []AccessLadderPriceDto `json:"ladder_price_list,omitempty" xml:"ladder_price_list>access_ladder_price_dto,omitempty"`
	// sku属性列表
	SkuAttrValueList []AccessSkuAttrValueDto `json:"sku_attr_value_list,omitempty" xml:"sku_attr_value_list>access_sku_attr_value_dto,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 报价生效时间
	EffectiveDate string `json:"effective_date,omitempty" xml:"effective_date,omitempty"`
	// 报价失效时间
	ExpireDate string `json:"expire_date,omitempty" xml:"expire_date,omitempty"`
	// 外部商家skuId
	SourceSkuId string `json:"source_sku_id,omitempty" xml:"source_sku_id,omitempty"`
	// 协议价
	UnitPrice float64 `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 原价
	OriginUnitPrice float64 `json:"origin_unit_price,omitempty" xml:"origin_unit_price,omitempty"`
	// 是否阶梯价
	LadderPrice bool `json:"ladder_price,omitempty" xml:"ladder_price,omitempty"`
}

AccessQuotationDto 结构体

type AccessSkuAttrValueDto added in v1.2.5

type AccessSkuAttrValueDto struct {
	// 属性名称
	AttrName string `json:"attr_name,omitempty" xml:"attr_name,omitempty"`
	// 属性值名称
	AttrValueName string `json:"attr_value_name,omitempty" xml:"attr_value_name,omitempty"`
}

AccessSkuAttrValueDto 结构体

type ActionResult

type ActionResult struct {
	// 系统自动生成
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 系统自动生成
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// https://
	RedirectUrl string `json:"redirect_url,omitempty" xml:"redirect_url,omitempty"`
	// 返回提示信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回的产品链接
	ProductUrl string `json:"product_url,omitempty" xml:"product_url,omitempty"`
	// 套餐标识
	PackageId string `json:"package_id,omitempty" xml:"package_id,omitempty"`
	// 返回结果
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 错误码
	Error string `json:"error,omitempty" xml:"error,omitempty"`
	// 返回值
	RetValue string `json:"ret_value,omitempty" xml:"ret_value,omitempty"`
	// 系统自动生成
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 是否成功
	IsSuccess bool `json:"is_success,omitempty" xml:"is_success,omitempty"`
}

ActionResult 结构体

type AlibabaCeresSupplierPoQueryAPIRequest added in v1.2.0

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

AlibabaCeresSupplierPoQueryAPIRequest 采购供应商订单查询接口 API请求 alibaba.ceres.supplier.po.query

采购供应商订单查询接口

func NewAlibabaCeresSupplierPoQueryRequest

func NewAlibabaCeresSupplierPoQueryRequest() *AlibabaCeresSupplierPoQueryAPIRequest

NewAlibabaCeresSupplierPoQueryRequest 初始化AlibabaCeresSupplierPoQueryAPIRequest对象

func (AlibabaCeresSupplierPoQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaCeresSupplierPoQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCeresSupplierPoQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCeresSupplierPoQueryAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

func (AlibabaCeresSupplierPoQueryAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaCeresSupplierPoQueryAPIRequest) GetStartDate added in v1.2.0

GetStartDate StartDate Getter

func (AlibabaCeresSupplierPoQueryAPIRequest) GetStatus added in v1.2.0

GetStatus Status Getter

func (*AlibabaCeresSupplierPoQueryAPIRequest) SetEndDate added in v1.2.0

func (r *AlibabaCeresSupplierPoQueryAPIRequest) SetEndDate(_endDate string) error

SetEndDate is EndDate Setter 订单创建日期结束时间

func (*AlibabaCeresSupplierPoQueryAPIRequest) SetStartDate added in v1.2.0

func (r *AlibabaCeresSupplierPoQueryAPIRequest) SetStartDate(_startDate string) error

SetStartDate is StartDate Setter 订单创建日期开始时间

func (*AlibabaCeresSupplierPoQueryAPIRequest) SetStatus added in v1.2.0

func (r *AlibabaCeresSupplierPoQueryAPIRequest) SetStatus(_status string) error

SetStatus is Status Setter 订单状态

type AlibabaCeresSupplierPoQueryAPIResponse

type AlibabaCeresSupplierPoQueryAPIResponse struct {
	model.CommonResponse
	AlibabaCeresSupplierPoQueryAPIResponseModel
}

AlibabaCeresSupplierPoQueryAPIResponse 采购供应商订单查询接口 API返回值 alibaba.ceres.supplier.po.query

采购供应商订单查询接口

type AlibabaCeresSupplierPoQueryAPIResponseModel added in v1.2.0

type AlibabaCeresSupplierPoQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ceres_supplier_po_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回消息体
	Result *AlibabaCeresSupplierPoQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCeresSupplierPoQueryAPIResponseModel is 采购供应商订单查询接口 成功返回结果

type AlibabaCeresSupplierPoQueryResult

type AlibabaCeresSupplierPoQueryResult struct {
	// 返回单据消息体List
	Values []Value `json:"values,omitempty" xml:"values>value,omitempty"`
	// 返回信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 返回code
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 是否查询成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaCeresSupplierPoQueryResult 结构体

type AlibabaCeresSupplierPoQuerydetailAPIRequest added in v1.2.0

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

AlibabaCeresSupplierPoQuerydetailAPIRequest 采购供应商订单明细查询接口 API请求 alibaba.ceres.supplier.po.querydetail

采购供应商订单明细查询接口

func NewAlibabaCeresSupplierPoQuerydetailRequest

func NewAlibabaCeresSupplierPoQuerydetailRequest() *AlibabaCeresSupplierPoQuerydetailAPIRequest

NewAlibabaCeresSupplierPoQuerydetailRequest 初始化AlibabaCeresSupplierPoQuerydetailAPIRequest对象

func (AlibabaCeresSupplierPoQuerydetailAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaCeresSupplierPoQuerydetailAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCeresSupplierPoQuerydetailAPIRequest) GetPoNo added in v1.2.0

GetPoNo PoNo Getter

func (AlibabaCeresSupplierPoQuerydetailAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaCeresSupplierPoQuerydetailAPIRequest) SetPoNo added in v1.2.0

SetPoNo is PoNo Setter 订单编号

type AlibabaCeresSupplierPoQuerydetailAPIResponse

type AlibabaCeresSupplierPoQuerydetailAPIResponse struct {
	model.CommonResponse
	AlibabaCeresSupplierPoQuerydetailAPIResponseModel
}

AlibabaCeresSupplierPoQuerydetailAPIResponse 采购供应商订单明细查询接口 API返回值 alibaba.ceres.supplier.po.querydetail

采购供应商订单明细查询接口

type AlibabaCeresSupplierPoQuerydetailAPIResponseModel added in v1.2.0

type AlibabaCeresSupplierPoQuerydetailAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ceres_supplier_po_querydetail_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回消息体
	Result *SupplierPoDetailDto `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaCeresSupplierPoQuerydetailAPIResponseModel is 采购供应商订单明细查询接口 成功返回结果

type AlibabaPurBasketMergeAPIRequest added in v1.2.0

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

AlibabaPurBasketMergeAPIRequest 合并购物车 API请求 alibaba.pur.basket.merge

采购商城接入第三方商家合并购物车接口服务

func NewAlibabaPurBasketMergeRequest

func NewAlibabaPurBasketMergeRequest() *AlibabaPurBasketMergeAPIRequest

NewAlibabaPurBasketMergeRequest 初始化AlibabaPurBasketMergeAPIRequest对象

func (AlibabaPurBasketMergeAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaPurBasketMergeAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurBasketMergeAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurBasketMergeAPIRequest) GetParamMallMergeCartRequestDTO added in v1.2.0

func (r AlibabaPurBasketMergeAPIRequest) GetParamMallMergeCartRequestDTO() *MallMergeCartRequestDto

GetParamMallMergeCartRequestDTO ParamMallMergeCartRequestDTO Getter

func (AlibabaPurBasketMergeAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaPurBasketMergeAPIRequest) GetRawParams() model.Params

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

func (*AlibabaPurBasketMergeAPIRequest) SetParamMallMergeCartRequestDTO added in v1.2.0

func (r *AlibabaPurBasketMergeAPIRequest) SetParamMallMergeCartRequestDTO(_paramMallMergeCartRequestDTO *MallMergeCartRequestDto) error

SetParamMallMergeCartRequestDTO is ParamMallMergeCartRequestDTO Setter 合并购物车入参

type AlibabaPurBasketMergeAPIResponse

type AlibabaPurBasketMergeAPIResponse struct {
	model.CommonResponse
	AlibabaPurBasketMergeAPIResponseModel
}

AlibabaPurBasketMergeAPIResponse 合并购物车 API返回值 alibaba.pur.basket.merge

采购商城接入第三方商家合并购物车接口服务

type AlibabaPurBasketMergeAPIResponseModel added in v1.2.0

type AlibabaPurBasketMergeAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_basket_merge_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取url的出参
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurBasketMergeAPIResponseModel is 合并购物车 成功返回结果

type AlibabaPurCmallGoodsStatusSyncAPIRequest added in v1.2.5

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

AlibabaPurCmallGoodsStatusSyncAPIRequest 第三方商城接入采购商城-商品状态同步 API请求 alibaba.pur.cmall.goods.status.sync

第三方商城接入采购商城-商品状态同步

func NewAlibabaPurCmallGoodsStatusSyncRequest added in v1.2.5

func NewAlibabaPurCmallGoodsStatusSyncRequest() *AlibabaPurCmallGoodsStatusSyncAPIRequest

NewAlibabaPurCmallGoodsStatusSyncRequest 初始化AlibabaPurCmallGoodsStatusSyncAPIRequest对象

func (AlibabaPurCmallGoodsStatusSyncAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaPurCmallGoodsStatusSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurCmallGoodsStatusSyncAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurCmallGoodsStatusSyncAPIRequest) GetGoodsDataSource added in v1.2.5

func (r AlibabaPurCmallGoodsStatusSyncAPIRequest) GetGoodsDataSource() string

GetGoodsDataSource GoodsDataSource Getter

func (AlibabaPurCmallGoodsStatusSyncAPIRequest) GetGoodsSourceValue added in v1.2.5

func (r AlibabaPurCmallGoodsStatusSyncAPIRequest) GetGoodsSourceValue() string

GetGoodsSourceValue GoodsSourceValue Getter

func (AlibabaPurCmallGoodsStatusSyncAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaPurCmallGoodsStatusSyncAPIRequest) GetStatus added in v1.2.5

GetStatus Status Getter

func (*AlibabaPurCmallGoodsStatusSyncAPIRequest) SetGoodsDataSource added in v1.2.5

func (r *AlibabaPurCmallGoodsStatusSyncAPIRequest) SetGoodsDataSource(_goodsDataSource string) error

SetGoodsDataSource is GoodsDataSource Setter 外部商家标识

func (*AlibabaPurCmallGoodsStatusSyncAPIRequest) SetGoodsSourceValue added in v1.2.5

func (r *AlibabaPurCmallGoodsStatusSyncAPIRequest) SetGoodsSourceValue(_goodsSourceValue string) error

SetGoodsSourceValue is GoodsSourceValue Setter 外部商家商品唯一标志

func (*AlibabaPurCmallGoodsStatusSyncAPIRequest) SetStatus added in v1.2.5

SetStatus is Status Setter 状态,shelfed:上架,unShelfed:下架

type AlibabaPurCmallGoodsStatusSyncAPIResponse added in v1.2.5

type AlibabaPurCmallGoodsStatusSyncAPIResponse struct {
	model.CommonResponse
	AlibabaPurCmallGoodsStatusSyncAPIResponseModel
}

AlibabaPurCmallGoodsStatusSyncAPIResponse 第三方商城接入采购商城-商品状态同步 API返回值 alibaba.pur.cmall.goods.status.sync

第三方商城接入采购商城-商品状态同步

type AlibabaPurCmallGoodsStatusSyncAPIResponseModel added in v1.2.5

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

AlibabaPurCmallGoodsStatusSyncAPIResponseModel is 第三方商城接入采购商城-商品状态同步 成功返回结果

type AlibabaPurCmallGoodsSyncAPIRequest added in v1.2.5

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

AlibabaPurCmallGoodsSyncAPIRequest 第三方商家接入采购商城-商品同步 API请求 alibaba.pur.cmall.goods.sync

第三方商家接入采购商城-商品同步

func NewAlibabaPurCmallGoodsSyncRequest added in v1.2.5

func NewAlibabaPurCmallGoodsSyncRequest() *AlibabaPurCmallGoodsSyncAPIRequest

NewAlibabaPurCmallGoodsSyncRequest 初始化AlibabaPurCmallGoodsSyncAPIRequest对象

func (AlibabaPurCmallGoodsSyncAPIRequest) GetAccessGoodsDto added in v1.2.5

func (r AlibabaPurCmallGoodsSyncAPIRequest) GetAccessGoodsDto() *AccessGoodsDto

GetAccessGoodsDto AccessGoodsDto Getter

func (AlibabaPurCmallGoodsSyncAPIRequest) GetAccessProductDto added in v1.2.5

func (r AlibabaPurCmallGoodsSyncAPIRequest) GetAccessProductDto() *AccessProductDto

GetAccessProductDto AccessProductDto Getter

func (AlibabaPurCmallGoodsSyncAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaPurCmallGoodsSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurCmallGoodsSyncAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurCmallGoodsSyncAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaPurCmallGoodsSyncAPIRequest) SetAccessGoodsDto added in v1.2.5

func (r *AlibabaPurCmallGoodsSyncAPIRequest) SetAccessGoodsDto(_accessGoodsDto *AccessGoodsDto) error

SetAccessGoodsDto is AccessGoodsDto Setter 商品对象

func (*AlibabaPurCmallGoodsSyncAPIRequest) SetAccessProductDto added in v1.2.5

func (r *AlibabaPurCmallGoodsSyncAPIRequest) SetAccessProductDto(_accessProductDto *AccessProductDto) error

SetAccessProductDto is AccessProductDto Setter 产品对象

type AlibabaPurCmallGoodsSyncAPIResponse added in v1.2.5

type AlibabaPurCmallGoodsSyncAPIResponse struct {
	model.CommonResponse
	AlibabaPurCmallGoodsSyncAPIResponseModel
}

AlibabaPurCmallGoodsSyncAPIResponse 第三方商家接入采购商城-商品同步 API返回值 alibaba.pur.cmall.goods.sync

第三方商家接入采购商城-商品同步

type AlibabaPurCmallGoodsSyncAPIResponseModel added in v1.2.5

type AlibabaPurCmallGoodsSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_cmall_goods_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurCmallGoodsSyncAPIResponseModel is 第三方商家接入采购商城-商品同步 成功返回结果

type AlibabaPurCmallPackageSyncAPIRequest added in v1.2.8

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

AlibabaPurCmallPackageSyncAPIRequest 套餐同步 API请求 alibaba.pur.cmall.package.sync

套餐同步

func NewAlibabaPurCmallPackageSyncRequest added in v1.2.8

func NewAlibabaPurCmallPackageSyncRequest() *AlibabaPurCmallPackageSyncAPIRequest

NewAlibabaPurCmallPackageSyncRequest 初始化AlibabaPurCmallPackageSyncAPIRequest对象

func (AlibabaPurCmallPackageSyncAPIRequest) GetAccessPackageDto added in v1.2.8

func (r AlibabaPurCmallPackageSyncAPIRequest) GetAccessPackageDto() *AccessPackageDto

GetAccessPackageDto AccessPackageDto Getter

func (AlibabaPurCmallPackageSyncAPIRequest) GetApiMethodName added in v1.2.8

func (r AlibabaPurCmallPackageSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurCmallPackageSyncAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurCmallPackageSyncAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaPurCmallPackageSyncAPIRequest) SetAccessPackageDto added in v1.2.8

func (r *AlibabaPurCmallPackageSyncAPIRequest) SetAccessPackageDto(_accessPackageDto *AccessPackageDto) error

SetAccessPackageDto is AccessPackageDto Setter 套餐对象

type AlibabaPurCmallPackageSyncAPIResponse added in v1.2.8

type AlibabaPurCmallPackageSyncAPIResponse struct {
	model.CommonResponse
	AlibabaPurCmallPackageSyncAPIResponseModel
}

AlibabaPurCmallPackageSyncAPIResponse 套餐同步 API返回值 alibaba.pur.cmall.package.sync

套餐同步

type AlibabaPurCmallPackageSyncAPIResponseModel added in v1.2.8

type AlibabaPurCmallPackageSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_cmall_package_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回对象
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurCmallPackageSyncAPIResponseModel is 套餐同步 成功返回结果

type AlibabaPurCreateDoAPIRequest added in v1.2.5

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

AlibabaPurCreateDoAPIRequest top创建DO/RT接口 API请求 alibaba.pur.create.do

创建发货单,先创建DO,异步创建RT

func NewAlibabaPurCreateDoRequest added in v1.2.5

func NewAlibabaPurCreateDoRequest() *AlibabaPurCreateDoAPIRequest

NewAlibabaPurCreateDoRequest 初始化AlibabaPurCreateDoAPIRequest对象

func (AlibabaPurCreateDoAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaPurCreateDoAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurCreateDoAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurCreateDoAPIRequest) GetDeliveryTopDTO added in v1.2.5

func (r AlibabaPurCreateDoAPIRequest) GetDeliveryTopDTO() *DeliveryTopDto

GetDeliveryTopDTO DeliveryTopDTO Getter

func (AlibabaPurCreateDoAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaPurCreateDoAPIRequest) GetRawParams() model.Params

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

func (*AlibabaPurCreateDoAPIRequest) SetDeliveryTopDTO added in v1.2.5

func (r *AlibabaPurCreateDoAPIRequest) SetDeliveryTopDTO(_deliveryTopDTO *DeliveryTopDto) error

SetDeliveryTopDTO is DeliveryTopDTO Setter 发货单

type AlibabaPurCreateDoAPIResponse added in v1.2.5

type AlibabaPurCreateDoAPIResponse struct {
	model.CommonResponse
	AlibabaPurCreateDoAPIResponseModel
}

AlibabaPurCreateDoAPIResponse top创建DO/RT接口 API返回值 alibaba.pur.create.do

创建发货单,先创建DO,异步创建RT

type AlibabaPurCreateDoAPIResponseModel added in v1.2.5

type AlibabaPurCreateDoAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_create_do_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	ContentList []ResultTopDto `json:"content_list,omitempty" xml:"content_list>result_top_dto,omitempty"`
	// 无
	ErrorLevel int64 `json:"error_level,omitempty" xml:"error_level,omitempty"`
}

AlibabaPurCreateDoAPIResponseModel is top创建DO/RT接口 成功返回结果

type AlibabaPurMediaStatisticsAPIRequest added in v1.2.0

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

AlibabaPurMediaStatisticsAPIRequest 新媒体统计信息 API请求 alibaba.pur.media.statistics

清博同步新媒体的统计信息给到采购平台

func NewAlibabaPurMediaStatisticsRequest

func NewAlibabaPurMediaStatisticsRequest() *AlibabaPurMediaStatisticsAPIRequest

NewAlibabaPurMediaStatisticsRequest 初始化AlibabaPurMediaStatisticsAPIRequest对象

func (AlibabaPurMediaStatisticsAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaPurMediaStatisticsAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurMediaStatisticsAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurMediaStatisticsAPIRequest) GetMediaStatisticsDTO added in v1.2.0

func (r AlibabaPurMediaStatisticsAPIRequest) GetMediaStatisticsDTO() []MediaStatisticsDto

GetMediaStatisticsDTO MediaStatisticsDTO Getter

func (AlibabaPurMediaStatisticsAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaPurMediaStatisticsAPIRequest) SetMediaStatisticsDTO added in v1.2.0

func (r *AlibabaPurMediaStatisticsAPIRequest) SetMediaStatisticsDTO(_mediaStatisticsDTO []MediaStatisticsDto) error

SetMediaStatisticsDTO is MediaStatisticsDTO Setter 新媒体统计对象

type AlibabaPurMediaStatisticsAPIResponse

type AlibabaPurMediaStatisticsAPIResponse struct {
	model.CommonResponse
	AlibabaPurMediaStatisticsAPIResponseModel
}

AlibabaPurMediaStatisticsAPIResponse 新媒体统计信息 API返回值 alibaba.pur.media.statistics

清博同步新媒体的统计信息给到采购平台

type AlibabaPurMediaStatisticsAPIResponseModel added in v1.2.0

type AlibabaPurMediaStatisticsAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_media_statistics_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取url的出参
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurMediaStatisticsAPIResponseModel is 新媒体统计信息 成功返回结果

type AlibabaPurPrCreateAPIRequest added in v1.2.0

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

AlibabaPurPrCreateAPIRequest 下pr单 API请求 alibaba.pur.pr.create

下pr单

func NewAlibabaPurPrCreateRequest

func NewAlibabaPurPrCreateRequest() *AlibabaPurPrCreateAPIRequest

NewAlibabaPurPrCreateRequest 初始化AlibabaPurPrCreateAPIRequest对象

func (AlibabaPurPrCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaPurPrCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurPrCreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurPrCreateAPIRequest) GetPurReq added in v1.2.0

GetPurReq PurReq Getter

func (AlibabaPurPrCreateAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaPurPrCreateAPIRequest) GetRawParams() model.Params

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

func (*AlibabaPurPrCreateAPIRequest) SetPurReq added in v1.2.0

SetPurReq is PurReq Setter 订单信息

type AlibabaPurPrCreateAPIResponse

type AlibabaPurPrCreateAPIResponse struct {
	model.CommonResponse
	AlibabaPurPrCreateAPIResponseModel
}

AlibabaPurPrCreateAPIResponse 下pr单 API返回值 alibaba.pur.pr.create

下pr单

type AlibabaPurPrCreateAPIResponseModel added in v1.2.0

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

AlibabaPurPrCreateAPIResponseModel is 下pr单 成功返回结果

type AlibabaPurProductSyncAPIRequest added in v1.2.0

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

AlibabaPurProductSyncAPIRequest 同步产品 API请求 alibaba.pur.product.sync

同步产品

func NewAlibabaPurProductSyncRequest

func NewAlibabaPurProductSyncRequest() *AlibabaPurProductSyncAPIRequest

NewAlibabaPurProductSyncRequest 初始化AlibabaPurProductSyncAPIRequest对象

func (AlibabaPurProductSyncAPIRequest) GetAccessProductDtos added in v1.2.0

func (r AlibabaPurProductSyncAPIRequest) GetAccessProductDtos() []AccessProductDto

GetAccessProductDtos AccessProductDtos Getter

func (AlibabaPurProductSyncAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaPurProductSyncAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurProductSyncAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurProductSyncAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaPurProductSyncAPIRequest) GetRawParams() model.Params

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

func (*AlibabaPurProductSyncAPIRequest) SetAccessProductDtos added in v1.2.0

func (r *AlibabaPurProductSyncAPIRequest) SetAccessProductDtos(_accessProductDtos []AccessProductDto) error

SetAccessProductDtos is AccessProductDtos Setter 产品对象

type AlibabaPurProductSyncAPIResponse

type AlibabaPurProductSyncAPIResponse struct {
	model.CommonResponse
	AlibabaPurProductSyncAPIResponseModel
}

AlibabaPurProductSyncAPIResponse 同步产品 API返回值 alibaba.pur.product.sync

同步产品

type AlibabaPurProductSyncAPIResponseModel added in v1.2.0

type AlibabaPurProductSyncAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_product_sync_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取url的出参
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurProductSyncAPIResponseModel is 同步产品 成功返回结果

type AlibabaPurSupplierAsncreateAPIRequest added in v1.2.0

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

AlibabaPurSupplierAsncreateAPIRequest asn创建 API请求 alibaba.pur.supplier.asncreate

asn创建

func NewAlibabaPurSupplierAsncreateRequest

func NewAlibabaPurSupplierAsncreateRequest() *AlibabaPurSupplierAsncreateAPIRequest

NewAlibabaPurSupplierAsncreateRequest 初始化AlibabaPurSupplierAsncreateAPIRequest对象

func (AlibabaPurSupplierAsncreateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaPurSupplierAsncreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurSupplierAsncreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurSupplierAsncreateAPIRequest) GetAsn added in v1.2.0

GetAsn Asn Getter

func (AlibabaPurSupplierAsncreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaPurSupplierAsncreateAPIRequest) SetAsn added in v1.2.0

SetAsn is Asn Setter asn头信息

type AlibabaPurSupplierAsncreateAPIResponse

type AlibabaPurSupplierAsncreateAPIResponse struct {
	model.CommonResponse
	AlibabaPurSupplierAsncreateAPIResponseModel
}

AlibabaPurSupplierAsncreateAPIResponse asn创建 API返回值 alibaba.pur.supplier.asncreate

asn创建

type AlibabaPurSupplierAsncreateAPIResponseModel added in v1.2.0

type AlibabaPurSupplierAsncreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_supplier_asncreate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取url的出参
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurSupplierAsncreateAPIResponseModel is asn创建 成功返回结果

type AlibabaPurSupplierInvoicecreateAPIRequest added in v1.2.0

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

AlibabaPurSupplierInvoicecreateAPIRequest preInvoice创建 API请求 alibaba.pur.supplier.invoicecreate

preInvoice创建

func NewAlibabaPurSupplierInvoicecreateRequest

func NewAlibabaPurSupplierInvoicecreateRequest() *AlibabaPurSupplierInvoicecreateAPIRequest

NewAlibabaPurSupplierInvoicecreateRequest 初始化AlibabaPurSupplierInvoicecreateAPIRequest对象

func (AlibabaPurSupplierInvoicecreateAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurSupplierInvoicecreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurSupplierInvoicecreateAPIRequest) GetInvoice added in v1.2.0

GetInvoice Invoice Getter

func (AlibabaPurSupplierInvoicecreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaPurSupplierInvoicecreateAPIRequest) SetInvoice added in v1.2.0

SetInvoice is Invoice Setter 预发票头信息

type AlibabaPurSupplierInvoicecreateAPIResponse

type AlibabaPurSupplierInvoicecreateAPIResponse struct {
	model.CommonResponse
	AlibabaPurSupplierInvoicecreateAPIResponseModel
}

AlibabaPurSupplierInvoicecreateAPIResponse preInvoice创建 API返回值 alibaba.pur.supplier.invoicecreate

preInvoice创建

type AlibabaPurSupplierInvoicecreateAPIResponseModel added in v1.2.0

type AlibabaPurSupplierInvoicecreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_supplier_invoicecreate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取url的出参
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurSupplierInvoicecreateAPIResponseModel is preInvoice创建 成功返回结果

type AlibabaPurSupplierPorespcreateAPIRequest added in v1.2.0

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

AlibabaPurSupplierPorespcreateAPIRequest po反馈创建 API请求 alibaba.pur.supplier.porespcreate

PO反馈接口

func NewAlibabaPurSupplierPorespcreateRequest

func NewAlibabaPurSupplierPorespcreateRequest() *AlibabaPurSupplierPorespcreateAPIRequest

NewAlibabaPurSupplierPorespcreateRequest 初始化AlibabaPurSupplierPorespcreateAPIRequest对象

func (AlibabaPurSupplierPorespcreateAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaPurSupplierPorespcreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaPurSupplierPorespcreateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurSupplierPorespcreateAPIRequest) GetPoResponse added in v1.2.0

GetPoResponse PoResponse Getter

func (AlibabaPurSupplierPorespcreateAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaPurSupplierPorespcreateAPIRequest) SetPoResponse added in v1.2.0

SetPoResponse is PoResponse Setter PO反馈信息

type AlibabaPurSupplierPorespcreateAPIResponse

type AlibabaPurSupplierPorespcreateAPIResponse struct {
	model.CommonResponse
	AlibabaPurSupplierPorespcreateAPIResponseModel
}

AlibabaPurSupplierPorespcreateAPIResponse po反馈创建 API返回值 alibaba.pur.supplier.porespcreate

PO反馈接口

type AlibabaPurSupplierPorespcreateAPIResponseModel added in v1.2.0

type AlibabaPurSupplierPorespcreateAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_pur_supplier_porespcreate_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取url的出参
	Result *ActionResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaPurSupplierPorespcreateAPIResponseModel is po反馈创建 成功返回结果

type DeliveryItemTopDto added in v1.2.5

type DeliveryItemTopDto struct {
	// 收货地址
	AddressInfo string `json:"address_info,omitempty" xml:"address_info,omitempty"`
	// 订单编号
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 饿了么行id
	BizId string `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 采购类目
	CategoryCode string `json:"category_code,omitempty" xml:"category_code,omitempty"`
	// 用途code
	CategoryUse string `json:"category_use,omitempty" xml:"category_use,omitempty"`
	// 公司code
	CompanyCode string `json:"company_code,omitempty" xml:"company_code,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 发运单位
	DeliveryUnit string `json:"delivery_unit,omitempty" xml:"delivery_unit,omitempty"`
	// 实际需求方
	Demander string `json:"demander,omitempty" xml:"demander,omitempty"`
	// 费用归属期间
	ExpenseMonth string `json:"expense_month,omitempty" xml:"expense_month,omitempty"`
	// 费用归属结束时间
	ExpenseMonthEnd string `json:"expense_month_end,omitempty" xml:"expense_month_end,omitempty"`
	// 费用归属开始时间
	ExpenseMonthStart string `json:"expense_month_start,omitempty" xml:"expense_month_start,omitempty"`
	// 拓展字段
	ExtStr string `json:"ext_str,omitempty" xml:"ext_str,omitempty"`
	// 需求说明
	ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"`
	// 订单行id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 物品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 购买方式,如按数量,按金额
	OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 联系方式
	PhoneNo string `json:"phone_no,omitempty" xml:"phone_no,omitempty"`
	// 发货数量/金额
	QuantityDelivered string `json:"quantity_delivered,omitempty" xml:"quantity_delivered,omitempty"`
	// 接收单位
	ReceiveUnit string `json:"receive_unit,omitempty" xml:"receive_unit,omitempty"`
	// 接收人
	Receiver string `json:"receiver,omitempty" xml:"receiver,omitempty"`
	// 规格属性
	Specification string `json:"specification,omitempty" xml:"specification,omitempty"`
	// 结算日期(结构化发货才需要)
	SettlementDate string `json:"settlement_date,omitempty" xml:"settlement_date,omitempty"`
	// 税码
	TaxCode string `json:"tax_code,omitempty" xml:"tax_code,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 单价
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 计价单位
	Uom string `json:"uom,omitempty" xml:"uom,omitempty"`
	// 结构化信息
	StructureItem string `json:"structure_item,omitempty" xml:"structure_item,omitempty"`
	// 组织id
	PurchaseOrgId int64 `json:"purchase_org_id,omitempty" xml:"purchase_org_id,omitempty"`
	// 供应商id
	SupplierId int64 `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 是否按明细
	DeliveryByDetail bool `json:"delivery_by_detail,omitempty" xml:"delivery_by_detail,omitempty"`
}

DeliveryItemTopDto 结构体

type DeliveryTopDto added in v1.2.5

type DeliveryTopDto struct {
	// 发货明细
	List []DeliveryItemTopDto `json:"list,omitempty" xml:"list>delivery_item_top_dto,omitempty"`
	// 验收材料/税务信息
	MaterialInformation []MaterialInformationTopDto `json:"material_information,omitempty" xml:"material_information>material_information_top_dto,omitempty"`
	// 业务类型
	BizType string `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 发货联系人
	ContactPerson string `json:"contact_person,omitempty" xml:"contact_person,omitempty"`
	// 创建人
	Creator string `json:"creator,omitempty" xml:"creator,omitempty"`
	// 发货时间
	DeliveryDate string `json:"delivery_date,omitempty" xml:"delivery_date,omitempty"`
	// 配送类型
	DeliveryType string `json:"delivery_type,omitempty" xml:"delivery_type,omitempty"`
	// 拓展字段
	ExtStr string `json:"ext_str,omitempty" xml:"ext_str,omitempty"`
	// 物流公司
	LogisticsCompany string `json:"logistics_company,omitempty" xml:"logistics_company,omitempty"`
	// 物流编号
	LogisticsNumber string `json:"logistics_number,omitempty" xml:"logistics_number,omitempty"`
	// 联系方式
	PhoneNo string `json:"phone_no,omitempty" xml:"phone_no,omitempty"`
	// 描述
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 饿了么头id
	SourceId string `json:"source_id,omitempty" xml:"source_id,omitempty"`
	// 来源
	SourceType string `json:"source_type,omitempty" xml:"source_type,omitempty"`
	// 租户id
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 是否涉及配送
	Distribution bool `json:"distribution,omitempty" xml:"distribution,omitempty"`
	// 是否免审
	NoApprovalRequired bool `json:"no_approval_required,omitempty" xml:"no_approval_required,omitempty"`
}

DeliveryTopDto 结构体

type MallFile

type MallFile struct {
	// 附件编码
	FileMd5 string `json:"file_md5,omitempty" xml:"file_md5,omitempty"`
	// 附件名称
	FileName string `json:"file_name,omitempty" xml:"file_name,omitempty"`
	// 附件URL
	FileUrl string `json:"file_url,omitempty" xml:"file_url,omitempty"`
}

MallFile 结构体

type MallItemDto

type MallItemDto struct {
	// 合同单号
	ContractCode string `json:"contract_code,omitempty" xml:"contract_code,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 商品预览图
	ImgUrl string `json:"img_url,omitempty" xml:"img_url,omitempty"`
	// 商品描述
	ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"`
	// 商品id
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 外部品类id
	MallCategoryId string `json:"mall_category_id,omitempty" xml:"mall_category_id,omitempty"`
	// skuid
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 外部订单行id
	SubPurReqId string `json:"sub_pur_req_id,omitempty" xml:"sub_pur_req_id,omitempty"`
	// 供应商id
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 单价
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 计价单位
	Uom string `json:"uom,omitempty" xml:"uom,omitempty"`
	// 产品详情链接
	ItemUrl string `json:"item_url,omitempty" xml:"item_url,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

MallItemDto 结构体

type MallMergeCartRequestDto

type MallMergeCartRequestDto struct {
	// 合并的商品行
	Items []MallItemDto `json:"items,omitempty" xml:"items>mall_item_dto,omitempty"`
	// 外部平台标识
	AppCode string `json:"app_code,omitempty" xml:"app_code,omitempty"`
	// 外部订单标识
	OrderId string `json:"order_id,omitempty" xml:"order_id,omitempty"`
	// 用户加密id
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

MallMergeCartRequestDto 结构体

type MallReceivePrRequest

type MallReceivePrRequest struct {
	// 订单详情
	OrderItems []OrderItem `json:"order_items,omitempty" xml:"order_items>order_item,omitempty"`
	// 附件信息
	MallFiles []MallFile `json:"mall_files,omitempty" xml:"mall_files>mall_file,omitempty"`
	// 第三方商城申请单ID
	PurReqId string `json:"pur_req_id,omitempty" xml:"pur_req_id,omitempty"`
	// 用户ID
	UserId string `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 商城编码
	AppCode string `json:"app_code,omitempty" xml:"app_code,omitempty"`
	// 外界商城申请标识
	OutPurReqId string `json:"out_pur_req_id,omitempty" xml:"out_pur_req_id,omitempty"`
}

MallReceivePrRequest 结构体

type MallReceivePrResponse

type MallReceivePrResponse struct {
	// 错误代码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误提示
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 返回数据
	Data *MallReceivePrResponseData `json:"data,omitempty" xml:"data,omitempty"`
	// 返回标识
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

MallReceivePrResponse 结构体

type MallReceivePrResponseData

type MallReceivePrResponseData struct {
	// 采购商城申请单ID
	PurReqId string `json:"pur_req_id,omitempty" xml:"pur_req_id,omitempty"`
	// 下单成功后跳转地址
	RedirectUrl string `json:"redirect_url,omitempty" xml:"redirect_url,omitempty"`
}

MallReceivePrResponseData 结构体

type MaterialInformationTopDto added in v1.2.5

type MaterialInformationTopDto struct {
	// 验收材料
	AcceptanceMaterialList []string `json:"acceptance_material_list,omitempty" xml:"acceptance_material_list>string,omitempty"`
	// 电子发票
	InvoiceFileList []string `json:"invoice_file_list,omitempty" xml:"invoice_file_list>string,omitempty"`
	// gst
	TaxInformationGstList []string `json:"tax_information_gst_list,omitempty" xml:"tax_information_gst_list>string,omitempty"`
	// wht
	TaxInformationWhtList []string `json:"tax_information_wht_list,omitempty" xml:"tax_information_wht_list>string,omitempty"`
	// 订单单号
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
}

MaterialInformationTopDto 结构体

type MediaStatisticsDto

type MediaStatisticsDto struct {
	// 文章摘要
	Summary string `json:"summary,omitempty" xml:"summary,omitempty"`
	// 榜单排名
	Rowno string `json:"rowno,omitempty" xml:"rowno,omitempty"`
	// 头条点赞数
	TopAvgLikenum string `json:"top_avg_likenum,omitempty" xml:"top_avg_likenum,omitempty"`
	// 榜单所属月份
	ResultMonth string `json:"result_month,omitempty" xml:"result_month,omitempty"`
	// 榜单排名变化
	RownoUp string `json:"rowno_up,omitempty" xml:"rowno_up,omitempty"`
	// 平均评论数
	AvgCommentsNum string `json:"avg_comments_num,omitempty" xml:"avg_comments_num,omitempty"`
	// 榜单指数变化
	CiUp string `json:"ci_up,omitempty" xml:"ci_up,omitempty"`
	// 品类名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 文章标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 阅读数
	ReadNum string `json:"read_num,omitempty" xml:"read_num,omitempty"`
	// 昵称
	NickName string `json:"nick_name,omitempty" xml:"nick_name,omitempty"`
	// 平均转发数
	AvgRepostsNum string `json:"avg_reposts_num,omitempty" xml:"avg_reposts_num,omitempty"`
	// 名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 次条点赞数
	SecondAvgLikenum string `json:"second_avg_likenum,omitempty" xml:"second_avg_likenum,omitempty"`
	// 原创比例
	CopyrightProportion string `json:"copyright_proportion,omitempty" xml:"copyright_proportion,omitempty"`
	// 发布时间
	PostTime string `json:"post_time,omitempty" xml:"post_time,omitempty"`
	// 头条阅读数
	TopAvgReadnum string `json:"top_avg_readnum,omitempty" xml:"top_avg_readnum,omitempty"`
	// 转发数
	RepostsNum string `json:"reposts_num,omitempty" xml:"reposts_num,omitempty"`
	// 发布次数
	UrlTimes string `json:"url_times,omitempty" xml:"url_times,omitempty"`
	// 品类ID
	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`
	// 评论数
	CommentsNum string `json:"comments_num,omitempty" xml:"comments_num,omitempty"`
	// 文章地址
	Url string `json:"url,omitempty" xml:"url,omitempty"`
	// 文章正文
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 3-N条阅读数
	OtherAvgReadnum string `json:"other_avg_readnum,omitempty" xml:"other_avg_readnum,omitempty"`
	// 超过10w的文章数
	UrlNumMoreTenw string `json:"url_num_more_tenw,omitempty" xml:"url_num_more_tenw,omitempty"`
	// 好看数
	LikeNum string `json:"like_num,omitempty" xml:"like_num,omitempty"`
	// 次条阅读数
	SecondAvgReadnum string `json:"second_avg_readnum,omitempty" xml:"second_avg_readnum,omitempty"`
	// 榜单指数
	Ci string `json:"ci,omitempty" xml:"ci,omitempty"`
	// 平均点赞数
	AvgLikeNum string `json:"avg_like_num,omitempty" xml:"avg_like_num,omitempty"`
	// 原创发布数
	CopyrightUrlNum string `json:"copyright_url_num,omitempty" xml:"copyright_url_num,omitempty"`
	// 发布文章数
	UrlNum string `json:"url_num,omitempty" xml:"url_num,omitempty"`
	// 榜单分类排名
	TypesRowno string `json:"types_rowno,omitempty" xml:"types_rowno,omitempty"`
	// 平均阅读数
	AvgReadNum string `json:"avg_read_num,omitempty" xml:"avg_read_num,omitempty"`
	// 文章类型
	ArticleType string `json:"article_type,omitempty" xml:"article_type,omitempty"`
	// 榜单类型
	BoardType string `json:"board_type,omitempty" xml:"board_type,omitempty"`
	// 统计时间
	StatisticTime string `json:"statistic_time,omitempty" xml:"statistic_time,omitempty"`
	// 发布类型
	PostType string `json:"post_type,omitempty" xml:"post_type,omitempty"`
}

MediaStatisticsDto 结构体

type OrderItem

type OrderItem struct {
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 税率,如13%传13
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 供应商ID
	SupplierId string `json:"supplier_id,omitempty" xml:"supplier_id,omitempty"`
	// 商城品类
	MallCategoryId string `json:"mall_category_id,omitempty" xml:"mall_category_id,omitempty"`
	// 元,个
	Uom string `json:"uom,omitempty" xml:"uom,omitempty"`
	// 子订单号
	SubPurReqId string `json:"sub_pur_req_id,omitempty" xml:"sub_pur_req_id,omitempty"`
	// sku的ID
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 单价(含税)
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 合同ID
	ContractId string `json:"contract_id,omitempty" xml:"contract_id,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品描述
	ItemDescription string `json:"item_description,omitempty" xml:"item_description,omitempty"`
	// 数量
	Quantity int64 `json:"quantity,omitempty" xml:"quantity,omitempty"`
}

OrderItem 结构体

type Polinelist

type Polinelist struct {
	// BOM节点列表,节点之间使用父节点id维护层级关系
	ItemList []Polinestructureitemdtolist `json:"item_list,omitempty" xml:"item_list>polinestructureitemdtolist,omitempty"`
	// 物品名称
	GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"`
	// 规格
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 单位
	Uom string `json:"uom,omitempty" xml:"uom,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 是否涉及预提所得税
	IsWhtRelated string `json:"is_wht_related,omitempty" xml:"is_wht_related,omitempty"`
	// 含税单价
	TaxPrice string `json:"tax_price,omitempty" xml:"tax_price,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 含税总价
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 收货地址
	DeliveryLocation string `json:"delivery_location,omitempty" xml:"delivery_location,omitempty"`
	// 期望交付日期
	NeedByDate string `json:"need_by_date,omitempty" xml:"need_by_date,omitempty"`
	// 期望交付日期
	NeedByDateEnd string `json:"need_by_date_end,omitempty" xml:"need_by_date_end,omitempty"`
	// 收货人
	Receiver string `json:"receiver,omitempty" xml:"receiver,omitempty"`
	// 收货人电话
	ReceiverPhone string `json:"receiver_phone,omitempty" xml:"receiver_phone,omitempty"`
	// 收货人手机
	ReceiverMobile string `json:"receiver_mobile,omitempty" xml:"receiver_mobile,omitempty"`
	// additionalInfo
	AdditionalInfo string `json:"additional_info,omitempty" xml:"additional_info,omitempty"`
	// 订单行商品报价币种和订单头币种之间的汇率
	ExchangeRate string `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"`
	// 订单行商品报价币种
	GoodsCurrencyCode string `json:"goods_currency_code,omitempty" xml:"goods_currency_code,omitempty"`
	// lineNum
	LineNum int64 `json:"line_num,omitempty" xml:"line_num,omitempty"`
}

Polinelist 结构体

type Polinestructureitemdtolist

type Polinestructureitemdtolist struct {
	// 节点名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// ITEM_PRICE:物料价格,BOM_COST:BOM COST,OTHER_COST_TOTAL:其他费用小计,PROFIT_COST:利润,OEM_COST:代工费用,MAINTENANCE_COST:维保费用,LOGISTICS_COST:物流费用,INSTALLATION_COST:上架安装费用,TARIFF_TAX:关税税费,SALES_TAX:销售税税费,VAT_TAX:增值税税费
	CostType string `json:"cost_type,omitempty" xml:"cost_type,omitempty"`
	// 计价单位
	ChargeUnit string `json:"charge_unit,omitempty" xml:"charge_unit,omitempty"`
	// 单价
	UnitPrice string `json:"unit_price,omitempty" xml:"unit_price,omitempty"`
	// 单价币种
	UnitCurrency string `json:"unit_currency,omitempty" xml:"unit_currency,omitempty"`
	// 金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 金额币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 汇率
	ExchangeRate string `json:"exchange_rate,omitempty" xml:"exchange_rate,omitempty"`
	// 数量
	Quantity string `json:"quantity,omitempty" xml:"quantity,omitempty"`
	// 参数
	ExpenseParam string `json:"expense_param,omitempty" xml:"expense_param,omitempty"`
	// 节点id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 父节点id,为空则表示该节点是根节点
	ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"`
}

Polinestructureitemdtolist 结构体

type RelationTopDto added in v1.2.5

type RelationTopDto struct {
	// 拓展字段
	ExtStr string `json:"ext_str,omitempty" xml:"ext_str,omitempty"`
	// 饿了么行id
	Key string `json:"key,omitempty" xml:"key,omitempty"`
	// 生成的发货行id
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

RelationTopDto 结构体

type ResultTopDto added in v1.2.5

type ResultTopDto struct {
	// 行映射关系
	IdRelationList []RelationTopDto `json:"id_relation_list,omitempty" xml:"id_relation_list>relation_top_dto,omitempty"`
	// 拓展字段
	ExtStr string `json:"ext_str,omitempty" xml:"ext_str,omitempty"`
	// 发货单号
	Number string `json:"number,omitempty" xml:"number,omitempty"`
	// 发货单id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

ResultTopDto 结构体

type SupplierAsnInfoVo added in v1.2.7

type SupplierAsnInfoVo struct {
	// asn行信息
	AsnItemList []SupplierAsnItem `json:"asn_item_list,omitempty" xml:"asn_item_list>supplier_asn_item,omitempty"`
	// 关闭原因
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"`
	// asn状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// asn备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 实际签收人
	ReceivedBy string `json:"received_by,omitempty" xml:"received_by,omitempty"`
	// 签收人
	Receipient string `json:"receipient,omitempty" xml:"receipient,omitempty"`
	// 国际贸易交付地点
	ConsigneeAddress string `json:"consignee_address,omitempty" xml:"consignee_address,omitempty"`
	// 国内交付地点
	DeliveryAddress string `json:"delivery_address,omitempty" xml:"delivery_address,omitempty"`
	// 签收方
	Consignee string `json:"consignee,omitempty" xml:"consignee,omitempty"`
	// 木箱号
	Cass string `json:"cass,omitempty" xml:"cass,omitempty"`
	// 集装箱号
	ContainerNo string `json:"container_no,omitempty" xml:"container_no,omitempty"`
	// 装箱单号
	PackingListNo string `json:"packing_list_no,omitempty" xml:"packing_list_no,omitempty"`
	// 国际贸易术语
	Incoterms string `json:"incoterms,omitempty" xml:"incoterms,omitempty"`
	// 物流单号
	TrackingNum string `json:"tracking_num,omitempty" xml:"tracking_num,omitempty"`
	// 承运方联系电话
	CarrierContactPhone string `json:"carrier_contact_phone,omitempty" xml:"carrier_contact_phone,omitempty"`
	// 承运方联系邮箱
	CarrierContactEmail string `json:"carrier_contact_email,omitempty" xml:"carrier_contact_email,omitempty"`
	// 承运方联系人
	CarrierContact string `json:"carrier_contact,omitempty" xml:"carrier_contact,omitempty"`
	// 承运人
	Carrier string `json:"carrier,omitempty" xml:"carrier,omitempty"`
	// 配送方式
	ShipmentType string `json:"shipment_type,omitempty" xml:"shipment_type,omitempty"`
	// 实际发货日期
	ActualArrivalDate string `json:"actual_arrival_date,omitempty" xml:"actual_arrival_date,omitempty"`
	// 预计到货日期
	EstimatedArrivalDate string `json:"estimated_arrival_date,omitempty" xml:"estimated_arrival_date,omitempty"`
	// 采购组织代码
	DemanderPurchaseOrgCode string `json:"demander_purchase_org_code,omitempty" xml:"demander_purchase_org_code,omitempty"`
	// Ou代码
	OuCode string `json:"ou_code,omitempty" xml:"ou_code,omitempty"`
	// 供应商名称
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 供应商编码
	SupplierCode string `json:"supplier_code,omitempty" xml:"supplier_code,omitempty"`
}

SupplierAsnInfoVo 结构体

type SupplierAsnItem

type SupplierAsnItem struct {
	// 关闭原因
	LineCloseReason string `json:"line_close_reason,omitempty" xml:"line_close_reason,omitempty"`
	// asn行状态
	LineStatus string `json:"line_status,omitempty" xml:"line_status,omitempty"`
	// asn行备注
	LineRemark string `json:"line_remark,omitempty" xml:"line_remark,omitempty"`
	// 木箱号
	Cass string `json:"cass,omitempty" xml:"cass,omitempty"`
	// 集装箱号
	ContainerNo string `json:"container_no,omitempty" xml:"container_no,omitempty"`
	// 装箱单号
	PackingListNo string `json:"packing_list_no,omitempty" xml:"packing_list_no,omitempty"`
	// 发货金额
	DeliveryAmount string `json:"delivery_amount,omitempty" xml:"delivery_amount,omitempty"`
	// 发货数量
	DeliveryQty string `json:"delivery_qty,omitempty" xml:"delivery_qty,omitempty"`
	// 购买方式
	ProcurementMethod string `json:"procurement_method,omitempty" xml:"procurement_method,omitempty"`
	// 发货批次号
	ShippingBatchNo string `json:"shipping_batch_no,omitempty" xml:"shipping_batch_no,omitempty"`
	// asn来源订单行号
	SourcePoLineNum string `json:"source_po_line_num,omitempty" xml:"source_po_line_num,omitempty"`
	// asn来源订单号
	SourcePoNo string `json:"source_po_no,omitempty" xml:"source_po_no,omitempty"`
	// 根据订单发货标识
	IsPoSource string `json:"is_po_source,omitempty" xml:"is_po_source,omitempty"`
	// asn单行编号
	AsnLineNum string `json:"asn_line_num,omitempty" xml:"asn_line_num,omitempty"`
	// 延期原因
	DelayReason string `json:"delay_reason,omitempty" xml:"delay_reason,omitempty"`
}

SupplierAsnItem 结构体

type SupplierPoDetailDto

type SupplierPoDetailDto struct {
	// 订单行列表
	PoLineList []Polinelist `json:"po_line_list,omitempty" xml:"po_line_list>polinelist,omitempty"`
	// 供应商名称
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 订单编号
	PoNo string `json:"po_no,omitempty" xml:"po_no,omitempty"`
	// 联系人
	SupplierContact string `json:"supplier_contact,omitempty" xml:"supplier_contact,omitempty"`
	// 联系人电话
	SupplierMobile string `json:"supplier_mobile,omitempty" xml:"supplier_mobile,omitempty"`
	// 订单生效日期
	EffectTime string `json:"effect_time,omitempty" xml:"effect_time,omitempty"`
	// 需方
	OuName string `json:"ou_name,omitempty" xml:"ou_name,omitempty"`
	// 需方(代号)
	OuCode string `json:"ou_code,omitempty" xml:"ou_code,omitempty"`
	// 合同编号
	ContractNo string `json:"contract_no,omitempty" xml:"contract_no,omitempty"`
	// 采购员姓名
	BuyerName string `json:"buyer_name,omitempty" xml:"buyer_name,omitempty"`
	// 采购员电话
	BuyMobile string `json:"buy_mobile,omitempty" xml:"buy_mobile,omitempty"`
	// PR单号
	PrNo string `json:"pr_no,omitempty" xml:"pr_no,omitempty"`
	// 注意事项
	Comments string `json:"comments,omitempty" xml:"comments,omitempty"`
	// cpoNo
	CpoNo string `json:"cpo_no,omitempty" xml:"cpo_no,omitempty"`
}

SupplierPoDetailDto 结构体

type SupplierPoResponseDo added in v1.2.0

type SupplierPoResponseDo struct {
	// po头编号
	PoNo string `json:"po_no,omitempty" xml:"po_no,omitempty"`
	// po行编号
	PoLineNum string `json:"po_line_num,omitempty" xml:"po_line_num,omitempty"`
	// 购买方式
	ProcurementMethod string `json:"procurement_method,omitempty" xml:"procurement_method,omitempty"`
	// 延误原因
	DelayReason string `json:"delay_reason,omitempty" xml:"delay_reason,omitempty"`
	// 发货金额
	DeliveryAmount string `json:"delivery_amount,omitempty" xml:"delivery_amount,omitempty"`
	// 产能计划代码
	CapacityRecordNo string `json:"capacity_record_no,omitempty" xml:"capacity_record_no,omitempty"`
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 反馈类型
	ResponseType string `json:"response_type,omitempty" xml:"response_type,omitempty"`
	// 预计到货日期
	EstimatedArrivalDate string `json:"estimated_arrival_date,omitempty" xml:"estimated_arrival_date,omitempty"`
	// 生产周期
	ProductionPeriod string `json:"production_period,omitempty" xml:"production_period,omitempty"`
	// 采购组织
	DemanderPurchaseOrgCode string `json:"demander_purchase_org_code,omitempty" xml:"demander_purchase_org_code,omitempty"`
	// 发货数量
	DeliveryQty string `json:"delivery_qty,omitempty" xml:"delivery_qty,omitempty"`
	// 实际发货日期
	ActualArrivalDate string `json:"actual_arrival_date,omitempty" xml:"actual_arrival_date,omitempty"`
	// 供应商编码
	SupplierCode string `json:"supplier_code,omitempty" xml:"supplier_code,omitempty"`
	// 供应商名称
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 项目代码
	ProjectCode string `json:"project_code,omitempty" xml:"project_code,omitempty"`
	// 供应商ou代码
	OuCode string `json:"ou_code,omitempty" xml:"ou_code,omitempty"`
	// 发货批次号
	DeliveryBatchNo string `json:"delivery_batch_no,omitempty" xml:"delivery_batch_no,omitempty"`
	// 反馈状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

SupplierPoResponseDo 结构体

type SupplierPreInvoiceInfoVo added in v1.2.7

type SupplierPreInvoiceInfoVo struct {
	// 预发票行信息
	InvoiceItemList []SupplierPreInvoiceItem `json:"invoice_item_list,omitempty" xml:"invoice_item_list>supplier_pre_invoice_item,omitempty"`
	// 发票附件
	Attachment []*model.File `json:"attachment,omitempty" xml:"attachment>*model.File,omitempty"`
	// 关闭原因
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,omitempty"`
	// 应付发票状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 应付发票备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 开票人
	Drawer string `json:"drawer,omitempty" xml:"drawer,omitempty"`
	// 复核人
	Reviewer string `json:"reviewer,omitempty" xml:"reviewer,omitempty"`
	// 收款人
	Payee string `json:"payee,omitempty" xml:"payee,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 价税合计
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 税额合计
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 卖方账户
	InvoiceSellerAccountNo string `json:"invoice_seller_account_no,omitempty" xml:"invoice_seller_account_no,omitempty"`
	// 卖方开户行
	InvoiceSellerBankNo string `json:"invoice_seller_bank_no,omitempty" xml:"invoice_seller_bank_no,omitempty"`
	// 卖方电话
	InvoiceSellerPhone string `json:"invoice_seller_phone,omitempty" xml:"invoice_seller_phone,omitempty"`
	// 卖方地址
	InvoiceSellerAddress string `json:"invoice_seller_address,omitempty" xml:"invoice_seller_address,omitempty"`
	// 纳税人识别号
	InvoiceSellerTaxCode string `json:"invoice_seller_tax_code,omitempty" xml:"invoice_seller_tax_code,omitempty"`
	// 开票方抬头
	InvoiceSellerName string `json:"invoice_seller_name,omitempty" xml:"invoice_seller_name,omitempty"`
	// 购买方账户
	InvoiceBuyerAccountNo string `json:"invoice_buyer_account_no,omitempty" xml:"invoice_buyer_account_no,omitempty"`
	// 购买方开户行
	InvoiceBuyerBankNo string `json:"invoice_buyer_bank_no,omitempty" xml:"invoice_buyer_bank_no,omitempty"`
	// 购买方电话
	InvoiceBuyerPhone string `json:"invoice_buyer_phone,omitempty" xml:"invoice_buyer_phone,omitempty"`
	// 购买方地址
	InvoiceBuyerAddress string `json:"invoice_buyer_address,omitempty" xml:"invoice_buyer_address,omitempty"`
	// 纳税人识别号
	InvoiceBuyerTaxCode string `json:"invoice_buyer_tax_code,omitempty" xml:"invoice_buyer_tax_code,omitempty"`
	// 开票方抬头
	InvoiceBuyerName string `json:"invoice_buyer_name,omitempty" xml:"invoice_buyer_name,omitempty"`
	// 发票类型
	InvoiceType string `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 发票代码
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
	// 发票号码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 开票日期
	DayAfterInvoicing string `json:"day_after_invoicing,omitempty" xml:"day_after_invoicing,omitempty"`
	// 采购组织
	DemanderPurchaseOrgCode string `json:"demander_purchase_org_code,omitempty" xml:"demander_purchase_org_code,omitempty"`
	// 供应商ou代码
	OuCode string `json:"ou_code,omitempty" xml:"ou_code,omitempty"`
	// 供应商名称
	SupplierName string `json:"supplier_name,omitempty" xml:"supplier_name,omitempty"`
	// 供应商编码
	SupplierCode string `json:"supplier_code,omitempty" xml:"supplier_code,omitempty"`
}

SupplierPreInvoiceInfoVo 结构体

type SupplierPreInvoiceItem

type SupplierPreInvoiceItem struct {
	// 关闭原因
	LineCloseReason string `json:"line_close_reason,omitempty" xml:"line_close_reason,omitempty"`
	// 行状态
	LineStatus string `json:"line_status,omitempty" xml:"line_status,omitempty"`
	// 关联开票单行号
	SourceKpLineNo string `json:"source_kp_line_no,omitempty" xml:"source_kp_line_no,omitempty"`
	// 关联开票单单号
	SourceKpNo string `json:"source_kp_no,omitempty" xml:"source_kp_no,omitempty"`
	// 应付发票行备注
	LineRemark string `json:"line_remark,omitempty" xml:"line_remark,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 税码
	TaxCode string `json:"tax_code,omitempty" xml:"tax_code,omitempty"`
	// 发票行税额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 发票行总金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 发票行数量
	InvoiceLineQuantity string `json:"invoice_line_quantity,omitempty" xml:"invoice_line_quantity,omitempty"`
	// 规格型号
	Spec string `json:"spec,omitempty" xml:"spec,omitempty"`
	// 货物或服务名称
	GoodsName string `json:"goods_name,omitempty" xml:"goods_name,omitempty"`
	// 货物或服务id
	ItemCode string `json:"item_code,omitempty" xml:"item_code,omitempty"`
	// 匹配入库id
	SourceInventory string `json:"source_inventory,omitempty" xml:"source_inventory,omitempty"`
	// 匹配接收行编号
	SourceRtLineNo string `json:"source_rt_line_no,omitempty" xml:"source_rt_line_no,omitempty"`
	// 匹配接收行编号
	SourceRtNo string `json:"source_rt_no,omitempty" xml:"source_rt_no,omitempty"`
	// 匹配订单行编号
	SourcePoLineNo string `json:"source_po_line_no,omitempty" xml:"source_po_line_no,omitempty"`
	// 匹配订单头编号
	SourcePoNo string `json:"source_po_no,omitempty" xml:"source_po_no,omitempty"`
	// 应付发票行编号
	LineNo string `json:"line_no,omitempty" xml:"line_no,omitempty"`
}

SupplierPreInvoiceItem 结构体

type Value

type Value struct {
	// 订单编号
	PoNo string `json:"po_no,omitempty" xml:"po_no,omitempty"`
	// 订单生效时间
	EffectTime string `json:"effect_time,omitempty" xml:"effect_time,omitempty"`
	// 合同编号
	ContractNo string `json:"contract_no,omitempty" xml:"contract_no,omitempty"`
	// 币种
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 订单金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 已发货金额
	DeliverAmount string `json:"deliver_amount,omitempty" xml:"deliver_amount,omitempty"`
	// 已接收金额
	ReceiveAmount string `json:"receive_amount,omitempty" xml:"receive_amount,omitempty"`
	// 已开票金额
	BillAmount string `json:"bill_amount,omitempty" xml:"bill_amount,omitempty"`
	// 已满足付款金额
	ToPayAmount string `json:"to_pay_amount,omitempty" xml:"to_pay_amount,omitempty"`
	// 已付款金额
	PaymentAmount string `json:"payment_amount,omitempty" xml:"payment_amount,omitempty"`
	// 状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 开始日期
	BeginDate string `json:"begin_date,omitempty" xml:"begin_date,omitempty"`
	// 结束日期
	EndDate string `json:"end_date,omitempty" xml:"end_date,omitempty"`
	// CPO NO
	CpoNo string `json:"cpo_no,omitempty" xml:"cpo_no,omitempty"`
}

Value 结构体

Source Files

Jump to

Keyboard shortcuts

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