Skip to main content

DefaultActiveOrderStrategy

DefaultActiveOrderStrategy

The default ActiveOrderStrategy, which uses the current Session to determine the active Order, and requires no additional input in the Shop API since it is based on the session which is part of the RequestContext.

Signature
class DefaultActiveOrderStrategy implements ActiveOrderStrategy {
name: 'default-active-order-strategy';
init(injector: Injector) => ;
createActiveOrder(ctx: RequestContext) => ;
determineActiveOrder(ctx: RequestContext) => ;
}

name

property
'default-active-order-strategy'

init

method
(injector: Injector) =>

createActiveOrder

method
(ctx: RequestContext) =>

determineActiveOrder

method
(ctx: RequestContext) =>