Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="Project" /> class.
 /// </summary>
 /// <param name="activityHistory">activityHistory.</param>
 /// <param name="approvalDetails">approvalDetails.</param>
 /// <param name="assets">assets.</param>
 /// <param name="attributes">attributes.</param>
 /// <param name="balances">balances.</param>
 /// <param name="billingAndAllocationSettings">billingAndAllocationSettings.</param>
 /// <param name="billToSettings">billToSettings.</param>
 /// <param name="customer">customer.</param>
 /// <param name="description">description.</param>
 /// <param name="employees">employees.</param>
 /// <param name="equipments">equipments.</param>
 /// <param name="expenses">expenses.</param>
 /// <param name="externalRefNbr">externalRefNbr.</param>
 /// <param name="gLAccounts">gLAccounts.</param>
 /// <param name="hold">hold.</param>
 /// <param name="income">income.</param>
 /// <param name="invoices">invoices.</param>
 /// <param name="lastModifiedDateTime">lastModifiedDateTime.</param>
 /// <param name="liabilities">liabilities.</param>
 /// <param name="projectID">projectID.</param>
 /// <param name="projectProperties">projectProperties.</param>
 /// <param name="projectTemplateID">projectTemplateID.</param>
 /// <param name="status">status.</param>
 /// <param name="unionLocals">unionLocals.</param>
 /// <param name="visibilitySettings">visibilitySettings.</param>
 public Project(List <ProjectActivity> activityHistory = default(List <ProjectActivity>), List <Approval> approvalDetails = default(List <Approval>), DecimalValue assets = default(DecimalValue), List <AttributeValue> attributes = default(List <AttributeValue>), List <ProjectBalance> balances = default(List <ProjectBalance>), ProjectBillingAndAllocationSettings billingAndAllocationSettings = default(ProjectBillingAndAllocationSettings), BillToSettings billToSettings = default(BillToSettings), StringValue customer = default(StringValue), StringValue description = default(StringValue), List <ProjectEmployee> employees = default(List <ProjectEmployee>), List <ProjectEquipment> equipments = default(List <ProjectEquipment>), DecimalValue expenses = default(DecimalValue), StringValue externalRefNbr = default(StringValue), ProjectGLAccount gLAccounts = default(ProjectGLAccount), BooleanValue hold = default(BooleanValue), DecimalValue income = default(DecimalValue), List <ProjectProFormaDetails> invoices = default(List <ProjectProFormaDetails>), DateTimeValue lastModifiedDateTime = default(DateTimeValue), DecimalValue liabilities = default(DecimalValue), StringValue projectID = default(StringValue), ProjectProperties projectProperties = default(ProjectProperties), StringValue projectTemplateID = default(StringValue), StringValue status = default(StringValue), List <ProjectUnionLocal> unionLocals = default(List <ProjectUnionLocal>), VisibilitySettings visibilitySettings = default(VisibilitySettings), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files)
 {
     this.ActivityHistory = activityHistory;
     this.ApprovalDetails = approvalDetails;
     this.Assets          = assets;
     this.Attributes      = attributes;
     this.Balances        = balances;
     this.BillingAndAllocationSettings = billingAndAllocationSettings;
     this.BillToSettings       = billToSettings;
     this.Customer             = customer;
     this.Description          = description;
     this.Employees            = employees;
     this.Equipments           = equipments;
     this.Expenses             = expenses;
     this.ExternalRefNbr       = externalRefNbr;
     this.GLAccounts           = gLAccounts;
     this.Hold                 = hold;
     this.Income               = income;
     this.Invoices             = invoices;
     this.LastModifiedDateTime = lastModifiedDateTime;
     this.Liabilities          = liabilities;
     this.ProjectID            = projectID;
     this.ProjectProperties    = projectProperties;
     this.ProjectTemplateID    = projectTemplateID;
     this.Status               = status;
     this.UnionLocals          = unionLocals;
     this.VisibilitySettings   = visibilitySettings;
 }
