PayWithAmazon\Client::getBillingAgreementDetails PHP Method

getBillingAgreementDetails() public method

* GetBillingAgreementDetails API Call - Returns details about the Billing Agreement object and its current state.
See also: http://docs.developer.amazonservices.com/en_US/off_amazon_payments/OffAmazonPayments_GetBillingAgreementDetails.html
public getBillingAgreementDetails ( $requestParameters = [] )
    public function getBillingAgreementDetails($requestParameters = array())
    {
        $parameters = array();
        $parameters['Action'] = 'GetBillingAgreementDetails';
        $requestParameters = array_change_key_case($requestParameters, CASE_LOWER);
        $fieldMappings = array('merchant_id' => 'SellerId', 'amazon_billing_agreement_id' => 'AmazonBillingAgreementId', 'address_consent_token' => 'AddressConsentToken', 'mws_auth_token' => 'MWSAuthToken');
        $responseObject = $this->setParametersAndPost($parameters, $fieldMappings, $requestParameters);
        return $responseObject;
    }