Home
last modified time | relevance | path

Searched refs:currency_code (Results 1 – 25 of 281) sorted by relevance

12345678910>>...12

/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/payments/core/
H A Dcurrency_formatter.cc34 bool ShouldUseCurrencyCode(const std::string& currency_code) { in ShouldUseCurrencyCode() argument
35 return !currency_code.empty() && in ShouldUseCurrencyCode()
36 currency_code.size() <= kMaxCurrencyCodeLength; in ShouldUseCurrencyCode()
39 std::string FormatCurrencyCode(const std::string& currency_code) { in FormatCurrencyCode() argument
40 return currency_code.length() < kMaxCurrencyCodeDisplayedChars in FormatCurrencyCode()
41 ? currency_code in FormatCurrencyCode()
48 CurrencyFormatter::CurrencyFormatter(const std::string& currency_code, in CurrencyFormatter() argument
51 formatted_currency_code_(FormatCurrencyCode(currency_code)) { in CurrencyFormatter()
61 if (ShouldUseCurrencyCode(currency_code)) { in CurrencyFormatter()
63 currency_code.c_str(), in CurrencyFormatter()
[all …]
H A Dcurrency_formatter_unittest.cc16 const char* currency_code, in CurrencyTestCase()
21 currency_code(currency_code), in CurrencyTestCase()
28 const char* const currency_code; member
38 CurrencyFormatter formatter(GetParam().currency_code, GetParam().locale_name); in TEST_P()
53 << GetParam().currency_code << ") in " << GetParam().locale_name; in TEST_P()
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/payments/core/
H A Dcurrency_formatter.cc34 bool ShouldUseCurrencyCode(const std::string& currency_code) { in ShouldUseCurrencyCode() argument
35 return !currency_code.empty() && in ShouldUseCurrencyCode()
36 currency_code.size() <= kMaxCurrencyCodeLength; in ShouldUseCurrencyCode()
39 std::string FormatCurrencyCode(const std::string& currency_code) { in FormatCurrencyCode() argument
40 return currency_code.length() < kMaxCurrencyCodeDisplayedChars in FormatCurrencyCode()
41 ? currency_code in FormatCurrencyCode()
48 CurrencyFormatter::CurrencyFormatter(const std::string& currency_code, in CurrencyFormatter() argument
51 formatted_currency_code_(FormatCurrencyCode(currency_code)) { in CurrencyFormatter()
61 if (ShouldUseCurrencyCode(currency_code)) { in CurrencyFormatter()
63 currency_code.c_str(), in CurrencyFormatter()
[all …]
H A Dcurrency_formatter_unittest.cc16 const char* currency_code, in CurrencyTestCase()
21 currency_code(currency_code), in CurrencyTestCase()
28 const char* const currency_code; member
38 CurrencyFormatter formatter(GetParam().currency_code, GetParam().locale_name); in TEST_P()
53 << GetParam().currency_code << ") in " << GetParam().locale_name; in TEST_P()
/dports/net/google-cloud-sdk/google-cloud-sdk/platform/gsutil/gslib/vendored/boto/boto/mturk/
H A Dprice.py24 def __init__(self, amount=0.0, currency_code='USD'): argument
26 self.currency_code = currency_code
42 self.currency_code = value
48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/gslib/vendored/boto/boto/mturk/
H A Dprice.py24 def __init__(self, amount=0.0, currency_code='USD'): argument
26 self.currency_code = currency_code
42 self.currency_code = value
48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/boto/boto/mturk/
H A Dprice.py24 def __init__(self, amount=0.0, currency_code='USD'): argument
26 self.currency_code = currency_code
42 self.currency_code = value
48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
/dports/devel/py-boto/boto-2.49.0/boto/mturk/
H A Dprice.py24 def __init__(self, amount=0.0, currency_code='USD'): argument
26 self.currency_code = currency_code
42 self.currency_code = value
48 '%s.%d.CurrencyCode'%(label, ord) : self.currency_code}
/dports/math/p5-Math-Currency/Math-Currency-0.52/t/
H A D008_restore_locale.t9 for my $currency_code (qw(USD EUR GBP CAD AUD JPY ZAR)) {
10 Math::Currency->format($currency_code);
14 "($currency_code)");
16 my $currency_obj = Math::Currency->new('1.23', $currency_code);
20 "locale ($currency_code)");
/dports/devel/py-oci/oci-2.53.1/src/oci/osp_gateway/models/
H A Dcurrency.py65 def currency_code(self): member in Currency
76 @currency_code.setter
77 def currency_code(self, currency_code): argument
86 self._currency_code = currency_code
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/class/
H A Dtranslate.class.php982 * @param string $currency_code Currency Code
988 public function getCurrencyAmount($currency_code, $amount) argument
990 $symbol = $this->getCurrencySymbol($currency_code);
1000 * @param string $currency_code Currency code
1010 $this->loadCacheCurrencies($forceloadall ? '' : $currency_code);
1012 …currencies[$currency_code]) && !empty($this->cache_currencies[$currency_code]['unicode']) && is_ar…
1021 return ($currency_sign ? $currency_sign : $currency_code);
1027 * @param string $currency_code Get only currency. Get all if ''.
1030 public function loadCacheCurrencies($currency_code) argument
1035 …if (!empty($currency_code) && isset($this->cache_currencies[$currency_code])) return 0; // Cache a…
[all …]
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/class/
H A Dtranslate.class.php1004 * @param string $currency_code Currency Code
1010 public function getCurrencyAmount($currency_code, $amount) argument
1012 $symbol = $this->getCurrencySymbol($currency_code);
1014 if (in_array($currency_code, array('USD'))) {
1025 * @param string $currency_code Currency code
1036 …currencies[$currency_code]) && !empty($this->cache_currencies[$currency_code]['unicode']) && is_ar…
1052 public function loadCacheCurrencies($currency_code) argument
1059 if (!empty($currency_code) && isset($this->cache_currencies[$currency_code])) {
1066 if (!empty($currency_code)) {
1076 if (!empty($currency_code)) {
[all …]
/dports/audio/ampache/ampache-php74-5.0.0/src/Plugin/
H A DAmpachePaypal.php44 private $currency_code; variable in Ampache\\Plugin\\AmpachePaypal
117 …echo "<input type='hidden' name='currency_code' value='" . scrub_out($this->currency_code) . "'>\n…
144 $this->currency_code = trim($data['paypal_currency_code']);
145 if (!strlen($this->currency_code)) {
146 $this->currency_code = 'USD';
/dports/www/opencart/opencart-3.0.3.8/upload/catalog/controller/extension/payment/
H A Dtwocheckout.php17 $data['currency_code'] = $order_info['currency_code'];
18 …$data['total'] = $this->currency->format($order_info['total'], $order_info['currency_code'], $orde…
59 …'price' => $this->currency->format($product['price'], $order_info['currency_code'], $order_i…
94 …if ($this->currency->format($order_info['total'], $order_info['currency_code'], $order_info['curre…
H A Dpaypal.php149 $currency_code = $this->config->get('payment_paypal_currency_code');
151 $decimal_place = $setting['currency'][$currency_code]['decimal_place'];
209 'currency_code' => $currency_code,
242 'currency_code' => $currency_code,
246 'currency_code' => $currency_code,
250 'currency_code' => $currency_code,
254 'currency_code' => $currency_code,
258 'currency_code' => $currency_code,
262 'currency_code' => $currency_code,
H A Dsagepay_server.php71 …Amount'] = $this->currency->format($order_info['total'], $order_info['currency_code'], false, fals…
141 ":" . $this->currency->format($product['price'], $order_info['currency_code'], false, false) .
142 ":" . $this->currency->format($product['tax'], $order_info['currency_code'], false, false) .
143 …>currency->format(($product['price'] + $product['tax']), $order_info['currency_code'], false, fals…
144 …duct['price'] + $product['tax']) * $product['quantity'], $order_info['currency_code'], false, fals…
151 …']) . ":::::" . $this->currency->format($total['value'], $order_info['currency_code'], false, fals…
H A Dskrill.php38 …$data['amount'] = $this->currency->format($order_info['total'], $order_info['currency_code'], $ord…
39 $data['currency'] = $order_info['currency_code'];
82 … != $this->currency->format((float)$order_info['total'], $order_info['currency_code'], $order_info…
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/components/payments/content/android/
H A Dcurrency_formatter_android.cc23 const JavaParamRef<jstring>& currency_code, in CurrencyFormatterAndroid() argument
26 new CurrencyFormatter(ConvertJavaStringToUTF8(env, currency_code), in CurrencyFormatterAndroid()
57 const JavaParamRef<jstring>& currency_code, in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid() argument
60 new CurrencyFormatterAndroid(env, obj, currency_code, locale_name); in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid()
/dports/finance/frontaccounting/frontaccounting/includes/
H A Dbanking.inc84 function get_exchange_rate_from_home_currency($currency_code, $date_)
86 if ($currency_code == get_company_currency() || $currency_code == null)
91 … max(date_) as date_ FROM ".TB_PREF."exchange_rates WHERE curr_code = ".db_escape($currency_code)."
101 $currency_code, $date_));
111 function get_exchange_rate_to_home_currency($currency_code, $date_)
113 return 1 / get_exchange_rate_from_home_currency($currency_code, $date_);
118 function to_home_currency($amount, $currency_code, $date_)
120 $ex_rate = get_exchange_rate_to_home_currency($currency_code, $date_);
/dports/www/chromium-legacy/chromium-88.0.4324.182/components/payments/content/android/
H A Dcurrency_formatter_android.cc23 const JavaParamRef<jstring>& currency_code, in CurrencyFormatterAndroid() argument
26 new CurrencyFormatter(ConvertJavaStringToUTF8(env, currency_code), in CurrencyFormatterAndroid()
63 const JavaParamRef<jstring>& currency_code, in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid() argument
66 new CurrencyFormatterAndroid(env, obj, currency_code, locale_name); in JNI_CurrencyFormatter_InitCurrencyFormatterAndroid()
/dports/x11-wm/awesome-vicious/vicious-2.4.1/contrib/
H A Dbtc_all.lua49 local currency_code = string.upper(warg)
50 local url = "https://api.coindesk.com/v1/bpi/currentprice/" .. currency_code .. ".json"
61 btc["{price}"] = string.sub(data["bpi"][currency_code]["rate"], 0, -3)
/dports/www/dolibarr13/dolibarr-13.0.5/htdocs/core/boxes/
H A Dbox_comptes.php119 $account_static->currency_code = $objp->currency_code;
123 $solde_total[$objp->currency_code] += $solde;
138 'text' => price($solde, 0, $langs, 1, -1, -1, $objp->currency_code)
/dports/www/dolibarr/dolibarr-14.0.3/htdocs/core/boxes/
H A Dbox_comptes.php121 $account_static->currency_code = $objp->currency_code;
125 $solde_total[$objp->currency_code] += $solde;
140 'text' => price($solde, 0, $langs, 1, -1, -1, $objp->currency_code)
/dports/www/opencart/opencart-3.0.3.8/upload/catalog/controller/extension/feed/
H A Dgoogle_base.php72 $currency_code = $this->session->data['currency'];
75 $currency_code = 'USD';
80 …this->tax->calculate($product['special'], $product['tax_class_id']), $currency_code, $currency_val…
82 …($this->tax->calculate($product['price'], $product['tax_class_id']), $currency_code, $currency_val…
/dports/finance/odoo/odoo-19d77c2a03335eb95a686bd69a1b56b38e87d609/odoo/addons/l10n_ch/models/
H A Daccount_invoice.py37 currency_code = isr_subscription[:2]
41 return currency_code + '-' + middle_part + '-' + trailing_cipher
161 currency_code = None
163 currency_code = '01'
165 currency_code = '03'
169 optical_amount = currency_code + amount_ref

12345678910>>...12