Skip to main content

Class: OrderEditItemChangeService

Hierarchy

  • Copy to Clipboard

    Copy to Clipboard

Constructors

constructor

new OrderEditItemChangeService(

Copy to Clipboard
)

Parameters

NameType
Copy to Clipboard
Copy to Clipboard

Overrides

TransactionBaseService.constructor

Defined in

packages/medusa/src/services/order-edit-item-change.ts:34

Properties

__configModule__

Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
__configModule__:
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
>

Inherited from

TransactionBaseService.__configModule__

Defined in

packages/medusa/src/interfaces/transaction-base-service.ts:10


__container__

Copy to Clipboard
Copy to Clipboard
__container__:
Copy to Clipboard

Inherited from

TransactionBaseService.__container__

Defined in

packages/medusa/src/interfaces/transaction-base-service.ts:9


eventBus_

Copy to Clipboard
Copy to Clipboard
eventBus_:
Copy to Clipboard

Defined in

packages/medusa/src/services/order-edit-item-change.ts:30


lineItemService_

Copy to Clipboard
Copy to Clipboard
lineItemService_:
Copy to Clipboard

Defined in

packages/medusa/src/services/order-edit-item-change.ts:31


manager_

Copy to Clipboard
manager_:
Copy to Clipboard

Overrides

TransactionBaseService.manager_

Defined in

packages/medusa/src/services/order-edit-item-change.ts:26


orderItemChangeRepository_

Copy to Clipboard
Copy to Clipboard
orderItemChangeRepository_: typeof
Copy to Clipboard

Defined in

packages/medusa/src/services/order-edit-item-change.ts:29


taxProviderService_

Copy to Clipboard
Copy to Clipboard
taxProviderService_:
Copy to Clipboard

Defined in

packages/medusa/src/services/order-edit-item-change.ts:32


transactionManager_

Copy to Clipboard
transactionManager_:
Copy to Clipboard
|
Copy to Clipboard

Overrides

TransactionBaseService.transactionManager_

Defined in

packages/medusa/src/services/order-edit-item-change.ts:27


Events

Copy to Clipboard
Copy to Clipboard
Events:
Copy to Clipboard

Type declaration

NameType
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard

Defined in

packages/medusa/src/services/order-edit-item-change.ts:21

Methods

atomicPhase_

Copy to Clipboard
atomicPhase_<
Copy to Clipboard
,
Copy to Clipboard
>(
Copy to Clipboard
,
Copy to Clipboard
,
Copy to Clipboard
):
Copy to Clipboard
<
Copy to Clipboard
>

Wraps some work within a transactional block. If the service already has a transaction manager attached this will be reused, otherwise a new transaction manager is created.

Type parameters

Name
Copy to Clipboard
Copy to Clipboard

Parameters

NameTypeDescription
Copy to Clipboard
(
Copy to Clipboard
:
Copy to Clipboard
) =>
Copy to Clipboard
<
Copy to Clipboard
>
the transactional work to be done
Copy to Clipboard
Copy to Clipboard
| (
Copy to Clipboard
:
Copy to Clipboard
) =>
Copy to Clipboard
<
Copy to Clipboard
|
Copy to Clipboard
>
the isolation level to be used for the work.
Copy to Clipboard
(
Copy to Clipboard
:
Copy to Clipboard
) =>
Copy to Clipboard
<
Copy to Clipboard
|
Copy to Clipboard
>
Potential error handler

Returns

Copy to Clipboard
<
Copy to Clipboard
>

the result of the transactional work

Inherited from

TransactionBaseService.atomicPhase_

Defined in

packages/medusa/src/interfaces/transaction-base-service.ts:50


create

create(

Copy to Clipboard
):
Copy to Clipboard
<
Copy to Clipboard
>

Parameters

NameType
Copy to Clipboard
Copy to Clipboard

Returns

Copy to Clipboard
<
Copy to Clipboard
>

Defined in

packages/medusa/src/services/order-edit-item-change.ts:86


delete

delete(

Copy to Clipboard
):
Copy to Clipboard
<
Copy to Clipboard
>

Parameters

NameType
Copy to Clipboard
Copy to Clipboard
|
Copy to Clipboard
[]

Returns

Copy to Clipboard
<
Copy to Clipboard
>

Defined in

packages/medusa/src/services/order-edit-item-change.ts:102


list

list(

Copy to Clipboard
,
Copy to Clipboard
):
Copy to Clipboard
<
Copy to Clipboard
[]>

Parameters

NameType
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
>
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
>

Returns

Copy to Clipboard
<
Copy to Clipboard
[]>

Defined in

packages/medusa/src/services/order-edit-item-change.ts:73


retrieve

retrieve(

Copy to Clipboard
,
Copy to Clipboard
):
Copy to Clipboard
<
Copy to Clipboard
>

Parameters

NameType
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
>

Returns

Copy to Clipboard
<
Copy to Clipboard
>

Defined in

packages/medusa/src/services/order-edit-item-change.ts:51


shouldRetryTransaction_

Copy to Clipboard
shouldRetryTransaction_(
Copy to Clipboard
):
Copy to Clipboard

Parameters

NameType
Copy to Clipboard
Copy to Clipboard
<
Copy to Clipboard
,
Copy to Clipboard
> | {
Copy to Clipboard
:
Copy to Clipboard
}

Returns

Copy to Clipboard

Inherited from

TransactionBaseService.shouldRetryTransaction_

Defined in

packages/medusa/src/interfaces/transaction-base-service.ts:31


withTransaction

withTransaction(

Copy to Clipboard
):
Copy to Clipboard

Parameters

NameType
Copy to Clipboard
Copy to Clipboard

Returns

Inherited from

TransactionBaseService.withTransaction

Defined in

packages/medusa/src/interfaces/transaction-base-service.ts:13