Documentation ¶
Overview ¶
Package txcs 包含天猫超市前台API相关结构体
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 TmallTxcsFinanceBillCheckAPIRequest
- func (r TmallTxcsFinanceBillCheckAPIRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceBillCheckAPIRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceBillCheckAPIRequest) GetOuCode() string
- func (r TmallTxcsFinanceBillCheckAPIRequest) GetStatementBillFeeDetailQuery() *StatementBillFeeDetailQuery
- func (r *TmallTxcsFinanceBillCheckAPIRequest) SetOuCode(_ouCode string) error
- func (r *TmallTxcsFinanceBillCheckAPIRequest) SetStatementBillFeeDetailQuery(_statementBillFeeDetailQuery *StatementBillFeeDetailQuery) error
- type TmallTxcsFinanceBillCheckAPIResponse
- type TmallTxcsFinanceBillCheckAPIResponseModel
- type TmallTxcsFinanceBillConfirmAPIRequest
- func (r TmallTxcsFinanceBillConfirmAPIRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceBillConfirmAPIRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceBillConfirmAPIRequest) GetOuCode() string
- func (r TmallTxcsFinanceBillConfirmAPIRequest) GetStatementBillConfirmDTO() *StatementBillConfirmDto
- func (r *TmallTxcsFinanceBillConfirmAPIRequest) SetOuCode(_ouCode string) error
- func (r *TmallTxcsFinanceBillConfirmAPIRequest) SetStatementBillConfirmDTO(_statementBillConfirmDTO *StatementBillConfirmDto) error
- type TmallTxcsFinanceBillConfirmAPIResponse
- type TmallTxcsFinanceBillConfirmAPIResponseModel
- type TmallTxcsFinanceBillQueryAPIRequest
- func (r TmallTxcsFinanceBillQueryAPIRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceBillQueryAPIRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceBillQueryAPIRequest) GetStatementBillQuery() *StatementBillQuery
- func (r *TmallTxcsFinanceBillQueryAPIRequest) SetStatementBillQuery(_statementBillQuery *StatementBillQuery) error
- type TmallTxcsFinanceBillQueryAPIResponse
- type TmallTxcsFinanceBillQueryAPIResponseModel
- type TmallTxcsFinanceInvoiceInputAPIRequest
- func (r TmallTxcsFinanceInvoiceInputAPIRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceInvoiceInputAPIRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceInvoiceInputAPIRequest) GetInvoiceInputDTO1() []InvoiceInputDto
- func (r TmallTxcsFinanceInvoiceInputAPIRequest) GetOuCode() string
- func (r *TmallTxcsFinanceInvoiceInputAPIRequest) SetInvoiceInputDTO1(_invoiceInputDTO1 []InvoiceInputDto) error
- func (r *TmallTxcsFinanceInvoiceInputAPIRequest) SetOuCode(_ouCode string) error
- type TmallTxcsFinanceInvoiceInputAPIResponse
- type TmallTxcsFinanceInvoiceInputAPIResponseModel
- type TmallTxcsFinanceVerifyStatementBillAPIRequest
- func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiMethodName() string
- func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiParams() url.Values
- func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetOuCode() string
- func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetVerificationBillDTO() *VerificationBillDto
- func (r *TmallTxcsFinanceVerifyStatementBillAPIRequest) SetOuCode(_ouCode string) error
- func (r *TmallTxcsFinanceVerifyStatementBillAPIRequest) SetVerificationBillDTO(_verificationBillDTO *VerificationBillDto) error
- type TmallTxcsFinanceVerifyStatementBillAPIResponse
- type TmallTxcsFinanceVerifyStatementBillAPIResponseModel
- 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 { // 错误信息 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 结构体
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 结构体
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"` // 错误信息 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 结构体
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 结构体
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 { // 账单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 结构体
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"` // 开始时间 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 结构体
type StatementBillQuery ¶
type StatementBillQuery struct { // 对账单号 StatementBillCode string `json:"statement_bill_code,omitempty" xml:"statement_bill_code,omitempty"` }
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceBillCheckAPIRequest) GetOuCode ¶ added in v1.2.0
func (r TmallTxcsFinanceBillCheckAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
func (TmallTxcsFinanceBillCheckAPIRequest) GetStatementBillFeeDetailQuery ¶ added in v1.2.0
func (r TmallTxcsFinanceBillCheckAPIRequest) GetStatementBillFeeDetailQuery() *StatementBillFeeDetailQuery
GetStatementBillFeeDetailQuery StatementBillFeeDetailQuery Getter
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
提供天猫超市外部合作商家财务账单对账
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 天猫超市外部商家财务账单对账 成功返回结果
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceBillConfirmAPIRequest) GetOuCode ¶ added in v1.2.0
func (r TmallTxcsFinanceBillConfirmAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
func (TmallTxcsFinanceBillConfirmAPIRequest) GetStatementBillConfirmDTO ¶ added in v1.2.0
func (r TmallTxcsFinanceBillConfirmAPIRequest) GetStatementBillConfirmDTO() *StatementBillConfirmDto
GetStatementBillConfirmDTO StatementBillConfirmDTO Getter
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
提供天猫超市外部合作商家:财务账单对账
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 供应商账单确认 成功返回结果
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 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() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceBillQueryAPIRequest) GetStatementBillQuery ¶ added in v1.2.0
func (r TmallTxcsFinanceBillQueryAPIRequest) GetStatementBillQuery() *StatementBillQuery
GetStatementBillQuery StatementBillQuery Getter
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
提供天猫超市外部合作商家财务账单对账
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 天猫超市外部商家财务账单信息查询 成功返回结果
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 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() 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
func (r TmallTxcsFinanceInvoiceInputAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
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
提供天猫超市外部合作商家财务:供应商发票录入
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 供应商发票录入 成功返回结果
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 NewTmallTxcsFinanceVerifyStatementBillRequest ¶
func NewTmallTxcsFinanceVerifyStatementBillRequest() *TmallTxcsFinanceVerifyStatementBillAPIRequest
NewTmallTxcsFinanceVerifyStatementBillRequest 初始化TmallTxcsFinanceVerifyStatementBillAPIRequest对象
func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiMethodName ¶ added in v1.2.0
func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiParams ¶ added in v1.2.0
func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetApiParams() url.Values
GetApiParams IRequest interface 方法, 获取API参数
func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetOuCode ¶ added in v1.2.0
func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
func (TmallTxcsFinanceVerifyStatementBillAPIRequest) GetVerificationBillDTO ¶ added in v1.2.0
func (r TmallTxcsFinanceVerifyStatementBillAPIRequest) GetVerificationBillDTO() *VerificationBillDto
GetVerificationBillDTO VerificationBillDTO Getter
func (*TmallTxcsFinanceVerifyStatementBillAPIRequest) SetOuCode ¶ added in v1.2.0
func (r *TmallTxcsFinanceVerifyStatementBillAPIRequest) SetOuCode(_ouCode string) error
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
供应商核销单录入
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 供应商核销单录入 成功返回结果
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 结构体
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 { // 结果数据 List []WebPageDataList `json:"list,omitempty" xml:"list>web_page_data_list,omitempty"` // 页码信息 Pagination *Pagination `json:"pagination,omitempty" xml:"pagination,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"` // 合同版本号 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 结构体
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
- TmallTxcsFinanceBillCheckAPIRequest.go
- TmallTxcsFinanceBillCheckAPIResponse.go
- TmallTxcsFinanceBillConfirmAPIRequest.go
- TmallTxcsFinanceBillConfirmAPIResponse.go
- TmallTxcsFinanceBillQueryAPIRequest.go
- TmallTxcsFinanceBillQueryAPIResponse.go
- TmallTxcsFinanceInvoiceInputAPIRequest.go
- TmallTxcsFinanceInvoiceInputAPIResponse.go
- TmallTxcsFinanceVerifyStatementBillAPIRequest.go
- TmallTxcsFinanceVerifyStatementBillAPIResponse.go
- VerificationBillDto.go
- VerificationBillResponseDto.go
- WebPageData.go
- WebPageDataList.go
- doc.go