@bigcommerce/checkout-sdk 1.302.0 → 1.304.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.
@@ -102,6 +102,7 @@ declare interface Checkout {
102
102
  createdTime: string;
103
103
  updatedTime: string;
104
104
  payments?: CheckoutPayment[];
105
+ channelId: number;
105
106
  }
106
107
 
107
108
  declare interface CheckoutPayment {
@@ -595,6 +596,7 @@ declare interface Order {
595
596
  status: string;
596
597
  taxes: Tax[];
597
598
  taxTotal: number;
599
+ channelId: number;
598
600
  }
599
601
 
600
602
  declare interface OrderConsignment {
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)
@@ -9,6 +9,7 @@
9
9
  - [balanceDue](Checkout.md#balancedue)
10
10
  - [billingAddress](Checkout.md#billingaddress)
11
11
  - [cart](Checkout.md#cart)
12
+ - [channelId](Checkout.md#channelid)
12
13
  - [consignments](Checkout.md#consignments)
13
14
  - [coupons](Checkout.md#coupons)
14
15
  - [createdTime](Checkout.md#createdtime)
@@ -53,6 +54,12 @@ ___
53
54
 
54
55
  ___
55
56
 
57
+ ### channelId
58
+
59
+ • **channelId**: `number`
60
+
61
+ ___
62
+
56
63
  ### consignments
57
64
 
58
65
  • **consignments**: [`Consignment`](Consignment.md)[]
@@ -9,6 +9,7 @@
9
9
  - [baseAmount](Order.md#baseamount)
10
10
  - [billingAddress](Order.md#billingaddress)
11
11
  - [cartId](Order.md#cartid)
12
+ - [channelId](Order.md#channelid)
12
13
  - [consignments](Order.md#consignments)
13
14
  - [coupons](Order.md#coupons)
14
15
  - [currency](Order.md#currency)
@@ -53,6 +54,12 @@ ___
53
54
 
54
55
  ___
55
56
 
57
+ ### channelId
58
+
59
+ • **channelId**: `number`
60
+
61
+ ___
62
+
56
63
  ### consignments
57
64
 
58
65
  • **consignments**: [`OrderConsignment`](OrderConsignment.md)
@@ -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.302.0",
3
+ "version": "1.304.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",