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
}
Click to show internal directories.
Click to hide internal directories.