Documentation ¶
Overview ¶
天猫超市前台API model
Index ¶
- type AccessBaseResult
- type BatchOperateResultDto
- type BizExtAttr
- type CommonResult
- type Currency
- type InvoiceInfoDto
- type InvoiceInputDto
- type InvoiceInputResultDto
- type Pagination
- type StatementBillConfirmDto
- type StatementBillDto
- type StatementBillFeeDetailQuery
- type StatementBillQuery
- type TmallTxcsFinanceBillCheckAPIResponse
- type TmallTxcsFinanceBillCheckRequest
- func (r TmallTxcsFinanceBillCheckRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceBillCheckRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceBillCheckRequest) GetOuCode() string
- func (r TmallTxcsFinanceBillCheckRequest) GetStatementBillFeeDetailQuery() *StatementBillFeeDetailQuery
- func (r *TmallTxcsFinanceBillCheckRequest) SetOuCode(ouCode string) error
- func (r *TmallTxcsFinanceBillCheckRequest) SetStatementBillFeeDetailQuery(statementBillFeeDetailQuery *StatementBillFeeDetailQuery) error
- type TmallTxcsFinanceBillCheckResponse
- type TmallTxcsFinanceBillConfirmAPIResponse
- type TmallTxcsFinanceBillConfirmRequest
- func (r TmallTxcsFinanceBillConfirmRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceBillConfirmRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceBillConfirmRequest) GetOuCode() string
- func (r TmallTxcsFinanceBillConfirmRequest) GetStatementBillConfirmDTO() *StatementBillConfirmDto
- func (r *TmallTxcsFinanceBillConfirmRequest) SetOuCode(ouCode string) error
- func (r *TmallTxcsFinanceBillConfirmRequest) SetStatementBillConfirmDTO(statementBillConfirmDTO *StatementBillConfirmDto) error
- type TmallTxcsFinanceBillConfirmResponse
- type TmallTxcsFinanceBillQueryAPIResponse
- type TmallTxcsFinanceBillQueryRequest
- func (r TmallTxcsFinanceBillQueryRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceBillQueryRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceBillQueryRequest) GetStatementBillQuery() *StatementBillQuery
- func (r *TmallTxcsFinanceBillQueryRequest) SetStatementBillQuery(statementBillQuery *StatementBillQuery) error
- type TmallTxcsFinanceBillQueryResponse
- type TmallTxcsFinanceInvoiceInputAPIResponse
- type TmallTxcsFinanceInvoiceInputRequest
- func (r TmallTxcsFinanceInvoiceInputRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceInvoiceInputRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceInvoiceInputRequest) GetInvoiceInputDTO1() []InvoiceInputDto
- func (r TmallTxcsFinanceInvoiceInputRequest) GetOuCode() string
- func (r *TmallTxcsFinanceInvoiceInputRequest) SetInvoiceInputDTO1(invoiceInputDTO1 []InvoiceInputDto) error
- func (r *TmallTxcsFinanceInvoiceInputRequest) SetOuCode(ouCode string) error
- type TmallTxcsFinanceInvoiceInputResponse
- type TmallTxcsFinanceVerifyStatementBillAPIResponse
- type TmallTxcsFinanceVerifyStatementBillRequest
- func (r TmallTxcsFinanceVerifyStatementBillRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceVerifyStatementBillRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceVerifyStatementBillRequest) GetOuCode() string
- func (r TmallTxcsFinanceVerifyStatementBillRequest) GetVerificationBillDTO() *VerificationBillDto
- func (r *TmallTxcsFinanceVerifyStatementBillRequest) SetOuCode(ouCode string) error
- func (r *TmallTxcsFinanceVerifyStatementBillRequest) SetVerificationBillDTO(verificationBillDTO *VerificationBillDto) error
- type TmallTxcsFinanceVerifyStatementBillResponse
- type VerificationBillDto
- type VerificationBillResponseDto
- type WebPageData
- type WebPageDataList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AccessBaseResult ¶
type AccessBaseResult struct { // 是否成功 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 错误信息 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"` }
AccessBaseResult
type BatchOperateResultDto ¶
type BatchOperateResultDto struct { // 状态 Status string `json:"status,omitempty" xml:"status,omitempty"` // 失败列表 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"` }
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
type CommonResult ¶
type CommonResult struct { // 错误码 Code string `json:"code,omitempty" xml:"code,omitempty"` // 创建的互动实例 Data *StatementBillDto `json:"data,omitempty" xml:"data,omitempty"` // 服务标识 Success bool `json:"success,omitempty" xml:"success,omitempty"` // 错误信息 Message string `json:"message,omitempty" xml:"message,omitempty"` // 服务标识 BizException bool `json:"biz_exception,omitempty" xml:"biz_exception,omitempty"` }
CommonResult
type Currency ¶
type Currency struct { // 符号 Symbol string `json:"symbol,omitempty" xml:"symbol,omitempty"` // 显示中文 DisplayName string `json:"display_name,omitempty" xml:"display_name,omitempty"` // 默认位数 DefaultFractionDigits int64 `json:"default_fraction_digits,omitempty" xml:"default_fraction_digits,omitempty"` // 显示英文 CurrencyCode string `json:"currency_code,omitempty" xml:"currency_code,omitempty"` // 货币编码 NumericCode int64 `json:"numeric_code,omitempty" xml:"numeric_code,omitempty"` }
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
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
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
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
type StatementBillConfirmDto ¶
type StatementBillConfirmDto struct { // 结算公司编码 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"` // 账单code StatementBillCodes []string `json:"statement_bill_codes,omitempty" xml:"statement_bill_codes>string,omitempty"` }
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
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"` // 分页大小 PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"` // 开始时间 StartTime string `json:"start_time,omitempty" xml:"start_time,omitempty"` // 结束时间 EndTime string `json:"end_time,omitempty" xml:"end_time,omitempty"` // 当前页码 CurrentPage int64 `json:"current_page,omitempty" xml:"current_page,omitempty"` }
StatementBillFeeDetailQuery
type StatementBillQuery ¶
type StatementBillQuery struct { // 对账单号 StatementBillCode string `json:"statement_bill_code,omitempty" xml:"statement_bill_code,omitempty"` }
StatementBillQuery
type TmallTxcsFinanceBillCheckAPIResponse ¶
type TmallTxcsFinanceBillCheckAPIResponse struct { model.CommonResponse TmallTxcsFinanceBillCheckResponse }
天猫超市外部商家财务账单对账 API返回值 tmall.txcs.finance.bill.check
提供天猫超市外部合作商家财务账单对账
type TmallTxcsFinanceBillCheckRequest ¶
type TmallTxcsFinanceBillCheckRequest struct { model.Params // contains filtered or unexported fields }
天猫超市外部商家财务账单对账 API请求 tmall.txcs.finance.bill.check
提供天猫超市外部合作商家财务账单对账
func NewTmallTxcsFinanceBillCheckRequest ¶
func NewTmallTxcsFinanceBillCheckRequest() *TmallTxcsFinanceBillCheckRequest
初始化TmallTxcsFinanceBillCheckRequest对象
func (TmallTxcsFinanceBillCheckRequest) GetApiMethodName ¶
func (r TmallTxcsFinanceBillCheckRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallTxcsFinanceBillCheckRequest) GetApiParams ¶
func (r TmallTxcsFinanceBillCheckRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceBillCheckRequest) GetOuCode ¶
func (r TmallTxcsFinanceBillCheckRequest) GetOuCode() string
OuCode Getter
func (TmallTxcsFinanceBillCheckRequest) GetStatementBillFeeDetailQuery ¶
func (r TmallTxcsFinanceBillCheckRequest) GetStatementBillFeeDetailQuery() *StatementBillFeeDetailQuery
StatementBillFeeDetailQuery Getter
func (*TmallTxcsFinanceBillCheckRequest) SetOuCode ¶
func (r *TmallTxcsFinanceBillCheckRequest) SetOuCode(ouCode string) error
OuCode Setter 门店编码
func (*TmallTxcsFinanceBillCheckRequest) SetStatementBillFeeDetailQuery ¶
func (r *TmallTxcsFinanceBillCheckRequest) SetStatementBillFeeDetailQuery(statementBillFeeDetailQuery *StatementBillFeeDetailQuery) error
StatementBillFeeDetailQuery Setter 查询参数
type TmallTxcsFinanceBillCheckResponse ¶
type TmallTxcsFinanceBillCheckResponse 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"` }
天猫超市外部商家财务账单对账 成功返回结果
type TmallTxcsFinanceBillConfirmAPIResponse ¶
type TmallTxcsFinanceBillConfirmAPIResponse struct { model.CommonResponse TmallTxcsFinanceBillConfirmResponse }
供应商账单确认 API返回值 tmall.txcs.finance.bill.confirm
提供天猫超市外部合作商家:财务账单对账
type TmallTxcsFinanceBillConfirmRequest ¶
type TmallTxcsFinanceBillConfirmRequest struct { model.Params // contains filtered or unexported fields }
供应商账单确认 API请求 tmall.txcs.finance.bill.confirm
提供天猫超市外部合作商家:财务账单对账
func NewTmallTxcsFinanceBillConfirmRequest ¶
func NewTmallTxcsFinanceBillConfirmRequest() *TmallTxcsFinanceBillConfirmRequest
初始化TmallTxcsFinanceBillConfirmRequest对象
func (TmallTxcsFinanceBillConfirmRequest) GetApiMethodName ¶
func (r TmallTxcsFinanceBillConfirmRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallTxcsFinanceBillConfirmRequest) GetApiParams ¶
func (r TmallTxcsFinanceBillConfirmRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceBillConfirmRequest) GetOuCode ¶
func (r TmallTxcsFinanceBillConfirmRequest) GetOuCode() string
OuCode Getter
func (TmallTxcsFinanceBillConfirmRequest) GetStatementBillConfirmDTO ¶
func (r TmallTxcsFinanceBillConfirmRequest) GetStatementBillConfirmDTO() *StatementBillConfirmDto
StatementBillConfirmDTO Getter
func (*TmallTxcsFinanceBillConfirmRequest) SetOuCode ¶
func (r *TmallTxcsFinanceBillConfirmRequest) SetOuCode(ouCode string) error
OuCode Setter 门店ID
func (*TmallTxcsFinanceBillConfirmRequest) SetStatementBillConfirmDTO ¶
func (r *TmallTxcsFinanceBillConfirmRequest) SetStatementBillConfirmDTO(statementBillConfirmDTO *StatementBillConfirmDto) error
StatementBillConfirmDTO Setter 系统自动生成
type TmallTxcsFinanceBillConfirmResponse ¶
type TmallTxcsFinanceBillConfirmResponse 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"` }
供应商账单确认 成功返回结果
type TmallTxcsFinanceBillQueryAPIResponse ¶
type TmallTxcsFinanceBillQueryAPIResponse struct { model.CommonResponse TmallTxcsFinanceBillQueryResponse }
天猫超市外部商家财务账单信息查询 API返回值 tmall.txcs.finance.bill.query
提供天猫超市外部合作商家财务账单对账
type TmallTxcsFinanceBillQueryRequest ¶
type TmallTxcsFinanceBillQueryRequest struct { model.Params // contains filtered or unexported fields }
天猫超市外部商家财务账单信息查询 API请求 tmall.txcs.finance.bill.query
提供天猫超市外部合作商家财务账单对账
func NewTmallTxcsFinanceBillQueryRequest ¶
func NewTmallTxcsFinanceBillQueryRequest() *TmallTxcsFinanceBillQueryRequest
初始化TmallTxcsFinanceBillQueryRequest对象
func (TmallTxcsFinanceBillQueryRequest) GetApiMethodName ¶
func (r TmallTxcsFinanceBillQueryRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallTxcsFinanceBillQueryRequest) GetApiParams ¶
func (r TmallTxcsFinanceBillQueryRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceBillQueryRequest) GetStatementBillQuery ¶
func (r TmallTxcsFinanceBillQueryRequest) GetStatementBillQuery() *StatementBillQuery
StatementBillQuery Getter
func (*TmallTxcsFinanceBillQueryRequest) SetStatementBillQuery ¶
func (r *TmallTxcsFinanceBillQueryRequest) SetStatementBillQuery(statementBillQuery *StatementBillQuery) error
StatementBillQuery Setter 对账单号
type TmallTxcsFinanceBillQueryResponse ¶
type TmallTxcsFinanceBillQueryResponse 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"` }
天猫超市外部商家财务账单信息查询 成功返回结果
type TmallTxcsFinanceInvoiceInputAPIResponse ¶
type TmallTxcsFinanceInvoiceInputAPIResponse struct { model.CommonResponse TmallTxcsFinanceInvoiceInputResponse }
供应商发票录入 API返回值 tmall.txcs.finance.invoice.input
提供天猫超市外部合作商家财务:供应商发票录入
type TmallTxcsFinanceInvoiceInputRequest ¶
type TmallTxcsFinanceInvoiceInputRequest struct { model.Params // contains filtered or unexported fields }
供应商发票录入 API请求 tmall.txcs.finance.invoice.input
提供天猫超市外部合作商家财务:供应商发票录入
func NewTmallTxcsFinanceInvoiceInputRequest ¶
func NewTmallTxcsFinanceInvoiceInputRequest() *TmallTxcsFinanceInvoiceInputRequest
初始化TmallTxcsFinanceInvoiceInputRequest对象
func (TmallTxcsFinanceInvoiceInputRequest) GetApiMethodName ¶
func (r TmallTxcsFinanceInvoiceInputRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallTxcsFinanceInvoiceInputRequest) GetApiParams ¶
func (r TmallTxcsFinanceInvoiceInputRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceInvoiceInputRequest) GetInvoiceInputDTO1 ¶
func (r TmallTxcsFinanceInvoiceInputRequest) GetInvoiceInputDTO1() []InvoiceInputDto
InvoiceInputDTO1 Getter
func (TmallTxcsFinanceInvoiceInputRequest) GetOuCode ¶
func (r TmallTxcsFinanceInvoiceInputRequest) GetOuCode() string
OuCode Getter
func (*TmallTxcsFinanceInvoiceInputRequest) SetInvoiceInputDTO1 ¶
func (r *TmallTxcsFinanceInvoiceInputRequest) SetInvoiceInputDTO1(invoiceInputDTO1 []InvoiceInputDto) error
InvoiceInputDTO1 Setter 发票内容
func (*TmallTxcsFinanceInvoiceInputRequest) SetOuCode ¶
func (r *TmallTxcsFinanceInvoiceInputRequest) SetOuCode(ouCode string) error
OuCode Setter 门店ID
type TmallTxcsFinanceInvoiceInputResponse ¶
type TmallTxcsFinanceInvoiceInputResponse 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"` }
供应商发票录入 成功返回结果
type TmallTxcsFinanceVerifyStatementBillAPIResponse ¶
type TmallTxcsFinanceVerifyStatementBillAPIResponse struct { model.CommonResponse TmallTxcsFinanceVerifyStatementBillResponse }
供应商核销单录入 API返回值 tmall.txcs.finance.verify.statement.bill
供应商核销单录入
type TmallTxcsFinanceVerifyStatementBillRequest ¶
type TmallTxcsFinanceVerifyStatementBillRequest struct { model.Params // contains filtered or unexported fields }
供应商核销单录入 API请求 tmall.txcs.finance.verify.statement.bill
供应商核销单录入
func NewTmallTxcsFinanceVerifyStatementBillRequest ¶
func NewTmallTxcsFinanceVerifyStatementBillRequest() *TmallTxcsFinanceVerifyStatementBillRequest
初始化TmallTxcsFinanceVerifyStatementBillRequest对象
func (TmallTxcsFinanceVerifyStatementBillRequest) GetApiMethodName ¶
func (r TmallTxcsFinanceVerifyStatementBillRequest) GetApiMethodName() string
IRequest interface 方法, 获取Api method
func (TmallTxcsFinanceVerifyStatementBillRequest) GetApiParams ¶
func (r TmallTxcsFinanceVerifyStatementBillRequest) GetApiParams() url.Values
IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceVerifyStatementBillRequest) GetOuCode ¶
func (r TmallTxcsFinanceVerifyStatementBillRequest) GetOuCode() string
OuCode Getter
func (TmallTxcsFinanceVerifyStatementBillRequest) GetVerificationBillDTO ¶
func (r TmallTxcsFinanceVerifyStatementBillRequest) GetVerificationBillDTO() *VerificationBillDto
VerificationBillDTO Getter
func (*TmallTxcsFinanceVerifyStatementBillRequest) SetOuCode ¶
func (r *TmallTxcsFinanceVerifyStatementBillRequest) SetOuCode(ouCode string) error
OuCode Setter 门店ID
func (*TmallTxcsFinanceVerifyStatementBillRequest) SetVerificationBillDTO ¶
func (r *TmallTxcsFinanceVerifyStatementBillRequest) SetVerificationBillDTO(verificationBillDTO *VerificationBillDto) error
VerificationBillDTO Setter 核销单内容
type TmallTxcsFinanceVerifyStatementBillResponse ¶
type TmallTxcsFinanceVerifyStatementBillResponse 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"` }
供应商核销单录入 成功返回结果
type VerificationBillDto ¶
type VerificationBillDto struct { // 结算公司 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"` // 发票信息列表 InvoiceInfoDTOs []InvoiceInfoDto `json:"invoice_info_d_t_os,omitempty" xml:"invoice_info_d_t_os>invoice_info_dto,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"` // 对账单编号列表 StatementBillCodes []string `json:"statement_bill_codes,omitempty" xml:"statement_bill_codes>string,omitempty"` }
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
type WebPageData ¶
type WebPageData struct { // 页码信息 Pagination *Pagination `json:"pagination,omitempty" xml:"pagination,omitempty"` // 结果数据 List []WebPageDataList `json:"list,omitempty" xml:"list>web_page_data_list,omitempty"` }
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"` // 扩展信息 BizExtAttr *BizExtAttr `json:"biz_ext_attr,omitempty" xml:"biz_ext_attr,omitempty"` // 叶子类目编码 LeafCatId int64 `json:"leaf_cat_id,omitempty" xml:"leaf_cat_id,omitempty"` // 合同版本号 ContractVersion string `json:"contract_version,omitempty" xml:"contract_version,omitempty"` // 业务时间 BizTime int64 `json:"biz_time,omitempty" xml:"biz_time,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"` // 币种 Currency *Currency `json:"currency,omitempty" xml:"currency,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"` // 结算方式描述 SettleWay int64 `json:"settle_way,omitempty" xml:"settle_way,omitempty"` // 业务编码 BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"` }
WebPageDataList
Source Files ¶
- AccessBaseResult.go
- BatchOperateResultDto.go
- BizExtAttr.go
- CommonResult.go
- Currency.go
- InvoiceInfoDto.go
- InvoiceInputDto.go
- InvoiceInputResultDto.go
- Pagination.go
- StatementBillConfirmDto.go
- StatementBillDto.go
- StatementBillFeeDetailQuery.go
- StatementBillQuery.go
- TmallTxcsFinanceBillCheckRequest.go
- TmallTxcsFinanceBillCheckResponse.go
- TmallTxcsFinanceBillConfirmRequest.go
- TmallTxcsFinanceBillConfirmResponse.go
- TmallTxcsFinanceBillQueryRequest.go
- TmallTxcsFinanceBillQueryResponse.go
- TmallTxcsFinanceInvoiceInputRequest.go
- TmallTxcsFinanceInvoiceInputResponse.go
- TmallTxcsFinanceVerifyStatementBillRequest.go
- TmallTxcsFinanceVerifyStatementBillResponse.go
- VerificationBillDto.go
- VerificationBillResponseDto.go
- WebPageData.go
- WebPageDataList.go
- doc.go