Beispiel #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="ProFormaInvoice" /> class.
 /// </summary>
 /// <param name="amountDue">amountDue.</param>
 /// <param name="approvalDetails">approvalDetails.</param>
 /// <param name="billingSettings">billingSettings.</param>
 /// <param name="currencyID">currencyID.</param>
 /// <param name="customerID">customerID.</param>
 /// <param name="description">description.</param>
 /// <param name="effectiveDate">effectiveDate.</param>
 /// <param name="externalRefNbr">externalRefNbr.</param>
 /// <param name="financialDetails">financialDetails.</param>
 /// <param name="hold">hold.</param>
 /// <param name="invoiceDate">invoiceDate.</param>
 /// <param name="invoiceTotal">invoiceTotal.</param>
 /// <param name="lastModifiedDateTime">lastModifiedDateTime.</param>
 /// <param name="location">location.</param>
 /// <param name="postPeriod">postPeriod.</param>
 /// <param name="progressBilling">progressBilling.</param>
 /// <param name="progressBillingTotal">progressBillingTotal.</param>
 /// <param name="projectID">projectID.</param>
 /// <param name="refNbr">refNbr.</param>
 /// <param name="retainageTotal">retainageTotal.</param>
 /// <param name="status">status.</param>
 /// <param name="taxDetails">taxDetails.</param>
 /// <param name="taxTotal">taxTotal.</param>
 /// <param name="timeAndMaterial">timeAndMaterial.</param>
 /// <param name="timeAndMaterialTotal">timeAndMaterialTotal.</param>
 public ProFormaInvoice(DecimalValue amountDue = default(DecimalValue), List <Approval> approvalDetails = default(List <Approval>), BillToSettings billingSettings = default(BillToSettings), StringValue currencyID = default(StringValue), StringValue customerID = default(StringValue), StringValue description = default(StringValue), DateTimeValue effectiveDate = default(DateTimeValue), StringValue externalRefNbr = default(StringValue), ProFormaFinancialDetails financialDetails = default(ProFormaFinancialDetails), BooleanValue hold = default(BooleanValue), DateTimeValue invoiceDate = default(DateTimeValue), DecimalValue invoiceTotal = default(DecimalValue), DateTimeValue lastModifiedDateTime = default(DateTimeValue), StringValue location = default(StringValue), StringValue postPeriod = default(StringValue), List <ProgressBilling> progressBilling = default(List <ProgressBilling>), DecimalValue progressBillingTotal = default(DecimalValue), StringValue projectID = default(StringValue), StringValue refNbr = default(StringValue), DecimalValue retainageTotal = default(DecimalValue), StringValue status = default(StringValue), List <ProFormaTaxDetail> taxDetails = default(List <ProFormaTaxDetail>), DecimalValue taxTotal = default(DecimalValue), List <TimeAndMaterial> timeAndMaterial = default(List <TimeAndMaterial>), DecimalValue timeAndMaterialTotal = default(DecimalValue), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files)
 {
     this.AmountDue            = amountDue;
     this.ApprovalDetails      = approvalDetails;
     this.BillingSettings      = billingSettings;
     this.CurrencyID           = currencyID;
     this.CustomerID           = customerID;
     this.Description          = description;
     this.EffectiveDate        = effectiveDate;
     this.ExternalRefNbr       = externalRefNbr;
     this.FinancialDetails     = financialDetails;
     this.Hold                 = hold;
     this.InvoiceDate          = invoiceDate;
     this.InvoiceTotal         = invoiceTotal;
     this.LastModifiedDateTime = lastModifiedDateTime;
     this.Location             = location;
     this.PostPeriod           = postPeriod;
     this.ProgressBilling      = progressBilling;
     this.ProgressBillingTotal = progressBillingTotal;
     this.ProjectID            = projectID;
     this.RefNbr               = refNbr;
     this.RetainageTotal       = retainageTotal;
     this.Status               = status;
     this.TaxDetails           = taxDetails;
     this.TaxTotal             = taxTotal;
     this.TimeAndMaterial      = timeAndMaterial;
     this.TimeAndMaterialTotal = timeAndMaterialTotal;
 }
