models

package
v1.66.0 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: Apache-2.0 Imports: 0 Imported by: 3 modules, 2 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Area

type Area struct {

	/* 地址id (Optional) */
	Id int `json:"id"`

	/* 地址名称 (Optional) */
	Name string `json:"name"`

	/* 区域父id (Optional) */
	ParentId int `json:"parentId"`

	/* 排序id (Optional) */
	SortId int `json:"sortId"`
}

type BillDataList

type BillDataList struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 发票主单号 (Optional) */
	InvoiceOrderId int `json:"invoiceOrderId"`

	/* 发票子单号 (Optional) */
	ChildOrderId int `json:"childOrderId"`

	/* 产品线名称 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 可开票金额 (Optional) */
	Amount int `json:"amount"`

	/* 实付金额 (Optional) */
	ActualAmount int `json:"actualAmount"`

	/* 退款金额 (Optional) */
	RefundAmount int `json:"refundAmount"`

	/* 创建日期 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新日期 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 状态[已申请-applied ,处理中-processing ,已开票-invoiced ,已邮寄-mailed ,已驳回-dismissed ,已作废-obsolete ,已取消-cancelled] (Optional) */
	Status string `json:"status"`

	/* 使用人 (Optional) */
	Owner string `json:"owner"`

	/* 交易(支付)类型 1-代付 2-自付 (Optional) */
	PayType int `json:"payType"`

	/* 交易(支付)类型描述 1-代付 2-自付 (Optional) */
	PayTypeDesc string `json:"payTypeDesc"`
}

type CheckResult

type CheckResult struct {

	/* true-发票校验通过可以退款, false-发票校验未通过不能退款 (Optional) */
	Result bool `json:"result"`

	/* 发票校验未通过的订单及原因 (Optional) */
	Reason []Reason `json:"reason"`
}

type DeductInfo

type DeductInfo struct {

	/* 抵扣主订单号 (Optional) */
	OrderId *string `json:"orderId"`

	/* 抵扣金额 (Optional) */
	Fee *int `json:"fee"`
}

type Invoice

