@bigcommerce/checkout-sdk 1.280.4 → 1.281.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 +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/dist/checkout-sdk.d.ts
CHANGED
|
@@ -753,6 +753,13 @@ declare interface AmazonPayV2NewButtonParams extends AmazonPayV2ButtonConfig {
|
|
|
753
753
|
* parameter if your `publicKeyId` does not have an environment prefix.
|
|
754
754
|
*/
|
|
755
755
|
publicKeyId?: string;
|
|
756
|
+
/**
|
|
757
|
+
* It does not have to match the final order amount if the buyer updates
|
|
758
|
+
* their order after starting checkout. Amazon Pay will use this value to
|
|
759
|
+
* assess transaction risk and prevent buyers from selecting payment methods
|
|
760
|
+
* that can't be used to process the order.
|
|
761
|
+
*/
|
|
762
|
+
estimatedOrderAmount?: AmazonPayV2Price;
|
|
756
763
|
/**
|
|
757
764
|
* Create Checkout Session configuration.
|
|
758
765
|
*/
|
|
@@ -810,6 +817,17 @@ declare enum AmazonPayV2Placement {
|
|
|
810
817
|
Other = "Other"
|
|
811
818
|
}
|
|
812
819
|
|
|
820
|
+
declare interface AmazonPayV2Price {
|
|
821
|
+
/**
|
|
822
|
+
* Transaction amount.
|
|
823
|
+
*/
|
|
824
|
+
amount: string;
|
|
825
|
+
/**
|
|
826
|
+
* Transaction currency code in ISO 4217 format. Example: USD.
|
|
827
|
+
*/
|
|
828
|
+
currencyCode: string;
|
|
829
|
+
}
|
|
830
|
+
|
|
813
831
|
/**
|
|
814
832
|
* A set of options that are required to initialize the shipping step of
|
|
815
833
|
* checkout in order to support AmazonPayV2.
|