@bigcommerce/checkout-sdk 1.280.3 → 1.281.1
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 +26 -0
- package/dist/checkout-button.d.ts +18 -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 +18 -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/README.md +1 -0
- package/docs/interfaces/AmazonPayV2NewButtonParams.md +12 -0
- package/docs/interfaces/AmazonPayV2Price.md +26 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -84,6 +84,7 @@
|
|
|
84
84
|
- [AmazonPayV2CustomerInitializeOptions](interfaces/AmazonPayV2CustomerInitializeOptions.md)
|
|
85
85
|
- [AmazonPayV2NewButtonParams](interfaces/AmazonPayV2NewButtonParams.md)
|
|
86
86
|
- [AmazonPayV2PaymentInitializeOptions](interfaces/AmazonPayV2PaymentInitializeOptions.md)
|
|
87
|
+
- [AmazonPayV2Price](interfaces/AmazonPayV2Price.md)
|
|
87
88
|
- [AmazonPayV2ShippingInitializeOptions](interfaces/AmazonPayV2ShippingInitializeOptions.md)
|
|
88
89
|
- [AmazonPayWidgetError](interfaces/AmazonPayWidgetError.md)
|
|
89
90
|
- [ApplePayButtonInitializeOptions](interfaces/ApplePayButtonInitializeOptions.md)
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
- [buttonColor](AmazonPayV2NewButtonParams.md#buttoncolor)
|
|
16
16
|
- [checkoutLanguage](AmazonPayV2NewButtonParams.md#checkoutlanguage)
|
|
17
17
|
- [createCheckoutSessionConfig](AmazonPayV2NewButtonParams.md#createcheckoutsessionconfig)
|
|
18
|
+
- [estimatedOrderAmount](AmazonPayV2NewButtonParams.md#estimatedorderamount)
|
|
18
19
|
- [ledgerCurrency](AmazonPayV2NewButtonParams.md#ledgercurrency)
|
|
19
20
|
- [merchantId](AmazonPayV2NewButtonParams.md#merchantid)
|
|
20
21
|
- [placement](AmazonPayV2NewButtonParams.md#placement)
|
|
@@ -56,6 +57,17 @@ Create Checkout Session configuration.
|
|
|
56
57
|
|
|
57
58
|
___
|
|
58
59
|
|
|
60
|
+
### estimatedOrderAmount
|
|
61
|
+
|
|
62
|
+
• `Optional` **estimatedOrderAmount**: [`AmazonPayV2Price`](AmazonPayV2Price.md)
|
|
63
|
+
|
|
64
|
+
It does not have to match the final order amount if the buyer updates
|
|
65
|
+
their order after starting checkout. Amazon Pay will use this value to
|
|
66
|
+
assess transaction risk and prevent buyers from selecting payment methods
|
|
67
|
+
that can't be used to process the order.
|
|
68
|
+
|
|
69
|
+
___
|
|
70
|
+
|
|
59
71
|
### ledgerCurrency
|
|
60
72
|
|
|
61
73
|
• **ledgerCurrency**: [`AmazonPayV2LedgerCurrency`](../enums/AmazonPayV2LedgerCurrency.md)
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / AmazonPayV2Price
|
|
2
|
+
|
|
3
|
+
# Interface: AmazonPayV2Price
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [amount](AmazonPayV2Price.md#amount)
|
|
10
|
+
- [currencyCode](AmazonPayV2Price.md#currencycode)
|
|
11
|
+
|
|
12
|
+
## Properties
|
|
13
|
+
|
|
14
|
+
### amount
|
|
15
|
+
|
|
16
|
+
• **amount**: `string`
|
|
17
|
+
|
|
18
|
+
Transaction amount.
|
|
19
|
+
|
|
20
|
+
___
|
|
21
|
+
|
|
22
|
+
### currencyCode
|
|
23
|
+
|
|
24
|
+
• **currencyCode**: `string`
|
|
25
|
+
|
|
26
|
+
Transaction currency code in ISO 4217 format. Example: USD.
|