Method: StatementService#getInfo
- Defined in:
- lib/popbill/statement.rb
#getInfo(corpNum, itemCode, mgtKey, userID = '') ⇒ Object
182 183 184 185 186 187 188 189 190 191 |
# File 'lib/popbill/statement.rb', line 182 def getInfo(corpNum, itemCode, mgtKey, userID = '') if corpNum.length != 10 raise PopbillException.new('-99999999', '사업자등록번호가 올바르지 않습니다.') end if mgtKey.to_s == '' raise PopbillException.new('-99999999', '문서번호 입력되지 않았습니다.') end httpget("/Statement/#{itemCode}/#{mgtKey}", corpNum, userID) end |