@bigcommerce/checkout-sdk 1.308.2 → 1.308.3
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/CHANGELOG.md +8 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +16 -158
- package/docs/classes/internal_.CheckoutButtonErrorSelector.md +54 -0
- package/docs/classes/internal_.CheckoutButtonInitializer.md +179 -0
- package/docs/classes/internal_.CheckoutButtonStatusSelector.md +54 -0
- package/docs/classes/internal_.StandardError.md +0 -4
- package/docs/enums/internal_.AmazonPayV2ButtonColor.md +31 -0
- package/docs/enums/internal_.AmazonPayV2CheckoutLanguage.md +59 -0
- package/docs/enums/internal_.AmazonPayV2LedgerCurrency.md +38 -0
- package/docs/enums/internal_.AmazonPayV2PayOptions.md +28 -0
- package/docs/enums/internal_.AmazonPayV2Placement.md +55 -0
- package/docs/enums/internal_.CheckoutButtonMethodType.md +164 -0
- package/docs/enums/internal_.PaypalButtonStyleColorOption.md +38 -0
- package/docs/enums/internal_.PaypalButtonStyleLabelOption.md +45 -0
- package/docs/enums/internal_.PaypalButtonStyleLayoutOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleShapeOption.md +24 -0
- package/docs/enums/internal_.PaypalButtonStyleSizeOption.md +38 -0
- package/docs/enums/internal_.StyleButtonColor.md +45 -0
- package/docs/enums/internal_.StyleButtonLabel.md +45 -0
- package/docs/enums/internal_.StyleButtonLayout.md +24 -0
- package/docs/enums/internal_.StyleButtonShape.md +24 -0
- package/docs/interfaces/internal_.Address.md +0 -4
- package/docs/interfaces/internal_.AddressRequestBody.md +0 -2
- package/docs/interfaces/internal_.AmazonPayV2ButtonConfig.md +82 -0
- package/docs/interfaces/internal_.AmazonPayV2ButtonParams.md +117 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSession.md +37 -0
- package/docs/interfaces/internal_.AmazonPayV2CheckoutSessionConfig.md +38 -0
- package/docs/interfaces/internal_.AmazonPayV2NewButtonParams.md +139 -0
- package/docs/interfaces/internal_.AmazonPayV2Price.md +28 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions.md +40 -0
- package/docs/interfaces/internal_.ApplePayButtonInitializeOptions_2.md +40 -0
- package/docs/interfaces/internal_.BaseCheckoutButtonInitializeOptions.md +291 -0
- package/docs/interfaces/internal_.BraintreeError.md +37 -0
- package/docs/interfaces/internal_.BraintreePaypalButtonInitializeOptions.md +122 -0
- package/docs/interfaces/internal_.BraintreePaypalCreditButtonInitializeOptions.md +113 -0
- package/docs/interfaces/internal_.BraintreeVenmoButtonInitializeOptions.md +56 -0
- package/docs/interfaces/internal_.BuyNowCartRequestBody.md +26 -0
- package/docs/interfaces/internal_.CheckoutButtonInitializerOptions.md +24 -0
- package/docs/interfaces/internal_.CheckoutButtonOptions.md +57 -0
- package/docs/interfaces/internal_.CheckoutButtonSelectors.md +24 -0
- package/docs/interfaces/{internal_.GooglePayCustomerInitializeOptions.md → internal_.GooglePayButtonInitializeOptions.md} +5 -16
- package/docs/interfaces/internal_.LineItem.md +8 -163
- package/docs/interfaces/internal_.PaypalButtonInitializeOptions.md +78 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions.md +66 -0
- package/docs/interfaces/internal_.PaypalButtonStyleOptions_2.md +69 -0
- package/docs/interfaces/internal_.PaypalCommerceAlternativeMethodsButtonOptions.md +61 -0
- package/docs/interfaces/internal_.PaypalCommerceButtonInitializeOptions.md +68 -0
- package/docs/interfaces/internal_.PaypalCommerceCreditButtonInitializeOptions.md +77 -0
- package/docs/interfaces/internal_.PaypalCommerceInlineCheckoutButtonInitializeOptions.md +58 -0
- package/docs/interfaces/internal_.PaypalCommerceVenmoButtonInitializeOptions.md +52 -0
- package/docs/interfaces/internal_.RequestOptions.md +1 -5
- package/docs/interfaces/internal_.WithApplePayButtonInitializeOptions.md +17 -0
- package/docs/modules/internal_.md +51 -515
- package/package.json +1 -1
- package/docs/classes/internal_.CartChangedError.md +0 -62
- package/docs/classes/internal_.CheckoutService.md +0 -1528
- package/docs/classes/internal_.CurrencyService.md +0 -56
- package/docs/classes/internal_.EmbeddedCheckout.md +0 -42
- package/docs/classes/internal_.LanguageService.md +0 -103
- package/docs/classes/internal_.RequestError.md +0 -108
- package/docs/enums/internal_.AdyenV2CardFields.md +0 -31
- package/docs/enums/internal_.AdyenV3CardFields.md +0 -31
- package/docs/enums/internal_.CheckoutIncludes.md +0 -31
- package/docs/enums/internal_.HostedFieldType.md +0 -52
- package/docs/enums/internal_.IconStyle.md +0 -24
- package/docs/enums/internal_.RadiusUnit.md +0 -24
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks.md +0 -70
- package/docs/interfaces/internal_.AdyenAdditionalActionCallbacks_2.md +0 -68
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions.md +0 -108
- package/docs/interfaces/internal_.AdyenAdditionalActionOptions_2.md +0 -108
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions.md +0 -35
- package/docs/interfaces/internal_.AdyenBaseCardComponentOptions_2.md +0 -42
- package/docs/interfaces/internal_.AdyenComponent.md +0 -74
- package/docs/interfaces/internal_.AdyenComponentEvents.md +0 -76
- package/docs/interfaces/internal_.AdyenComponentEvents_2.md +0 -76
- package/docs/interfaces/internal_.AdyenComponent_2.md +0 -74
- package/docs/interfaces/internal_.AdyenCreditCardComponentOptions.md +0 -187
- package/docs/interfaces/internal_.AdyenIdealComponentOptions.md +0 -19
- package/docs/interfaces/internal_.AdyenPaymentMethodState.md +0 -23
- package/docs/interfaces/internal_.AdyenPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.AdyenPlaceholderData.md +0 -35
- package/docs/interfaces/internal_.AdyenPlaceholderData_2.md +0 -35
- package/docs/interfaces/internal_.AdyenThreeDS2Options.md +0 -99
- package/docs/interfaces/internal_.AdyenV2PaymentInitializeOptions.md +0 -162
- package/docs/interfaces/internal_.AdyenV2ValidationState.md +0 -59
- package/docs/interfaces/internal_.AdyenV3CreditCardComponentOptions.md +0 -198
- package/docs/interfaces/internal_.AdyenV3PaymentInitializeOptions.md +0 -137
- package/docs/interfaces/internal_.AdyenV3ValidationState.md +0 -59
- package/docs/interfaces/internal_.AmazonPayCustomerInitializeOptions.md +0 -67
- package/docs/interfaces/internal_.AmazonPayOrderReference.md +0 -32
- package/docs/interfaces/internal_.AmazonPayPaymentInitializeOptions.md +0 -102
- package/docs/interfaces/internal_.AmazonPayShippingInitializeOptions.md +0 -87
- package/docs/interfaces/internal_.AmazonPayV2CustomerInitializeOptions.md +0 -26
- package/docs/interfaces/internal_.AmazonPayV2PaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.AmazonPayV2ShippingInitializeOptions.md +0 -28
- package/docs/interfaces/internal_.AmazonPayWidgetError.md +0 -27
- package/docs/interfaces/internal_.ApplePayCustomerInitializeOptions.md +0 -79
- package/docs/interfaces/internal_.ApplePayPaymentInitializeOptions.md +0 -42
- package/docs/interfaces/internal_.BankInstrument.md +0 -114
- package/docs/interfaces/internal_.Banner.md +0 -24
- package/docs/interfaces/internal_.BaseAccountInstrument.md +0 -93
- package/docs/interfaces/internal_.BaseCustomerInitializeOptions.md +0 -237
- package/docs/interfaces/internal_.BaseElementOptions.md +0 -28
- package/docs/interfaces/internal_.BaseElementOptions_2.md +0 -50
- package/docs/interfaces/internal_.BaseIndividualElementOptions.md +0 -69
- package/docs/interfaces/internal_.BaseInstrument.md +0 -60
- package/docs/interfaces/internal_.BasePaymentInitializeOptions.md +0 -376
- package/docs/interfaces/internal_.BillingAddress.md +0 -184
- package/docs/interfaces/internal_.BillingAddressRequestBody.md +0 -155
- package/docs/interfaces/internal_.BlockElementStyles.md +0 -107
- package/docs/interfaces/internal_.BlueSnapV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.BlueSnapV2StyleProps.md +0 -31
- package/docs/interfaces/internal_.BodlEventsPayload.md +0 -9
- package/docs/interfaces/internal_.BodlService.md +0 -172
- package/docs/interfaces/internal_.BodyStyles.md +0 -17
- package/docs/interfaces/internal_.BoltCustomerInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.BoltPaymentInitializeOptions.md +0 -96
- package/docs/interfaces/internal_.BraintreePaymentInitializeOptions.md +0 -91
- package/docs/interfaces/internal_.BraintreeThreeDSecureOptions.md +0 -53
- package/docs/interfaces/internal_.BraintreeVerifyPayload.md +0 -53
- package/docs/interfaces/internal_.BraintreeVisaCheckoutCustomerInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.BraintreeVisaCheckoutPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.BrowserInfo.md +0 -52
- package/docs/interfaces/internal_.ButtonResponse.md +0 -21
- package/docs/interfaces/internal_.ButtonStyles.md +0 -143
- package/docs/interfaces/internal_.CardCvcElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.CardDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.CardElementOptions.md +0 -93
- package/docs/interfaces/internal_.CardExpiryElementOptions.md +0 -74
- package/docs/interfaces/internal_.CardInstrument.md +0 -117
- package/docs/interfaces/internal_.CardNumberElementOptions.md +0 -90
- package/docs/interfaces/internal_.CardPaymentMethodState.md +0 -62
- package/docs/interfaces/internal_.CardPaymentMethodState_2.md +0 -45
- package/docs/interfaces/internal_.CardState.md +0 -42
- package/docs/interfaces/internal_.CardStateErrors.md +0 -9
- package/docs/interfaces/internal_.CardStateErrors_2.md +0 -9
- package/docs/interfaces/internal_.CardState_2.md +0 -42
- package/docs/interfaces/internal_.Cart.md +0 -108
- package/docs/interfaces/internal_.ChasePayCustomerInitializeOptions.md +0 -17
- package/docs/interfaces/internal_.ChasePayInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.CheckableInputStyles.md +0 -177
- package/docs/interfaces/internal_.ChecklistStyles.md +0 -129
- package/docs/interfaces/internal_.Checkout.md +0 -204
- package/docs/interfaces/internal_.CheckoutParams.md +0 -17
- package/docs/interfaces/internal_.CheckoutPayment.md +0 -44
- package/docs/interfaces/internal_.CheckoutPaymentMethodExecutedOptions.md +0 -17
- package/docs/interfaces/internal_.CheckoutRequestBody.md +0 -17
- package/docs/interfaces/internal_.CheckoutSelectors.md +0 -31
- package/docs/interfaces/internal_.CheckoutServiceOptions.md +0 -38
- package/docs/interfaces/internal_.CheckoutSettings.md +0 -203
- package/docs/interfaces/internal_.CheckoutStoreErrorSelector.md +0 -638
- package/docs/interfaces/internal_.CheckoutStoreSelector.md +0 -503
- package/docs/interfaces/internal_.CheckoutStoreStatusSelector.md +0 -760
- package/docs/interfaces/internal_.Consignment.md +0 -73
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentAssignmentBaseRequestBodyWithShippingAddress.md +0 -31
- package/docs/interfaces/internal_.ConsignmentCreateRequestBody.md +0 -38
- package/docs/interfaces/internal_.ConsignmentLineItem.md +0 -24
- package/docs/interfaces/internal_.ConsignmentPickupOption.md +0 -17
- package/docs/interfaces/internal_.ConsignmentUpdateRequestBody.md +0 -45
- package/docs/interfaces/internal_.Coordinates.md +0 -24
- package/docs/interfaces/internal_.Country.md +0 -45
- package/docs/interfaces/internal_.Coupon.md +0 -45
- package/docs/interfaces/internal_.CreditCardInstrument.md +0 -87
- package/docs/interfaces/internal_.CreditCardPlaceHolder.md +0 -31
- package/docs/interfaces/internal_.CreditCardPlaceHolder_2.md +0 -31
- package/docs/interfaces/internal_.CssProperties.md +0 -213
- package/docs/interfaces/internal_.CssProperties_2.md +0 -213
- package/docs/interfaces/internal_.Currency.md +0 -38
- package/docs/interfaces/internal_.CustomItem.md +0 -52
- package/docs/interfaces/internal_.Customer.md +0 -93
- package/docs/interfaces/internal_.CustomerAddress.md +0 -184
- package/docs/interfaces/internal_.CustomerCredentials.md +0 -24
- package/docs/interfaces/internal_.CustomerGroup.md +0 -24
- package/docs/interfaces/internal_.CustomerPasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.CustomerRequestOptions.md +0 -62
- package/docs/interfaces/internal_.DigitalItem.md +0 -312
- package/docs/interfaces/internal_.DigitalRiverElementClasses.md +0 -69
- package/docs/interfaces/internal_.DigitalRiverPaymentInitializeOptions.md +0 -148
- package/docs/interfaces/internal_.Discount.md +0 -24
- package/docs/interfaces/internal_.DisplaySettings.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutCompleteEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutError.md +0 -31
- package/docs/interfaces/internal_.EmbeddedCheckoutErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameErrorEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutFrameLoadedEvent.md +0 -24
- package/docs/interfaces/internal_.EmbeddedCheckoutLoadedEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutOptions.md +0 -136
- package/docs/interfaces/internal_.EmbeddedCheckoutSignedOutEvent.md +0 -17
- package/docs/interfaces/internal_.EmbeddedCheckoutStyles.md +0 -143
- package/docs/interfaces/internal_.EmbeddedContentOptions.md +0 -17
- package/docs/interfaces/internal_.ExecutePaymentMethodCheckoutOptions.md +0 -95
- package/docs/interfaces/internal_.FlashMessage.md +0 -31
- package/docs/interfaces/internal_.FormField.md +0 -115
- package/docs/interfaces/internal_.FormFieldItem.md +0 -24
- package/docs/interfaces/internal_.FormFieldOptions.md +0 -31
- package/docs/interfaces/internal_.FormFields.md +0 -31
- package/docs/interfaces/internal_.GatewayOrderPayment.md +0 -110
- package/docs/interfaces/internal_.GiftCertificate.md +0 -45
- package/docs/interfaces/internal_.GiftCertificateItem.md +0 -80
- package/docs/interfaces/internal_.GiftCertificateOrderPayment.md +0 -96
- package/docs/interfaces/internal_.GooglePayPaymentInitializeOptions.md +0 -95
- package/docs/interfaces/internal_.HostedCardFieldOptions.md +0 -37
- package/docs/interfaces/internal_.HostedCardFieldOptionsMap.md +0 -38
- package/docs/interfaces/internal_.HostedFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.HostedFormOptions.md +0 -116
- package/docs/interfaces/internal_.HostedInputValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.HostedInputValidateErrorDataMap.md +0 -52
- package/docs/interfaces/internal_.HostedInputValidateResults.md +0 -24
- package/docs/interfaces/internal_.HostedInstrument.md +0 -24
- package/docs/interfaces/internal_.HostedStoredCardFieldOptions.md +0 -56
- package/docs/interfaces/internal_.HostedStoredCardFieldOptionsMap.md +0 -24
- package/docs/interfaces/internal_.IbanElementOptions.md +0 -84
- package/docs/interfaces/internal_.IdealElementOptions.md +0 -72
- package/docs/interfaces/internal_.IndividualCardElementOptions.md +0 -38
- package/docs/interfaces/internal_.InitializationStrategy.md +0 -23
- package/docs/interfaces/internal_.InlineElementStyles.md +0 -55
- package/docs/interfaces/internal_.InputDetail.md +0 -82
- package/docs/interfaces/internal_.InputDetail_2.md +0 -82
- package/docs/interfaces/internal_.InputStyles.md +0 -154
- package/docs/interfaces/internal_.Item.md +0 -24
- package/docs/interfaces/internal_.Item_2.md +0 -28
- package/docs/interfaces/internal_.Item_3.md +0 -28
- package/docs/interfaces/internal_.KlarnaLoadResponse.md +0 -30
- package/docs/interfaces/internal_.KlarnaLoadResponse_2.md +0 -30
- package/docs/interfaces/internal_.KlarnaPaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.KlarnaV2PaymentInitializeOptions.md +0 -75
- package/docs/interfaces/internal_.LabelStyles.md +0 -78
- package/docs/interfaces/internal_.LanguageConfig.md +0 -59
- package/docs/interfaces/internal_.LineItemCategory.md +0 -17
- package/docs/interfaces/internal_.LineItemMap.md +0 -38
- package/docs/interfaces/internal_.LineItemOption.md +0 -38
- package/docs/interfaces/internal_.LineItemSocialData.md +0 -38
- package/docs/interfaces/internal_.LinkStyles.md +0 -92
- package/docs/interfaces/internal_.LoadingIndicatorStyles.md +0 -31
- package/docs/interfaces/internal_.Locales.md +0 -9
- package/docs/interfaces/internal_.MasterpassCustomerInitializeOptions.md +0 -19
- package/docs/interfaces/internal_.MasterpassPaymentInitializeOptions.md +0 -37
- package/docs/interfaces/internal_.MolliePaymentInitializeOptions.md +0 -126
- package/docs/interfaces/internal_.MonerisPaymentInitializeOptions.md +0 -59
- package/docs/interfaces/internal_.MonerisStylingProps.md +0 -82
- package/docs/interfaces/internal_.NonceGenerationError.md +0 -31
- package/docs/interfaces/internal_.NonceInstrument.md +0 -38
- package/docs/interfaces/internal_.Option_2.md +0 -24
- package/docs/interfaces/internal_.OptionsResponse.md +0 -79
- package/docs/interfaces/internal_.OpyPaymentInitializeOptions.md +0 -40
- package/docs/interfaces/internal_.Order.md +0 -199
- package/docs/interfaces/internal_.OrderConsignment.md +0 -17
- package/docs/interfaces/internal_.OrderPayment.md +0 -60
- package/docs/interfaces/internal_.OrderPaymentRequestBody.md +0 -41
- package/docs/interfaces/internal_.OrderRequestBody.md +0 -35
- package/docs/interfaces/internal_.OrderShippingConsignment.md +0 -220
- package/docs/interfaces/internal_.PasswordRequirements.md +0 -38
- package/docs/interfaces/internal_.PayPalInstrument.md +0 -93
- package/docs/interfaces/internal_.PaymentMethod.md +0 -100
- package/docs/interfaces/internal_.PaymentMethodConfig.md +0 -122
- package/docs/interfaces/internal_.PaymentRequestOptions.md +0 -69
- package/docs/interfaces/internal_.PaymentSettings.md +0 -24
- package/docs/interfaces/internal_.PaypalCommerceCreditCardPaymentInitializeOptions.md +0 -92
- package/docs/interfaces/internal_.PaypalCommerceFormFieldCardTypeChangeEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldKeyboardEventData.md +0 -17
- package/docs/interfaces/internal_.PaypalCommerceFormFieldOptions.md +0 -30
- package/docs/interfaces/internal_.PaypalCommerceFormFieldStylesMap.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateErrorData.md +0 -31
- package/docs/interfaces/internal_.PaypalCommerceFormFieldValidateEventData.md +0 -35
- package/docs/interfaces/internal_.PaypalCommerceFormFieldsMap.md +0 -38
- package/docs/interfaces/internal_.PaypalCommerceFormOptions.md +0 -150
- package/docs/interfaces/internal_.PaypalCommercePaymentInitializeOptions.md +0 -188
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldOptions.md +0 -45
- package/docs/interfaces/internal_.PaypalCommerceStoredCardFieldsMap.md +0 -24
- package/docs/interfaces/internal_.PaypalExpressPaymentInitializeOptions.md +0 -38
- package/docs/interfaces/internal_.PaypalFieldsStyleOptions.md +0 -48
- package/docs/interfaces/internal_.PhysicalItem.md +0 -313
- package/docs/interfaces/internal_.PickupMethod.md +0 -45
- package/docs/interfaces/internal_.PickupOptionResult.md +0 -17
- package/docs/interfaces/internal_.Promotion.md +0 -17
- package/docs/interfaces/internal_.Radius.md +0 -24
- package/docs/interfaces/internal_.Region.md +0 -24
- package/docs/interfaces/internal_.SearchArea.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder.md +0 -24
- package/docs/interfaces/internal_.SepaPlaceHolder_2.md +0 -24
- package/docs/interfaces/internal_.ShippingInitializeOptions.md +0 -100
- package/docs/interfaces/internal_.ShippingOption.md +0 -66
- package/docs/interfaces/internal_.ShippingRequestOptions.md +0 -67
- package/docs/interfaces/internal_.ShopperConfig.md +0 -31
- package/docs/interfaces/internal_.ShopperCurrency.md +0 -96
- package/docs/interfaces/internal_.SignInEmail.md +0 -24
- package/docs/interfaces/internal_.SignInEmailRequestBody.md +0 -24
- package/docs/interfaces/internal_.SpamProtectionOptions.md +0 -27
- package/docs/interfaces/internal_.SquareFormElement.md +0 -30
- package/docs/interfaces/internal_.SquarePaymentInitializeOptions.md +0 -133
- package/docs/interfaces/internal_.StepStyles.md +0 -122
- package/docs/interfaces/internal_.StepTracker.md +0 -66
- package/docs/interfaces/internal_.StepTrackerConfig.md +0 -17
- package/docs/interfaces/internal_.StoreConfig.md +0 -117
- package/docs/interfaces/internal_.StoreCurrency.md +0 -58
- package/docs/interfaces/internal_.StoreLinks.md +0 -59
- package/docs/interfaces/internal_.StoreProfile.md +0 -73
- package/docs/interfaces/internal_.StripeCustomerEvent.md +0 -76
- package/docs/interfaces/internal_.StripeElementCSSProperties.md +0 -172
- package/docs/interfaces/internal_.StripeElementClasses.md +0 -65
- package/docs/interfaces/internal_.StripeElementStyle.md +0 -46
- package/docs/interfaces/internal_.StripeElementStyleVariant.md +0 -289
- package/docs/interfaces/internal_.StripeEvent.md +0 -39
- package/docs/interfaces/internal_.StripeShippingEvent.md +0 -76
- package/docs/interfaces/internal_.StripeUPECustomerInitializeOptions.md +0 -94
- package/docs/interfaces/internal_.StripeUPEPaymentInitializeOptions.md +0 -72
- package/docs/interfaces/internal_.StripeUPEShippingInitializeOptions.md +0 -109
- package/docs/interfaces/internal_.StripeV3PaymentInitializeOptions.md +0 -78
- package/docs/interfaces/internal_.StyleOptions.md +0 -46
- package/docs/interfaces/internal_.StyleOptions_2.md +0 -46
- package/docs/interfaces/internal_.SubInputDetail.md +0 -64
- package/docs/interfaces/internal_.SubInputDetail_2.md +0 -64
- package/docs/interfaces/internal_.Subscriptions.md +0 -31
- package/docs/interfaces/internal_.Tax.md +0 -24
- package/docs/interfaces/internal_.TextInputStyles.md +0 -177
- package/docs/interfaces/internal_.ThreeDSecure.md +0 -52
- package/docs/interfaces/internal_.ThreeDSecureToken.md +0 -17
- package/docs/interfaces/internal_.TranslationData.md +0 -9
- package/docs/interfaces/internal_.Translations.md +0 -9
- package/docs/interfaces/internal_.UnknownObject.md +0 -9
- package/docs/interfaces/internal_.VaultedInstrument.md +0 -31
- package/docs/interfaces/internal_.WechatDataPaymentMethodState.md +0 -17
- package/docs/interfaces/internal_.WechatDataPaymentMethodState_2.md +0 -17
- package/docs/interfaces/internal_.WechatState.md +0 -17
- package/docs/interfaces/internal_.WechatState_2.md +0 -17
- package/docs/interfaces/internal_.WithAccountCreation.md +0 -17
- package/docs/interfaces/internal_.WithAdyenV2PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithAdyenV3PaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayCustomerInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithApplePayPaymentInitializeOptions.md +0 -20
- package/docs/interfaces/internal_.WithCheckoutcomFawryInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomSEPAInstrument.md +0 -24
- package/docs/interfaces/internal_.WithCheckoutcomiDealInstrument.md +0 -17
- package/docs/interfaces/internal_.WithDocumentInstrument.md +0 -17
- package/docs/interfaces/internal_.WithMollieIssuerInstrument.md +0 -24
- package/docs/interfaces/internal_.WorldpayAccessPaymentInitializeOptions.md +0 -32
- package/docs/interfaces/internal_.ZipCodeElementOptions.md +0 -17
|
@@ -1,184 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BillingAddress
|
|
2
|
-
|
|
3
|
-
# Interface: BillingAddress
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BillingAddress
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- [`Address`](internal_.Address.md)
|
|
10
|
-
|
|
11
|
-
↳ **`BillingAddress`**
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [address1](internal_.BillingAddress.md#address1)
|
|
18
|
-
- [address2](internal_.BillingAddress.md#address2)
|
|
19
|
-
- [city](internal_.BillingAddress.md#city)
|
|
20
|
-
- [company](internal_.BillingAddress.md#company)
|
|
21
|
-
- [country](internal_.BillingAddress.md#country)
|
|
22
|
-
- [countryCode](internal_.BillingAddress.md#countrycode)
|
|
23
|
-
- [customFields](internal_.BillingAddress.md#customfields)
|
|
24
|
-
- [email](internal_.BillingAddress.md#email)
|
|
25
|
-
- [firstName](internal_.BillingAddress.md#firstname)
|
|
26
|
-
- [id](internal_.BillingAddress.md#id)
|
|
27
|
-
- [lastName](internal_.BillingAddress.md#lastname)
|
|
28
|
-
- [phone](internal_.BillingAddress.md#phone)
|
|
29
|
-
- [postalCode](internal_.BillingAddress.md#postalcode)
|
|
30
|
-
- [shouldSaveAddress](internal_.BillingAddress.md#shouldsaveaddress)
|
|
31
|
-
- [stateOrProvince](internal_.BillingAddress.md#stateorprovince)
|
|
32
|
-
- [stateOrProvinceCode](internal_.BillingAddress.md#stateorprovincecode)
|
|
33
|
-
|
|
34
|
-
## Properties
|
|
35
|
-
|
|
36
|
-
### address1
|
|
37
|
-
|
|
38
|
-
• **address1**: `string`
|
|
39
|
-
|
|
40
|
-
#### Inherited from
|
|
41
|
-
|
|
42
|
-
[Address](internal_.Address.md).[address1](internal_.Address.md#address1)
|
|
43
|
-
|
|
44
|
-
___
|
|
45
|
-
|
|
46
|
-
### address2
|
|
47
|
-
|
|
48
|
-
• **address2**: `string`
|
|
49
|
-
|
|
50
|
-
#### Inherited from
|
|
51
|
-
|
|
52
|
-
[Address](internal_.Address.md).[address2](internal_.Address.md#address2)
|
|
53
|
-
|
|
54
|
-
___
|
|
55
|
-
|
|
56
|
-
### city
|
|
57
|
-
|
|
58
|
-
• **city**: `string`
|
|
59
|
-
|
|
60
|
-
#### Inherited from
|
|
61
|
-
|
|
62
|
-
[Address](internal_.Address.md).[city](internal_.Address.md#city)
|
|
63
|
-
|
|
64
|
-
___
|
|
65
|
-
|
|
66
|
-
### company
|
|
67
|
-
|
|
68
|
-
• **company**: `string`
|
|
69
|
-
|
|
70
|
-
#### Inherited from
|
|
71
|
-
|
|
72
|
-
[Address](internal_.Address.md).[company](internal_.Address.md#company)
|
|
73
|
-
|
|
74
|
-
___
|
|
75
|
-
|
|
76
|
-
### country
|
|
77
|
-
|
|
78
|
-
• **country**: `string`
|
|
79
|
-
|
|
80
|
-
#### Inherited from
|
|
81
|
-
|
|
82
|
-
[Address](internal_.Address.md).[country](internal_.Address.md#country)
|
|
83
|
-
|
|
84
|
-
___
|
|
85
|
-
|
|
86
|
-
### countryCode
|
|
87
|
-
|
|
88
|
-
• **countryCode**: `string`
|
|
89
|
-
|
|
90
|
-
#### Inherited from
|
|
91
|
-
|
|
92
|
-
[Address](internal_.Address.md).[countryCode](internal_.Address.md#countrycode)
|
|
93
|
-
|
|
94
|
-
___
|
|
95
|
-
|
|
96
|
-
### customFields
|
|
97
|
-
|
|
98
|
-
• **customFields**: { `fieldId`: `string` ; `fieldValue`: `string` \| `number` \| `string`[] }[]
|
|
99
|
-
|
|
100
|
-
#### Inherited from
|
|
101
|
-
|
|
102
|
-
[Address](internal_.Address.md).[customFields](internal_.Address.md#customfields)
|
|
103
|
-
|
|
104
|
-
___
|
|
105
|
-
|
|
106
|
-
### email
|
|
107
|
-
|
|
108
|
-
• `Optional` **email**: `string`
|
|
109
|
-
|
|
110
|
-
___
|
|
111
|
-
|
|
112
|
-
### firstName
|
|
113
|
-
|
|
114
|
-
• **firstName**: `string`
|
|
115
|
-
|
|
116
|
-
#### Inherited from
|
|
117
|
-
|
|
118
|
-
[Address](internal_.Address.md).[firstName](internal_.Address.md#firstname)
|
|
119
|
-
|
|
120
|
-
___
|
|
121
|
-
|
|
122
|
-
### id
|
|
123
|
-
|
|
124
|
-
• **id**: `string`
|
|
125
|
-
|
|
126
|
-
___
|
|
127
|
-
|
|
128
|
-
### lastName
|
|
129
|
-
|
|
130
|
-
• **lastName**: `string`
|
|
131
|
-
|
|
132
|
-
#### Inherited from
|
|
133
|
-
|
|
134
|
-
[Address](internal_.Address.md).[lastName](internal_.Address.md#lastname)
|
|
135
|
-
|
|
136
|
-
___
|
|
137
|
-
|
|
138
|
-
### phone
|
|
139
|
-
|
|
140
|
-
• **phone**: `string`
|
|
141
|
-
|
|
142
|
-
#### Inherited from
|
|
143
|
-
|
|
144
|
-
[Address](internal_.Address.md).[phone](internal_.Address.md#phone)
|
|
145
|
-
|
|
146
|
-
___
|
|
147
|
-
|
|
148
|
-
### postalCode
|
|
149
|
-
|
|
150
|
-
• **postalCode**: `string`
|
|
151
|
-
|
|
152
|
-
#### Inherited from
|
|
153
|
-
|
|
154
|
-
[Address](internal_.Address.md).[postalCode](internal_.Address.md#postalcode)
|
|
155
|
-
|
|
156
|
-
___
|
|
157
|
-
|
|
158
|
-
### shouldSaveAddress
|
|
159
|
-
|
|
160
|
-
• `Optional` **shouldSaveAddress**: `boolean`
|
|
161
|
-
|
|
162
|
-
#### Inherited from
|
|
163
|
-
|
|
164
|
-
[Address](internal_.Address.md).[shouldSaveAddress](internal_.Address.md#shouldsaveaddress)
|
|
165
|
-
|
|
166
|
-
___
|
|
167
|
-
|
|
168
|
-
### stateOrProvince
|
|
169
|
-
|
|
170
|
-
• **stateOrProvince**: `string`
|
|
171
|
-
|
|
172
|
-
#### Inherited from
|
|
173
|
-
|
|
174
|
-
[Address](internal_.Address.md).[stateOrProvince](internal_.Address.md#stateorprovince)
|
|
175
|
-
|
|
176
|
-
___
|
|
177
|
-
|
|
178
|
-
### stateOrProvinceCode
|
|
179
|
-
|
|
180
|
-
• **stateOrProvinceCode**: `string`
|
|
181
|
-
|
|
182
|
-
#### Inherited from
|
|
183
|
-
|
|
184
|
-
[Address](internal_.Address.md).[stateOrProvinceCode](internal_.Address.md#stateorprovincecode)
|
|
@@ -1,155 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BillingAddressRequestBody
|
|
2
|
-
|
|
3
|
-
# Interface: BillingAddressRequestBody
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BillingAddressRequestBody
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- [`AddressRequestBody`](internal_.AddressRequestBody.md)
|
|
10
|
-
|
|
11
|
-
↳ **`BillingAddressRequestBody`**
|
|
12
|
-
|
|
13
|
-
## Table of contents
|
|
14
|
-
|
|
15
|
-
### Properties
|
|
16
|
-
|
|
17
|
-
- [address1](internal_.BillingAddressRequestBody.md#address1)
|
|
18
|
-
- [address2](internal_.BillingAddressRequestBody.md#address2)
|
|
19
|
-
- [city](internal_.BillingAddressRequestBody.md#city)
|
|
20
|
-
- [company](internal_.BillingAddressRequestBody.md#company)
|
|
21
|
-
- [countryCode](internal_.BillingAddressRequestBody.md#countrycode)
|
|
22
|
-
- [customFields](internal_.BillingAddressRequestBody.md#customfields)
|
|
23
|
-
- [email](internal_.BillingAddressRequestBody.md#email)
|
|
24
|
-
- [firstName](internal_.BillingAddressRequestBody.md#firstname)
|
|
25
|
-
- [lastName](internal_.BillingAddressRequestBody.md#lastname)
|
|
26
|
-
- [phone](internal_.BillingAddressRequestBody.md#phone)
|
|
27
|
-
- [postalCode](internal_.BillingAddressRequestBody.md#postalcode)
|
|
28
|
-
- [stateOrProvince](internal_.BillingAddressRequestBody.md#stateorprovince)
|
|
29
|
-
- [stateOrProvinceCode](internal_.BillingAddressRequestBody.md#stateorprovincecode)
|
|
30
|
-
|
|
31
|
-
## Properties
|
|
32
|
-
|
|
33
|
-
### address1
|
|
34
|
-
|
|
35
|
-
• **address1**: `string`
|
|
36
|
-
|
|
37
|
-
#### Inherited from
|
|
38
|
-
|
|
39
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[address1](internal_.AddressRequestBody.md#address1)
|
|
40
|
-
|
|
41
|
-
___
|
|
42
|
-
|
|
43
|
-
### address2
|
|
44
|
-
|
|
45
|
-
• **address2**: `string`
|
|
46
|
-
|
|
47
|
-
#### Inherited from
|
|
48
|
-
|
|
49
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[address2](internal_.AddressRequestBody.md#address2)
|
|
50
|
-
|
|
51
|
-
___
|
|
52
|
-
|
|
53
|
-
### city
|
|
54
|
-
|
|
55
|
-
• **city**: `string`
|
|
56
|
-
|
|
57
|
-
#### Inherited from
|
|
58
|
-
|
|
59
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[city](internal_.AddressRequestBody.md#city)
|
|
60
|
-
|
|
61
|
-
___
|
|
62
|
-
|
|
63
|
-
### company
|
|
64
|
-
|
|
65
|
-
• **company**: `string`
|
|
66
|
-
|
|
67
|
-
#### Inherited from
|
|
68
|
-
|
|
69
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[company](internal_.AddressRequestBody.md#company)
|
|
70
|
-
|
|
71
|
-
___
|
|
72
|
-
|
|
73
|
-
### countryCode
|
|
74
|
-
|
|
75
|
-
• **countryCode**: `string`
|
|
76
|
-
|
|
77
|
-
#### Inherited from
|
|
78
|
-
|
|
79
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[countryCode](internal_.AddressRequestBody.md#countrycode)
|
|
80
|
-
|
|
81
|
-
___
|
|
82
|
-
|
|
83
|
-
### customFields
|
|
84
|
-
|
|
85
|
-
• **customFields**: { `fieldId`: `string` ; `fieldValue`: `string` \| `number` \| `string`[] }[]
|
|
86
|
-
|
|
87
|
-
#### Inherited from
|
|
88
|
-
|
|
89
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[customFields](internal_.AddressRequestBody.md#customfields)
|
|
90
|
-
|
|
91
|
-
___
|
|
92
|
-
|
|
93
|
-
### email
|
|
94
|
-
|
|
95
|
-
• `Optional` **email**: `string`
|
|
96
|
-
|
|
97
|
-
___
|
|
98
|
-
|
|
99
|
-
### firstName
|
|
100
|
-
|
|
101
|
-
• **firstName**: `string`
|
|
102
|
-
|
|
103
|
-
#### Inherited from
|
|
104
|
-
|
|
105
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[firstName](internal_.AddressRequestBody.md#firstname)
|
|
106
|
-
|
|
107
|
-
___
|
|
108
|
-
|
|
109
|
-
### lastName
|
|
110
|
-
|
|
111
|
-
• **lastName**: `string`
|
|
112
|
-
|
|
113
|
-
#### Inherited from
|
|
114
|
-
|
|
115
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[lastName](internal_.AddressRequestBody.md#lastname)
|
|
116
|
-
|
|
117
|
-
___
|
|
118
|
-
|
|
119
|
-
### phone
|
|
120
|
-
|
|
121
|
-
• **phone**: `string`
|
|
122
|
-
|
|
123
|
-
#### Inherited from
|
|
124
|
-
|
|
125
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[phone](internal_.AddressRequestBody.md#phone)
|
|
126
|
-
|
|
127
|
-
___
|
|
128
|
-
|
|
129
|
-
### postalCode
|
|
130
|
-
|
|
131
|
-
• **postalCode**: `string`
|
|
132
|
-
|
|
133
|
-
#### Inherited from
|
|
134
|
-
|
|
135
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[postalCode](internal_.AddressRequestBody.md#postalcode)
|
|
136
|
-
|
|
137
|
-
___
|
|
138
|
-
|
|
139
|
-
### stateOrProvince
|
|
140
|
-
|
|
141
|
-
• **stateOrProvince**: `string`
|
|
142
|
-
|
|
143
|
-
#### Inherited from
|
|
144
|
-
|
|
145
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[stateOrProvince](internal_.AddressRequestBody.md#stateorprovince)
|
|
146
|
-
|
|
147
|
-
___
|
|
148
|
-
|
|
149
|
-
### stateOrProvinceCode
|
|
150
|
-
|
|
151
|
-
• **stateOrProvinceCode**: `string`
|
|
152
|
-
|
|
153
|
-
#### Inherited from
|
|
154
|
-
|
|
155
|
-
[AddressRequestBody](internal_.AddressRequestBody.md).[stateOrProvinceCode](internal_.AddressRequestBody.md#stateorprovincecode)
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BlockElementStyles
|
|
2
|
-
|
|
3
|
-
# Interface: BlockElementStyles
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BlockElementStyles
|
|
6
|
-
|
|
7
|
-
## Hierarchy
|
|
8
|
-
|
|
9
|
-
- [`InlineElementStyles`](internal_.InlineElementStyles.md)
|
|
10
|
-
|
|
11
|
-
↳ **`BlockElementStyles`**
|
|
12
|
-
|
|
13
|
-
↳↳ [`ButtonStyles`](internal_.ButtonStyles.md)
|
|
14
|
-
|
|
15
|
-
↳↳ [`InputStyles`](internal_.InputStyles.md)
|
|
16
|
-
|
|
17
|
-
↳↳ [`ChecklistStyles`](internal_.ChecklistStyles.md)
|
|
18
|
-
|
|
19
|
-
↳↳ [`StepStyles`](internal_.StepStyles.md)
|
|
20
|
-
|
|
21
|
-
## Table of contents
|
|
22
|
-
|
|
23
|
-
### Properties
|
|
24
|
-
|
|
25
|
-
- [backgroundColor](internal_.BlockElementStyles.md#backgroundcolor)
|
|
26
|
-
- [borderColor](internal_.BlockElementStyles.md#bordercolor)
|
|
27
|
-
- [borderWidth](internal_.BlockElementStyles.md#borderwidth)
|
|
28
|
-
- [boxShadow](internal_.BlockElementStyles.md#boxshadow)
|
|
29
|
-
- [color](internal_.BlockElementStyles.md#color)
|
|
30
|
-
- [fontFamily](internal_.BlockElementStyles.md#fontfamily)
|
|
31
|
-
- [fontWeight](internal_.BlockElementStyles.md#fontweight)
|
|
32
|
-
- [letterSpacing](internal_.BlockElementStyles.md#letterspacing)
|
|
33
|
-
- [lineHeight](internal_.BlockElementStyles.md#lineheight)
|
|
34
|
-
|
|
35
|
-
## Properties
|
|
36
|
-
|
|
37
|
-
### backgroundColor
|
|
38
|
-
|
|
39
|
-
• `Optional` **backgroundColor**: `string`
|
|
40
|
-
|
|
41
|
-
___
|
|
42
|
-
|
|
43
|
-
### borderColor
|
|
44
|
-
|
|
45
|
-
• `Optional` **borderColor**: `string`
|
|
46
|
-
|
|
47
|
-
___
|
|
48
|
-
|
|
49
|
-
### borderWidth
|
|
50
|
-
|
|
51
|
-
• `Optional` **borderWidth**: `string`
|
|
52
|
-
|
|
53
|
-
___
|
|
54
|
-
|
|
55
|
-
### boxShadow
|
|
56
|
-
|
|
57
|
-
• `Optional` **boxShadow**: `string`
|
|
58
|
-
|
|
59
|
-
___
|
|
60
|
-
|
|
61
|
-
### color
|
|
62
|
-
|
|
63
|
-
• `Optional` **color**: `string`
|
|
64
|
-
|
|
65
|
-
#### Inherited from
|
|
66
|
-
|
|
67
|
-
[InlineElementStyles](internal_.InlineElementStyles.md).[color](internal_.InlineElementStyles.md#color)
|
|
68
|
-
|
|
69
|
-
___
|
|
70
|
-
|
|
71
|
-
### fontFamily
|
|
72
|
-
|
|
73
|
-
• `Optional` **fontFamily**: `string`
|
|
74
|
-
|
|
75
|
-
#### Inherited from
|
|
76
|
-
|
|
77
|
-
[InlineElementStyles](internal_.InlineElementStyles.md).[fontFamily](internal_.InlineElementStyles.md#fontfamily)
|
|
78
|
-
|
|
79
|
-
___
|
|
80
|
-
|
|
81
|
-
### fontWeight
|
|
82
|
-
|
|
83
|
-
• `Optional` **fontWeight**: `string`
|
|
84
|
-
|
|
85
|
-
#### Inherited from
|
|
86
|
-
|
|
87
|
-
[InlineElementStyles](internal_.InlineElementStyles.md).[fontWeight](internal_.InlineElementStyles.md#fontweight)
|
|
88
|
-
|
|
89
|
-
___
|
|
90
|
-
|
|
91
|
-
### letterSpacing
|
|
92
|
-
|
|
93
|
-
• `Optional` **letterSpacing**: `string`
|
|
94
|
-
|
|
95
|
-
#### Inherited from
|
|
96
|
-
|
|
97
|
-
[InlineElementStyles](internal_.InlineElementStyles.md).[letterSpacing](internal_.InlineElementStyles.md#letterspacing)
|
|
98
|
-
|
|
99
|
-
___
|
|
100
|
-
|
|
101
|
-
### lineHeight
|
|
102
|
-
|
|
103
|
-
• `Optional` **lineHeight**: `string`
|
|
104
|
-
|
|
105
|
-
#### Inherited from
|
|
106
|
-
|
|
107
|
-
[InlineElementStyles](internal_.InlineElementStyles.md).[lineHeight](internal_.InlineElementStyles.md#lineheight)
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BlueSnapV2PaymentInitializeOptions
|
|
2
|
-
|
|
3
|
-
# Interface: BlueSnapV2PaymentInitializeOptions
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BlueSnapV2PaymentInitializeOptions
|
|
6
|
-
|
|
7
|
-
A set of options that are required to initialize the BlueSnap V2 payment
|
|
8
|
-
method.
|
|
9
|
-
|
|
10
|
-
The payment step is done through a web page via an iframe provided by the
|
|
11
|
-
strategy.
|
|
12
|
-
|
|
13
|
-
```html
|
|
14
|
-
<!-- This is where the BlueSnap iframe will be inserted. It can be an in-page container or a modal -->
|
|
15
|
-
<div id="container"></div>
|
|
16
|
-
|
|
17
|
-
<!-- This is a cancellation button -->
|
|
18
|
-
<button type="button" id="cancel-button"></button>
|
|
19
|
-
```
|
|
20
|
-
|
|
21
|
-
```js
|
|
22
|
-
service.initializePayment({
|
|
23
|
-
methodId: 'bluesnapv2',
|
|
24
|
-
bluesnapv2: {
|
|
25
|
-
onLoad: (iframe) => {
|
|
26
|
-
document.getElementById('container')
|
|
27
|
-
.appendChild(iframe);
|
|
28
|
-
|
|
29
|
-
document.getElementById('cancel-button')
|
|
30
|
-
.addEventListener('click', () => {
|
|
31
|
-
document.getElementById('container').innerHTML = '';
|
|
32
|
-
});
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
```
|
|
37
|
-
|
|
38
|
-
## Table of contents
|
|
39
|
-
|
|
40
|
-
### Properties
|
|
41
|
-
|
|
42
|
-
- [style](internal_.BlueSnapV2PaymentInitializeOptions.md#style)
|
|
43
|
-
|
|
44
|
-
### Methods
|
|
45
|
-
|
|
46
|
-
- [onLoad](internal_.BlueSnapV2PaymentInitializeOptions.md#onload)
|
|
47
|
-
|
|
48
|
-
## Properties
|
|
49
|
-
|
|
50
|
-
### style
|
|
51
|
-
|
|
52
|
-
• `Optional` **style**: [`BlueSnapV2StyleProps`](internal_.BlueSnapV2StyleProps.md)
|
|
53
|
-
|
|
54
|
-
A set of CSS properties to apply to the iframe.
|
|
55
|
-
|
|
56
|
-
## Methods
|
|
57
|
-
|
|
58
|
-
### onLoad
|
|
59
|
-
|
|
60
|
-
▸ **onLoad**(`iframe`, `cancel`): `void`
|
|
61
|
-
|
|
62
|
-
A callback that gets called when the iframe is ready to be added to the
|
|
63
|
-
current page. It is responsible for determining where the iframe should
|
|
64
|
-
be inserted in the DOM.
|
|
65
|
-
|
|
66
|
-
#### Parameters
|
|
67
|
-
|
|
68
|
-
| Name | Type | Description |
|
|
69
|
-
| :------ | :------ | :------ |
|
|
70
|
-
| `iframe` | `HTMLIFrameElement` | The iframe element containing the payment web page provided by the strategy. |
|
|
71
|
-
| `cancel` | () => `void` | A function, when called, will cancel the payment process and remove the iframe. |
|
|
72
|
-
|
|
73
|
-
#### Returns
|
|
74
|
-
|
|
75
|
-
`void`
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / [<internal\>](../modules/internal_.md) / BlueSnapV2StyleProps
|
|
2
|
-
|
|
3
|
-
# Interface: BlueSnapV2StyleProps
|
|
4
|
-
|
|
5
|
-
[<internal>](../modules/internal_.md).BlueSnapV2StyleProps
|
|
6
|
-
|
|
7
|
-
## Table of contents
|
|
8
|
-
|
|
9
|
-
### Properties
|
|
10
|
-
|
|
11
|
-
- [border](internal_.BlueSnapV2StyleProps.md#border)
|
|
12
|
-
- [height](internal_.BlueSnapV2StyleProps.md#height)
|
|
13
|
-
- [width](internal_.BlueSnapV2StyleProps.md#width)
|
|
14
|
-
|
|
15
|
-
## Properties
|
|
16
|
-
|
|
17
|
-
### border
|
|
18
|
-
|
|
19
|
-
• `Optional` **border**: `string`
|
|
20
|
-
|
|
21
|
-
___
|
|
22
|
-
|
|
23
|
-
### height
|
|
24
|
-
|
|
25
|
-
• `Optional` **height**: `string`
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### width
|
|
30
|
-
|
|
31
|
-
• `Optional` **width**: `string`
|