src/AmazonPaymentBundle/lib/amazon/OffAmazonPaymentsService/Client.php
private function _convertCloseOrderReference($request) {
        
        $parameters = array();
        $parameters['Action'] = 'CloseOrderReference';
        if ($request->isSetSellerId()) {
            $parameters['SellerId'] =  $request->getSellerId();
        }
        if ($request->isSetAmazonOrderReferenceId()) {
            $parameters['AmazonOrderReferenceId'] =  $request->getAmazonOrderReferenceId();
        }
        if ($request->isSetClosureReason()) {
            $parameters['ClosureReason'] =  $request->getClosureReason();
        }

        return $parameters;
    }
private function _convertCloseOrderReference($request) {
        
        $parameters = array();
        $parameters['Action'] = 'CloseOrderReference';
        if ($request->isSetSellerId()) {
            $parameters['SellerId'] =  $request->getSellerId();
        }
        if ($request->isSetAmazonOrderReferenceId()) {
            $parameters['AmazonOrderReferenceId'] =  $request->getAmazonOrderReferenceId();
        }
        if ($request->isSetClosureReason()) {
            $parameters['ClosureReason'] =  $request->getClosureReason();
        }

        return $parameters;
    }
private function _convertCloseOrderReference ( $ request ) { $ parameters = array ( ) ; $ parameters [ 'Action' ] = 'CloseOrderReference' ; if ( $ request -> isSetSellerId ( ) ) { $ parameters [ 'SellerId' ] = $ request -> getSellerId ( ) ; } if ( $ request -> isSetAmazonOrderReferenceId ( ) ) { $ parameters [ 'AmazonOrderReferenceId' ] = $ request -> getAmazonOrderReferenceId ( ) ; } if ( $ request -> isSetClosureReason ( ) ) { $ parameters [ 'ClosureReason' ] = $ request -> getClosureReason ( ) ; } return $ parameters ; }
Convert CloseOrderReferenceRequest to name value pairs
Convert CloseOrderReferenceRequest to name value pairs