You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

360 lines
13 KiB

using System.Collections.Generic;
namespace Common.KFTC
{
public class Request
{
/*
* 계좌실명조회
* */
//@Max-2018.09.06
public class real_name
{
public string bank_tran_id { get; set; }
//은행코드
public string bank_code_std { get; set; }
//계좌번호
public string account_num { get; set; }
// * 예금주 실명번호 구분코드 (" ":생년월일, "1":주민번호, "2":외국인등록번호, "3":국내거소신고번호,"4":조합주민번호, "5":여권번호,
// "6":사업자등록번호, "E":기타)
public string account_holder_info_type { get; set; }
public string account_holder_info { get; set; }
//요청일시
public string tran_dtime { get; set; }
}
//max-20180615
public class remit_list
{
public string bank_code_std { get; set; }
public string account_num { get; set; }
public string from_date { get; set; } //YYYYMMDD
public string from_time { get; set; } //HH24MISS
public string to_date { get; set; }
public string to_time { get; set; }
public string sort_order { get; set; }
//public string befor_inquiry_trace_info { get; set; } // 다음페이지 요청시
public string tran_dtime { get; set; }
}
public class Authorize
{
public string response_type { get; set; }
public string client_id { get; set; }
public string redirect_uri { get; set; }
public string scope { get; set; }
public string client_info { get; set; }
public string state { get; set; }
public string auth_type { get; set; }
public string bg_color { get; set; }
public string txt_color { get; set; }
public string btn1_color { get; set; }
public string btn2_color { get; set; }
public string edit_option { get; set; }
}
public class Authorize2
{
public string response_type { get; set; }
public string client_id { get; set; }
public string redirect_uri { get; set; }
public string scope { get; set; }
public string client_info { get; set; }
public string auth_type { get; set; }
public string bg_color { get; set; }
public string txt_color { get; set; }
public string btn1_color { get; set; }
public string btn2_color { get; set; }
public string edit_option { get; set; }
public string invoke_type { get; set; }
public string state { get; set; } // Open banking 2019.10 @Dana
}
public class list
{
public string user_seq_no { get; set; }
public string include_cancel_yn { get; set; }
public string sort_order { get; set; }
}
public class account_cancel
{
public string bank_tran_id { get; set; } //bank transaction serial id 은행거래고유번호 // Open banking 2019.10 @Dana
public string scope { get; set; } //inquiry, transfer
public string fintech_use_num { get; set; }
}
public class withdraw
{
public string dps_print_content { get; set; } // 입금계좌인자내역 ,
public string fintech_use_num { get; set; } // 핀테크이용번호 ,
// public string print_content { get; set; } // 출금계좌인자내역 ,
public string tran_amt { get; set; } // 거래금액 ,
public string tran_dtime { get; set; } // 요청일시 ,
// public string cms_no { get; set; } // CMS번호
// Open banking 2019.10 @Dana
public string bank_tran_id { get; set; } //bank transaction serial id 은행거래고유번호
public string cntr_account_type { get; set; } // 약정계좌
public string cntr_account_num { get; set; } // 약정계좌번호
public string req_client_name { get; set; } // 요청고객성명
public string req_client_bank_code { get; set; } //요청고객계좌 개설기관표준코드
public string req_client_account_num { get; set; } // 요청고객계좌번호
public string req_client_num { get; set; } // 요청고객 회원번호
public string transfer_purpose { get; set; } // 이체용도
//public string sub_frnc_name { get; set; } //하위가맹점명
//public string sub_frnc_num { get; set; } //하위가맹점번호
//public string sub_frnc_business_num { get; set; } //하위가맹점사업자등록번호
}
/* public class deposit
{
public string wd_pass_phrase { get; set; } // 이용기관 입금이체용 암호문구 ,
public string wd_print_content { get; set; } // 출금계좌인자내역 ,
public string tran_dtime { get; set; } // 요청일시 ,
public string req_cnt { get; set; } // 입금요청건수 ,
public List<fintech_account> req_list { get; set; } //: 입금요청 리스트
}*/
public class fintech_account
{
public string tran_no { get; set; } // 거래순번 ,
public string fintech_use_num { get; set; } // 핀테크이용번호 ,
public string print_content { get; set; } // 입금계좌인자내역 ,
public string tran_amt { get; set; } // 거래금액 ,
public string cms_no { get; set; } // CMS번호
}
public class deposit
{
public string wd_pass_phrase { get; set; } // 이용기관 입금이체용 암호문구 ,
public string wd_print_content { get; set; } // 출금계좌인자내역 ,
public string tran_dtime { get; set; } // 요청일시 ,
public string req_cnt { get; set; } // 입금요청건수 ,
public List<bank_account> req_list { get; set; } //: 입금요청 리스트
public string name_check_option { get; set; } //: 수취인성명 검증여부(default value = on : 검증)
//using Open banking 2019.10 @Dana
public string cntr_account_type { get; set; } // 약정계좌 구분
public string cntr_account_num { get; set; } //약정계좌번호
//public string sub_frnc_name { get; set; } //하위가맹점명
//public string sub_frnc_num { get; set; } //하위가맹점번호
//public string sub_frnc_business_num { get; set; } //하위가맹점사업자번호
}
public class bank_account
{
public string tran_no { get; set; } // 거래순번 ,
public string bank_code_std { get; set; } // 입금은행.표준코드 ,
public string account_num { get; set; } // 계좌번호 ,
public string account_holder_name { get; set; } // 입금계좌주명 ,
public string print_content { get; set; } // 입금계좌인자내역 ,
public string tran_amt { get; set; } // 거래금액 ,
public string cms_no { get; set; } // CMS번호
//using Open banking 2019.10 @Dana
public string bank_tran_id { get; set; } //은행거래 고유번호
public string req_client_name { get; set; } // 요청고객성명
public string req_client_bank_code { get; set; } //요청고객계좌 개설기관표준코드
public string req_client_account_num { get; set; } // 요청고객계좌번호
public string req_client_num { get; set; } // 요청고객 회원번호
public string transfer_purpose { get; set; } // 이체용도 TR:transfer, AU:Auth
}
public class recheck
{
public string check_type { get; set; } // 이체구분 (1:출금이체, 2:입금이체)
public string tran_dtime { get; set; } // 요청일시 ,
public string req_cnt { get; set; } // 입금요청건수 ,
public List<recheck_unit> req_list { get; set; } //: 요청 리스트
}
public class recheck_unit
{
public string tran_no { get; set; } // 거래순번
public string org_tran_dtime { get; set; } // 원거래요청일시 ,
public string org_req_gubun { get; set; } // 원거래 요청계좌지정방식구분 (1:핀테크이용번호, 2:계좌번호) ,
public string bank_code_std { get; set; } // 원거래 은행.표준코드 ,
public string account_num { get; set; } // 원거래 계좌번호 ,
public string print_content { get; set; } // 원거래 입출금계좌인자내역 ,
public string fintech_use_num { get; set; } // 원거래 핀테크이용번호 ,
public string org_tran_amt { get; set; } // 거래금액 ,
}
public class result
{
public string check_type { get; set; } // 이체구분 (1:출금이체, 2:입금이체)
public string tran_dtime { get; set; } // 요청일시 ,
public string req_cnt { get; set; } // 입금요청건수 ,
public List<result_unit> req_list { get; set; } //: 요청 리스트
}
public class result_unit
{
public string tran_no { get; set; } // 거래순번 ,
public string org_bank_tran_id { get; set; } // 원거래 거래고유번호(참가기관) ,
public string org_bank_tran_date { get; set; } // 원거래 거래일자(참가기관) ,
public string org_tran_amt { get; set; } // 원거래 거래금액
}
public class authorize_url
{
public string providerURL { get; set; }
}
public class authorize2
{
public string client_id { get; set; }
public string response_type { get; set; }
public string scope { get; set; }
public string client_info { get; set; } //Max 256 Bytes
public string auth_type { get; set; }
public string invoke_type { get; set; }
public string lang { get; set; }
public string bg_color { get; set; } //#000000
public string txt_color { get; set; }
public string btn1_color { get; set; }
public string btn2_color { get; set; }
public string edit_option { get; set; } //"on" or "off", default "om"
public string redirect_uri { get; set; }
}
public class authorize_account2
{
public string response_type { get; set; }
public string client_id { get; set; }
public string redirect_uri { get; set; }
public string scope { get; set; }
public string client_info { get; set; } //Max 256 Bytes
public string auth_type { get; set; }
public string invoke_type { get; set; }
public string lang { get; set; }
public string bg_color { get; set; } //#000000
public string txt_color { get; set; }
public string btn1_color { get; set; }
public string btn2_color { get; set; }
public string edit_option { get; set; } //"on" or "off", default "om"
}
public class authorize_callback
{
public string code { get; set; }
public string scope { get; set; }
public string client_info { get; set; }
}
public class client_token
{
public string client_id { get; set; }
public string client_secret { get; set; }
public string scope { get; set; } // 고정값 "oob"
public string grant_type { get; set; } //"client_credentials"
}
public class user_token
{
public string code { get; set; }
public string client_id { get; set; }
public string client_secret { get; set; }
public string redirect_uri { get; set; }
public string grant_type { get; set; } //"authorization_code"
}
public class refresh_user_token
{
public string client_id { get; set; }
public string client_secret { get; set; }
public string refresh_token { get; set; }
public string scope { get; set; }
public string grant_type { get; set; } //"refresh_token"
}
public class authorize_account
{
public string response_type { get; set; }
public string client_id { get; set; }
public string redirect_uri { get; set; }
public string scope { get; set; }
public string client_info { get; set; } //Max 256 Bytes
public string state { get; set; }
public string auth_type { get; set; } // 0:first auth, 1:re-auth, 2:skip auth
public string lang { get; set; }
public string edit_option { get; set; } //"on" or "off", default "om"
public string bg_color { get; set; } //#000000
public string txt_color { get; set; }
public string btn1_color { get; set; }
public string btn2_color { get; set; }
public string invoke_type { get; set; }
}
}
}