txcs

package
v1.4.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package txcs 包含天猫超市前台API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAccessBaseResult added in v1.3.4

func ReleaseAccessBaseResult(v *AccessBaseResult)

ReleaseAccessBaseResult 释放AccessBaseResult

func ReleaseBatchOperateResultDto added in v1.3.4

func ReleaseBatchOperateResultDto(v *BatchOperateResultDto)

ReleaseBatchOperateResultDto 释放BatchOperateResultDto

func ReleaseBizExtAttr added in v1.3.4

func ReleaseBizExtAttr(v *BizExtAttr)

ReleaseBizExtAttr 释放BizExtAttr

func ReleaseCommonResult added in v1.3.4

func ReleaseCommonResult(v *CommonResult)

ReleaseCommonResult 释放CommonResult

func ReleaseCurrency added in v1.3.4

func ReleaseCurrency(v *Currency)

ReleaseCurrency 释放Currency

func ReleaseInvoiceInfoDto added in v1.3.4

func ReleaseInvoiceInfoDto(v *InvoiceInfoDto)

ReleaseInvoiceInfoDto 释放InvoiceInfoDto

func ReleaseInvoiceInputDto added in v1.3.4

func ReleaseInvoiceInputDto(v *InvoiceInputDto)

ReleaseInvoiceInputDto 释放InvoiceInputDto

func ReleaseInvoiceInputResultDto added in v1.3.4

func ReleaseInvoiceInputResultDto(v *InvoiceInputResultDto)

ReleaseInvoiceInputResultDto 释放InvoiceInputResultDto

func ReleasePagination added in v1.3.4

func ReleasePagination(v *Pagination)

ReleasePagination 释放Pagination

func ReleaseStatementBillConfirmDto added in v1.3.4

func ReleaseStatementBillConfirmDto(v *StatementBillConfirmDto)

ReleaseStatementBillConfirmDto 释放StatementBillConfirmDto

func ReleaseStatementBillDto added in v1.3.4

func ReleaseStatementBillDto(v *StatementBillDto)

ReleaseStatementBillDto 释放StatementBillDto

func ReleaseStatementBillFeeDetailQuery added in v1.3.4

func ReleaseStatementBillFeeDetailQuery(v *StatementBillFeeDetailQuery)

ReleaseStatementBillFeeDetailQuery 释放StatementBillFeeDetailQuery

func ReleaseStatementBillQuery added in v1.3.4

func ReleaseStatementBillQuery(v *StatementBillQuery)

ReleaseStatementBillQuery 释放StatementBillQuery

func ReleaseTmallTxcsFinanceBillCheckAPIRequest added in v1.3.4

func ReleaseTmallTxcsFinanceBillCheckAPIRequest(v *TmallTxcsFinanceBillCheckAPIRequest)

ReleaseTmallTxcsFinanceBillCheckAPIRequest 将 TmallTxcsFinanceBillCheckAPIRequest 放入 sync.Pool

func ReleaseTmallTxcsFinanceBillCheckAPIResponse added in v1.3.4

func ReleaseTmallTxcsFinanceBillCheckAPIResponse(v *TmallTxcsFinanceBillCheckAPIResponse)

ReleaseTmallTxcsFinanceBillCheckAPIResponse 将 TmallTxcsFinanceBillCheckAPIResponse 保存到 sync.Pool

func ReleaseTmallTxcsFinanceBillConfirmAPIRequest added in v1.3.4

func ReleaseTmallTxcsFinanceBillConfirmAPIRequest(v *TmallTxcsFinanceBillConfirmAPIRequest)

ReleaseTmallTxcsFinanceBillConfirmAPIRequest 将 TmallTxcsFinanceBillConfirmAPIRequest 放入 sync.Pool

func ReleaseTmallTxcsFinanceBillConfirmAPIResponse added in v1.3.4

func ReleaseTmallTxcsFinanceBillConfirmAPIResponse(v *TmallTxcsFinanceBillConfirmAPIResponse)

ReleaseTmallTxcsFinanceBillConfirmAPIResponse 将 TmallTxcsFinanceBillConfirmAPIResponse 保存到 sync.Pool

func ReleaseTmallTxcsFinanceBillQueryAPIRequest added in v1.3.4

func ReleaseTmallTxcsFinanceBillQueryAPIRequest(v *TmallTxcsFinanceBillQueryAPIRequest)

ReleaseTmallTxcsFinanceBillQueryAPIRequest 将 TmallTxcsFinanceBillQueryAPIRequest 放入 sync.Pool

func ReleaseTmallTxcsFinanceBillQueryAPIResponse added in v1.3.4

func ReleaseTmallTxcsFinanceBillQueryAPIResponse(v *TmallTxcsFinanceBillQueryAPIResponse)

