1 <?php
2
3 namespace rpf\api\module;
4 use rpf\api\apiModule;
5
6 7 8 9 10
11 class bbCustomer_readAddress extends apiModule
12 {
13 protected $rpcMethod = 'bbCustomer::readAdress';
14
15 16 17 18 19 20
21 public function setCeid($ceid)
22 {
23 return $this->addParam('ceid', $ceid);
24 }
25
26 27 28 29 30 31
32 public function setCustomerId($ceid)
33 {
34 return $this->setCeid($ceid);
35 }
36
37 38 39 40 41 42
43 public function setTyp($typ)
44 {
45 return $this->addParam('typ', $typ);
46 }
47
48 49 50 51 52 53
54 public function addCountry($bool = true)
55 {
56 return $this->addParam('return_country', (bool) $bool);
57 }
58
59 60 61 62 63 64
65 public function addReturnPhoneEncodet($bool = true)
66 {
67 return $this->addParam('return_phone_encodet', (bool) $bool);
68 }
69 }