File tree Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Expand file tree Collapse file tree 1 file changed +52
-0
lines changed Original file line number Diff line number Diff line change 1+ <?php namespace Omnipay \NestPay \Message ;
2+
3+ /**
4+ * NestPay Purchase AbstractRequest
5+ *
6+ * (c) Yasin Kuyu
7+ * 2015, insya.com
8+ * http://www.github.com/yasinkuyu/omnipay-nestpay
9+ */
10+ abstract class AbstractRequest extends \Omnipay \Common \Message \AbstractRequest
11+ {
12+
13+ public function getUserName ()
14+ {
15+ return $ this ->getParameter ('name ' );
16+ }
17+
18+ public function setUserName ($ value )
19+ {
20+ return $ this ->setParameter ('name ' , $ value );
21+ }
22+
23+ public function getClientId ()
24+ {
25+ return $ this ->getParameter ('clientId ' );
26+ }
27+
28+ public function setClientId ($ value )
29+ {
30+ return $ this ->setParameter ('clientId ' , $ value );
31+ }
32+
33+ public function getPassword ()
34+ {
35+ return $ this ->getParameter ('password ' );
36+ }
37+
38+ public function setPassword ($ value )
39+ {
40+ return $ this ->setParameter ('password ' , $ value );
41+ }
42+
43+ public function getBank ()
44+ {
45+ return $ this ->getParameter ('bank ' );
46+ }
47+
48+ public function setBank ($ value )
49+ {
50+ return $ this ->setParameter ('bank ' , $ value );
51+ }
52+ }
You can’t perform that action at this time.
0 commit comments