Class SecuritiesAmountBlock
Block that contains the details for a particular Amount (AMT)
Implements
Inherited Members
Namespace: Subsembly.Swift.SecuritiesMarkets
Assembly: Subsembly.Sepa.dll
Syntax
public class SecuritiesAmountBlock : SecuritiesBlock, ISecuritiesSequence
Remarks
An Amounts block contains at least one primary Amount field 19A, which represents the actual amount that it is all about. It may contain multiple additional Amount fields, that are related to the primary amount. These additional Amount fields must have the Qualifier "RESU" (Resulting Amount) or "OCMT" (Original Currency Amount). So, at most there may be three Amount fields.
The implementation of this sequence is simplified and currently only supports a single primary Amount field. When parsing, only the first Amount is adopted, all subsequent Amount fields are skipped.
Constructors
SecuritiesAmountBlock()
Declaration
public SecuritiesAmountBlock()
Fields
BLOCKNAME
Declaration
public const string BLOCKNAME = "AMT"
Field Value
Type | Description |
---|---|
System.String |
Properties
Amount
The primary Amount.
Declaration
public SecuritiesAmountField Amount { get; }
Property Value
Type | Description |
---|---|
SecuritiesAmountField |
ExchangeRate
Exchange rate between the amount and the resulting amount.
Declaration
public SecuritiesRateField ExchangeRate { get; }
Property Value
Type | Description |
---|---|
SecuritiesRateField |
ValueDate
Optional Value Date of this Amount.
Declaration
public SecuritiesDateTimeField ValueDate { get; }
Property Value
Type | Description |
---|---|
SecuritiesDateTimeField |
Methods
ProcessField(SwiftField)
Declaration
public override void ProcessField(SwiftField aField)
Parameters
Type | Name | Description |
---|---|---|
SwiftField | aField |