public class ChargeProcessor extends java.lang.Object implements ChargeResultHandler
ChargeEventHandler
. Due to its stateful nature, its best
to NOT re-use instances of this class i.e. once process is invoked discard
the instance.
This implementation is to spec, please refer to the api doc for further
details.Constructor and Description |
---|
ChargeProcessor() |
Modifier and Type | Method and Description |
---|---|
void |
notifyResults(java.util.Collection<ChargeResult> results) |
void |
process() |
void |
setEventHandler(ChargeEventHandler eventHandler) |
public void setEventHandler(ChargeEventHandler eventHandler)
public void process()
public void notifyResults(java.util.Collection<ChargeResult> results)
notifyResults
in interface ChargeResultHandler