Add Location class.
[order_line_extra.git] / haxe / Location.hx
1 /*
2 enum Either<U,V> {
3         
4 };
5 */
6 class Location {
7         public var code : String;
8         public var name : String;
9         public var comment : String;
10
11         public function new(row : Dynamic) {
12                 var obj = php.Lib.objectOfAssociativeArray(row);
13                 code = obj.loc_code;
14                 name = obj.location_name;
15                 comment = obj.delivery_address;
16         }
17 }