TheM.remittance Reference
Constructor
The parent TheM class contains functionality enabling the initialization of any TheM subclass or submodule instance by simply calling TheM.doInit('subclassName'), where the input string is a case sensitive space-delimited string containing the names of all submodules that may be required in the current session. Most TheM subclasses also require the 'common' submodule. It is common to initialize the target submodule and any other submodule dependencies concurrently. The following example will initialize a new instance of the necessary submodules using a proxy constructor in TheM parent class.
Example
Properties
Property table for TheM.remittance
Property | Description | Required | Schema |
---|---|---|---|
newRemittance | Gets (returns) a new Remittance instance. For example, remittanceName = TheM.remittance.newRemittance will create a new instance named 'remittanceName'. Set required properties like remittanceName.transactionTypeId = 'USA_wire' . Once all required properties are set and valid, the remittance can be submitted to the server by calling TheM.remittance.doSubmit(remittanceName) . |
Yes | { "title": "TheM.remittance.newRemittance", "type": "object", "description": "Gets (returns) a new Remittance instance. For example, remittanceName =<br/>TheM.remittance.newRemittance will create a newinstance named 'remittanceName'. Set required properties like remittanceName.transactionTypeId =<br/>'USA_wire' . Once all required properties are setand valid, the remittance can be submitted to the server by calling TheM.remittance.doSubmit(remittanceName) .","$comment": "getter", "examples": [ { "AFiRemittanceId": "jb17199168600718m6acjetf8ub0z2ehhjfx9fv70c1o a3y73pmq5t8", "isValid": false, "other": {} } ], "nullable": false } |
validator | Gets (returns) an instance of the RemittanceValidationClass. This instance can be used to validate the current Remittance. | Yes | { "title": "TheM.remittance.validator", "type": "object", "description": "Gets (returns) an instance of the RemittanceValidationClass. This instance can be used to validate the current Remittance.", "$comment": "getter", "examples": [ null ], "nullable": false } |
Methods
Method Name | Parameter Descriptions | Description | Example |
---|---|---|---|
doSubmit | [ |
The doSubmit method will submit the given Remittance instance to the server. | TheM.remittance.doSubmit({); |
Submodules
Submodule Name | Link |
---|---|
Remittance | Remittance |
RemittanceValidationClass | RemittanceValidationClass |