@bigcommerce/checkout-sdk 1.686.0 → 1.687.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 -89
- 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 -2
- package/docs/interfaces/BasePaymentInitializeOptions.md +0 -10
- package/package.json +1 -1
- package/docs/interfaces/MonerisPaymentInitializeOptions.md +0 -57
- package/docs/interfaces/MonerisStylingProps.md +0 -80
package/dist/checkout-sdk.d.ts
CHANGED
|
@@ -794,11 +794,6 @@ declare interface BasePaymentInitializeOptions extends PaymentRequestOptions {
|
|
|
794
794
|
* They can be omitted unless you need to support Masterpass.
|
|
795
795
|
*/
|
|
796
796
|
masterpass?: MasterpassPaymentInitializeOptions;
|
|
797
|
-
/**
|
|
798
|
-
* The options that are required to initialize the Moneris payment method.
|
|
799
|
-
* They can be omitted unless you need to support Moneris.
|
|
800
|
-
*/
|
|
801
|
-
moneris?: MonerisPaymentInitializeOptions;
|
|
802
797
|
/**
|
|
803
798
|
* The options that are required to initialize the Opy payment
|
|
804
799
|
* method. They can be omitted unless you need to support Opy.
|
|
@@ -5948,90 +5943,6 @@ declare interface MolliePaymentInitializeOptions {
|
|
|
5948
5943
|
disableButton(disabled: boolean): void;
|
|
5949
5944
|
}
|
|
5950
5945
|
|
|
5951
|
-
/**
|
|
5952
|
-
* A set of options that are required to initialize the Moneris payment method.
|
|
5953
|
-
*
|
|
5954
|
-
* Once Moneris payment is initialized, a credit card payment form is provided by the
|
|
5955
|
-
* payment provider as an IFrame, it will be inserted into the current page. These
|
|
5956
|
-
* options provide a location and styling for the payment form.
|
|
5957
|
-
*
|
|
5958
|
-
* ```js
|
|
5959
|
-
* service.initializePayment({
|
|
5960
|
-
* methodId: 'moneris',
|
|
5961
|
-
* moneris: {
|
|
5962
|
-
* containerId: 'container',
|
|
5963
|
-
* style : {
|
|
5964
|
-
* cssBody: 'background:white;';
|
|
5965
|
-
* cssTextbox: 'border-width:2px;';
|
|
5966
|
-
* cssTextboxCardNumber: 'width:140px;';
|
|
5967
|
-
* cssTextboxExpiryDate: 'width:40px;';
|
|
5968
|
-
* cssTextboxCVV: 'width:40px';
|
|
5969
|
-
* }
|
|
5970
|
-
* }
|
|
5971
|
-
* });
|
|
5972
|
-
* ```
|
|
5973
|
-
*/
|
|
5974
|
-
declare interface MonerisPaymentInitializeOptions {
|
|
5975
|
-
/**
|
|
5976
|
-
* The ID of a container where the Moneris iframe component should be mounted
|
|
5977
|
-
*/
|
|
5978
|
-
containerId: string;
|
|
5979
|
-
/**
|
|
5980
|
-
* The styling props to apply to the iframe component
|
|
5981
|
-
*/
|
|
5982
|
-
style?: MonerisStylingProps;
|
|
5983
|
-
/**
|
|
5984
|
-
* Hosted Form Validation Options
|
|
5985
|
-
*/
|
|
5986
|
-
form?: LegacyHostedFormOptions;
|
|
5987
|
-
}
|
|
5988
|
-
|
|
5989
|
-
/**
|
|
5990
|
-
* A set of stringified CSS to apply to Moneris' IFrame fields.
|
|
5991
|
-
* CSS attributes should be converted to string.
|
|
5992
|
-
* Please note that ClassNames are not supported.
|
|
5993
|
-
*
|
|
5994
|
-
* IE:
|
|
5995
|
-
* ```js
|
|
5996
|
-
* {
|
|
5997
|
-
* cssBody: 'background:white;';
|
|
5998
|
-
* cssTextbox: 'border-width:2px;';
|
|
5999
|
-
* cssTextboxCardNumber: 'width:140px;';
|
|
6000
|
-
* cssTextboxExpiryDate: 'width:40px;';
|
|
6001
|
-
* cssTextboxCVV: 'width:40px;';
|
|
6002
|
-
* }
|
|
6003
|
-
* ```
|
|
6004
|
-
*
|
|
6005
|
-
* When using several attributes use semicolon to separate each one.
|
|
6006
|
-
* IE: 'background:white;width:40px;'
|
|
6007
|
-
*/
|
|
6008
|
-
declare interface MonerisStylingProps {
|
|
6009
|
-
/**
|
|
6010
|
-
* Stringified CSS to apply to the body of the IFrame.
|
|
6011
|
-
*/
|
|
6012
|
-
cssBody?: string;
|
|
6013
|
-
/**
|
|
6014
|
-
* Stringified CSS to apply to each of input fields.
|
|
6015
|
-
*/
|
|
6016
|
-
cssTextbox?: string;
|
|
6017
|
-
/**
|
|
6018
|
-
* Stringified CSS to apply to the card's number field.
|
|
6019
|
-
*/
|
|
6020
|
-
cssTextboxCardNumber?: string;
|
|
6021
|
-
/**
|
|
6022
|
-
* Stringified CSS to apply to the card's expiry field.
|
|
6023
|
-
*/
|
|
6024
|
-
cssTextboxExpiryDate?: string;
|
|
6025
|
-
/**
|
|
6026
|
-
* Stringified CSS to apply to the card's CVV field.
|
|
6027
|
-
*/
|
|
6028
|
-
cssTextboxCVV?: string;
|
|
6029
|
-
/**
|
|
6030
|
-
* Stringified CSS to apply to input labels
|
|
6031
|
-
*/
|
|
6032
|
-
cssInputLabel?: string;
|
|
6033
|
-
}
|
|
6034
|
-
|
|
6035
5946
|
declare interface MutationObeserverCreator {
|
|
6036
5947
|
prototype: MutationObserver;
|
|
6037
5948
|
new (callback: MutationCallback): MutationObserver;
|