@bigcommerce/checkout-sdk 1.266.2 → 1.269.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.
@@ -1735,6 +1735,11 @@ declare interface CheckoutButtonInitializeOptions extends CheckoutButtonOptions
1735
1735
  * unless you need to support Paypal.
1736
1736
  */
1737
1737
  paypalCommerce?: PaypalCommerceButtonInitializeOptions;
1738
+ /**
1739
+ * The options that are required to facilitate PayPal Commerce. They can be omitted
1740
+ * unless you need to support PayPal Commerce Alternative Payment Methods.
1741
+ */
1742
+ paypalcommercealternativemethods?: PaypalCommerceAlternativeMethodsButtonOptions;
1738
1743
  /**
1739
1744
  * The options that are required to facilitate PayPal Commerce Venmo. They can be omitted
1740
1745
  * unless you need to support PayPal Commerce Venmo.
@@ -1850,6 +1855,7 @@ declare enum CheckoutButtonMethodType {
1850
1855
  MASTERPASS = "masterpass",
1851
1856
  PAYPALEXPRESS = "paypalexpress",
1852
1857
  PAYPALCOMMERCE = "paypalcommerce",
1858
+ PAYPALCOMMERCE_APMS = "paypalcommercealternativemethods",
1853
1859
  PAYPALCOMMERCE_VENMO = "paypalcommercevenmo"
1854
1860
  }
1855
1861
 
@@ -5905,6 +5911,21 @@ declare enum PaypalButtonStyleSizeOption {
5905
5911
  RESPONSIVE = "responsive"
5906
5912
  }
5907
5913
 
5914
+ declare interface PaypalCommerceAlternativeMethodsButtonOptions {
5915
+ /**
5916
+ * Alternative payment method id what used for initialization PayPal button as funding source.
5917
+ */
5918
+ apm: string;
5919
+ /**
5920
+ * Flag which helps to detect that the strategy initializes on Checkout page.
5921
+ */
5922
+ initializesOnCheckoutPage?: boolean;
5923
+ /**
5924
+ * A set of styling options for the checkout button.
5925
+ */
5926
+ style?: PaypalButtonStyleOptions_2;
5927
+ }
5928
+
5908
5929
  declare interface PaypalCommerceButtonInitializeOptions {
5909
5930
  /**
5910
5931
  * A set of styling options for the checkout button.