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