Documentation ¶
Index ¶
- func NewCreatePriceComponentParams(priceComponentDto *coreDto.PriceComponentDto) db.CreatePriceComponentParams
- func NewCreatePriceComponentRoundingParams(priceComponentRoundingDto *coreDto.PriceComponentRoundingDto) db.CreatePriceComponentRoundingParams
- type PriceComponentResolver
- func (r *PriceComponentResolver) CreatePriceComponentDto(ctx context.Context, priceComponent db.PriceComponent) *coreDto.PriceComponentDto
- func (r *PriceComponentResolver) CreatePriceComponentListDto(ctx context.Context, priceComponents []db.PriceComponent) []*coreDto.PriceComponentDto
- func (r *PriceComponentResolver) CreatePriceComponentRoundingDto(ctx context.Context, priceComponentRounding db.PriceComponentRounding) *coreDto.PriceComponentRoundingDto
- func (r *PriceComponentResolver) CreatePriceComponents(ctx context.Context, elementID int64, tariff db.Tariff, ...)
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)
Click to show internal directories.
Click to hide internal directories.