public static function createClient($apiKey, $apiPassword, $endpoint = ClientContract::MODE_SANDBOX, $logger = null)
    {
        return new Client($apiKey, $apiPassword, $endpoint, $logger);
    }
public static function createClient($apiKey, $apiPassword, $endpoint = ClientContract::MODE_SANDBOX, $logger = null)
    {
        return new Client($apiKey, $apiPassword, $endpoint, $logger);
    }
public static function createClient ( $ apiKey , $ apiPassword , $ endpoint = ClientContract :: MODE_SANDBOX , $ logger = null ) { return new Client ( $ apiKey , $ apiPassword , $ endpoint , $ logger ) ; }
Static method to create a new Rapid Client object configured to communicate with a specific instance of the
Rapid API.

@param string $apiKey eWAY Rapid API key
@param string $apiPassword eWAY Rapid API password
@param string $endpoint  eWAY Rapid API endpoint - one of 'Sandbox' or 'Production'
@param Psr\Log\LoggerInterface $logger PSR-3 logger

@return ClientContract an eWAY Rapid Client
Static method to create a new Rapid Client object configured to communicate with a specific instance of the Rapid API .