Class EbicsOrderSRZ
Specialized EbicsOrder helper for all SRZ order types.
public class EbicsOrderSRZ : EbicsOrder
- Inheritance
-
EbicsOrderSRZ
- Inherited Members
Remarks
This class always creates orders that are signed with a transport signature only. The AuthorisationLevel property is set to Transport.
Constructors
EbicsOrderSRZ(string, string, string, SepaDocument[])
Creates a SRZ order, initiated by a SRZ, that will be signed with a transport signature only.
public EbicsOrderSRZ(string sServiceCenterId, string sSenderUserId, string sOrderType, SepaDocument[] vSepaDocs)
Parameters
sServiceCenterIdstringThe EBICS service center ID of the initiating party.
sSenderUserIdstringThe EBICS user ID of the sending service center.
sOrderTypestringThis must be one of the currently supported SRZ order types for pain.001 or pain.008: "CCS" (pain.001), "C2S" (pain.008 B2B), or "CDS" (pain.008 COR).
vSepaDocsSepaDocument[]The SEPA Payment Initiations that shall be submitted. The Initiating Party element of each of these documents will be updated to include the given
sServiceCenterId. The type of all SEPA Payment Initiations must be consistent with the givensOrderType.
Exceptions
- ArgumentNullException
Any of the parameters was
null.- ArgumentException
The
vSepaDocswas an empty array; or thesOrderTypeis not supported by this implementation; or the SEPA document type of one of the documents does not match thesOrderType.