1 <?php
2
3 namespace rpf\api\module;
4 use rpf\api\apiModule;
5 use rpf\system\module\exception;
6
7 8 9 10 11
12 class bbCustomer_readPayment extends apiModule
13 {
14 protected $rpcMethod = 'bbCustomer::readPayment';
15
16 17 18 19 20 21
22 public function setCpid($cpid)
23 {
24 return $this->addParam('cpid', (integer) $cpid);
25 }
26
27 28 29 30 31 32
33 public function setPaymentId($cpid)
34 {
35 return $this->setCpid($cpid);
36 }
37
38 39 40 41 42 43
44 public function setPreset($preset = true)
45 {
46 return $this->addParam('preset', (bool) $preset);
47 }
48
49 50 51 52 53 54
55 public function setTyp($typ)
56 {
57 return $this->addParam('typ', $typ);
58 }
59 }