@bigcommerce/checkout-sdk 1.590.0 → 1.591.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/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +6 -0
- 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/interfaces/PayPalCommerceFastlaneShippingInitializeOptions.md +23 -0
- package/package.json +1 -1
|
@@ -11,6 +11,10 @@ checkout in order to support PayPal Commerce Fastlane.
|
|
|
11
11
|
|
|
12
12
|
- [styles](PayPalCommerceFastlaneShippingInitializeOptions.md#styles)
|
|
13
13
|
|
|
14
|
+
### Methods
|
|
15
|
+
|
|
16
|
+
- [onPayPalFastlaneAddressChange](PayPalCommerceFastlaneShippingInitializeOptions.md#onpaypalfastlaneaddresschange)
|
|
17
|
+
|
|
14
18
|
## Properties
|
|
15
19
|
|
|
16
20
|
### styles
|
|
@@ -22,3 +26,22 @@ Is a stylisation options for customizing PayPal Fastlane components
|
|
|
22
26
|
Note: the styles for all PayPal Commerce Fastlane strategies should be the same,
|
|
23
27
|
because they will be provided to PayPal library only for the first strategy initialization
|
|
24
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 PayPal 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`
|