ShippingMethodService
Contains methods relating to ShippingMethod entities.
constructor
method
(connection: TransactionalConnection, configService: ConfigService, roleService: RoleService, listQueryBuilder: ListQueryBuilder, channelService: ChannelService, configArgService: ConfigArgService, translatableSaver: TranslatableSaver, customFieldRelationService: CustomFieldRelationService, eventBus: EventBus, translator: TranslatorService) => ShippingMethodServicefindAll
method
(ctx: RequestContext, options?: ListQueryOptions<ShippingMethod>, relations: RelationPaths<ShippingMethod> = []) => Promise<PaginatedList<Translated<ShippingMethod>>>findOne
method
(ctx: RequestContext, shippingMethodId: ID, includeDeleted: = false, relations: RelationPaths<ShippingMethod> = []) => Promise<Translated<ShippingMethod> | undefined>create
method
(ctx: RequestContext, input: CreateShippingMethodInput) => Promise<Translated<ShippingMethod>>update
method
(ctx: RequestContext, input: UpdateShippingMethodInput) => Promise<Translated<ShippingMethod>>softDelete
method
(ctx: RequestContext, id: ID) => Promise<DeletionResponse>assignShippingMethodsToChannel
method
(ctx: RequestContext, input: AssignShippingMethodsToChannelInput) => Promise<Array<Translated<ShippingMethod>>>removeShippingMethodsFromChannel
method
(ctx: RequestContext, input: RemoveShippingMethodsFromChannelInput) => Promise<Array<Translated<ShippingMethod>>>getShippingEligibilityCheckers
method
(ctx: RequestContext) => ConfigurableOperationDefinition[]getShippingCalculators
method
(ctx: RequestContext) => ConfigurableOperationDefinition[]getFulfillmentHandlers
method
(ctx: RequestContext) => ConfigurableOperationDefinition[]getActiveShippingMethods
method
(ctx: RequestContext) => Promise<ShippingMethod[]>Was this chapter helpful?