Documentation
¶
Index ¶
- type ServiceFeeController
- type ServiceFeeControllerImpl
- func (impl *ServiceFeeControllerImpl) ArchiveByID(ctx context.Context, id primitive.ObjectID) (*servicefee_s.ServiceFee, error)
- func (impl *ServiceFeeControllerImpl) Create(ctx context.Context, requestData *ServiceFeeCreateRequestIDO) (*servicefee_s.ServiceFee, error)
- func (impl *ServiceFeeControllerImpl) DeleteByID(ctx context.Context, id primitive.ObjectID) error
- func (c *ServiceFeeControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*servicefee_s.ServiceFee, error)
- func (c *ServiceFeeControllerImpl) ListAndCountByFilter(ctx context.Context, f *t_s.ServiceFeePaginationListFilter) (*t_s.ServiceFeePaginationListAndCountResult, error)
- func (c *ServiceFeeControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, f *servicefee_s.ServiceFeePaginationListFilter) ([]*servicefee_s.ServiceFeeAsSelectOption, error)
- func (impl *ServiceFeeControllerImpl) UpdateByID(ctx context.Context, requestData *ServiceFeeUpdateRequestIDO) (*servicefee_s.ServiceFee, error)
- type ServiceFeeCreateRequestIDO
- type ServiceFeeUpdateRequestIDO
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ServiceFeeController ¶
type ServiceFeeController interface { Create(ctx context.Context, requestData *ServiceFeeCreateRequestIDO) (*servicefee_s.ServiceFee, error) GetByID(ctx context.Context, id primitive.ObjectID) (*servicefee_s.ServiceFee, error) UpdateByID(ctx context.Context, nu *ServiceFeeUpdateRequestIDO) (*servicefee_s.ServiceFee, error) ListAndCountByFilter(ctx context.Context, f *t_s.ServiceFeePaginationListFilter) (*t_s.ServiceFeePaginationListAndCountResult, error) ListAsSelectOptionByFilter(ctx context.Context, f *servicefee_s.ServiceFeePaginationListFilter) ([]*servicefee_s.ServiceFeeAsSelectOption, error) ArchiveByID(ctx context.Context, id primitive.ObjectID) (*servicefee_s.ServiceFee, error) DeleteByID(ctx context.Context, id primitive.ObjectID) error }
ServiceFeeController Interface for servicefee business logic controller.
func NewController ¶
func NewController( appCfg *config.Conf, loggerp *slog.Logger, uuidp uuid.Provider, s3 s3_storage.S3Storager, kmux kmutex.Provider, passwordp password.Provider, temailer templatedemailer.TemplatedEmailer, client *mongo.Client, usr_storer user_s.UserStorer, o_storer o_s.OrderStorer, ti_storer ti_s.TaskItemStorer, servicefee_s servicefee_s.ServiceFeeStorer, ) ServiceFeeController
type ServiceFeeControllerImpl ¶
type ServiceFeeControllerImpl struct { Config *config.Conf Logger *slog.Logger UUID uuid.Provider S3 s3_storage.S3Storager Password password.Provider Kmutex kmutex.Provider DbClient *mongo.Client UserStorer user_s.UserStorer ServiceFeeStorer servicefee_s.ServiceFeeStorer OrderStorer o_s.OrderStorer TaskItemStorer ti_s.TaskItemStorer TemplatedEmailer templatedemailer.TemplatedEmailer }
func (*ServiceFeeControllerImpl) ArchiveByID ¶
func (impl *ServiceFeeControllerImpl) ArchiveByID(ctx context.Context, id primitive.ObjectID) (*servicefee_s.ServiceFee, error)
func (*ServiceFeeControllerImpl) Create ¶
func (impl *ServiceFeeControllerImpl) Create(ctx context.Context, requestData *ServiceFeeCreateRequestIDO) (*servicefee_s.ServiceFee, error)
func (*ServiceFeeControllerImpl) DeleteByID ¶
func (*ServiceFeeControllerImpl) GetByID ¶
func (c *ServiceFeeControllerImpl) GetByID(ctx context.Context, id primitive.ObjectID) (*servicefee_s.ServiceFee, error)
func (*ServiceFeeControllerImpl) ListAndCountByFilter ¶
func (c *ServiceFeeControllerImpl) ListAndCountByFilter(ctx context.Context, f *t_s.ServiceFeePaginationListFilter) (*t_s.ServiceFeePaginationListAndCountResult, error)
func (*ServiceFeeControllerImpl) ListAsSelectOptionByFilter ¶
func (c *ServiceFeeControllerImpl) ListAsSelectOptionByFilter(ctx context.Context, f *servicefee_s.ServiceFeePaginationListFilter) ([]*servicefee_s.ServiceFeeAsSelectOption, error)
func (*ServiceFeeControllerImpl) UpdateByID ¶
func (impl *ServiceFeeControllerImpl) UpdateByID(ctx context.Context, requestData *ServiceFeeUpdateRequestIDO) (*servicefee_s.ServiceFee, error)
Click to show internal directories.
Click to hide internal directories.