1 | <?php |
||
6 | class Prepaid extends Report |
||
7 | { |
||
8 | |||
9 | /** |
||
10 | * Check whether account type is acceptable by NASK |
||
11 | * |
||
12 | * @param string $accountType |
||
13 | * @return boolean |
||
14 | */ |
||
15 | private function isAccountType($accountType) |
||
25 | |||
26 | /** |
||
27 | * Set account type in conjunction with payments report. |
||
28 | * |
||
29 | * Use either this or setFundsAccountType. Never combine them in single frame. |
||
30 | * |
||
31 | * Acceptable accountType: |
||
32 | * <ul> |
||
33 | * <li>DOMAIN</li> |
||
34 | * <li>ENUM</li> |
||
35 | * </ul> |
||
36 | * |
||
37 | * @see Prepaid::setFundsAccountType() |
||
38 | * @uses Prepaid::isAccountType() |
||
39 | * @param string $accountType |
||
40 | * @throws \Exception On wrong account type |
||
41 | */ |
||
42 | public function setPaymentsAccountType($accountType) |
||
49 | |||
50 | /** |
||
51 | * Set account type in conjunction with payments report. |
||
52 | * |
||
53 | * Use either this or setPaymentsAccountType. Never combine them in single frame. |
||
54 | * |
||
55 | * Acceptable accountType: |
||
56 | * <ul> |
||
57 | * <li>DOMAIN</li> |
||
58 | * <li>ENUM</li> |
||
59 | * </ul> |
||
60 | * |
||
61 | * @see Prepaid::setPaymentsAccountType() |
||
62 | * @uses Prepaid::isAccountType() |
||
63 | * @param string $accountType |
||
64 | * @throws \Exception On wrong account type |
||
65 | */ |
||
66 | public function setFundsAccountType($accountType) |
||
73 | |||
74 | |||
75 | } |
||
76 | |||
77 |