HubPayPalLocaleFactory
in package
Table of Contents
- $paypalLocales : mixed
- __construct() : mixed
- getLocaleByLanguageAndCountry() : string
- Returns the PayPal locale for a language and country.
Properties
$paypalLocales
private
mixed
$paypalLocales
Methods
__construct()
public
__construct() : mixed
Return values
mixed —getLocaleByLanguageAndCountry()
Returns the PayPal locale for a language and country.
public
getLocaleByLanguageAndCountry(string $language, string $country) : string
Parameters
- $language : string
-
2-letter language code
- $country : string
-
2-letter country code
Return values
string —PayPal locale