Skip to content

Commit

Permalink
Merge pull request #4 from AstrotechLabs/SP34-1395-adjustments-to-the…
Browse files Browse the repository at this point in the history
…-service-structure

chore: removing unnecessary named params
  • Loading branch information
dersonsena authored Jan 9, 2024
2 parents 3484469 + 8621d98 commit 605ef9b
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,14 @@ A forma mais recomendada de instalar este pacote é através do [composer](http:

Para instalar, basta executar o comando abaixo

```bash
@todo
```php
php composer.phar require astrotechlabs/melhorenvio-sdk
```

ou adicionar esse linha

```
@todo
"astrotechlabs/melhorenvio-sdk": "^1.0"
```

na seção `require` do seu arquivo `composer.json`.
Expand All @@ -60,7 +60,7 @@ $melhorEnvioService = new MelhorEnvioService(
);

$freightCalculationResponse = $melhorEnvioService->freightCalculate(
inputData: new InputData(
new InputData(
to: new ToData(postalCode: "60820050"),
from: new FromData(postalCode: "60820050"),
products: new ProductCollection(
Expand Down Expand Up @@ -167,7 +167,7 @@ $melhorEnvioService = new MelhorEnvioService(
);

$freightCalculationResponse = $melhorEnvioService->freightCalculate(
inputData: new InputData(
new InputData(
to: new ToData(postalCode: "60876590"),
from: new FromData(postalCode: "60820050"),
package: new PackageCollection(
Expand Down Expand Up @@ -364,7 +364,7 @@ $melhorEnvioService = new MelhorEnvioService(
);

$confirmPurchaseLabelResponse = $melhorEnvioService->confirmPurchase(
inputData: new InputData(
new InputData(
orders: new OrderCollection(
[
new Order(
Expand Down

0 comments on commit 605ef9b

Please sign in to comment.