Methods.php
3.3 KB
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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
<?php
/**
* @Author: irul
* @Date: 2019-09-23 19:56:00
* @Last Modified by: irul
* @Last Modified time: 2019-10-01 23:43:20
*/
namespace Integrasi\Reklame\Base;
/**
* Daftar method (global) yang digunakan untuk semua daerah.
*/
class Methods extends AbstractClass
{
public function doSomething($arg1, $arg2 = 3)
{
return $arg1 + $arg2;
}
// == REKLAME == //
public function setIpr($payload)
{
// return Reklame::setIpr($payload);
return call_user_func(self::getParentNamespace() . '\Reklame::setIpr', $payload);
}
public function getReklameById($id)
{
// return Reklame::getById($id);
return call_user_func(self::getParentNamespace() . '\Reklame::getById', $id);
}
public function getReklameByIprId($ipr_id)
{
// return Reklame::getByIprId($ipr_id);
return call_user_func(self::getParentNamespace() . '\Reklame::getByIprId', $ipr_id);
}
public function getReklameByInvoiceNumber($invoice_number)
{
// return Reklame::getByInvoiceNumber($invoice_number);
return call_user_func(self::getParentNamespace() . '\Reklame::getByInvoiceNumber', $invoice_number);
}
// == WP == //
public function createWajibPajak($payload)
{
// return WajibPajak::create($payload);
return call_user_func(self::getParentNamespace() . '\WajibPajak::create', $payload);
}
public function getWajibPajakByNpwpd($npwpd)
{
// return WajibPajak::getByNpwpd($npwpd);
return call_user_func(self::getParentNamespace() . '\WajibPajak::getByNpwpd', $npwpd);
}
public function getWajibPajakBySkpd($skpdno)
{
// return WajibPajak::getBySkpd($skpdno);
return call_user_func(self::getParentNamespace() . '\WajibPajak::getBySkpd', $skpdno);
}
public function getWajibPajakById($id)
{
// return WajibPajak::getById($id);
return call_user_func(self::getParentNamespace() . '\WajibPajak::getById', $id);
}
// == OP == //
// NOTE: Mungkin akan disable saja
public function getObjekPajakById($id)
{
// return ObjekPajak::getById($id);
return call_user_func(self::getParentNamespace() . '\ObjekPajak::getById', $id);
}
// == REFERENSI == //
public function getKecamatan()
{
// return Referensi::getKecamatan();
return call_user_func(self::getParentNamespace() . '\Referensi::getKecamatan');
}
public function getKecamatanById($id)
{
// return Referensi::getKecamatanById($id);
return call_user_func(self::getParentNamespace() . '\Referensi::getKecamatanById', $id);
}
public function getKelurahan()
{
// return Referensi::getKelurahan();
return call_user_func(self::getParentNamespace() . '\Referensi::getKelurahan');
}
public function getKelurahanById($id)
{
// return Referensi::getKelurahanById($id);
return call_user_func(self::getParentNamespace() . '\Referensi::getKelurahanById', $id);
}
public function getKelurahanByKecamatanId($kecamatan_id)
{
// return Referensi::getKelurahanByKecamatanId($kecamatan_id);
return call_user_func(self::getParentNamespace() . '\Referensi::getKelurahanByKecamatanId', $kecamatan_id);
}
public function getPajakReklame()
{
// return Referensi::getPajakReklame();
return call_user_func(self::getParentNamespace() . '\Referensi::getPajakReklame');
}
public function getPajakReklameById($id)
{
// return Referensi::getPajakReklameById($id);
return call_user_func(self::getParentNamespace() . '\Referensi::getPajakReklameById', $id);
}
}