@bigcommerce/checkout-sdk 1.384.0 → 1.385.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.
@@ -535,6 +535,7 @@ declare interface LineItem {
535
535
  couponAmount: number;
536
536
  listPrice: number;
537
537
  salePrice: number;
538
+ retailPrice: number;
538
539
  comparisonPrice: number;
539
540
  extendedListPrice: number;
540
541
  extendedSalePrice: number;
@@ -15,6 +15,7 @@
15
15
  - [onChange](AdyenComponentEvents_2.md#onchange)
16
16
  - [onError](AdyenComponentEvents_2.md#onerror)
17
17
  - [onFieldValid](AdyenComponentEvents_2.md#onfieldvalid)
18
+ - [onSubmit](AdyenComponentEvents_2.md#onsubmit)
18
19
 
19
20
  ## Methods
20
21
 
@@ -72,3 +73,22 @@ ___
72
73
  #### Returns
73
74
 
74
75
  `void`
76
+
77
+ ___
78
+
79
+ ### onSubmit
80
+
81
+ ▸ `Optional` **onSubmit**(`state`, `component`): `void`
82
+
83
+ Called when the shopper selects the Pay button and payment details are valid.
84
+
85
+ #### Parameters
86
+
87
+ | Name | Type |
88
+ | :------ | :------ |
89
+ | `state` | [`AdyenV3ComponentState`](../README.md#adyenv3componentstate) |
90
+ | `component` | [`AdyenComponent_2`](AdyenComponent_2.md) |
91
+
92
+ #### Returns
93
+
94
+ `void`
@@ -13,6 +13,7 @@
13
13
  ### Methods
14
14
 
15
15
  - [mount](AdyenComponent_2.md#mount)
16
+ - [submit](AdyenComponent_2.md#submit)
16
17
  - [unmount](AdyenComponent_2.md#unmount)
17
18
 
18
19
  ## Properties
@@ -63,6 +64,16 @@ ___
63
64
 
64
65
  ___
65
66
 
67
+ ### submit
68
+
69
+ ▸ **submit**(): `void`
70
+
71
+ #### Returns
72
+
73
+ `void`
74
+
75
+ ___
76
+
66
77
  ### unmount
67
78
 
68
79
  ▸ **unmount**(): `void`
@@ -30,6 +30,7 @@
30
30
  - [onChange](AdyenV3CreditCardComponentOptions.md#onchange)
31
31
  - [onError](AdyenV3CreditCardComponentOptions.md#onerror)
32
32
  - [onFieldValid](AdyenV3CreditCardComponentOptions.md#onfieldvalid)
33
+ - [onSubmit](AdyenV3CreditCardComponentOptions.md#onsubmit)
33
34
 
34
35
  ## Properties
35
36
 
@@ -194,3 +195,26 @@ ___
194
195
  #### Inherited from
195
196
 
196
197
  [AdyenComponentEvents_2](AdyenComponentEvents_2.md).[onFieldValid](AdyenComponentEvents_2.md#onfieldvalid)
198
+
199
+ ___
200
+
201
+ ### onSubmit
202
+
203
+ ▸ `Optional` **onSubmit**(`state`, `component`): `void`
204
+
205
+ Called when the shopper selects the Pay button and payment details are valid.
206
+
207
+ #### Parameters
208
+
209
+ | Name | Type |
210
+ | :------ | :------ |
211
+ | `state` | [`AdyenV3ComponentState`](../README.md#adyenv3componentstate) |
212
+ | `component` | [`AdyenComponent_2`](AdyenComponent_2.md) |
213
+
214
+ #### Returns
215
+
216
+ `void`
217
+
218
+ #### Inherited from
219
+
220
+ [AdyenComponentEvents_2](AdyenComponentEvents_2.md).[onSubmit](AdyenComponentEvents_2.md#onsubmit)
@@ -108,7 +108,7 @@ ___
108
108
 
109
109
  ### options
110
110
 
111
- • `Optional` **options**: `Pick`<[`AdyenV3CreditCardComponentOptions`](AdyenV3CreditCardComponentOptions.md), ``"details"`` \| ``"enableStoreDetails"`` \| ``"hasHolderName"`` \| ``"holderNameRequired"`` \| ``"data"`` \| ``"groupTypes"`` \| ``"placeholders"`` \| ``"brands"`` \| ``"styles"`` \| ``"onError"`` \| ``"onFieldValid"`` \| ``"showBrandsUnderCardNumber"``\>
111
+ • `Optional` **options**: `Pick`<[`AdyenV3CreditCardComponentOptions`](AdyenV3CreditCardComponentOptions.md), ``"details"`` \| ``"enableStoreDetails"`` \| ``"hasHolderName"`` \| ``"holderNameRequired"`` \| ``"data"`` \| ``"groupTypes"`` \| ``"placeholders"`` \| ``"brands"`` \| ``"styles"`` \| ``"onError"`` \| ``"onFieldValid"`` \| ``"showBrandsUnderCardNumber"`` \| ``"onSubmit"``\>
112
112
 
113
113
  Optional. Overwriting the default options
114
114
 
@@ -35,6 +35,7 @@
35
35
  - [parentId](DigitalItem.md#parentid)
36
36
  - [productId](DigitalItem.md#productid)
37
37
  - [quantity](DigitalItem.md#quantity)
38
+ - [retailPrice](DigitalItem.md#retailprice)
38
39
  - [salePrice](DigitalItem.md#saleprice)
39
40
  - [sku](DigitalItem.md#sku)
40
41
  - [socialMedia](DigitalItem.md#socialmedia)
@@ -261,6 +262,16 @@ ___
261
262
 
262
263
  ___
263
264
 
265
+ ### retailPrice
266
+
267
+ • **retailPrice**: `number`
268
+
269
+ #### Inherited from
270
+
271
+ [LineItem](LineItem.md).[retailPrice](LineItem.md#retailprice)
272
+
273
+ ___
274
+
264
275
  ### salePrice
265
276
 
266
277
  • **salePrice**: `number`
@@ -34,6 +34,7 @@
34
34
  - [parentId](LineItem.md#parentid)
35
35
  - [productId](LineItem.md#productid)
36
36
  - [quantity](LineItem.md#quantity)
37
+ - [retailPrice](LineItem.md#retailprice)
37
38
  - [salePrice](LineItem.md#saleprice)
38
39
  - [sku](LineItem.md#sku)
39
40
  - [socialMedia](LineItem.md#socialmedia)
@@ -162,6 +163,12 @@ ___
162
163
 
163
164
  ___
164
165
 
166
+ ### retailPrice
167
+
168
+ • **retailPrice**: `number`
169
+
170
+ ___
171
+
165
172
  ### salePrice
166
173
 
167
174
  • **salePrice**: `number`
@@ -34,6 +34,7 @@
34
34
  - [parentId](PhysicalItem.md#parentid)
35
35
  - [productId](PhysicalItem.md#productid)
36
36
  - [quantity](PhysicalItem.md#quantity)
37
+ - [retailPrice](PhysicalItem.md#retailprice)
37
38
  - [salePrice](PhysicalItem.md#saleprice)
38
39
  - [sku](PhysicalItem.md#sku)
39
40
  - [socialMedia](PhysicalItem.md#socialmedia)
@@ -262,6 +263,16 @@ ___
262
263
 
263
264
  ___
264
265
 
266
+ ### retailPrice
267
+
268
+ • **retailPrice**: `number`
269
+
270
+ #### Inherited from
271
+
272
+ [LineItem](LineItem.md).[retailPrice](LineItem.md#retailprice)
273
+
274
+ ___
275
+
265
276
  ### salePrice
266
277
 
267
278
  • **salePrice**: `number`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.384.0",
3
+ "version": "1.385.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",