invoice

package
v0.6.24 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var AuditType = auditType{
	WaitReview: enum.New[AuditTypeEnum](0, "待审核"),
	Approve:    enum.New[AuditTypeEnum](1, "通过"),
	Reject:     enum.New[AuditTypeEnum](-1, "不通过"),
}
View Source
var BelongType = belongType{
	OnSelf:  enum.New[BelongTypeEnum](1, "个人"),
	Subject: enum.New[BelongTypeEnum](2, "主体"),
}
View Source
var Invoice = invoice{
	AuditType:  AuditType,
	State:      State,
	MakeType:   MakeType,
	BelongType: BelongType,
}
View Source
var MakeType = makeType{
	Normal:  enum.New[TypeEnum](1, "普通发票"),
	Special: enum.New[TypeEnum](2, "增值税专用发票"),
	// contains filtered or unexported fields
}
View Source
var State = state{
	WaitAudit:      enum.New[StateEnum](1, "待审核"),
	WaitForInvoice: enum.New[StateEnum](2, "待开票"),
	Failure:        enum.New[StateEnum](4, "开票失败"),
	Success:        enum.New[StateEnum](8, "已开票"),
	Cancel:         enum.New[StateEnum](16, "已撤销"),
}

Functions

This section is empty.

Types

type AuditTypeEnum

type AuditTypeEnum enum.IEnumCode[int]

type BelongTypeEnum added in v0.2.4

type BelongTypeEnum enum.IEnumCode[int]

type StateEnum

type StateEnum enum.IEnumCode[int]

type TypeEnum

type TypeEnum enum.IEnumCode[int]

Jump to

Keyboard shortcuts

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