TransactionalProcessorLibraryInterface
interface TransactionalProcessorLibraryInterface implements ProcessorLibraryInterface (View source)
{@inheritDoc}
A Transactional Processor Library
provides API similar to Processor Library
entity
as it inherit from the processor library contract. It adds a requestOTP
method that
make request to send OTP to transactor using the implementation of their choice
Methods
Creates an instance of {ProcessTransactionResultInterface} from processor response
Process a transaction object using the processor implementation
Request of an OTP used by client to process a transaction.
Details
ProcessTransactionResultInterface
toProcessTransactionResult(array|object $response)
Creates an instance of {ProcessTransactionResultInterface} from processor response
bool
processTransaction(TransactionPaymentInterface $transaction)
Process a transaction object using the processor implementation
bool
requestOTP(string $payeerid)
Request of an OTP used by client to process a transaction.
It returns a boolean value indicating the successful state of the request