testutils

package
v1.0.0-beta.230 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2026 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 NoopLineEngine

type NoopLineEngine struct {
	EngineType billing.LineEngineType
}

NoopLineEngine is a test helper intended for embedding in line-engine fakes. It intentionally does not implement billing.LineCalculator.

func (NoopLineEngine) BuildStandardInvoiceLines

func (NoopLineEngine) BuildStandardLinesForGatheringPreview

func (NoopLineEngine) BuildStandardLinesForGatheringPreview(_ context.Context, input billing.BuildStandardInvoiceLinesInput) (billing.StandardLines, error)

func (NoopLineEngine) GetLineEngineType

func (e NoopLineEngine) GetLineEngineType() billing.LineEngineType

func (NoopLineEngine) IsLineBillableAsOf

func (NoopLineEngine) OnCollectionCompleted

func (NoopLineEngine) OnInvoiceIssued

func (NoopLineEngine) OnMutableStandardLinesDeletedBySystem

func (NoopLineEngine) OnMutableStandardLinesDeletedBySystem(context.Context, billing.OnMutableStandardLinesDeletedInput) error

func (NoopLineEngine) OnPaymentAuthorized

func (NoopLineEngine) OnPaymentSettled

func (NoopLineEngine) OnStandardInvoiceCreated

func (NoopLineEngine) OnUnsupportedCreditNote

func (NoopLineEngine) ValidateMutableInvoiceLineEditViaAPI

func (NoopLineEngine) ValidateMutableInvoiceLineEditViaAPI(_ context.Context, input billing.OnMutableInvoiceUpdateInput) error

Jump to

Keyboard shortcuts

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