OXID eShop CE  4.9.11
 All Classes Files Functions Variables Pages
oxvoucherexception.php
Go to the documentation of this file.
1 <?php
2 
7 {
8 
14  private $_sVoucherNr;
15 
21  public function setVoucherNr($sVoucherNr)
22  {
23  $this->_sVoucherNr = ( string ) $sVoucherNr;
24  }
25 
31  public function getVoucherNr()
32  {
33  return $this->_sVoucherNr;
34  }
35 
42  public function getString()
43  {
44  return __CLASS__ . '-' . parent::getString() . " Faulty Voucher Nr --> " . $this->_sVoucherNr;
45  }
46 
55  public function getValues()
56  {
57  $aRes = parent::getValues();
58  $aRes['voucherNr'] = $this->getVoucherNr();
59 
60  return $aRes;
61  }
62 }