Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdnbrk committed May 28, 2021
1 parent 2531c0f commit ea53200
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,19 +116,22 @@ $parcel = new \Mvdnbrk\MyParcel\Resources\Parcel([
'signature' => true,
'only_recipient' => true,
'cash_on_delivery' => 9.95,
'evening_delivery' => true,
'extra_assurance' => true,
...
],
]);
```

Or you may use a method like `signature()`, `onlyRecipient()`, `labelDescription()` and `cashOnDelivery()`.
You may call any of these after constructing the parcel.
Or you may use a method like `signature()` and others after constructing the parcel:

``` php
$parcel->onlyRecipient()
->signature()
->labelDescription('Order #123')
->cashOnDelivery(9.95);
->cashOnDelivery(9.95)
->eveningDelivery()
->extraAssurance();
```

**Mailbox package**
Expand Down

0 comments on commit ea53200

Please sign in to comment.