public function getCode();
/** * {@inheritdoc} */ public function setDeliveryMethod(ServiceDeliveryInterface $method = null) { $this->deliveryMethod = $method; $this->deliveryMethodCode = $method ? $method->getCode() : null; }