Class DatevPeriod
DatevPeriod
Inheritance
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevPeriod : IEquatable<DatevPeriod>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevPeriod()
Initializes a new instance of the DatevPeriod class.
Declaration
protected DatevPeriod()
DatevPeriod(Nullable<Int32>, DatevDueDate, DatevDueDate, DatevDueDate)
Initializes a new instance of the DatevPeriod class.
Declaration
public DatevPeriod(int? invoiceDayOfMonth = null, DatevDueDate dueDateNet = null, DatevDueDate dueDateCashDiscount1 = null, DatevDueDate dueDateCashDiscount2 = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | invoiceDayOfMonth | (Höchst mögliches Rechnungsdatum) Latest possible day of the invoice date for this period (required). |
DatevDueDate | dueDateNet | (Fälligkeitsdatum ohne Abzug) Subordinate object due date without discount (required). |
DatevDueDate | dueDateCashDiscount1 | (Fälligkeitsdatum für Skonto 1) Subordinate object due date for cash discount 1. |
DatevDueDate | dueDateCashDiscount2 | (Fälligkeitsdatum für Skonto 2) Subordinate object due date for cash discount 2. |
Properties
| Improve this Doc View SourceDueDateCashDiscount1
(Fälligkeitsdatum für Skonto 1) Subordinate object due date for cash discount 1
Declaration
[DataMember(Name = "due_date_cash_discount1", EmitDefaultValue = false)]
public DatevDueDate DueDateCashDiscount1 { get; set; }
Property Value
Type | Description |
---|---|
DatevDueDate | (Fälligkeitsdatum für Skonto 1) Subordinate object due date for cash discount 1 |
DueDateCashDiscount2
(Fälligkeitsdatum für Skonto 2) Subordinate object due date for cash discount 2
Declaration
[DataMember(Name = "due_date_cash_discount2", EmitDefaultValue = false)]
public DatevDueDate DueDateCashDiscount2 { get; set; }
Property Value
Type | Description |
---|---|
DatevDueDate | (Fälligkeitsdatum für Skonto 2) Subordinate object due date for cash discount 2 |
DueDateNet
(Fälligkeitsdatum ohne Abzug) Subordinate object due date without discount
Declaration
[DataMember(Name = "due_date_net", EmitDefaultValue = false)]
public DatevDueDate DueDateNet { get; set; }
Property Value
Type | Description |
---|---|
DatevDueDate | (Fälligkeitsdatum ohne Abzug) Subordinate object due date without discount |
InvoiceDayOfMonth
(Höchst mögliches Rechnungsdatum) Latest possible day of the invoice date for this period
Declaration
[DataMember(Name = "invoice_day_of_month", EmitDefaultValue = false)]
public int? InvoiceDayOfMonth { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Höchst mögliches Rechnungsdatum) Latest possible day of the invoice date for this period |
Methods
| Improve this Doc View SourceEquals(DatevPeriod)
Returns true if DatevPeriod instances are equal
Declaration
public bool Equals(DatevPeriod input)
Parameters
Type | Name | Description |
---|---|---|
DatevPeriod | input | Instance of DatevPeriod 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 |