pricecomponent

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCreatePriceComponentParams

func NewCreatePriceComponentParams(priceComponentDto *coreDto.PriceComponentDto) db.CreatePriceComponentParams

func NewCreatePriceComponentRoundingParams

func NewCreatePriceComponentRoundingParams(priceComponentRoundingDto *coreDto.PriceComponentRoundingDto) db.CreatePriceComponentRoundingParams

Types

type PriceComponentResolver

type PriceComponentResolver struct {
	Repository pricecomponent.PriceComponentRepository
}

func NewResolver

func NewResolver(repositoryService *db.RepositoryService) *PriceComponentResolver

func (*PriceComponentResolver) CreatePriceComponentDto

func (r *PriceComponentResolver) CreatePriceComponentDto(ctx context.Context, priceComponent db.PriceComponent) *coreDto.PriceComponentDto

func (*PriceComponentResolver) CreatePriceComponentListDto

func (r *PriceComponentResolver) CreatePriceComponentListDto(ctx context.Context, priceComponents []db.PriceComponent) []*coreDto.PriceComponentDto

func (*PriceComponentResolver) CreatePriceComponentRoundingDto

func (r *PriceComponentResolver) CreatePriceComponentRoundingDto(ctx context.Context, priceComponentRounding db.PriceComponentRounding) *coreDto.PriceComponentRoundingDto

func (*PriceComponentResolver) CreatePriceComponents

func (r *PriceComponentResolver) CreatePriceComponents(ctx context.Context, elementID int64, tariff db.Tariff, priceComponentsDto []*coreDto.PriceComponentDto)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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