Beispiel #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SalesInvoice" /> class.
 /// </summary>
 /// <param name="amount">amount.</param>
 /// <param name="applicationsCreditMemo">applicationsCreditMemo.</param>
 /// <param name="applicationsInvoice">applicationsInvoice.</param>
 /// <param name="balance">balance.</param>
 /// <param name="billingSettings">billingSettings.</param>
 /// <param name="cashDiscount">cashDiscount.</param>
 /// <param name="commissions">commissions.</param>
 /// <param name="creditHold">creditHold.</param>
 /// <param name="currency">currency.</param>
 /// <param name="customerID">customerID.</param>
 /// <param name="customerOrder">customerOrder.</param>
 /// <param name="date">date.</param>
 /// <param name="description">description.</param>
 /// <param name="details">details.</param>
 /// <param name="discountDetails">discountDetails.</param>
 /// <param name="dueDate">dueDate.</param>
 /// <param name="financialDetails">financialDetails.</param>
 /// <param name="freightDetails">freightDetails.</param>
 /// <param name="hold">hold.</param>
 /// <param name="project">project.</param>
 /// <param name="referenceNbr">referenceNbr.</param>
 /// <param name="status">status.</param>
 /// <param name="taxDetails">taxDetails.</param>
 /// <param name="totals">totals.</param>
 /// <param name="type">type.</param>
 /// <param name="vATExemptTotal">vATExemptTotal.</param>
 /// <param name="vATTaxableTotal">vATTaxableTotal.</param>
 public SalesInvoice(DecimalValue amount = default(DecimalValue), List <SalesInvoiceApplicationCreditMemo> applicationsCreditMemo = default(List <SalesInvoiceApplicationCreditMemo>), List <SalesInvoiceApplicationInvoice> applicationsInvoice = default(List <SalesInvoiceApplicationInvoice>), DecimalValue balance = default(DecimalValue), BillToSettings billingSettings = default(BillToSettings), DecimalValue cashDiscount = default(DecimalValue), SalesInvoiceCommissions commissions = default(SalesInvoiceCommissions), BooleanValue creditHold = default(BooleanValue), StringValue currency = default(StringValue), StringValue customerID = default(StringValue), StringValue customerOrder = default(StringValue), DateTimeValue date = default(DateTimeValue), StringValue description = default(StringValue), List <SalesInvoiceDetail> details = default(List <SalesInvoiceDetail>), List <SalesInvoiceDiscountDetails> discountDetails = default(List <SalesInvoiceDiscountDetails>), DateTimeValue dueDate = default(DateTimeValue), SalesInvoiceFinancialDetails financialDetails = default(SalesInvoiceFinancialDetails), List <SalesInvoiceFreightDetail> freightDetails = default(List <SalesInvoiceFreightDetail>), BooleanValue hold = default(BooleanValue), StringValue project = default(StringValue), StringValue referenceNbr = default(StringValue), StringValue status = default(StringValue), List <SalesInvoiceTaxDetail> taxDetails = default(List <SalesInvoiceTaxDetail>), SalesInvoiceTotals totals = default(SalesInvoiceTotals), StringValue type = default(StringValue), DecimalValue vATExemptTotal = default(DecimalValue), DecimalValue vATTaxableTotal = default(DecimalValue), Guid?id = default(Guid?), long?rowNumber = default(long?), string note = default(string), Dictionary <string, Dictionary <string, CustomField> > custom = default(Dictionary <string, Dictionary <string, CustomField> >), List <FileLink> files = default(List <FileLink>)) : base(id, rowNumber, note, custom, files)
 {
     this.Amount = amount;
     this.ApplicationsCreditMemo = applicationsCreditMemo;
     this.ApplicationsInvoice    = applicationsInvoice;
     this.Balance          = balance;
     this.BillingSettings  = billingSettings;
     this.CashDiscount     = cashDiscount;
     this.Commissions      = commissions;
     this.CreditHold       = creditHold;
     this.Currency         = currency;
     this.CustomerID       = customerID;
     this.CustomerOrder    = customerOrder;
     this.Date             = date;
     this.Description      = description;
     this.Details          = details;
     this.DiscountDetails  = discountDetails;
     this.DueDate          = dueDate;
     this.FinancialDetails = financialDetails;
     this.FreightDetails   = freightDetails;
     this.Hold             = hold;
     this.Project          = project;
     this.ReferenceNbr     = referenceNbr;
     this.Status           = status;
     this.TaxDetails       = taxDetails;
     this.Totals           = totals;
     this.Type             = type;
     this.VATExemptTotal   = vATExemptTotal;
     this.VATTaxableTotal  = vATTaxableTotal;
 }