Class SepaOtherIds

Namespace
Subsembly.Sepa
Assembly
Subsembly.Sepa.dll

A sequence of SepaOtherId instances.

public sealed class SepaOtherIds : SepaCollection<SepaOtherId>, IList<SepaOtherId>, ICollection<SepaOtherId>, IReadOnlyList<SepaOtherId>, IReadOnlyCollection<SepaOtherId>, IEnumerable<SepaOtherId>, IList, ICollection, IEnumerable
Inheritance
SepaOtherIds
Implements
Inherited Members

Methods

GetIssuerIdentification(string)

Find an identification for a given Issuer.

public string GetIssuerIdentification(string sIssuer)

Parameters

sIssuer string

The Issuer of the identification that shall be returned. This must not be null or an empty string.

Returns

string

If an identification for the given sIssuer is found, then the Identification value is returned. Otherwise, null is returned.

Exceptions

ArgumentNullException

GetProprietaryNameIdentification(string)

Find an identification for a given SchemeNameProprietary.

public string GetProprietaryNameIdentification(string sSchmeNmPrtry)

Parameters

sSchmeNmPrtry string

The SchemeNameProprietary of the identification that shall be returned. This must not be null or an empty string.

Returns

string

If an identification for the given sSchmeNmPrtry is found, then the Identification value is returned. Otherwise, null is returned.

Exceptions

ArgumentNullException

RemoveIssuerIdentification(string)

Removes a SepaOtherId for an Issuer from this collection.

public SepaOtherId RemoveIssuerIdentification(string sIssuer)

Parameters

sIssuer string

The Issuer of the identification that shall be removed. This must not be null or an empty string.

Returns

SepaOtherId

If an SepaOtherId with the requested sIssuer was found, then it is removed from this collection and it is returned. If no such SepaOtherId exists, then null is returned.

Exceptions

ArgumentNullException

RemoveProprietaryNameIdentification(string)

Removes a SepaOtherId for an Issuer from this collection.

public SepaOtherId RemoveProprietaryNameIdentification(string sSchmeNmPrtry)

Parameters

sSchmeNmPrtry string

The SchemeNameProprietary of the identification that shall be removed. This must not be null or an empty string.

Returns

SepaOtherId

If an SepaOtherId with the requested sSchmeNmPrtry was found, then it is removed from this collection and it is returned. If no such SepaOtherId exists, then null is returned.

Exceptions

ArgumentNullException

SetIssuerIdentification(string, string)

Set or add an identification for an Issuer.

public SepaOtherId SetIssuerIdentification(string sIssuer, string sId)

Parameters

sIssuer string

The Issuer of the identification that shall be set or added. This must not be null or an empty string.

sId string

The Identification value that shall be set. This may be null or a valid identification. This must not be an empty string.

Returns

SepaOtherId

Remarks

If an SepaOtherId with the requested sIssuer already exists, then its Identification property will be set to sId. If no such SepaOtherId exists, then a new SepaOtherId will be created and added to this collection.

Exceptions

ArgumentNullException
ArgumentException

SetProprietaryNameIdentification(string, string)

Set or add an identification for a SchemeNameProprietary.

public SepaOtherId SetProprietaryNameIdentification(string sSchmeNmPrtry, string sId)

Parameters

sSchmeNmPrtry string

The SchemeNameProprietary of the identification that shall be set or added. This must not be null or an empty string.

sId string

The Identification value that shall be set. This may be null or a valid identification. This must not be an empty string.

Returns

SepaOtherId

Remarks

If an SepaOtherId with the requested sSchmeNmPrtry already exists, then its Identification property will be set to sId. If no such SepaOtherId exists, then a new SepaOtherId will be created and added to this collection.

Exceptions

ArgumentNullException
ArgumentException