Method EinvoiceAddress():new() Professional
Initializes a new address object.
:new( [<oInit>] ) --> self
This method returns self.
Initializes an address object, optionally from a DataObject. The DataObject can contain the members :Line1, :Line2, :Line3, :Postcode, :City, :CountryCode and :Subdivision. All members are optional. A missing member leaves the corresponding field empty (NIL). Each value is passed to the corresponding setter method, so it is normalized in the same way as a value assigned via :setLine1(), :setCountryCode() and the other setter methods.
If <oInit> is NIL, an empty address is created which can then be filled with the setter methods. A runtime error is raised if <oInit> is neither NIL nor an object.
If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.