aboutsummaryrefslogtreecommitdiffstats
path: root/vendor/commerceguys/intl/src/Currency/CurrencyEntityInterface.php
blob: 85d4ab83d344e00b4d9f7158cd26321d209fe667 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
<?php

namespace CommerceGuys\Intl\Currency;

interface CurrencyEntityInterface extends CurrencyInterface
{
    /**
     * Sets the alphabetic currency code.
     *
     * @param string $currencyCode The alphabetic currency code.
     *
     * @return self
     */
    public function setCurrencyCode($currencyCode);

    /**
     * Sets the currency name.
     *
     * @param string $name The currency name.
     *
     * @return self
     */
    public function setName($name);

    /**
     * Sets the numeric currency code.
     *
     * @param string $numericCode The numeric currency code.
     *
     * @return self
     */
    public function setNumericCode($numericCode);

    /**
     * Sets the currency symbol.
     *
     * @param string $symbol The currency symbol.
     *
     * @return self
     */
    public function setSymbol($symbol);

    /**
     * Sets the number of fraction digits.
     *
     * @param int $fractionDigits The number of fraction digits.
     *
     * @return self
     */
    public function setFractionDigits($fractionDigits);
}