type Invoice struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 发票申请单号 (Optional) */
	InvoiceNumber string `json:"invoiceNumber"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 发票类型:[个人增值税普通发票-Personal_VAT_Ordinary_Invoice,企业增值税专用发票-Enterprise_VAT_Special_Invoice,企业增值税普通发票-Enterprise_VAT_Ordinary_Invoice] (Optional) */
	InvoiceType string `json:"invoiceType"`

	/* 发票抬头 (Optional) */
	InvoiceTitle string `json:"invoiceTitle"`

	/* 税号 (Optional) */
	TaxNo string `json:"taxNo"`

	/* 总价 (Optional) */
	TotalPrice int `json:"totalPrice"`

	/* remark (Optional) */
	Remark string `json:"remark"`

	/* 发票内容 (Optional) */
	InvoiceContent string `json:"invoiceContent"`

	/* 用户类型 (Optional) */
	UserType int `json:"userType"`

	/* 地址ID (Optional) */
	AddressId int `json:"addressId"`

	/* transportId (Optional) */
	TransportId int `json:"transportId"`

	/* 创建日期 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新日期 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 状态[已申请-applied ,处理中-processing ,已开票-invoiced ,已邮寄-mailed ,已驳回-dismissed ,已作废-obsolete ,已取消-cancelled] (Optional) */
	Status string `json:"status"`

	/* 计费日期 (Optional) */
	BillingTime string `json:"billingTime"`

	/* 原因 (Optional) */
	Reason string `json:"reason"`

	/* invoiceOrg (Optional) */
	InvoiceOrg string `json:"invoiceOrg"`

	/* 注册地址 (Optional) */
	RegisterAddress string `json:"registerAddress"`

	/* 账户银行 (Optional) */
	AccountBank string `json:"accountBank"`

	/* 账户 (Optional) */
	Account string `json:"account"`

	/* 1 线上开票 2 线下开票 (Optional) */
	ApplyType int `json:"applyType"`

	/* 类型[纸质-paper,电子-electronic,数电发票-digital] (Optional) */
	MediumType string `json:"mediumType"`

	/* 发票PDF文件链接地址 (Optional) */
	PdfUrl string `json:"pdfUrl"`

	/* 发票文件链接地址 (Optional) */
	FileUrl string `json:"fileUrl"`

	/* 邮寄地址 (Optional) */
	PostAddress PostAddress `json:"postAddress"`

	/* 发票关联订单 (Optional) */
	InvoiceOrders []InvoiceOrder `json:"invoiceOrders"`
}

type InvoiceCreate

type InvoiceCreate struct {

	/* 需要开票的订单号列表,以逗号分隔 (Optional) */
	OrderIds string `json:"orderIds"`

	/* 抵扣单据单号列表,以逗号分隔 (Optional) */
	DeductOrderIds string `json:"deductOrderIds"`

	/* 发票类型[电子-electronic] (Optional) */
	MediumType string `json:"mediumType"`

	/* 开票类型[按明细开票-consume,按月账单开票-month,指定金额开票-money(mediumType=paper生效)] (Optional) */
	CreateInvoiceType string `json:"createInvoiceType"`

	/* 开票备注 (Optional) */
	Remark []InvoiceRemarkInfo `json:"remark"`

	/* 是否全部开票[全部开票-1 不需要传orderIds 需要传 开始、结束时间] (Optional) */
	InvoiceAll int `json:"invoiceAll"`

	/* 开票订单的开始时间(开票标识为 全部开票 时不需要传) (Optional) */
	OrderStartTime string `json:"orderStartTime"`

	/* 开票订单的结束时间(开票标识为 全部开票 时不需要传) (Optional) */
	OrderEndTime string `json:"orderEndTime"`

	/* 开票月份 仅按月账单开票生效 例(202407,202406)多个月份用逗号分隔 (Optional) */
	MonthGroups string `json:"monthGroups"`

	/* 指定金额开票时 传入金额 开票类型=money时必传 (Optional) */
	Amount int `json:"amount"`
}

type InvoiceDetails

type InvoiceDetails struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 产品线 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品线中文名 (Optional) */
	ServiceName string `json:"serviceName"`

	/* 支付金额 (Optional) */
	Amount int `json:"amount"`

	/* 可开票金额 (Optional) */
	EnableAmount int `json:"enableAmount"`
}

type InvoiceList

type InvoiceList struct {

	/* 页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页大小 (Optional) */
	PageSize int `json:"pageSize"`

	/* 总条数 (Optional) */
	TotalCount int64 `json:"totalCount"`

	/* 总页数 (Optional) */
	TotalPage int `json:"totalPage"`

	/*  (Optional) */
	ResultList []Invoice `json:"resultList"`
}

type InvoiceMsgTemplate

type InvoiceMsgTemplate struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 发票类型[个人增值税普通发票-Personal_VAT_Ordinary_Invoice,企业增值税专用发票-Enterprise_VAT_Special_Invoice,企业增值税普通发票-Enterprise_VAT_Ordinary_Invoice] (Optional) */
	InvoiceType string `json:"invoiceType"`

	/* 发票抬头 (Optional) */
	InvoiceTitle string `json:"invoiceTitle"`

	/* 发票内容 (Optional) */
	InvoiceContent string `json:"invoiceContent"`

	/* 纳税人识别号 (Optional) */
	TaxNo string `json:"taxNo"`

	/* 个人发票抬头 (Optional) */
	PersonalInvoiceTitle string `json:"personalInvoiceTitle"`

	/* 开票类型[电子-electronic] (Optional) */
	MediumType string `json:"mediumType"`

	/* 邮箱 (Optional) */
	Email string `json:"email"`

	/* 电话 (Optional) */
	Phone string `json:"phone"`
}

type InvoiceOrder

type InvoiceOrder struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 单据编号 (Optional) */
	OrderId string `json:"orderId"`

	/* 单据类型[订单-1,账单-2] (Optional) */
	ReceiptType int `json:"receiptType"`

	/* 单据类型[订单-order,账单-bill] (Optional) */
	TypeDesc string `json:"typeDesc"`

	/* 产品名称 (Optional) */
	Name string `json:"name"`

	/* 实付金额 (Optional) */
	Amount int `json:"amount"`

	/* invoicedAmount (Optional) */
	InvoicedAmount int `json:"invoicedAmount"`

	/* 可开票金额 (Optional) */
	EnableAmount int `json:"enableAmount"`

	/* 已开票金额 (Optional) */
	UseAmount int `json:"useAmount"`

	/* 退款金额 (Optional) */
	RefundAmount int `json:"refundAmount"`

	/* 申请状态 (Optional) */
	Status int `json:"status"`

	/* 成单日期 (Optional) */
	FinishTime string `json:"finishTime"`

	/* 创建日期 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新日期 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* chargeSubject (Optional) */
	ChargeSubject string `json:"chargeSubject"`

	/* batch (Optional) */
	Batch string `json:"batch"`

	/* 查询 开始日期 (Optional) */
	SearchStartTime string `json:"searchStartTime"`

	/* 查询 结束日期 (Optional) */
	SearchEndTime string `json:"searchEndTime"`

	/* 使用人 (Optional) */
	Owner string `json:"owner"`

	/* 交易(支付)类型 1-代付 2-自付 (Optional) */
	PayType int `json:"payType"`

	/* payType描述 1-代付 2-自付 (Optional) */
	PayTypeDesc string `json:"payTypeDesc"`

	/* 如果是月结订单,返回具体月份 例202301 (Optional) */
	MonthGroup string `json:"monthGroup"`
}

type InvoiceOrderItem

type InvoiceOrderItem struct {

	/* 页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 每页大小 (Optional) */
	PageSize int `json:"pageSize"`

	/* 总条数 (Optional) */
	TotalCount int64 `json:"totalCount"`

	/* 总页数 (Optional) */
	TotalPage int `json:"totalPage"`

	/*  (Optional) */
	ResultList []InvoiceOrder `json:"resultList"`
}

type InvoiceOrderList

type InvoiceOrderList struct {

	/* 开始时间 (Optional) */
	SearchStartTime string `json:"searchStartTime"`

	/* 结束时间 (Optional) */
	SearchEndTime string `json:"searchEndTime"`

	/* 页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 页大小 (Optional) */
	PageSize int `json:"pageSize"`

	/* 单据类型[订单-order,账单-bill 月结算单-month] (Optional) */
	ReceiptType string `json:"receiptType"`

	/* 交易(支付)类型 1-代付 2-自付 (Optional) */
	PayType int `json:"payType"`
}

type InvoiceOrderPrice

type InvoiceOrderPrice struct {

	/* 预开票总金额(不传则简单计算金额) (Optional) */
	Amount int `json:"amount"`

	/*  (Optional) */
	OrderInfo []OrderInfo `json:"orderInfo"`
}

type InvoiceOweDeductReqVo

type InvoiceOweDeductReqVo struct {

	/* 抵扣订单号 (Optional) */
	OrderIds string `json:"orderIds"`
}

type InvoiceOweInfo

type InvoiceOweInfo struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 欠票订单号 (Optional) */
	OweOrderId string `json:"oweOrderId"`

	/* 抵扣订单号 (Optional) */
	DeductOrderId string `json:"deductOrderId"`

	/* 产品名称 (Optional) */
	ProductName string `json:"productName"`

	/* 发票抬头 (Optional) */
	ReceiptType int `json:"receiptType"`

	/* 实付金额 (Optional) */
	Amount int `json:"amount"`

	/* 欠票总金额 (Optional) */
	OweAmount int `json:"oweAmount"`

	/* 待抵扣金额 (Optional) */
	NonDeductAmount int `json:"nonDeductAmount"`

	/* 抵扣金额 (Optional) */
	DeductAmount int `json:"deductAmount"`

	/* 欠票状态 (Optional) */
	Status int `json:"status"`

	/* 记录类型(1:欠票记录 2:抵扣记录) (Optional) */
	RecordType int `json:"recordType"`

	/* 创建日期 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新日期 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 备注 (Optional) */
	Comment string `json:"comment"`
}

type InvoiceOweList

type InvoiceOweList struct {

	/* 页码 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 每页大小 (Optional) */
	PageSize int `json:"pageSize"`

	/* 总条数 (Optional) */
	TotalCount int64 `json:"totalCount"`

	/* 总页数 (Optional) */
	TotalPage int `json:"totalPage"`

	/*  (Optional) */
	ResultList []InvoiceOweInfo `json:"resultList"`
}

type InvoiceOweReq

type InvoiceOweReq struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 页码 (Optional) */
	PageIndex int `json:"pageIndex"`

	/* 页大小 (Optional) */
	PageSize int `json:"pageSize"`
}

type InvoicePreviewReqVo

type InvoicePreviewReqVo struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 订单号 多个用逗号,分开 (Optional) */
	OrderIds string `json:"orderIds"`

	/* 欠票抵扣的订单信息 (Optional) */
	DeductInfoList []DeductInfo `json:"deductInfoList"`

	/* 指定开票金额 (Optional) */
	Amount int `json:"amount"`

	/* 开票月份 仅按月开票生效 (Optional) */
	MonthGroups string `json:"monthGroups"`

	/* 发票类型[电子-electronic, 数电-digital] (Optional) */
	MediumType string `json:"mediumType"`

	/* 全部开票标识 1-全部开票 全部开票, 不需要传orderIds 需要传 开始、结束时间 (Optional) */
	InvoiceAll int `json:"invoiceAll"`

	/* 开票订单的开始时间(yyyy-MM-dd HH:mm:ss) (Optional) */
	OrderStartTime string `json:"orderStartTime"`

	/* 开票订单的结束时间(yyyy-MM-dd HH:mm:ss) (Optional) */
	OrderEndTime string `json:"orderEndTime"`
}

type InvoicePreviewRespVo

type InvoicePreviewRespVo struct {

	/* 单位名称/用户的发票抬头信息 (Optional) */
	CompanyName string `json:"companyName"`

	/* 纳税人识别号;个人类型时为空 (Optional) */
	CompanyTaxCode string `json:"companyTaxCode"`

	/* 公司地址;个人类型时为空 (Optional) */
	CompanyAddress string `json:"companyAddress"`

	/* 公司电话/手机号 (Optional) */
	CompanyTelphone string `json:"companyTelphone"`

	/* 开户行;个人类型时为空 (Optional) */
	CompanyBank string `json:"companyBank"`

	/* 开户行的银行账户;个人类型时为空 (Optional) */
	CompanyBankAccount string `json:"companyBankAccount"`

	/* 货物或应税劳务 、服务名称 (Optional) */
	ServiceName string `json:"serviceName"`

	/* 规格 (Optional) */
	Specification string `json:"specification"`

	/* 发票总金额 (Optional) */
	TotalAmount int `json:"totalAmount"`

	/* 发票不含税金额 (Optional) */
	Amount int `json:"amount"`

	/* 税率 (Optional) */
	TaxRate int `json:"taxRate"`

	/* 税额 (Optional) */
	TaxAmount int `json:"taxAmount"`

	/* 税额中文 (Optional) */
	TaxAmountCnStr string `json:"taxAmountCnStr"`

	/* 销售主体 (Optional) */
	ChargeSubject string `json:"chargeSubject"`

	/* 销售主体识别码 (Optional) */
	ChargeSubjectTaxCode string `json:"chargeSubjectTaxCode"`

	/* 销售主体地址 (Optional) */
	ChargeSubjectAddress string `json:"chargeSubjectAddress"`

	/* 销售主体电话 (Optional) */
	ChargeSubjectTelephone string `json:"chargeSubjectTelephone"`

	/* 销售主体开户行 (Optional) */
	ChargeSubjectBank string `json:"chargeSubjectBank"`

	/* 销售主体开户行账号 (Optional) */
	ChargeSubjectBankAccount string `json:"chargeSubjectBankAccount"`

	/* 内容 (Optional) */
	Content string `json:"content"`

	/* 预览信息的唯一标识 (Optional) */
	Uuid string `json:"uuid"`
}

type InvoiceQuery

type InvoiceQuery struct {

	/* 订单号或者申请单号 (Optional) */
	BusinessId string `json:"businessId"`

	/* 发票代码 (Optional) */
	IvcCode string `json:"ivcCode"`

	/* 发票号码 (Optional) */
	IvcNo string `json:"ivcNo"`

	/* 商品编号 (Optional) */
	Wid string `json:"wid"`
}

type InvoiceRefund

type InvoiceRefund struct {

	/* 退票原因 (Optional) */
	RefundReason string `json:"refundReason"`

	/* 备注信息 (Optional) */
	Remark string `json:"remark"`

	/* 物流公司 (Optional) */
	LogisticsCompany string `json:"logisticsCompany"`

	/* 物流单号 (Optional) */
	LogisticsOrderNumber string `json:"logisticsOrderNumber"`

	/* [纸质-paper,电子-electronic] (Optional) */
	MediumType string `json:"mediumType"`
}

type InvoiceRefundInfo

type InvoiceRefundInfo struct {

	/*  (Optional) */
	RefundInfoList []RefundInfo `json:"refundInfoList"`
}

type InvoiceRemarkInfo

type InvoiceRemarkInfo struct {

	/* 唯一标识(从getInvoicePreview接口获取) (Optional) */
	Uuid *string `json:"uuid"`

	/* 开票备注(最大长度90个字符) (Optional) */
	Content *string `json:"content"`
}

type InvoiceTemplate

type InvoiceTemplate struct {

	/* 发票类型:[个人增值税普通发票-Personal_VAT_Ordinary_Invoice,企业增值税专用发票-Enterprise_VAT_Special_Invoice,企业增值税普通发票-Enterprise_VAT_Ordinary_Invoice] (Optional) */
	InvoiceType string `json:"invoiceType"`

	/* 发票抬头 (Optional) */
	InvoiceTitle string `json:"invoiceTitle"`

	/* 开票内容(按类别开票/按明细开票) (Optional) */
	InvoiceContent string `json:"invoiceContent"`

	/* 纳税人识别码(发票类型为企业增值税专用发票和企业增值税普通发票时必填) (Optional) */
	TaxId string `json:"taxId"`

	/* 单位名称(发票类型为企业增值税专用发票时必填) (Optional) */
	Company string `json:"company"`

	/* 注册电话(发票类型为个人增值税普通发票和企业增值税普通发票时作为收票人手机号) (Optional) */
	Phone string `json:"phone"`

	/* 开户银行(发票类型为企业增值税专用发票时必填) (Optional) */
	Bank string `json:"bank"`

	/* 银行账户(发票类型为企业增值税专用发票时必填) (Optional) */
	Account string `json:"account"`

	/* 注册地址(发票类型为企业增值税专用发票时必填) (Optional) */
	Address string `json:"address"`

	/* 邮箱 (Optional) */
	Email string `json:"email"`

	/* [电子-electronic] (Optional) */
	MediumType string `json:"mediumType"`
}

type InvoicedRenewChildOrder

type InvoicedRenewChildOrder struct {

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 子单列表 (Optional) */
	ChildOrderList []string `json:"childOrderList"`
}

type Invoices

type Invoices struct {

	/* 发票状态[已申请-applied ,处理中-processing ,已开票-invoiced ,已邮寄-mailed ,已驳回-dismissed ,已作废-obsolete ,已取消-cancelled,退票中-refund,已退票-refunded,退票驳回-refund_rejected] (Optional) */
	Status string `json:"status"`

	/* 开始时间 (Optional) */
	SearchStartDate string `json:"searchStartDate"`

	/* 结束时间 (Optional) */
	SearchEndDate string `json:"searchEndDate"`

	/* 页码 (Optional) */
	PageNumber int `json:"pageNumber"`

	/* 页大小 (Optional) */
	PageSize int `json:"pageSize"`

	/* 按明细开票 1 按月结算单开票 2 按指定金额开票 3 (Optional) */
	InvoiceType int `json:"invoiceType"`
}

type Logistics

type Logistics struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 物流公司 (Optional) */
	LogisticsCompany string `json:"logisticsCompany"`

	/* 快递单号 (Optional) */
	OrderNo string `json:"orderNo"`

	/* 创建日期 (Optional) */
	CreateTime string `json:"createTime"`

	/* 更新日期 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 发票id (Optional) */
	InvoiceId int `json:"invoiceId"`
}

type ModifiedInvoiceInfo

type ModifiedInvoiceInfo struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 订单号 (Optional) */
	InvoiceNumber string `json:"invoiceNumber"`

	/* 发票对应订单号列表 (Optional) */
	OrderNumberList []string `json:"orderNumberList"`

	/* 发票开票金额 (Optional) */
	InvoiceFee int `json:"invoiceFee"`

	/* 发票状态 (Optional) */
	InvoiceStatus int `json:"invoiceStatus"`

	/* 操作行为, 1.退款 2.开票更新 (Optional) */
	Action int `json:"action"`
}

type MonthGroupOrder

type MonthGroupOrder struct {

	/* 如果是月结订单,返回具体月份 例202301 (Optional) */
	MonthGroup string `json:"monthGroup"`

	/* 月份描述 例2023年01月 (Optional) */
	MonthGroupDesc string `json:"monthGroupDesc"`

	/* 可开票金额 (Optional) */
	EnableAmount int `json:"enableAmount"`

	/* 已开票金额 (Optional) */
	UseAmount int `json:"useAmount"`

	/* 总金额 (Optional) */
	Amount int `json:"amount"`

	/* 本次开票金额 (Optional) */
	NowAmount int `json:"nowAmount"`

	/* 按产品线的详情 (Optional) */
	InvoiceMonthDetailVos []InvoiceDetails `json:"invoiceMonthDetailVos"`
}

type OrderInfo

type OrderInfo struct {

	/* 金额 (Optional) */
	Amount *int `json:"amount"`

	/* 订单号 (Optional) */
	OrderId *string `json:"orderId"`
}

type OrderInfoRes

type OrderInfoRes struct {

	/* 总金额 (Optional) */
	Amount int `json:"amount"`

	/*  (Optional) */
	OrderInfo []OrderInfo `json:"orderInfo"`
}

type OrderInvoiceDetail

type OrderInvoiceDetail struct {

	/* 开票金额 (Optional) */
	InvoiceAmount int `json:"invoiceAmount"`

	/* 订单号 (Optional) */
	OrderNumber string `json:"orderNumber"`

	/* 订单对应发票状态,(1 2 3 4 8 10表示有发票,5 6 7 9表示没有发票 9 退票)1:已申请 2:处理中 3:已开票 4:已邮寄 5:已驳回 6:已作废 7:已取消 8:退票中 9:已退票 10:退票驳回 (Optional) */
	Status int `json:"status"`
}

type OrderInvoiceInfo

type OrderInvoiceInfo struct {

	/* 开票总金额 (Optional) */
	InvoiceTotalAmount int `json:"invoiceTotalAmount"`

	/* 订单开票详细信息列表 (Optional) */
	OrderInvoiceDetailList []OrderInvoiceDetail `json:"orderInvoiceDetailList"`

	/* 退款订单发票状态,1-退款订单有发票 0-退款订单无发票/已退票 (Optional) */
	InvoiceStatus int `json:"invoiceStatus"`
}

type OrderInvoiceReq

type OrderInvoiceReq struct {

	/* 用户pin  */
	Pin string `json:"pin"`

	/* 订单列表  */
	OrderNumberList []string `json:"orderNumberList"`
}

type OwedInvoiceReq

type OwedInvoiceReq struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 退款订单信息 (Optional) */
	RefundInfoList []RefundOweInvoice `json:"refundInfoList"`
}

type PageInfo

type PageInfo struct {

	/* pageIndex (Optional) */
	PageIndex int `json:"pageIndex"`

	/* pageSize (Optional) */
	PageSize int `json:"pageSize"`

	/* totalCount (Optional) */
	TotalCount int64 `json:"totalCount"`

	/* totalPage (Optional) */
	TotalPage int `json:"totalPage"`
}

type PostAddress

type PostAddress struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 收件人姓名 (Optional) */
	Name string `json:"name"`

	/* 收件人电话 (Optional) */
	Phone string `json:"phone"`

	/* 省 (Optional) */
	Province string `json:"province"`

	/* 市 (Optional) */
	City string `json:"city"`

	/* 区 (Optional) */
	County string `json:"county"`

	/* 县 (Optional) */
	Town string `json:"town"`

	/* 邮编 (Optional) */
	Address string `json:"address"`

	/* 是否默认收货地址 (Optional) */
	IsDefault int `json:"isDefault"`

	/* 更新时间 (Optional) */
	UpdateTime string `json:"updateTime"`

	/* 用户pin (Optional) */
	Pin string `json:"pin"`

	/* 创建时间 (Optional) */
	CreateTime string `json:"createTime"`

	/* 邮编 (Optional) */
	ZipCode string `json:"zipCode"`

	/* 省id (Optional) */
	ProvinceId int `json:"provinceId"`

	/* 市id (Optional) */
	CityId int `json:"cityId"`

	/* 区县id (Optional) */
	CountyId int `json:"countyId"`

	/* 乡镇id (Optional) */
	TownId int `json:"townId"`
}

type Reason

type Reason struct {

	/* 发票状态 (Optional) */
	Status int `json:"status"`

	/* 状态描述 (Optional) */
	Message string `json:"message"`
}

type RefundInfo

type RefundInfo struct {

	/* 用户pin (Optional) */
	Pin *string `json:"pin"`

	/* 退款子单号 (Optional) */
	SubOrderNumber *string `json:"subOrderNumber"`

	/* 退款金额 (Optional) */
	RefundAmount *int `json:"refundAmount"`
}

type RefundInvoiceReq

type RefundInvoiceReq struct {

	/* pin (Optional) */
	Pin string `json:"pin"`

	/* 退款订单信息 (Optional) */
	RefundOrderInfoList []RefundOrderInfo `json:"refundOrderInfoList"`
}

type RefundOrder

type RefundOrder struct {

	/* 退款订单号 (Optional) */
	OrderId string `json:"orderId"`

	/* 退款金额 (Optional) */
	RefundAmount string `json:"refundAmount"`
}

type RefundOrderInfo

type RefundOrderInfo struct {

	/* 主单号 (Optional) */
	OrderNumber *string `json:"orderNumber"`

	/* 子单号 (Optional) */
	ChildOrderNumber *string `json:"childOrderNumber"`

	/* 子单退款金额 (Optional) */
	ChildRefundAmount *int `json:"childRefundAmount"`
}

type RefundOweInvoice

type RefundOweInvoice struct {

	/* pin (Optional) */
	Pin *string `json:"pin"`

	/* 主单号 (Optional) */
	OrderNumber *string `json:"orderNumber"`

	/* 欠票金额 (Optional) */
	Amount *int `json:"amount"`
}

type RefundOweInvoiceReq

type RefundOweInvoiceReq struct {

	/* 退款欠票信息 (Optional) */
	InvoiceOweInfoList []RefundOweInvoice `json:"invoiceOweInfoList"`
}

type TaxInfo

type TaxInfo struct {

	/* 主键 (Optional) */
	Id int `json:"id"`

	/* 产品线 (Optional) */
	ServiceCode string `json:"serviceCode"`

	/* 产品线名称 (Optional) */
	ServiceName string `json:"serviceName"`

	/* 税率(小数 如 0.06) (Optional) */
	TaxRa int `json:"taxRa"`

	/* 税号 (Optional) */
	TaxCode string `json:"taxCode"`

	/* 开票内容 (Optional) */
	Content string `json:"content"`

	/* 收费主体 (Optional) */
	ChargeSubject string `json:"chargeSubject"`
}

type Vat

type Vat struct {

	/* id (Optional) */
	Id int `json:"id"`

	/* 税号 (Optional) */
	TaxId string `json:"taxId"`

	/* 公司名称 (Optional) */
	Company string `json:"company"`

	/* 电话 (Optional) */
	Phone string `json:"phone"`

	/* 开户行 (Optional) */
	Bank string `json:"bank"`

	/* 开户行账户 (Optional) */
	Account string `json:"account"`

	/* 注册地址 (Optional) */
	Address string `json:"address"`

	/* 资质有效开始时间 (Optional) */
	StartTime string `json:"startTime"`

	/* 资质有效结束时间 (Optional) */
	EndTime string `json:"endTime"`
}

Jump to

Keyboard shortcuts

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