private function withdrawSoap(VendorInterface $vendor, $amount, $label)
    {
        $parameters = array('amount' => $amount, 'label' => $label);
        $parameters = $this->mergeSubAccountParameters($vendor, $parameters);
        $result = $this->callSoap('create', $parameters);

        return $result['transactionPublicId'];
    }
private function withdrawSoap(VendorInterface $vendor, $amount, $label)
    {
        $parameters = array('amount' => $amount, 'label' => $label);
        $parameters = $this->mergeSubAccountParameters($vendor, $parameters);
        $result = $this->callSoap('create', $parameters);

        return $result['transactionPublicId'];
    }
private function withdrawSoap ( VendorInterface $ vendor , $ amount , $ label ) { $ parameters = array ( 'amount' => $ amount , 'label' => $ label ) ; $ parameters = $ this -> mergeSubAccountParameters ( $ vendor , $ parameters ) ; $ result = $ this -> callSoap ( 'create' , $ parameters ) ; return $ result [ 'transactionPublicId' ] ; }
Make a withdrawal.

@param VendorInterface $vendor
@param $amount
@param $label

@return int

@throws Exception
Make a withdrawal .