File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed
src/Response/ServicePoints Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change 1+ <?php
2+
3+ declare (strict_types=1 );
4+
5+ namespace Setono \PostNord \Response \ServicePoints ;
6+
7+ final class Address
8+ {
9+ public function __construct (
10+ public readonly string $ streetName ,
11+ public readonly string $ streetNumber ,
12+ public readonly string $ postalCode ,
13+ public readonly string $ city ,
14+ public readonly string $ countryCode ,
15+ public readonly ?string $ additionalDescription ,
16+ ) {
17+ }
18+ }
Original file line number Diff line number Diff line change 66
77final class ServicePoint
88{
9- public function __construct (public readonly string $ name )
10- {
9+ public function __construct (
10+ public readonly string $ name ,
11+ public readonly string $ servicePointId ,
12+ public readonly int $ routeDistance ,
13+ public readonly Address $ visitingAddress ,
14+ ) {
1115 }
1216}
You can’t perform that action at this time.
0 commit comments