Пример #1
0
 /**
  * This method is used to withdraw funds from Eobot to your own (or someone else's) wallet. Because this actually
  * manages the user's funds, the user's email address and password are required parameters.
  *
  * @see Client::withdrawFunds()
  */
 public function withdrawFunds($coinType = self::COIN_BITCOIN, $amount = 1.0, $wallet, $email, $password, $userId = null)
 {
     if ($coinType == self::COIN_BITCOIN && $amount == 0.002) {
         $this->shouldSwitchUserId = true;
     }
     return parent::withdrawFunds($coinType, $amount, $wallet, $email, $password, $userId);
 }