public CreditNoteType()
 {
     this._creditNoteLine                 = new List <CreditNoteLineType>();
     this._legalMonetaryTotal             = new MonetaryTotalType();
     this._taxTotal                       = new List <TaxTotalType>();
     this._allowanceCharge                = new List <AllowanceChargeType>();
     this._paymentAlternativeExchangeRate = new ExchangeRateType();
     this._paymentExchangeRate            = new ExchangeRateType();
     this._pricingExchangeRate            = new ExchangeRateType();
     this._taxExchangeRate                = new ExchangeRateType();
     this._paymentTerms                   = new List <PaymentTermsType>();
     this._paymentMeans                   = new List <PaymentMeansType>();
     this._deliveryTerms                  = new List <DeliveryTermsType>();
     this._delivery                       = new List <DeliveryType>();
     this._taxRepresentativeParty         = new PartyType();
     this._sellerSupplierParty            = new SupplierPartyType();
     this._buyerCustomerParty             = new CustomerPartyType();
     this._payeeParty                     = new PartyType();
     this._accountingCustomerParty        = new CustomerPartyType();
     this._accountingSupplierParty        = new SupplierPartyType();
     this._signature                      = new List <SignatureType>();
     this._originatorDocumentReference    = new List <DocumentReferenceType>();
     this._statementDocumentReference     = new List <DocumentReferenceType>();
     this._additionalDocumentReference    = new List <DocumentReferenceType>();
     this._contractDocumentReference      = new List <DocumentReferenceType>();
     this._receiptDocumentReference       = new List <DocumentReferenceType>();
     this._despatchDocumentReference      = new List <DocumentReferenceType>();
     this._billingReference               = new List <BillingReferenceType>();
     this._orderReference                 = new OrderReferenceType();
     this._discrepancyResponse            = new List <ResponseType>();
     this._invoicePeriod                  = new List <PeriodType>();
     this._buyerReference                 = new BuyerReferenceType();
     this._lineCountNumeric               = new LineCountNumericType();
     this._accountingCost                 = new AccountingCostType();
     this._accountingCostCode             = new AccountingCostCodeType();
     this._paymentAlternativeCurrencyCode = new PaymentAlternativeCurrencyCodeType();
     this._paymentCurrencyCode            = new PaymentCurrencyCodeType();
     this._pricingCurrencyCode            = new PricingCurrencyCodeType();
     this._taxCurrencyCode                = new TaxCurrencyCodeType();
     this._documentCurrencyCode           = new DocumentCurrencyCodeType();
     this._note = new List <NoteType>();
     this._creditNoteTypeCode = new CreditNoteTypeCodeType();
     this._taxPointDate       = new TaxPointDateType();
     this._issueTime          = new IssueTimeType();
     this._issueDate          = new IssueDateType();
     this._uUID               = new UUIDType();
     this._copyIndicator      = new CopyIndicatorType();
     this._id                 = new IDType();
     this._profileExecutionID = new ProfileExecutionIDType();
     this._profileID          = new ProfileIDType();
     this._customizationID    = new CustomizationIDType();
     this._uBLVersionID       = new UBLVersionIDType();
     this._uBLExtensions      = new List <UBLExtensionType>();
 }
 public CreditNoteType() {
     this.creditNoteLineField = new ObservableCollection<CreditNoteLineType>();
     this.legalMonetaryTotalField = new MonetaryTotalType();
     this.taxTotalField = new ObservableCollection<TaxTotalType>();
     this.allowanceChargeField = new ObservableCollection<AllowanceChargeType>();
     this.paymentAlternativeExchangeRateField = new ExchangeRateType();
     this.paymentExchangeRateField = new ExchangeRateType();
     this.pricingExchangeRateField = new ExchangeRateType();
     this.taxExchangeRateField = new ExchangeRateType();
     this.paymentTermsField = new ObservableCollection<PaymentTermsType>();
     this.paymentMeansField = new ObservableCollection<PaymentMeansType>();
     this.deliveryTermsField = new ObservableCollection<DeliveryTermsType>();
     this.deliveryField = new ObservableCollection<DeliveryType>();
     this.taxRepresentativePartyField = new PartyType();
     this.sellerSupplierPartyField = new SupplierPartyType();
     this.buyerCustomerPartyField = new CustomerPartyType();
     this.payeePartyField = new PartyType();
     this.accountingCustomerPartyField = new CustomerPartyType();
     this.accountingSupplierPartyField = new SupplierPartyType();
     this.signatureField = new ObservableCollection<SignatureType>();
     this.originatorDocumentReferenceField = new ObservableCollection<DocumentReferenceType>();
     this.statementDocumentReferenceField = new ObservableCollection<DocumentReferenceType>();
     this.additionalDocumentReferenceField = new ObservableCollection<DocumentReferenceType>();
     this.contractDocumentReferenceField = new ObservableCollection<DocumentReferenceType>();
     this.receiptDocumentReferenceField = new ObservableCollection<DocumentReferenceType>();
     this.despatchDocumentReferenceField = new ObservableCollection<DocumentReferenceType>();
     this.billingReferenceField = new ObservableCollection<BillingReferenceType>();
     this.orderReferenceField = new OrderReferenceType();
     this.discrepancyResponseField = new ObservableCollection<ResponseType>();
     this.invoicePeriodField = new ObservableCollection<PeriodType>();
     this.buyerReferenceField = new BuyerReferenceType();
     this.lineCountNumericField = new LineCountNumericType();
     this.accountingCostField = new AccountingCostType();
     this.accountingCostCodeField = new AccountingCostCodeType();
     this.paymentAlternativeCurrencyCodeField = new PaymentAlternativeCurrencyCodeType();
     this.paymentCurrencyCodeField = new PaymentCurrencyCodeType();
     this.pricingCurrencyCodeField = new PricingCurrencyCodeType();
     this.taxCurrencyCodeField = new TaxCurrencyCodeType();
     this.documentCurrencyCodeField = new DocumentCurrencyCodeType();
     this.noteField = new ObservableCollection<NoteType>();
     this.creditNoteTypeCodeField = new CreditNoteTypeCodeType();
     this.taxPointDateField = new TaxPointDateType();
     this.issueTimeField = new IssueTimeType();
     this.issueDateField = new IssueDateType();
     this.uUIDField = new UUIDType();
     this.copyIndicatorField = new CopyIndicatorType();
     this.idField = new IDType();
     this.profileExecutionIDField = new ProfileExecutionIDType();
     this.profileIDField = new ProfileIDType();
     this.customizationIDField = new CustomizationIDType();
     this.uBLVersionIDField = new UBLVersionIDType();
     this.uBLExtensionsField = new ObservableCollection<UBLExtensionType>();
 }