ReleaseTmallTxcsFinanceBillQueryAPIResponse 将 TmallTxcsFinanceBillQueryAPIResponse 保存到 sync.Pool

func ReleaseTmallTxcsFinanceInvoiceInputAPIRequest added in v1.3.4

func ReleaseTmallTxcsFinanceInvoiceInputAPIRequest(v *TmallTxcsFinanceInvoiceInputAPIRequest)

ReleaseTmallTxcsFinanceInvoiceInputAPIRequest 将 TmallTxcsFinanceInvoiceInputAPIRequest 放入 sync.Pool

func ReleaseTmallTxcsFinanceInvoiceInputAPIResponse added in v1.3.4

func ReleaseTmallTxcsFinanceInvoiceInputAPIResponse(v *TmallTxcsFinanceInvoiceInputAPIResponse)

ReleaseTmallTxcsFinanceInvoiceInputAPIResponse 将 TmallTxcsFinanceInvoiceInputAPIResponse 保存到 sync.Pool

func ReleaseTmallTxcsFinanceVerifyStatementBillAPIRequest added in v1.3.4

func ReleaseTmallTxcsFinanceVerifyStatementBillAPIRequest(v *TmallTxcsFinanceVerifyStatementBillAPIRequest)

ReleaseTmallTxcsFinanceVerifyStatementBillAPIRequest 将 TmallTxcsFinanceVerifyStatementBillAPIRequest 放入 sync.Pool

func ReleaseTmallTxcsFinanceVerifyStatementBillAPIResponse added in v1.3.4

func ReleaseTmallTxcsFinanceVerifyStatementBillAPIResponse(v *TmallTxcsFinanceVerifyStatementBillAPIResponse)

ReleaseTmallTxcsFinanceVerifyStatementBillAPIResponse 将 TmallTxcsFinanceVerifyStatementBillAPIResponse 保存到 sync.Pool

func ReleaseVerificationBillDto added in v1.3.4

func ReleaseVerificationBillDto(v *VerificationBillDto)

ReleaseVerificationBillDto 释放VerificationBillDto

func ReleaseVerificationBillResponseDto added in v1.3.4

func ReleaseVerificationBillResponseDto(v *VerificationBillResponseDto)

ReleaseVerificationBillResponseDto 释放VerificationBillResponseDto

func ReleaseWebPageData added in v1.3.4

func ReleaseWebPageData(v *WebPageData)

ReleaseWebPageData 释放WebPageData

func ReleaseWebPageDataList added in v1.3.4

func ReleaseWebPageDataList(v *WebPageDataList)

ReleaseWebPageDataList 释放WebPageDataList

Types

type AccessBaseResult

type AccessBaseResult struct {
	// 错误信息
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误编码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 具体内容
	Model *WebPageData `json:"model,omitempty" xml:"model,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AccessBaseResult 结构体

func GetAccessBaseResult added in v1.3.4

func GetAccessBaseResult() *AccessBaseResult

GetAccessBaseResult() 从对象池中获取AccessBaseResult

type BatchOperateResultDto

type BatchOperateResultDto struct {
	// 失败列表
	FailList []InvoiceInputResultDto `json:"fail_list,omitempty" xml:"fail_list>invoice_input_result_dto,omitempty"`
	// 成功列表
	SuccessList []InvoiceInputResultDto `json:"success_list,omitempty" xml:"success_list>invoice_input_result_dto,omitempty"`
	// 状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
}

BatchOperateResultDto 结构体

func GetBatchOperateResultDto added in v1.3.4

func GetBatchOperateResultDto() *BatchOperateResultDto

GetBatchOperateResultDto() 从对象池中获取BatchOperateResultDto

type BizExtAttr

type BizExtAttr struct {
	// 汇总编码
	SummaryId string `json:"summary_id,omitempty" xml:"summary_id,omitempty"`
	// 账单创建时间
	BillCreateTime string `json:"bill_create_time,omitempty" xml:"bill_create_time,omitempty"`
}

BizExtAttr 结构体

func GetBizExtAttr added in v1.3.4

func GetBizExtAttr() *BizExtAttr

GetBizExtAttr() 从对象池中获取BizExtAttr

type CommonResult

type CommonResult struct {
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
	// 错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 创建的互动实例
	Data *StatementBillDto `json:"data,omitempty" xml:"data,omitempty"`
	// 服务标识
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 服务标识
	BizException bool `json:"biz_exception,omitempty" xml:"biz_exception,omitempty"`
}

CommonResult 结构体

func GetCommonResult added in v1.3.4

func GetCommonResult() *CommonResult

GetCommonResult() 从对象池中获取CommonResult

type Currency

type Currency struct {
	// 符号
	Symbol string `json:"symbol,omitempty" xml:"symbol,omitempty"`
	// 显示中文
	DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"`
	// 显示英文
	CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"`
	// 默认位数
	DefaultFractionDigits int64 `json:"default_fraction_digits,omitempty" xml:"default_fraction_digits,omitempty"`
	// 货币编码
	NumericCode int64 `json:"numeric_code,omitempty" xml:"numeric_code,omitempty"`
}

