@portone/browser-sdk 0.0.23 → 0.1.0
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 +350 -76
- 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 +99 -24
- package/dist/v2/entity/Carrier.d.ts +28 -13
- package/dist/v2/entity/CashReceiptType.d.ts +19 -4
- 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 +1007 -250
- package/dist/v2/entity/Currency.d.ts +723 -181
- 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 +178 -22
- package/dist/v2/entity/FreeInstallmentPlan.d.ts +25 -4
- package/dist/v2/entity/Gender.d.ts +19 -4
- package/dist/v2/entity/GiftCertificateType.d.ts +24 -6
- package/dist/v2/entity/Iframe.d.ts +7 -1
- 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 +51 -96
- 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 +13 -6
- 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/loadIssueBillingKeyUI/PaypalV2Country.d.ts +212 -0
- 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 -37
- 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 -28
- package/dist/v2/requestIssueBillingKey.d.ts +2 -56
- package/dist/v2/requestIssueBillingKeyAndPay.d.ts +2 -56
- package/dist/v2/requestPayment.d.ts +2 -110
- package/dist/v2/response/IdentityVerificationResponse.d.ts +49 -0
- package/dist/v2/response/IssueBillingKeyAndPayResponse.d.ts +57 -0
- package/dist/v2/response/IssueBillingKeyResponse.d.ts +45 -0
- package/dist/v2/response/PaymentResponse.d.ts +53 -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 +3563 -676
- package/dist/v2.js +3512 -677
- package/package.json +8 -8
- package/dist/v2/entity/bypass/PaypalV2Country.d.ts +0 -206
|
@@ -1,8 +1,14 @@
|
|
|
1
|
+
import { KsnetSndQpayType } from './KsnetSndQpayType.js';
|
|
1
2
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
3
|
+
* KSNET bypass 파라미터
|
|
4
4
|
*/
|
|
5
5
|
export type KsnetPaymentBypass = {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
/**
|
|
7
|
+
* 간편 결제 표시 구분
|
|
8
|
+
*/
|
|
9
|
+
sndQpayType?: KsnetSndQpayType | undefined;
|
|
10
|
+
/**
|
|
11
|
+
* **KSNET 간편결제 다이렉트 여부**
|
|
12
|
+
*/
|
|
13
|
+
easyPayDirect?: boolean | undefined;
|
|
8
14
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 간편 결제 표시 구분
|
|
3
|
+
*/
|
|
4
|
+
export declare const KsnetSndQpayType: {
|
|
5
|
+
/**
|
|
6
|
+
* 간편 결제 표시
|
|
7
|
+
*/
|
|
8
|
+
readonly '1': "1";
|
|
9
|
+
/**
|
|
10
|
+
* 간편 결제 미표시
|
|
11
|
+
*/
|
|
12
|
+
readonly '0': "0";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 간편 결제 표시 구분
|
|
16
|
+
*/
|
|
17
|
+
export type KsnetSndQpayType = (typeof KsnetSndQpayType)[keyof typeof KsnetSndQpayType];
|
|
@@ -1,31 +1,20 @@
|
|
|
1
|
+
import type { NaverpayProductItem } from './NaverpayProductItem.js';
|
|
2
|
+
import type { NaverpaySubMerchantInfo } from './NaverpaySubMerchantInfo.js';
|
|
1
3
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
4
|
+
* 네이버페이 bypass 파라미터
|
|
4
5
|
*/
|
|
5
|
-
type ProductItem = {
|
|
6
|
-
categoryType: string;
|
|
7
|
-
categoryId: string;
|
|
8
|
-
uid: string;
|
|
9
|
-
name: string;
|
|
10
|
-
payReferrer?: NaverPayReferrer;
|
|
11
|
-
startDate?: string;
|
|
12
|
-
endDate?: string;
|
|
13
|
-
sellerId?: string;
|
|
14
|
-
count: number;
|
|
15
|
-
};
|
|
16
|
-
type NaverPayReferrer = 'NAVER_BOOK' | 'NAVER_MUSIC' | 'NAVER_SHOPPING' | 'NAVER_MAP' | 'NAVER_PLACE' | 'SEARCH_AD' | 'NAVER_SEARCH' | 'BRAND_SEARCH' | 'PARTNER_DIRECT' | 'ETC';
|
|
17
|
-
type SubMerchantInfo = {
|
|
18
|
-
subMerchantName: string;
|
|
19
|
-
subMerchantId: string;
|
|
20
|
-
subMerchantBusinessNo: string;
|
|
21
|
-
subMerchantPayId: string;
|
|
22
|
-
subMerchantTelephoneNo: string;
|
|
23
|
-
subMerchantCustomerServiceUrl: string;
|
|
24
|
-
};
|
|
25
6
|
export type NaverpayPaymentBypass = {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
7
|
+
/**
|
|
8
|
+
* 이용 완료일(YYYYMMDD)
|
|
9
|
+
*/
|
|
10
|
+
useCfmYmdt?: string | undefined;
|
|
11
|
+
productItems: NaverpayProductItem[];
|
|
12
|
+
/**
|
|
13
|
+
* 하부 가맹점 정보. PG 업종 가맹점인 경우에만 필수 값
|
|
14
|
+
*/
|
|
15
|
+
subMerchantInfo?: NaverpaySubMerchantInfo | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* 배송비
|
|
18
|
+
*/
|
|
19
|
+
deliveryFee?: number | undefined;
|
|
30
20
|
};
|
|
31
|
-
export {};
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { NaverpayProductItemPayReferrer } from './NaverpayProductItemPayReferrer.js';
|
|
2
|
+
export type NaverpayProductItem = {
|
|
3
|
+
/**
|
|
4
|
+
* 결제 상품 유형
|
|
5
|
+
*/
|
|
6
|
+
categoryType: string;
|
|
7
|
+
/**
|
|
8
|
+
* 결제 상품 분류
|
|
9
|
+
*/
|
|
10
|
+
categoryId: string;
|
|
11
|
+
/**
|
|
12
|
+
* 결제 상품 식별값
|
|
13
|
+
*/
|
|
14
|
+
uid: string;
|
|
15
|
+
/**
|
|
16
|
+
* 상품명
|
|
17
|
+
*/
|
|
18
|
+
name: string;
|
|
19
|
+
/**
|
|
20
|
+
* 결제 상품 유입경로
|
|
21
|
+
*/
|
|
22
|
+
payReferrer?: NaverpayProductItemPayReferrer | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* 시작일(YYYYMMDD)
|
|
25
|
+
*/
|
|
26
|
+
startDate?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* 종료일(YYYYMMDD)
|
|
29
|
+
*/
|
|
30
|
+
endDate?: string | undefined;
|
|
31
|
+
/**
|
|
32
|
+
* 하위 판매자 식별키
|
|
33
|
+
*/
|
|
34
|
+
sellerId?: string | undefined;
|
|
35
|
+
/**
|
|
36
|
+
* 결제 상품 개수
|
|
37
|
+
*/
|
|
38
|
+
count: number;
|
|
39
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 결제 상품 유입경로
|
|
3
|
+
*/
|
|
4
|
+
export declare const NaverpayProductItemPayReferrer: {
|
|
5
|
+
readonly NAVER_BOOK: "NAVER_BOOK";
|
|
6
|
+
readonly NAVER_MUSIC: "NAVER_MUSIC";
|
|
7
|
+
readonly NAVER_SHOPPING: "NAVER_SHOPPING";
|
|
8
|
+
readonly NAVER_MAP: "NAVER_MAP";
|
|
9
|
+
readonly NAVER_PLACE: "NAVER_PLACE";
|
|
10
|
+
readonly SEARCH_AD: "SEARCH_AD";
|
|
11
|
+
readonly NAVER_SEARCH: "NAVER_SEARCH";
|
|
12
|
+
readonly BRAND_SEARCH: "BRAND_SEARCH";
|
|
13
|
+
readonly PARTNER_DIRECT: "PARTNER_DIRECT";
|
|
14
|
+
readonly ETC: "ETC";
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 결제 상품 유입경로
|
|
18
|
+
*/
|
|
19
|
+
export type NaverpayProductItemPayReferrer = (typeof NaverpayProductItemPayReferrer)[keyof typeof NaverpayProductItemPayReferrer];
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 하부 가맹점 정보. PG 업종 가맹점인 경우에만 필수 값
|
|
3
|
+
*/
|
|
4
|
+
export type NaverpaySubMerchantInfo = {
|
|
5
|
+
/**
|
|
6
|
+
* 하부 가맹점 명
|
|
7
|
+
*/
|
|
8
|
+
subMerchantName: string;
|
|
9
|
+
/**
|
|
10
|
+
* 하부 가맹점 ID
|
|
11
|
+
*/
|
|
12
|
+
subMerchantId: string;
|
|
13
|
+
/**
|
|
14
|
+
* 하부 가맹점 사업자 번호(숫자 10자리)
|
|
15
|
+
*/
|
|
16
|
+
subMerchantBusinessNo: string;
|
|
17
|
+
/**
|
|
18
|
+
* 하부 가맹점 결제 키
|
|
19
|
+
*/
|
|
20
|
+
subMerchantPayId: string;
|
|
21
|
+
/**
|
|
22
|
+
* 하부 가맹점 대표 전화번호
|
|
23
|
+
*/
|
|
24
|
+
subMerchantTelephoneNo: string;
|
|
25
|
+
/**
|
|
26
|
+
* 하부 가맹점 고객 서비스 URL
|
|
27
|
+
*/
|
|
28
|
+
subMerchantCustomerServiceUrl: string;
|
|
29
|
+
};
|
|
@@ -1,39 +1,65 @@
|
|
|
1
|
+
import { NiceV2DisableScroll } from './NiceV2DisableScroll.js';
|
|
2
|
+
import { NiceV2SkinType } from './NiceV2SkinType.js';
|
|
3
|
+
import { NiceV2DirectCoupon } from './NiceV2DirectCoupon.js';
|
|
4
|
+
import { NiceV2DirectShow } from './NiceV2DirectShow.js';
|
|
5
|
+
import { NiceV2SamPayMallType } from './NiceV2SamPayMallType.js';
|
|
1
6
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
7
|
+
* (신)나이스페이먼츠 bypass 파라미터
|
|
4
8
|
*/
|
|
5
9
|
export type NiceV2PaymentBypass = {
|
|
6
|
-
LogoImage?: string;
|
|
7
|
-
NPDisableScroll?: 'Y' | 'N';
|
|
8
|
-
SkinType?: 'red' | 'green' | 'purple' | 'gray' | 'dark';
|
|
9
|
-
UserCI?: string;
|
|
10
|
-
MallUserID?: string;
|
|
11
10
|
/**
|
|
12
|
-
*
|
|
11
|
+
* 결제창 로고 이미지 URL
|
|
12
|
+
*/
|
|
13
|
+
LogoImage?: string | undefined;
|
|
14
|
+
/**
|
|
15
|
+
* 결제창 스크롤 미사용 여부 (PC Only, Y: 미사용 / N(default): 사용)
|
|
16
|
+
*/
|
|
17
|
+
NPDisableScroll?: NiceV2DisableScroll | undefined;
|
|
18
|
+
/**
|
|
19
|
+
* 결제창 스킨 색상 설정
|
|
20
|
+
*
|
|
21
|
+
* `"red", "green", "purple", "gray", "dark"` 중 하나의 값으로 입력해주세요.
|
|
22
|
+
*/
|
|
23
|
+
SkinType?: NiceV2SkinType | undefined;
|
|
24
|
+
/**
|
|
25
|
+
* 문화 상품권 결제시 결제 고객 사용자 인증 CI 정보. 아이디/비밀번호 외 추가로 CI 인증이 필요한 경우 사용. 사용 전 영업 담당자와 사전 협의 필수
|
|
26
|
+
*/
|
|
27
|
+
UserCI?: string | undefined;
|
|
28
|
+
/**
|
|
29
|
+
* 상점 사용자 아이디. 문화 상품권 결제시 경우 필수 입력
|
|
30
|
+
*/
|
|
31
|
+
MallUserID?: string | undefined;
|
|
32
|
+
/**
|
|
33
|
+
* 신용카드 쿠폰 자동 적용 여부 (Y: 사전 등록된 선 할인 쿠폰을 자동 적용 / N: 쿠폰 미적용(기본값))
|
|
34
|
+
*
|
|
13
35
|
* 할부 거래 요청 시 할인 적용 후 승인 금액이 할부 가능 금액 (50,000) 미만인 경우 인증 실패 처리
|
|
14
36
|
*/
|
|
15
|
-
DirectCouponYN?:
|
|
37
|
+
DirectCouponYN?: NiceV2DirectCoupon | undefined;
|
|
16
38
|
/**
|
|
17
|
-
* 다이렉트 호출 결제 수단(BANK: 계좌이체/CELLPHONE: 휴대폰 소액결제)
|
|
18
|
-
* 간편결제와 카드사 다이렉트 호출의 경우 CheckoutService가 다이렉트 여부를 판단 후 올바른 값을 직접 넣어 줌
|
|
19
|
-
* 단, 계좌이체와 휴대폰 소액결제는 각각 은행 코드와 통신사 코드를 전달하는 방식이 아니기 때문에
|
|
20
|
-
* 정확한 다이렉트 호출이 아니므로 다이렉트 호출/비 다이렉트 호출을 구분하기 위해 DirectShowOpt 파라미터를 가맹점으로부터 직접 받음
|
|
39
|
+
* 다이렉트 호출 결제 수단 (BANK: 계좌이체/CELLPHONE: 휴대폰 소액결제)
|
|
21
40
|
*/
|
|
22
|
-
DirectShowOpt?:
|
|
41
|
+
DirectShowOpt?: NiceV2DirectShow | undefined;
|
|
23
42
|
/**
|
|
24
43
|
* 카드사 별 호출 방식
|
|
44
|
+
*
|
|
25
45
|
* 형식) 카드코드:노출유형|카드코드:노출유형
|
|
46
|
+
*
|
|
47
|
+
* 예시) 08:3|02:3 → 롯데카드와 국민카드 선택시 앱 카드 직접 호출 방식으로 렌더링
|
|
48
|
+
*
|
|
26
49
|
* - 노출 유형: 1(안심클릭), 2(간편결제), 3(앱 카드 직접 호출)
|
|
27
50
|
* - 카드 코드: 02(국민), 04(삼성), 06(신한), 07(현대), 08(롯데), 12(NH), 15(우리)만 가능
|
|
28
|
-
* 예시) CardShowOpt=08:3|02:3 → 롯데카드와 국민카드 선택시 앱 카드 직접 호출 방식으로 렌더링
|
|
29
51
|
*/
|
|
30
|
-
CardShowOpt?: string;
|
|
31
|
-
|
|
32
|
-
|
|
52
|
+
CardShowOpt?: string | undefined;
|
|
53
|
+
/**
|
|
54
|
+
* 페이코 계정 자동 로그인 기능 사용하기 위해 페이코에서 고객사에 발급한 ClientId
|
|
55
|
+
*/
|
|
56
|
+
PaycoClientId?: string | undefined;
|
|
57
|
+
/**
|
|
58
|
+
* 페이코 계정 자동 로그인 기능 사용을 위한 접속 토큰
|
|
59
|
+
*/
|
|
60
|
+
PaycoAccessToken?: string | undefined;
|
|
33
61
|
/**
|
|
34
|
-
* 삼성페이
|
|
35
|
-
* - 01: 삼성페이 內 쇼핑
|
|
36
|
-
* - 99: 기타(기본값)
|
|
62
|
+
* 삼성페이 고객사 유형 (01: 삼성페이 內 쇼핑 / 99: 기타 (기본값))
|
|
37
63
|
*/
|
|
38
|
-
SamPayMallType?:
|
|
64
|
+
SamPayMallType?: NiceV2SamPayMallType | undefined;
|
|
39
65
|
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 신용카드 쿠폰 자동 적용 여부 (Y: 사전 등록된 선 할인 쿠폰을 자동 적용 / N: 쿠폰 미적용(기본값))
|
|
3
|
+
*
|
|
4
|
+
* 할부 거래 요청 시 할인 적용 후 승인 금액이 할부 가능 금액 (50,000) 미만인 경우 인증 실패 처리
|
|
5
|
+
*/
|
|
6
|
+
export declare const NiceV2DirectCoupon: {
|
|
7
|
+
/**
|
|
8
|
+
* 사전 등록된 선 할인 쿠폰을 자동 적용
|
|
9
|
+
*/
|
|
10
|
+
readonly Y: "Y";
|
|
11
|
+
/**
|
|
12
|
+
* 쿠폰 미적용(기본값)
|
|
13
|
+
*/
|
|
14
|
+
readonly N: "N";
|
|
15
|
+
};
|
|
16
|
+
/**
|
|
17
|
+
* 신용카드 쿠폰 자동 적용 여부 (Y: 사전 등록된 선 할인 쿠폰을 자동 적용 / N: 쿠폰 미적용(기본값))
|
|
18
|
+
*
|
|
19
|
+
* 할부 거래 요청 시 할인 적용 후 승인 금액이 할부 가능 금액 (50,000) 미만인 경우 인증 실패 처리
|
|
20
|
+
*/
|
|
21
|
+
export type NiceV2DirectCoupon = (typeof NiceV2DirectCoupon)[keyof typeof NiceV2DirectCoupon];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 다이렉트 호출 결제 수단 (BANK: 계좌이체/CELLPHONE: 휴대폰 소액결제)
|
|
3
|
+
*/
|
|
4
|
+
export declare const NiceV2DirectShow: {
|
|
5
|
+
/**
|
|
6
|
+
* 계좌이체
|
|
7
|
+
*/
|
|
8
|
+
readonly BANK: "BANK";
|
|
9
|
+
/**
|
|
10
|
+
* 휴대폰 소액결제
|
|
11
|
+
*/
|
|
12
|
+
readonly CELLPHONE: "CELLPHONE";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 다이렉트 호출 결제 수단 (BANK: 계좌이체/CELLPHONE: 휴대폰 소액결제)
|
|
16
|
+
*/
|
|
17
|
+
export type NiceV2DirectShow = (typeof NiceV2DirectShow)[keyof typeof NiceV2DirectShow];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 결제창 스크롤 미사용 여부 (PC Only, Y: 미사용 / N(default): 사용)
|
|
3
|
+
*/
|
|
4
|
+
export declare const NiceV2DisableScroll: {
|
|
5
|
+
readonly Y: "Y";
|
|
6
|
+
readonly N: "N";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* 결제창 스크롤 미사용 여부 (PC Only, Y: 미사용 / N(default): 사용)
|
|
10
|
+
*/
|
|
11
|
+
export type NiceV2DisableScroll = (typeof NiceV2DisableScroll)[keyof typeof NiceV2DisableScroll];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 삼성페이 고객사 유형 (01: 삼성페이 內 쇼핑 / 99: 기타 (기본값))
|
|
3
|
+
*/
|
|
4
|
+
export declare const NiceV2SamPayMallType: {
|
|
5
|
+
/**
|
|
6
|
+
* 삼성페이 內 쇼핑
|
|
7
|
+
*/
|
|
8
|
+
readonly '01': "01";
|
|
9
|
+
/**
|
|
10
|
+
* 기타 (기본값)
|
|
11
|
+
*/
|
|
12
|
+
readonly '99': "99";
|
|
13
|
+
};
|
|
14
|
+
/**
|
|
15
|
+
* 삼성페이 고객사 유형 (01: 삼성페이 內 쇼핑 / 99: 기타 (기본값))
|
|
16
|
+
*/
|
|
17
|
+
export type NiceV2SamPayMallType = (typeof NiceV2SamPayMallType)[keyof typeof NiceV2SamPayMallType];
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 결제창 스킨 색상 설정
|
|
3
|
+
*
|
|
4
|
+
* `"red", "green", "purple", "gray", "dark"` 중 하나의 값으로 입력해주세요.
|
|
5
|
+
*/
|
|
6
|
+
export declare const NiceV2SkinType: {
|
|
7
|
+
readonly red: "red";
|
|
8
|
+
readonly green: "green";
|
|
9
|
+
readonly purple: "purple";
|
|
10
|
+
readonly gray: "gray";
|
|
11
|
+
readonly dark: "dark";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* 결제창 스킨 색상 설정
|
|
15
|
+
*
|
|
16
|
+
* `"red", "green", "purple", "gray", "dark"` 중 하나의 값으로 입력해주세요.
|
|
17
|
+
*/
|
|
18
|
+
export type NiceV2SkinType = (typeof NiceV2SkinType)[keyof typeof NiceV2SkinType];
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
2
|
+
* 페이레터 해외결제 bypass 파라미터
|
|
4
3
|
*/
|
|
5
4
|
export type PayletterGlobalBypass = {
|
|
6
|
-
|
|
7
|
-
|
|
5
|
+
/**
|
|
6
|
+
* **결제수단 지정용 파라미터**
|
|
7
|
+
*
|
|
8
|
+
* - 해외카드 인증 : `PLCreditCard`
|
|
9
|
+
* - 해외카드 비인증(3DS) : `PLCreditCardMpi`
|
|
10
|
+
* - 유니온페이 : `PLUnionPay_HC`
|
|
11
|
+
* - 위챗페이 PC결제: `WeChatPayQRCodePayment`
|
|
12
|
+
* - 위챗페이 모바일결제 : `WeChatPayH5Payment`
|
|
13
|
+
* - 알리페이 : `ICBAlipay`
|
|
14
|
+
*/
|
|
15
|
+
pginfo?: string | undefined;
|
|
16
|
+
/**
|
|
17
|
+
* 고객사 서비스명, WeChatPay, Alipay 이용 시 필수 입력
|
|
18
|
+
*/
|
|
19
|
+
servicename?: string | undefined;
|
|
8
20
|
};
|
|
9
|
-
type PayletterGlobalPgInfo = 'PLCreditCard' | 'PLCreditCardMpi' | 'PLUnionPay' | 'PLUnionPay_HC' | 'WeChatPayH5Payment' | 'WeChatPayQRCodePayment' | 'ICBAlipay';
|
|
10
|
-
export {};
|
|
@@ -1,51 +1,19 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import type { PaypalV2PurchaseUnit } from '../loadPaymentUI/PaypalV2PurchaseUnit.js';
|
|
2
|
+
import type { PaypalV2Payer } from '../loadPaymentUI/PaypalV2Payer.js';
|
|
3
|
+
import type { PaypalV2PaymentSource } from './PaypalV2PaymentSource.js';
|
|
4
|
+
import type { PaypalV2AdditionalData } from '../loadPaymentUI/PaypalV2AdditionalData.js';
|
|
3
5
|
/**
|
|
4
|
-
*
|
|
5
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
6
|
+
* **Paypal bypass 파라미터**
|
|
6
7
|
*/
|
|
7
8
|
export type PaypalV2PaymentBypass = {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
postal_code?: string;
|
|
19
|
-
country_code: PaypalV2Country;
|
|
20
|
-
};
|
|
21
|
-
};
|
|
22
|
-
}[];
|
|
23
|
-
payer?: {
|
|
24
|
-
tax_info?: {
|
|
25
|
-
tax_id: string;
|
|
26
|
-
tax_id_type: string;
|
|
27
|
-
};
|
|
28
|
-
address?: {
|
|
29
|
-
address_line_1?: string;
|
|
30
|
-
address_line_2?: string;
|
|
31
|
-
admin_area_1?: string;
|
|
32
|
-
admin_area_2?: string;
|
|
33
|
-
postal_code?: string;
|
|
34
|
-
country_code: Entity.Country;
|
|
35
|
-
};
|
|
36
|
-
};
|
|
37
|
-
payment_source?: {
|
|
38
|
-
paypal?: {
|
|
39
|
-
experience_context?: {
|
|
40
|
-
brand_name?: string;
|
|
41
|
-
shipping_preference?: 'GET_FROM_FILE' | 'NO_SHIPPING' | 'SET_PROVIDED_ADDRESS';
|
|
42
|
-
landing_page?: 'LOGIN' | 'GUEST_CHECKOUT' | 'NO_PREFERENCE';
|
|
43
|
-
payment_method_preference?: 'UNRESTRICTED' | 'IMMEDIATE_PAYMENT_REQUIRED';
|
|
44
|
-
};
|
|
45
|
-
};
|
|
46
|
-
};
|
|
47
|
-
additional_data?: {
|
|
48
|
-
key: string;
|
|
49
|
-
value: string;
|
|
50
|
-
}[];
|
|
9
|
+
/**
|
|
10
|
+
* create order API 호출에 필요한 파라미터
|
|
11
|
+
*/
|
|
12
|
+
purchase_units?: PaypalV2PurchaseUnit[] | undefined;
|
|
13
|
+
payer?: PaypalV2Payer | undefined;
|
|
14
|
+
payment_source?: PaypalV2PaymentSource | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* STC 파라미터
|
|
17
|
+
*/
|
|
18
|
+
additional_data?: PaypalV2AdditionalData[] | undefined;
|
|
51
19
|
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { PaypalV2PaymentSourcePaypalExperienceContextShippingPreference } from './PaypalV2PaymentSourcePaypalExperienceContextShippingPreference.js';
|
|
2
|
+
import { PaypalV2PaymentSourcePaypalExperienceContextLandingPage } from './PaypalV2PaymentSourcePaypalExperienceContextLandingPage.js';
|
|
3
|
+
import { PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference } from './PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference.js';
|
|
4
|
+
export type PaypalV2PaymentSourcePaypalExperienceContext = {
|
|
5
|
+
brand_name?: string | undefined;
|
|
6
|
+
shipping_preference?: PaypalV2PaymentSourcePaypalExperienceContextShippingPreference | undefined;
|
|
7
|
+
landing_page?: PaypalV2PaymentSourcePaypalExperienceContextLandingPage | undefined;
|
|
8
|
+
payment_method_preference?: PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference | undefined;
|
|
9
|
+
};
|
package/dist/v2/entity/bypass/payment/PaypalV2PaymentSourcePaypalExperienceContextLandingPage.d.ts
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const PaypalV2PaymentSourcePaypalExperienceContextLandingPage: {
|
|
2
|
+
readonly LOGIN: "LOGIN";
|
|
3
|
+
readonly GUEST_CHECKOUT: "GUEST_CHECKOUT";
|
|
4
|
+
readonly NO_PREFERENCE: "NO_PREFERENCE";
|
|
5
|
+
};
|
|
6
|
+
export type PaypalV2PaymentSourcePaypalExperienceContextLandingPage = (typeof PaypalV2PaymentSourcePaypalExperienceContextLandingPage)[keyof typeof PaypalV2PaymentSourcePaypalExperienceContextLandingPage];
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference: {
|
|
2
|
+
readonly UNRESTRICTED: "UNRESTRICTED";
|
|
3
|
+
readonly IMMEDIATE_PAYMENT_REQUIRED: "IMMEDIATE_PAYMENT_REQUIRED";
|
|
4
|
+
};
|
|
5
|
+
export type PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference = (typeof PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference)[keyof typeof PaypalV2PaymentSourcePaypalExperienceContextPaymentMethodPreference];
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const PaypalV2PaymentSourcePaypalExperienceContextShippingPreference: {
|
|
2
|
+
readonly GET_FROM_FILE: "GET_FROM_FILE";
|
|
3
|
+
readonly NO_SHIPPING: "NO_SHIPPING";
|
|
4
|
+
readonly SET_PROVIDED_ADDRESS: "SET_PROVIDED_ADDRESS";
|
|
5
|
+
};
|
|
6
|
+
export type PaypalV2PaymentSourcePaypalExperienceContextShippingPreference = (typeof PaypalV2PaymentSourcePaypalExperienceContextShippingPreference)[keyof typeof PaypalV2PaymentSourcePaypalExperienceContextShippingPreference];
|
|
@@ -1,9 +1,23 @@
|
|
|
1
|
+
import { SmartroV2SkinColor } from './SmartroV2SkinColor.js';
|
|
2
|
+
import { SmartroV2OpenType } from './SmartroV2OpenType.js';
|
|
1
3
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
4
|
+
* 스마트로 V2 bypass 파라미터
|
|
4
5
|
*/
|
|
5
6
|
export type SmartroV2PaymentBypass = {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
7
|
+
/**
|
|
8
|
+
* 결제 상품 품목 개수
|
|
9
|
+
*/
|
|
10
|
+
GoodsCnt?: number | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* UI 스타일 (기본값: `"RED"`)
|
|
13
|
+
*
|
|
14
|
+
* `"RED"`, `"GREEN"`, `"BLUE"`, `"PURPLE"` 중 하나의 값으로 입력해주세요.
|
|
15
|
+
*/
|
|
16
|
+
SkinColor?: SmartroV2SkinColor | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* 해외 카드만 결제를 허용할지 여부(기본값: `"KR"`)
|
|
19
|
+
*
|
|
20
|
+
* `"KR"`, `"EN"` 중 하나의 값으로 입력해주세요.
|
|
21
|
+
*/
|
|
22
|
+
OpenType?: SmartroV2OpenType | undefined;
|
|
9
23
|
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 해외 카드만 결제를 허용할지 여부(기본값: `"KR"`)
|
|
3
|
+
*
|
|
4
|
+
* `"KR"`, `"EN"` 중 하나의 값으로 입력해주세요.
|
|
5
|
+
*/
|
|
6
|
+
export declare const SmartroV2OpenType: {
|
|
7
|
+
readonly KR: "KR";
|
|
8
|
+
readonly EN: "EN";
|
|
9
|
+
};
|
|
10
|
+
/**
|
|
11
|
+
* 해외 카드만 결제를 허용할지 여부(기본값: `"KR"`)
|
|
12
|
+
*
|
|
13
|
+
* `"KR"`, `"EN"` 중 하나의 값으로 입력해주세요.
|
|
14
|
+
*/
|
|
15
|
+
export type SmartroV2OpenType = (typeof SmartroV2OpenType)[keyof typeof SmartroV2OpenType];
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* UI 스타일 (기본값: `"RED"`)
|
|
3
|
+
*
|
|
4
|
+
* `"RED"`, `"GREEN"`, `"BLUE"`, `"PURPLE"` 중 하나의 값으로 입력해주세요.
|
|
5
|
+
*/
|
|
6
|
+
export declare const SmartroV2SkinColor: {
|
|
7
|
+
readonly RED: "RED";
|
|
8
|
+
readonly GREEN: "GREEN";
|
|
9
|
+
readonly BLUE: "BLUE";
|
|
10
|
+
readonly PURPLE: "PURPLE";
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* UI 스타일 (기본값: `"RED"`)
|
|
14
|
+
*
|
|
15
|
+
* `"RED"`, `"GREEN"`, `"BLUE"`, `"PURPLE"` 중 하나의 값으로 입력해주세요.
|
|
16
|
+
*/
|
|
17
|
+
export type SmartroV2SkinColor = (typeof SmartroV2SkinColor)[keyof typeof SmartroV2SkinColor];
|
|
@@ -1,46 +1,23 @@
|
|
|
1
|
+
import type { TossBrandpayBrandpayOptions } from './TossBrandpayBrandpayOptions.js';
|
|
2
|
+
import type { TossBrandpayWidgetOptions } from './TossBrandpayWidgetOptions.js';
|
|
1
3
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
4
|
+
* 토스 브랜드페이 bypass 파라미터
|
|
4
5
|
*/
|
|
5
6
|
export type TossBrandpayPaymentBypass = {
|
|
6
|
-
brandpayOptions?: {
|
|
7
|
-
ui?: BrandpayUi;
|
|
8
|
-
};
|
|
9
|
-
widgetOptions?: {
|
|
10
|
-
methodType?: '카드' | '계좌';
|
|
11
|
-
methodId?: string;
|
|
12
|
-
ui?: BrandpayWidgetUi;
|
|
13
|
-
};
|
|
14
|
-
discountCode?: string;
|
|
15
|
-
methodId?: string;
|
|
16
|
-
};
|
|
17
|
-
type BrandpayUi = {
|
|
18
|
-
highlightColor?: string;
|
|
19
7
|
/**
|
|
20
|
-
*
|
|
21
|
-
* - default(기본값): 모서리가 둥글고 주변에 여백을 가진 버튼
|
|
22
|
-
* - full: 하단 영역이 전부 채워지는 형태의 버튼
|
|
8
|
+
* loadBrandpay 호출시 전달하는 세번째 파라미터
|
|
23
9
|
*/
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
summary?: {
|
|
38
|
-
visible?: boolean;
|
|
39
|
-
};
|
|
40
|
-
description?: {
|
|
41
|
-
visible?: boolean;
|
|
42
|
-
defaultOpen?: boolean;
|
|
43
|
-
};
|
|
44
|
-
};
|
|
10
|
+
brandpayOptions?: TossBrandpayBrandpayOptions | undefined;
|
|
11
|
+
/**
|
|
12
|
+
* 브랜드페이 위젯 render() 함수 호출시 전달하는 두번째 파라미터
|
|
13
|
+
*/
|
|
14
|
+
widgetOptions?: TossBrandpayWidgetOptions | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* 카드사 할인코드
|
|
17
|
+
*/
|
|
18
|
+
discountCode?: string | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* 등록되어 있는 결제수단 중 하나를 지정해서 바로 결제하고 싶을 때 사용
|
|
21
|
+
*/
|
|
22
|
+
methodId?: string | undefined;
|
|
45
23
|
};
|
|
46
|
-
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { TossBrandpayBrandpayOptionsUiButtonStyle } from './TossBrandpayBrandpayOptionsUiButtonStyle.js';
|
|
2
|
+
import type { TossBrandpayBrandpayOptionsUiLabels } from './TossBrandpayBrandpayOptionsUiLabels.js';
|
|
3
|
+
import type { TossBrandpayBrandpayOptionsUiNavigationBar } from './TossBrandpayBrandpayOptionsUiNavigationBar.js';
|
|
4
|
+
export type TossBrandpayBrandpayOptionsUi = {
|
|
5
|
+
/**
|
|
6
|
+
* UI의 메인 색상. (기본값: #3182f6)
|
|
7
|
+
*/
|
|
8
|
+
highlightColor?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* 버튼 스타일
|
|
11
|
+
*
|
|
12
|
+
* - default(기본값): 모서리가 둥글고 주변에 여백을 가진 버튼
|
|
13
|
+
* - full: 하단 영역이 전부 채워지는 형태의 버튼
|
|
14
|
+
*/
|
|
15
|
+
buttonStyle?: TossBrandpayBrandpayOptionsUiButtonStyle | undefined;
|
|
16
|
+
labels?: TossBrandpayBrandpayOptionsUiLabels | undefined;
|
|
17
|
+
navigationBar?: TossBrandpayBrandpayOptionsUiNavigationBar | undefined;
|
|
18
|
+
};
|