1 <?php
2
3 namespace rpf\api\module;
4 use rpf\api\apiModule;
5
6 7 8 9 10
11 class bbCustomer_readDiscount extends apiModule
12 {
13 protected $rpcMethod = 'bbCustomer::readDiscount';
14
15 16 17 18 19 20
21 public function setCdid($cdid)
22 {
23 return $this->addParam('cdid', (integer) $cdid);
24 }
25
26 27 28 29 30 31
32 public function setCustomerDiscount($cdid)
33 {
34 return $this->setCdid($cdid);
35 }
36
37 38 39 40 41 42
43 public function setPreset($preset)
44 {
45 return $this->addParam('preset', $preset);
46 }
47 }