private function registerBonus($saleId, $custId, $amount, $fee, $state)
    {
        $entity = new ERegistry();
        $entity->setSaleRef($saleId);
        $entity->setUplineRef($custId);
        $entity->setAmountTotal($amount);
        $entity->setAmountFee($fee);
        $entity->setState($state);
        $this->daoReg->create($entity);
    }
private function registerBonus($saleId, $custId, $amount, $fee, $state)
    {
        $entity = new ERegistry();
        $entity->setSaleRef($saleId);
        $entity->setUplineRef($custId);
        $entity->setAmountTotal($amount);
        $entity->setAmountFee($fee);
        $entity->setState($state);
        $this->daoReg->create($entity);
    }
private function registerBonus ( $ saleId , $ custId , $ amount , $ fee , $ state ) { $ entity = new ERegistry ( ) ; $ entity -> setSaleRef ( $ saleId ) ; $ entity -> setUplineRef ( $ custId ) ; $ entity -> setAmountTotal ( $ amount ) ; $ entity -> setAmountFee ( $ fee ) ; $ entity -> setState ( $ state ) ; $ this -> daoReg -> create ( $ entity ) ; }
Save new bonus entry in DB.

@param int $saleId
@param int $custId
@param float $amount
@param float $fee
@param string $state
Save new bonus entry in DB .