@portone/browser-sdk 0.0.22 → 0.0.24
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/dist/v2/entity/Address.d.ts +24 -4
- package/dist/v2/entity/Bank.d.ts +276 -2
- package/dist/v2/entity/BillingKeyAndPayMethod.d.ts +10 -1
- package/dist/v2/entity/BillingKeyMethod.d.ts +19 -1
- package/dist/v2/entity/CardCompany.d.ts +76 -1
- package/dist/v2/entity/Carrier.d.ts +22 -7
- package/dist/v2/entity/CashReceiptType.d.ts +16 -1
- package/dist/v2/entity/ChannelGroupId.d.ts +8 -0
- package/dist/v2/entity/ChannelKey.d.ts +10 -0
- package/dist/v2/entity/Country.d.ts +758 -1
- package/dist/v2/entity/Currency.d.ts +546 -4
- package/dist/v2/entity/Customer.d.ts +90 -15
- package/dist/v2/entity/EasyPayPaymentMethod.d.ts +19 -1
- package/dist/v2/entity/EasyPayProvider.d.ts +157 -1
- package/dist/v2/entity/FreeInstallmentPlan.d.ts +25 -4
- package/dist/v2/entity/Gender.d.ts +16 -1
- package/dist/v2/entity/GiftCertificateType.d.ts +20 -2
- package/dist/v2/entity/Iframe.d.ts +9 -0
- package/dist/v2/entity/Installment.d.ts +53 -20
- package/dist/v2/entity/InstallmentMonthOption.d.ts +41 -0
- package/dist/v2/entity/IssueBillingKeyUIType.d.ts +1 -1
- package/dist/v2/entity/Locale.d.ts +63 -1
- package/dist/v2/entity/OfferPeriod.d.ts +30 -12
- package/dist/v2/entity/OfferPeriodRange.d.ts +7 -0
- package/dist/v2/entity/OfferPeriodRangeFrom.d.ts +9 -0
- package/dist/v2/entity/OfferPeriodRangeFromTo.d.ts +13 -0
- package/dist/v2/entity/OfferPeriodRangeTo.d.ts +9 -0
- package/dist/v2/entity/PayMethod.d.ts +27 -1
- package/dist/v2/entity/PaymentCurrency.d.ts +191 -0
- package/dist/v2/entity/PaymentOrderName.d.ts +4 -0
- package/dist/v2/entity/PaymentPayMethod.d.ts +53 -0
- package/dist/v2/entity/PaymentTotalAmount.d.ts +14 -0
- package/dist/v2/entity/PaymentUIType.d.ts +1 -1
- package/dist/v2/entity/PgCode.d.ts +6 -0
- package/dist/v2/entity/PgMessage.d.ts +6 -0
- package/dist/v2/entity/PgProvider.d.ts +7 -52
- package/dist/v2/entity/Popup.d.ts +10 -1
- package/dist/v2/entity/Product.d.ts +36 -3
- package/dist/v2/entity/ProductType.d.ts +11 -4
- package/dist/v2/entity/RedirectUrl.d.ts +6 -0
- package/dist/v2/entity/StoreDetails.d.ts +59 -20
- package/dist/v2/entity/StoreDetailsOpeningHours.d.ts +13 -0
- package/dist/v2/entity/StoreId.d.ts +6 -0
- package/dist/v2/entity/TaxFreeAmount.d.ts +6 -0
- package/dist/v2/entity/TransactionType.d.ts +26 -5
- package/dist/v2/entity/VatAmount.d.ts +6 -0
- package/dist/v2/entity/WindowType.d.ts +1 -9
- package/dist/v2/entity/WindowTypes.d.ts +18 -0
- package/dist/v2/entity/bypass/IdentityVerificationBypass.d.ts +20 -0
- package/dist/v2/entity/bypass/IssueBillingKeyAndPayBypass.d.ts +17 -0
- package/dist/v2/entity/bypass/IssueBillingKeyBypass.d.ts +37 -0
- package/dist/v2/entity/bypass/LoadIssueBillingKeyUIBypass.d.ts +7 -0
- package/dist/v2/entity/bypass/LoadPaymentUIBypass.d.ts +7 -0
- package/dist/v2/entity/bypass/PaymentBypass.d.ts +92 -0
- package/dist/v2/entity/bypass/identityVerification/Danal.d.ts +21 -14
- package/dist/v2/entity/bypass/identityVerification/InicisUnified.d.ts +30 -11
- package/dist/v2/entity/bypass/identityVerification/InicisUnifiedDirectAgency.d.ts +69 -0
- package/dist/v2/entity/bypass/identityVerification/InicisUnifiedFlgFixedUser.d.ts +19 -0
- package/dist/v2/entity/bypass/identityVerification/KcpV2.d.ts +5 -2
- package/dist/v2/entity/bypass/identityVerification/index.d.ts +5 -8
- package/dist/v2/entity/bypass/index.d.ts +12 -0
- package/dist/v2/entity/bypass/issueBillingKey/InicisV2.d.ts +7 -5
- package/dist/v2/entity/bypass/issueBillingKey/InicisV2CardUse.d.ts +17 -0
- package/dist/v2/entity/bypass/issueBillingKey/KcpV2.d.ts +6 -2
- package/dist/v2/entity/bypass/issueBillingKey/KcpV2BatchSocChoice.d.ts +17 -0
- package/dist/v2/entity/bypass/issueBillingKey/Naverpay.d.ts +9 -4
- package/dist/v2/entity/bypass/issueBillingKey/SmartroV2.d.ts +11 -4
- package/dist/v2/entity/bypass/issueBillingKey/SmartroV2IsPwdPass.d.ts +17 -0
- package/dist/v2/entity/bypass/issueBillingKey/SmartroV2SkinColor.d.ts +13 -0
- package/dist/v2/entity/bypass/issueBillingKey/TosspayV2.d.ts +5 -3
- package/dist/v2/entity/bypass/issueBillingKey/Welcome.d.ts +12 -5
- package/dist/v2/entity/bypass/issueBillingKey/index.d.ts +10 -16
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2.d.ts +25 -28
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2BillTo.d.ts +37 -0
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2Merchant.d.ts +6 -0
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2Payment.d.ts +13 -0
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2ShipTo.d.ts +37 -0
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/EximbayV2Surcharge.d.ts +14 -0
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/PayletterGlobal.d.ts +16 -6
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/Welcome.d.ts +50 -52
- package/dist/v2/entity/bypass/issueBillingKeyAndPay/index.d.ts +8 -8
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2.d.ts +15 -22
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2AdditionalData.d.ts +4 -0
- package/dist/v2/entity/bypass/{PaypalV2Country.d.ts → loadIssueBillingKeyUI/PaypalV2Country.d.ts} +7 -1
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2ShippingAddress.d.ts +31 -0
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2Style.d.ts +33 -0
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleColor.d.ts +14 -0
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleLabel.d.ts +16 -0
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleLayout.d.ts +11 -0
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/PaypalV2StyleShape.d.ts +11 -0
- package/dist/v2/entity/bypass/loadIssueBillingKeyUI/index.d.ts +9 -4
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2.d.ts +28 -55
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2AdditionalData.d.ts +4 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2Payer.d.ts +9 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PayerAddress.d.ts +18 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PayerTaxInfo.d.ts +10 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PurchaseUnit.d.ts +7 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PurchaseUnitShipping.d.ts +10 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2PurchaseUnitShippingAddress.d.ts +21 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2Style.d.ts +37 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleColor.d.ts +14 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleLabel.d.ts +16 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleLayout.d.ts +11 -0
- package/dist/v2/entity/bypass/loadPaymentUI/PaypalV2StyleShape.d.ts +11 -0
- package/dist/v2/entity/bypass/loadPaymentUI/index.d.ts +13 -4
- package/dist/v2/entity/bypass/payment/EximbayV2.d.ts +38 -41
- package/dist/v2/entity/bypass/payment/EximbayV2BillTo.d.ts +37 -0
- package/dist/v2/entity/bypass/payment/EximbayV2Merchant.d.ts +13 -0
- package/dist/v2/entity/bypass/payment/EximbayV2Payment.d.ts +13 -0
- package/dist/v2/entity/bypass/payment/EximbayV2Settings.d.ts +18 -0
- package/dist/v2/entity/bypass/payment/EximbayV2SettingsCallFromApp.d.ts +11 -0
- package/dist/v2/entity/bypass/payment/EximbayV2ShipTo.d.ts +37 -0
- package/dist/v2/entity/bypass/payment/EximbayV2Surcharge.d.ts +14 -0
- package/dist/v2/entity/bypass/payment/EximbayV2Tax.d.ts +10 -0
- package/dist/v2/entity/bypass/payment/EximbayV2TaxReceiptStatus.d.ts +11 -0
- package/dist/v2/entity/bypass/payment/Hyphen.d.ts +5 -1
- package/dist/v2/entity/bypass/payment/HyphenDesignCd.d.ts +1 -0
- package/dist/v2/entity/bypass/payment/InicisJp.d.ts +8 -23
- package/dist/v2/entity/bypass/payment/InicisJpPaymentUI.d.ts +33 -0
- package/dist/v2/entity/bypass/payment/InicisV2.d.ts +111 -78
- package/dist/v2/entity/bypass/payment/Kakaopay.d.ts +7 -1
- package/dist/v2/entity/bypass/payment/KcpV2.d.ts +23 -10
- package/dist/v2/entity/bypass/payment/KcpV2ComplexPnt.d.ts +11 -0
- package/dist/v2/entity/bypass/payment/KcpV2DispTax.d.ts +13 -0
- package/dist/v2/entity/bypass/payment/Kpn.d.ts +7 -9
- package/dist/v2/entity/bypass/payment/KpnCardSelect.d.ts +19 -0
- package/dist/v2/entity/bypass/payment/Ksnet.d.ts +10 -4
- package/dist/v2/entity/bypass/payment/KsnetSndQpayType.d.ts +17 -0
- package/dist/v2/entity/bypass/payment/Naverpay.d.ts +16 -27
- package/dist/v2/entity/bypass/payment/NaverpayProductItem.d.ts +39 -0
- package/dist/v2/entity/bypass/payment/NaverpayProductItemPayReferrer.d.ts +19 -0
- package/dist/v2/entity/bypass/payment/NaverpaySubMerchantInfo.d.ts +29 -0
- package/dist/v2/entity/bypass/payment/NiceV2.d.ts +48 -22
- package/dist/v2/entity/bypass/payment/NiceV2DirectCoupon.d.ts +21 -0
- package/dist/v2/entity/bypass/payment/NiceV2DirectShow.d.ts +17 -0
- package/dist/v2/entity/bypass/payment/NiceV2DisableScroll.d.ts +11 -0
- package/dist/v2/entity/bypass/payment/NiceV2SamPayMallType.d.ts +17 -0
- package/dist/v2/entity/bypass/payment/NiceV2SkinType.d.ts +18 -0
- package/dist/v2/entity/bypass/payment/PayletterGlobal.d.ts +16 -6
- package/dist/v2/entity/bypass/payment/PaypalV2.d.ts +15 -47
- package/dist/v2/entity/bypass/payment/PaypalV2PaymentSource.d.ts +4 -0
- package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypal.d.ts +4 -0
- package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContext.d.ts +9 -0
- package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContextLandingPage.d.ts +6 -0
- package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference.d.ts +5 -0
- package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContextShippingPreference.d.ts +6 -0
- package/dist/v2/entity/bypass/payment/SmartroV2.d.ts +19 -5
- package/dist/v2/entity/bypass/payment/SmartroV2OpenType.d.ts +15 -0
- package/dist/v2/entity/bypass/payment/SmartroV2SkinColor.d.ts +17 -0
- package/dist/v2/entity/bypass/payment/TossBrandpay.d.ts +17 -40
- package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptions.d.ts +7 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUi.d.ts +18 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUiButtonStyle.d.ts +23 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUiLabels.d.ts +6 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayBrandpayOptionsUiNavigationBar.d.ts +10 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptions.d.ts +16 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsMethodType.d.ts +11 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUi.d.ts +4 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUiPromotionSection.d.ts +6 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUiPromotionSectionDescription.d.ts +10 -0
- package/dist/v2/entity/bypass/payment/TossBrandpayWidgetOptionsUiPromotionSectionSummary.d.ts +6 -0
- package/dist/v2/entity/bypass/payment/TosspayV2.d.ts +8 -7
- package/dist/v2/entity/bypass/payment/TosspayV2CashReceiptTradeOption.d.ts +29 -0
- package/dist/v2/entity/bypass/payment/Tosspayments.d.ts +9 -4
- package/dist/v2/entity/bypass/payment/Welcome.d.ts +84 -96
- package/dist/v2/entity/bypass/payment/index.d.ts +60 -36
- package/dist/v2/entity/index.d.ts +50 -36
- package/dist/v2/exception/CheckoutServiceErrorCode.d.ts +11 -1
- package/dist/v2/exception/GrpcErrorCode.d.ts +71 -1
- package/dist/v2/exception/IdentityVerificationError.d.ts +57 -10
- package/dist/v2/exception/IssueBillingKeyAndPayError.d.ts +60 -14
- package/dist/v2/exception/IssueBillingKeyError.d.ts +55 -9
- package/dist/v2/exception/LoadIssueBillingKeyUIError.d.ts +27 -2
- package/dist/v2/exception/LoadPaymentUIError.d.ts +27 -2
- package/dist/v2/exception/ModuleError.d.ts +22 -3
- package/dist/v2/exception/PaymentError.d.ts +57 -10
- package/dist/v2/exception/TxServiceIdentityVerificationErrorCode.d.ts +11 -1
- package/dist/v2/exception/TxServiceIssueErrorCode.d.ts +12 -1
- package/dist/v2/exception/TxServicePayErrorCode.d.ts +16 -1
- package/dist/v2/exception/index.d.ts +5 -0
- package/dist/v2/index.d.ts +14 -11
- package/dist/v2/loadIssueBillingKeyUI.d.ts +3 -22
- package/dist/v2/loadPaymentUI.d.ts +3 -34
- package/dist/v2/loader.d.ts +20 -15
- package/dist/v2/request/IdentityVerificationRequest.d.ts +66 -0
- package/dist/v2/request/IssueBillingKeyAndPayRequest.d.ts +3 -0
- package/dist/v2/request/IssueBillingKeyAndPayRequestBase.d.ts +207 -0
- package/dist/v2/request/IssueBillingKeyAndPayRequestUnion.d.ts +4 -0
- package/dist/v2/request/IssueBillingKeyAndPayRequestUnionMobile.d.ts +11 -0
- package/dist/v2/request/IssueBillingKeyRequest.d.ts +3 -0
- package/dist/v2/request/IssueBillingKeyRequestBase.d.ts +142 -0
- package/dist/v2/request/IssueBillingKeyRequestUnion.d.ts +10 -0
- package/dist/v2/request/IssueBillingKeyRequestUnionCard.d.ts +7 -0
- package/dist/v2/request/IssueBillingKeyRequestUnionEasyPay.d.ts +17 -0
- package/dist/v2/request/IssueBillingKeyRequestUnionMobile.d.ts +11 -0
- package/dist/v2/request/IssueBillingKeyRequestUnionPaypal.d.ts +1 -0
- package/dist/v2/request/LoadIssueBillingKeyUIRequest.d.ts +84 -0
- package/dist/v2/request/LoadPaymentUIRequest.d.ts +198 -0
- package/dist/v2/request/PaymentRequest.d.ts +3 -0
- package/dist/v2/request/PaymentRequestBase.d.ts +253 -0
- package/dist/v2/request/PaymentRequestUnion.d.ts +35 -0
- package/dist/v2/request/PaymentRequestUnionAlipay.d.ts +1 -0
- package/dist/v2/request/PaymentRequestUnionCard.d.ts +79 -0
- package/dist/v2/request/PaymentRequestUnionConvenienceStore.d.ts +7 -0
- package/dist/v2/request/PaymentRequestUnionConvenienceStorePaymentDeadline.d.ts +16 -0
- package/dist/v2/request/PaymentRequestUnionEasyPay.d.ts +110 -0
- package/dist/v2/request/PaymentRequestUnionGiftCertificate.d.ts +10 -0
- package/dist/v2/request/PaymentRequestUnionMobile.d.ts +16 -0
- package/dist/v2/request/PaymentRequestUnionPaypal.d.ts +1 -0
- package/dist/v2/request/PaymentRequestUnionTransfer.d.ts +23 -0
- package/dist/v2/request/PaymentRequestUnionVirtualAccount.d.ts +45 -0
- package/dist/v2/request/PaymentRequestUnionVirtualAccountAccountExpiry.d.ts +25 -0
- package/dist/v2/request/PaymentRequestUnionVirtualAccountFixedOption.d.ts +14 -0
- package/dist/v2/request/index.d.ts +29 -0
- package/dist/v2/requestIdentityVerification.d.ts +2 -27
- package/dist/v2/requestIssueBillingKey.d.ts +2 -55
- package/dist/v2/requestIssueBillingKeyAndPay.d.ts +2 -55
- package/dist/v2/requestPayment.d.ts +2 -109
- package/dist/v2/response/IdentityVerificationResponse.d.ts +49 -0
- package/dist/v2/response/IssueBillingKeyAndPayResponse.d.ts +53 -0
- package/dist/v2/response/IssueBillingKeyResponse.d.ts +41 -0
- package/dist/v2/response/PaymentResponse.d.ts +47 -0
- package/dist/v2/response/index.d.ts +4 -0
- package/dist/v2/updateLoadIssueBillingKeyUIRequest.d.ts +1 -1
- package/dist/v2/updateLoadPaymentUIRequest.d.ts +1 -1
- package/dist/v2.cjs +3230 -343
- package/dist/v2.js +3179 -344
- package/package.json +8 -8
|
@@ -1,108 +1,96 @@
|
|
|
1
|
-
type WelcomeCarrier = 'SKT' | 'KTF' | 'LGT' | 'MVNO' | 'CJH' | 'KCT' | 'SKL';
|
|
2
1
|
/**
|
|
3
|
-
*
|
|
4
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
2
|
+
* 웰컴페이먼츠 bypass 파라미터
|
|
5
3
|
*/
|
|
6
|
-
export type WelcomePaymentBypass =
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
* 기본) #c1272c
|
|
16
|
-
* 예시) SKIN(#fc6b2d)
|
|
17
|
-
*/
|
|
18
|
-
`SKIN(${string})` | 'below1000'
|
|
19
|
-
/**
|
|
20
|
-
* 카드 결제창 내 렌더링 될 간편 결제 리스트
|
|
21
|
-
* 예시) 카카오페이, 엘페이, 페이코만 렌더링 → onlyeasypaycode(kakaopay:lpay:payco) 전달
|
|
22
|
-
*
|
|
23
|
-
* - 카카오페이: kakaopay
|
|
24
|
-
* - 엘페이: lpay
|
|
25
|
-
* - 페이코: payco
|
|
26
|
-
* - 토스페이: tosspay
|
|
27
|
-
*/
|
|
28
|
-
| `onlyeasypaycode(${string})`
|
|
29
|
-
/**
|
|
30
|
-
* 부분 무이자 할부 옵션
|
|
31
|
-
* 형식) SLIMQUOTA(코드-개월:개월^코드-개월:개월)
|
|
32
|
-
*/
|
|
33
|
-
| `SLIMQUOTA(${string})` | 'paypopup'
|
|
34
|
-
/**
|
|
35
|
-
* 휴대폰 소액결제시 기본 선택 되어있는 통신사
|
|
36
|
-
* 기본) 기본 선택되어있는 통신사 없음
|
|
37
|
-
* 예시) KT 기본 선택 → hppdefaultcorp(KT) 전달
|
|
38
|
-
*
|
|
39
|
-
* - SKT: SKT
|
|
40
|
-
* - KT: KTF
|
|
41
|
-
* - LG 유플러스: LGT
|
|
42
|
-
* - 알뜰폰 전체: MVNO
|
|
43
|
-
* - 알뜰폰 CJ 헬로 모바일: CJH
|
|
44
|
-
* - 알뜰폰 티플러스: KCT
|
|
45
|
-
* - 알뜰폰 SK 세븐 모바일: SKL
|
|
46
|
-
*/
|
|
47
|
-
| `hppdefaultcorp(${WelcomeCarrier})`
|
|
48
|
-
/**
|
|
49
|
-
* 휴대폰 소액결제창에 자동 입력되는 buyer_tel값을 수정할 수 있는지 여부
|
|
50
|
-
* 기본) 수정 가능
|
|
51
|
-
*
|
|
52
|
-
* - Y: 수정 불가능
|
|
53
|
-
* - N: 수정 가능
|
|
54
|
-
*/
|
|
55
|
-
| `hppnofix(${'Y' | 'N'})` | 'va_ckprice';
|
|
56
|
-
type WelcomePaymentBypassOnMobile = {
|
|
4
|
+
export type WelcomePaymentBypass = {
|
|
5
|
+
/**
|
|
6
|
+
* 메인 로고 URL (크기: 89x19)
|
|
7
|
+
*/
|
|
8
|
+
logo_url?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* 서브 로고 URL (크기: 64x13)
|
|
11
|
+
*/
|
|
12
|
+
logo_2nd?: string | undefined;
|
|
57
13
|
/**
|
|
58
|
-
*
|
|
59
|
-
*
|
|
14
|
+
* 다양한 결제 옵션을 설정하기 위한 파라미터 배열입니다.
|
|
15
|
+
*
|
|
16
|
+
* 가능한 값들은 다음과 같습니다:
|
|
60
17
|
*
|
|
61
|
-
* -
|
|
18
|
+
* - **SKIN(#색상코드)**: 결제 창의 배경 색상 설정 (기본값: #c1272c)
|
|
19
|
+
* - 예시: `SKIN(#fc6b2d)`
|
|
20
|
+
* - **below1000**: 1,000원 미만 결제 허용 여부
|
|
21
|
+
* - **onlyeasypaycode(간편결제코드들)**: 카드 결제창에 렌더링될 간편 결제 리스트 지정
|
|
22
|
+
* - 예시: `onlyeasypaycode(kakaopay:lpay:payco)`
|
|
23
|
+
* - 간편결제코드:
|
|
24
|
+
* - 카카오페이: `kakaopay`
|
|
25
|
+
* - 엘페이: `lpay`
|
|
26
|
+
* - 페이코: `payco`
|
|
27
|
+
* - 토스페이: `tosspay`
|
|
28
|
+
* - **SLIMQUOTA(코드-개월:개월^코드-개월:개월)**: 부분 무이자 할부 옵션
|
|
29
|
+
* - 형식: `SLIMQUOTA(카드코드-할부개월:부분무이자개월^...)`
|
|
30
|
+
* - **paypopup**: 안심 클릭을 팝업 형태로 렌더링 할지 여부
|
|
31
|
+
* - **hppdefaultcorp(통신사코드)**: 휴대폰 소액결제 시 기본 선택 통신사 지정
|
|
32
|
+
* - 예시: `hppdefaultcorp(KTF)`
|
|
33
|
+
* - 통신사코드:
|
|
34
|
+
* - `SKT`: SK 텔레콤
|
|
35
|
+
* - `KTF`: KT
|
|
36
|
+
* - `LGT`: LG 유플러스
|
|
37
|
+
* - `MVNO`: 알뜰폰 전체
|
|
38
|
+
* - `CJH`: 알뜰폰 CJ 헬로 모바일
|
|
39
|
+
* - `KCT`: 알뜰폰 티플러스
|
|
40
|
+
* - `SKL`: 알뜰폰 SK 세븐 모바일
|
|
41
|
+
* - **hppnofix(Y|N)**: 휴대폰 소액결제창에 자동 입력되는 `buyer_tel` 값을 수정할 수 있는지 여부
|
|
42
|
+
* - `Y`: 수정 불가능
|
|
43
|
+
* - `N`: 수정 가능 (기본값)
|
|
44
|
+
* - **va\_ckprice**: 가상계좌 발급 시, 주민번호 채번할 때 금액 체크 기능
|
|
45
|
+
*/
|
|
46
|
+
acceptmethod?: string[] | undefined;
|
|
47
|
+
/**
|
|
48
|
+
* 1. **신용카드 우선 선택 옵션**
|
|
49
|
+
*
|
|
50
|
+
* - 예시: `selcode=14`
|
|
51
|
+
* - 해당 카드 코드에 해당하는 카드가 선택된 채로 표시
|
|
62
52
|
* - 간편결제는 불가능 (타 카드 선택 가능)
|
|
63
53
|
*
|
|
64
|
-
* 2.
|
|
65
|
-
*
|
|
66
|
-
*
|
|
54
|
+
* 2. **선택적 표시 옵션**
|
|
55
|
+
*
|
|
56
|
+
* - 예시 1: `onlycard=visa3d`
|
|
57
|
+
* - 예시 2: `selcode=14:onlycard=visa3d`
|
|
58
|
+
* - 선택적 표시 가능 결제 방식:
|
|
59
|
+
* - 안심결제: `visa3d`
|
|
60
|
+
* - ISP: `isp`
|
|
61
|
+
* - 간편결제: `easypay`
|
|
62
|
+
*/
|
|
63
|
+
P_CARD_OPTION?: string | undefined;
|
|
64
|
+
/**
|
|
65
|
+
* 카드 결제창에 렌더링될 간편 결제 리스트를 지정합니다.
|
|
66
|
+
*
|
|
67
|
+
* 예시: 카카오페이, 엘페이, 페이코만 렌더링 → `KAKAOPAY:LPAY:PAYCO`
|
|
67
68
|
*
|
|
68
|
-
* -
|
|
69
|
-
* -
|
|
70
|
-
* -
|
|
69
|
+
* - 카카오페이: `KAKAOPAY`
|
|
70
|
+
* - 엘페이: `LPAY`
|
|
71
|
+
* - 페이코: `PAYCO`
|
|
72
|
+
* - 토스페이: `TOSSPAY`
|
|
71
73
|
*/
|
|
72
|
-
|
|
74
|
+
P_ONLY_EASYPAYCODE?: string | undefined;
|
|
73
75
|
/**
|
|
74
|
-
*
|
|
75
|
-
* 예시) 카카오페이, 엘페이, 페이코만 렌더링 → KAKAOPAY:LPAY:PAYCO 전달
|
|
76
|
+
* 결제창 동작을 제어하기 위한 파라미터들을 설정하는 배열입니다.
|
|
76
77
|
*
|
|
77
|
-
*
|
|
78
|
-
*
|
|
79
|
-
* -
|
|
80
|
-
* -
|
|
78
|
+
* 가능한 값들은 다음과 같습니다:
|
|
79
|
+
*
|
|
80
|
+
* - **below1000=Y**: 1,000원 미만 결제 허용 여부
|
|
81
|
+
* - **hpp\_default\_corp=통신사코드**: 휴대폰 소액결제 시 기본 선택 통신사 지정
|
|
82
|
+
* - 예시: `hpp_default_corp=KTF`
|
|
83
|
+
* - 통신사코드:
|
|
84
|
+
* - `SKT`: SK 텔레콤
|
|
85
|
+
* - `KTF`: KT
|
|
86
|
+
* - `LGT`: LG 유플러스
|
|
87
|
+
* - `MVNO`: 알뜰폰 전체
|
|
88
|
+
* - `CJH`: 알뜰폰 CJ 헬로 모바일
|
|
89
|
+
* - `KCT`: 알뜰폰 티플러스
|
|
90
|
+
* - `SKL`: 알뜰폰 SK 세븐 모바일
|
|
91
|
+
* - **hpp\_nofix=Y|N**: 휴대폰 소액결제창에서 자동 입력된 `buyer_tel` 수정 가능 여부
|
|
92
|
+
* - `Y`: 수정 불가능
|
|
93
|
+
* - `N`: 수정 가능 (기본값)
|
|
81
94
|
*/
|
|
82
|
-
|
|
83
|
-
P_RESERVED?: PReservedKey[];
|
|
95
|
+
P_RESERVED?: string[] | undefined;
|
|
84
96
|
};
|
|
85
|
-
type PReservedKey = 'below1000=Y'
|
|
86
|
-
/**
|
|
87
|
-
* 휴대폰 소액결제시 기본 선택 되어있는 통신사
|
|
88
|
-
* 기본) 기본 선택 되어있는 통신사 없음
|
|
89
|
-
* 예시) KT 기본 선택 → hpp_default_corp=KT 전달
|
|
90
|
-
*
|
|
91
|
-
* - SKT: SKT
|
|
92
|
-
* - KT: KTF
|
|
93
|
-
* - LG 유플러스: LGT
|
|
94
|
-
* - 알뜰폰 전체: MVNO
|
|
95
|
-
* - 알뜰폰 CJ 헬로 모바일: CJH
|
|
96
|
-
* - 알뜰폰 티플러스: KCT
|
|
97
|
-
* - 알뜰폰 SK 세븐 모바일: SKL
|
|
98
|
-
*/
|
|
99
|
-
| `hpp_default_corp=${WelcomeCarrier}`
|
|
100
|
-
/**
|
|
101
|
-
* 휴대폰 소액결제창에 자동 입력되는 buyer_tel값을 수정할 수 있는지 여부
|
|
102
|
-
* 기본) 수정 가능
|
|
103
|
-
*
|
|
104
|
-
* - Y: 수정 불가능
|
|
105
|
-
* - N: 수정 가능
|
|
106
|
-
*/
|
|
107
|
-
| `hpp_nofix=${'Y' | 'N'}`;
|
|
108
|
-
export {};
|
|
@@ -1,36 +1,60 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
export
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
1
|
+
export * from './Tosspayments.js';
|
|
2
|
+
export * from './Ksnet.js';
|
|
3
|
+
export * from './PaypalV2.js';
|
|
4
|
+
export * from './PaypalV2PaymentSource.js';
|
|
5
|
+
export * from './PaypalV2PaymentSourcePaypal.js';
|
|
6
|
+
export * from './PaypalV2PaymentSourcePaypalExperienceContext.js';
|
|
7
|
+
export * from './PaypalV2PaymentSourcePaypalExperienceContextShippingPreference.js';
|
|
8
|
+
export * from './PaypalV2PaymentSourcePaypalExperienceContextLandingPage.js';
|
|
9
|
+
export * from './PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference.js';
|
|
10
|
+
export * from './Kakaopay.js';
|
|
11
|
+
export * from './SmartroV2.js';
|
|
12
|
+
export * from './Naverpay.js';
|
|
13
|
+
export * from './NiceV2.js';
|
|
14
|
+
export * from './TossBrandpay.js';
|
|
15
|
+
export * from './Welcome.js';
|
|
16
|
+
export * from './TosspayV2.js';
|
|
17
|
+
export * from './InicisV2.js';
|
|
18
|
+
export * from './Kpn.js';
|
|
19
|
+
export * from './KcpV2.js';
|
|
20
|
+
export * from './Hyphen.js';
|
|
21
|
+
export * from './EximbayV2.js';
|
|
22
|
+
export * from './InicisJp.js';
|
|
23
|
+
export * from './InicisJpPaymentUI.js';
|
|
24
|
+
export * from './KsnetSndQpayType.js';
|
|
25
|
+
export * from './SmartroV2SkinColor.js';
|
|
26
|
+
export * from './SmartroV2OpenType.js';
|
|
27
|
+
export * from './NaverpayProductItem.js';
|
|
28
|
+
export * from './NaverpaySubMerchantInfo.js';
|
|
29
|
+
export * from './NiceV2DisableScroll.js';
|
|
30
|
+
export * from './NiceV2SkinType.js';
|
|
31
|
+
export * from './NiceV2DirectCoupon.js';
|
|
32
|
+
export * from './NiceV2DirectShow.js';
|
|
33
|
+
export * from './NiceV2SamPayMallType.js';
|
|
34
|
+
export * from './TossBrandpayBrandpayOptions.js';
|
|
35
|
+
export * from './TossBrandpayWidgetOptions.js';
|
|
36
|
+
export * from './TosspayV2CashReceiptTradeOption.js';
|
|
37
|
+
export * from './KpnCardSelect.js';
|
|
38
|
+
export * from './KcpV2ComplexPnt.js';
|
|
39
|
+
export * from './KcpV2DispTax.js';
|
|
40
|
+
export * from './HyphenDesignCd.js';
|
|
41
|
+
export * from './EximbayV2Payment.js';
|
|
42
|
+
export * from './EximbayV2Merchant.js';
|
|
43
|
+
export * from './EximbayV2Tax.js';
|
|
44
|
+
export * from './EximbayV2Surcharge.js';
|
|
45
|
+
export * from './EximbayV2ShipTo.js';
|
|
46
|
+
export * from './EximbayV2BillTo.js';
|
|
47
|
+
export * from './EximbayV2Settings.js';
|
|
48
|
+
export * from './NaverpayProductItemPayReferrer.js';
|
|
49
|
+
export * from './TossBrandpayBrandpayOptionsUi.js';
|
|
50
|
+
export * from './TossBrandpayWidgetOptionsMethodType.js';
|
|
51
|
+
export * from './TossBrandpayWidgetOptionsUi.js';
|
|
52
|
+
export * from './EximbayV2TaxReceiptStatus.js';
|
|
53
|
+
export * from './EximbayV2SettingsCallFromApp.js';
|
|
54
|
+
export * from './TossBrandpayBrandpayOptionsUiButtonStyle.js';
|
|
55
|
+
export * from './TossBrandpayBrandpayOptionsUiLabels.js';
|
|
56
|
+
export * from './TossBrandpayBrandpayOptionsUiNavigationBar.js';
|
|
57
|
+
export * from './TossBrandpayWidgetOptionsUiPromotionSection.js';
|
|
58
|
+
export * from './TossBrandpayWidgetOptionsUiPromotionSectionSummary.js';
|
|
59
|
+
export * from './TossBrandpayWidgetOptionsUiPromotionSectionDescription.js';
|
|
60
|
+
export * from './PayletterGlobal.js';
|
|
@@ -1,36 +1,50 @@
|
|
|
1
|
-
export
|
|
2
|
-
export
|
|
3
|
-
export
|
|
4
|
-
export
|
|
5
|
-
export
|
|
6
|
-
export
|
|
7
|
-
export
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export
|
|
14
|
-
export
|
|
15
|
-
export
|
|
16
|
-
export
|
|
17
|
-
export
|
|
18
|
-
export
|
|
19
|
-
export
|
|
20
|
-
export
|
|
21
|
-
export
|
|
22
|
-
export
|
|
23
|
-
export
|
|
24
|
-
export
|
|
25
|
-
export
|
|
26
|
-
export
|
|
27
|
-
export
|
|
28
|
-
export
|
|
29
|
-
export
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
34
|
-
export
|
|
35
|
-
export
|
|
36
|
-
export
|
|
1
|
+
export * from './Address.js';
|
|
2
|
+
export * from './Bank.js';
|
|
3
|
+
export * from './BillingKeyAndPayMethod.js';
|
|
4
|
+
export * from './BillingKeyMethod.js';
|
|
5
|
+
export * from './CardCompany.js';
|
|
6
|
+
export * from './Carrier.js';
|
|
7
|
+
export * from './CashReceiptType.js';
|
|
8
|
+
export * from './Country.js';
|
|
9
|
+
export * from './Currency.js';
|
|
10
|
+
export * from './Customer.js';
|
|
11
|
+
export * from './EasyPayPaymentMethod.js';
|
|
12
|
+
export * from './EasyPayProvider.js';
|
|
13
|
+
export * from './FreeInstallmentPlan.js';
|
|
14
|
+
export * from './Gender.js';
|
|
15
|
+
export * from './GiftCertificateType.js';
|
|
16
|
+
export * from './Installment.js';
|
|
17
|
+
export * from './IssueBillingKeyUIType.js';
|
|
18
|
+
export * from './LoadableUIType.js';
|
|
19
|
+
export * from './Locale.js';
|
|
20
|
+
export * from './OfferPeriod.js';
|
|
21
|
+
export * from './PaymentUIType.js';
|
|
22
|
+
export * from './PaymentPayMethod.js';
|
|
23
|
+
export * from './PayMethod.js';
|
|
24
|
+
export * from './PgProvider.js';
|
|
25
|
+
export * from './TaxFreeAmount.js';
|
|
26
|
+
export * from './VatAmount.js';
|
|
27
|
+
export * from './Product.js';
|
|
28
|
+
export * from './ProductType.js';
|
|
29
|
+
export * from './StoreDetails.js';
|
|
30
|
+
export * from './StoreDetailsOpeningHours.js';
|
|
31
|
+
export * from './TransactionType.js';
|
|
32
|
+
export * from './WindowType.js';
|
|
33
|
+
export * from './WindowTypes.js';
|
|
34
|
+
export * from './StoreId.js';
|
|
35
|
+
export * from './ChannelKey.js';
|
|
36
|
+
export * from './ChannelGroupId.js';
|
|
37
|
+
export * from './PgCode.js';
|
|
38
|
+
export * from './PgMessage.js';
|
|
39
|
+
export * from './RedirectUrl.js';
|
|
40
|
+
export * from './PaymentOrderName.js';
|
|
41
|
+
export * from './PaymentTotalAmount.js';
|
|
42
|
+
export * from './PaymentCurrency.js';
|
|
43
|
+
export * from './Popup.js';
|
|
44
|
+
export * from './Iframe.js';
|
|
45
|
+
export * from './OfferPeriodRange.js';
|
|
46
|
+
export * from './OfferPeriodRangeFrom.js';
|
|
47
|
+
export * from './OfferPeriodRangeTo.js';
|
|
48
|
+
export * from './OfferPeriodRangeFromTo.js';
|
|
49
|
+
export * from './InstallmentMonthOption.js';
|
|
50
|
+
export * from './bypass/index.js';
|
|
@@ -1 +1,11 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const CheckoutServiceErrorCode: {
|
|
2
|
+
readonly BadRequest: "BadRequest";
|
|
3
|
+
readonly ParseChannelFailed: "ParseChannelFailed";
|
|
4
|
+
readonly ParseIdentityVerificationPrepareResponseFailed: "ParseIdentityVerificationPrepareResponseFailed";
|
|
5
|
+
readonly ParseIssuePrepareResponseFailed: "ParseIssuePrepareResponseFailed";
|
|
6
|
+
readonly ParsePgRawIdentityVerificationResponseFailed: "ParsePgRawIdentityVerificationResponseFailed";
|
|
7
|
+
readonly ParsePgRawIssueBillingKeyResponseFailed: "ParsePgRawIssueBillingKeyResponseFailed";
|
|
8
|
+
readonly ParsePgRawResponseFailed: "ParsePgRawResponseFailed";
|
|
9
|
+
readonly ParsePrepareResponseFailed: "ParsePrepareResponseFailed";
|
|
10
|
+
};
|
|
11
|
+
export type CheckoutServiceErrorCode = (typeof CheckoutServiceErrorCode)[keyof typeof CheckoutServiceErrorCode];
|
|
@@ -1 +1,71 @@
|
|
|
1
|
-
export
|
|
1
|
+
export declare const GrpcErrorCode: {
|
|
2
|
+
/**
|
|
3
|
+
* 0/200
|
|
4
|
+
*/
|
|
5
|
+
readonly Ok: "Ok";
|
|
6
|
+
/**
|
|
7
|
+
* 1/422
|
|
8
|
+
*/
|
|
9
|
+
readonly Cancelled: "Cancelled";
|
|
10
|
+
/**
|
|
11
|
+
* 2/500
|
|
12
|
+
*/
|
|
13
|
+
readonly Unknown: "Unknown";
|
|
14
|
+
/**
|
|
15
|
+
* 3/400
|
|
16
|
+
*/
|
|
17
|
+
readonly InvalidArgument: "InvalidArgument";
|
|
18
|
+
/**
|
|
19
|
+
* 4/504
|
|
20
|
+
*/
|
|
21
|
+
readonly DeadlineExceeded: "DeadlineExceeded";
|
|
22
|
+
/**
|
|
23
|
+
* 5/404
|
|
24
|
+
*/
|
|
25
|
+
readonly NotFound: "NotFound";
|
|
26
|
+
/**
|
|
27
|
+
* 6/409
|
|
28
|
+
*/
|
|
29
|
+
readonly AlreadyExists: "AlreadyExists";
|
|
30
|
+
/**
|
|
31
|
+
* 7/403
|
|
32
|
+
*/
|
|
33
|
+
readonly PermissionDenied: "PermissionDenied";
|
|
34
|
+
/**
|
|
35
|
+
* 8/429
|
|
36
|
+
*/
|
|
37
|
+
readonly ResourceExhausted: "ResourceExhausted";
|
|
38
|
+
/**
|
|
39
|
+
* 9/400
|
|
40
|
+
*/
|
|
41
|
+
readonly FailedPrecondition: "FailedPrecondition";
|
|
42
|
+
/**
|
|
43
|
+
* 10/409
|
|
44
|
+
*/
|
|
45
|
+
readonly Aborted: "Aborted";
|
|
46
|
+
/**
|
|
47
|
+
* 11/400
|
|
48
|
+
*/
|
|
49
|
+
readonly OutOfRange: "OutOfRange";
|
|
50
|
+
/**
|
|
51
|
+
* 2/501
|
|
52
|
+
*/
|
|
53
|
+
readonly Unimplemented: "Unimplemented";
|
|
54
|
+
/**
|
|
55
|
+
* 13/500
|
|
56
|
+
*/
|
|
57
|
+
readonly Internal: "Internal";
|
|
58
|
+
/**
|
|
59
|
+
* 14/503
|
|
60
|
+
*/
|
|
61
|
+
readonly Unavailable: "Unavailable";
|
|
62
|
+
/**
|
|
63
|
+
* 15/500
|
|
64
|
+
*/
|
|
65
|
+
readonly DataLoss: "DataLoss";
|
|
66
|
+
/**
|
|
67
|
+
* 16/401
|
|
68
|
+
*/
|
|
69
|
+
readonly Unauthenticated: "Unauthenticated";
|
|
70
|
+
};
|
|
71
|
+
export type GrpcErrorCode = (typeof GrpcErrorCode)[keyof typeof GrpcErrorCode];
|
|
@@ -2,24 +2,71 @@ import { PortOneError } from './index.js';
|
|
|
2
2
|
import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js';
|
|
3
3
|
import { GrpcErrorCode } from './GrpcErrorCode.js';
|
|
4
4
|
import { TxServiceIdentityVerificationErrorCode } from './TxServiceIdentityVerificationErrorCode.js';
|
|
5
|
-
|
|
5
|
+
import type { PgCode } from '../entity/PgCode.js';
|
|
6
|
+
import type { PgMessage } from '../entity/PgMessage.js';
|
|
6
7
|
export declare function isIdentityVerificationError(error: unknown): error is IdentityVerificationError;
|
|
8
|
+
/**
|
|
9
|
+
* **오류 코드**
|
|
10
|
+
*
|
|
11
|
+
* - 실패한 경우 오류 코드입니다.
|
|
12
|
+
*/
|
|
13
|
+
export type IdentityVerificationErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIdentityVerificationErrorCode;
|
|
7
14
|
export declare class IdentityVerificationError extends Error implements PortOneError {
|
|
8
15
|
static [Symbol.hasInstance](instance: unknown): boolean;
|
|
9
16
|
__portOneErrorType: string;
|
|
10
|
-
transactionType:
|
|
17
|
+
transactionType: string;
|
|
18
|
+
/**
|
|
19
|
+
* **오류 코드**
|
|
20
|
+
*
|
|
21
|
+
* - 실패한 경우 오류 코드입니다.
|
|
22
|
+
*/
|
|
11
23
|
code: IdentityVerificationErrorCode;
|
|
24
|
+
/**
|
|
25
|
+
* **오류 메시지**
|
|
26
|
+
*
|
|
27
|
+
* - 실패한 경우 오류 메시지입니다.
|
|
28
|
+
*/
|
|
12
29
|
message: string;
|
|
13
|
-
identityVerificationId?: string;
|
|
14
|
-
identityVerificationTxId?: string;
|
|
15
|
-
|
|
16
|
-
|
|
30
|
+
identityVerificationId?: string | undefined;
|
|
31
|
+
identityVerificationTxId?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* **PG 오류 코드**
|
|
34
|
+
*
|
|
35
|
+
* PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
|
|
36
|
+
*/
|
|
37
|
+
pgCode?: PgCode | undefined;
|
|
38
|
+
/**
|
|
39
|
+
* **PG 오류 메시지**
|
|
40
|
+
*
|
|
41
|
+
* PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
|
|
42
|
+
*/
|
|
43
|
+
pgMessage?: PgMessage | undefined;
|
|
17
44
|
constructor({ code, message, identityVerificationId, identityVerificationTxId, pgCode, pgMessage, }: {
|
|
45
|
+
/**
|
|
46
|
+
* **오류 코드**
|
|
47
|
+
*
|
|
48
|
+
* - 실패한 경우 오류 코드입니다.
|
|
49
|
+
*/
|
|
18
50
|
code: IdentityVerificationErrorCode;
|
|
51
|
+
/**
|
|
52
|
+
* **오류 메시지**
|
|
53
|
+
*
|
|
54
|
+
* - 실패한 경우 오류 메시지입니다.
|
|
55
|
+
*/
|
|
19
56
|
message: string;
|
|
20
|
-
identityVerificationId?: string;
|
|
21
|
-
identityVerificationTxId?: string;
|
|
22
|
-
|
|
23
|
-
|
|
57
|
+
identityVerificationId?: string | undefined;
|
|
58
|
+
identityVerificationTxId?: string | undefined;
|
|
59
|
+
/**
|
|
60
|
+
* **PG 오류 코드**
|
|
61
|
+
*
|
|
62
|
+
* PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
|
|
63
|
+
*/
|
|
64
|
+
pgCode?: PgCode | undefined;
|
|
65
|
+
/**
|
|
66
|
+
* **PG 오류 메시지**
|
|
67
|
+
*
|
|
68
|
+
* PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
|
|
69
|
+
*/
|
|
70
|
+
pgMessage?: PgMessage | undefined;
|
|
24
71
|
});
|
|
25
72
|
}
|
|
@@ -1,29 +1,75 @@
|
|
|
1
|
+
import { PortOneError } from './index.js';
|
|
1
2
|
import { CheckoutServiceErrorCode } from './CheckoutServiceErrorCode.js';
|
|
2
3
|
import { GrpcErrorCode } from './GrpcErrorCode.js';
|
|
3
|
-
import { PortOneError } from './index.js';
|
|
4
4
|
import { TxServiceIssueErrorCode } from './TxServiceIssueErrorCode.js';
|
|
5
5
|
import { TxServicePayErrorCode } from './TxServicePayErrorCode.js';
|
|
6
|
-
|
|
6
|
+
import type { PgCode } from '../entity/PgCode.js';
|
|
7
|
+
import type { PgMessage } from '../entity/PgMessage.js';
|
|
7
8
|
export declare function isIssueBillingKeyAndPayError(error: unknown): error is IssueBillingKeyAndPayError;
|
|
9
|
+
/**
|
|
10
|
+
* **오류 코드**
|
|
11
|
+
*
|
|
12
|
+
* 실패한 경우 오류 코드입니다.
|
|
13
|
+
*/
|
|
14
|
+
export type IssueBillingKeyAndPayErrorCode = CheckoutServiceErrorCode | GrpcErrorCode | TxServiceIssueErrorCode | TxServicePayErrorCode;
|
|
8
15
|
export declare class IssueBillingKeyAndPayError extends Error implements PortOneError {
|
|
9
16
|
static [Symbol.hasInstance](instance: unknown): boolean;
|
|
10
17
|
__portOneErrorType: string;
|
|
11
|
-
transactionType:
|
|
12
|
-
txId?: string;
|
|
13
|
-
paymentId?: string;
|
|
14
|
-
billingKey?: string;
|
|
18
|
+
transactionType: string;
|
|
19
|
+
txId?: string | undefined;
|
|
20
|
+
paymentId?: string | undefined;
|
|
21
|
+
billingKey?: string | undefined;
|
|
22
|
+
/**
|
|
23
|
+
* **오류 코드**
|
|
24
|
+
*
|
|
25
|
+
* 실패한 경우 오류 코드입니다.
|
|
26
|
+
*/
|
|
15
27
|
code: IssueBillingKeyAndPayErrorCode;
|
|
28
|
+
/**
|
|
29
|
+
* **오류 메시지**
|
|
30
|
+
*
|
|
31
|
+
* 실패한 경우 오류 메시지입니다.
|
|
32
|
+
*/
|
|
16
33
|
message: string;
|
|
17
|
-
|
|
18
|
-
|
|
34
|
+
/**
|
|
35
|
+
* **PG 오류 코드**
|
|
36
|
+
*
|
|
37
|
+
* PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
|
|
38
|
+
*/
|
|
39
|
+
pgCode?: PgCode | undefined;
|
|
40
|
+
/**
|
|
41
|
+
* **PG 오류 메시지**
|
|
42
|
+
*
|
|
43
|
+
* PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
|
|
44
|
+
*/
|
|
45
|
+
pgMessage?: PgMessage | undefined;
|
|
19
46
|
constructor({ txId, paymentId, billingKey, code, message, pgCode, pgMessage, }: {
|
|
20
|
-
txId?: string;
|
|
21
|
-
paymentId?: string;
|
|
22
|
-
billingKey?: string;
|
|
47
|
+
txId?: string | undefined;
|
|
48
|
+
paymentId?: string | undefined;
|
|
49
|
+
billingKey?: string | undefined;
|
|
50
|
+
/**
|
|
51
|
+
* **오류 코드**
|
|
52
|
+
*
|
|
53
|
+
* 실패한 경우 오류 코드입니다.
|
|
54
|
+
*/
|
|
23
55
|
code: IssueBillingKeyAndPayErrorCode;
|
|
56
|
+
/**
|
|
57
|
+
* **오류 메시지**
|
|
58
|
+
*
|
|
59
|
+
* 실패한 경우 오류 메시지입니다.
|
|
60
|
+
*/
|
|
24
61
|
message: string;
|
|
25
|
-
|
|
26
|
-
|
|
62
|
+
/**
|
|
63
|
+
* **PG 오류 코드**
|
|
64
|
+
*
|
|
65
|
+
* PG에서 오류 코드를 내려 주는 경우 이 오류 코드를 그대로 반환합니다.
|
|
66
|
+
*/
|
|
67
|
+
pgCode?: PgCode | undefined;
|
|
68
|
+
/**
|
|
69
|
+
* **PG 오류 메시지**
|
|
70
|
+
*
|
|
71
|
+
* PG에서 오류 메시지를 내려 주는 경우 이 오류 메시지를 그대로 반환합니다.
|
|
72
|
+
*/
|
|
73
|
+
pgMessage?: PgMessage | undefined;
|
|
27
74
|
});
|
|
28
75
|
}
|
|
29
|
-
export default IssueBillingKeyAndPayError;
|