Method EinvoicePaymentMeans():from() Professional
Converts a value into a payment means object.
:from( <xMeans> ) --> oMeans
An EinvoicePaymentMeans object.
Returns an EinvoicePaymentMeans object for the value passed. If <xMeans> is already an EinvoicePaymentMeans object, it is returned unchanged. Otherwise, a new object is created via EinvoicePaymentMeans():new( xMeans ). This allows a DataObject with the corresponding members to be used wherever payment means are expected, for example in AbstractEinvoice():setPaymentMeans().
If <xMeans> is neither NIL nor an object, a runtime error is raised.
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.