| @@ 666-675 (lines=10) @@ | ||
| 663 | * @param array $pagamentosExterno |
|
| 664 | * @return IntencaoVenda |
|
| 665 | */ |
|
| 666 | public function setPagamentosExterno($pagamentosExterno) |
|
| 667 | { |
|
| 668 | if(is_array($pagamentosExterno)) |
|
| 669 | foreach ($pagamentosExterno as $pagamentoExterno) { |
|
| 670 | $this->pagamentosExterno[] = SerializerHelper::denormalize( |
|
| 671 | $pagamentoExterno, PagamentoExterno::class); |
|
| 672 | } |
|
| 673 | ||
| 674 | return $this; |
|
| 675 | } |
|
| 676 | ||
| 677 | /** |
|
| 678 | * @return array |
|
| @@ 861-870 (lines=10) @@ | ||
| 858 | * @param array $pagamentosExternos |
|
| 859 | * @return IntencaoVenda |
|
| 860 | */ |
|
| 861 | public function setPagamentosExternos($pagamentosExternos) |
|
| 862 | { |
|
| 863 | if(is_array($pagamentosExternos)) |
|
| 864 | foreach ($pagamentosExternos as $pagamentoExterno) { |
|
| 865 | $this->pagamentosExternos[] = SerializerHelper::denormalize( |
|
| 866 | $pagamentoExterno, PagamentoExterno::class); |
|
| 867 | } |
|
| 868 | ||
| 869 | return $this; |
|
| 870 | } |
|
| 871 | ||
| 872 | /** |
|
| 873 | * @return array |
|