@bigcommerce/checkout-sdk 1.327.0 → 1.329.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 +19 -0
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-sdk.d.ts +21 -1
- 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/AdyenBaseCardComponentOptions.md +2 -0
- package/docs/interfaces/AdyenIdealComponentOptions.md +33 -0
- package/docs/interfaces/BaseCustomerInitializeOptions.md +10 -0
- package/docs/interfaces/BraintreePaypalCreditCustomerInitializeOptions.md +39 -0
- package/docs/interfaces/CssProperties.md +7 -0
- package/docs/interfaces/CssProperties_2.md +7 -0
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -123,6 +123,7 @@
|
|
|
123
123
|
- [BraintreePaymentInitializeOptions](interfaces/BraintreePaymentInitializeOptions.md)
|
|
124
124
|
- [BraintreePaypalButtonInitializeOptions](interfaces/BraintreePaypalButtonInitializeOptions.md)
|
|
125
125
|
- [BraintreePaypalCreditButtonInitializeOptions](interfaces/BraintreePaypalCreditButtonInitializeOptions.md)
|
|
126
|
+
- [BraintreePaypalCreditCustomerInitializeOptions](interfaces/BraintreePaypalCreditCustomerInitializeOptions.md)
|
|
126
127
|
- [BraintreePaypalCustomerInitializeOptions](interfaces/BraintreePaypalCustomerInitializeOptions.md)
|
|
127
128
|
- [BraintreeStoredCardFieldOptions](interfaces/BraintreeStoredCardFieldOptions.md)
|
|
128
129
|
- [BraintreeStoredCardFieldsMap](interfaces/BraintreeStoredCardFieldsMap.md)
|
|
@@ -2,16 +2,49 @@
|
|
|
2
2
|
|
|
3
3
|
# Interface: AdyenIdealComponentOptions
|
|
4
4
|
|
|
5
|
+
## Hierarchy
|
|
6
|
+
|
|
7
|
+
- [`AdyenBaseCardComponentOptions`](AdyenBaseCardComponentOptions.md)
|
|
8
|
+
|
|
9
|
+
↳ **`AdyenIdealComponentOptions`**
|
|
10
|
+
|
|
5
11
|
## Table of contents
|
|
6
12
|
|
|
7
13
|
### Properties
|
|
8
14
|
|
|
15
|
+
- [brands](AdyenIdealComponentOptions.md#brands)
|
|
9
16
|
- [showImage](AdyenIdealComponentOptions.md#showimage)
|
|
17
|
+
- [styles](AdyenIdealComponentOptions.md#styles)
|
|
10
18
|
|
|
11
19
|
## Properties
|
|
12
20
|
|
|
21
|
+
### brands
|
|
22
|
+
|
|
23
|
+
• `Optional` **brands**: `string`[]
|
|
24
|
+
|
|
25
|
+
Array of card brands that will be recognized by the component.
|
|
26
|
+
|
|
27
|
+
#### Inherited from
|
|
28
|
+
|
|
29
|
+
[AdyenBaseCardComponentOptions](AdyenBaseCardComponentOptions.md).[brands](AdyenBaseCardComponentOptions.md#brands)
|
|
30
|
+
|
|
31
|
+
___
|
|
32
|
+
|
|
13
33
|
### showImage
|
|
14
34
|
|
|
15
35
|
• `Optional` **showImage**: `boolean`
|
|
16
36
|
|
|
17
37
|
Optional. Set to **false** to remove the bank logos from the iDEAL form.
|
|
38
|
+
|
|
39
|
+
___
|
|
40
|
+
|
|
41
|
+
### styles
|
|
42
|
+
|
|
43
|
+
• `Optional` **styles**: [`StyleOptions`](StyleOptions.md)
|
|
44
|
+
|
|
45
|
+
Set a style object to customize the input fields. See Styling Secured Fields
|
|
46
|
+
for a list of supported properties.
|
|
47
|
+
|
|
48
|
+
#### Inherited from
|
|
49
|
+
|
|
50
|
+
[AdyenBaseCardComponentOptions](AdyenBaseCardComponentOptions.md).[styles](AdyenBaseCardComponentOptions.md#styles)
|
|
@@ -27,6 +27,7 @@ information in order to initialize the customer step of checkout.
|
|
|
27
27
|
- [amazonpay](BaseCustomerInitializeOptions.md#amazonpay)
|
|
28
28
|
- [bolt](BaseCustomerInitializeOptions.md#bolt)
|
|
29
29
|
- [braintreepaypal](BaseCustomerInitializeOptions.md#braintreepaypal)
|
|
30
|
+
- [braintreepaypalcredit](BaseCustomerInitializeOptions.md#braintreepaypalcredit)
|
|
30
31
|
- [braintreevisacheckout](BaseCustomerInitializeOptions.md#braintreevisacheckout)
|
|
31
32
|
- [chasepay](BaseCustomerInitializeOptions.md#chasepay)
|
|
32
33
|
- [googlepayadyenv2](BaseCustomerInitializeOptions.md#googlepayadyenv2)
|
|
@@ -74,6 +75,15 @@ when using Braintree PayPal provided.
|
|
|
74
75
|
|
|
75
76
|
___
|
|
76
77
|
|
|
78
|
+
### braintreepaypalcredit
|
|
79
|
+
|
|
80
|
+
• `Optional` **braintreepaypalcredit**: [`BraintreePaypalCreditCustomerInitializeOptions`](BraintreePaypalCreditCustomerInitializeOptions.md)
|
|
81
|
+
|
|
82
|
+
The options that are required to facilitate Braintree Credit. They can be
|
|
83
|
+
omitted unless you need to support Braintree Credit.
|
|
84
|
+
|
|
85
|
+
___
|
|
86
|
+
|
|
77
87
|
### braintreevisacheckout
|
|
78
88
|
|
|
79
89
|
• `Optional` **braintreevisacheckout**: [`BraintreeVisaCheckoutCustomerInitializeOptions`](BraintreeVisaCheckoutCustomerInitializeOptions.md)
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / BraintreePaypalCreditCustomerInitializeOptions
|
|
2
|
+
|
|
3
|
+
# Interface: BraintreePaypalCreditCustomerInitializeOptions
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [container](BraintreePaypalCreditCustomerInitializeOptions.md#container)
|
|
10
|
+
|
|
11
|
+
### Methods
|
|
12
|
+
|
|
13
|
+
- [onError](BraintreePaypalCreditCustomerInitializeOptions.md#onerror)
|
|
14
|
+
|
|
15
|
+
## Properties
|
|
16
|
+
|
|
17
|
+
### container
|
|
18
|
+
|
|
19
|
+
• **container**: `string`
|
|
20
|
+
|
|
21
|
+
The ID of a container which the checkout button should be inserted into.
|
|
22
|
+
|
|
23
|
+
## Methods
|
|
24
|
+
|
|
25
|
+
### onError
|
|
26
|
+
|
|
27
|
+
▸ `Optional` **onError**(`error`): `void`
|
|
28
|
+
|
|
29
|
+
A callback that gets called on any error instead of submit payment or authorization errors.
|
|
30
|
+
|
|
31
|
+
#### Parameters
|
|
32
|
+
|
|
33
|
+
| Name | Type | Description |
|
|
34
|
+
| :------ | :------ | :------ |
|
|
35
|
+
| `error` | [`BraintreeError`](BraintreeError.md) \| [`StandardError`](../classes/StandardError.md) | The error object describing the failure. |
|
|
36
|
+
|
|
37
|
+
#### Returns
|
|
38
|
+
|
|
39
|
+
`void`
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
### Properties
|
|
8
8
|
|
|
9
9
|
- [background](CssProperties.md#background)
|
|
10
|
+
- [caretColor](CssProperties.md#caretcolor)
|
|
10
11
|
- [color](CssProperties.md#color)
|
|
11
12
|
- [display](CssProperties.md#display)
|
|
12
13
|
- [font](CssProperties.md#font)
|
|
@@ -44,6 +45,12 @@
|
|
|
44
45
|
|
|
45
46
|
___
|
|
46
47
|
|
|
48
|
+
### caretColor
|
|
49
|
+
|
|
50
|
+
• `Optional` **caretColor**: `string`
|
|
51
|
+
|
|
52
|
+
___
|
|
53
|
+
|
|
47
54
|
### color
|
|
48
55
|
|
|
49
56
|
• `Optional` **color**: `string`
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
### Properties
|
|
8
8
|
|
|
9
9
|
- [background](CssProperties_2.md#background)
|
|
10
|
+
- [caretColor](CssProperties_2.md#caretcolor)
|
|
10
11
|
- [color](CssProperties_2.md#color)
|
|
11
12
|
- [display](CssProperties_2.md#display)
|
|
12
13
|
- [font](CssProperties_2.md#font)
|
|
@@ -44,6 +45,12 @@
|
|
|
44
45
|
|
|
45
46
|
___
|
|
46
47
|
|
|
48
|
+
### caretColor
|
|
49
|
+
|
|
50
|
+
• `Optional` **caretColor**: `string`
|
|
51
|
+
|
|
52
|
+
___
|
|
53
|
+
|
|
47
54
|
### color
|
|
48
55
|
|
|
49
56
|
• `Optional` **color**: `string`
|