/// <summary> /// Initializes a new instance of the X12OneWayAgreement class. /// </summary> /// <param name="senderBusinessIdentity">The sender business /// identity</param> /// <param name="receiverBusinessIdentity">The receiver business /// identity</param> /// <param name="protocolSettings">The X12 protocol settings.</param> public X12OneWayAgreement(BusinessIdentity senderBusinessIdentity, BusinessIdentity receiverBusinessIdentity, X12ProtocolSettings protocolSettings) { SenderBusinessIdentity = senderBusinessIdentity; ReceiverBusinessIdentity = receiverBusinessIdentity; ProtocolSettings = protocolSettings; CustomInit(); }
/// <summary> /// Initializes a new instance of the X12OneWayAgreement class. /// </summary> public X12OneWayAgreement(BusinessIdentity senderBusinessIdentity = default(BusinessIdentity), BusinessIdentity receiverBusinessIdentity = default(BusinessIdentity), X12ProtocolSettings protocolSettings = default(X12ProtocolSettings)) { SenderBusinessIdentity = senderBusinessIdentity; ReceiverBusinessIdentity = receiverBusinessIdentity; ProtocolSettings = protocolSettings; }