Bazaar.Fulfillment (Bazaar v0.3.0)

Copy Markdown View Source

Fulfillment capability helpers: the method and destination types UCP defines, and the default business and platform configuration a handler advertises.

The request and response shapes themselves come from the generated Bazaar.Schemas.Shopping.Fulfillment* modules. During checkout the platform sends methods with destinations, the business answers with options and pricing under fulfillment.methods[].groups[].options[], and the selected option flows into the order's fulfillment expectations (see Bazaar.Order.from_checkout/3).

Summary

Functions

The default business fulfillment configuration, advertised on the fulfillment capability: no multi-destination methods and no method combinations.

The default platform fulfillment configuration.

The destination types.

The fulfillment method types.

Functions

default_merchant_config()

The default business fulfillment configuration, advertised on the fulfillment capability: no multi-destination methods and no method combinations.

default_platform_config()

The default platform fulfillment configuration.

destination_types()

The destination types.

method_types()

The fulfillment method types.