@bigcommerce/checkout-sdk 1.301.1 → 1.303.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/docs/README.md CHANGED
@@ -362,6 +362,8 @@
362
362
  - [WechatState](interfaces/WechatState.md)
363
363
  - [WechatState_2](interfaces/WechatState_2.md)
364
364
  - [WithAccountCreation](interfaces/WithAccountCreation.md)
365
+ - [WithAdyenV2PaymentInitializeOptions](interfaces/WithAdyenV2PaymentInitializeOptions.md)
366
+ - [WithAdyenV3PaymentInitializeOptions](interfaces/WithAdyenV3PaymentInitializeOptions.md)
365
367
  - [WithApplePayButtonInitializeOptions](interfaces/WithApplePayButtonInitializeOptions.md)
366
368
  - [WithApplePayCustomerInitializeOptions](interfaces/WithApplePayCustomerInitializeOptions.md)
367
369
  - [WithApplePayPaymentInitializeOptions](interfaces/WithApplePayPaymentInitializeOptions.md)
@@ -661,7 +663,7 @@ ___
661
663
 
662
664
  ### PaymentInitializeOptions
663
665
 
664
- Ƭ **PaymentInitializeOptions**: [`BasePaymentInitializeOptions`](interfaces/BasePaymentInitializeOptions.md) & [`WithApplePayPaymentInitializeOptions`](interfaces/WithApplePayPaymentInitializeOptions.md)
666
+ Ƭ **PaymentInitializeOptions**: [`BasePaymentInitializeOptions`](interfaces/BasePaymentInitializeOptions.md) & [`WithAdyenV2PaymentInitializeOptions`](interfaces/WithAdyenV2PaymentInitializeOptions.md) & [`WithAdyenV3PaymentInitializeOptions`](interfaces/WithAdyenV3PaymentInitializeOptions.md) & [`WithApplePayPaymentInitializeOptions`](interfaces/WithApplePayPaymentInitializeOptions.md)
665
667
 
666
668
  ___
667
669
 
@@ -13,6 +13,7 @@
13
13
  ### Properties
14
14
 
