Class SepaFinancialInstitutionIdentification
Implements
Inherited Members
Namespace: Subsembly.Sepa
Assembly: Subsembly.Sepa.dll
Syntax
public sealed class SepaFinancialInstitutionIdentification : SepaObject, ISepaNameAndAddress
Constructors
SepaFinancialInstitutionIdentification(Boolean)
Declaration
public SepaFinancialInstitutionIdentification(bool fIsMandatory)
Parameters
Type | Name | Description |
---|---|---|
System.Boolean | fIsMandatory |
Properties
BIC
The BIC of the financial institute.
Declaration
public SepaBIC BIC { get; set; }
Property Value
Type | Description |
---|---|
SepaBIC |
Remarks
Depending on the context where the SepaFinancialInstitutionIdentification is used, this property may be mandatory and must be set before the object can be written as XML.
ClearingSystemCode
Optional code that identifies the type of the ClearingSystemMemberIdentification.
Declaration
public string ClearingSystemCode { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This value must conform to the ISO 20022 ExternalClearingSystemIdentification1Code and thus is validated to consist of five upper case characters.
ClearingSystemMemberIdentification
Optional proprietary clearing system member identification.
Declaration
public string ClearingSystemMemberIdentification { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
In German CAMT files this may be used to contain the "Bankleitzahl" of the financial institute.
IsEmpty
Declaration
public override bool IsEmpty { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Overrides
Name
Optional name of the financial institute.
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | The initial value of this property is |
Remarks
Only latin characters should be used. It is up to the caller to ensure that the provided string contains only characters accepted by the recipient of the SEPA document.
Exceptions
Type | Condition |
---|---|
System.ArgumentException | An attempt was made to set a string longer than 70 characters. |
OtherId
Some other proprietary identification.
Declaration
public string OtherId { get; set; }
Property Value
Type | Description |
---|---|
System.String |
OtherIssuer
The issuer code of the OtherId.
Declaration
public string OtherIssuer { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
This may be null
in some cases. If it is "UmsStId", then the ID is also
available through VatID.
PostalAddress
Postal address.
Declaration
public SepaPostalAddress PostalAddress { get; }
Property Value
Type | Description |
---|---|
SepaPostalAddress |
VatID
Optional european value-added-tax ID.
Declaration
public string VatID { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Remarks
In German CAMT files this may be used to contain the VAT ID of the financial institute.
Methods
Clear()
Declaration
public override void Clear()
Overrides
OnReadXml(XmlReader, SepaMessageInfo)
Declaration
protected override void OnReadXml(XmlReader aXmlReader, SepaMessageInfo aMessageInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlReader | aXmlReader | |
SepaMessageInfo | aMessageInfo |
Overrides
OnValidate(ICollection<SepaException>, String)
Declaration
protected override void OnValidate(ICollection<SepaException> vErrors, string sPath)
Parameters
Type | Name | Description |
---|---|---|
System.Collections.Generic.ICollection<SepaException> | vErrors | |
System.String | sPath |
Overrides
OnWriteXml(XmlWriter, SepaMessageInfo)
Declaration
protected override void OnWriteXml(XmlWriter aXmlWriter, SepaMessageInfo aMessageInfo)
Parameters
Type | Name | Description |
---|---|---|
System.Xml.XmlWriter | aXmlWriter | |
SepaMessageInfo | aMessageInfo |