TaxCategoryService
TaxCategoryService
Contains methods relating to TaxCategory entities.
Signature
class TaxCategoryService {
constructor(connection: TransactionalConnection, eventBus: EventBus, listQueryBuilder: ListQueryBuilder)
findAll(ctx: RequestContext, options?: ListQueryOptions<TaxCategory>) => Promise<PaginatedList<TaxCategory>>;
findOne(ctx: RequestContext, taxCategoryId: ID) => Promise<TaxCategory | undefined>;
create(ctx: RequestContext, input: CreateTaxCategoryInput) => Promise<TaxCategory>;
update(ctx: RequestContext, input: UpdateTaxCategoryInput) => Promise<TaxCategory>;
delete(ctx: RequestContext, id: ID) => Promise<DeletionResponse>;
}
constructor
method
(connection: TransactionalConnection, eventBus: EventBus, listQueryBuilder: ListQueryBuilder) => TaxCategoryService
findAll
method
(ctx: RequestContext, options?: ListQueryOptions<TaxCategory>) => Promise<PaginatedList<TaxCategory>>
findOne
method
(ctx: RequestContext, taxCategoryId: ID) => Promise<TaxCategory | undefined>
create
method
(ctx: RequestContext, input: CreateTaxCategoryInput) => Promise<TaxCategory>
update
method
(ctx: RequestContext, input: UpdateTaxCategoryInput) => Promise<TaxCategory>
delete
method
(ctx: RequestContext, id: ID) => Promise<DeletionResponse>