private function _convertSetBillingAgreementDetails($request) {
    
    	$parameters = array();
    	$parameters['Action'] = 'SetBillingAgreementDetails';
    	if ($request->isSetSellerId()) {
    		$parameters['SellerId'] =  $request->getSellerId();
    	}
    	if ($request->isSetAmazonBillingAgreementId()) {
    		$parameters['AmazonBillingAgreementId'] =  $request->getAmazonBillingAgreementId();
    	}
    	if ($request->isSetBillingAgreementAttributes()) {
    		$billingAgreementAttributessetBillingAgreementDetailsRequest = $request->getBillingAgreementAttributes();
    		if ($billingAgreementAttributessetBillingAgreementDetailsRequest->isSetPlatformId()) {
    			$parameters['BillingAgreementAttributes' . '.' . 'PlatformId'] =  $billingAgreementAttributessetBillingAgreementDetailsRequest->getPlatformId();
    		}
    		if ($billingAgreementAttributessetBillingAgreementDetailsRequest->isSetSellerNote()) {
    			$parameters['BillingAgreementAttributes' . '.' . 'SellerNote'] =  $billingAgreementAttributessetBillingAgreementDetailsRequest->getSellerNote();
    		}
    		if ($billingAgreementAttributessetBillingAgreementDetailsRequest->isSetSellerBillingAgreementAttributes()) {
    			$sellerBillingAgreementAttributesbillingAgreementAttributes = $billingAgreementAttributessetBillingAgreementDetailsRequest->getSellerBillingAgreementAttributes();
    			if ($sellerBillingAgreementAttributesbillingAgreementAttributes->isSetSellerBillingAgreementId()) {
    				$parameters['BillingAgreementAttributes' . '.' . 'SellerBillingAgreementAttributes' . '.' . 'SellerBillingAgreementId'] =  $sellerBillingAgreementAttributesbillingAgreementAttributes->getSellerBillingAgreementId();
    			}
    			if ($sellerBillingAgreementAttributesbillingAgreementAttributes->isSetStoreName()) {
    				$parameters['BillingAgreementAttributes' . '.' . 'SellerBillingAgreementAttributes' . '.' . 'StoreName'] =  $sellerBillingAgreementAttributesbillingAgreementAttributes->getStoreName();
    			}
    			if ($sellerBillingAgreementAttributesbillingAgreementAttributes->isSetCustomInformation()) {
    				$parameters['BillingAgreementAttributes' . '.' . 'SellerBillingAgreementAttributes' . '.' . 'CustomInformation'] =  $sellerBillingAgreementAttributesbillingAgreementAttributes->getCustomInformation();
    			}
    		}
    	}
    
    	return $parameters;
    }