providerapi

package
v1.0.0-beta.186 Latest Latest
Warning

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

Go to latest
Published: Oct 2, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InvoiceProvider

type InvoiceProvider interface {
	InvoiceValidator
}

type InvoiceValidator

type InvoiceValidator interface {
	// ValidateInvoice validates the given invoice, called by the gobldriver and the returned
	// error(s) are added to the global error list. Notes:
	// - please use errors.join to combine multiple errors, they will be unwrapped by the gobldriver
	// - please use github.com/invopop/validation.NewError to create new errors, so that error codes are present
	//   in the validation results
	ValidateInvoice(context.Context, billing.Invoice) error
}

type PaymentProvider

type PaymentProvider interface {
	InvoiceValidator
}

type TaxProvider

type TaxProvider interface {
	InvoiceValidator
}

Jump to

Keyboard shortcuts

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