/**
  * @author WN
  * @param InstallationEntity $installationEntity
  * @param Installation $installation
  */
 private function mapInstallation(InstallationEntity $installationEntity, Installation $installation)
 {
     $installation->ext_name = $installationEntity->getName();
     $installation->ext_return_url = $installationEntity->getReturnUrl();
     $installation->ext_notification_url = $installationEntity->getNotificationUrl();
     $installation->ext_default_product = $installationEntity->getDefaultProduct();
 }
 /**
  * @param string $id
  * @param string $token
  * @return InstallationEntity
  * @throws SdkException
  */
 public function getInstallation($id, $token)
 {
     return InstallationEntity::make($this->fetchDocument('/v4/installations/' . $id, $token, 'Installation'));
 }