Class FinSepaModifyPostdatedSingRemittBuilder
Builder for creating an order to modify a postdated single remittance (HKCSA).
Inheritance
Inherited Members
Namespace: Subsembly.FinTS
Assembly: Subsembly.FinTS.Core.dll
Syntax
public sealed class FinSepaModifyPostdatedSingRemittBuilder : FinSepaOrderBuilder
Remarks
In order to build a modification order the method Build(FinSepaRemitt) must be used. The base class
Constructors
FinSepaModifyPostdatedSingRemittBuilder(FinContact)
Creates a postdated single remittance modify order builder for the given contact.
Declaration
public FinSepaModifyPostdatedSingRemittBuilder(FinContact aContact)
Parameters
Type | Name | Description |
---|---|---|
FinContact | aContact | Contact data of a fully initialised and synchronised contact for which to create the FinSepaModifyPostdatedSingRemittBuilder instance. |
Exceptions
Type | Condition |
---|---|
System.ArgumentNullException | The parameter |
Properties
MaxLeadTime
Maximum number of days before the scheduled date of a postdated remittance, where a modification is possible.
Declaration
public int MaxLeadTime { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
MinLeadTime
Minimum number of days before the scheduled date of a postdated remittance, where a modification is still possible.
Declaration
public int MinLeadTime { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Methods
Build(FinSepaRemitt)
Builds a postdated single remittance modification order from the given SEPA remittance data.
Declaration
public FinOrder Build(FinSepaRemitt aSepaRemitt)
Parameters
Type | Name | Description |
---|---|---|
FinSepaRemitt | aSepaRemitt | The remittance data must contain the new postdated remittance plus the original OrderID of the order that shall be modified. |
Returns
Type | Description |
---|---|
FinOrder |
BuildSepaSegment(FinSepaRemitt)
Builds a SEPA order segment with OrderID.
Declaration
protected override FinSegment BuildSepaSegment(FinSepaRemitt aSepaRemitt)
Parameters
Type | Name | Description |
---|---|---|
FinSepaRemitt | aSepaRemitt |
Returns
Type | Description |
---|---|
FinSegment |