GetExtendedClientAddress.php in SendinBlue 8
File
src/Tools/Model/GetExtendedClientAddress.php
View source
<?php
namespace Drupal\sendinblue\Tools\Model;
class GetExtendedClientAddress {
public $street;
public $city;
public $zipCode;
public $country;
public function __construct(array $data = []) {
$this
->setStreet($data['street']);
$this
->setCity($data['city']);
$this
->setZipCode($data['zipCode']);
$this
->setCountry($data['country']);
}
public function getStreet() : string {
return $this->street;
}
public function setStreet(string $street) {
$this->street = $street;
}
public function getCity() : string {
return $this->city;
}
public function setCity(string $city) {
$this->city = $city;
}
public function getZipCode() : string {
return $this->zipCode;
}
public function setZipCode(string $zipCode) {
$this->zipCode = $zipCode;
}
public function getCountry() : string {
return $this->country;
}
public function setCountry(string $country) {
$this->country = $country;
}
}