Exemplo n.º 1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="APSUser"/> class.
 /// </summary>
 /// <param name="StatementId">Statement identifier.</param>
 /// <param name="StatementCommonFields">Common field for all statements.</param>
 /// <param name="StatementType">Identifies the what type for statements this is</param>
 /// <param name="SpecificFields">Specific Fields allocated to statement based on  statement type</param>
 /// <exception cref="System.ArgumentNullException"></exception>
 public Statement(StatementId statementId, StatementCommonFields statementCommonFields, StatementType statementType, StatementSpecificFields statementSpecificFields, APSUser apsuser, BillingAccount billingAccount)
 {
     if (statementId != null && statementCommonFields != null && statementType != null && statementSpecificFields != null && apsuser != null && billingAccount != null)
     {
         this._statementId             = statementId;
         this._statementCommonFields   = statementCommonFields;
         this._statementType           = statementType;
         this._statementSpecificFields = statementSpecificFields;
         this._apsuser        = apsuser;
         this._billingAccount = billingAccount;
     }
     else
     {
         throw new ArgumentNullException();
     }
 }
Exemplo n.º 2
0
 public bool SameValueAs(StatementCommonFields other)
 {
     return(true);
 }