You are here

private static function Braintree_Http::_buildXml in Commerce Braintree 7

2 calls to Braintree_Http::_buildXml()
Braintree_Http::post in braintree_php/lib/Braintree/Http.php
Braintree_Http::put in braintree_php/lib/Braintree/Http.php

File

braintree_php/lib/Braintree/Http.php, line 57

Class

Braintree_Http
processes Http requests using curl

Code

private static function _buildXml($params) {
  return empty($params) ? null : Braintree_Xml::buildXmlFromArray($params);
}