Class SwiftStatementOfHoldings
Repesents and manages SWIFT MT-535 / MT-571 Customer Statement of Holdings messages.
Inheritance
SwiftStatementOfHoldings
Assembly: Subsembly.Sepa.dll
Syntax
public sealed class SwiftStatementOfHoldings : IList, ICollection, IEnumerable
Constructors
SwiftStatementOfHoldings()
Declaration
public SwiftStatementOfHoldings()
Properties
ContinuationIndicator
The "Statement of Holdings" continuation indicator.
Declaration
public SwiftStatementOfHoldingsContinuationIndicator ContinuationIndicator { get; set; }
Property Value
this[int]
Direct access to the contained SwiftStatementOfHoldingsFinancialInstrument objects.
Declaration
public SwiftStatementOfHoldingsFinancialInstrument this[int nIndex] { get; }
Parameters
Type |
Name |
Description |
int |
nIndex |
|
Property Value
NumberOfFinancialInstruments
Number of financial instruments embedded within the Statement of Holdings message.
Declaration
public int NumberOfFinancialInstruments { get; }
Property Value
PageNumber
The "Statement of Holdings" page number.
Declaration
public int PageNumber { get; set; }
Property Value
Type |
Description |
int |
The page number is a subfield of field 28 (MT 571) / field 28E (MT 535).
|
PreparationDate
The "Statement of Holdings" date when the statement was prepared.
Declaration
public SwiftDate PreparationDate { get; set; }
Property Value
Type |
Description |
SwiftDate |
The Preparation Date corresponds with field 30 (MT 571) / field 98a PREP (MT 535).
Both fields are optional.
|
PreparationTime
The "Statement of Holdings" time when the statement was prepared.
Declaration
public SwiftTime PreparationTime { get; set; }
Property Value
Type |
Description |
SwiftTime |
Is part of field 98C PREP (MT 535). There's no corresponding field in MT 571
messages.
|
SecuritiesAccountNumber
The "Statement of Holdings" safekeeping account's number.
Declaration
public string SecuritiesAccountNumber { get; set; }
Property Value
Type |
Description |
string |
The Securities Account Number corresponds with field 83C (MT 571) / field 97A (MT 535).
|
SecuritiesBankCode
The "Statement of Holdings" safekeeping account's bank code.
Declaration
public string SecuritiesBankCode { get; set; }
Property Value
Type |
Description |
string |
The Securities Bank Code corresponds with field 83C (MT 571) / field 97A (MT 535).
|
StatementDate
The "Statement of Holdings" date of the statement.
Declaration
public SwiftDate StatementDate { get; set; }
Property Value
Type |
Description |
SwiftDate |
The Date of the Statement corresponds with field 67A (MT 571) /
field 98a STAT (MT 535) and is mandatory.
|
StatementTime
The "Statement of Holdings" time of the statement.
Declaration
public SwiftTime StatementTime { get; set; }
Property Value
Type |
Description |
SwiftTime |
The Time of the Statement is part of field 98C STATE (MT 535).
There's no corresponding field in MT 571.
|
TotalValue
Total value of the portofolio inventories of the message.
Declaration
public decimal TotalValue { get; set; }
Property Value
Type |
Description |
decimal |
Corresponds with field 34E (MT 571) / field 19A (MT 535).
if TotalValueCurrency equals null, there's no TotalValue available!
|
TotalValueCurrency
Currency of the total value of the portofolio inventories of the message.
Declaration
public string TotalValueCurrency { get; set; }
Property Value
Type |
Description |
string |
Corresponds with field 34E (MT 571) / field 19A (MT 535).
If TotalValueCurrency equals null, there's no TotalValue available!
|
Methods
AddFinancialInstrument(SwiftStatementOfHoldingsFinancialInstrument)
Declaration
public void AddFinancialInstrument(SwiftStatementOfHoldingsFinancialInstrument aFinancialInstrument)
Parameters
IsCompleteField19A()
Declaration
public bool IsCompleteField19A()
Returns
IsCompleteField28E()
Declaration
public bool IsCompleteField28E()
Returns
IsCompleteField98a(string, SwiftDate, SwiftTime)
Declaration
public static bool IsCompleteField98a(string sQualifier, SwiftDate tDate, SwiftTime tTime)
Parameters
Returns
Load(Stream, int)
Declaration
public static SwiftStatementOfHoldings Load(Stream aStream, int nMT)
Parameters
Returns
Load(TextReader, int)
Declaration
public static SwiftStatementOfHoldings Load(TextReader aReader, int nMT)
Parameters
Returns
Load(string, int)
Declaration
public static SwiftStatementOfHoldings Load(string sFilename, int nMT)
Parameters
Type |
Name |
Description |
string |
sFilename |
|
int |
nMT |
|
Returns
Read(int, SwiftReader)
Reads one or more adjacent SWIFT MT-571/MT-535 messages creating a single new
SwiftStatementOfHoldings instance for it.
Declaration
public static SwiftStatementOfHoldings Read(int nMT, SwiftReader aReader)
Parameters
Type |
Name |
Description |
int |
nMT |
Either 535 (for MT-535) or 571 (for MT-571).
|
SwiftReader |
aReader |
|
Returns
Read(int, SwiftReader, bool)
Reads one or more adjacent SWIFT MT-571/MT-535 messages creating a single new
SwiftStatementOfHoldings instance for it.
Declaration
public static SwiftStatementOfHoldings Read(int nMT, SwiftReader aReader, bool fAll)
Parameters
Type |
Name |
Description |
int |
nMT |
|
SwiftReader |
aReader |
|
bool |
fAll |
If true , then any directly adjacent SWIFT messages are automatically merged
into the new SwiftStatementOfHoldings instance. This is repeated
until the end of the input stream is found. If false , then only the first
SWIFT message, terminated by a SWIFT End-Of-Text marker, or the end of the stream
is read.
|
Returns
ReadMessage(SwiftStatementOfHoldingsMT535Reader)
Declaration
public bool ReadMessage(SwiftStatementOfHoldingsMT535Reader aReader)
Parameters
Returns
ReadMessage(SwiftStatementOfHoldingsMT571Reader)
Declaration
public bool ReadMessage(SwiftStatementOfHoldingsMT571Reader aReader)
Parameters
Returns
SaveMT535(Stream)
Declaration
public void SaveMT535(Stream aStream)
Parameters
Type |
Name |
Description |
Stream |
aStream |
|
SaveMT535(TextWriter)
Declaration
public void SaveMT535(TextWriter aWriter)
Parameters
SaveMT535(string)
Declaration
public void SaveMT535(string sFilename)
Parameters
Type |
Name |
Description |
string |
sFilename |
|
WriteMT535(SwiftWriter, bool)
Declaration
public void WriteMT535(SwiftWriter aWriter, bool fUpdateTotalValue = false)
Parameters
Implements