Currency 结构体

func GetCurrency added in v1.3.4

func GetCurrency() *Currency

GetCurrency() 从对象池中获取Currency

type InvoiceInfoDto

type InvoiceInfoDto struct {
	// 发票号码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 发票代码
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
}

InvoiceInfoDto 结构体

func GetInvoiceInfoDto added in v1.3.4

func GetInvoiceInfoDto() *InvoiceInfoDto

GetInvoiceInfoDto() 从对象池中获取InvoiceInfoDto

type InvoiceInputDto

type InvoiceInputDto struct {
	// 结算公司
	SettlementCompanyCode string `json:"settlement_company_code,omitempty" xml:"settlement_company_code,omitempty"`
	// 发票日期
	InvoiceDate string `json:"invoice_date,omitempty" xml:"invoice_date,omitempty"`
	// 发品编号
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
	// 操作人员
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 总金额
	TotalAmount string `json:"total_amount,omitempty" xml:"total_amount,omitempty"`
	// 幂等ID
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 发票类型
	InvoiceType string `json:"invoice_type,omitempty" xml:"invoice_type,omitempty"`
	// 税率
	UntaxAmount string `json:"untax_amount,omitempty" xml:"untax_amount,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 发票编码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
	// 税票金额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 操作人员ID
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
}

InvoiceInputDto 结构体

func GetInvoiceInputDto added in v1.3.4

func GetInvoiceInputDto() *InvoiceInputDto

GetInvoiceInputDto() 从对象池中获取InvoiceInputDto

type InvoiceInputResultDto

type InvoiceInputResultDto struct {
	// 失败原因
	Msg string `json:"msg,omitempty" xml:"msg,omitempty"`
	// 发票代码
	InvoiceCode string `json:"invoice_code,omitempty" xml:"invoice_code,omitempty"`
	// 发票号码
	InvoiceNo string `json:"invoice_no,omitempty" xml:"invoice_no,omitempty"`
}

InvoiceInputResultDto 结构体

func GetInvoiceInputResultDto added in v1.3.4

func GetInvoiceInputResultDto() *InvoiceInputResultDto

GetInvoiceInputResultDto() 从对象池中获取InvoiceInputResultDto

type Pagination

type Pagination struct {
	// 总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 单页个数
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页码
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
}

Pagination 结构体

func GetPagination added in v1.3.4

func GetPagination() *Pagination

GetPagination() 从对象池中获取Pagination

type StatementBillConfirmDto

type StatementBillConfirmDto struct {
	// 账单code
	StatementBillCodes []string `json:"statement_bill_codes,omitempty" xml:"statement_bill_codes>string,omitempty"`
	// 结算公司编码
	SettlementCompanyCode string `json:"settlement_company_code,omitempty" xml:"settlement_company_code,omitempty"`
	// 幂等ID
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 操作人ID
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
}

StatementBillConfirmDto 结构体

func GetStatementBillConfirmDto added in v1.3.4

func GetStatementBillConfirmDto() *StatementBillConfirmDto

GetStatementBillConfirmDto() 从对象池中获取StatementBillConfirmDto

type StatementBillDto

type StatementBillDto struct {
	// 结算主体编码
	SettlementCompanyCode string `json:"settlement_company_code,omitempty" xml:"settlement_company_code,omitempty"`
	// 经营属性描述
	OperateTypeDesc string `json:"operate_type_desc,omitempty" xml:"operate_type_desc,omitempty"`
	// 经营属性
	OperateType string `json:"operate_type,omitempty" xml:"operate_type,omitempty"`
	// 供应商名称
	BusinessPartnerName string `json:"business_partner_name,omitempty" xml:"business_partner_name,omitempty"`
	// 供应商编码
	BusinessPartnerCode string `json:"business_partner_code,omitempty" xml:"business_partner_code,omitempty"`
	// 商家编码
	MerchantCode string `json:"merchant_code,omitempty" xml:"merchant_code,omitempty"`
	// 对账单号
	StatementBillCode string `json:"statement_bill_code,omitempty" xml:"statement_bill_code,omitempty"`
	// 结算主体名称
	SettlementCompanyName string `json:"settlement_company_name,omitempty" xml:"settlement_company_name,omitempty"`
	// 账单日
	BillDay string `json:"bill_day,omitempty" xml:"bill_day,omitempty"`
	// 订单状态
	BillStatus string `json:"bill_status,omitempty" xml:"bill_status,omitempty"`
	// 订单状态描述
	BillStatusDesc string `json:"bill_status_desc,omitempty" xml:"bill_status_desc,omitempty"`
	// 应结算总金额
	SettlementTotalAmount string `json:"settlement_total_amount,omitempty" xml:"settlement_total_amount,omitempty"`
	// 应开票总金额
	InvoiceTotalAmount string `json:"invoice_total_amount,omitempty" xml:"invoice_total_amount,omitempty"`
	// 结算周期描述
	SettlePeridDesc string `json:"settle_perid_desc,omitempty" xml:"settle_perid_desc,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
}

