ShippingOptions
ShippingOptions
interface ShippingOptions {
shippingEligibilityCheckers?: Array<ShippingEligibilityChecker<any>>;
shippingCalculators?: Array<ShippingCalculator<any>>;
shippingLineAssignmentStrategy?: ShippingLineAssignmentStrategy;
customFulfillmentProcess?: Array<FulfillmentProcess<any>>;
process?: Array<FulfillmentProcess<any>>;
fulfillmentHandlers?: Array<FulfillmentHandler<any>>;
}
shippingEligibilityCheckers
Array<ShippingEligibilityChecker<any>>
An array of available ShippingEligibilityCheckers for use in configuring ShippingMethods
shippingCalculators
Array<ShippingCalculator<any>>
An array of available ShippingCalculators for use in configuring ShippingMethods
shippingLineAssignmentStrategy
This strategy is used to assign a given ShippingLine to one or more OrderLines of the Order. This allows you to set multiple shipping methods for a single order, each assigned a different subset of OrderLines.
customFulfillmentProcess
Array<FulfillmentProcess<any>>
Allows the definition of custom states and transition logic for the fulfillment process state machine. Takes an array of objects implementing the FulfillmentProcess interface.
process
Array<FulfillmentProcess<any>>
<a href='/reference/typescript-api/fulfillment/fulfillment-process#defaultfulfillmentprocess'>defaultFulfillmentProcess</a>
Allows the definition of custom states and transition logic for the fulfillment process state machine. Takes an array of objects implementing the FulfillmentProcess interface.
fulfillmentHandlers
Array<FulfillmentHandler<any>>
An array of available FulfillmentHandlers.