src/Payline/PaylineSDK.php
public function doRefund($array)
    {
        $WSRequest = array(
            'transactionID'   => $array['transactionID'],
            'payment'         => $this->payment($array['payment']),
            'comment'         => $array['comment'],
            'privateDataList' => $this->privateData,
            'details'         => $this->orderDetails,
            'sequenceNumber'  => $array['sequenceNumber']
        );
        return $this->webServiceRequest($array, $WSRequest, self::DIRECT_API, 'doRefund');
    }
public function doRefund($array)
    {
        $WSRequest = array(
            'transactionID'   => $array['transactionID'],
            'payment'         => $this->payment($array['payment']),
            'comment'         => $array['comment'],
            'privateDataList' => $this->privateData,
            'details'         => $this->orderDetails,
            'sequenceNumber'  => $array['sequenceNumber']
        );
        return $this->webServiceRequest($array, $WSRequest, self::DIRECT_API, 'doRefund');
    }
public function doRefund ( $ array ) { $ WSRequest = array ( 'transactionID' => $ array [ 'transactionID' ] , 'payment' => $ this -> payment ( $ array [ 'payment' ] ) , 'comment' => $ array [ 'comment' ] , 'privateDataList' => $ this -> privateData , 'details' => $ this -> orderDetails , 'sequenceNumber' => $ array [ 'sequenceNumber' ] ) ; return $ this -> webServiceRequest ( $ array , $ WSRequest , self :: DIRECT_API , 'doRefund' ) ; }
calls doRefund web service

@param array $array
associative array containing doRefund parameters
calls doRefund web service