@bigcommerce/checkout-sdk 1.322.0 → 1.323.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 +22 -0
- package/dist/checkout-button.d.ts +6 -0
- 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 +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/GooglePayButtonInitializeOptions.md +15 -0
- package/package.json +1 -1
|
@@ -8,6 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
- [buttonColor](GooglePayButtonInitializeOptions.md#buttoncolor)
|
|
10
10
|
- [buttonType](GooglePayButtonInitializeOptions.md#buttontype)
|
|
11
|
+
- [buyNowInitializeOptions](GooglePayButtonInitializeOptions.md#buynowinitializeoptions)
|
|
11
12
|
|
|
12
13
|
## Properties
|
|
13
14
|
|
|
@@ -29,3 +30,17 @@ The size of the GooglePay button that will be inserted.
|
|
|
29
30
|
long: "Buy with Google Pay" button (default). A translated button label may appear
|
|
30
31
|
if a language specified in the viewer's browser matches an available language.
|
|
31
32
|
short: Google Pay payment button without the "Buy with" text.
|
|
33
|
+
|
|
34
|
+
___
|
|
35
|
+
|
|
36
|
+
### buyNowInitializeOptions
|
|
37
|
+
|
|
38
|
+
• `Optional` **buyNowInitializeOptions**: `Object`
|
|
39
|
+
|
|
40
|
+
The options that are required to initialize Buy Now functionality.
|
|
41
|
+
|
|
42
|
+
#### Type declaration
|
|
43
|
+
|
|
44
|
+
| Name | Type |
|
|
45
|
+
| :------ | :------ |
|
|
46
|
+
| `getBuyNowCartRequestBody?` | () => `void` \| [`BuyNowCartRequestBody`](BuyNowCartRequestBody.md) |
|