Skip to content

Commit

Permalink
Added the getAddress2() method to the Address interface
Browse files Browse the repository at this point in the history
  • Loading branch information
fulopattila122 committed Apr 24, 2024
1 parent d8a0b44 commit b0a357d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,4 +45,6 @@ public function getCity(): ?string;
* The address part (Street, number, building, PO box etc)
*/
public function getAddress(): string;

public function getAddress2(): ?string;
}
1 change: 1 addition & 0 deletions Changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@
- Added the `Schematized` interface
- Added the `getConfigurationSchema()` method to the `Configurable` interface
- BC: Added the `itemsTotal()` method to the `CheckoutSubject` interface
- BC: Added the `getAddress2()` method to the `Address` interface
- BC: Added the following methods to the `Payable` interface:
- `getNumber()`
- `getPayableRemoteId()`
Expand Down
5 changes: 5 additions & 0 deletions Tests/Dummies/Address.php
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,9 @@ public function getAddress(): string
{
return $this->address;
}

public function getAddress2(): ?string
{
return null;
}
}

0 comments on commit b0a357d

Please sign in to comment.