src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Samples/AutomaticPaymentsSimpleCheckoutExample.php
public function authorizePaymentAmountWithCaptureNow ($authorizationAmount, 
            $authorizationReferenceId)
    {
        $authorizeOnBillingAgreementRequest = $this->_createAuthorizeOnBillingAgreementRequest(
                $authorizationAmount, $authorizationReferenceId, true);
        return $this->_service->authorizeOnBillingAgreement($authorizeOnBillingAgreementRequest);
    }
public function authorizePaymentAmountWithCaptureNow ($authorizationAmount, 
            $authorizationReferenceId)
    {
        $authorizeOnBillingAgreementRequest = $this->_createAuthorizeOnBillingAgreementRequest(
                $authorizationAmount, $authorizationReferenceId, true);
        return $this->_service->authorizeOnBillingAgreement($authorizeOnBillingAgreementRequest);
    }
public function authorizePaymentAmountWithCaptureNow ( $ authorizationAmount , $ authorizationReferenceId ) { $ authorizeOnBillingAgreementRequest = $ this -> _createAuthorizeOnBillingAgreementRequest ( $ authorizationAmount , $ authorizationReferenceId , true ) ; return $ this -> _service -> authorizeOnBillingAgreement ( $ authorizeOnBillingAgreementRequest ) ; }
Authorize on the billing agreement with auto capture

@param float $authorizationAmount
amount to authorize from the buyer

@param string $authorizationReferenceId
seller provided authorization reference id

@return OffAmazonPaymentsService_Model_AuthorizeOnBillingAgreementResponse
service response
Authorize on the billing agreement with auto capture