| @@ 662-671 (lines=10) @@ | ||
| 659 | * @param array $pagamentosExterno |
|
| 660 | * @return IntencaoVenda |
|
| 661 | */ |
|
| 662 | public function setPagamentosExterno($pagamentosExterno) |
|
| 663 | { |
|
| 664 | if(is_array($pagamentosExterno)) |
|
| 665 | foreach ($pagamentosExterno as $pagamentoExterno) { |
|
| 666 | $this->pagamentosExterno[] = SerializerHelper::denormalize( |
|
| 667 | $pagamentoExterno, PagamentoExterno::class); |
|
| 668 | } |
|
| 669 | ||
| 670 | return $this; |
|
| 671 | } |
|
| 672 | ||
| 673 | /** |
|
| 674 | * @return array |
|
| @@ 857-866 (lines=10) @@ | ||
| 854 | * @param array $pagamentosExternos |
|
| 855 | * @return IntencaoVenda |
|
| 856 | */ |
|
| 857 | public function setPagamentosExternos($pagamentosExternos) |
|
| 858 | { |
|
| 859 | if(is_array($pagamentosExternos)) |
|
| 860 | foreach ($pagamentosExternos as $pagamentoExterno) { |
|
| 861 | $this->pagamentosExternos[] = SerializerHelper::denormalize( |
|
| 862 | $pagamentoExterno, PagamentoExterno::class); |
|
| 863 | } |
|
| 864 | ||
| 865 | return $this; |
|
| 866 | } |
|
| 867 | ||
| 868 | /** |
|
| 869 | * @return array |
|