public function closeBillingAgreement($request)
    {
    	if (!$request instanceof OffAmazonPaymentsService_Model_CloseBillingAgreementRequest) {
    		$request = new OffAmazonPaymentsService_Model_CloseBillingAgreementRequest($request);
    	}
    	$httpResponse = $this->_invoke($this->_convertCloseBillingAgreement($request));
    	$response = OffAmazonPaymentsService_Model_CloseBillingAgreementResponse::fromXML($httpResponse['ResponseBody']);
    	$response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
    	return $response;
    }