public function getLabel()
    {
        /** @var DeliveryFieldsService $deliveryFieldsService */
        $deliveryFieldsService = ServiceManager::getServiceManager()->get(DeliveryFieldsService::SERVICE_ID);
        $delivery = $this->getResource($this->getDeliveryId());
        $label = $deliveryFieldsService->getLabel(
            $delivery,
            $this->label
        );
        return $label;
    }
public function getLabel()
    {
        /** @var DeliveryFieldsService $deliveryFieldsService */
        $deliveryFieldsService = ServiceManager::getServiceManager()->get(DeliveryFieldsService::SERVICE_ID);
        $delivery = $this->getResource($this->getDeliveryId());
        $label = $deliveryFieldsService->getLabel(
            $delivery,
            $this->label
        );
        return $label;
    }
public function getLabel ( ) { /** @var DeliveryFieldsService $deliveryFieldsService */ $ deliveryFieldsService = ServiceManager :: getServiceManager ( ) -> get ( DeliveryFieldsService :: SERVICE_ID ) ; $ delivery = $ this -> getResource ( $ this -> getDeliveryId ( ) ) ; $ label = $ deliveryFieldsService -> getLabel ( $ delivery , $ this -> label ) ; return $ label ; }
Returns the label of the asignment, which will often correspond
to the label of the delivery

@return string
Returns the label of the asignment which will often correspond to the label of the delivery