PaylineCashOutCommand
extends ContainerAwareCommand
in package
uses
LockableTrait
The PaylineCashOutCommand class is responsible for handling the cash-out process by distributing funds from an escrow account to configured accounts. It ensures that the process does not run concurrently by utilizing a locking mechanism.
This command interacts with the EzynessEscrowService to perform the distribution of the escrow balance. Detailed logs are output during the execution to provide feedback about the status of the operation.
The command includes exception handling to capture and report errors, ensuring that any failures during the cash-out process are properly logged.
Table of Contents
Properties
- $escrowService : mixed
Methods
- __construct() : mixed
- configure() : mixed
- execute() : mixed
Properties
$escrowService
private
mixed
$escrowService
Methods
__construct()
public
__construct(EzynessEscrowService $escrowService) : mixed
Parameters
- $escrowService : EzynessEscrowService
configure()
protected
configure() : mixed
execute()
protected
execute(InputInterface $input, OutputInterface $output) : mixed
Parameters
- $input : InputInterface
- $output : OutputInterface