Class SupportingDocument
Represents a document / attachment that is included with the invoice
Inheritance
System.Object
SupportingDocument
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()
Namespace: Dangl.AVACloud.Client
Assembly: Dangl.AVACloud.Client.dll
Syntax
public class SupportingDocument : INotifyPropertyChanged
Properties
| Improve this Doc View SourceDescription
A description of the document
Declaration
[JsonProperty("description", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DocumentBase64
The document in base64 encoded form as binary data
Declaration
[JsonProperty("documentBase64", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string DocumentBase64 { get; set; }
Property Value
Type | Description |
---|---|
System.String |
DocumentMimeType
The type of the document
Declaration
[JsonProperty("documentMimeType", Required = Required.DisallowNull, NullValueHandling = NullValueHandling.Ignore)]
[Required(AllowEmptyStrings = true)]
[JsonConverter(typeof(StringEnumConverter))]
public AttachmentMimeType DocumentMimeType { get; set; }
Property Value
Type | Description |
---|---|
AttachmentMimeType |
DocumentReference
This is typically an id or a name
Declaration
[JsonProperty("documentReference", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string DocumentReference { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ExternalDocumentUrl
A link to the document in case this is an external reference
Declaration
[JsonProperty("externalDocumentUrl", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string ExternalDocumentUrl { get; set; }
Property Value
Type | Description |
---|---|
System.String |
FileName
This should be present if DocumentBase64 is set.
Declaration
[JsonProperty("fileName", Required = Required.Default, NullValueHandling = NullValueHandling.Ignore)]
public string FileName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceFromJson(String)
Declaration
public static SupportingDocument FromJson(string data)
Parameters
Type | Name | Description |
---|---|---|
System.String | data |
Returns
Type | Description |
---|---|
SupportingDocument |
RaisePropertyChanged(String)
Declaration
protected virtual void RaisePropertyChanged(string propertyName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName |
ToJson()
Declaration
public string ToJson()
Returns
Type | Description |
---|---|
System.String |
Events
| Improve this Doc View SourcePropertyChanged
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.ComponentModel.INotifyPropertyChanged