Method EinvoicePaymentTerms():new() Professional
Initializes a new payment terms object.
:new( [<oInit>] ) --> self
This method returns self.
Initializes a payment terms object. If <oInit> is specified, the values are taken from its members :DueDate, :Text and :Skonto. All members are optional. The members :DueDate and :Text are assigned via :setDueDate() and :setText(). The member :Skonto can contain an array of DataObjects with the members :Days, :Percent and :BaseAmount. Each element of this array is added via :addSkonto().
If <oInit> is specified but is not an object, this method raises a runtime error.
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.