@bigcommerce/checkout-sdk 1.293.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 +15 -0
- package/dist/checkout-button.d.ts +30 -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 +30 -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/PaypalCommerceCreditButtonInitializeOptions.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 {
|
|
@@ -6143,6 +6153,16 @@ declare interface PaypalCommerceCreditButtonInitializeOptions {
|
|
|
6143
6153
|
* A set of styling options for the checkout button.
|
|
6144
6154
|
*/
|
|
6145
6155
|
style?: PaypalButtonStyleOptions_2;
|
|
6156
|
+
/**
|
|
6157
|
+
* The option that used to initialize a PayPal script with provided currency code.
|
|
6158
|
+
*/
|
|
6159
|
+
currencyCode?: string;
|
|
6160
|
+
/**
|
|
6161
|
+
* The options that are required to initialize Buy Now functionality.
|
|
6162
|
+
*/
|
|
6163
|
+
buyNowInitializeOptions?: {
|
|
6164
|
+
getBuyNowCartRequestBody?(): BuyNowCartRequestBody | void;
|
|
6165
|
+
};
|
|
6146
6166
|
}
|
|
6147
6167
|
|
|
6148
6168
|
/**
|
|
@@ -6514,6 +6534,16 @@ declare interface PaypalCommerceVenmoButtonInitializeOptions {
|
|
|
6514
6534
|
* Flag which helps to detect that the strategy initializes on Checkout page
|
|
6515
6535
|
*/
|
|
6516
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
|
+
};
|
|
6517
6547
|
}
|
|
6518
6548
|
|
|
6519
6549
|
/**
|