@bigcommerce/checkout-sdk 1.395.4 → 1.396.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.
@@ -104,6 +104,7 @@ declare interface Checkout {
104
104
  updatedTime: string;
105
105
  payments?: CheckoutPayment[];
106
106
  channelId: number;
107
+ fees: Fee[];
107
108
  }
108
109
 
109
110
  declare interface CheckoutPayment {
@@ -205,6 +206,15 @@ declare interface DiscountNotification {
205
206
  placeholders: string[];
206
207
  }
207
208
 
209
+ declare interface Fee {
210
+ id: string;
211
+ type: string;
212
+ name: string;
213
+ displayName: string;
214
+ cost: number;
215
+ source: string;
216
+ }
217
+
208
218
  declare interface GatewayOrderPayment extends OrderPayment {
209
219
  detail: {
210
220
  step: string;
package/docs/README.md CHANGED
@@ -220,6 +220,7 @@
220
220
  - [EmbeddedContentOptions](interfaces/EmbeddedContentOptions.md)
221
221
  - [ExecutePaymentMethodCheckoutOptions](interfaces/ExecutePaymentMethodCheckoutOptions.md)
222
222
  - [Extension](interfaces/Extension.md)
223
+ - [Fee](interfaces/Fee.md)
223
224
  - [FlashMessage](interfaces/FlashMessage.md)
224
225
  - [FormField](interfaces/FormField.md)
225
226
  - [FormFieldItem](interfaces/FormFieldItem.md)
@@ -16,6 +16,7 @@
16
16
  - [customer](Checkout.md#customer)
17
17
  - [customerMessage](Checkout.md#customermessage)
18
18
  - [discounts](Checkout.md#discounts)
19
+ - [fees](Checkout.md#fees)
19
20
  - [giftCertificates](Checkout.md#giftcertificates)
20
21
  - [giftWrappingCostTotal](Checkout.md#giftwrappingcosttotal)
21
22
  - [grandTotal](Checkout.md#grandtotal)
@@ -96,6 +97,12 @@ ___
96
97
 
97
98
  ___
98
99
 
100
+ ### fees
101
+
102
+ • **fees**: [`Fee`](Fee.md)[]
103
+
104
+ ___
105
+
99
106
  ### giftCertificates
100
107
 
101
108
  • **giftCertificates**: [`GiftCertificate`](GiftCertificate.md)[]
@@ -0,0 +1,50 @@
1
+ [@bigcommerce/checkout-sdk](../README.md) / Fee
2
+
3
+ # Interface: Fee
4
+
5
+ ## Table of contents
6
+
7
+ ### Properties
8
+
9
+ - [cost](Fee.md#cost)
10
+ - [displayName](Fee.md#displayname)
11
+ - [id](Fee.md#id)
12
+ - [name](Fee.md#name)
13
+ - [source](Fee.md#source)
14
+ - [type](Fee.md#type)
15
+
16
+ ## Properties
17
+
18
+ ### cost
19
+
20
+ • **cost**: `number`
21
+
22
+ ___
23
+
24
+ ### displayName
25
+
26
+ • **displayName**: `string`
27
+
28
+ ___
29
+
30
+ ### id
31
+
32
+ • **id**: `string`
33
+
34
+ ___
35
+
36
+ ### name
37
+
38
+ • **name**: `string`
39
+
40
+ ___
41
+
42
+ ### source
43
+
44
+ • **source**: `string`
45
+
46
+ ___
47
+
48
+ ### type
49
+
50
+ • **type**: `string`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.395.4",
3
+ "version": "1.396.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",