@bigcommerce/checkout-sdk 1.258.0 → 1.260.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 +21 -0
- package/dist/checkout-button.d.ts +8 -17
- 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 +8 -17
- 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/dist/hosted-form.js.map +1 -1
- package/dist/hosted-form.umd.js.map +1 -1
- package/docs/README.md +1 -1
- package/docs/interfaces/{braintreepaypalv1buttoninitializeoptions.md → braintreepaypalbuttoninitializeoptions.md} +9 -18
- package/docs/interfaces/checkoutbuttoninitializeoptions.md +2 -12
- package/package.json +1 -1
package/docs/README.md
CHANGED
|
@@ -106,8 +106,8 @@
|
|
|
106
106
|
* [BraintreeFormFieldsMap](interfaces/braintreeformfieldsmap.md)
|
|
107
107
|
* [BraintreeFormOptions](interfaces/braintreeformoptions.md)
|
|
108
108
|
* [BraintreePaymentInitializeOptions](interfaces/braintreepaymentinitializeoptions.md)
|
|
109
|
+
* [BraintreePaypalButtonInitializeOptions](interfaces/braintreepaypalbuttoninitializeoptions.md)
|
|
109
110
|
* [BraintreePaypalCreditButtonInitializeOptions](interfaces/braintreepaypalcreditbuttoninitializeoptions.md)
|
|
110
|
-
* [BraintreePaypalV1ButtonInitializeOptions](interfaces/braintreepaypalv1buttoninitializeoptions.md)
|
|
111
111
|
* [BraintreeStoredCardFieldOptions](interfaces/braintreestoredcardfieldoptions.md)
|
|
112
112
|
* [BraintreeStoredCardFieldsMap](interfaces/braintreestoredcardfieldsmap.md)
|
|
113
113
|
* [BraintreeThreeDSecureOptions](interfaces/braintreethreedsecureoptions.md)
|
|
@@ -1,36 +1,27 @@
|
|
|
1
|
-
[@bigcommerce/checkout-sdk](../README.md) › [
|
|
1
|
+
[@bigcommerce/checkout-sdk](../README.md) › [BraintreePaypalButtonInitializeOptions](braintreepaypalbuttoninitializeoptions.md)
|
|
2
2
|
|
|
3
|
-
# Interface:
|
|
3
|
+
# Interface: BraintreePaypalButtonInitializeOptions
|
|
4
4
|
|
|
5
5
|
## Hierarchy
|
|
6
6
|
|
|
7
|
-
* **
|
|
7
|
+
* **BraintreePaypalButtonInitializeOptions**
|
|
8
8
|
|
|
9
9
|
## Index
|
|
10
10
|
|
|
11
11
|
### Properties
|
|
12
12
|
|
|
13
|
-
* [
|
|
14
|
-
* [
|
|
15
|
-
* [
|
|
16
|
-
* [style](braintreepaypalv1buttoninitializeoptions.md#optional-style)
|
|
13
|
+
* [messagingContainerId](braintreepaypalbuttoninitializeoptions.md#optional-messagingcontainerid)
|
|
14
|
+
* [shippingAddress](braintreepaypalbuttoninitializeoptions.md#optional-shippingaddress)
|
|
15
|
+
* [style](braintreepaypalbuttoninitializeoptions.md#optional-style)
|
|
17
16
|
|
|
18
17
|
### Methods
|
|
19
18
|
|
|
20
|
-
* [onAuthorizeError](
|
|
21
|
-
* [onError](
|
|
22
|
-
* [onPaymentError](
|
|
19
|
+
* [onAuthorizeError](braintreepaypalbuttoninitializeoptions.md#optional-onauthorizeerror)
|
|
20
|
+
* [onError](braintreepaypalbuttoninitializeoptions.md#optional-onerror)
|
|
21
|
+
* [onPaymentError](braintreepaypalbuttoninitializeoptions.md#optional-onpaymenterror)
|
|
23
22
|
|
|
24
23
|
## Properties
|
|
25
24
|
|
|
26
|
-
### `Optional` allowCredit
|
|
27
|
-
|
|
28
|
-
• **allowCredit**? : *undefined | false | true*
|
|
29
|
-
|
|
30
|
-
Whether or not to show a credit button.
|
|
31
|
-
|
|
32
|
-
___
|
|
33
|
-
|
|
34
25
|
### `Optional` messagingContainerId
|
|
35
26
|
|
|
36
27
|
• **messagingContainerId**? : *undefined | string*
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
* [applepay](checkoutbuttoninitializeoptions.md#optional-applepay)
|
|
21
21
|
* [braintreepaypal](checkoutbuttoninitializeoptions.md#optional-braintreepaypal)
|
|
22
22
|
* [braintreepaypalcredit](checkoutbuttoninitializeoptions.md#optional-braintreepaypalcredit)
|
|
23
|
-
* [braintreepaypalcreditv2](checkoutbuttoninitializeoptions.md#optional-braintreepaypalcreditv2)
|
|
24
23
|
* [braintreevenmo](checkoutbuttoninitializeoptions.md#optional-braintreevenmo)
|
|
25
24
|
* [containerId](checkoutbuttoninitializeoptions.md#containerid)
|
|
26
25
|
* [googlepayadyenv2](checkoutbuttoninitializeoptions.md#optional-googlepayadyenv2)
|
|
@@ -60,7 +59,7 @@ ___
|
|
|
60
59
|
|
|
61
60
|
### `Optional` braintreepaypal
|
|
62
61
|
|
|
63
|
-
• **braintreepaypal**? : *[
|
|
62
|
+
• **braintreepaypal**? : *[BraintreePaypalButtonInitializeOptions](braintreepaypalbuttoninitializeoptions.md)*
|
|
64
63
|
|
|
65
64
|
The options that are required to facilitate Braintree PayPal. They can be
|
|
66
65
|
omitted unless you need to support Braintree PayPal.
|
|
@@ -69,16 +68,7 @@ ___
|
|
|
69
68
|
|
|
70
69
|
### `Optional` braintreepaypalcredit
|
|
71
70
|
|
|
72
|
-
• **braintreepaypalcredit**? : *[
|
|
73
|
-
|
|
74
|
-
The options that are required to facilitate Braintree Credit. They can be
|
|
75
|
-
omitted unless you need to support Braintree Credit.
|
|
76
|
-
|
|
77
|
-
___
|
|
78
|
-
|
|
79
|
-
### `Optional` braintreepaypalcreditv2
|
|
80
|
-
|
|
81
|
-
• **braintreepaypalcreditv2**? : *[BraintreePaypalCreditButtonInitializeOptions](braintreepaypalcreditbuttoninitializeoptions.md)*
|
|
71
|
+
• **braintreepaypalcredit**? : *[BraintreePaypalCreditButtonInitializeOptions](braintreepaypalcreditbuttoninitializeoptions.md)*
|
|
82
72
|
|
|
83
73
|
The options that are required to facilitate Braintree Credit. They can be
|
|
84
74
|
omitted unless you need to support Braintree Credit.
|