source/Application/Model/VoucherSerie.php
public function getVoucherList()
    {
        $oVoucherList = oxNew(\OxidEsales\Eshop\Application\Model\VoucherList::class);
        $sSelect = 'select * from oxvouchers where oxvoucherserieid = ' . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($this->getId());
        $oVoucherList->selectString($sSelect);

        return $oVoucherList;
    }
public function getVoucherList()
    {
        $oVoucherList = oxNew(\OxidEsales\Eshop\Application\Model\VoucherList::class);
        $sSelect = 'select * from oxvouchers where oxvoucherserieid = ' . \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quote($this->getId());
        $oVoucherList->selectString($sSelect);

        return $oVoucherList;
    }
public function getVoucherList ( ) { $ oVoucherList = oxNew ( \ OxidEsales \ Eshop \ Application \ Model \ VoucherList :: class ) ; $ sSelect = 'select * from oxvouchers where oxvoucherserieid = ' . \ OxidEsales \ Eshop \ Core \ DatabaseProvider :: getDb ( ) -> quote ( $ this -> getId ( ) ) ; $ oVoucherList -> selectString ( $ sSelect ) ; return $ oVoucherList ; }
Returns array of a vouchers assigned to this serie.

@return array
Returns array of a vouchers assigned to this serie .