-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #137 from 5pm-HDH/address-in-appointment
Address in appointment
- Loading branch information
Showing
11 changed files
with
344 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,6 @@ composer.phar | |
.phpunit.result.cache | ||
|
||
# ignore log-files | ||
*.log | ||
*.log | ||
|
||
/http-dump |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,184 @@ | ||
<?php | ||
|
||
|
||
namespace CTApi\Models; | ||
|
||
|
||
use CTApi\Models\Traits\FillWithData; | ||
|
||
class Address | ||
{ | ||
use FillWithData; | ||
|
||
protected ?string $meetingAt = null; | ||
protected ?string $street = null; | ||
protected ?string $addition = null; | ||
protected ?string $district = null; | ||
protected ?string $zip = null; | ||
protected ?string $city = null; | ||
protected ?string $country = null; | ||
protected ?string $latitude = null; | ||
protected ?string $longitude = null; | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getMeetingAt(): ?string | ||
{ | ||
return $this->meetingAt; | ||
} | ||
|
||
/** | ||
* @param string|null $meetingAt | ||
* @return Address | ||
*/ | ||
public function setMeetingAt(?string $meetingAt): Address | ||
{ | ||
$this->meetingAt = $meetingAt; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getStreet(): ?string | ||
{ | ||
return $this->street; | ||
} | ||
|
||
/** | ||
* @param string|null $street | ||
* @return Address | ||
*/ | ||
public function setStreet(?string $street): Address | ||
{ | ||
$this->street = $street; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getAddition(): ?string | ||
{ | ||
return $this->addition; | ||
} | ||
|
||
/** | ||
* @param string|null $addition | ||
* @return Address | ||
*/ | ||
public function setAddition(?string $addition): Address | ||
{ | ||
$this->addition = $addition; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getDistrict(): ?string | ||
{ | ||
return $this->district; | ||
} | ||
|
||
/** | ||
* @param string|null $district | ||
* @return Address | ||
*/ | ||
public function setDistrict(?string $district): Address | ||
{ | ||
$this->district = $district; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getZip(): ?string | ||
{ | ||
return $this->zip; | ||
} | ||
|
||
/** | ||
* @param string|null $zip | ||
* @return Address | ||
*/ | ||
public function setZip(?string $zip): Address | ||
{ | ||
$this->zip = $zip; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getCity(): ?string | ||
{ | ||
return $this->city; | ||
} | ||
|
||
/** | ||
* @param string|null $city | ||
* @return Address | ||
*/ | ||
public function setCity(?string $city): Address | ||
{ | ||
$this->city = $city; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getCountry(): ?string | ||
{ | ||
return $this->country; | ||
} | ||
|
||
/** | ||
* @param string|null $country | ||
* @return Address | ||
*/ | ||
public function setCountry(?string $country): Address | ||
{ | ||
$this->country = $country; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getLatitude(): ?string | ||
{ | ||
return $this->latitude; | ||
} | ||
|
||
/** | ||
* @param string|null $latitude | ||
* @return Address | ||
*/ | ||
public function setLatitude(?string $latitude): Address | ||
{ | ||
$this->latitude = $latitude; | ||
return $this; | ||
} | ||
|
||
/** | ||
* @return string|null | ||
*/ | ||
public function getLongitude(): ?string | ||
{ | ||
return $this->longitude; | ||
} | ||
|
||
/** | ||
* @param string|null $longitude | ||
* @return Address | ||
*/ | ||
public function setLongitude(?string $longitude): Address | ||
{ | ||
$this->longitude = $longitude; | ||
return $this; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.