Class SepaOtherIds
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
sIssuerstringThe Issuer of the identification that shall be returned. This must not be
nullor an empty string.
Returns
- string
If an identification for the given
sIssueris found, then the Identification value is returned. Otherwise,nullis returned.
Exceptions
GetProprietaryNameIdentification(string)
Find an identification for a given SchemeNameProprietary.
public string GetProprietaryNameIdentification(string sSchmeNmPrtry)
Parameters
sSchmeNmPrtrystringThe SchemeNameProprietary of the identification that shall be returned. This must not be
nullor an empty string.
Returns
- string
If an identification for the given
sSchmeNmPrtryis found, then the Identification value is returned. Otherwise,nullis returned.
Exceptions
RemoveIssuerIdentification(string)
Removes a SepaOtherId for an Issuer from this collection.
public SepaOtherId RemoveIssuerIdentification(string sIssuer)
Parameters
sIssuerstringThe Issuer of the identification that shall be removed. This must not be
nullor an empty string.
Returns
- SepaOtherId
If an SepaOtherId with the requested
sIssuerwas found, then it is removed from this collection and it is returned. If no such SepaOtherId exists, thennullis returned.
Exceptions
RemoveProprietaryNameIdentification(string)
Removes a SepaOtherId for an Issuer from this collection.
public SepaOtherId RemoveProprietaryNameIdentification(string sSchmeNmPrtry)
Parameters
sSchmeNmPrtrystringThe SchemeNameProprietary of the identification that shall be removed. This must not be
nullor an empty string.
Returns
- SepaOtherId
If an SepaOtherId with the requested
sSchmeNmPrtrywas found, then it is removed from this collection and it is returned. If no such SepaOtherId exists, thennullis returned.
Exceptions
SetIssuerIdentification(string, string)
Set or add an identification for an Issuer.
public SepaOtherId SetIssuerIdentification(string sIssuer, string sId)
Parameters
sIssuerstringThe Issuer of the identification that shall be set or added. This must not be
nullor an empty string.sIdstringThe Identification value that shall be set. This may be
nullor a valid identification. This must not be an empty string.
Returns
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
SetProprietaryNameIdentification(string, string)
Set or add an identification for a SchemeNameProprietary.
public SepaOtherId SetProprietaryNameIdentification(string sSchmeNmPrtry, string sId)
Parameters
sSchmeNmPrtrystringThe SchemeNameProprietary of the identification that shall be set or added. This must not be
nullor an empty string.sIdstringThe Identification value that shall be set. This may be
nullor a valid identification. This must not be an empty string.
Returns
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.