Class AvaProjectWrapper
This is a wrapper class that maps Dangl.AVA projects along
with additional required information to create invoices
Inheritance
System.Object
AvaProjectWrapper
Implements
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class AvaProjectWrapper : INotifyPropertyChanged
Properties
|
Improve this Doc
View Source
AlreadyPaidTotalGross
If parts of this invoice (or of previous invoices) have already been paid,
then this property can be used to specify that some parts of the invoice
are already paid and this will be deducted from the to be paid amount.
Declaration
[JsonProperty("alreadyPaidTotalGross", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
public decimal AlreadyPaidTotalGross { get; set; }
Property Value
Type |
Description |
System.Decimal |
|
|
Improve this Doc
View Source
Documents
Attached documents to the invoice
Declaration
[JsonProperty("documents", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<SupportingDocument> Documents { get; set; }
Property Value
|
Improve this Doc
View Source
InvoiceNumber
The number of the invoice
Declaration
[JsonProperty("invoiceNumber", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string InvoiceNumber { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
InvoicePeriod
The period during which the services or goods were delivered
Declaration
[JsonProperty("invoicePeriod", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public InvoicePeriod InvoicePeriod { get; set; }
Property Value
|
Improve this Doc
View Source
InvoiceType
Declaration
[JsonProperty("invoiceType", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public InvoiceType InvoiceType { get; set; }
Property Value
|
Improve this Doc
View Source
PaymentDueDate
Until when the payment is due
Declaration
[JsonProperty("paymentDueDate", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public DateTime? PaymentDueDate { get; set; }
Property Value
Type |
Description |
System.Nullable<System.DateTime> |
|
|
Improve this Doc
View Source
PaymentInstructions
Instructions how to perform the payment
Declaration
[JsonProperty("paymentInstructions", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public PaymentInstructions PaymentInstructions { get; set; }
Property Value
|
Improve this Doc
View Source
PaymentTerms
A text description of payment terms, e.g. cash discounts or payment conditions
Declaration
[JsonProperty("paymentTerms", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string PaymentTerms { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Improve this Doc
View Source
PreviousInvoices
In case of partial of final invoices, it's possible to reference the previous invoice numbers
Declaration
[JsonProperty("previousInvoices", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public ObservableCollection<PreviousInvoice> PreviousInvoices { get; set; }
Property Value
Type |
Description |
System.Collections.ObjectModel.ObservableCollection<PreviousInvoice> |
|
|
Improve this Doc
View Source
Project
The Dangl.AVA.Project from which to convert
Declaration
[JsonProperty("project", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Required]
public ProjectDto Project { get; set; }
Property Value
Type |
Description |
Dangl.AVA.IO.Dto.v1.ProjectDto |
|
|
Improve this Doc
View Source
References
An object holding reference used in this invoice
Declaration
[JsonProperty("references", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public References References { get; set; }
Property Value
Methods
|
Improve this Doc
View Source
FromJson(String)
Declaration
public static AvaProjectWrapper FromJson(string data)
Parameters
Type |
Name |
Description |
System.String |
data |
|
Returns
|
Improve this Doc
View Source
RaisePropertyChanged(String)
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type |
Name |
Description |
System.String |
propertyName |
|
|
Improve this Doc
View Source
ToJson()
Declaration
Returns
Type |
Description |
System.String |
|
Events
|
Improve this Doc
View Source
PropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type |
Description |
System.ComponentModel.PropertyChangedEventHandler |
|
Implements
System.ComponentModel.INotifyPropertyChanged