@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,6 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
/**
|
|
2
|
+
* **웰컴페이먼츠 bypass 파라미터**
|
|
3
|
+
*/
|
|
4
|
+
export type WelcomeIssueBillingKeyBypass = {
|
|
5
|
+
/**
|
|
6
|
+
* 메인 로고 URL (크기: 89x19)
|
|
7
|
+
*/
|
|
8
|
+
logo_url?: string | undefined;
|
|
9
|
+
/**
|
|
10
|
+
* 서브 로고 URL (크기: 64x13)
|
|
11
|
+
*/
|
|
12
|
+
logo_2nd?: string | undefined;
|
|
5
13
|
};
|
|
6
|
-
export {};
|
|
@@ -1,16 +1,10 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
naverpay?: NaverpayIssueBillingKeyBypass;
|
|
12
|
-
welcome?: WelcomeIssueBillingKeyBypass;
|
|
13
|
-
tosspay_v2?: TosspayV2IssueBillingKeyBypass;
|
|
14
|
-
inicis_v2?: InicisV2IssueBillingKeyBypass;
|
|
15
|
-
kcp_v2?: KcpV2IssueBillingKeyBypass;
|
|
16
|
-
};
|
|
1
|
+
export * from './SmartroV2.js';
|
|
2
|
+
export * from './InicisV2.js';
|
|
3
|
+
export * from './KcpV2.js';
|
|
4
|
+
export * from './Naverpay.js';
|
|
5
|
+
export * from './TosspayV2.js';
|
|
6
|
+
export * from './Welcome.js';
|
|
7
|
+
export * from './SmartroV2SkinColor.js';
|
|
8
|
+
export * from './SmartroV2IsPwdPass.js';
|
|
9
|
+
export * from './InicisV2CardUse.js';
|
|
10
|
+
export * from './KcpV2BatchSocChoice.js';
|
|
@@ -1,30 +1,27 @@
|
|
|
1
|
+
import type { EximbayV2Payment } from './EximbayV2Payment.js';
|
|
2
|
+
import type { EximbayV2Merchant } from './EximbayV2Merchant.js';
|
|
3
|
+
import type { EximbayV2Surcharge } from './EximbayV2Surcharge.js';
|
|
4
|
+
import type { EximbayV2ShipTo } from './EximbayV2ShipTo.js';
|
|
5
|
+
import type { EximbayV2BillTo } from './EximbayV2BillTo.js';
|
|
6
|
+
/**
|
|
7
|
+
* **엑심베이 bypass 파라미터**
|
|
8
|
+
*/
|
|
1
9
|
export type EximbayV2IssueBillingKeyAndPayBypass = {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
};
|
|
20
|
-
bill_to?: {
|
|
21
|
-
city?: string;
|
|
22
|
-
country?: string;
|
|
23
|
-
first_name?: string;
|
|
24
|
-
last_name?: string;
|
|
25
|
-
phone_number?: string;
|
|
26
|
-
postal_code?: string;
|
|
27
|
-
state?: string;
|
|
28
|
-
street1?: string;
|
|
29
|
-
};
|
|
10
|
+
/**
|
|
11
|
+
* 결제 정보
|
|
12
|
+
*/
|
|
13
|
+
payment?: EximbayV2Payment | undefined;
|
|
14
|
+
merchant?: EximbayV2Merchant | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* **최대 3개의 추가 비용 목록**
|
|
17
|
+
*/
|
|
18
|
+
surcharge?: EximbayV2Surcharge[] | undefined;
|
|
19
|
+
/**
|
|
20
|
+
* **배송지 정보**
|
|
21
|
+
*/
|
|
22
|
+
shipTo?: EximbayV2ShipTo | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* **청구지 정보**
|
|
25
|
+
*/
|
|
26
|
+
billTo?: EximbayV2BillTo | undefined;
|
|
30
27
|
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* **청구지 정보**
|
|
3
|
+
*/
|
|
4
|
+
export type EximbayV2BillTo = {
|
|
5
|
+
/**
|
|
6
|
+
* **청구지 도시**
|
|
7
|
+
*/
|
|
8
|
+
city: string;
|
|
9
|
+
/**
|
|
10
|
+
* **청구지 국가 (ISO 3166 두 자리 국가 코드)**
|
|
11
|
+
*/
|
|
12
|
+
country: string;
|
|
13
|
+
/**
|
|
14
|
+
* **청구 카드 명의자의 성을 제외한 이름**
|
|
15
|
+
*/
|
|
16
|
+
first_name: string;
|
|
17
|
+
/**
|
|
18
|
+
* **청구 카드 명의자의 성**
|
|
19
|
+
*/
|
|
20
|
+
last_name: string;
|
|
21
|
+
/**
|
|
22
|
+
* **청구 카드 명의자의 전화번호**
|
|
23
|
+
*/
|
|
24
|
+
phone_number: string;
|
|
25
|
+
/**
|
|
26
|
+
* **청구지 우편번호**
|
|
27
|
+
*/
|
|
28
|
+
postal_code: string;
|
|
29
|
+
/**
|
|
30
|
+
* **청구지가 미국 혹은 캐나다인 경우, 청구지 주 정보**
|
|
31
|
+
*/
|
|
32
|
+
state: string;
|
|
33
|
+
/**
|
|
34
|
+
* **청구지 상세 주소**
|
|
35
|
+
*/
|
|
36
|
+
street1: string;
|
|
37
|
+
};
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* **배송지 정보**
|
|
3
|
+
*/
|
|
4
|
+
export type EximbayV2ShipTo = {
|
|
5
|
+
/**
|
|
6
|
+
* **배송지 도시**
|
|
7
|
+
*/
|
|
8
|
+
city: string;
|
|
9
|
+
/**
|
|
10
|
+
* **배송지 국가 (ISO 3166 두 자리 국가 코드)**
|
|
11
|
+
*/
|
|
12
|
+
country: string;
|
|
13
|
+
/**
|
|
14
|
+
* **수신인의 성을 제외한 이름**
|
|
15
|
+
*/
|
|
16
|
+
first_name: string;
|
|
17
|
+
/**
|
|
18
|
+
* **수신인의 성**
|
|
19
|
+
*/
|
|
20
|
+
last_name: string;
|
|
21
|
+
/**
|
|
22
|
+
* **수신인 전화번호**
|
|
23
|
+
*/
|
|
24
|
+
phone_number: string;
|
|
25
|
+
/**
|
|
26
|
+
* **배송지 우편번호**
|
|
27
|
+
*/
|
|
28
|
+
postal_code: string;
|
|
29
|
+
/**
|
|
30
|
+
* **배송지가 미국 혹은 캐나다인 경우, 배송지 주 정보**
|
|
31
|
+
*/
|
|
32
|
+
state: string;
|
|
33
|
+
/**
|
|
34
|
+
* **배송지 상세 주소**
|
|
35
|
+
*/
|
|
36
|
+
street1: string;
|
|
37
|
+
};
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
3
|
-
* 가맹점으로부터 전달 된 값을 PG사로 그대로 전달
|
|
2
|
+
* **페이레터 해외결제 bypass 파라미터**
|
|
4
3
|
*/
|
|
5
4
|
export type PayletterGlobalIssueBillingKeyAndPayBypass = {
|
|
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,55 +1,53 @@
|
|
|
1
|
-
type WelcomeCarrier = 'SKT' | 'KTF' | 'LGT' | 'MVNO' | 'CJH' | 'KCT' | 'SKL';
|
|
2
|
-
export type WelcomeIssueBillingKeyAndPayBypass = WelcomeIssueBillingKeyAndPayBypassOnPc & WelcomeIssueBillingKeyAndPayBypassOnMobile;
|
|
3
|
-
type WelcomeIssueBillingKeyAndPayBypassOnPc = {
|
|
4
|
-
acceptmethod?: AcceptMethodKey[];
|
|
5
|
-
};
|
|
6
|
-
type AcceptMethodKey =
|
|
7
|
-
/**
|
|
8
|
-
* 휴대폰 소액결제시 기본 선택 되어있는 통신사
|
|
9
|
-
* 기본) 기본 선택되어있는 통신사 없음
|
|
10
|
-
* 예시) KT 기본 선택 → hppdefaultcorp(KT) 전달
|
|
11
|
-
*
|
|
12
|
-
* - SKT: SKT
|
|
13
|
-
* - KT: KTF
|
|
14
|
-
* - LG 유플러스: LGT
|
|
15
|
-
* - 알뜰폰 전체: MVNO
|
|
16
|
-
* - 알뜰폰 CJ 헬로 모바일: CJH
|
|
17
|
-
* - 알뜰폰 티플러스: KCT
|
|
18
|
-
* - 알뜰폰 SK 세븐 모바일: SKL
|
|
19
|
-
*/
|
|
20
|
-
`hppdefaultcorp(${WelcomeCarrier})`
|
|
21
1
|
/**
|
|
22
|
-
*
|
|
23
|
-
* 기본) 수정 가능
|
|
24
|
-
*
|
|
25
|
-
* - Y: 수정 불가능
|
|
26
|
-
* - N: 수정 가능
|
|
2
|
+
* **웰컴페이먼츠 bypass 파라미터**
|
|
27
3
|
*/
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
4
|
+
export type WelcomeIssueBillingKeyAndPayBypass = {
|
|
5
|
+
/**
|
|
6
|
+
* `acceptmethod` 파라미터는 휴대폰 소액결제 시 기본 선택할 통신사를 설정하며, 추가로 `buyer_tel` 값의 수정 가능 여부를 지정할 수 있습니다.
|
|
7
|
+
*
|
|
8
|
+
* **통신사 기본 선택 설정:**
|
|
9
|
+
*
|
|
10
|
+
* - 특정 통신사를 기본 선택하려면 `hppdefaultcorp(통신사코드)` 형식으로 전달합니다.
|
|
11
|
+
* - 예시: KT를 기본 선택 → `hppdefaultcorp(KTF)`
|
|
12
|
+
*
|
|
13
|
+
* **가능한 통신사 코드:**
|
|
14
|
+
*
|
|
15
|
+
* - `SKT`: SK 텔레콤
|
|
16
|
+
* - `KTF`: KT
|
|
17
|
+
* - `LGT`: LG 유플러스
|
|
18
|
+
* - `MVNO`: 알뜰폰 전체
|
|
19
|
+
* - `CJH`: 알뜰폰 CJ 헬로 모바일
|
|
20
|
+
* - `KCT`: 알뜰폰 티플러스
|
|
21
|
+
* - `SKL`: 알뜰폰 SK 세븐 모바일
|
|
22
|
+
*
|
|
23
|
+
* **휴대폰 소액결제창에 자동 입력되는 `buyer_tel` 수정 가능 여부 설정:**
|
|
24
|
+
*
|
|
25
|
+
* - 수정 불가능으로 설정하려면 `hppnofix(Y)`를 전달합니다.
|
|
26
|
+
* - 수정 가능으로 설정하려면 `hppnofix(N)`를 전달합니다. (기본값)
|
|
27
|
+
*/
|
|
28
|
+
acceptmethod?: string[] | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* `P_RESERVED` 파라미터는 휴대폰 소액결제 시 기본 선택할 통신사를 설정하며, 추가로 `buyer_tel` 값의 수정 가능 여부를 지정할 수 있습니다.
|
|
31
|
+
*
|
|
32
|
+
* **통신사 기본 선택 설정:**
|
|
33
|
+
*
|
|
34
|
+
* - 특정 통신사를 기본 선택하려면 `hpp_default_corp=통신사코드` 형식으로 전달합니다.
|
|
35
|
+
* - 예시: KT를 기본 선택 → `hpp_default_corp=KTF`
|
|
36
|
+
*
|
|
37
|
+
* **가능한 통신사 코드:**
|
|
38
|
+
*
|
|
39
|
+
* - `SKT`: SK 텔레콤
|
|
40
|
+
* - `KTF`: KT
|
|
41
|
+
* - `LGT`: LG 유플러스
|
|
42
|
+
* - `MVNO`: 알뜰폰 전체
|
|
43
|
+
* - `CJH`: 알뜰폰 CJ 헬로 모바일
|
|
44
|
+
* - `KCT`: 알뜰폰 티플러스
|
|
45
|
+
* - `SKL`: 알뜰폰 SK 세븐 모바일
|
|
46
|
+
*
|
|
47
|
+
* **휴대폰 소액결제창에 자동 입력되는 `buyer_tel` 수정 가능 여부 설정:**
|
|
48
|
+
*
|
|
49
|
+
* - 수정 불가능으로 설정하려면 `hpp_nofix=Y`를 전달합니다.
|
|
50
|
+
* - 수정 가능으로 설정하려면 `hpp_nofix=N`를 전달합니다. (기본값)
|
|
51
|
+
*/
|
|
52
|
+
P_RESERVED?: string[] | undefined;
|
|
31
53
|
};
|
|
32
|
-
type PReservedKey =
|
|
33
|
-
/**
|
|
34
|
-
* 휴대폰 소액결제시 기본 선택 되어있는 통신사
|
|
35
|
-
* 기본) 기본 선택 되어있는 통신사 없음
|
|
36
|
-
* 예시) KT 기본 선택 → hpp_default_corp=KT 전달
|
|
37
|
-
*
|
|
38
|
-
* - SKT: SKT
|
|
39
|
-
* - KT: KTF
|
|
40
|
-
* - LG 유플러스: LGT
|
|
41
|
-
* - 알뜰폰 전체: MVNO
|
|
42
|
-
* - 알뜰폰 CJ 헬로 모바일: CJH
|
|
43
|
-
* - 알뜰폰 티플러스: KCT
|
|
44
|
-
* - 알뜰폰 SK 세븐 모바일: SKL
|
|
45
|
-
*/
|
|
46
|
-
`hpp_default_corp=${WelcomeCarrier}`
|
|
47
|
-
/**
|
|
48
|
-
* 휴대폰 소액결제창에 자동 입력되는 buyer_tel값을 수정할 수 있는지 여부
|
|
49
|
-
* 기본) 수정 가능
|
|
50
|
-
*
|
|
51
|
-
* - Y: 수정 불가능
|
|
52
|
-
* - N: 수정 가능
|
|
53
|
-
*/
|
|
54
|
-
| `hpp_nofix=${'Y' | 'N'}`;
|
|
55
|
-
export {};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
1
|
+
export * from './Welcome.js';
|
|
2
|
+
export * from './EximbayV2.js';
|
|
3
|
+
export * from './EximbayV2Payment.js';
|
|
4
|
+
export * from './EximbayV2Merchant.js';
|
|
5
|
+
export * from './EximbayV2Surcharge.js';
|
|
6
|
+
export * from './EximbayV2ShipTo.js';
|
|
7
|
+
export * from './EximbayV2BillTo.js';
|
|
8
|
+
export * from './PayletterGlobal.js';
|
|
@@ -1,24 +1,17 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PaypalV2Style } from './PaypalV2Style.js';
|
|
2
|
+
import type { PaypalV2ShippingAddress } from './PaypalV2ShippingAddress.js';
|
|
3
|
+
import type { PaypalV2AdditionalData } from './PaypalV2AdditionalData.js';
|
|
4
|
+
/**
|
|
5
|
+
* **Paypal bypass 파라미터**
|
|
6
|
+
*/
|
|
2
7
|
export type PaypalV2LoadIssueBillingKeyUIBypass = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
recipient_name?: string;
|
|
13
|
-
line1: string;
|
|
14
|
-
line2?: string;
|
|
15
|
-
city: string;
|
|
16
|
-
state?: string;
|
|
17
|
-
postal_code?: string;
|
|
18
|
-
country_code: PaypalV2Country;
|
|
19
|
-
};
|
|
20
|
-
additional_data?: {
|
|
21
|
-
key: string;
|
|
22
|
-
value: string;
|
|
23
|
-
}[];
|
|
8
|
+
/**
|
|
9
|
+
* 페이팔 빌링키 발급 UI 호출 시 필요한 파라미터
|
|
10
|
+
*/
|
|
11
|
+
style?: PaypalV2Style | undefined;
|
|
12
|
+
shipping_address?: PaypalV2ShippingAddress | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* STC 파라미터
|
|
15
|
+
*/
|
|
16
|
+
additional_data?: PaypalV2AdditionalData[] | undefined;
|
|
24
17
|
};
|
package/dist/v2/entity/bypass/{PaypalV2Country.d.ts → loadIssueBillingKeyUI/PaypalV2Country.d.ts}
RENAMED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* **페이팔 V2 국가 코드**
|
|
3
|
+
*/
|
|
1
4
|
export declare const PaypalV2Country: {
|
|
2
5
|
readonly AL: "COUNTRY_AL";
|
|
3
6
|
readonly DZ: "COUNTRY_DZ";
|
|
@@ -203,4 +206,7 @@ export declare const PaypalV2Country: {
|
|
|
203
206
|
readonly ZM: "COUNTRY_ZM";
|
|
204
207
|
readonly ZW: "COUNTRY_ZW";
|
|
205
208
|
};
|
|
206
|
-
|
|
209
|
+
/**
|
|
210
|
+
* **페이팔 V2 국가 코드**
|
|
211
|
+
*/
|
|
212
|
+
export type PaypalV2Country = (typeof PaypalV2Country)[keyof typeof PaypalV2Country];
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { PaypalV2Country } from './PaypalV2Country.js';
|
|
2
|
+
export type PaypalV2ShippingAddress = {
|
|
3
|
+
/**
|
|
4
|
+
* 수령인 이름
|
|
5
|
+
*/
|
|
6
|
+
recipient_name?: string | undefined;
|
|
7
|
+
/**
|
|
8
|
+
* 도로명 주소
|
|
9
|
+
*/
|
|
10
|
+
line1: string;
|
|
11
|
+
/**
|
|
12
|
+
* 아파트 동 호수
|
|
13
|
+
*/
|
|
14
|
+
line2?: string | undefined;
|
|
15
|
+
/**
|
|
16
|
+
* 도시 이름
|
|
17
|
+
*/
|
|
18
|
+
city: string;
|
|
19
|
+
/**
|
|
20
|
+
* 주 이름 (아르헨티나, 브라질, 캐나다, 중국, 인도, 이탈리아, 일본, 멕시코, 태국 또는 미국의 경우 필수)
|
|
21
|
+
*/
|
|
22
|
+
state?: string | undefined;
|
|
23
|
+
/**
|
|
24
|
+
* 우편번호
|
|
25
|
+
*/
|
|
26
|
+
postal_code?: string | undefined;
|
|
27
|
+
/**
|
|
28
|
+
* 국가 코드
|
|
29
|
+
*/
|
|
30
|
+
country_code: PaypalV2Country;
|
|
31
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { PaypalV2StyleColor } from './PaypalV2StyleColor.js';
|
|
2
|
+
import { PaypalV2StyleLabel } from './PaypalV2StyleLabel.js';
|
|
3
|
+
import { PaypalV2StyleLayout } from './PaypalV2StyleLayout.js';
|
|
4
|
+
import { PaypalV2StyleShape } from './PaypalV2StyleShape.js';
|
|
5
|
+
/**
|
|
6
|
+
* 페이팔 빌링키 발급 UI 호출 시 필요한 파라미터
|
|
7
|
+
*/
|
|
8
|
+
export type PaypalV2Style = {
|
|
9
|
+
/**
|
|
10
|
+
* 버튼 색상
|
|
11
|
+
*/
|
|
12
|
+
color?: PaypalV2StyleColor | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* 버튼 높이
|
|
15
|
+
*/
|
|
16
|
+
height?: number | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* 버튼 라벨
|
|
19
|
+
*/
|
|
20
|
+
label?: PaypalV2StyleLabel | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* 버튼 렌더링 방향
|
|
23
|
+
*/
|
|
24
|
+
layout?: PaypalV2StyleLayout | undefined;
|
|
25
|
+
/**
|
|
26
|
+
* 버튼 모양
|
|
27
|
+
*/
|
|
28
|
+
shape?: PaypalV2StyleShape | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* 버튼 하위에 문구 노출 여부
|
|
31
|
+
*/
|
|
32
|
+
tagline?: boolean | undefined;
|
|
33
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 버튼 색상
|
|
3
|
+
*/
|
|
4
|
+
export declare const PaypalV2StyleColor: {
|
|
5
|
+
readonly gold: "gold";
|
|
6
|
+
readonly blue: "blue";
|
|
7
|
+
readonly silver: "silver";
|
|
8
|
+
readonly white: "white";
|
|
9
|
+
readonly black: "black";
|
|
10
|
+
};
|
|
11
|
+
/**
|
|
12
|
+
* 버튼 색상
|
|
13
|
+
*/
|
|
14
|
+
export type PaypalV2StyleColor = (typeof PaypalV2StyleColor)[keyof typeof PaypalV2StyleColor];
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 버튼 라벨
|
|
3
|
+
*/
|
|
4
|
+
export declare const PaypalV2StyleLabel: {
|
|
5
|
+
readonly paypal: "paypal";
|
|
6
|
+
readonly checkout: "checkout";
|
|
7
|
+
readonly buynow: "buynow";
|
|
8
|
+
readonly pay: "pay";
|
|
9
|
+
readonly installment: "installment";
|
|
10
|
+
readonly subscribe: "subscribe";
|
|
11
|
+
readonly donate: "donate";
|
|
12
|
+
};
|
|
13
|
+
/**
|
|
14
|
+
* 버튼 라벨
|
|
15
|
+
*/
|
|
16
|
+
export type PaypalV2StyleLabel = (typeof PaypalV2StyleLabel)[keyof typeof PaypalV2StyleLabel];
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* 버튼 렌더링 방향
|
|
3
|
+
*/
|
|
4
|
+
export declare const PaypalV2StyleLayout: {
|
|
5
|
+
readonly vertical: "vertical";
|
|
6
|
+
readonly horizontal: "horizontal";
|
|
7
|
+
};
|
|
8
|
+
/**
|
|
9
|
+
* 버튼 렌더링 방향
|
|
10
|
+
*/
|
|
11
|
+
export type PaypalV2StyleLayout = (typeof PaypalV2StyleLayout)[keyof typeof PaypalV2StyleLayout];
|
|
@@ -1,4 +1,9 @@
|
|
|
1
|
-
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
export * from './PaypalV2.js';
|
|
2
|
+
export * from './PaypalV2Style.js';
|
|
3
|
+
export * from './PaypalV2ShippingAddress.js';
|
|
4
|
+
export * from './PaypalV2Country.js';
|
|
5
|
+
export * from './PaypalV2AdditionalData.js';
|
|
6
|
+
export * from './PaypalV2StyleColor.js';
|
|
7
|
+
export * from './PaypalV2StyleLabel.js';
|
|
8
|
+
export * from './PaypalV2StyleLayout.js';
|
|
9
|
+
export * from './PaypalV2StyleShape.js';
|
|
@@ -1,57 +1,30 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import type { PaypalV2Style } from './PaypalV2Style.js';
|
|
2
|
+
import type { PaypalV2PurchaseUnit } from './PaypalV2PurchaseUnit.js';
|
|
3
|
+
import type { PaypalV2Payer } from './PaypalV2Payer.js';
|
|
4
|
+
import type { PaypalV2AdditionalData } from './PaypalV2AdditionalData.js';
|
|
5
|
+
/**
|
|
6
|
+
* **Paypal bypass 파라미터**
|
|
7
|
+
*/
|
|
2
8
|
export type PaypalV2LoadPaymentUIBypass = {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
postal_code?: string;
|
|
25
|
-
country_code: PaypalV2Country;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
}[];
|
|
29
|
-
payer?: {
|
|
30
|
-
tax_info?: {
|
|
31
|
-
tax_id: string;
|
|
32
|
-
tax_id_type: string;
|
|
33
|
-
};
|
|
34
|
-
address?: {
|
|
35
|
-
address_line_1?: string;
|
|
36
|
-
address_line_2?: string;
|
|
37
|
-
admin_area_1?: string;
|
|
38
|
-
admin_area_2?: string;
|
|
39
|
-
postal_code?: string;
|
|
40
|
-
country_code: PaypalV2Country;
|
|
41
|
-
};
|
|
42
|
-
};
|
|
43
|
-
payment_source?: {
|
|
44
|
-
paypal?: {
|
|
45
|
-
experience_context?: {
|
|
46
|
-
brand_name?: string;
|
|
47
|
-
shipping_preference?: 'GET_FROM_FILE' | 'NO_SHIPPING' | 'SET_PROVIDED_ADDRESS';
|
|
48
|
-
landing_page?: 'LOGIN' | 'GUEST_CHECKOUT' | 'NO_PREFERENCE';
|
|
49
|
-
payment_method_preference?: 'UNRESTRICTED' | 'IMMEDIATE_PAYMENT_REQUIRED';
|
|
50
|
-
};
|
|
51
|
-
};
|
|
52
|
-
};
|
|
53
|
-
additional_data?: {
|
|
54
|
-
key: string;
|
|
55
|
-
value: string;
|
|
56
|
-
}[];
|
|
9
|
+
/**
|
|
10
|
+
* SPB 버튼 렌더링에 필요한 파라미터
|
|
11
|
+
*/
|
|
12
|
+
style?: PaypalV2Style | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* 허용할 결제 수단 (예: "card, credit, bancontact")
|
|
15
|
+
*/
|
|
16
|
+
'enable-funding'?: string | undefined;
|
|
17
|
+
/**
|
|
18
|
+
* 차단할 결제 수단 (예: "venmo, mercadopago")
|
|
19
|
+
*/
|
|
20
|
+
'disable-funding'?: string | undefined;
|
|
21
|
+
/**
|
|
22
|
+
* create order API 호출에 필요한 파라미터
|
|
23
|
+
*/
|
|
24
|
+
purchase_units?: PaypalV2PurchaseUnit[] | undefined;
|
|
25
|
+
payer?: PaypalV2Payer | undefined;
|
|
26
|
+
/**
|
|
27
|
+
* STC 파라미터
|
|
28
|
+
*/
|
|
29
|
+
additional_data?: PaypalV2AdditionalData[] | undefined;
|
|
57
30
|
};
|