OXID eShop CE  6.1.5
OxidEsales\EshopCommunity\Core\Exception\VoucherException Class Reference
+ Inheritance diagram for OxidEsales\EshopCommunity\Core\Exception\VoucherException:
+ Collaboration diagram for OxidEsales\EshopCommunity\Core\Exception\VoucherException:

Public Member Functions

 setVoucherNr ($sVoucherNr)
 
 getVoucherNr ()
 
 getString ()
 
 getValues ()
 

Protected Attributes

 $type = 'oxVoucherException'
 

Private Attributes

 $_sVoucherNr
 

Detailed Description

exception class covering voucher exceptions

Member Function Documentation

◆ getString()

OxidEsales\EshopCommunity\Core\Exception\VoucherException::getString ( )

Get string dump Overrides oxException::getString()

Returns
string

◆ getValues()

OxidEsales\EshopCommunity\Core\Exception\VoucherException::getValues ( )

Creates an array of field name => field value of the object. To make a easy conversion of exceptions to error messages possible. Should be extended when additional fields are used! Overrides oxException::getValues().

Returns
array

◆ getVoucherNr()

OxidEsales\EshopCommunity\Core\Exception\VoucherException::getVoucherNr ( )

get voucher nr. involved

Returns
string

◆ setVoucherNr()

OxidEsales\EshopCommunity\Core\Exception\VoucherException::setVoucherNr (   $sVoucherNr)

Sets the voucher number as a string

Parameters
string$sVoucherNrvoucher number

Member Data Documentation

◆ $_sVoucherNr

OxidEsales\EshopCommunity\Core\Exception\VoucherException::$_sVoucherNr
private

◆ $type

OxidEsales\EshopCommunity\Core\Exception\VoucherException::$type = 'oxVoucherException'
protected

The documentation for this class was generated from the following file: