Skip to content

Commit

Permalink
readme response ws
Browse files Browse the repository at this point in the history
  • Loading branch information
prhost committed Sep 6, 2018
1 parent 48169bf commit 082bf62
Showing 1 changed file with 16 additions and 14 deletions.
30 changes: 16 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,21 +42,23 @@ try {

var_dump($valor_frete);

/**
* Dump:
object(stdClass)#17 (4) {
["COMPONENTE"]=>
string(17) "TF-TOTAL DO FRETE"
["IMPOSTO"]=>
float(251.2)
["TOTAL"]=>
float(3629.37)
["VALOR"]=>
float(3378.17)
}
*/

} catch (\Prhost\Jamef\ExceptionJamef $e) {
var_dump($e->getMessage());
}
```


Response:

```
object(stdClass)#17 (4) {
["COMPONENTE"]=>
string(17) "TF-TOTAL DO FRETE"
["IMPOSTO"]=>
float(251.2)
["TOTAL"]=>
float(3629.37)
["VALOR"]=>
float(3378.17)
}
```

0 comments on commit 082bf62

Please sign in to comment.