StatementBillDto 结构体

func GetStatementBillDto added in v1.3.4

func GetStatementBillDto() *StatementBillDto

GetStatementBillDto() 从对象池中获取StatementBillDto

type StatementBillFeeDetailQuery

type StatementBillFeeDetailQuery struct {
	// 结算公司编码
	SettlementCompanyCode string `json:"settlement_company_code,omitempty" xml:"settlement_company_code,omitempty"`
	// 账单编码
	StatementBillCode string `json:"statement_bill_code,omitempty" xml:"statement_bill_code,omitempty"`
	// 开始时间
	StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"`
	// 结束时间
	EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"`
	// 分页大小
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 当前页码
	CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"`
}

StatementBillFeeDetailQuery 结构体

func GetStatementBillFeeDetailQuery added in v1.3.4

func GetStatementBillFeeDetailQuery() *StatementBillFeeDetailQuery

GetStatementBillFeeDetailQuery() 从对象池中获取StatementBillFeeDetailQuery

type StatementBillQuery

type StatementBillQuery struct {
	// 对账单号
	StatementBillCode string `json:"statement_bill_code,omitempty" xml:"statement_bill_code,omitempty"`
}

StatementBillQuery 结构体

func GetStatementBillQuery added in v1.3.4

func GetStatementBillQuery() *StatementBillQuery

GetStatementBillQuery() 从对象池中获取StatementBillQuery

type TmallTxcsFinanceBillCheckAPIRequest added in v1.2.0

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

TmallTxcsFinanceBillCheckAPIRequest 天猫超市外部商家财务账单对账 API请求 tmall.txcs.finance.bill.check

提供天猫超市外部合作商家财务账单对账

func GetTmallTxcsFinanceBillCheckAPIRequest added in v1.3.4

func GetTmallTxcsFinanceBillCheckAPIRequest() *TmallTxcsFinanceBillCheckAPIRequest

GetTmallTxcsFinanceBillCheckRequest 从 sync.Pool 获取 TmallTxcsFinanceBillCheckAPIRequest

func NewTmallTxcsFinanceBillCheckRequest

func NewTmallTxcsFinanceBillCheckRequest() *TmallTxcsFinanceBillCheckAPIRequest

NewTmallTxcsFinanceBillCheckRequest 初始化TmallTxcsFinanceBillCheckAPIRequest对象

func (TmallTxcsFinanceBillCheckAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTxcsFinanceBillCheckAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTxcsFinanceBillCheckAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTxcsFinanceBillCheckAPIRequest) GetOuCode added in v1.2.0

GetOuCode OuCode Getter

func (TmallTxcsFinanceBillCheckAPIRequest) GetRawParams added in v1.2.8

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

func (TmallTxcsFinanceBillCheckAPIRequest) GetStatementBillFeeDetailQuery added in v1.2.0

func (r TmallTxcsFinanceBillCheckAPIRequest) GetStatementBillFeeDetailQuery() *StatementBillFeeDetailQuery

GetStatementBillFeeDetailQuery StatementBillFeeDetailQuery Getter

func (*TmallTxcsFinanceBillCheckAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTxcsFinanceBillCheckAPIRequest) SetOuCode added in v1.2.0

func (r *TmallTxcsFinanceBillCheckAPIRequest) SetOuCode(_ouCode string) error

SetOuCode is OuCode Setter 门店编码

func (*TmallTxcsFinanceBillCheckAPIRequest) SetStatementBillFeeDetailQuery added in v1.2.0

func (r *TmallTxcsFinanceBillCheckAPIRequest) SetStatementBillFeeDetailQuery(_statementBillFeeDetailQuery *StatementBillFeeDetailQuery) error

SetStatementBillFeeDetailQuery is StatementBillFeeDetailQuery Setter 查询参数

type TmallTxcsFinanceBillCheckAPIResponse

type TmallTxcsFinanceBillCheckAPIResponse struct {
	model.CommonResponse
	TmallTxcsFinanceBillCheckAPIResponseModel
}

TmallTxcsFinanceBillCheckAPIResponse 天猫超市外部商家财务账单对账 API返回值 tmall.txcs.finance.bill.check

提供天猫超市外部合作商家财务账单对账

