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(params url.Values)
- func (r TmalltxcsfinancebillcheckAPIRequest) GetOuCode() string
- func (r TmalltxcsfinancebillcheckAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmalltxcsfinancebillconfirmAPIRequest) GetOuCode() string
- func (r TmalltxcsfinancebillconfirmAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmalltxcsfinancebillqueryAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetInvoiceInputDTO1() []InvoiceInputDto
- func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetOuCode() string
- func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetRawParams() model.Params
- 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(params url.Values)
- func (r TmalltxcsfinanceverifystatementbillAPIRequest) GetOuCode() string
- func (r TmalltxcsfinanceverifystatementbillAPIRequest) GetRawParams() model.Params
- 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.3.1
type TmalltxcsfinancebillcheckAPIRequest struct { model.Params // contains filtered or unexported fields }
TmalltxcsfinancebillcheckAPIRequest 天猫超市外部商家财务账单对账 API请求 tmall.txcs.finance.bill.check
提供天猫超市外部合作商家财务账单对账
func NewTmalltxcsfinancebillcheckRequest ¶ added in v1.3.1
func NewTmalltxcsfinancebillcheckRequest() *TmalltxcsfinancebillcheckAPIRequest
NewTmalltxcsfinancebillcheckRequest 初始化TmalltxcsfinancebillcheckAPIRequest对象
func (TmalltxcsfinancebillcheckAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmalltxcsfinancebillcheckAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmalltxcsfinancebillcheckAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmalltxcsfinancebillcheckAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmalltxcsfinancebillcheckAPIRequest) GetOuCode ¶ added in v1.3.1
func (r TmalltxcsfinancebillcheckAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
func (TmalltxcsfinancebillcheckAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmalltxcsfinancebillcheckAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmalltxcsfinancebillcheckAPIRequest) GetStatementBillFeeDetailQuery ¶ added in v1.3.1
func (r TmalltxcsfinancebillcheckAPIRequest) GetStatementBillFeeDetailQuery() *StatementBillFeeDetailQuery
GetStatementBillFeeDetailQuery StatementBillFeeDetailQuery Getter
func (*TmalltxcsfinancebillcheckAPIRequest) SetOuCode ¶ added in v1.3.1
func (r *TmalltxcsfinancebillcheckAPIRequest) SetOuCode(_ouCode string) error
SetOuCode is OuCode Setter 门店编码
func (*TmalltxcsfinancebillcheckAPIRequest) SetStatementBillFeeDetailQuery ¶ added in v1.3.1
func (r *TmalltxcsfinancebillcheckAPIRequest) SetStatementBillFeeDetailQuery(_statementBillFeeDetailQuery *StatementBillFeeDetailQuery) error
SetStatementBillFeeDetailQuery is StatementBillFeeDetailQuery Setter 查询参数
type TmalltxcsfinancebillcheckAPIResponse ¶ added in v1.3.1
type TmalltxcsfinancebillcheckAPIResponse struct { model.CommonResponse TmalltxcsfinancebillcheckAPIResponseModel }
TmalltxcsfinancebillcheckAPIResponse 天猫超市外部商家财务账单对账 API返回值 tmall.txcs.finance.bill.check
提供天猫超市外部合作商家财务账单对账
type TmalltxcsfinancebillcheckAPIResponseModel ¶ added in v1.3.1
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.3.1
type TmalltxcsfinancebillconfirmAPIRequest struct { model.Params // contains filtered or unexported fields }
TmalltxcsfinancebillconfirmAPIRequest 供应商账单确认 API请求 tmall.txcs.finance.bill.confirm
提供天猫超市外部合作商家:财务账单对账
func NewTmalltxcsfinancebillconfirmRequest ¶ added in v1.3.1
func NewTmalltxcsfinancebillconfirmRequest() *TmalltxcsfinancebillconfirmAPIRequest
NewTmalltxcsfinancebillconfirmRequest 初始化TmalltxcsfinancebillconfirmAPIRequest对象
func (TmalltxcsfinancebillconfirmAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmalltxcsfinancebillconfirmAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmalltxcsfinancebillconfirmAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmalltxcsfinancebillconfirmAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmalltxcsfinancebillconfirmAPIRequest) GetOuCode ¶ added in v1.3.1
func (r TmalltxcsfinancebillconfirmAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
func (TmalltxcsfinancebillconfirmAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmalltxcsfinancebillconfirmAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmalltxcsfinancebillconfirmAPIRequest) GetStatementBillConfirmDTO ¶ added in v1.3.1
func (r TmalltxcsfinancebillconfirmAPIRequest) GetStatementBillConfirmDTO() *StatementBillConfirmDto
GetStatementBillConfirmDTO StatementBillConfirmDTO Getter
func (*TmalltxcsfinancebillconfirmAPIRequest) SetOuCode ¶ added in v1.3.1
func (r *TmalltxcsfinancebillconfirmAPIRequest) SetOuCode(_ouCode string) error
SetOuCode is OuCode Setter 门店ID
func (*TmalltxcsfinancebillconfirmAPIRequest) SetStatementBillConfirmDTO ¶ added in v1.3.1
func (r *TmalltxcsfinancebillconfirmAPIRequest) SetStatementBillConfirmDTO(_statementBillConfirmDTO *StatementBillConfirmDto) error
SetStatementBillConfirmDTO is StatementBillConfirmDTO Setter 系统自动生成
type TmalltxcsfinancebillconfirmAPIResponse ¶ added in v1.3.1
type TmalltxcsfinancebillconfirmAPIResponse struct { model.CommonResponse TmalltxcsfinancebillconfirmAPIResponseModel }
TmalltxcsfinancebillconfirmAPIResponse 供应商账单确认 API返回值 tmall.txcs.finance.bill.confirm
提供天猫超市外部合作商家:财务账单对账
type TmalltxcsfinancebillconfirmAPIResponseModel ¶ added in v1.3.1
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.3.1
type TmalltxcsfinancebillqueryAPIRequest struct { model.Params // contains filtered or unexported fields }
TmalltxcsfinancebillqueryAPIRequest 天猫超市外部商家财务账单信息查询 API请求 tmall.txcs.finance.bill.query
提供天猫超市外部合作商家财务账单对账
func NewTmalltxcsfinancebillqueryRequest ¶ added in v1.3.1
func NewTmalltxcsfinancebillqueryRequest() *TmalltxcsfinancebillqueryAPIRequest
NewTmalltxcsfinancebillqueryRequest 初始化TmalltxcsfinancebillqueryAPIRequest对象
func (TmalltxcsfinancebillqueryAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmalltxcsfinancebillqueryAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmalltxcsfinancebillqueryAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmalltxcsfinancebillqueryAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmalltxcsfinancebillqueryAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmalltxcsfinancebillqueryAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmalltxcsfinancebillqueryAPIRequest) GetStatementBillQuery ¶ added in v1.3.1
func (r TmalltxcsfinancebillqueryAPIRequest) GetStatementBillQuery() *StatementBillQuery
GetStatementBillQuery StatementBillQuery Getter
func (*TmalltxcsfinancebillqueryAPIRequest) SetStatementBillQuery ¶ added in v1.3.1
func (r *TmalltxcsfinancebillqueryAPIRequest) SetStatementBillQuery(_statementBillQuery *StatementBillQuery) error
SetStatementBillQuery is StatementBillQuery Setter 对账单号
type TmalltxcsfinancebillqueryAPIResponse ¶ added in v1.3.1
type TmalltxcsfinancebillqueryAPIResponse struct { model.CommonResponse TmalltxcsfinancebillqueryAPIResponseModel }
TmalltxcsfinancebillqueryAPIResponse 天猫超市外部商家财务账单信息查询 API返回值 tmall.txcs.finance.bill.query
提供天猫超市外部合作商家财务账单对账
type TmalltxcsfinancebillqueryAPIResponseModel ¶ added in v1.3.1
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.3.1
type TmalltxcsfinanceinvoiceinputAPIRequest struct { model.Params // contains filtered or unexported fields }
TmalltxcsfinanceinvoiceinputAPIRequest 供应商发票录入 API请求 tmall.txcs.finance.invoice.input
提供天猫超市外部合作商家财务:供应商发票录入
func NewTmalltxcsfinanceinvoiceinputRequest ¶ added in v1.3.1
func NewTmalltxcsfinanceinvoiceinputRequest() *TmalltxcsfinanceinvoiceinputAPIRequest
NewTmalltxcsfinanceinvoiceinputRequest 初始化TmalltxcsfinanceinvoiceinputAPIRequest对象
func (TmalltxcsfinanceinvoiceinputAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmalltxcsfinanceinvoiceinputAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmalltxcsfinanceinvoiceinputAPIRequest) GetInvoiceInputDTO1 ¶ added in v1.3.1
func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetInvoiceInputDTO1() []InvoiceInputDto
GetInvoiceInputDTO1 InvoiceInputDTO1 Getter
func (TmalltxcsfinanceinvoiceinputAPIRequest) GetOuCode ¶ added in v1.3.1
func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
func (TmalltxcsfinanceinvoiceinputAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmalltxcsfinanceinvoiceinputAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TmalltxcsfinanceinvoiceinputAPIRequest) SetInvoiceInputDTO1 ¶ added in v1.3.1
func (r *TmalltxcsfinanceinvoiceinputAPIRequest) SetInvoiceInputDTO1(_invoiceInputDTO1 []InvoiceInputDto) error
SetInvoiceInputDTO1 is InvoiceInputDTO1 Setter 发票内容
func (*TmalltxcsfinanceinvoiceinputAPIRequest) SetOuCode ¶ added in v1.3.1
func (r *TmalltxcsfinanceinvoiceinputAPIRequest) SetOuCode(_ouCode string) error
SetOuCode is OuCode Setter 门店ID
type TmalltxcsfinanceinvoiceinputAPIResponse ¶ added in v1.3.1
type TmalltxcsfinanceinvoiceinputAPIResponse struct { model.CommonResponse TmalltxcsfinanceinvoiceinputAPIResponseModel }
TmalltxcsfinanceinvoiceinputAPIResponse 供应商发票录入 API返回值 tmall.txcs.finance.invoice.input
提供天猫超市外部合作商家财务:供应商发票录入
type TmalltxcsfinanceinvoiceinputAPIResponseModel ¶ added in v1.3.1
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.3.1
type TmalltxcsfinanceverifystatementbillAPIRequest struct { model.Params // contains filtered or unexported fields }
TmalltxcsfinanceverifystatementbillAPIRequest 供应商核销单录入 API请求 tmall.txcs.finance.verify.statement.bill
供应商核销单录入
func NewTmalltxcsfinanceverifystatementbillRequest ¶ added in v1.3.1
func NewTmalltxcsfinanceverifystatementbillRequest() *TmalltxcsfinanceverifystatementbillAPIRequest
NewTmalltxcsfinanceverifystatementbillRequest 初始化TmalltxcsfinanceverifystatementbillAPIRequest对象
func (TmalltxcsfinanceverifystatementbillAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TmalltxcsfinanceverifystatementbillAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TmalltxcsfinanceverifystatementbillAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TmalltxcsfinanceverifystatementbillAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TmalltxcsfinanceverifystatementbillAPIRequest) GetOuCode ¶ added in v1.3.1
func (r TmalltxcsfinanceverifystatementbillAPIRequest) GetOuCode() string
GetOuCode OuCode Getter
func (TmalltxcsfinanceverifystatementbillAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TmalltxcsfinanceverifystatementbillAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TmalltxcsfinanceverifystatementbillAPIRequest) GetVerificationBillDTO ¶ added in v1.3.1
func (r TmalltxcsfinanceverifystatementbillAPIRequest) GetVerificationBillDTO() *VerificationBillDto
GetVerificationBillDTO VerificationBillDTO Getter
func (*TmalltxcsfinanceverifystatementbillAPIRequest) SetOuCode ¶ added in v1.3.1
func (r *TmalltxcsfinanceverifystatementbillAPIRequest) SetOuCode(_ouCode string) error
SetOuCode is OuCode Setter 门店ID
func (*TmalltxcsfinanceverifystatementbillAPIRequest) SetVerificationBillDTO ¶ added in v1.3.1
func (r *TmalltxcsfinanceverifystatementbillAPIRequest) SetVerificationBillDTO(_verificationBillDTO *VerificationBillDto) error
SetVerificationBillDTO is VerificationBillDTO Setter 核销单内容
type TmalltxcsfinanceverifystatementbillAPIResponse ¶ added in v1.3.1
type TmalltxcsfinanceverifystatementbillAPIResponse struct { model.CommonResponse TmalltxcsfinanceverifystatementbillAPIResponseModel }
TmalltxcsfinanceverifystatementbillAPIResponse 供应商核销单录入 API返回值 tmall.txcs.finance.verify.statement.bill
供应商核销单录入
type TmalltxcsfinanceverifystatementbillAPIResponseModel ¶ added in v1.3.1
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