factories

package
v0.22.10 Latest Latest
Warning

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

Go to latest
Published: Apr 20, 2022 License: Unlicense Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const (
	MIN_VERSION int16 = 2010
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IBundleBuilder

type IBundleBuilder interface {
	GetBundle(period types.IPeriod) (IBundleProps, bool)
}

func NewBundleBuilder

func NewBundleBuilder() IBundleBuilder

type IBundleProps

type IBundleProps interface {
	GetPeriodProps() types.IPeriod

	GetSalaryProps() props.IPropsSalary
	GetHealthProps() props.IPropsHealth
	GetSocialProps() props.IPropsSocial
	GetTaxingProps() props.IPropsTaxing
}

func EmptyBundleProps

func EmptyBundleProps(period types.IPeriod) IBundleProps

func NewBundleProps

func NewBundleProps(period types.IPeriod,
	bundleSalary props.IPropsSalary,
	bundleHealth props.IPropsHealth,
	bundleSocial props.IPropsSocial,
	bundleTaxing props.IPropsTaxing) IBundleProps

type IFactoryHealth

type IFactoryHealth interface {
	DefaultProvider() providers.IProviderHealth
	EmptyPeriodProps() props.IPropsHealth

	GetProps(period types.IPeriod) (props.IPropsHealth, bool)
}

func NewFactoryHealth

func NewFactoryHealth() IFactoryHealth

type IFactorySalary

type IFactorySalary interface {
	DefaultProvider() providers.IProviderSalary
	EmptyPeriodProps() props.IPropsSalary

	GetProps(period types.IPeriod) (props.IPropsSalary, bool)
}

func NewFactorySalary

func NewFactorySalary() IFactorySalary

type IFactorySocial

type IFactorySocial interface {
	DefaultProvider() providers.IProviderSocial
	EmptyPeriodProps() props.IPropsSocial

	GetProps(period types.IPeriod) (props.IPropsSocial, bool)
}

func NewFactorySocial

func NewFactorySocial() IFactorySocial

type IFactoryTaxing

type IFactoryTaxing interface {
	DefaultProvider() providers.IProviderTaxing
	EmptyPeriodProps() props.IPropsTaxing

	GetProps(period types.IPeriod) (props.IPropsTaxing, bool)
}

func NewFactoryTaxing

func NewFactoryTaxing() IFactoryTaxing

Jump to

Keyboard shortcuts

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