Class LabelEndpoint


  • @FrameworkRestController
    @FrameworkMapping("/label")
    @DataRouteByKey("shipping")
    public class LabelEndpoint
    extends Object
    • Method Detail

      • labelStatus

        @Policy(permissionRoots="SHIPPING_LABEL",
                operationTypes=READ)
        @FrameworkPostMapping("/status")
        public ShipmentStatus labelStatus​(@ContextOperation
                                          com.broadleafcommerce.data.tracking.core.context.ContextInfo context,
                                          @RequestBody
                                          com.broadleafcommerce.order.client.domain.OrderFulfillment orderFulfillment)
      • purchaseLabel

        @Policy(permissionRoots="SHIPPING_LABEL",
                operationTypes=CREATE)
        @FrameworkPostMapping("/purchase")
        public ShippingLabelDownload purchaseLabel​(@ContextOperation(CREATE)
                                                   com.broadleafcommerce.data.tracking.core.context.ContextInfo context,
                                                   @RequestBody
                                                   com.broadleafcommerce.order.client.domain.OrderFulfillment orderFulfillment)
                                            throws LabelException
        Throws:
        LabelException
      • reprintLabel

        @Policy(permissionRoots="SHIPPING_LABEL",
                operationTypes=READ)
        @FrameworkPostMapping("/reprint")
        public ShippingLabelDownload reprintLabel​(@ContextOperation
                                                  com.broadleafcommerce.data.tracking.core.context.ContextInfo context,
                                                  @RequestBody
                                                  com.broadleafcommerce.order.client.domain.OrderFulfillment orderFulfillment)
                                           throws LabelException
        Throws:
        LabelException