Class DatevDueInDays
DatevDueInDays
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevDueInDays : IEquatable<DatevDueInDays>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevDueInDays(Nullable<Int32>, Nullable<Int32>, Nullable<Int32>)
Initializes a new instance of the DatevDueInDays class.
Declaration
public DatevDueInDays(int? cashDiscount1Days = null, int? cashDiscount2Days = null, int? dueInDays = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Int32> | cashDiscount1Days | (Fälligkeitstage für Skonto 1) Due period in days for cash discount 1. |
System.Nullable<System.Int32> | cashDiscount2Days | (Fälligkeitstage für Skonto 2) Due period in days for cash discount 2, have to be greater than "cash_discount1_days" (if cash discount percentage is specified when cash discount 2 is used). |
System.Nullable<System.Int32> | dueInDays | (Fälligkeitstage für Skonto 3) Due period in days without discount, have to be greater than "cash_discount1_days" or "cash_discount2_days". |
Properties
| Improve this Doc View SourceCashDiscount1Days
(Fälligkeitstage für Skonto 1) Due period in days for cash discount 1
Declaration
[DataMember(Name = "cash_discount1_days", EmitDefaultValue = false)]
public int? CashDiscount1Days { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Fälligkeitstage für Skonto 1) Due period in days for cash discount 1 |
CashDiscount2Days
(Fälligkeitstage für Skonto 2) Due period in days for cash discount 2, have to be greater than "cash_discount1_days" (if cash discount percentage is specified when cash discount 2 is used)
Declaration
[DataMember(Name = "cash_discount2_days", EmitDefaultValue = false)]
public int? CashDiscount2Days { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Fälligkeitstage für Skonto 2) Due period in days for cash discount 2, have to be greater than "cash_discount1_days" (if cash discount percentage is specified when cash discount 2 is used) |
DueInDays
(Fälligkeitstage für Skonto 3) Due period in days without discount, have to be greater than "cash_discount1_days" or "cash_discount2_days"
Declaration
[DataMember(Name = "due_in_days", EmitDefaultValue = false)]
public int? DueInDays { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Fälligkeitstage für Skonto 3) Due period in days without discount, have to be greater than "cash_discount1_days" or "cash_discount2_days" |
Methods
| Improve this Doc View SourceEquals(DatevDueInDays)
Returns true if DatevDueInDays instances are equal
Declaration
public bool Equals(DatevDueInDays input)
Parameters
Type | Name | Description |
---|---|---|
DatevDueInDays | input | Instance of DatevDueInDays 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 |