@bigcommerce/checkout-sdk 1.743.1 → 1.743.2
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/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +25 -0
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +1 -0
- package/docs/interfaces/BigCommercePaymentsFastlaneShippingInitializeOptions.md +47 -0
- package/docs/interfaces/ShippingInitializeOptions.md +10 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -105,6 +105,7 @@
|
|
|
105
105
|
- [BigCommercePaymentsCreditCardsPaymentInitializeOptions](interfaces/BigCommercePaymentsCreditCardsPaymentInitializeOptions.md)
|
|
106
106
|
- [BigCommercePaymentsFastlaneCustomerInitializeOptions](interfaces/BigCommercePaymentsFastlaneCustomerInitializeOptions.md)
|
|
107
107
|
- [BigCommercePaymentsFastlanePaymentInitializeOptions](interfaces/BigCommercePaymentsFastlanePaymentInitializeOptions.md)
|
|
108
|
+
- [BigCommercePaymentsFastlaneShippingInitializeOptions](interfaces/BigCommercePaymentsFastlaneShippingInitializeOptions.md)
|
|
108
109
|
- [BigCommercePaymentsFieldsStyleOptions](interfaces/BigCommercePaymentsFieldsStyleOptions.md)
|
|
109
110
|
- [BigCommercePaymentsPayLaterButtonInitializeOptions](interfaces/BigCommercePaymentsPayLaterButtonInitializeOptions.md)
|
|
110
111
|
- [BigCommercePaymentsPayLaterCustomerInitializeOptions](interfaces/BigCommercePaymentsPayLaterCustomerInitializeOptions.md)
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BigCommercePaymentsFastlaneShippingInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BigCommercePaymentsFastlaneShippingInitializeOptions
|
|
4
|
+
|
|
5
|
+
A set of options that are required to initialize the shipping step of
|
|
6
|
+
checkout in order to support BigCommercePayments Fastlane.
|
|
7
|
+
|
|
8
|
+
## Table of contents
|
|
9
|
+
|
|
10
|
+
### Properties
|
|
11
|
+
|
|
12
|
+
- [styles](BigCommercePaymentsFastlaneShippingInitializeOptions.md#styles)
|
|
13
|
+
|
|
14
|
+
### Methods
|
|
15
|
+
|
|
16
|
+
- [onPayPalFastlaneAddressChange](BigCommercePaymentsFastlaneShippingInitializeOptions.md#onpaypalfastlaneaddresschange)
|
|
17
|
+
|
|
18
|
+
## Properties
|
|
19
|
+
|
|
20
|
+
### styles
|
|
21
|
+
|
|
22
|
+
• `Optional` **styles**: `PayPalFastlaneStylesOption`
|
|
23
|
+
|
|
24
|
+
Is a stylisation options for customizing BigCommercePayments Fastlane components
|
|
25
|
+
|
|
26
|
+
Note: the styles for all BigCommercePayments Fastlane strategies should be the same,
|
|
27
|
+
because they will be provided to fastlane library only for the first strategy initialization
|
|
28
|
+
no matter what strategy was initialised first
|
|
29
|
+
|
|
30
|
+
## Methods
|
|
31
|
+
|
|
32
|
+
### onPayPalFastlaneAddressChange
|
|
33
|
+
|
|
34
|
+
▸ `Optional` **onPayPalFastlaneAddressChange**(`showPayPalFastlaneAddressSelector`): `void`
|
|
35
|
+
|
|
36
|
+
Is a callback that shows BigCommercePayments Fastlane popup with customer addresses
|
|
37
|
+
when get triggered
|
|
38
|
+
|
|
39
|
+
#### Parameters
|
|
40
|
+
|
|
41
|
+
| Name | Type |
|
|
42
|
+
| :------ | :------ |
|
|
43
|
+
| `showPayPalFastlaneAddressSelector` | () => `Promise`<`undefined` \| `CustomerAddress`\> |
|
|
44
|
+
|
|
45
|
+
#### Returns
|
|
46
|
+
|
|
47
|
+
`void`
|
|
@@ -28,6 +28,7 @@ step of checkout.
|
|
|
28
28
|
### Properties
|
|
29
29
|
|
|
30
30
|
- [amazonpay](ShippingInitializeOptions.md#amazonpay)
|
|
31
|
+
- [bigcommerce_payments_fastlane](ShippingInitializeOptions.md#bigcommerce_payments_fastlane)
|
|
31
32
|
- [braintreefastlane](ShippingInitializeOptions.md#braintreefastlane)
|
|
32
33
|
- [methodId](ShippingInitializeOptions.md#methodid)
|
|
33
34
|
- [params](ShippingInitializeOptions.md#params)
|
|
@@ -46,6 +47,15 @@ when using AmazonPayV2.
|
|
|
46
47
|
|
|
47
48
|
___
|
|
48
49
|
|
|
50
|
+
### bigcommerce\_payments\_fastlane
|
|
51
|
+
|
|
52
|
+
• `Optional` **bigcommerce\_payments\_fastlane**: [`BigCommercePaymentsFastlaneShippingInitializeOptions`](BigCommercePaymentsFastlaneShippingInitializeOptions.md)
|
|
53
|
+
|
|
54
|
+
The options that are required to initialize the shipping step of checkout
|
|
55
|
+
when using BigCommercePayments Fastlane.
|
|
56
|
+
|
|
57
|
+
___
|
|
58
|
+
|
|
49
59
|
### braintreefastlane
|
|
50
60
|
|
|
51
61
|
• `Optional` **braintreefastlane**: [`BraintreeFastlaneShippingInitializeOptions`](BraintreeFastlaneShippingInitializeOptions.md)
|