src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
private function _convertCloseBillingAgreement($request) {
    
    	$parameters = array();
    	$parameters['Action'] = 'CloseBillingAgreement';
    	if ($request->isSetAmazonBillingAgreementId()) {
    		$parameters['AmazonBillingAgreementId'] =  $request->getAmazonBillingAgreementId();
    	}
    	if ($request->isSetSellerId()) {
    		$parameters['SellerId'] =  $request->getSellerId();
    	}
    	if ($request->isSetClosureReason()) {
    		$parameters['ClosureReason'] =  $request->getClosureReason();
    	}
    	if ($request->isSetReasonCode()) {
    		$parameters['ReasonCode'] =  $request->getReasonCode();
    	}
    
    	return $parameters;
    }
private function _convertCloseBillingAgreement($request) {
    
    	$parameters = array();
    	$parameters['Action'] = 'CloseBillingAgreement';
    	if ($request->isSetAmazonBillingAgreementId()) {
    		$parameters['AmazonBillingAgreementId'] =  $request->getAmazonBillingAgreementId();
    	}
    	if ($request->isSetSellerId()) {
    		$parameters['SellerId'] =  $request->getSellerId();
    	}
    	if ($request->isSetClosureReason()) {
    		$parameters['ClosureReason'] =  $request->getClosureReason();
    	}
    	if ($request->isSetReasonCode()) {
    		$parameters['ReasonCode'] =  $request->getReasonCode();
    	}
    
    	return $parameters;
    }
private function _convertCloseBillingAgreement ( $ request ) { $ parameters = array ( ) ; $ parameters [ 'Action' ] = 'CloseBillingAgreement' ; if ( $ request -> isSetAmazonBillingAgreementId ( ) ) { $ parameters [ 'AmazonBillingAgreementId' ] = $ request -> getAmazonBillingAgreementId ( ) ; } if ( $ request -> isSetSellerId ( ) ) { $ parameters [ 'SellerId' ] = $ request -> getSellerId ( ) ; } if ( $ request -> isSetClosureReason ( ) ) { $ parameters [ 'ClosureReason' ] = $ request -> getClosureReason ( ) ; } if ( $ request -> isSetReasonCode ( ) ) { $ parameters [ 'ReasonCode' ] = $ request -> getReasonCode ( ) ; } return $ parameters ; }
Convert CloseBillingAgreementRequest to name value pairs
Convert CloseBillingAgreementRequest to name value pairs