function createDomain($name, $returnPathDomain = NULL) {
		$body = array();
		$body['name'] = $name;
		$body['returnPathDomain'] = $returnPathDomain;

		return new DynamicResponseModel($this->processRestRequest('POST', '/domains/', $body));
	}
function createDomain($name, $returnPathDomain = NULL) {
		$body = array();
		$body['name'] = $name;
		$body['returnPathDomain'] = $returnPathDomain;

		return new DynamicResponseModel($this->processRestRequest('POST', '/domains/', $body));
	}
function createDomain ( $ name , $ returnPathDomain = NULL ) { $ body = array ( ) ; $ body [ 'name' ] = $ name ; $ body [ 'returnPathDomain' ] = $ returnPathDomain ; return new DynamicResponseModel ( $ this -> processRestRequest ( 'POST' , '/domains/' , $ body ) ) ; }
Create a new Domain with the given Name.

@param  string $name The name of the Domain.
@param  string $returnPathDomain The custom Return-Path domain for the Sender Signature.
@return DynamicResponseModel
Create a new Domain with the given Name .