コード例 #1
0
ファイル: CM_MOC.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a CM_MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MOC(Message message, string description)
     : base(message, description)
 {
     data = new Type[2];
     data[0] = new MO(message,"Dollar amount");
     data[1] = new CE(message,"Charge code");
 }
コード例 #2
0
ファイル: CP.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a CP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CP(Message message, string description) : base(message, description)
 {
     data    = new Type[6];
     data[0] = new MO(message, "Price");
     data[1] = new ID(message, 0, "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, 0, "Range type");
 }
コード例 #3
0
ファイル: CP.cs プロジェクト: snosrap/nhapi
 ///<summary>
 /// Creates a CP.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CP(Message message, string description)
     : base(message, description)
 {
     data = new Type[6];
     data[0] = new MO(message,"Price");
     data[1] = new ID(message, 0,"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, 0,"Range type");
 }
コード例 #4
0
ファイル: CM_MOC.cs プロジェクト: henriquetomaz/nhapi-1
 ///<summary>
 /// Creates a CM_MOC.
 /// <param name="message">The Message to which this Type belongs</param>
 ///</summary>
 public CM_MOC(Message message, string description) : base(message, description)
 {
     data    = new Type[2];
     data[0] = new MO(message, "Dollar amount");
     data[1] = new CE(message, "Charge code");
 }