You are here

public function GetExtendedClientAddress::__construct in SendinBlue 8

Same name and namespace in other branches
  1. 8.2 src/Tools/Model/GetExtendedClientAddress.php \Drupal\sendinblue\Tools\Model\GetExtendedClientAddress::__construct()

GetAccount constructor.

File

src/Tools/Model/GetExtendedClientAddress.php, line 26

Class

GetExtendedClientAddress

Namespace

Drupal\sendinblue\Tools\Model

Code

public function __construct(array $data = []) {
  $this
    ->setStreet($data['street']);
  $this
    ->setCity($data['city']);
  $this
    ->setZipCode($data['zipCode']);
  $this
    ->setCountry($data['country']);
}