Class: Events::DeliveryLabelComplete
- Inherits:
-
ApplicationEvent
- Object
- RubyEventStore::Event
- ApplicationEvent
- Events::DeliveryLabelComplete
- Defined in:
- app/events/events.rb
Overview
Domain event emitted when a Delivery transitions out of
pending_ship_labels into a completed-labeling state
(pending_ship_confirm, pending_carrier_confirm,
pending_manifest_completion, or return_labels_complete) with
shipment contents present. The async handler re-runs
DeliveryMd5Extractor so the Packing row captures per-box
packdim_contents that weren't yet known at
DeliveryReadyForLabeling time (especially for Amazon Buy Shipping,
where shipment contents are only assigned after labels are purchased).
Payload: data: { delivery_id: Integer }