pur

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 pur 包含信息平台-采购相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AccessProductAttrValueDto

type AccessProductAttrValueDto struct {
	// 属性Value值英文
	AttrEnValueNameList []string `json:"attr_en_value_name_list,omitempty" xml:"attr_en_value_name_list>string,omitempty"`
	// 属性Value值中文
	AttrValueNameList []string `json:"attr_value_name_list,omitempty" xml:"attr_value_name_list>string,omitempty"`
	// 属性Key英文值
	AttrEnName string `json:"attr_en_name,omitempty" xml:"attr_en_name,omitempty"`
	// 属性Key中文值
	AttrName string `json:"attr_name,omitempty" xml:"attr_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"`
	// 分类名称
	SourceCategoryName string `json:"source_category_name,omitempty" xml:"source_category_name,omitempty"`
	// 来源值(产品ID)
	SourceValue string `json:"source_value,omitempty" xml:"source_value,omitempty"`
	// 子类型
	SourceType string `json:"source_type,omitempty" xml:"source_type,omitempty"`
	// 采购员
	BuyerWorkNo string `json:"buyer_work_no,omitempty" xml:"buyer_work_no,omitempty"`
	// 来源
	DataSource string `json:"data_source,omitempty" xml:"data_source,omitempty"`
	// 采购通道 CATALOG, EXTERNAL,QUOTATION_SETTLEMENT, VIRTUAL_PR
	PurchaseChannel string `json:"purchase_channel,omitempty" xml:"purchase_channel,omitempty"`
	// 计价方式 AMOUNT QUANTITY BOTH
	OrderType string `json:"order_type,omitempty" xml:"order_type,omitempty"`
	// 采购编码
	CategoryCode string `json:"category_code,omitempty" xml:"category_code,omitempty"`
	// 产品详情
	Recommendation string `json:"recommendation,omitempty" xml:"recommendation,omitempty"`
	// 品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 额外信息
	SourceInfo string `json:"source_info,omitempty" xml:"source_info,omitempty"`
	// 计价单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 产品描述
	ProductDesc string `json:"product_desc,omitempty" xml:"product_desc,omitempty"`
	// 图片存储方式
	ImgStorageType string `json:"img_storage_type,omitempty" xml:"img_storage_type,omitempty"`
	// 产品名称
	ProductName string `json:"product_name,omitempty" xml:"product_name,omitempty"`
	// 产品跳转链接
	MallUrl string `json:"mall_url,omitempty" xml:"mall_url,omitempty"`
	// 租户
	TenantId int64 `json:"tenant_id,omitempty" xml:"tenant_id,omitempty"`
	// 品类ID
	CatalogCategoryId int64 `json:"catalog_category_id,omitempty" xml:"catalog_category_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"`
	// 外部分类
	SourceCategoryId int64 `json:"source_category_id,omitempty" xml:"source_category_id,omitempty"`
	// 前台类目
	FrontCategoryId int64 `json:"front_category_id,omitempty" xml:"front_category_id,omitempty"`
}

AccessProductDto 结构体

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"`
	// 返回结果
	Content string `json:"content,omitempty" xml:"content,omitempty"`
	// 返回提示信息
	Message string `json:"message,omitempty" xml:"message,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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaCeresSupplierPoQueryAPIRequest) GetEndDate added in v1.2.0

GetEndDate EndDate Getter

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) 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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurBasketMergeAPIRequest) GetParamMallMergeCartRequestDTO added in v1.2.0

func (r AlibabaPurBasketMergeAPIRequest) GetParamMallMergeCartRequestDTO() *MallMergeCartRequestDto

GetParamMallMergeCartRequestDTO ParamMallMergeCartRequestDTO Getter

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 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurMediaStatisticsAPIRequest) GetMediaStatisticsDTO added in v1.2.0

func (r AlibabaPurMediaStatisticsAPIRequest) GetMediaStatisticsDTO() []MediaStatisticsDto

GetMediaStatisticsDTO MediaStatisticsDTO Getter

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() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurPrCreateAPIRequest) GetPurReq added in v1.2.0

GetPurReq PurReq Getter

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() url.Values

GetApiParams 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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurSupplierAsncreateAPIRequest) GetAsn added in v1.2.0

GetAsn Asn Getter

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurSupplierInvoicecreateAPIRequest) GetInvoice added in v1.2.0

GetInvoice Invoice Getter

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaPurSupplierPorespcreateAPIRequest) GetPoResponse added in v1.2.0

GetPoResponse PoResponse Getter

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 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 {
	// 币种
	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"`
	// 合同单号
	ContractCode string `json:"contract_code,omitempty" xml:"contract_code,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 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"`
	// 税率
	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 SupplierAsnInfoVO

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"`
}

SupplierPoDetailDto 结构体

type SupplierPoResponseDo added in v1.2.0

type SupplierPoResponseDo struct {
	// 备注
	Remark string `json:"remark,omitempty" xml:"remark,omitempty"`
	// 反馈状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 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"`
	// 反馈类型
	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"`
}

SupplierPoResponseDo 结构体

type SupplierPreInvoiceInfoVO

type SupplierPreInvoiceInfoVO struct {
	// 预发票行信息
	InvoiceItemList []SupplierPreInvoiceItem `json:"invoice_item_list,omitempty" xml:"invoice_item_list>supplier_pre_invoice_item,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"`
	// 关闭原因
	CloseReason string `json:"close_reason,omitempty" xml:"close_reason,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"`
	// 发票附件
	Attachment *model.File `json:"attachment,omitempty" xml:"attachment,omitempty"`
}

SupplierPreInvoiceInfoVO 结构体

type SupplierPreInvoiceItem

type SupplierPreInvoiceItem struct {
	// 发票行总金额
	Amount string `json:"amount,omitempty" xml:"amount,omitempty"`
	// 规格型号
	Spec string `json:"spec,omitempty" xml:"spec,omitempty"`
	// 关闭原因
	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"`
	// 发票行数量
	InvoiceLineQuantity string `json:"invoice_line_quantity,omitempty" xml:"invoice_line_quantity,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"`
}

Value 结构体

Jump to

Keyboard shortcuts

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