PayJunctionException Class Reference
An exception used by the
PayJunction class.
More...
Detailed Description
The
PayJunction class throws this exception whenever an invalid parameter is detected.
Each time a function is called, parameters are checked for validity. If a parameter is not sensical in any way (a negative amount to charge or credit on a card, for instance,) then this exception is thrown.
The exception is also thrown whenever two functions that are exclusive are called. For instance, the PayJunction::set_settle() and PayJunction::set_posture() functions cannot both be called since they both define the type of transaction to be used by PayJunction::process().
Finally, whenever you call PayJunction::verify() or PayJunction::process() the functions check whether all the necessary were defined, and just in case that no parameter that does not correspond to that specific transaction was defined.
PayJunctionException is an extension of the PHP Exception class.
The class is otherwise empty.
The documentation for this class was generated from the following file:
Generated on Mon Mar 24 00:32:06 2008 for PHP Pay Junction by
1.4.7