public abstract class BaseServiceImp extends Object implements BaseService
| Modifier and Type | Class and Description |
|---|---|
protected class |
BaseServiceImp.UnitCostResponse |
protected class |
BaseServiceImp.UploadFile |
protected class |
BaseServiceImp.URLResponse |
| Constructor and Description |
|---|
BaseServiceImp()
IP 제한 여부 기본값 True
|
| Modifier and Type | Method and Description |
|---|---|
Response |
checkID(String CheckID)
팝빌회원 아이디 중복체크
|
Response |
checkIsMember(String CorpNum,
String LinkID)
연동회원의 가입여부 확인.
|
protected <T> T |
fromJsonString(String json,
Class<T> clazz)
Convert JsonString to Object of Clazz
|
String |
getAccessURL(String CorpNum,
String UserID)
팝빌 로그인 URL
|
double |
getBalance(String CorpNum)
연동회원 잔여 포인트 확인.
|
String |
getChargeURL(String CorpNum,
String UserID)
연동회원 포인트충전 팝업 URL
|
ContactInfo |
getContactInfo(String CorpNum,
String ContactID)
담당자 정보확인.
|
ContactInfo |
getContactInfo(String CorpNum,
String ContactID,
String UserID)
담당자 정보확인.
|
CorpInfo |
getCorpInfo(String CorpNum)
회사정보 확인
|
CorpInfo |
getCorpInfo(String CorpNum,
String UserID)
회사정보 확인
|
protected String |
getLinkID() |
double |
getPartnerBalance(String CorpNum)
연동 파트너의 잔여포인트 확인
|
String |
getPartnerURL(String CorpNum,
String TOGO)
파트너 관리자 팝업 URL 요청
|
PaymentHistoryResult |
getPaymentHistory(String CorpNum,
String SDate,
String EDate,
Integer Page,
Integer PerPage)
포인트 결제내역 확인.
|
PaymentHistoryResult |
getPaymentHistory(String CorpNum,
String SDate,
String EDate,
Integer Page,
Integer PerPage,
String UserID)
포인트 결제내역 확인.
|
String |
getPaymentURL(String CorpNum,
String UserID)
연동회원 포인트 결재내역 팝업 URL
|
kr.co.linkhub.auth.MemberPointDetail |
getPointInfo(String CorpNum) |
String |
getPopbillURL(String CorpNum,
String TOGO)
팝빌의 SSO 접근 URL 요청.
|
String |
getPopbillURL(String CorpNum,
String UserID,
String TOGO)
팝빌의 SSO 접근 URL 요청.
|
double |
getRefundableBalance(String CorpNum)
환불가능포인트 확인
|
double |
getRefundableBalance(String CorpNum,
String UserID)
환불가능포인트 확인
|
RefundHistoryResult |
getRefundHistory(String CorpNum,
Integer Page,
Integer PerPage)
환분신청 내역 확인.
|
RefundHistoryResult |
getRefundHistory(String CorpNum,
Integer Page,
Integer PerPage,
String UserID)
환분신청 내역 확인.
|
RefundHistory |
getRefundInfo(String CorpNum,
String RefundCode)
환불신청 상태확인
|
RefundHistory |
getRefundInfo(String CorpNum,
String RefundCode,
String UserID)
환불신청 상태확인
|
protected abstract List<String> |
getScopes() |
protected String |
getSecretKey() |
protected String |
getServiceID() |
protected String |
getServiceURL() |
PaymentHistory |
getSettleResult(String CorpNum,
String settleCode)
무통장 입금신청 정보확인.
|
PaymentHistory |
getSettleResult(String CorpNum,
String settleCode,
String UserID)
무통장 입금신청 정보확인.
|
UseHistoryResult |
getUseHistory(String CorpNum,
String SDate,
String EDate,
Integer Page,
Integer PerPage,
String Order)
포인트 사용내역 확인
|
UseHistoryResult |
getUseHistory(String CorpNum,
String SDate,
String EDate,
Integer Page,
Integer PerPage,
String Order,
String UserID)
포인트 사용내역 확인
|
String |
getUseHistoryURL(String CorpNum,
String UserID)
연동회원 포인트 사용내역 팝업 URL
|
protected <T> T |
httpBulkPost(String url,
String CorpNum,
String SubmitID,
String PostData,
String UserID,
String Action,
Class<T> clazz) |
protected <T> T |
httpget(String url,
String CorpNum,
String UserID,
Class<T> clazz) |
protected <T> T |
httppost(String url,
String CorpNum,
String PostData,
String UserID,
Class<T> clazz) |
protected <T> T |
httppost(String url,
String CorpNum,
String PostData,
String UserID,
String Action,
Class<T> clazz) |
protected <T> T |
httppost(String url,
String CorpNum,
String PostData,
String UserID,
String Action,
Class<T> clazz,
String ContentType) |
protected <T> T |
httppostFiles(String url,
String CorpNum,
String form,
List<BaseServiceImp.UploadFile> files,
String UserID,
Class<T> clazz) |
boolean |
isIPRestrictOnOff() |
boolean |
isTest()
테스트모드 확인.
|
boolean |
isUseGAIP()
v1.37.0 추가
|
boolean |
isUseLocalTimeYN() |
boolean |
isUseStaticIP() |
Response |
joinMember(JoinForm joinInfo)
연동회원 가입요청.
|
ContactInfo[] |
listContact(String CorpNum)
담당자 목록조회
|
ContactInfo[] |
listContact(String CorpNum,
String UserID)
담당자 목록조회
|
PaymentResponse |
paymentRequest(String CorpNum,
PaymentForm paymentForm)
무통장 입금신청.
|
PaymentResponse |
paymentRequest(String CorpNum,
PaymentForm paymentForm,
String UserID)
무통장 입금신청.
|
Response |
quitMember(String CorpNum,
String quitReason)
회원탈퇴
|
Response |
quitMember(String CorpNum,
String quitReason,
String UserID)
회원탈퇴
|
RefundResponse |
refund(String CorpNum,
RefundForm refundForm)
환불 신청.
|
RefundResponse |
refund(String CorpNum,
RefundForm refundForm,
String UserID)
환불 신청.
|
Response |
registContact(String CorpNum,
ContactInfo contactInfo)
담당차 등록
|
Response |
registContact(String CorpNum,
ContactInfo contactInfo,
String UserID)
담당차 등록
|
void |
setAuthURL(String authURL)
Proxy 인증 URL 설정.
|
void |
setIPRestrictOnOff(boolean isIPRestrictOnOff)
IP 제한 해제.
|
void |
setLinkID(String linkID)
링크아이디 설정.
|
void |
setProxyIP(String proxyIP) |
void |
setProxyPort(Integer proxyPort) |
void |
setSecretKey(String secretKey)
비밀키 설정 (Issued by Linkhub)
|
void |
setServiceURL(String serviceURL)
Proxy 운영기 URL 설정.
|
void |
setTest(boolean isTest)
테스트 모드 설정.
|
void |
setTestServiceURL(String testServiceURL)
Proxy 테스트기 URL 설정.
|
void |
setUseGAIP(boolean useGAIP)
v1.37.0 추가
|
void |
setUseLocalTimeYN(boolean useLocalTimeYN)
Local 타임 사용 여부.
|
void |
setUseStaticIP(boolean useStaticIP) |
protected String |
toJsonString(Object Graph)
Convert Object to Json String.
|
Response |
updateContact(String CorpNum,
ContactInfo contactInfo,
String UserID)
담당자 정보수정
|
Response |
updateCorpInfo(String CorpNum,
CorpInfo corpInfo)
회사정보 수정
|
Response |
updateCorpInfo(String CorpNum,
CorpInfo corpInfo,
String UserID)
회사정보 수정
|
public boolean isTest()
public boolean isIPRestrictOnOff()
public boolean isUseStaticIP()
public boolean isUseLocalTimeYN()
public boolean isUseGAIP()
public void setTest(boolean isTest)
isTest - Test or not.public void setIPRestrictOnOff(boolean isIPRestrictOnOff)
isRestrictOnOff - public void setUseStaticIP(boolean useStaticIP)
public void setUseGAIP(boolean useGAIP)
public void setUseLocalTimeYN(boolean useLocalTimeYN)
useLocalTimeYN - protected String getLinkID()
public void setLinkID(String linkID)
linkID - public void setAuthURL(String authURL)
authURL - public void setServiceURL(String serviceURL)
serviceURL - public void setProxyIP(String proxyIP)
public void setProxyPort(Integer proxyPort)
public void setTestServiceURL(String testServiceURL)
testServiceURL - protected String getSecretKey()
public void setSecretKey(String secretKey)
secretKey - SecretKey.protected String getServiceID()
protected String getServiceURL()
public String getPartnerURL(String CorpNum, String TOGO) throws PopbillException
BaseServicegetPartnerURL in interface BaseServiceCorpNum - 팝빌회원 사업자번호TOGO - CHRG(포인트충전), LOGIN(로그인)PopbillExceptionpublic double getBalance(String CorpNum) throws PopbillException
BaseServicegetBalance in interface BaseServiceCorpNum - Member's CorpNumPopbillExceptionpublic kr.co.linkhub.auth.MemberPointDetail getPointInfo(String CorpNum) throws PopbillException
getPointInfo in interface BaseServicePopbillExceptionpublic double getPartnerBalance(String CorpNum) throws PopbillException
BaseServicegetPartnerBalance in interface BaseServiceCorpNum - Member's CorpNumPopbillExceptionpublic Response joinMember(JoinForm joinInfo) throws PopbillException
BaseServicejoinMember in interface BaseServicejoinInfo - Join Information. see JoinFormPopbillExceptionJoinFormpublic String getPopbillURL(String CorpNum, String TOGO) throws PopbillException
BaseServicegetPopbillURL in interface BaseServiceCorpNum - Member's CorpNumTOGO - Word to wanna go.PopbillExceptionpublic String getPopbillURL(String CorpNum, String UserID, String TOGO) throws PopbillException
BaseServicegetPopbillURL in interface BaseServiceCorpNum - Member's CorpNumUserID - UserID to login.TOGO - Word to wanna go.PopbillExceptionpublic UseHistoryResult getUseHistory(String CorpNum, String SDate, String EDate, Integer Page, Integer PerPage, String Order) throws PopbillException
BaseServicegetUseHistory in interface BaseServiceCorpNum - 사업자번호SDate - 조회 기간의 시작일자EDate - 조회 기간의 종료일자Page - 목록 페이지번호 (기본값 1)PerPage - 페이지당 표시할 목록 개수 (기본값 500, 최대 1000)Order - 거래일자를 기준으로 하는 목록 정렬 방향PopbillExceptionpublic UseHistoryResult getUseHistory(String CorpNum, String SDate, String EDate, Integer Page, Integer PerPage, String Order, String UserID) throws PopbillException
BaseServicegetUseHistory in interface BaseServiceCorpNum - 사업자번호SDate - 조회 기간의 시작일자EDate - 조회 기간의 종료일자Page - 목록 페이지번호 (기본값 1)PerPage - 페이지당 표시할 목록 개수 (기본값 500, 최대 1000)Order - 거래일자를 기준으로 하는 목록 정렬 방향UserID - 팝빌회원 아이디PopbillExceptionpublic PaymentHistoryResult getPaymentHistory(String CorpNum, String SDate, String EDate, Integer Page, Integer PerPage) throws PopbillException
BaseServicegetPaymentHistory in interface BaseServiceCorpNum - 사업자번호SDate - 조회 기간의 시작일자EDate - 조회 기간의 종료일자Page - 목록 페이지번호 (기본값 1)PerPage - 페이지당 표시할 목록 개수 (기본값 500, 최대 1000)PopbillExceptionpublic PaymentHistoryResult getPaymentHistory(String CorpNum, String SDate, String EDate, Integer Page, Integer PerPage, String UserID) throws PopbillException
BaseServicegetPaymentHistory in interface BaseServiceCorpNum - 사업자번호SDate - 조회 기간의 시작일자EDate - 조회 기간의 종료일자Page - 목록 페이지번호 (기본값 1)PerPage - 페이지당 표시할 목록 개수 (기본값 500, 최대 1000)UserID - 팝빌회원 아이디PopbillExceptionpublic RefundHistoryResult getRefundHistory(String CorpNum, Integer Page, Integer PerPage) throws PopbillException
BaseServicegetRefundHistory in interface BaseServiceCorpNum - 사업자번호Page - 목록 페이지번호 (기본값 1)PerPage - 페이지당 표시할 목록 개수 (기본값 500, 최대 1000)PopbillExceptionpublic RefundHistoryResult getRefundHistory(String CorpNum, Integer Page, Integer PerPage, String UserID) throws PopbillException
BaseServicegetRefundHistory in interface BaseServiceCorpNum - 사업자번호Page - 목록 페이지번호 (기본값 1)PerPage - 페이지당 표시할 목록 개수 (기본값 500, 최대 1000)UserID - 팝빌회원 아이디PopbillExceptionpublic RefundResponse refund(String CorpNum, RefundForm refundForm) throws PopbillException
BaseServicerefund in interface BaseServiceCorpNum - 사업자번호refundForm - 환불 신청 정보PopbillExceptionpublic RefundResponse refund(String CorpNum, RefundForm refundForm, String UserID) throws PopbillException
BaseServicerefund in interface BaseServiceCorpNum - 사업자번호refundForm - 환불 신청 정보UserID - 팝빌회원 아이디PopbillExceptionpublic RefundHistory getRefundInfo(String CorpNum, String RefundCode) throws PopbillException
BaseServicegetRefundInfo in interface BaseServiceCorpNum - 사업자번호RefundCode - 환불코드PopbillExceptionpublic RefundHistory getRefundInfo(String CorpNum, String RefundCode, String UserID) throws PopbillException
BaseServicegetRefundInfo in interface BaseServiceCorpNum - 사업자번호RefundCode - 환불코드UserID - 회원아이디PopbillExceptionpublic double getRefundableBalance(String CorpNum) throws PopbillException
BaseServicegetRefundableBalance in interface BaseServiceCorpNum - 연동회원 사업자번호PopbillExceptionpublic double getRefundableBalance(String CorpNum, String UserID) throws PopbillException
BaseServicegetRefundableBalance in interface BaseServiceCorpNum - 연동회원 사업자번호PopbillExceptionpublic PaymentResponse paymentRequest(String CorpNum, PaymentForm paymentForm) throws PopbillException
BaseServicepaymentRequest in interface BaseServiceCorpNum - 사업자번호paymentForm - 무통장입금 신청 정보PopbillExceptionpublic PaymentResponse paymentRequest(String CorpNum, PaymentForm paymentForm, String UserID) throws PopbillException
BaseServicepaymentRequest in interface BaseServiceCorpNum - 사업자번호paymentForm - 무통장입금 신청 정보UserID - 팝빌회원 아이디PopbillExceptionpublic PaymentHistory getSettleResult(String CorpNum, String settleCode) throws PopbillException
BaseServicegetSettleResult in interface BaseServiceCorpNum - 사업자번호settleCode - 정산코드PopbillExceptionpublic PaymentHistory getSettleResult(String CorpNum, String settleCode, String UserID) throws PopbillException
BaseServicegetSettleResult in interface BaseServiceCorpNum - 사업자번호settleCode - 정산코드UserID - 팝빌회원 아이디PopbillExceptionpublic Response checkIsMember(String CorpNum, String LinkID) throws PopbillException
BaseServicecheckIsMember in interface BaseServiceCorpNum - CorpNum to Check.PopbillExceptionpublic ContactInfo getContactInfo(String CorpNum, String ContactID) throws PopbillException
BaseServicegetContactInfo in interface BaseServiceCorpNum - CorpNum to Check.PopbillExceptionpublic ContactInfo getContactInfo(String CorpNum, String ContactID, String UserID) throws PopbillException
BaseServicegetContactInfo in interface BaseServiceCorpNum - CorpNum to Check.UserID - UserID to Check.PopbillExceptionpublic ContactInfo[] listContact(String CorpNum) throws PopbillException
BaseServicelistContact in interface BaseServiceCorpNum - Member's CorpNumPopbillExceptionpublic ContactInfo[] listContact(String CorpNum, String UserID) throws PopbillException
BaseServicelistContact in interface BaseServiceCorpNum - Member's CorpNumUserID - UserID to CheckPopbillExceptionpublic Response updateContact(String CorpNum, ContactInfo contactInfo, String UserID) throws PopbillException
BaseServiceupdateContact in interface BaseServiceCorpNum - Member's CorpNumUserID - UserID to CheckPopbillExceptionpublic Response quitMember(String CorpNum, String quitReason) throws PopbillException
BaseServicequitMember in interface BaseServiceCorpNum - 연동회원 사업자번호quitReason - 탈퇴사유PopbillExceptionpublic Response quitMember(String CorpNum, String quitReason, String UserID) throws PopbillException
BaseServicequitMember in interface BaseServiceCorpNum - 연동회원 사업자번호quitReason - 탈퇴사유UserID - 연동회원 아이디PopbillExceptionpublic Response registContact(String CorpNum, ContactInfo contactInfo) throws PopbillException
BaseServiceregistContact in interface BaseServiceCorpNum - Member's CorpNumPopbillExceptionpublic Response registContact(String CorpNum, ContactInfo contactInfo, String UserID) throws PopbillException
BaseServiceregistContact in interface BaseServiceCorpNum - Member's CorpNumUserID - Member's UserIDPopbillExceptionpublic Response checkID(String CheckID) throws PopbillException
BaseServicecheckID in interface BaseServicePopbillExceptionpublic CorpInfo getCorpInfo(String CorpNum) throws PopbillException
BaseServicegetCorpInfo in interface BaseServiceCorpNum - Member's CorpNumPopbillExceptionpublic CorpInfo getCorpInfo(String CorpNum, String UserID) throws PopbillException
BaseServicegetCorpInfo in interface BaseServiceCorpNum - Member's CorpNumUserID - Member's UserIDPopbillExceptionpublic Response updateCorpInfo(String CorpNum, CorpInfo corpInfo) throws PopbillException
BaseServiceupdateCorpInfo in interface BaseServiceCorpNum - Member's CorpNumcorpInfo - CorpInfo. see CorpInfoPopbillExceptionpublic Response updateCorpInfo(String CorpNum, CorpInfo corpInfo, String UserID) throws PopbillException
BaseServiceupdateCorpInfo in interface BaseServiceCorpNum - Member's CorpNumcorpInfo - CorpInfo. see CorpInfoUserID - Member's UserIDPopbillExceptionpublic String getAccessURL(String CorpNum, String UserID) throws PopbillException
BaseServicegetAccessURL in interface BaseServiceCorpNum - 연동회원 사업자번호UserID - 연동회원 유저아이디PopbillExceptionpublic String getChargeURL(String CorpNum, String UserID) throws PopbillException
BaseServicegetChargeURL in interface BaseServiceCorpNum - 연동회원 사업자번호UserID - 연동회원 유저아이디PopbillExceptionpublic String getPaymentURL(String CorpNum, String UserID) throws PopbillException
BaseServicegetPaymentURL in interface BaseServiceCorpNum - 연동회원 사업자번호UserID - 연동회원 유저아이디PopbillExceptionpublic String getUseHistoryURL(String CorpNum, String UserID) throws PopbillException
BaseServicegetUseHistoryURL in interface BaseServiceCorpNum - 연동회원 사업자번호UserID - 연동회원 유저아이디PopbillExceptionprotected String toJsonString(Object Graph)
Graph - protected <T> T fromJsonString(String json, Class<T> clazz)
json - clazz - protected <T> T httppost(String url, String CorpNum, String PostData, String UserID, Class<T> clazz) throws PopbillException
url - CorpNum - PostData - UserID - clazz - PopbillExceptionprotected <T> T httppost(String url, String CorpNum, String PostData, String UserID, String Action, Class<T> clazz) throws PopbillException
url - CorpNum - PostData - UserID - Action - clazz - PopbillExceptionprotected <T> T httpBulkPost(String url, String CorpNum, String SubmitID, String PostData, String UserID, String Action, Class<T> clazz) throws PopbillException
PopbillExceptionprotected <T> T httppost(String url, String CorpNum, String PostData, String UserID, String Action, Class<T> clazz, String ContentType) throws PopbillException
url - CorpNum - PostData - UserID - Action - clazz - ContentType - PopbillExceptionprotected <T> T httppostFiles(String url, String CorpNum, String form, List<BaseServiceImp.UploadFile> files, String UserID, Class<T> clazz) throws PopbillException
url - CorpNum - form - files - UserID - clazz - PopbillExceptionprotected <T> T httpget(String url, String CorpNum, String UserID, Class<T> clazz) throws PopbillException
url - CorpNum - UserID - clazz - PopbillExceptionCopyright © 2023. All rights reserved.