Class SepaDummyCCData
Helper class that can be used to generate funny test data.
Inheritance
System.Object
SepaDummyCCData
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Subsembly.Sepa
Assembly: Subsembly.Sepa.dll
Syntax
public static class SepaDummyCCData
Fields
MAGIC_CARD_NO
Declaration
public const string MAGIC_CARD_NO = "2720999999999996"
Field Value
Type | Description |
---|---|
System.String |
Methods
ProduceAccount(String, String, String)
Declaration
public static SepaAccount ProduceAccount(string sPAN = "2720999999999996", string sCurrencyCode = "EUR", string sTagName = "Acct")
Parameters
Type | Name | Description |
---|---|---|
System.String | sPAN | |
System.String | sCurrencyCode | |
System.String | sTagName |
Returns
Type | Description |
---|---|
SepaAccount |
ProduceBalance(SepaAccount, DateTime, SepaBalanceType, String)
Computes and produces the dummy balance for the given date.
Declaration
public static SepaBalance ProduceBalance(SepaAccount aAcct, DateTime tDate, SepaBalanceType nType = SepaBalanceType.ClosingBooked, string sCurrencyCode = "EUR")
Parameters
Type | Name | Description |
---|---|---|
SepaAccount | aAcct | |
System.DateTime | tDate | |
SepaBalanceType | nType | |
System.String | sCurrencyCode |
Returns
Type | Description |
---|---|
SepaBalance |
ProduceStatement(SepaAccount, DateTime, DateTime, SepaMessageType, String)
Produces a dummy CAMT statement for the given date range.
Declaration
public static SepaStatement ProduceStatement(SepaAccount aAcct, DateTime tFromDate, DateTime tToDate, SepaMessageType nMessageType = SepaMessageType.BankToCustomerAccountReport, string sDebtorIBAN = null)
Parameters
Type | Name | Description |
---|---|---|
SepaAccount | aAcct | |
System.DateTime | tFromDate | |
System.DateTime | tToDate | |
SepaMessageType | nMessageType | |
System.String | sDebtorIBAN | IBAN of related rebooking bank account |
Returns
Type | Description |
---|---|
SepaStatement |