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) => ;
}
- Implements:
ActiveOrderStrategy
name
property
'default-active-order-strategy'
init
method
(injector: Injector) =>
createActiveOrder
method
(ctx: RequestContext) =>
determineActiveOrder
method
(ctx: RequestContext) =>