We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af0d84f commit 9bca0b9Copy full SHA for 9bca0b9
Model/Address.php
@@ -110,4 +110,19 @@ public function setLongitude($longitude)
110
{
111
$this->longitude = $longitude;
112
}
113
+
114
+ /**
115
+ * @return array
116
+ */
117
+ public function toArray()
118
+ {
119
+ return array(
120
+ 'street' => $this->street,
121
+ 'city' => $this->city,
122
+ 'house_number' => $this->houseNumber,
123
+ 'zip_code' => $this->zipCode,
124
+ 'longitude' => $this->longitude,
125
+ 'latitude' => $this->latitude,
126
+ );
127
+ }
128
0 commit comments