public function coverInvoice($client, $invoiceId = null)
    {
        return $this->api->coverInvoice($this->getClientId($client), $invoiceId);
    }
public function coverInvoice($client, $invoiceId = null)
    {
        return $this->api->coverInvoice($this->getClientId($client), $invoiceId);
    }
public function coverInvoice ( $ client , $ invoiceId = null ) { return $ this -> api -> coverInvoice ( $ this -> getClientId ( $ client ) , $ invoiceId ) ; }
Cover invoices of the client using the account balance

@param Client|int|string $client An ID or email to identify the user
@param string $invoiceId Optional. If this is not provided, all invoices will be covered.
@return bool
@throws YouHostingException
Cover invoices of the client using the account balance