@bigcommerce/checkout-sdk 1.330.0 → 1.331.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/CHANGELOG.md +28 -0
- package/dist/checkout-button.d.ts +76 -67
- package/dist/checkout-button.js +1 -1
- package/dist/checkout-button.js.map +1 -1
- package/dist/checkout-button.umd.js +1 -1
- package/dist/checkout-button.umd.js.map +1 -1
- package/dist/checkout-sdk.d.ts +76 -67
- package/dist/checkout-sdk.js +1 -1
- package/dist/checkout-sdk.js.map +1 -1
- package/dist/checkout-sdk.umd.js +1 -1
- package/dist/checkout-sdk.umd.js.map +1 -1
- package/docs/README.md +9 -8
- package/docs/enums/PaypalStyleButtonColor.md +43 -0
- package/docs/enums/PaypalStyleButtonLabel.md +43 -0
- package/docs/enums/PaypalStyleButtonLayout.md +22 -0
- package/docs/enums/PaypalStyleButtonShape.md +22 -0
- package/docs/enums/StyleButtonColor.md +15 -15
- package/docs/enums/StyleButtonLabel.md +15 -15
- package/docs/enums/StyleButtonLayout.md +6 -6
- package/docs/enums/StyleButtonShape.md +6 -6
- package/docs/interfaces/BaseCheckoutButtonInitializeOptions.md +1 -1
- package/docs/interfaces/BraintreePaypalButtonInitializeOptions.md +1 -1
- package/docs/interfaces/BraintreePaypalCreditButtonInitializeOptions.md +1 -1
- package/docs/interfaces/PayPalButtonStyleOptions.md +4 -4
- package/docs/interfaces/PaypalButtonInitializeOptions.md +1 -1
- package/docs/interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md +1 -1
- package/docs/interfaces/PaypalCommerceButtonInitializeOptions.md +1 -1
- package/docs/interfaces/PaypalCommerceCreditButtonInitializeOptions.md +1 -1
- package/docs/interfaces/PaypalCommerceVenmoButtonInitializeOptions.md +1 -1
- package/docs/interfaces/{PaypalButtonStyleOptions.md → PaypalStyleOptions.md} +10 -10
- package/docs/interfaces/PaypalStyleOptions_2.md +67 -0
- package/docs/interfaces/WithBuyNowFeature.md +23 -0
- package/package.json +1 -1
- package/docs/enums/StyleButtonColor_2.md +0 -43
- package/docs/enums/StyleButtonLabel_2.md +0 -43
- package/docs/enums/StyleButtonLayout_2.md +0 -22
- package/docs/enums/StyleButtonShape_2.md +0 -22
- package/docs/interfaces/PaypalButtonStyleOptions_2.md +0 -67
package/docs/README.md
CHANGED
|
@@ -28,15 +28,15 @@
|
|
|
28
28
|
- [PaypalButtonStyleShapeOption](enums/PaypalButtonStyleShapeOption.md)
|
|
29
29
|
- [PaypalButtonStyleSizeOption](enums/PaypalButtonStyleSizeOption.md)
|
|
30
30
|
- [PaypalCommerceFormFieldType](enums/PaypalCommerceFormFieldType.md)
|
|
31
|
+
- [PaypalStyleButtonColor](enums/PaypalStyleButtonColor.md)
|
|
32
|
+
- [PaypalStyleButtonLabel](enums/PaypalStyleButtonLabel.md)
|
|
33
|
+
- [PaypalStyleButtonLayout](enums/PaypalStyleButtonLayout.md)
|
|
34
|
+
- [PaypalStyleButtonShape](enums/PaypalStyleButtonShape.md)
|
|
31
35
|
- [RadiusUnit](enums/RadiusUnit.md)
|
|
32
36
|
- [StyleButtonColor](enums/StyleButtonColor.md)
|
|
33
|
-
- [StyleButtonColor_2](enums/StyleButtonColor_2.md)
|
|
34
37
|
- [StyleButtonLabel](enums/StyleButtonLabel.md)
|
|
35
|
-
- [StyleButtonLabel_2](enums/StyleButtonLabel_2.md)
|
|
36
38
|
- [StyleButtonLayout](enums/StyleButtonLayout.md)
|
|
37
|
-
- [StyleButtonLayout_2](enums/StyleButtonLayout_2.md)
|
|
38
39
|
- [StyleButtonShape](enums/StyleButtonShape.md)
|
|
39
|
-
- [StyleButtonShape_2](enums/StyleButtonShape_2.md)
|
|
40
40
|
|
|
41
41
|
### Classes
|
|
42
42
|
|
|
@@ -291,8 +291,6 @@
|
|
|
291
291
|
- [PaymentRequestOptions](interfaces/PaymentRequestOptions.md)
|
|
292
292
|
- [PaymentSettings](interfaces/PaymentSettings.md)
|
|
293
293
|
- [PaypalButtonInitializeOptions](interfaces/PaypalButtonInitializeOptions.md)
|
|
294
|
-
- [PaypalButtonStyleOptions](interfaces/PaypalButtonStyleOptions.md)
|
|
295
|
-
- [PaypalButtonStyleOptions_2](interfaces/PaypalButtonStyleOptions_2.md)
|
|
296
294
|
- [PaypalCommerceAlternativeMethodsButtonOptions](interfaces/PaypalCommerceAlternativeMethodsButtonOptions.md)
|
|
297
295
|
- [PaypalCommerceButtonInitializeOptions](interfaces/PaypalCommerceButtonInitializeOptions.md)
|
|
298
296
|
- [PaypalCommerceCreditButtonInitializeOptions](interfaces/PaypalCommerceCreditButtonInitializeOptions.md)
|
|
@@ -311,6 +309,8 @@
|
|
|
311
309
|
- [PaypalCommerceVenmoButtonInitializeOptions](interfaces/PaypalCommerceVenmoButtonInitializeOptions.md)
|
|
312
310
|
- [PaypalExpressPaymentInitializeOptions](interfaces/PaypalExpressPaymentInitializeOptions.md)
|
|
313
311
|
- [PaypalFieldsStyleOptions](interfaces/PaypalFieldsStyleOptions.md)
|
|
312
|
+
- [PaypalStyleOptions](interfaces/PaypalStyleOptions.md)
|
|
313
|
+
- [PaypalStyleOptions_2](interfaces/PaypalStyleOptions_2.md)
|
|
314
314
|
- [PhysicalItem](interfaces/PhysicalItem.md)
|
|
315
315
|
- [PickupMethod](interfaces/PickupMethod.md)
|
|
316
316
|
- [PickupOptionRequestBody](interfaces/PickupOptionRequestBody.md)
|
|
@@ -374,6 +374,7 @@
|
|
|
374
374
|
- [WithApplePayButtonInitializeOptions](interfaces/WithApplePayButtonInitializeOptions.md)
|
|
375
375
|
- [WithApplePayCustomerInitializeOptions](interfaces/WithApplePayCustomerInitializeOptions.md)
|
|
376
376
|
- [WithApplePayPaymentInitializeOptions](interfaces/WithApplePayPaymentInitializeOptions.md)
|
|
377
|
+
- [WithBuyNowFeature](interfaces/WithBuyNowFeature.md)
|
|
377
378
|
- [WithCheckoutcomFawryInstrument](interfaces/WithCheckoutcomFawryInstrument.md)
|
|
378
379
|
- [WithCheckoutcomSEPAInstrument](interfaces/WithCheckoutcomSEPAInstrument.md)
|
|
379
380
|
- [WithCheckoutcomiDealInstrument](interfaces/WithCheckoutcomiDealInstrument.md)
|
|
@@ -473,9 +474,9 @@ ___
|
|
|
473
474
|
|
|
474
475
|
### AmazonPayV2ButtonInitializeOptions
|
|
475
476
|
|
|
476
|
-
Ƭ **AmazonPayV2ButtonInitializeOptions**: [`AmazonPayV2ButtonParameters`](README.md#amazonpayv2buttonparameters)
|
|
477
|
+
Ƭ **AmazonPayV2ButtonInitializeOptions**: [`AmazonPayV2ButtonParameters`](README.md#amazonpayv2buttonparameters) \| [`WithBuyNowFeature`](interfaces/WithBuyNowFeature.md)
|
|
477
478
|
|
|
478
|
-
The required config to render the AmazonPayV2
|
|
479
|
+
The required config to render the AmazonPayV2 button.
|
|
479
480
|
|
|
480
481
|
___
|
|
481
482
|
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / PaypalStyleButtonColor
|
|
2
|
+
|
|
3
|
+
# Enumeration: PaypalStyleButtonColor
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Enumeration Members
|
|
8
|
+
|
|
9
|
+
- [black](PaypalStyleButtonColor.md#black)
|
|
10
|
+
- [blue](PaypalStyleButtonColor.md#blue)
|
|
11
|
+
- [gold](PaypalStyleButtonColor.md#gold)
|
|
12
|
+
- [silver](PaypalStyleButtonColor.md#silver)
|
|
13
|
+
- [white](PaypalStyleButtonColor.md#white)
|
|
14
|
+
|
|
15
|
+
## Enumeration Members
|
|
16
|
+
|
|
17
|
+
### black
|
|
18
|
+
|
|
19
|
+
• **black**
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### blue
|
|
24
|
+
|
|
25
|
+
• **blue**
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### gold
|
|
30
|
+
|
|
31
|
+
• **gold**
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### silver
|
|
36
|
+
|
|
37
|
+
• **silver**
|
|
38
|
+
|
|
39
|
+
___
|
|
40
|
+
|
|
41
|
+
### white
|
|
42
|
+
|
|
43
|
+
• **white**
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / PaypalStyleButtonLabel
|
|
2
|
+
|
|
3
|
+
# Enumeration: PaypalStyleButtonLabel
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Enumeration Members
|
|
8
|
+
|
|
9
|
+
- [buynow](PaypalStyleButtonLabel.md#buynow)
|
|
10
|
+
- [checkout](PaypalStyleButtonLabel.md#checkout)
|
|
11
|
+
- [installment](PaypalStyleButtonLabel.md#installment)
|
|
12
|
+
- [pay](PaypalStyleButtonLabel.md#pay)
|
|
13
|
+
- [paypal](PaypalStyleButtonLabel.md#paypal)
|
|
14
|
+
|
|
15
|
+
## Enumeration Members
|
|
16
|
+
|
|
17
|
+
### buynow
|
|
18
|
+
|
|
19
|
+
• **buynow**
|
|
20
|
+
|
|
21
|
+
___
|
|
22
|
+
|
|
23
|
+
### checkout
|
|
24
|
+
|
|
25
|
+
• **checkout**
|
|
26
|
+
|
|
27
|
+
___
|
|
28
|
+
|
|
29
|
+
### installment
|
|
30
|
+
|
|
31
|
+
• **installment**
|
|
32
|
+
|
|
33
|
+
___
|
|
34
|
+
|
|
35
|
+
### pay
|
|
36
|
+
|
|
37
|
+
• **pay**
|
|
38
|
+
|
|
39
|
+
___
|
|
40
|
+
|
|
41
|
+
### paypal
|
|
42
|
+
|
|
43
|
+
• **paypal**
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / PaypalStyleButtonLayout
|
|
2
|
+
|
|
3
|
+
# Enumeration: PaypalStyleButtonLayout
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Enumeration Members
|
|
8
|
+
|
|
9
|
+
- [horizontal](PaypalStyleButtonLayout.md#horizontal)
|
|
10
|
+
- [vertical](PaypalStyleButtonLayout.md#vertical)
|
|
11
|
+
|
|
12
|
+
## Enumeration Members
|
|
13
|
+
|
|
14
|
+
### horizontal
|
|
15
|
+
|
|
16
|
+
• **horizontal**
|
|
17
|
+
|
|
18
|
+
___
|
|
19
|
+
|
|
20
|
+
### vertical
|
|
21
|
+
|
|
22
|
+
• **vertical**
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / PaypalStyleButtonShape
|
|
2
|
+
|
|
3
|
+
# Enumeration: PaypalStyleButtonShape
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Enumeration Members
|
|
8
|
+
|
|
9
|
+
- [pill](PaypalStyleButtonShape.md#pill)
|
|
10
|
+
- [rect](PaypalStyleButtonShape.md#rect)
|
|
11
|
+
|
|
12
|
+
## Enumeration Members
|
|
13
|
+
|
|
14
|
+
### pill
|
|
15
|
+
|
|
16
|
+
• **pill**
|
|
17
|
+
|
|
18
|
+
___
|
|
19
|
+
|
|
20
|
+
### rect
|
|
21
|
+
|
|
22
|
+
• **rect**
|
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
### Enumeration Members
|
|
8
8
|
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
9
|
+
- [BLACK](StyleButtonColor.md#black)
|
|
10
|
+
- [BLUE](StyleButtonColor.md#blue)
|
|
11
|
+
- [GOLD](StyleButtonColor.md#gold)
|
|
12
|
+
- [SILVER](StyleButtonColor.md#silver)
|
|
13
|
+
- [WHITE](StyleButtonColor.md#white)
|
|
14
14
|
|
|
15
15
|
## Enumeration Members
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### BLACK
|
|
18
18
|
|
|
19
|
-
• **
|
|
19
|
+
• **BLACK**
|
|
20
20
|
|
|
21
21
|
___
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### BLUE
|
|
24
24
|
|
|
25
|
-
• **
|
|
25
|
+
• **BLUE**
|
|
26
26
|
|
|
27
27
|
___
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### GOLD
|
|
30
30
|
|
|
31
|
-
• **
|
|
31
|
+
• **GOLD**
|
|
32
32
|
|
|
33
33
|
___
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### SILVER
|
|
36
36
|
|
|
37
|
-
• **
|
|
37
|
+
• **SILVER**
|
|
38
38
|
|
|
39
39
|
___
|
|
40
40
|
|
|
41
|
-
###
|
|
41
|
+
### WHITE
|
|
42
42
|
|
|
43
|
-
• **
|
|
43
|
+
• **WHITE**
|
|
@@ -6,38 +6,38 @@
|
|
|
6
6
|
|
|
7
7
|
### Enumeration Members
|
|
8
8
|
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
11
|
-
- [
|
|
12
|
-
- [
|
|
13
|
-
- [
|
|
9
|
+
- [BUYNOW](StyleButtonLabel.md#buynow)
|
|
10
|
+
- [CHECKOUT](StyleButtonLabel.md#checkout)
|
|
11
|
+
- [INSTALLMENT](StyleButtonLabel.md#installment)
|
|
12
|
+
- [PAY](StyleButtonLabel.md#pay)
|
|
13
|
+
- [PAYPAL](StyleButtonLabel.md#paypal)
|
|
14
14
|
|
|
15
15
|
## Enumeration Members
|
|
16
16
|
|
|
17
|
-
###
|
|
17
|
+
### BUYNOW
|
|
18
18
|
|
|
19
|
-
• **
|
|
19
|
+
• **BUYNOW**
|
|
20
20
|
|
|
21
21
|
___
|
|
22
22
|
|
|
23
|
-
###
|
|
23
|
+
### CHECKOUT
|
|
24
24
|
|
|
25
|
-
• **
|
|
25
|
+
• **CHECKOUT**
|
|
26
26
|
|
|
27
27
|
___
|
|
28
28
|
|
|
29
|
-
###
|
|
29
|
+
### INSTALLMENT
|
|
30
30
|
|
|
31
|
-
• **
|
|
31
|
+
• **INSTALLMENT**
|
|
32
32
|
|
|
33
33
|
___
|
|
34
34
|
|
|
35
|
-
###
|
|
35
|
+
### PAY
|
|
36
36
|
|
|
37
|
-
• **
|
|
37
|
+
• **PAY**
|
|
38
38
|
|
|
39
39
|
___
|
|
40
40
|
|
|
41
|
-
###
|
|
41
|
+
### PAYPAL
|
|
42
42
|
|
|
43
|
-
• **
|
|
43
|
+
• **PAYPAL**
|
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
### Enumeration Members
|
|
8
8
|
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
9
|
+
- [HORIZONTAL](StyleButtonLayout.md#horizontal)
|
|
10
|
+
- [VERTICAL](StyleButtonLayout.md#vertical)
|
|
11
11
|
|
|
12
12
|
## Enumeration Members
|
|
13
13
|
|
|
14
|
-
###
|
|
14
|
+
### HORIZONTAL
|
|
15
15
|
|
|
16
|
-
• **
|
|
16
|
+
• **HORIZONTAL**
|
|
17
17
|
|
|
18
18
|
___
|
|
19
19
|
|
|
20
|
-
###
|
|
20
|
+
### VERTICAL
|
|
21
21
|
|
|
22
|
-
• **
|
|
22
|
+
• **VERTICAL**
|
|
@@ -6,17 +6,17 @@
|
|
|
6
6
|
|
|
7
7
|
### Enumeration Members
|
|
8
8
|
|
|
9
|
-
- [
|
|
10
|
-
- [
|
|
9
|
+
- [PILL](StyleButtonShape.md#pill)
|
|
10
|
+
- [RECT](StyleButtonShape.md#rect)
|
|
11
11
|
|
|
12
12
|
## Enumeration Members
|
|
13
13
|
|
|
14
|
-
###
|
|
14
|
+
### PILL
|
|
15
15
|
|
|
16
|
-
• **
|
|
16
|
+
• **PILL**
|
|
17
17
|
|
|
18
18
|
___
|
|
19
19
|
|
|
20
|
-
###
|
|
20
|
+
### RECT
|
|
21
21
|
|
|
22
|
-
• **
|
|
22
|
+
• **RECT**
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
|
|
47
47
|
### amazonpay
|
|
48
48
|
|
|
49
|
-
• `Optional` **amazonpay**: [`AmazonPayV2ButtonParams`](AmazonPayV2ButtonParams.md) \| [`AmazonPayV2NewButtonParams`](AmazonPayV2NewButtonParams.md)
|
|
49
|
+
• `Optional` **amazonpay**: [`AmazonPayV2ButtonParams`](AmazonPayV2ButtonParams.md) \| [`AmazonPayV2NewButtonParams`](AmazonPayV2NewButtonParams.md) \| [`WithBuyNowFeature`](WithBuyNowFeature.md)
|
|
50
50
|
|
|
51
51
|
The options that are required to facilitate AmazonPayV2. They can be
|
|
52
52
|
omitted unless you need to support AmazonPayV2.
|
|
@@ -61,7 +61,7 @@ ___
|
|
|
61
61
|
|
|
62
62
|
### style
|
|
63
63
|
|
|
64
|
-
• `Optional` **style**: `Pick`<[`
|
|
64
|
+
• `Optional` **style**: `Pick`<[`PaypalStyleOptions`](PaypalStyleOptions.md), ``"color"`` \| ``"layout"`` \| ``"size"`` \| ``"label"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"`` \| ``"height"``\>
|
|
65
65
|
|
|
66
66
|
A set of styling options for the checkout button.
|
|
67
67
|
|
|
@@ -52,7 +52,7 @@ ___
|
|
|
52
52
|
|
|
53
53
|
### style
|
|
54
54
|
|
|
55
|
-
• `Optional` **style**: `Pick`<[`
|
|
55
|
+
• `Optional` **style**: `Pick`<[`PaypalStyleOptions`](PaypalStyleOptions.md), ``"color"`` \| ``"layout"`` \| ``"size"`` \| ``"label"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"`` \| ``"height"``\>
|
|
56
56
|
|
|
57
57
|
A set of styling options for the checkout button.
|
|
58
58
|
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
|
|
19
19
|
### color
|
|
20
20
|
|
|
21
|
-
• `Optional` **color**: [`GOLD`](../enums/
|
|
21
|
+
• `Optional` **color**: [`GOLD`](../enums/StyleButtonColor.md#gold) \| [`BLUE`](../enums/StyleButtonColor.md#blue) \| [`SILVER`](../enums/StyleButtonColor.md#silver) \| [`BLACK`](../enums/StyleButtonColor.md#black) \| [`WHITE`](../enums/StyleButtonColor.md#white)
|
|
22
22
|
|
|
23
23
|
___
|
|
24
24
|
|
|
@@ -46,19 +46,19 @@ ___
|
|
|
46
46
|
|
|
47
47
|
### label
|
|
48
48
|
|
|
49
|
-
• `Optional` **label**: [`PAYPAL`](../enums/
|
|
49
|
+
• `Optional` **label**: [`PAYPAL`](../enums/StyleButtonLabel.md#paypal) \| [`CHECKOUT`](../enums/StyleButtonLabel.md#checkout) \| [`BUYNOW`](../enums/StyleButtonLabel.md#buynow) \| [`PAY`](../enums/StyleButtonLabel.md#pay) \| [`INSTALLMENT`](../enums/StyleButtonLabel.md#installment)
|
|
50
50
|
|
|
51
51
|
___
|
|
52
52
|
|
|
53
53
|
### layout
|
|
54
54
|
|
|
55
|
-
• `Optional` **layout**: [`VERTICAL`](../enums/
|
|
55
|
+
• `Optional` **layout**: [`VERTICAL`](../enums/StyleButtonLayout.md#vertical) \| [`HORIZONTAL`](../enums/StyleButtonLayout.md#horizontal)
|
|
56
56
|
|
|
57
57
|
___
|
|
58
58
|
|
|
59
59
|
### shape
|
|
60
60
|
|
|
61
|
-
• `Optional` **shape**: [`PILL`](../enums/
|
|
61
|
+
• `Optional` **shape**: [`PILL`](../enums/StyleButtonShape.md#pill) \| [`RECT`](../enums/StyleButtonShape.md#rect)
|
|
62
62
|
|
|
63
63
|
___
|
|
64
64
|
|
|
@@ -35,7 +35,7 @@ ___
|
|
|
35
35
|
|
|
36
36
|
### style
|
|
37
37
|
|
|
38
|
-
• `Optional` **style**: `Pick`<[`
|
|
38
|
+
• `Optional` **style**: `Pick`<[`PaypalStyleOptions`](PaypalStyleOptions.md), ``"color"`` \| ``"layout"`` \| ``"size"`` \| ``"label"`` \| ``"shape"`` \| ``"tagline"`` \| ``"fundingicons"``\>
|
|
39
39
|
|
|
40
40
|
A set of styling options for the checkout button.
|
|
41
41
|
|
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) /
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / PaypalStyleOptions
|
|
2
2
|
|
|
3
|
-
# Interface:
|
|
3
|
+
# Interface: PaypalStyleOptions
|
|
4
4
|
|
|
5
5
|
## Table of contents
|
|
6
6
|
|
|
7
7
|
### Properties
|
|
8
8
|
|
|
9
|
-
- [color](
|
|
10
|
-
- [fundingicons](
|
|
11
|
-
- [height](
|
|
12
|
-
- [label](
|
|
13
|
-
- [layout](
|
|
14
|
-
- [shape](
|
|
15
|
-
- [size](
|
|
16
|
-
- [tagline](
|
|
9
|
+
- [color](PaypalStyleOptions.md#color)
|
|
10
|
+
- [fundingicons](PaypalStyleOptions.md#fundingicons)
|
|
11
|
+
- [height](PaypalStyleOptions.md#height)
|
|
12
|
+
- [label](PaypalStyleOptions.md#label)
|
|
13
|
+
- [layout](PaypalStyleOptions.md#layout)
|
|
14
|
+
- [shape](PaypalStyleOptions.md#shape)
|
|
15
|
+
- [size](PaypalStyleOptions.md#size)
|
|
16
|
+
- [tagline](PaypalStyleOptions.md#tagline)
|
|
17
17
|
|
|
18
18
|
## Properties
|
|
19
19
|
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / PaypalStyleOptions_2
|
|
2
|
+
|
|
3
|
+
# Interface: PaypalStyleOptions\_2
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [color](PaypalStyleOptions_2.md#color)
|
|
10
|
+
- [custom](PaypalStyleOptions_2.md#custom)
|
|
11
|
+
- [height](PaypalStyleOptions_2.md#height)
|
|
12
|
+
- [label](PaypalStyleOptions_2.md#label)
|
|
13
|
+
- [layout](PaypalStyleOptions_2.md#layout)
|
|
14
|
+
- [shape](PaypalStyleOptions_2.md#shape)
|
|
15
|
+
- [tagline](PaypalStyleOptions_2.md#tagline)
|
|
16
|
+
|
|
17
|
+
## Properties
|
|
18
|
+
|
|
19
|
+
### color
|
|
20
|
+
|
|
21
|
+
• `Optional` **color**: [`gold`](../enums/PaypalStyleButtonColor.md#gold) \| [`blue`](../enums/PaypalStyleButtonColor.md#blue) \| [`silver`](../enums/PaypalStyleButtonColor.md#silver) \| [`black`](../enums/PaypalStyleButtonColor.md#black) \| [`white`](../enums/PaypalStyleButtonColor.md#white)
|
|
22
|
+
|
|
23
|
+
___
|
|
24
|
+
|
|
25
|
+
### custom
|
|
26
|
+
|
|
27
|
+
• `Optional` **custom**: `Object`
|
|
28
|
+
|
|
29
|
+
#### Type declaration
|
|
30
|
+
|
|
31
|
+
| Name | Type |
|
|
32
|
+
| :------ | :------ |
|
|
33
|
+
| `css?` | `Object` |
|
|
34
|
+
| `css.background?` | `string` |
|
|
35
|
+
| `css.color?` | `string` |
|
|
36
|
+
| `css.width?` | `string` |
|
|
37
|
+
| `label?` | `string` |
|
|
38
|
+
|
|
39
|
+
___
|
|
40
|
+
|
|
41
|
+
### height
|
|
42
|
+
|
|
43
|
+
• `Optional` **height**: `number`
|
|
44
|
+
|
|
45
|
+
___
|
|
46
|
+
|
|
47
|
+
### label
|
|
48
|
+
|
|
49
|
+
• `Optional` **label**: [`paypal`](../enums/PaypalStyleButtonLabel.md#paypal) \| [`checkout`](../enums/PaypalStyleButtonLabel.md#checkout) \| [`buynow`](../enums/PaypalStyleButtonLabel.md#buynow) \| [`pay`](../enums/PaypalStyleButtonLabel.md#pay) \| [`installment`](../enums/PaypalStyleButtonLabel.md#installment)
|
|
50
|
+
|
|
51
|
+
___
|
|
52
|
+
|
|
53
|
+
### layout
|
|
54
|
+
|
|
55
|
+
• `Optional` **layout**: [`vertical`](../enums/PaypalStyleButtonLayout.md#vertical) \| [`horizontal`](../enums/PaypalStyleButtonLayout.md#horizontal)
|
|
56
|
+
|
|
57
|
+
___
|
|
58
|
+
|
|
59
|
+
### shape
|
|
60
|
+
|
|
61
|
+
• `Optional` **shape**: [`pill`](../enums/PaypalStyleButtonShape.md#pill) \| [`rect`](../enums/PaypalStyleButtonShape.md#rect)
|
|
62
|
+
|
|
63
|
+
___
|
|
64
|
+
|
|
65
|
+
### tagline
|
|
66
|
+
|
|
67
|
+
• `Optional` **tagline**: `boolean`
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) / WithBuyNowFeature
|
|
2
|
+
|
|
3
|
+
# Interface: WithBuyNowFeature
|
|
4
|
+
|
|
5
|
+
## Table of contents
|
|
6
|
+
|
|
7
|
+
### Properties
|
|
8
|
+
|
|
9
|
+
- [buyNowInitializeOptions](WithBuyNowFeature.md#buynowinitializeoptions)
|
|
10
|
+
|
|
11
|
+
## Properties
|
|
12
|
+
|
|
13
|
+
### buyNowInitializeOptions
|
|
14
|
+
|
|
15
|
+
• `Optional` **buyNowInitializeOptions**: `Object`
|
|
16
|
+
|
|
17
|
+
The options that are required to initialize Buy Now functionality.
|
|
18
|
+
|
|
19
|
+
#### Type declaration
|
|
20
|
+
|
|
21
|
+
| Name | Type |
|
|
22
|
+
| :------ | :------ |
|
|
23
|
+
| `getBuyNowCartRequestBody?` | () => `void` \| [`BuyNowCartRequestBody`](BuyNowCartRequestBody.md) |
|
package/package.json
CHANGED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StyleButtonColor_2
|
|
2
|
-
|
|
3
|
-
# Enumeration: StyleButtonColor\_2
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Enumeration Members
|
|
8
|
-
|
|
9
|
-
- [BLACK](StyleButtonColor_2.md#black)
|
|
10
|
-
- [BLUE](StyleButtonColor_2.md#blue)
|
|
11
|
-
- [GOLD](StyleButtonColor_2.md#gold)
|
|
12
|
-
- [SILVER](StyleButtonColor_2.md#silver)
|
|
13
|
-
- [WHITE](StyleButtonColor_2.md#white)
|
|
14
|
-
|
|
15
|
-
## Enumeration Members
|
|
16
|
-
|
|
17
|
-
### BLACK
|
|
18
|
-
|
|
19
|
-
• **BLACK**
|
|
20
|
-
|
|
21
|
-
___
|
|
22
|
-
|
|
23
|
-
### BLUE
|
|
24
|
-
|
|
25
|
-
• **BLUE**
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### GOLD
|
|
30
|
-
|
|
31
|
-
• **GOLD**
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### SILVER
|
|
36
|
-
|
|
37
|
-
• **SILVER**
|
|
38
|
-
|
|
39
|
-
___
|
|
40
|
-
|
|
41
|
-
### WHITE
|
|
42
|
-
|
|
43
|
-
• **WHITE**
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) / StyleButtonLabel_2
|
|
2
|
-
|
|
3
|
-
# Enumeration: StyleButtonLabel\_2
|
|
4
|
-
|
|
5
|
-
## Table of contents
|
|
6
|
-
|
|
7
|
-
### Enumeration Members
|
|
8
|
-
|
|
9
|
-
- [BUYNOW](StyleButtonLabel_2.md#buynow)
|
|
10
|
-
- [CHECKOUT](StyleButtonLabel_2.md#checkout)
|
|
11
|
-
- [INSTALLMENT](StyleButtonLabel_2.md#installment)
|
|
12
|
-
- [PAY](StyleButtonLabel_2.md#pay)
|
|
13
|
-
- [PAYPAL](StyleButtonLabel_2.md#paypal)
|
|
14
|
-
|
|
15
|
-
## Enumeration Members
|
|
16
|
-
|
|
17
|
-
### BUYNOW
|
|
18
|
-
|
|
19
|
-
• **BUYNOW**
|
|
20
|
-
|
|
21
|
-
___
|
|
22
|
-
|
|
23
|
-
### CHECKOUT
|
|
24
|
-
|
|
25
|
-
• **CHECKOUT**
|
|
26
|
-
|
|
27
|
-
___
|
|
28
|
-
|
|
29
|
-
### INSTALLMENT
|
|
30
|
-
|
|
31
|
-
• **INSTALLMENT**
|
|
32
|
-
|
|
33
|
-
___
|
|
34
|
-
|
|
35
|
-
### PAY
|
|
36
|
-
|
|
37
|
-
• **PAY**
|
|
38
|
-
|
|
39
|
-
___
|
|
40
|
-
|
|
41
|
-
### PAYPAL
|
|
42
|
-
|
|
43
|
-
• **PAYPAL**
|