src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
public function setBillingAgreementDetails($request)
    {
    	if (!$request instanceof OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest) {
    		$request = new OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest($request);
    	}
    	$httpResponse = $this->_invoke($this->_convertSetBillingAgreementDetails($request));
    	$response = OffAmazonPaymentsService_Model_SetBillingAgreementDetailsResponse::fromXML($httpResponse['ResponseBody']);
    	$response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
    	return $response;
    }
public function setBillingAgreementDetails($request)
    {
    	if (!$request instanceof OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest) {
    		$request = new OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest($request);
    	}
    	$httpResponse = $this->_invoke($this->_convertSetBillingAgreementDetails($request));
    	$response = OffAmazonPaymentsService_Model_SetBillingAgreementDetailsResponse::fromXML($httpResponse['ResponseBody']);
    	$response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
    	return $response;
    }
public function setBillingAgreementDetails ( $ request ) { if ( ! $ request instanceof OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest ) { $ request = new OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest ( $ request ) ; } $ httpResponse = $ this -> _invoke ( $ this -> _convertSetBillingAgreementDetails ( $ request ) ) ; $ response = OffAmazonPaymentsService_Model_SetBillingAgreementDetailsResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
Set Billing Agreement Details

@param mixed $request array of parameters for OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest request
or OffAmazonPaymentsService_Model_SetBillingAgreementDetailsRequest object itself
@see OffAmazonPaymentsService_Model_SetBillingAgreementDetails
@return OffAmazonPaymentsService_Model_SetBillingAgreementDetailsResponse OffAmazonPaymentsService_Model_SetBillingAgreementDetailsResponse

@throws OffAmazonPaymentsService_Exception
Set Billing Agreement Details