Esempio n. 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");
 }
Esempio n. 2
0
File: CP.cs Progetto: nHapiNET/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 CWE(message, "Range Units");
     data[5] = new ID(message, 298, "Range Type");
 }
Esempio n. 3
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");
 }
Esempio n. 4
0
 ///<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 CWE(message, "Charge Code");
 }