コード例 #1
0
ファイル: Billing.cs プロジェクト: rubitek/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID for this transaction. The application that owns this object is responsible for generating this unique ID.</param>
 ///<param name="billedEntity">A BilledEntity</param>
 ///<param name="entityId">ID of the entity being billed for this billing activity (e.g. student ID, employee ID, organization, etc.)</param>
 ///<param name="billingDate">Date of the transaction.</param>
 ///<param name="transactionDescription">Description of the transaction.</param>
 ///<param name="billedAmount">Amount to be billed.</param>
 ///
 public Billing(string refId, BilledEntity billedEntity, string entityId, DateTime?billingDate, string transactionDescription, MonetaryAmount billedAmount) : base(Adk.SifVersion, HrfinDTD.BILLING)
 {
     this.RefId                  = refId;
     this.BilledEntity           = billedEntity;
     this.EntityId               = entityId;
     this.BillingDate            = billingDate;
     this.TransactionDescription = transactionDescription;
     this.BilledAmount           = billedAmount;
 }
コード例 #2
0
ファイル: Billing.cs プロジェクト: rafidzal/OpenADK-csharp
 /// <summary>
 /// Constructor that accepts values for all mandatory fields
 /// </summary>
 ///<param name="refId">GUID for this transaction. The application that owns this object is responsible for generating this unique ID.</param>
 ///<param name="billedEntity">A BilledEntity</param>
 ///<param name="entityId">ID of the entity being billed for this billing activity (e.g. student ID, employee ID, organization, etc.)</param>
 ///<param name="billingDate">Date of the transaction.</param>
 ///<param name="transactionDescription">Description of the transaction.</param>
 ///<param name="billedAmount">Amount to be billed.</param>
 ///
 public Billing( string refId, BilledEntity billedEntity, string entityId, DateTime? billingDate, string transactionDescription, MonetaryAmount billedAmount )
     : base(Adk.SifVersion, HrfinDTD.BILLING)
 {
     this.RefId = refId;
     this.BilledEntity = billedEntity;
     this.EntityId = entityId;
     this.BillingDate = billingDate;
     this.TransactionDescription = transactionDescription;
     this.BilledAmount = billedAmount;
 }