부가서비스
- 링크결제 결제신청 API 연결
This commit is contained in:
@@ -215,6 +215,21 @@ export enum LinkPaymentSendingStatus {
|
||||
SEND_CANCEL = "SEND_CANCEL"
|
||||
}
|
||||
|
||||
export enum IdentityType {
|
||||
INDIVIDUAL = "INDIVIDUAL",
|
||||
CORPORATE = "CORPORATE"
|
||||
}
|
||||
|
||||
export enum Language {
|
||||
KR = "KR",
|
||||
EN = "EN"
|
||||
}
|
||||
|
||||
export enum LinkContentType {
|
||||
BASIC = "BASIC",
|
||||
ADDITIONAL = "ADDITIONAL"
|
||||
}
|
||||
|
||||
export interface LinkPaymentHistoryListItem {
|
||||
tid?: string;
|
||||
// TODO : buyerName 필요
|
||||
@@ -396,6 +411,45 @@ export interface ExtensionLinkPayHistoryDownloadExcelRespone {
|
||||
status: boolean;
|
||||
}
|
||||
|
||||
export interface ExtensionLinkPayRequestParams extends ExtensionRequestParams {
|
||||
sendMethod: string;
|
||||
goodsName: string;
|
||||
amount: number;
|
||||
moid: string;
|
||||
paymentExpiryDate: string;
|
||||
buyerName: string;
|
||||
email: string;
|
||||
phoneNumber: string;
|
||||
isIdentity: boolean;
|
||||
identityType: IdentityType;
|
||||
identityValue: string;
|
||||
language: Language;
|
||||
linkContentType: LinkContentType;
|
||||
}
|
||||
|
||||
export interface ExtensionLinkPayRequestResponse {
|
||||
status: boolean
|
||||
}
|
||||
|
||||
export interface LinkPaymentFormData {
|
||||
// Step 1
|
||||
mid: string;
|
||||
sendMethod: LinkPaymentSendMethod;
|
||||
goodsName: string;
|
||||
amount: number;
|
||||
moid: string;
|
||||
paymentExpiryDate: string;
|
||||
// Step 2
|
||||
buyerName: string;
|
||||
email: string;
|
||||
phoneNumber: string;
|
||||
isIdentity: boolean;
|
||||
identityType: IdentityType;
|
||||
identityValue: string;
|
||||
language: Language;
|
||||
linkContentType: LinkContentType;
|
||||
}
|
||||
|
||||
export interface ExtensionLinkPayHistoryDetailParams extends ExtensionRequestParams {
|
||||
tid: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user