public function updateBalance($client, $amount, $description, $gateway, $invoiceId = null)
    {
        return $this->api->updateBalance($this->getClientId($client), $amount, $description, $gateway, $invoiceId);
    }
public function updateBalance($client, $amount, $description, $gateway, $invoiceId = null)
    {
        return $this->api->updateBalance($this->getClientId($client), $amount, $description, $gateway, $invoiceId);
    }
public function updateBalance ( $ client , $ amount , $ description , $ gateway , $ invoiceId = null ) { return $ this -> api -> updateBalance ( $ this -> getClientId ( $ client ) , $ amount , $ description , $ gateway , $ invoiceId ) ; }
Apply a transaction to the balance of a client

@param Client|int|string $client An ID or email to identify the user
@param string $amount The amount to apply to the balance. This can be a positive or negative number.
@param string $description A description text of the payment.
@param string $gateway The name of the payment gateway (can be any text)
@param string $invoiceId An optional invoice to cover with this payment
@return bool
@throws YouHostingException
Apply a transaction to the balance of a client