func GetTmallTxcsFinanceBillCheckAPIResponse added in v1.3.4

func GetTmallTxcsFinanceBillCheckAPIResponse() *TmallTxcsFinanceBillCheckAPIResponse

GetTmallTxcsFinanceBillCheckAPIResponse 从 sync.Pool 获取 TmallTxcsFinanceBillCheckAPIResponse

func (*TmallTxcsFinanceBillCheckAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceBillCheckAPIResponseModel added in v1.2.0

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

TmallTxcsFinanceBillCheckAPIResponseModel is 天猫超市外部商家财务账单对账 成功返回结果

func (*TmallTxcsFinanceBillCheckAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceBillConfirmAPIRequest added in v1.2.0

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

TmallTxcsFinanceBillConfirmAPIRequest 供应商账单确认 API请求 tmall.txcs.finance.bill.confirm

提供天猫超市外部合作商家:财务账单对账

func GetTmallTxcsFinanceBillConfirmAPIRequest added in v1.3.4

func GetTmallTxcsFinanceBillConfirmAPIRequest() *TmallTxcsFinanceBillConfirmAPIRequest

GetTmallTxcsFinanceBillConfirmRequest 从 sync.Pool 获取 TmallTxcsFinanceBillConfirmAPIRequest

func NewTmallTxcsFinanceBillConfirmRequest

func NewTmallTxcsFinanceBillConfirmRequest() *TmallTxcsFinanceBillConfirmAPIRequest

NewTmallTxcsFinanceBillConfirmRequest 初始化TmallTxcsFinanceBillConfirmAPIRequest对象

func (TmallTxcsFinanceBillConfirmAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTxcsFinanceBillConfirmAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTxcsFinanceBillConfirmAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTxcsFinanceBillConfirmAPIRequest) GetOuCode added in v1.2.0

GetOuCode OuCode Getter

func (TmallTxcsFinanceBillConfirmAPIRequest) GetRawParams added in v1.2.8

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

func (TmallTxcsFinanceBillConfirmAPIRequest) GetStatementBillConfirmDTO added in v1.2.0

func (r TmallTxcsFinanceBillConfirmAPIRequest) GetStatementBillConfirmDTO() *StatementBillConfirmDto

GetStatementBillConfirmDTO StatementBillConfirmDTO Getter

func (*TmallTxcsFinanceBillConfirmAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTxcsFinanceBillConfirmAPIRequest) SetOuCode added in v1.2.0

func (r *TmallTxcsFinanceBillConfirmAPIRequest) SetOuCode(_ouCode string) error

SetOuCode is OuCode Setter 门店ID

func (*TmallTxcsFinanceBillConfirmAPIRequest) SetStatementBillConfirmDTO added in v1.2.0

func (r *TmallTxcsFinanceBillConfirmAPIRequest) SetStatementBillConfirmDTO(_statementBillConfirmDTO *StatementBillConfirmDto) error

SetStatementBillConfirmDTO is StatementBillConfirmDTO Setter 系统自动生成

type TmallTxcsFinanceBillConfirmAPIResponse

type TmallTxcsFinanceBillConfirmAPIResponse struct {
	model.CommonResponse
	TmallTxcsFinanceBillConfirmAPIResponseModel
}

TmallTxcsFinanceBillConfirmAPIResponse 供应商账单确认 API返回值 tmall.txcs.finance.bill.confirm

提供天猫超市外部合作商家:财务账单对账

func GetTmallTxcsFinanceBillConfirmAPIResponse added in v1.3.4

func GetTmallTxcsFinanceBillConfirmAPIResponse() *TmallTxcsFinanceBillConfirmAPIResponse

GetTmallTxcsFinanceBillConfirmAPIResponse 从 sync.Pool 获取 TmallTxcsFinanceBillConfirmAPIResponse

func (*TmallTxcsFinanceBillConfirmAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceBillConfirmAPIResponseModel added in v1.2.0

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

TmallTxcsFinanceBillConfirmAPIResponseModel is 供应商账单确认 成功返回结果

func (*TmallTxcsFinanceBillConfirmAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceBillQueryAPIRequest added in v1.2.0

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

TmallTxcsFinanceBillQueryAPIRequest 天猫超市外部商家财务账单信息查询 API请求 tmall.txcs.finance.bill.query

提供天猫超市外部合作商家财务账单对账

func GetTmallTxcsFinanceBillQueryAPIRequest added in v1.3.4

func GetTmallTxcsFinanceBillQueryAPIRequest() *TmallTxcsFinanceBillQueryAPIRequest

GetTmallTxcsFinanceBillQueryRequest 从 sync.Pool 获取 TmallTxcsFinanceBillQueryAPIRequest

func NewTmallTxcsFinanceBillQueryRequest

func NewTmallTxcsFinanceBillQueryRequest() *TmallTxcsFinanceBillQueryAPIRequest

NewTmallTxcsFinanceBillQueryRequest 初始化TmallTxcsFinanceBillQueryAPIRequest对象

func (TmallTxcsFinanceBillQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTxcsFinanceBillQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTxcsFinanceBillQueryAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTxcsFinanceBillQueryAPIRequest) GetRawParams added in v1.2.8

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

func (TmallTxcsFinanceBillQueryAPIRequest) GetStatementBillQuery added in v1.2.0

func (r TmallTxcsFinanceBillQueryAPIRequest) GetStatementBillQuery() *StatementBillQuery

GetStatementBillQuery StatementBillQuery Getter

func (*TmallTxcsFinanceBillQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTxcsFinanceBillQueryAPIRequest) SetStatementBillQuery added in v1.2.0

func (r *TmallTxcsFinanceBillQueryAPIRequest) SetStatementBillQuery(_statementBillQuery *StatementBillQuery) error

SetStatementBillQuery is StatementBillQuery Setter 对账单号

type TmallTxcsFinanceBillQueryAPIResponse

type TmallTxcsFinanceBillQueryAPIResponse struct {
	model.CommonResponse
	TmallTxcsFinanceBillQueryAPIResponseModel
}

TmallTxcsFinanceBillQueryAPIResponse 天猫超市外部商家财务账单信息查询 API返回值 tmall.txcs.finance.bill.query

提供天猫超市外部合作商家财务账单对账

func GetTmallTxcsFinanceBillQueryAPIResponse added in v1.3.4

func GetTmallTxcsFinanceBillQueryAPIResponse() *TmallTxcsFinanceBillQueryAPIResponse

GetTmallTxcsFinanceBillQueryAPIResponse 从 sync.Pool 获取 TmallTxcsFinanceBillQueryAPIResponse

func (*TmallTxcsFinanceBillQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceBillQueryAPIResponseModel added in v1.2.0

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

TmallTxcsFinanceBillQueryAPIResponseModel is 天猫超市外部商家财务账单信息查询 成功返回结果

func (*TmallTxcsFinanceBillQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceInvoiceInputAPIRequest added in v1.2.0

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

TmallTxcsFinanceInvoiceInputAPIRequest 供应商发票录入 API请求 tmall.txcs.finance.invoice.input

提供天猫超市外部合作商家财务:供应商发票录入

func GetTmallTxcsFinanceInvoiceInputAPIRequest added in v1.3.4

func GetTmallTxcsFinanceInvoiceInputAPIRequest() *TmallTxcsFinanceInvoiceInputAPIRequest

GetTmallTxcsFinanceInvoiceInputRequest 从 sync.Pool 获取 TmallTxcsFinanceInvoiceInputAPIRequest

func NewTmallTxcsFinanceInvoiceInputRequest

func NewTmallTxcsFinanceInvoiceInputRequest() *TmallTxcsFinanceInvoiceInputAPIRequest

NewTmallTxcsFinanceInvoiceInputRequest 初始化TmallTxcsFinanceInvoiceInputAPIRequest对象

func (TmallTxcsFinanceInvoiceInputAPIRequest) GetApiMethodName added in v1.2.0

func (r TmallTxcsFinanceInvoiceInputAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTxcsFinanceInvoiceInputAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTxcsFinanceInvoiceInputAPIRequest) GetInvoiceInputDTO1 added in v1.2.0

func (r TmallTxcsFinanceInvoiceInputAPIRequest) GetInvoiceInputDTO1() []InvoiceInputDto

GetInvoiceInputDTO1 InvoiceInputDTO1 Getter

func (TmallTxcsFinanceInvoiceInputAPIRequest) GetOuCode added in v1.2.0

GetOuCode OuCode Getter

func (TmallTxcsFinanceInvoiceInputAPIRequest) GetRawParams added in v1.2.8

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

func (*TmallTxcsFinanceInvoiceInputAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTxcsFinanceInvoiceInputAPIRequest) SetInvoiceInputDTO1 added in v1.2.0

func (r *TmallTxcsFinanceInvoiceInputAPIRequest) SetInvoiceInputDTO1(_invoiceInputDTO1 []InvoiceInputDto) error

SetInvoiceInputDTO1 is InvoiceInputDTO1 Setter 发票内容

func (*TmallTxcsFinanceInvoiceInputAPIRequest) SetOuCode added in v1.2.0

func (r *TmallTxcsFinanceInvoiceInputAPIRequest) SetOuCode(_ouCode string) error

SetOuCode is OuCode Setter 门店ID

type TmallTxcsFinanceInvoiceInputAPIResponse

type TmallTxcsFinanceInvoiceInputAPIResponse struct {
	model.CommonResponse
	TmallTxcsFinanceInvoiceInputAPIResponseModel
}

TmallTxcsFinanceInvoiceInputAPIResponse 供应商发票录入 API返回值 tmall.txcs.finance.invoice.input

提供天猫超市外部合作商家财务:供应商发票录入

func GetTmallTxcsFinanceInvoiceInputAPIResponse added in v1.3.4

func GetTmallTxcsFinanceInvoiceInputAPIResponse() *TmallTxcsFinanceInvoiceInputAPIResponse

GetTmallTxcsFinanceInvoiceInputAPIResponse 从 sync.Pool 获取 TmallTxcsFinanceInvoiceInputAPIResponse

func (*TmallTxcsFinanceInvoiceInputAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceInvoiceInputAPIResponseModel added in v1.2.0

type TmallTxcsFinanceInvoiceInputAPIResponseModel struct {
	XMLName xml.Name `xml:"tmall_txcs_finance_invoice_input_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回内容
	Result *AccessBaseResult `json:"result,omitempty" xml:"result,omitempty"`
}

TmallTxcsFinanceInvoiceInputAPIResponseModel is 供应商发票录入 成功返回结果

func (*TmallTxcsFinanceInvoiceInputAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceVerifyStatementBillAPIRequest added in v1.2.0

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

TmallTxcsFinanceVerifyStatementBillAPIRequest 供应商核销单录入 API请求 tmall.txcs.finance.verify.statement.bill

供应商核销单录入

func GetTmallTxcsFinanceVerifyStatementBillAPIRequest added in v1.3.4

func GetTmallTxcsFinanceVerifyStatementBillAPIRequest() *TmallTxcsFinanceVerifyStatementBillAPIRequest

GetTmallTxcsFinanceVerifyStatementBillRequest 从 sync.Pool 获取 TmallTxcsFinanceVerifyStatementBillAPIRequest

func NewTmallTxcsFinanceVerifyStatementBillRequest

func NewTmallTxcsFinanceVerifyStatementBillRequest() *TmallTxcsFinanceVerifyStatementBillAPIRequest

NewTmallTxcsFinanceVerifyStatementBillRequest 初始化TmallTxcsFinanceVerifyStatementBillAPIRequest对象

func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetOuCode added in v1.2.0

GetOuCode OuCode Getter

func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetRawParams added in v1.2.8

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

func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetVerificationBillDTO added in v1.2.0

GetVerificationBillDTO VerificationBillDTO Getter

func (*TmallTxcsFinanceVerifyStatementBillAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TmallTxcsFinanceVerifyStatementBillAPIRequest) SetOuCode added in v1.2.0

SetOuCode is OuCode Setter 门店ID

func (*TmallTxcsFinanceVerifyStatementBillAPIRequest) SetVerificationBillDTO added in v1.2.0

func (r *TmallTxcsFinanceVerifyStatementBillAPIRequest) SetVerificationBillDTO(_verificationBillDTO *VerificationBillDto) error

SetVerificationBillDTO is VerificationBillDTO Setter 核销单内容

type TmallTxcsFinanceVerifyStatementBillAPIResponse

type TmallTxcsFinanceVerifyStatementBillAPIResponse struct {
	model.CommonResponse
	TmallTxcsFinanceVerifyStatementBillAPIResponseModel
}

TmallTxcsFinanceVerifyStatementBillAPIResponse 供应商核销单录入 API返回值 tmall.txcs.finance.verify.statement.bill

供应商核销单录入

func GetTmallTxcsFinanceVerifyStatementBillAPIResponse added in v1.3.4

func GetTmallTxcsFinanceVerifyStatementBillAPIResponse() *TmallTxcsFinanceVerifyStatementBillAPIResponse

GetTmallTxcsFinanceVerifyStatementBillAPIResponse 从 sync.Pool 获取 TmallTxcsFinanceVerifyStatementBillAPIResponse

func (*TmallTxcsFinanceVerifyStatementBillAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TmallTxcsFinanceVerifyStatementBillAPIResponseModel added in v1.2.0

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

TmallTxcsFinanceVerifyStatementBillAPIResponseModel is 供应商核销单录入 成功返回结果

func (*TmallTxcsFinanceVerifyStatementBillAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type VerificationBillDto

type VerificationBillDto struct {
	// 发票信息列表
	InvoiceInfoDTOs []InvoiceInfoDto `json:"invoice_info_d_t_os,omitempty" xml:"invoice_info_d_t_os>invoice_info_dto,omitempty"`
	// 对账单编号列表
	StatementBillCodes []string `json:"statement_bill_codes,omitempty" xml:"statement_bill_codes>string,omitempty"`
	// 结算公司
	SettlementCompanyCode string `json:"settlement_company_code,omitempty" xml:"settlement_company_code,omitempty"`
	// 备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 操作人名称
	OperatorName string `json:"operator_name,omitempty" xml:"operator_name,omitempty"`
	// 幂等ID
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 核销单类型
	VerificationType string `json:"verification_type,omitempty" xml:"verification_type,omitempty"`
	// 币种
	Currency string `json:"currency,omitempty" xml:"currency,omitempty"`
	// 操作人ID
	OperatorId string `json:"operator_id,omitempty" xml:"operator_id,omitempty"`
}

VerificationBillDto 结构体

func GetVerificationBillDto added in v1.3.4

func GetVerificationBillDto() *VerificationBillDto

GetVerificationBillDto() 从对象池中获取VerificationBillDto

type VerificationBillResponseDto

type VerificationBillResponseDto struct {
	// 核销单号
	VerificationNo string `json:"verification_no,omitempty" xml:"verification_no,omitempty"`
	// 核销日期
	VerifyDate string `json:"verify_date,omitempty" xml:"verify_date,omitempty"`
}

VerificationBillResponseDto 结构体

func GetVerificationBillResponseDto added in v1.3.4

func GetVerificationBillResponseDto() *VerificationBillResponseDto

GetVerificationBillResponseDto() 从对象池中获取VerificationBillResponseDto

type WebPageData

type WebPageData struct {
	// 结果数据
	List []WebPageDataList `json:"list,omitempty" xml:"list>web_page_data_list,omitempty"`
	// 页码信息
	Pagination *Pagination `json:"pagination,omitempty" xml:"pagination,omitempty"`
}

WebPageData 结构体

func GetWebPageData added in v1.3.4

func GetWebPageData() *WebPageData

GetWebPageData() 从对象池中获取WebPageData

type WebPageDataList

type WebPageDataList struct {
	// 对账单号
	StatementBillCode string `json:"statement_bill_code,omitempty" xml:"statement_bill_code,omitempty"`
	// 店仓编码
	ShopCode string `json:"shop_code,omitempty" xml:"shop_code,omitempty"`
	// 商品数量
	ItemQuantity string `json:"item_quantity,omitempty" xml:"item_quantity,omitempty"`
	// 来源单据描述
	SourceTypeDesc string `json:"source_type_desc,omitempty" xml:"source_type_desc,omitempty"`
	// 业务单据编码
	BizBillCode string `json:"biz_bill_code,omitempty" xml:"biz_bill_code,omitempty"`
	// 结算方式描述
	SettleWayDesc string `json:"settle_way_desc,omitempty" xml:"settle_way_desc,omitempty"`
	// 店仓名称
	ShopName string `json:"shop_name,omitempty" xml:"shop_name,omitempty"`
	// 业务订单编号
	BizOrderCode string `json:"biz_order_code,omitempty" xml:"biz_order_code,omitempty"`
	// 合同版本号
	ContractVersion string `json:"contract_version,omitempty" xml:"contract_version,omitempty"`
	// 税率
	TaxRate string `json:"tax_rate,omitempty" xml:"tax_rate,omitempty"`
	// 单位
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 来源单据类型
	SourceType string `json:"source_type,omitempty" xml:"source_type,omitempty"`
	// 费用编码
	FeeCode string `json:"fee_code,omitempty" xml:"fee_code,omitempty"`
	// 费用名称
	FeeName string `json:"fee_name,omitempty" xml:"fee_name,omitempty"`
	// 未税金额
	UntaxAmount string `json:"untax_amount,omitempty" xml:"untax_amount,omitempty"`
	// 结算金额
	SettlementAmount string `json:"settlement_amount,omitempty" xml:"settlement_amount,omitempty"`
	// 税额
	TaxAmount string `json:"tax_amount,omitempty" xml:"tax_amount,omitempty"`
	// 合同编码
	ContractCode string `json:"contract_code,omitempty" xml:"contract_code,omitempty"`
	// 业务编码
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 扩展信息
	BizExtAttr *BizExtAttr `json:"biz_ext_attr,omitempty" xml:"biz_ext_attr,omitempty"`
	// 叶子类目编码
	LeafCatId int64 `json:"leaf_cat_id,omitempty" xml:"leaf_cat_id,omitempty"`
	// 业务时间
	BizTime int64 `json:"biz_time,omitempty" xml:"biz_time,omitempty"`
	// 币种
	Currency *Currency `json:"currency,omitempty" xml:"currency,omitempty"`
	// 结算方式描述
	SettleWay int64 `json:"settle_way,omitempty" xml:"settle_way,omitempty"`
}

WebPageDataList 结构体

func GetWebPageDataList added in v1.3.4

func GetWebPageDataList() *WebPageDataList

GetWebPageDataList() 从对象池中获取WebPageDataList

Jump to

Keyboard shortcuts

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