10
10
11
11
/**
12
12
* Config model that is aware of all \Magento\Paypal payment methods
13
+ *
13
14
* Works with PayPal-specific system configuration
14
15
15
16
* @SuppressWarnings(PHPMD.ExcessivePublicCount)
@@ -632,6 +633,7 @@ public function __construct(
632
633
633
634
/**
634
635
* Check whether method available for checkout or not
636
+ *
635
637
* Logic based on merchant country, methods dependence
636
638
*
637
639
* @param string|null $methodCode
@@ -723,6 +725,7 @@ public function getMerchantCountry()
723
725
724
726
/**
725
727
* Check whether method supported for specified country or not
728
+ *
726
729
* Use $_methodCode and merchant country by default
727
730
*
728
731
* @param string|null $method
@@ -896,6 +899,7 @@ public function getExpressCheckoutEditUrl($token)
896
899
897
900
/**
898
901
* Get url for additional actions that PayPal may require customer to do after placing the order.
902
+ *
899
903
* For instance, redirecting customer to bank for payment confirmation.
900
904
*
901
905
* @param string $token
@@ -957,6 +961,7 @@ public function areButtonsDynamic()
957
961
958
962
/**
959
963
* Express checkout shortcut pic URL getter
964
+ *
960
965
* PayPal will ignore "pal", if there is no total amount specified
961
966
*
962
967
* @param string $localeCode
@@ -996,6 +1001,7 @@ public function getExpressCheckoutInContextImageUrl($localeCode)
996
1001
997
1002
/**
998
1003
* Get PayPal "mark" image URL
1004
+ *
999
1005
* Supposed to be used on payment methods selection
1000
1006
* $staticSize is applicable for static images only
1001
1007
*
@@ -1032,6 +1038,7 @@ public function getPaymentMarkImageUrl($localeCode, $orderTotal = null, $pal = n
1032
1038
1033
1039
/**
1034
1040
* Get "What Is PayPal" localized URL
1041
+ *
1035
1042
* Supposed to be used with "mark" as popup window
1036
1043
*
1037
1044
* @param \Magento\Framework\Locale\ResolverInterface $localeResolver
@@ -1262,6 +1269,7 @@ public function getExpressCheckoutBASignupOptions()
1262
1269
1263
1270
/**
1264
1271
* Whether to ask customer to create billing agreements
1272
+ *
1265
1273
* Unilateral payments are incompatible with the billing agreements
1266
1274
*
1267
1275
* @return bool
@@ -1376,6 +1384,7 @@ public function exportExpressCheckoutStyleSettings(\Magento\Framework\DataObject
1376
1384
1377
1385
/**
1378
1386
* Dynamic PayPal image URL getter
1387
+ *
1379
1388
* Also can render dynamic Acceptance Mark
1380
1389
*
1381
1390
* @param string $type
@@ -1725,6 +1734,7 @@ public function getBmlPublisherId()
1725
1734
1726
1735
/**
1727
1736
* Get Display option from stored config
1737
+ *
1728
1738
* @param string $section
1729
1739
*
1730
1740
* @return mixed
@@ -1752,6 +1762,7 @@ public function getBmlDisplay($section)
1752
1762
1753
1763
/**
1754
1764
* Get Position option from stored config
1765
+ *
1755
1766
* @param string $section
1756
1767
*
1757
1768
* @return mixed
@@ -1767,6 +1778,7 @@ public function getBmlPosition($section)
1767
1778
1768
1779
/**
1769
1780
* Get Size option from stored config
1781
+ *
1770
1782
* @param string $section
1771
1783
*
1772
1784
* @return mixed
0 commit comments