Search Results for

    Show / Hide Table of Contents

    Class DatevDueInDays

    DatevDueInDays

    Inheritance
    System.Object
    DatevDueInDays
    Implements
    System.IEquatable<DatevDueInDays>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Datev.Swagger.Model
    Assembly: Simplic.Datev.IO.Swagger.dll
    Syntax
    [DataContract]
    public class DatevDueInDays : IEquatable<DatevDueInDays>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    DatevDueInDays(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 &quot;cash_discount1_days&quot; (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 &quot;cash_discount1_days&quot; or &quot;cash_discount2_days&quot;.

    Properties

    | Improve this Doc View Source

    CashDiscount1Days

    (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

    | Improve this Doc View Source

    CashDiscount2Days

    (Fälligkeitstage für Skonto 2) Due period in days for cash discount 2, have to be greater than &quot;cash_discount1_days&quot; (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 &quot;cash_discount1_days&quot; (if cash discount percentage is specified when cash discount 2 is used)

    | Improve this Doc View Source

    DueInDays

    (Fälligkeitstage für Skonto 3) Due period in days without discount, have to be greater than &quot;cash_discount1_days&quot; or &quot;cash_discount2_days&quot;

    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 &quot;cash_discount1_days&quot; or &quot;cash_discount2_days&quot;

    Methods

    | Improve this Doc View Source

    Equals(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

    | Improve this Doc View Source

    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
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.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

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx