Method: TaxinvoiceService#getPopUpURL
- Defined in:
- lib/popbill/taxinvoice.rb
#getPopUpURL(corpNum, mgtKeyType, mgtKey, userID = '') ⇒ Object
544 545 546 547 548 549 550 551 552 553 |
# File 'lib/popbill/taxinvoice.rb', line 544 def getPopUpURL(corpNum, mgtKeyType, mgtKey, userID = '') if corpNum.length != 10 raise PopbillException.new('-99999999', '사업자등록번호가 올바르지 않습니다.') end if mgtKey.to_s == '' raise PopbillException.new('-99999999', '문서번호가 올바르지 않습니다.') end httpget("/Taxinvoice/#{mgtKeyType}/#{mgtKey}?TG=POPUP", corpNum, userID)['url'] end |