Braintree\TestingGateway::_doTestRequest PHP 메소드

_doTestRequest() 개인적인 메소드

private _doTestRequest ( $testPath, $transactionId )
    private function _doTestRequest($testPath, $transactionId)
    {
        self::_checkEnvironment();
        $path = $this->_config->merchantPath() . '/transactions/' . $transactionId . $testPath;
        $response = $this->_http->put($path);
        return Transaction::factory($response['transaction']);
    }