예제 #1
0
 ///<summary>
 /// Creates a DDI.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public DDI(IMessage message, string description) : base(message, description)
 {
     data    = new IType[3];
     data[0] = new NM(message, "Delay Days");
     data[1] = new MO(message, "Monetary Amount");
     data[2] = new NM(message, "Number of Days");
 }
예제 #2
0
파일: CP.cs 프로젝트: RickIsWright/nHapi
	///<summary>
	/// Creates a CP.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public CP(IMessage message, string description) : base(message, description){
		data = new IType[6];
		data[0] = new MO(message,"Price");
		data[1] = new ID(message, 205,"Price Type");
		data[2] = new NM(message,"From Value");
		data[3] = new NM(message,"To Value");
		data[4] = new CE(message,"Range Units");
		data[5] = new ID(message, 298,"Range Type");
	}
예제 #3
0
 ///<summary>
 /// Creates a CP.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public CP(IMessage message, string description) : base(message, description)
 {
     data    = new IType[6];
     data[0] = new MO(message, "Price");
     data[1] = new ID(message, 205, "Price Type");
     data[2] = new NM(message, "From Value");
     data[3] = new NM(message, "To Value");
     data[4] = new CE(message, "Range Units");
     data[5] = new ID(message, 298, "Range Type");
 }
예제 #4
0
파일: DDI.cs 프로젝트: RickIsWright/nHapi
	///<summary>
	/// Creates a DDI.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public DDI(IMessage message, string description) : base(message, description){
		data = new IType[3];
		data[0] = new NM(message,"Delay Days");
		data[1] = new MO(message,"Monetary Amount");
		data[2] = new NM(message,"Number of Days");
	}
예제 #5
0
파일: UVC.cs 프로젝트: RickIsWright/nHapi
	///<summary>
	/// Creates a UVC.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public UVC(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new CNE(message,"Value Code");
		data[1] = new MO(message,"Value Amount");
	}
예제 #6
0
파일: MOC.cs 프로젝트: liddictm/nHapi
	///<summary>
	/// Creates a MOC.
	/// <param name="message">The Message to which this Type belongs</param>
	/// <param name="description">The description of this type</param>
	///</summary>
	public MOC(IMessage message, string description) : base(message, description){
		data = new IType[2];
		data[0] = new MO(message,"Monetary Amount");
		data[1] = new CE(message,"Charge Code");
	}
예제 #7
0
파일: MOC.cs 프로젝트: nHapiNET/nHapi
 ///<summary>
 /// Creates a MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public MOC(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new MO(message, "Monetary Amount");
     data[1] = new CE(message, "Charge Code");
 }
예제 #8
0
 ///<summary>
 /// Creates a UVC.
 /// <param name="message">The Message to which this Type belongs</param>
 /// <param name="description">The description of this type</param>
 ///</summary>
 public UVC(IMessage message, string description) : base(message, description)
 {
     data    = new IType[2];
     data[0] = new CNE(message, "Value Code");
     data[1] = new MO(message, "Value Amount");
 }