Skip to content

Commit ea53200

Browse files
committed
Update README.md
1 parent 2531c0f commit ea53200

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

README.md

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -116,19 +116,22 @@ $parcel = new \Mvdnbrk\MyParcel\Resources\Parcel([
116116
'signature' => true,
117117
'only_recipient' => true,
118118
'cash_on_delivery' => 9.95,
119+
'evening_delivery' => true,
120+
'extra_assurance' => true,
119121
...
120122
],
121123
]);
122124
```
123125

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

127128
``` php
128129
$parcel->onlyRecipient()
129130
->signature()
130131
->labelDescription('Order #123')
131-
->cashOnDelivery(9.95);
132+
->cashOnDelivery(9.95)
133+
->eveningDelivery()
134+
->extraAssurance();
132135
```
133136

134137
**Mailbox package**

0 commit comments

Comments
 (0)