src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
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;
    }
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;
    }
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 ; }
Close Billing Agreement

@param mixed $request array of parameters for OffAmazonPaymentsService_Model_CloseBillingAgreementRequest request
or OffAmazonPaymentsService_Model_CloseBillingAgreementRequest object itself
@see OffAmazonPaymentsService_Model_CloseBillingAgreement
@return OffAmazonPaymentsService_Model_CloseBillingAgreementResponse OffAmazonPaymentsService_Model_CloseBillingAgreementResponse

@throws OffAmazonPaymentsService_Exception
Close Billing Agreement