Skip to content

Commit

Permalink
Merge pull request #45 from lucassmacedo/patch-1
Browse files Browse the repository at this point in the history
Adicionado Tipo do Frete no retorno
  • Loading branch information
cagartner authored Sep 11, 2020
2 parents eefba56 + d271053 commit c112130
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Cagartner/CorreiosConsulta/CorreiosConsulta.php
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,7 @@ public function frete($data, $options = [])

$return[] = [
'codigo' => (int)$rate->Codigo,
'tipo' => ucfirst(str_replace('_', '', self::getTipoIndex($rate->Codigo))),
'valor' => self::cleanMoney($rate->Valor),
'prazo' => self::cleanInteger($rate->PrazoEntrega),
'mao_propria' => self::cleanMoney($rate->ValorMaoPropria),
Expand Down

0 comments on commit c112130

Please sign in to comment.