Class FinSepaDirectDebitRejectBuilder
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public class FinSepaDirectDebitRejectBuilder : FinOrderBuilder
Constructors
FinSepaDirectDebitRejectBuilder(FinContact)
Declaration
public FinSepaDirectDebitRejectBuilder(FinContact aContact)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact |
Fields
REASON_MD01
Reject because there is no such direct debit mandate.
Declaration
public const string REASON_MD01 = "MD01"
Field Value
Type | Description |
---|---|
System.String |
REASON_MD06
Rejecting an authorized direct debit for other reasons.
Declaration
public const string REASON_MD06 = "MD06"
Field Value
Type | Description |
---|---|
System.String |
Properties
OrderDataRequired
Indicates whether the direct debit order details must be included in the reject request.
Declaration
public bool OrderDataRequired { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Remarks
If this is true, then at least the following fields must be specified in the FinSepaDirectDebitIndication: CustAcct, EntryDate, EntryTime, Amount, CreditorAcct, CreditorName.
PriceForReject
The price that the bank charges for rejecting a direct debit.
Declaration
public SwiftAmt PriceForReject { get; }
Property Value
Type | Description |
---|---|
SwiftAmt |
Remarks
This is an optional parameter and may be NullAmt to indicate that no price was specified. As banks are not allowed to charge for this service, this parameter should always be NullAmt or a zero amount value.
Methods
Build(FinSepaDirectDebitIndication, String)
Declaration
public FinOrder Build(FinSepaDirectDebitIndication aDirDebInd, string sReason)
Parameters
Type | Name | Description |
---|---|---|
FinSepaDirectDebitIndication | aDirDebInd | Contains all information required to reject the direct debit. Must not be
|
System.String | sReason | Optional reason for rejecting the indicated direct debit. Set to |
Returns
Type | Description |
---|---|
FinOrder | Returns the fully constructed order, ready to be sent. Returns never |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
System.ArgumentException | The parameter |
Build(String, String)
Convenience method for rejects where only an order ID is needed.
Declaration
public FinOrder Build(string sOrderID, string sReason)
Parameters
Type | Name | Description |
---|---|---|
System.String | sOrderID | The order ID of the direct debit that shall be rejected. This must not
be |
System.String | sReason | Optional reason for rejecting the indicated direct debit. See Build(FinSepaDirectDebitIndication, String) for more information. |
Returns
Type | Description |
---|---|
FinOrder | Returns the fully constructed order, ready to be sent. Returns never |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
System.ArgumentException | The parameter
|