Skip to main content

CaUdc

The Unifaun Delivery Checkout widget

SASS-path: ./styles/components/molecules/ca-udc.scss

Props

NameDescriptionTypeRequiredDefault
shippingDataJSON string from the APIStringfalsenull
zipThe current zip code / postal codeStringtrue-
parentLoadingIf parent step is loadingBooleanfalsefalse
dataIsSetPass true if UDC data has been set in the checkoutBooleantruefalse

Events

Event NameDescriptionParameters
validationValidation has been madevalid (Boolean)
initInitiation is triggeredZip (String)
changedA change has been madeSelected option ID, pickup point, delivery data (Object)

Methods

MethodDescriptionParameters
initInitiate the widget-
updateUpdates the widget with new data-
disableDisables the widget-
enableEnables the widget and handles feedback-
changedThe callback function for when changes are made in the widget-

Computed

ComputedTypeDescriptionFrom Store
validBooleanIs all input valid?No