Braintree\AddressGateway::_doCreate PHP Method

_doCreate() private method

sends the create request to the gateway
private _doCreate ( string $subPath, array $params ) : Braintree\Result\Successful | Error
$subPath string
$params array
return Braintree\Result\Successful | Braintree\Result\Error
    private function _doCreate($subPath, $params)
    {
        $fullPath = $this->_config->merchantPath() . $subPath;
        $response = $this->_http->post($fullPath, $params);
        return $this->_verifyGatewayResponse($response);
    }