Documentation
¶
Index ¶
- type NoopLineEngine
- func (NoopLineEngine) BuildStandardInvoiceLines(_ context.Context, input billing.BuildStandardInvoiceLinesInput) (billing.StandardLines, error)
- func (e NoopLineEngine) GetLineEngineType() billing.LineEngineType
- func (NoopLineEngine) IsLineBillableAsOf(context.Context, billing.IsLineBillableAsOfInput) (bool, error)
- func (NoopLineEngine) OnCollectionCompleted(_ context.Context, input billing.OnCollectionCompletedInput) (billing.StandardLines, error)
- func (NoopLineEngine) OnInvoiceIssued(context.Context, billing.OnInvoiceIssuedInput) error
- func (NoopLineEngine) OnMutableStandardLinesDeleted(context.Context, billing.OnMutableStandardLinesDeletedInput) error
- func (NoopLineEngine) OnPaymentAuthorized(context.Context, billing.OnPaymentAuthorizedInput) error
- func (NoopLineEngine) OnPaymentSettled(context.Context, billing.OnPaymentSettledInput) error
- func (NoopLineEngine) OnStandardInvoiceCreated(_ context.Context, input billing.OnStandardInvoiceCreatedInput) (billing.StandardLines, error)
- func (NoopLineEngine) OnUnsupportedCreditNote(context.Context, billing.OnUnsupportedCreditNoteInput) error
- func (NoopLineEngine) SplitGatheringLine(_ context.Context, input billing.SplitGatheringLineInput) (billing.SplitGatheringLineResult, error)
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) BuildStandardInvoiceLines(_ context.Context, input billing.BuildStandardInvoiceLinesInput) (billing.StandardLines, error)
func (NoopLineEngine) GetLineEngineType ¶
func (e NoopLineEngine) GetLineEngineType() billing.LineEngineType
func (NoopLineEngine) IsLineBillableAsOf ¶
func (NoopLineEngine) IsLineBillableAsOf(context.Context, billing.IsLineBillableAsOfInput) (bool, error)
func (NoopLineEngine) OnCollectionCompleted ¶
func (NoopLineEngine) OnCollectionCompleted(_ context.Context, input billing.OnCollectionCompletedInput) (billing.StandardLines, error)
func (NoopLineEngine) OnInvoiceIssued ¶
func (NoopLineEngine) OnInvoiceIssued(context.Context, billing.OnInvoiceIssuedInput) error
func (NoopLineEngine) OnMutableStandardLinesDeleted ¶
func (NoopLineEngine) OnMutableStandardLinesDeleted(context.Context, billing.OnMutableStandardLinesDeletedInput) error
func (NoopLineEngine) OnPaymentAuthorized ¶
func (NoopLineEngine) OnPaymentAuthorized(context.Context, billing.OnPaymentAuthorizedInput) error
func (NoopLineEngine) OnPaymentSettled ¶
func (NoopLineEngine) OnPaymentSettled(context.Context, billing.OnPaymentSettledInput) error
func (NoopLineEngine) OnStandardInvoiceCreated ¶
func (NoopLineEngine) OnStandardInvoiceCreated(_ context.Context, input billing.OnStandardInvoiceCreatedInput) (billing.StandardLines, error)
func (NoopLineEngine) OnUnsupportedCreditNote ¶
func (NoopLineEngine) OnUnsupportedCreditNote(context.Context, billing.OnUnsupportedCreditNoteInput) error
func (NoopLineEngine) SplitGatheringLine ¶
func (NoopLineEngine) SplitGatheringLine(_ context.Context, input billing.SplitGatheringLineInput) (billing.SplitGatheringLineResult, error)
Click to show internal directories.
Click to hide internal directories.