/**
  * Build data for contribution form with one_time action
  *
  * @param ClientAccount $clientAccount
  * @param AccountContribution $existContribution
  * @return OneTimeContribution
  */
 private function buildOneTimeContributionData(ClientAccount $clientAccount, AccountContribution $existContribution = null)
 {
     $data = new OneTimeContribution();
     $data->setSystemAccount($clientAccount->getSystemAccount());
     if ($existContribution) {
         $data->setBankInformation($existContribution->getBankInformation());
         if ($existContribution->isOneTimeContribution()) {
             $data->setContributionYear($existContribution->getContributionYear());
             $data->setStartTransferDate($existContribution->getStartTransferDate());
             $data->setAmount($existContribution->getAmount());
         }
     }
     return $data;
 }