@bigcommerce/checkout-sdk 1.271.1 → 1.272.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.
Files changed (37) hide show
  1. package/CHANGELOG.md +21 -0
  2. package/dist/checkout-button.d.ts +3 -62
  3. package/dist/checkout-button.js +1 -1
  4. package/dist/checkout-button.js.map +1 -1
  5. package/dist/checkout-button.umd.js +1 -1
  6. package/dist/checkout-button.umd.js.map +1 -1
  7. package/dist/checkout-sdk.d.ts +17 -180
  8. package/dist/checkout-sdk.js +1 -1
  9. package/dist/checkout-sdk.js.map +1 -1
  10. package/dist/checkout-sdk.umd.js +1 -1
  11. package/dist/checkout-sdk.umd.js.map +1 -1
  12. package/docs/README.md +3 -58
  13. package/docs/classes/CheckoutButtonInitializer.md +2 -2
  14. package/docs/classes/CheckoutService.md +6 -6
  15. package/docs/interfaces/{CheckoutButtonInitializeOptions_4.md → CheckoutButtonInitializeOptions.md} +30 -30
  16. package/docs/interfaces/CheckoutButtonOptions.md +5 -5
  17. package/docs/interfaces/{CustomerInitializeOptions_4.md → CustomerInitializeOptions.md} +27 -27
  18. package/docs/interfaces/CustomerRequestOptions.md +39 -2
  19. package/docs/interfaces/ExecutePaymentMethodCheckoutOptions.md +4 -4
  20. package/docs/interfaces/{PaymentInitializeOptions_4.md → PaymentInitializeOptions.md} +46 -46
  21. package/docs/interfaces/PaymentRequestOptions.md +4 -4
  22. package/docs/interfaces/RequestOptions.md +3 -3
  23. package/docs/interfaces/SpamProtectionOptions.md +1 -1
  24. package/package.json +1 -1
  25. package/docs/interfaces/ApplePayButtonInitializeOptions_2.md +0 -38
  26. package/docs/interfaces/ApplePayCustomerInitializeOptions_2.md +0 -77
  27. package/docs/interfaces/ApplePayPaymentInitializeOptions_2.md +0 -40
  28. package/docs/interfaces/CheckoutButtonInitializeOptions_3.md +0 -68
  29. package/docs/interfaces/CheckoutButtonOptions_2.md +0 -55
  30. package/docs/interfaces/CustomerInitializeOptions_3.md +0 -29
  31. package/docs/interfaces/CustomerRequestOptions_2.md +0 -60
  32. package/docs/interfaces/PaymentInitializeOptions_3.md +0 -74
  33. package/docs/interfaces/PaymentRequestOptions_2.md +0 -67
  34. package/docs/interfaces/RequestOptions_2.md +0 -44
  35. package/docs/interfaces/WithApplePayButtonInitializeOptions.md +0 -15
  36. package/docs/interfaces/WithApplePayCustomerInitializeOptions.md +0 -15
  37. package/docs/interfaces/WithApplePayPaymentInitializeOptions.md +0 -15
@@ -1,57 +1,57 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / PaymentInitializeOptions_4
1
+ [@bigcommerce/checkout-sdk](../README.md) / PaymentInitializeOptions
2
2
 
3
- # Interface: PaymentInitializeOptions\_4
3
+ # Interface: PaymentInitializeOptions
4
4
 
5
5
  A set of options that are required to initialize the payment step of the
6
6
  current checkout flow.
7
7
 
8
8
  ## Hierarchy
9
9
 
10
- - [`PaymentRequestOptions_2`](PaymentRequestOptions_2.md)
10
+ - [`PaymentRequestOptions`](PaymentRequestOptions.md)
11
11
 
12
- ↳ **`PaymentInitializeOptions_4`**
12
+ ↳ **`PaymentInitializeOptions`**
13
13
 
14
14
  ## Table of contents
15
15
 
16
16
  ### Properties
17
17
 
