function editDomain($id, $returnPathDomain = NULL) {

		$body = array();
		$body['returnPathDomain'] = $returnPathDomain;

		return new DynamicResponseModel($this->processRestRequest('PUT', "/domains/$id", $body));
	}
function editDomain($id, $returnPathDomain = NULL) {

		$body = array();
		$body['returnPathDomain'] = $returnPathDomain;

		return new DynamicResponseModel($this->processRestRequest('PUT', "/domains/$id", $body));
	}
function editDomain ( $ id , $ returnPathDomain = NULL ) { $ body = array ( ) ; $ body [ 'returnPathDomain' ] = $ returnPathDomain ; return new DynamicResponseModel ( $ this -> processRestRequest ( 'PUT' , "/domains/$id" , $ body ) ) ; }
Alter the properties of a Domain.

@param  integer $id The ID for the Domain we wish to modify.
@param  string $returnPathDomain The custom Return-Path domain for the Domain.
@return DynamicResponseModel
Alter the properties of a Domain .