src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
public function validateBillingAgreement($request)
    {
        if (!$request instanceof OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest) {
            $request = new OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest($request);
        }
        $httpResponse = $this->_invoke($this->_convertValidateBillingAgreement($request));
        $response = OffAmazonPaymentsService_Model_ValidateBillingAgreementResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function validateBillingAgreement($request)
    {
        if (!$request instanceof OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest) {
            $request = new OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest($request);
        }
        $httpResponse = $this->_invoke($this->_convertValidateBillingAgreement($request));
        $response = OffAmazonPaymentsService_Model_ValidateBillingAgreementResponse::fromXML($httpResponse['ResponseBody']);
        $response->setResponseHeaderMetadata($httpResponse['ResponseHeaderMetadata']);
        return $response;
    }
public function validateBillingAgreement ( $ request ) { if ( ! $ request instanceof OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest ) { $ request = new OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest ( $ request ) ; } $ httpResponse = $ this -> _invoke ( $ this -> _convertValidateBillingAgreement ( $ request ) ) ; $ response = OffAmazonPaymentsService_Model_ValidateBillingAgreementResponse :: fromXML ( $ httpResponse [ 'ResponseBody' ] ) ; $ response -> setResponseHeaderMetadata ( $ httpResponse [ 'ResponseHeaderMetadata' ] ) ; return $ response ; }
Validate Billing Agreement

@param mixed $request array of parameters for OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest request
or OffAmazonPaymentsService_Model_ValidateBillingAgreementRequest object itself
@see OffAmazonPaymentsService_Model_ValidateBillingAgreement
@return OffAmazonPaymentsService_Model_ValidateBillingAgreementResponse OffAmazonPaymentsService_Model_ValidateBillingAgreementResponse

@throws OffAmazonPaymentsService_Exception
Validate Billing Agreement