@bigcommerce/checkout-sdk 1.715.0 → 1.717.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/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +0 -36
- 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/dist/hosted-form-v2-iframe-host.js +1 -1
- package/dist/hosted-form-v2-iframe-host.umd.js +1 -1
- package/docs/README.md +0 -1
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -10
- package/package.json +1 -1
- package/docs/interfaces/OpyPaymentInitializeOptions.md +0 -40
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -780,11 +780,6 @@ declare interface BasePaymentInitializeOptions extends PaymentRequestOptions {
|
|
|
780
780
|
* They can be omitted unless you need to support Masterpass.
|
|
781
781
|
*/
|
|
782
782
|
masterpass?: MasterpassPaymentInitializeOptions;
|
|
783
|
-
/**
|
|
784
|
-
* The options that are required to initialize the Opy payment
|
|
785
|
-
* method. They can be omitted unless you need to support Opy.
|
|
786
|
-
*/
|
|
787
|
-
opy?: OpyPaymentInitializeOptions;
|
|
788
783
|
/**
|
|
789
784
|
* The options that are required to initialize the PayPal Express payment method.
|
|
790
785
|
* They can be omitted unless you need to support PayPal Express.
|
|
@@ -6040,37 +6035,6 @@ declare interface OptionsResponse {
|
|
|
6040
6035
|
paymentMethodConfiguration?: BaseElementOptions;
|
|
6041
6036
|
}
|
|
6042
6037
|
|
|
6043
|
-
/**
|
|
6044
|
-
* A set of options that are required to initialize the payment step of
|
|
6045
|
-
* checkout in order to support Opy.
|
|
6046
|
-
*
|
|
6047
|
-
* When Opy is initialized, a widget will be inserted into the DOM. The
|
|
6048
|
-
* widget will open a modal that will show more information about Opy when
|
|
6049
|
-
* clicking it.
|
|
6050
|
-
*
|
|
6051
|
-
* @example
|
|
6052
|
-
*
|
|
6053
|
-
* ```html
|
|
6054
|
-
* <!-- This is where the Opy widget will be inserted -->
|
|
6055
|
-
* <div id="opy-widget"></div>
|
|
6056
|
-
* ```
|
|
6057
|
-
*
|
|
6058
|
-
* ```js
|
|
6059
|
-
* service.initializePayment({
|
|
6060
|
-
* methodId: 'opy',
|
|
6061
|
-
* opy: {
|
|
6062
|
-
* containerId: 'opy-widget',
|
|
6063
|
-
* },
|
|
6064
|
-
* });
|
|
6065
|
-
* ```
|
|
6066
|
-
*/
|
|
6067
|
-
declare interface OpyPaymentInitializeOptions {
|
|
6068
|
-
/**
|
|
6069
|
-
* The ID of a container which the payment widget should insert into.
|
|
6070
|
-
*/
|
|
6071
|
-
containerId: string;
|
|
6072
|
-
}
|
|
6073
|
-
|
|
6074
6038
|
declare interface Order {
|
|
6075
6039
|
baseAmount: number;
|
|
6076
6040
|
billingAddress: OrderBillingAddress;
|