15
15
  - [brands](AdyenBaseCardComponentOptions_2.md#brands)
16
+ - [showBrandsUnderCardNumber](AdyenBaseCardComponentOptions_2.md#showbrandsundercardnumber)
16
17
  - [styles](AdyenBaseCardComponentOptions_2.md#styles)
17
18
 
18
19
  ## Properties
@@ -25,6 +26,12 @@ Array of card brands that will be recognized by the component.
25
26
 
26
27
  ___
27
28
 
29
+ ### showBrandsUnderCardNumber
30
+
31
+ • `Optional` **showBrandsUnderCardNumber**: `boolean`
32
+
33
+ ___
34
+
28
35
  ### styles
29
36
 
30
37
  • `Optional` **styles**: [`StyleOptions_2`](StyleOptions_2.md)
@@ -22,6 +22,7 @@
22
22
  - [hasHolderName](AdyenV3CreditCardComponentOptions.md#hasholdername)
23
23
  - [holderNameRequired](AdyenV3CreditCardComponentOptions.md#holdernamerequired)
24
24
  - [placeholders](AdyenV3CreditCardComponentOptions.md#placeholders)
25
+ - [showBrandsUnderCardNumber](AdyenV3CreditCardComponentOptions.md#showbrandsundercardnumber)
25
26
  - [styles](AdyenV3CreditCardComponentOptions.md#styles)
26
27
 
27
28
  ### Methods
@@ -104,6 +105,16 @@ Specify the sample values you want to appear for card detail input fields.
104
105
 
105
106
  ___
106
107
 
108
+ ### showBrandsUnderCardNumber
109
+
110
+ • `Optional` **showBrandsUnderCardNumber**: `boolean`
111
+
112
+ #### Inherited from
113
+
114
+ [AdyenBaseCardComponentOptions_2](AdyenBaseCardComponentOptions_2.md).[showBrandsUnderCardNumber](AdyenBaseCardComponentOptions_2.md#showbrandsundercardnumber)
115
+
116
+ ___
117
+
107
118
  ### styles
108
119
 
109
120
  • `Optional` **styles**: [`StyleOptions_2`](StyleOptions_2.md)
@@ -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"``\>
111
+ • `Optional` **options**: `Pick`<[`AdyenV3CreditCardComponentOptions`](AdyenV3CreditCardComponentOptions.md), ``"details"`` \| ``"enableStoreDetails"`` \| ``"hasHolderName"`` \| ``"holderNameRequired"`` \| ``"data"`` \| ``"groupTypes"`` \| ``"placeholders"`` \| ``"brands"`` \| ``"styles"`` \| ``"onError"`` \| ``"onFieldValid"`` \| ``"showBrandsUnderCardNumber"``\>
112
112
 
113
113
  Optional. Overwriting the default options
114
114
 
@@ -15,8 +15,6 @@ current checkout flow.
15
15
 
16
16
  ### Properties
17
17
 
18
- - [adyenv2](BasePaymentInitializeOptions.md#adyenv2)
19
- - [adyenv3](BasePaymentInitializeOptions.md#adyenv3)
20
18
  - [amazon](BasePaymentInitializeOptions.md#amazon)
21
19
  - [amazonpay](BasePaymentInitializeOptions.md#amazonpay)
22
20
  - [bluesnapv2](BasePaymentInitializeOptions.md#bluesnapv2)
@@ -55,24 +53,6 @@ current checkout flow.
55
53
 
56
54
  ## Properties
57
55
 
58
- ### adyenv2
59
-
60
- • `Optional` **adyenv2**: [`AdyenV2PaymentInitializeOptions`](AdyenV2PaymentInitializeOptions.md)
61
-
62
- The options that are required to initialize the AdyenV2 payment
63
- method. They can be omitted unless you need to support AdyenV2.
64
-
65
- ___
66
-
67
- ### adyenv3
68
-
69
- • `Optional` **adyenv3**: [`AdyenV3PaymentInitializeOptions`](AdyenV3PaymentInitializeOptions.md)
70
-
71
- The options that are required to initialize the AdyenV3 payment
72
- method. They can be omitted unless you need to support AdyenV3.
73
-
74
- ___
75
-
76
56
  ### amazon
77
57
 
78
58
  • `Optional` **amazon**: [`AmazonPayPaymentInitializeOptions`](AmazonPayPaymentInitializeOptions.md)
@@ -19,6 +19,7 @@ iframe has a list of shipping addresses for the customer to choose from.
19
19
 
20
20
  ### Methods
21
21
 
22
+ - [getStripeState](StripeUPEShippingInitializeOptions.md#getstripestate)
22
23
  - [getStyles](StripeUPEShippingInitializeOptions.md#getstyles)
23
24
  - [onChangeShipping](StripeUPEShippingInitializeOptions.md#onchangeshipping)
24
25
 
@@ -58,6 +59,25 @@ The identifier of the payment method.
58
59
 
59
60
  ## Methods
60
61
 
62
+ ### getStripeState
63
+
64
+ ▸ **getStripeState**(`country`, `state`): `string`
65
+
66
+ get the state code needed for shipping stripe element
67
+
68
+ #### Parameters
69
+
70
+ | Name | Type |
71
+ | :------ | :------ |
72
+ | `country` | `string` |
73
+ | `state` | `string` |
74
+
75
+ #### Returns
76
+
77
+ `string`
78
+
79
+ ___
80
+
61
81
  ### getStyles
62
82
 
63
83
  ▸ `Optional` **getStyles**(): `Object`
@@ -0,0 +1,18 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / WithAdyenV2PaymentInitializeOptions
2
+
3
+ # Interface: WithAdyenV2PaymentInitializeOptions
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [adyenv2](WithAdyenV2PaymentInitializeOptions.md#adyenv2)
10
+
11
+ ## Properties
12
+
13
+ ### adyenv2
14
+
15
+ • `Optional` **adyenv2**: [`AdyenV2PaymentInitializeOptions`](AdyenV2PaymentInitializeOptions.md)
16
+
17
+ The options that are required to initialize the Apple Pay payment
18
+ method. They can be omitted unless you need to support Apple Pay.
@@ -0,0 +1,18 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / WithAdyenV3PaymentInitializeOptions
2
+
3
+ # Interface: WithAdyenV3PaymentInitializeOptions
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [adyenv3](WithAdyenV3PaymentInitializeOptions.md#adyenv3)
10
+
11
+ ## Properties
12
+
13
+ ### adyenv3
14
+
15
+ • `Optional` **adyenv3**: [`AdyenV3PaymentInitializeOptions`](AdyenV3PaymentInitializeOptions.md)
16
+
17
+ The options that are required to initialize the Apple Pay payment
18
+ method. They can be omitted unless you need to support Apple Pay.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.301.1",
3
+ "version": "1.303.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",