fixedcost

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 15, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Input

type Input interface {
	vat.Input
	GetFixedCost() float64
}

type SequentialPlan

type SequentialPlan struct {
	Input

	vat.VATAmount
	// contains filtered or unexported fields
}

func NewPlan

func NewPlan(in Input) *SequentialPlan

func (*SequentialPlan) Execute

func (p *SequentialPlan) Execute(ctx context.Context) error

func (*SequentialPlan) GetTotalCost

func (p *SequentialPlan) GetTotalCost() float64

func (*SequentialPlan) IsSequentialCTEPlan

func (p *SequentialPlan) IsSequentialCTEPlan() bool

func (*SequentialPlan) SetTotalCost

func (p *SequentialPlan) SetTotalCost(totalCost float64)

Jump to

Keyboard shortcuts

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