Exemplo n.º 1
0
 /**
  * @param null|object $attributes
  */
 public function __construct($attributes = null)
 {
     if (null !== $attributes) {
         if (isset($attributes->SingleLineAddress)) {
             $this->setSingleLineAddress($attributes->SingleLineAddress);
         }
     }
     parent::__construct($attributes);
 }
Exemplo n.º 2
0
 /**
  * @param null|object $attributes
  */
 public function __construct($attributes = null)
 {
     if (null !== $attributes) {
         if (isset($attributes->Country)) {
             $this->setCountryCode($attributes->Country);
         }
     }
     parent::__construct($attributes);
 }