@bigcommerce/checkout-sdk 1.294.0 → 1.295.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 +8 -0
- package/dist/checkout-button.d.ts +20 -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 +20 -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/PaypalCommerceAlternativeMethodsButtonOptions.md +24 -0
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +24 -0
- package/package.json +1 -1
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -6107,6 +6107,16 @@ declare interface PaypalCommerceAlternativeMethodsButtonOptions {
|
|
|
6107
6107
|
* A set of styling options for the checkout button.
|
|
6108
6108
|
*/
|
|
6109
6109
|
style?: PaypalButtonStyleOptions_2;
|
|
6110
|
+
/**
|
|
6111
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
6112
|
+
*/
|
|
6113
|
+
currencyCode?: string;
|
|
6114
|
+
/**
|
|
6115
|
+
* The options that are required to initialize Buy Now functionality.
|
|
6116
|
+
*/
|
|
6117
|
+
buyNowInitializeOptions?: {
|
|
6118
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
6119
|
+
};
|
|
6110
6120
|
}
|
|
6111
6121
|
|
|
6112
6122
|
declare interface PaypalCommerceButtonInitializeOptions {
|
|
@@ -6524,6 +6534,16 @@ declare interface PaypalCommerceVenmoButtonInitializeOptions {
|
|
|
6524
6534
|
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
6525
6535
|
*/
|
|
6526
6536
|
initializesOnCheckoutPage?: boolean;
|
|
6537
|
+
/**
|
|
6538
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
6539
|
+
*/
|
|
6540
|
+
currencyCode?: string;
|
|
6541
|
+
/**
|
|
6542
|
+
* The options that are required to initialize Buy Now functionality.
|
|
6543
|
+
*/
|
|
6544
|
+
buyNowInitializeOptions?: {
|
|
6545
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
6546
|
+
};
|
|
6527
6547
|
}
|
|
6528
6548
|
|
|
6529
6549
|
/**
|