Conditions | 1 |
Paths | 1 |
Total Lines | 11 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | public function serialize() |
||
10 | { |
||
11 | $_returnType = [ |
||
12 | 'retorno_tipo' => urlencode('xml'), |
||
13 | 'boleto_tipo' => urlencode('xml'), |
||
14 | ]; |
||
15 | |||
16 | $_user = $this->transaction->getIpag()->getAuthentication()->serialize(); |
||
17 | $_order = $this->transaction->getOrder()->serialize(); |
||
18 | |||
19 | return array_merge($_returnType, $_user, $_order); |
||
20 | } |
||
22 |