530
531
532
533
534
535
536
537
538
539
540
541
542
|
# File 'lib/popbill/taxinvoice.rb', line 530
def deleteFile(corpNum, mgtKeyType, mgtKey, fileID, userID = '')
if corpNum.length != 10
raise PopbillException.new('-99999999', '사업자등록번호가 올바르지 않습니다.')
end
if mgtKey.to_s == ''
raise PopbillException.new('-99999999', '문서번호가 올바르지 않습니다.')
end
if fileID.to_s == ''
raise PopbillException.new('-99999999', '파일아이디가 입력되지 않았습니다.')
end
httppost("/Taxinvoice/#{mgtKeyType}/#{mgtKey}/Files/#{fileID}", corpNum, '', "DELETE", userID)
end
|