1 | <?php |
||
10 | abstract class BaseRequest extends AbstractRequest |
||
11 | { |
||
12 | protected $endpoint = 'https://ecommerce.userede.com.br/pos_virtual/wskomerci/cap.asmx/'; |
||
13 | protected $endpointTest = 'https://ecommerce.userede.com.br/pos_virtual/wskomerci/cap_teste.asmx/'; |
||
14 | |||
15 | public function getEndpoint($method) |
||
19 | |||
20 | public function getApiKey() |
||
24 | |||
25 | public function setApiKey($value) |
||
29 | |||
30 | public function getTestMode() |
||
34 | |||
35 | public function setTestMode($value) |
||
39 | |||
40 | public function getUsername() |
||
47 | |||
48 | public function setUsername($value) |
||
52 | |||
53 | public function getPassword() |
||
60 | |||
61 | public function setPassword($value) |
||
65 | |||
66 | public function getTransactionReference() |
||
70 | |||
71 | public function setTransactionReference($value) |
||
75 | |||
76 | public function getNumAutor() |
||
80 | |||
81 | public function setNumAutor($value) |
||
85 | |||
86 | /** |
||
87 | * |
||
88 | * @param type $data |
||
89 | * @param string $method |
||
90 | * @return \Omnipay\Common\Message\RequestInterface |
||
91 | */ |
||
92 | protected function prepareSendData($data, $method) |
||
102 | |||
103 | } |
||
104 |