SFRA Server-side Javascript - Class: ShippingModel menu

SFRA / Server-side JS / Class: ShippingModel

ShippingModel

Model that represents shipping information

Constructor

new ShippingModel(shipment, address, customer, containerView)

Parameters:
Name Type Description
shipment dw.order.Shipment

the default shipment of the current basket

address Object

the address to use to filter the shipping method list

customer Object

the current customer model

containerView string

the view of the product line items (order or basket)

Source: