Braintree\PaymentMethodGateway::_doCreate PHP Метод

_doCreate() публичный Метод

sends the create request to the gateway
public _doCreate ( string $subPath, array $params ) : mixed
$subPath string
$params array
Результат mixed
    public function _doCreate($subPath, $params)
    {
        $fullPath = $this->_config->merchantPath() . $subPath;
        $response = $this->_http->post($fullPath, $params);
        return $this->_verifyGatewayResponse($response);
    }