private void btnSaveMemo_Click(object sender, EventArgs e) { /* * 계좌 거래내역에 메모를 저장한다. */ // 거래내역 아이디 String TID = txtTID.Text; // 메모 String Memo = "메모저장-20200121"; try { Response response = easyFinBankService.SaveMemo(txtCorpNum.Text, TID, Memo); MessageBox.Show("응답코드(code) : " + response.code.ToString() + "\r\n" + "응답메시지(message) : " + response.message, "거래내역 메모저장"); } catch (PopbillException ex) { MessageBox.Show("응답코드(code) : " + ex.code.ToString() + "\r\n" + "응답메시지(message) : " + ex.Message, "거래내역 메모저장"); } }
/* * 한 건의 거래 내역에 메모를 저장합니다. * - https://docs.popbill.com/easyfinbank/dotnetcore/api#SaveMemo */ public IActionResult SaveMemo() { string tid = ""; string memo = "memo"; try { var response = _easyFinBankService.SaveMemo(corpNum, tid, memo); return(View("Response", response)); } catch (PopbillException pe) { return(View("Exception", pe)); } }
/* * 거래내역에 메모를 저장합니다. * - https://docs.popbill.com/easyfinbank/dotnetcore/api#SaveMemo */ public IActionResult SaveMemo() { string tid = "01912181100000000120191231000001"; string memo = "asp.net Core"; try { var response = _easyFinBankService.SaveMemo(corpNum, tid, memo, userID); return(View("Response", response)); } catch (PopbillException pe) { return(View("Exception", pe)); } }