src/Client.php
public function createAccountBuy(Account $account, Buy $buy, array $params = [])
    {
        $data = $this->mapper->fromBuy($buy);
        $this->postAndMap($account->getResourcePath().'/buys', $data + $params, 'toBuy', $buy);
    }
public function createAccountBuy(Account $account, Buy $buy, array $params = [])
    {
        $data = $this->mapper->fromBuy($buy);
        $this->postAndMap($account->getResourcePath().'/buys', $data + $params, 'toBuy', $buy);
    }
public function createAccountBuy ( Account $ account , Buy $ buy , array $ params = [ ] ) { $ data = $ this -> mapper -> fromBuy ( $ buy ) ; $ this -> postAndMap ( $ account -> getResourcePath ( ) . '/buys' , $ data + $ params , 'toBuy' , $ buy ) ; }
Buys some amount of bitcoin.

Supported parameters include:

* agree_btc_amount_varies (Boolean)
* commit (Boolean)
* quote (Boolean)
Buys some amount of bitcoin .