Class DatevDueDate
DatevDueDate
Inheritance
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevDueDate : IEquatable<DatevDueDate>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevDueDate()
Initializes a new instance of the DatevDueDate class.
Declaration
protected DatevDueDate()
DatevDueDate(DatevDueDate.RelatedMonthEnum, Nullable<Int32>)
Initializes a new instance of the DatevDueDate class.
Declaration
public DatevDueDate(DatevDueDate.RelatedMonthEnum relatedMonth = (DatevDueDate.RelatedMonthEnum)0, int? dayOfMonth = null)
Parameters
Type | Name | Description |
---|---|---|
DatevDueDate.RelatedMonthEnum | relatedMonth | (Relativer Monat der Fälligkeit) Relative month of the due date depending on the invoice date (current month, next month, month after next) (required). |
System.Nullable<System.Int32> | dayOfMonth | (Tagesangabe der Fälligkeit) Day of month within the related month "related_month" (required). |
Properties
| Improve this Doc View SourceDayOfMonth
(Tagesangabe der Fälligkeit) Day of month within the related month "related_month"
Declaration
[DataMember(Name = "day_of_month", EmitDefaultValue = false)]
public int? DayOfMonth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Tagesangabe der Fälligkeit) Day of month within the related month "related_month" |
RelatedMonth
(Relativer Monat der Fälligkeit) Relative month of the due date depending on the invoice date (current month, next month, month after next)
Declaration
[DataMember(Name = "related_month", EmitDefaultValue = false)]
public DatevDueDate.RelatedMonthEnum RelatedMonth { get; set; }
Property Value
Type | Description |
---|---|
DatevDueDate.RelatedMonthEnum | (Relativer Monat der Fälligkeit) Relative month of the due date depending on the invoice date (current month, next month, month after next) |
Methods
| Improve this Doc View SourceEquals(DatevDueDate)
Returns true if DatevDueDate instances are equal
Declaration
public bool Equals(DatevDueDate input)
Parameters
Type | Name | Description |
---|---|---|
DatevDueDate | input | Instance of DatevDueDate to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Equals(Object)
Returns true if objects are equal
Declaration
public override bool Equals(object input)
Parameters
Type | Name | Description |
---|---|---|
System.Object | input | Object to be compared |
Returns
Type | Description |
---|---|
System.Boolean | Boolean |
Overrides
GetHashCode()
Gets the hash code
Declaration
public override int GetHashCode()
Returns
Type | Description |
---|---|
System.Int32 | Hash code |
Overrides
ToJson()
Returns the JSON string presentation of the object
Declaration
public virtual string ToJson()
Returns
Type | Description |
---|---|
System.String | JSON string presentation of the object |
ToString()
Returns the string presentation of the object
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | String presentation of the object |
Overrides
Explicit Interface Implementations
| Improve this Doc View SourceIValidatableObject.Validate(ValidationContext)
To validate all properties of the instance
Declaration
IEnumerable<ValidationResult> IValidatableObject.Validate(ValidationContext validationContext)
Parameters
Type | Name | Description |
---|---|---|
System.ComponentModel.DataAnnotations.ValidationContext | validationContext | Validation context |
Returns
Type | Description |
---|---|
System.Collections.Generic.IEnumerable<System.ComponentModel.DataAnnotations.ValidationResult> | Validation Result |