18
- - [adyenv2](PaymentInitializeOptions_4.md#adyenv2)
19
- - [adyenv3](PaymentInitializeOptions_4.md#adyenv3)
20
- - [amazon](PaymentInitializeOptions_4.md#amazon)
21
- - [amazonpay](PaymentInitializeOptions_4.md#amazonpay)
22
- - [applepay](PaymentInitializeOptions_4.md#applepay)
23
- - [bluesnapv2](PaymentInitializeOptions_4.md#bluesnapv2)
24
- - [bolt](PaymentInitializeOptions_4.md#bolt)
25
- - [braintree](PaymentInitializeOptions_4.md#braintree)
26
- - [braintreevisacheckout](PaymentInitializeOptions_4.md#braintreevisacheckout)
27
- - [chasepay](PaymentInitializeOptions_4.md#chasepay)
28
- - [creditCard](PaymentInitializeOptions_4.md#creditcard)
29
- - [digitalriver](PaymentInitializeOptions_4.md#digitalriver)
30
- - [gatewayId](PaymentInitializeOptions_4.md#gatewayid)
31
- - [googlepayadyenv2](PaymentInitializeOptions_4.md#googlepayadyenv2)
32
- - [googlepayadyenv3](PaymentInitializeOptions_4.md#googlepayadyenv3)
33
- - [googlepayauthorizenet](PaymentInitializeOptions_4.md#googlepayauthorizenet)
34
- - [googlepaybraintree](PaymentInitializeOptions_4.md#googlepaybraintree)
35
- - [googlepaycheckoutcom](PaymentInitializeOptions_4.md#googlepaycheckoutcom)
36
- - [googlepaycybersourcev2](PaymentInitializeOptions_4.md#googlepaycybersourcev2)
37
- - [googlepayorbital](PaymentInitializeOptions_4.md#googlepayorbital)
38
- - [googlepaystripe](PaymentInitializeOptions_4.md#googlepaystripe)
39
- - [googlepaystripeupe](PaymentInitializeOptions_4.md#googlepaystripeupe)
40
- - [klarna](PaymentInitializeOptions_4.md#klarna)
41
- - [klarnav2](PaymentInitializeOptions_4.md#klarnav2)
42
- - [masterpass](PaymentInitializeOptions_4.md#masterpass)
43
- - [methodId](PaymentInitializeOptions_4.md#methodid)
44
- - [mollie](PaymentInitializeOptions_4.md#mollie)
45
- - [moneris](PaymentInitializeOptions_4.md#moneris)
46
- - [opy](PaymentInitializeOptions_4.md#opy)
47
- - [params](PaymentInitializeOptions_4.md#params)
48
- - [paypalcommerce](PaymentInitializeOptions_4.md#paypalcommerce)
49
- - [paypalexpress](PaymentInitializeOptions_4.md#paypalexpress)
50
- - [square](PaymentInitializeOptions_4.md#square)
51
- - [stripeupe](PaymentInitializeOptions_4.md#stripeupe)
52
- - [stripev3](PaymentInitializeOptions_4.md#stripev3)
53
- - [timeout](PaymentInitializeOptions_4.md#timeout)
54
- - [worldpay](PaymentInitializeOptions_4.md#worldpay)
18
+ - [adyenv2](PaymentInitializeOptions.md#adyenv2)
19
+ - [adyenv3](PaymentInitializeOptions.md#adyenv3)
20
+ - [amazon](PaymentInitializeOptions.md#amazon)
21
+ - [amazonpay](PaymentInitializeOptions.md#amazonpay)
22
+ - [applepay](PaymentInitializeOptions.md#applepay)
23
+ - [bluesnapv2](PaymentInitializeOptions.md#bluesnapv2)
24
+ - [bolt](PaymentInitializeOptions.md#bolt)
25
+ - [braintree](PaymentInitializeOptions.md#braintree)
26
+ - [braintreevisacheckout](PaymentInitializeOptions.md#braintreevisacheckout)
27
+ - [chasepay](PaymentInitializeOptions.md#chasepay)
28
+ - [creditCard](PaymentInitializeOptions.md#creditcard)
29
+ - [digitalriver](PaymentInitializeOptions.md#digitalriver)
30
+ - [gatewayId](PaymentInitializeOptions.md#gatewayid)
31
+ - [googlepayadyenv2](PaymentInitializeOptions.md#googlepayadyenv2)
32
+ - [googlepayadyenv3](PaymentInitializeOptions.md#googlepayadyenv3)
33
+ - [googlepayauthorizenet](PaymentInitializeOptions.md#googlepayauthorizenet)
34
+ - [googlepaybraintree](PaymentInitializeOptions.md#googlepaybraintree)
35
+ - [googlepaycheckoutcom](PaymentInitializeOptions.md#googlepaycheckoutcom)
36
+ - [googlepaycybersourcev2](PaymentInitializeOptions.md#googlepaycybersourcev2)
37
+ - [googlepayorbital](PaymentInitializeOptions.md#googlepayorbital)
38
+ - [googlepaystripe](PaymentInitializeOptions.md#googlepaystripe)
39
+ - [googlepaystripeupe](PaymentInitializeOptions.md#googlepaystripeupe)
40
+ - [klarna](PaymentInitializeOptions.md#klarna)
41
+ - [klarnav2](PaymentInitializeOptions.md#klarnav2)
42
+ - [masterpass](PaymentInitializeOptions.md#masterpass)
43
+ - [methodId](PaymentInitializeOptions.md#methodid)
44
+ - [mollie](PaymentInitializeOptions.md#mollie)
45
+ - [moneris](PaymentInitializeOptions.md#moneris)
46
+ - [opy](PaymentInitializeOptions.md#opy)
47
+ - [params](PaymentInitializeOptions.md#params)
48
+ - [paypalcommerce](PaymentInitializeOptions.md#paypalcommerce)
49
+ - [paypalexpress](PaymentInitializeOptions.md#paypalexpress)
50
+ - [square](PaymentInitializeOptions.md#square)
51
+ - [stripeupe](PaymentInitializeOptions.md#stripeupe)
52
+ - [stripev3](PaymentInitializeOptions.md#stripev3)
53
+ - [timeout](PaymentInitializeOptions.md#timeout)
54
+ - [worldpay](PaymentInitializeOptions.md#worldpay)
55
55
 
56
56
  ## Properties
57
57
 
@@ -93,7 +93,7 @@ ___
93
93
 
94
94
  ### applepay
95
95
 
96
- • `Optional` **applepay**: [`ApplePayPaymentInitializeOptions_2`](ApplePayPaymentInitializeOptions_2.md)
96
+ • `Optional` **applepay**: [`ApplePayPaymentInitializeOptions`](ApplePayPaymentInitializeOptions.md)
97
97
 
98
98
  The options that are required to initialize the Apple Pay payment
99
99
  method. They can be omitted unless you need to support AmazonPay.
@@ -176,7 +176,7 @@ i.e.: Adyen and Klarna.
176
176
 
177
177
  #### Inherited from
178
178
 
179
- [PaymentRequestOptions_2](PaymentRequestOptions_2.md).[gatewayId](PaymentRequestOptions_2.md#gatewayid)
179
+ [PaymentRequestOptions](PaymentRequestOptions.md).[gatewayId](PaymentRequestOptions.md#gatewayid)
180
180
 
181
181
  ___
182
182
 
@@ -296,7 +296,7 @@ The identifier of the payment method.
296
296
 
297
297
  #### Inherited from
298
298
 
299
- [PaymentRequestOptions_2](PaymentRequestOptions_2.md).[methodId](PaymentRequestOptions_2.md#methodid)
299
+ [PaymentRequestOptions](PaymentRequestOptions.md).[methodId](PaymentRequestOptions.md#methodid)
300
300
 
301
301
  ___
302
302
 
@@ -335,7 +335,7 @@ The parameters of the request, if required.
335
335
 
336
336
  #### Inherited from
337
337
 
338
- [PaymentRequestOptions_2](PaymentRequestOptions_2.md).[params](PaymentRequestOptions_2.md#params)
338
+ [PaymentRequestOptions](PaymentRequestOptions.md).[params](PaymentRequestOptions.md#params)
339
339
 
340
340
  ___
341
341
 
@@ -394,7 +394,7 @@ cancelled.
394
394
 
395
395
  #### Inherited from
396
396
 
397
- [PaymentRequestOptions_2](PaymentRequestOptions_2.md).[timeout](PaymentRequestOptions_2.md#timeout)
397
+ [PaymentRequestOptions](PaymentRequestOptions.md).[timeout](PaymentRequestOptions.md#timeout)
398
398
 
399
399
  ___
400
400
 
@@ -7,11 +7,11 @@ the current checkout flow.
7
7
 
8
8
  ## Hierarchy
9
9
 
10
- - [`RequestOptions_2`](RequestOptions_2.md)
10
+ - [`RequestOptions`](RequestOptions.md)
11
11
 
12
12
  ↳ **`PaymentRequestOptions`**
13
13
 
14
- ↳↳ [`PaymentInitializeOptions_3`](PaymentInitializeOptions_3.md)
14
+ ↳↳ [`PaymentInitializeOptions`](PaymentInitializeOptions.md)
15
15
 
16
16
  ## Table of contents
17
17
 
@@ -50,7 +50,7 @@ The parameters of the request, if required.
50
50
 
51
51
  #### Inherited from
52
52
 
53
- [RequestOptions_2](RequestOptions_2.md).[params](RequestOptions_2.md#params)
53
+ [RequestOptions](RequestOptions.md).[params](RequestOptions.md#params)
54
54
 
55
55
  ___
56
56
 
@@ -64,4 +64,4 @@ cancelled.
64
64
 
65
65
  #### Inherited from
66
66
 
67
- [RequestOptions_2](RequestOptions_2.md).[timeout](RequestOptions_2.md#timeout)
67
+ [RequestOptions](RequestOptions.md).[timeout](RequestOptions.md#timeout)
@@ -14,11 +14,11 @@ A set of options for configuring an asynchronous request.
14
14
 
15
15
  - **`RequestOptions`**
16
16
 
17
- ↳ [`CheckoutButtonOptions_2`](CheckoutButtonOptions_2.md)
17
+ ↳ [`CheckoutButtonOptions`](CheckoutButtonOptions.md)
18
18
 
19
- ↳ [`CustomerRequestOptions_2`](CustomerRequestOptions_2.md)
19
+ ↳ [`CustomerRequestOptions`](CustomerRequestOptions.md)
20
20
 
21
- ↳ [`PaymentRequestOptions_2`](PaymentRequestOptions_2.md)
21
+ ↳ [`PaymentRequestOptions`](PaymentRequestOptions.md)
22
22
 
23
23
  ↳ [`ShippingRequestOptions`](ShippingRequestOptions.md)
24
24
 
@@ -6,7 +6,7 @@ The set of options for configuring any requests related to spam protection.
6
6
 
7
7
  ## Hierarchy
8
8
 
9
- - `RequestOptions_3`
9
+ - `RequestOptions_2`
10
10
 
11
11
  ↳ **`SpamProtectionOptions`**
12
12
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bigcommerce/checkout-sdk",
3
- "version": "1.271.1",
3
+ "version": "1.272.0",
4
4
  "description": "BigCommerce Checkout JavaScript SDK",
5
5
  "license": "MIT",
6
6
  "main": "dist/checkout-sdk.js",
@@ -1,38 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / ApplePayButtonInitializeOptions_2
2
-
3
- # Interface: ApplePayButtonInitializeOptions\_2
4
-
5
- A set of options that are required to initialize ApplePay in cart.
6
-
7
- When ApplePay is initialized, an ApplePay button will be inserted into the
8
- DOM. When a customer clicks on it, it will trigger Apple sheet.
9
-
10
- ## Table of contents
11
-
12
- ### Properties
13
-
14
- - [buttonClassName](ApplePayButtonInitializeOptions_2.md#buttonclassname)
15
-
16
- ### Methods
17
-
18
- - [onPaymentAuthorize](ApplePayButtonInitializeOptions_2.md#onpaymentauthorize)
19
-
20
- ## Properties
21
-
22
- ### buttonClassName
23
-
24
- • `Optional` **buttonClassName**: `string`
25
-
26
- The class name of the ApplePay button style.
27
-
28
- ## Methods
29
-
30
- ### onPaymentAuthorize
31
-
32
- ▸ **onPaymentAuthorize**(): `void`
33
-
34
- A callback that gets called when a payment is successfully completed.
35
-
36
- #### Returns
37
-
38
- `void`
@@ -1,77 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / ApplePayCustomerInitializeOptions_2
2
-
3
- # Interface: ApplePayCustomerInitializeOptions\_2
4
-
5
- A set of options that are required to initialize the customer step of
6
- checkout in order to support ApplePay.
7
-
8
- When ApplePay is initialized, a sign-in button will be inserted into the
9
- DOM. When the customer clicks on it, it will trigger apple sheet
10
-
11
- ## Table of contents
12
-
13
- ### Properties
14
-
15
- - [container](ApplePayCustomerInitializeOptions_2.md#container)
16
- - [shippingLabel](ApplePayCustomerInitializeOptions_2.md#shippinglabel)
17
- - [subtotalLabel](ApplePayCustomerInitializeOptions_2.md#subtotallabel)
18
-
19
- ### Methods
20
-
21
- - [onError](ApplePayCustomerInitializeOptions_2.md#onerror)
22
- - [onPaymentAuthorize](ApplePayCustomerInitializeOptions_2.md#onpaymentauthorize)
23
-
24
- ## Properties
25
-
26
- ### container
27
-
28
- • **container**: `string`
29
-
30
- The ID of a container which the sign-in button should insert into.
31
-
32
- ___
33
-
34
- ### shippingLabel
35
-
36
- • `Optional` **shippingLabel**: `string`
37
-
38
- Shipping label to be passed to apple sheet.
39
-
40
- ___
41
-
42
- ### subtotalLabel
43
-
44
- • `Optional` **subtotalLabel**: `string`
45
-
46
- Sub total label to be passed to apple sheet.
47
-
48
- ## Methods
49
-
50
- ### onError
51
-
52
- ▸ `Optional` **onError**(`error?`): `void`
53
-
54
- A callback that gets called if unable to initialize the widget or select
55
- one of the address options provided by the widget.
56
-
57
- #### Parameters
58
-
59
- | Name | Type | Description |
60
- | :------ | :------ | :------ |
61
- | `error?` | `Error` | The error object describing the failure. |
62
-
63
- #### Returns
64
-
65
- `void`
66
-
67
- ___
68
-
69
- ### onPaymentAuthorize
70
-
71
- ▸ **onPaymentAuthorize**(): `void`
72
-
73
- A callback that gets called when a payment is successfully completed.
74
-
75
- #### Returns
76
-
77
- `void`
@@ -1,40 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / ApplePayPaymentInitializeOptions_2
2
-
3
- # Interface: ApplePayPaymentInitializeOptions\_2
4
-
5
- A set of options that are required to initialize the Applepay payment method with:
6
-
7
- 1) ApplePay:
8
-
9
- ```js
10
- service.initializePayment({
11
- methodId: 'applepay',
12
- applepay: {
13
- shippingLabel: 'Shipping',
14
- subtotalLabel: 'Sub total',
15
- }
16
- });
17
- ```
18
-
19
- ## Table of contents
20
-
21
- ### Properties
22
-
23
- - [shippingLabel](ApplePayPaymentInitializeOptions_2.md#shippinglabel)
24
- - [subtotalLabel](ApplePayPaymentInitializeOptions_2.md#subtotallabel)
25
-
26
- ## Properties
27
-
28
- ### shippingLabel
29
-
30
- • `Optional` **shippingLabel**: `string`
31
-
32
- Shipping label to be passed to apple sheet.
33
-
34
- ___
35
-
36
- ### subtotalLabel
37
-
38
- • `Optional` **subtotalLabel**: `string`
39
-
40
- Sub total label to be passed to apple sheet.
@@ -1,68 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonInitializeOptions_3
2
-
3
- # Interface: CheckoutButtonInitializeOptions\_3
4
-
5
- ## Hierarchy
6
-
7
- - [`CheckoutButtonOptions`](CheckoutButtonOptions.md)
8
-
9
- ↳ **`CheckoutButtonInitializeOptions_3`**
10
-
11
- ## Indexable
12
-
13
- ▪ [key: `string`]: `unknown`
14
-
15
- ## Table of contents
16
-
17
- ### Properties
18
-
19
- - [containerId](CheckoutButtonInitializeOptions_3.md#containerid)
20
- - [methodId](CheckoutButtonInitializeOptions_3.md#methodid)
21
- - [params](CheckoutButtonInitializeOptions_3.md#params)
22
- - [timeout](CheckoutButtonInitializeOptions_3.md#timeout)
23
-
24
- ## Properties
25
-
26
- ### containerId
27
-
28
- • **containerId**: `string`
29
-
30
- The ID of a container which the checkout button should be inserted.
31
-
32
- ___
33
-
34
- ### methodId
35
-
36
- • **methodId**: `string`
37
-
38
- The identifier of the payment method.
39
-
40
- #### Inherited from
41
-
42
- [CheckoutButtonOptions](CheckoutButtonOptions.md).[methodId](CheckoutButtonOptions.md#methodid)
43
-
44
- ___
45
-
46
- ### params
47
-
48
- • `Optional` **params**: `Object`
49
-
50
- The parameters of the request, if required.
51
-
52
- #### Inherited from
53
-
54
- [CheckoutButtonOptions](CheckoutButtonOptions.md).[params](CheckoutButtonOptions.md#params)
55
-
56
- ___
57
-
58
- ### timeout
59
-
60
- • `Optional` **timeout**: `default`
61
-
62
- Provide this option if you want to cancel or time out the request. If the
63
- timeout object completes before the request, the request will be
64
- cancelled.
65
-
66
- #### Inherited from
67
-
68
- [CheckoutButtonOptions](CheckoutButtonOptions.md).[timeout](CheckoutButtonOptions.md#timeout)
@@ -1,55 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / CheckoutButtonOptions_2
2
-
3
- # Interface: CheckoutButtonOptions\_2
4
-
5
- The set of options for configuring the checkout button.
6
-
7
- ## Hierarchy
8
-
9
- - [`RequestOptions`](RequestOptions.md)
10
-
11
- ↳ **`CheckoutButtonOptions_2`**
12
-
13
- ↳↳ [`CheckoutButtonInitializeOptions_4`](CheckoutButtonInitializeOptions_4.md)
14
-
15
- ## Table of contents
16
-
17
- ### Properties
18
-
19
- - [methodId](CheckoutButtonOptions_2.md#methodid)
20
- - [params](CheckoutButtonOptions_2.md#params)
21
- - [timeout](CheckoutButtonOptions_2.md#timeout)
22
-
23
- ## Properties
24
-
25
- ### methodId
26
-
27
- • **methodId**: [`CheckoutButtonMethodType`](../enums/CheckoutButtonMethodType.md)
28
-
29
- The identifier of the payment method.
30
-
31
- ___
32
-
33
- ### params
34
-
35
- • `Optional` **params**: `Object`
36
-
37
- The parameters of the request, if required.
38
-
39
- #### Inherited from
40
-
41
- [RequestOptions](RequestOptions.md).[params](RequestOptions.md#params)
42
-
43
- ___
44
-
45
- ### timeout
46
-
47
- • `Optional` **timeout**: `default`
48
-
49
- Provide this option if you want to cancel or time out the request. If the
50
- timeout object completes before the request, the request will be
51
- cancelled.
52
-
53
- #### Inherited from
54
-
55
- [RequestOptions](RequestOptions.md).[timeout](RequestOptions.md#timeout)
@@ -1,29 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / CustomerInitializeOptions_3
2
-
3
- # Interface: CustomerInitializeOptions\_3
4
-
5
- ## Hierarchy
6
-
7
- - [`CustomerRequestOptions`](CustomerRequestOptions.md)
8
-
9
- ↳ **`CustomerInitializeOptions_3`**
10
-
11
- ## Indexable
12
-
13
- ▪ [key: `string`]: `unknown`
14
-
15
- ## Table of contents
16
-
17
- ### Properties
18
-
19
- - [methodId](CustomerInitializeOptions_3.md#methodid)
20
-
21
- ## Properties
22
-
23
- ### methodId
24
-
25
- • `Optional` **methodId**: `string`
26
-
27
- #### Inherited from
28
-
29
- [CustomerRequestOptions](CustomerRequestOptions.md).[methodId](CustomerRequestOptions.md#methodid)
@@ -1,60 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / CustomerRequestOptions_2
2
-
3
- # Interface: CustomerRequestOptions\_2
4
-
5
- A set of options for configuring any requests related to the customer step of
6
- the current checkout flow.
7
-
8
- Some payment methods have their own sign-in or sign-out flow. Therefore, you
9
- need to indicate the method you want to use if you need to trigger a specific
10
- flow for signing in or out a customer. Otherwise, these options are not required.
11
-
12
- ## Hierarchy
13
-
14
- - [`RequestOptions`](RequestOptions.md)
15
-
16
- ↳ **`CustomerRequestOptions_2`**
17
-
18
- ↳↳ [`CustomerInitializeOptions_4`](CustomerInitializeOptions_4.md)
19
-
20
- ↳↳ [`ExecutePaymentMethodCheckoutOptions`](ExecutePaymentMethodCheckoutOptions.md)
21
-
22
- ## Table of contents
23
-
24
- ### Properties
25
-
26
- - [methodId](CustomerRequestOptions_2.md#methodid)
27
- - [params](CustomerRequestOptions_2.md#params)
28
- - [timeout](CustomerRequestOptions_2.md#timeout)
29
-
30
- ## Properties
31
-
32
- ### methodId
33
-
34
- • `Optional` **methodId**: `string`
35
-
36
- ___
37
-
38
- ### params
39
-
40
- • `Optional` **params**: `Object`
41
-
42
- The parameters of the request, if required.
43
-
44
- #### Inherited from
45
-
46
- [RequestOptions](RequestOptions.md).[params](RequestOptions.md#params)
47
-
48
- ___
49
-
50
- ### timeout
51
-
52
- • `Optional` **timeout**: `default`
53
-
54
- Provide this option if you want to cancel or time out the request. If the
55
- timeout object completes before the request, the request will be
56
- cancelled.
57
-
58
- #### Inherited from
59
-
60
- [RequestOptions](RequestOptions.md).[timeout](RequestOptions.md#timeout)
@@ -1,74 +0,0 @@
1
- [@bigcommerce/checkout-sdk](../README.md) / PaymentInitializeOptions_3
2
-
3
- # Interface: PaymentInitializeOptions\_3
4
-
5
- ## Hierarchy
6
-
7
- - [`PaymentRequestOptions`](PaymentRequestOptions.md)
8
-
9
- ↳ **`PaymentInitializeOptions_3`**
10
-
11
- ## Indexable
12
-
13
- ▪ [key: `string`]: `unknown`
14
-
15
- ## Table of contents
16
-
17
- ### Properties
18
-
19
- - [gatewayId](PaymentInitializeOptions_3.md#gatewayid)
20
- - [methodId](PaymentInitializeOptions_3.md#methodid)
21
- - [params](PaymentInitializeOptions_3.md#params)
22
- - [timeout](PaymentInitializeOptions_3.md#timeout)
23
-
24
- ## Properties
25
-
26
- ### gatewayId
27
-
28
- • `Optional` **gatewayId**: `string`
29
-
30
- The identifier of the payment provider providing the payment method. This
31
- option is only required if the provider offers multiple payment options.
32
- i.e.: Adyen and Klarna.
33
-
34
- #### Inherited from
35
-
36
- [PaymentRequestOptions](PaymentRequestOptions.md).[gatewayId](PaymentRequestOptions.md#gatewayid)
37
-
38
- ___
39
-
40
- ### methodId
41
-
42
- • **methodId**: `string`
43
-
44
- The identifier of the payment method.
45
-
46
- #### Inherited from
47
-
48
- [PaymentRequestOptions](PaymentRequestOptions.md).[methodId](PaymentRequestOptions.md#methodid)
49
-
50
- ___
51
-
52
- ### params
53
-
54
- • `Optional` **params**: `Object`
55
-
56
- The parameters of the request, if required.
57
-
58
- #### Inherited from
59
-
60
- [PaymentRequestOptions](PaymentRequestOptions.md).[params](PaymentRequestOptions.md#params)
61
-
62
- ___
63
-
64
- ### timeout
65
-
66
- • `Optional` **timeout**: `default`
67
-
68
- Provide this option if you want to cancel or time out the request. If the
69
- timeout object completes before the request, the request will be
70
- cancelled.
71
-
72
- #### Inherited from
73
-
74
- [PaymentRequestOptions](PaymentRequestOptions.md).[timeout](PaymentRequestOptions.md#timeout)