예제 #1
0
 public void AddCoverSection(PaymentCoverSection paymentCoverSection)
 {
     // Make it clear that a Cover Section can only appear once
     if (_additionalPaymentCoverSectionContainer.Contains(paymentCoverSection))
     {
         throw new ArgumentException(String.Format("The Cover Section Collection already contains a Cover Section with Code \"{0}\"", paymentCoverSection.Code));
     }
     else
     {
         _additionalPaymentCoverSectionContainer.Add(paymentCoverSection);
     }
 }
예제 #2
0
 public PaymentSchemeResult(string schemeCode, PaymentCoverSection primaryPaymentCoverSection)
 {
     _schemeCode = schemeCode;
     _primaryPaymentCoverSection = primaryPaymentCoverSection;
 }