@yolo-croket-dev/amqp-access 0.7.54-jun.15 → 0.7.54-jun.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/order-server/dto/nicepay/query/get-card-interest-free.dto.d.ts +31 -0
- package/order-server/dto/nicepay/query/get-card-interest-free.dto.js +20 -0
- package/order-server/dto/nicepay/query/index.d.ts +1 -0
- package/order-server/dto/nicepay/query/index.js +1 -0
- package/order-server/services/amqp.nicepay.service.d.ts +3 -1
- package/order-server/services/amqp.nicepay.service.js +4 -0
- package/package.json +1 -1
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @author jun
|
|
3
|
+
* @description NicePay 카드 무이자 할부 정보 조회 DTO
|
|
4
|
+
* @process NicePay 무이자 정보 조회 API 응답 body를 정의
|
|
5
|
+
*/
|
|
6
|
+
/**
|
|
7
|
+
* @description NicePay 카드 무이자 할부 정보 조회 응답 data 상세 항목
|
|
8
|
+
*/
|
|
9
|
+
export declare class GetCardInterestFreeDataItem {
|
|
10
|
+
/** 카드사코드 */
|
|
11
|
+
FnCd: string;
|
|
12
|
+
/** 카드사명 */
|
|
13
|
+
FnNm: string;
|
|
14
|
+
/** 개월 수 */
|
|
15
|
+
instmntMon: string;
|
|
16
|
+
/** 할부 유형 */
|
|
17
|
+
instmntType: string;
|
|
18
|
+
/** 최소 금액 */
|
|
19
|
+
minAmt: string;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* @description NicePay 카드 무이자 할부 정보 조회 Result
|
|
23
|
+
*/
|
|
24
|
+
export declare class GetCardInterestFreeResult {
|
|
25
|
+
/** 대상일자 (yyyymmdd) */
|
|
26
|
+
targetDt: string;
|
|
27
|
+
/** 데이터 Count */
|
|
28
|
+
dataCnt: string;
|
|
29
|
+
/** 무이자 할부 데이터 */
|
|
30
|
+
data: GetCardInterestFreeDataItem[];
|
|
31
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* @author jun
|
|
4
|
+
* @description NicePay 카드 무이자 할부 정보 조회 DTO
|
|
5
|
+
* @process NicePay 무이자 정보 조회 API 응답 body를 정의
|
|
6
|
+
*/
|
|
7
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
+
exports.GetCardInterestFreeResult = exports.GetCardInterestFreeDataItem = void 0;
|
|
9
|
+
/**
|
|
10
|
+
* @description NicePay 카드 무이자 할부 정보 조회 응답 data 상세 항목
|
|
11
|
+
*/
|
|
12
|
+
class GetCardInterestFreeDataItem {
|
|
13
|
+
}
|
|
14
|
+
exports.GetCardInterestFreeDataItem = GetCardInterestFreeDataItem;
|
|
15
|
+
/**
|
|
16
|
+
* @description NicePay 카드 무이자 할부 정보 조회 Result
|
|
17
|
+
*/
|
|
18
|
+
class GetCardInterestFreeResult {
|
|
19
|
+
}
|
|
20
|
+
exports.GetCardInterestFreeResult = GetCardInterestFreeResult;
|
|
@@ -15,3 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./get-nicepay-billing-auth-form.dto"), exports);
|
|
18
|
+
__exportStar(require("./get-card-interest-free.dto"), exports);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ClientProxy } from '@nestjs/microservices';
|
|
2
2
|
import { AbstractParam } from '@yolo-croket-dev/core';
|
|
3
|
-
import { GetNicepayBillingAuthFormPayload, GetNicepayBillingAuthFormResult, IssueBillingKeyPayload, IssueBillingKeyResult, RegisterBillingCardPayload, RegisterBillingCardResult } from '../dto/nicepay';
|
|
3
|
+
import { GetNicepayBillingAuthFormPayload, GetNicepayBillingAuthFormResult, IssueBillingKeyPayload, IssueBillingKeyResult, RegisterBillingCardPayload, RegisterBillingCardResult, GetCardInterestFreeResult } from '../dto/nicepay';
|
|
4
4
|
/**
|
|
5
5
|
* @author jun
|
|
6
6
|
* @description NicePay 관련 AMQP 서비스
|
|
@@ -16,4 +16,6 @@ export declare class AmqpNicepayService {
|
|
|
16
16
|
issueBillingKey(payload: IssueBillingKeyPayload, param: AbstractParam): Promise<IssueBillingKeyResult>;
|
|
17
17
|
/** NicePay 빌링키 발급 + 유저 카드 정보 등록 */
|
|
18
18
|
registerBillingCard(payload: RegisterBillingCardPayload, param: AbstractParam): Promise<RegisterBillingCardResult>;
|
|
19
|
+
/** NicePay 카드 무이자 할부 정보 조회 */
|
|
20
|
+
getCardInterestFree(param: AbstractParam): Promise<GetCardInterestFreeResult>;
|
|
19
21
|
}
|
|
@@ -38,6 +38,10 @@ let AmqpNicepayService = class AmqpNicepayService {
|
|
|
38
38
|
async registerBillingCard(payload, param) {
|
|
39
39
|
return this.amqpManager.call('NicePay 빌링키 발급 + 유저 카드 등록', 'nicepay.register.billing-card', payload, param, { isErrorThrowing: true });
|
|
40
40
|
}
|
|
41
|
+
/** NicePay 카드 무이자 할부 정보 조회 */
|
|
42
|
+
async getCardInterestFree(param) {
|
|
43
|
+
return this.amqpManager.call('NicePay 카드 무이자 할부 정보 조회', 'nicepay.get.card-interest-free', {}, param, { isErrorThrowing: true });
|
|
44
|
+
}
|
|
41
45
|
};
|
|
42
46
|
exports.AmqpNicepayService = AmqpNicepayService;
|
|
43
47
|
exports.AmqpNicepayService = AmqpNicepayService = __decorate([
|