ProcessorInterface
interface ProcessorInterface (View source)
A Processor
or Transaction Processor
is an entity that handles a transaction
on the behalf of the gateway platform.
Methods
Returns the unique id of the processor
Returns the unique processor name
True if the procesor is active or not
Returns the payment process type of the processor. Payment process type can be a PUSH, TRANSACTIONAL payment process type
Based analysis phases processor supports 2 types of transaction.
Details
string|int
getId()
Returns the unique id of the processor
string
getName()
Returns the unique processor name
bool
isActivated()
True if the procesor is active or not
string|int
getPaymentProcessType()
Returns the payment process type of the processor. Payment process type can be a PUSH, TRANSACTIONAL payment process type
bool
isTransactional()
Based analysis phases processor supports 2 types of transaction.
PUSH Txn: PUSH
type of transaction depends on user interacting with a
push receiver device to validate transaction. For such transactions
user are only required to provide an identifier to process transaction
TRANSACTIONAL Txn: TRANSACTIONAL
type of transaction on the other hand is handled
in 2 or more step. User provide platform with processor identifier
to request for a transaction validation code, which is used to confirm
the started transaction. The name of this type of transaction comes from
the more than one step involve in processing a transaction.