generator

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FxGenerator

type FxGenerator struct {
	// contains filtered or unexported fields
}

func (*FxGenerator) Generate

func (g *FxGenerator) Generate(inv *invoice.ZUGFeRDmaster) ([]byte, error)

func (*FxGenerator) Profile

func (g *FxGenerator) Profile() invoice.Profile

type Generator

type Generator interface {
	Generate(inv *invoice.ZUGFeRDmaster) ([]byte, error)
	Profile() invoice.Profile
}

func NewFX

func NewFX(templatePath string) (Generator, error)

func NewPar

func NewPar(templatePath string) (Generator, error)

type ParGenerator

type ParGenerator struct {
	// contains filtered or unexported fields
}

func (*ParGenerator) Generate

func (g *ParGenerator) Generate(inv *invoice.ZUGFeRDmaster) ([]byte, error)

func (*ParGenerator) Profile

func (g *ParGenerator) Profile() invoice.Profile

type ParInvoice

type ParInvoice struct {
	Invoice   *invoice.ZUGFeRDmaster
	LineItems []string
}

Jump to

Keyboard shortcuts

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