コード例 #1
0
ファイル: DDI.cs プロジェクト: hongweichang/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");
 }
コード例 #2
0
ファイル: UVC.cs プロジェクト: snosrap/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");
 }
コード例 #3
0
ファイル: MOC.cs プロジェクト: snosrap/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");
 }
コード例 #4
0
ファイル: DDI.cs プロジェクト: snosrap/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
 ///<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");
 }
コード例 #6
0
ファイル: CP.cs プロジェクト: snosrap/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");
 }
コード例 #7
0
ファイル: UVC.cs プロジェクト: RickIsWright/NHapi-Source-Code
 ///<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");
 }
コード例 #8
0
ファイル: MOC.cs プロジェクト: hongweichang/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");
 }