code: public function setRecipient($recipientId)
      {
          $recipient = new Recipient();
  
          $recipient->setId($recipientId);
  
          $this->recipient = $recipient;
      }
docs: Set recipient
  
  @param int $recipientId Recipient id