コード例 #1
0
 public function testFactorySetsNextUpdateTimestamp()
 {
     $this->assert($this->address->getNextUpdateTimestamp(), equals, new DateTime('2014-05-05T09:45:22.4032405Z'));
 }
コード例 #2
0
 /**
  * Retrieves the Bitcoin address which should be used for new Bitcoin deposits.
  * @return BitcoinDepositAddress
  */
 public function getBitcoinDepositAddress()
 {
     $result = json_decode($this->getPrivateEndpoint('GetBitcoinDepositAddress'));
     return BitcoinDepositAddress::createFromObject($result);
 }