@bigcommerce/checkout-sdk 1.346.0 → 1.347.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/CHANGELOG.md +12 -0
- package/dist/checkout-button.d.ts +12 -3
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +12 -3
- 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 +1 -0
- package/docs/interfaces/PayPalBuyNowInitializeOptions.md +21 -0
- package/docs/interfaces/PayPalCommerceButtonInitializeOptions.md +3 -7
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -279,6 +279,7 @@
|
|
|
279
279
|
- [OrderShippingConsignment](interfaces/OrderShippingConsignment.md)
|
|
280
280
|
- [PasswordRequirements](interfaces/PasswordRequirements.md)
|
|
281
281
|
- [PayPalButtonStyleOptions](interfaces/PayPalButtonStyleOptions.md)
|
|
282
|
+
- [PayPalBuyNowInitializeOptions](interfaces/PayPalBuyNowInitializeOptions.md)
|
|
282
283
|
- [PayPalCommerceButtonInitializeOptions](interfaces/PayPalCommerceButtonInitializeOptions.md)
|
|
283
284
|
- [PayPalCommerceCreditButtonInitializeOptions](interfaces/PayPalCommerceCreditButtonInitializeOptions.md)
|
|
284
285
|
- [PayPalCommerceCreditCustomerInitializeOptions](interfaces/PayPalCommerceCreditCustomerInitializeOptions.md)
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / PayPalBuyNowInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: PayPalBuyNowInitializeOptions
|
|
4
|
+
|
|
5
|
+
PayPal Commerce BuyNow
|
|
6
|
+
|
|
7
|
+
## Table of contents
|
|
8
|
+
|
|
9
|
+
### Methods
|
|
10
|
+
|
|
11
|
+
- [getBuyNowCartRequestBody](PayPalBuyNowInitializeOptions.md#getbuynowcartrequestbody)
|
|
12
|
+
|
|
13
|
+
## Methods
|
|
14
|
+
|
|
15
|
+
### getBuyNowCartRequestBody
|
|
16
|
+
|
|
17
|
+
▸ **getBuyNowCartRequestBody**(): `default`
|
|
18
|
+
|
|
19
|
+
#### Returns
|
|
20
|
+
|
|
21
|
+
`default`
|
|
@@ -24,16 +24,10 @@ DOM. When a customer clicks on it, it will trigger Apple sheet.
|
|
|
24
24
|
|
|
25
25
|
### buyNowInitializeOptions
|
|
26
26
|
|
|
27
|
-
• `Optional` **buyNowInitializeOptions**: `
|
|
27
|
+
• `Optional` **buyNowInitializeOptions**: [`PayPalBuyNowInitializeOptions`](PayPalBuyNowInitializeOptions.md)
|
|
28
28
|
|
|
29
29
|
The options that are required to initialize Buy Now functionality.
|
|
30
30
|
|
|
31
|
-
#### Type declaration
|
|
32
|
-
|
|
33
|
-
| Name | Type |
|
|
34
|
-
| :------ | :------ |
|
|
35
|
-
| `getBuyNowCartRequestBody?` | () => `void` \| `default` |
|
|
36
|
-
|
|
37
31
|
___
|
|
38
32
|
|
|
39
33
|
### currencyCode
|
|
@@ -48,6 +42,8 @@ ___
|
|
|
48
42
|
|
|
49
43
|
• `Optional` **initializesOnCheckoutPage**: `boolean`
|
|
50
44
|
|
|
45
|
+
// TODO: this flag should be removed, because the strategy does not used on checkout page
|
|
46
|
+
// and it always equals to 'false'
|
|
51
47
|
Flag which helps to detect that the strategy initializes on Checkout page.
|
|
52
48
|
|
|
53
49
|
___
|