Skip to main content

ShippingOptions

ShippingOptions

Signature
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

property

An array of available ShippingEligibilityCheckers for use in configuring ShippingMethods

shippingCalculators

property
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

property
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

property
v2.0.0
Array<FulfillmentProcess<any>>
default:
<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

property
Array<FulfillmentHandler<any>>

An array of available FulfillmentHandlers.