PayWithAmazon\Client::authorizeOnBillingAgreement PHP Method

authorizeOnBillingAgreement() public method

* AuthorizeOnBillingAgreement API call - Reserves a specified amount against the payment method(s) stored in the Billing Agreement.
See also: http://docs.developer.amazonservices.com/en_US/off_amazon_payments/OffAmazonPayments_AuthorizeOnBillingAgreement.html
public authorizeOnBillingAgreement ( $requestParameters = [] )
    public function authorizeOnBillingAgreement($requestParameters = array())
    {
        $parameters = array();
        $parameters['Action'] = 'AuthorizeOnBillingAgreement';
        $requestParameters = array_change_key_case($requestParameters, CASE_LOWER);
        $fieldMappings = array('merchant_id' => 'SellerId', 'amazon_billing_agreement_id' => 'AmazonBillingAgreementId', 'authorization_reference_id' => 'AuthorizationReferenceId', 'authorization_amount' => 'AuthorizationAmount.Amount', 'currency_code' => 'AuthorizationAmount.CurrencyCode', 'seller_authorization_note' => 'SellerAuthorizationNote', 'transaction_timeout' => 'TransactionTimeout', 'capture_now' => 'CaptureNow', 'soft_descriptor' => 'SoftDescriptor', 'seller_note' => 'SellerNote', 'platform_id' => 'PlatformId', 'custom_information' => 'SellerOrderAttributes.CustomInformation', 'seller_order_id' => 'SellerOrderAttributes.SellerOrderId', 'store_name' => 'SellerOrderAttributes.StoreName', 'inherit_shipping_address' => 'InheritShippingAddress', 'mws_auth_token' => 'MWSAuthToken');
        $responseObject = $this->setParametersAndPost($parameters, $fieldMappings, $requestParameters);
        return $responseObject;
    }