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>>;
}

Members

shippingEligibilityCheckers

property
type:
Array<ShippingEligibilityChecker<any>>
An array of available ShippingEligibilityCheckers for use in configuring ShippingMethods

shippingCalculators

property
type:
Array<ShippingCalculator<any>>
An array of available ShippingCalculators for use in configuring ShippingMethods

shippingLineAssignmentStrategy

property
v2.0.0
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
type:
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
type:
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.

fulfillmentHandlers

property
type:
Array<FulfillmentHandler<any>>
An array of available FulfillmentHandlers.