Search Results for

    Show / Hide Table of Contents

    Class CostSequence

    CostSequence

    Inheritance
    System.Object
    CostSequence
    Implements
    System.IEquatable<CostSequence>
    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 CostSequence : IEquatable<CostSequence>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    CostSequence()

    Initializes a new instance of the CostSequence class.

    Declaration
    protected CostSequence()
    | Improve this Doc View Source

    CostSequence(String, Nullable<CostSequence.AccountingReasonEnum>, String, Nullable<Int32>)

    Initializes a new instance of the CostSequence class.

    Declaration
    public CostSequence(string id = null, CostSequence.AccountingReasonEnum? accountingReason = CostSequence.AccountingReasonEnum.Independentfromaccountingreason, string description = null, int? month = null)
    Parameters
    Type Name Description
    System.String id

    (Nummer) Number of the cost sequence (required).

    System.Nullable<CostSequence.AccountingReasonEnum> accountingReason

    (Rechnungslegungszweck) Accounting reason (independent from accounting reason, reserved 1, reserved 2, commercial law, tax law, international accounting standards, for calculation) (default to AccountingReasonEnum.Independentfromaccountingreason).

    System.String description

    (Stapelname) Cost sequence name, longer values will be truncated when using PUT.

    System.Nullable<System.Int32> month

    (Monat) Month of bookings (JAN-DEZ = 1 - 12 or 13: If a fiscal year does not start on the 1st of the month (e.g. on 15.03.YYYY) then values for a 13th month can occur. These values the occur from the last posted period) (required).

    Properties

    | Improve this Doc View Source

    AccountingReason

    (Rechnungslegungszweck) Accounting reason (independent from accounting reason, reserved 1, reserved 2, commercial law, tax law, international accounting standards, for calculation)

    Declaration
    [DataMember(Name = "accounting_reason", EmitDefaultValue = false)]
    public CostSequence.AccountingReasonEnum? AccountingReason { get; set; }
    Property Value
    Type Description
    System.Nullable<CostSequence.AccountingReasonEnum>

    (Rechnungslegungszweck) Accounting reason (independent from accounting reason, reserved 1, reserved 2, commercial law, tax law, international accounting standards, for calculation)

    | Improve this Doc View Source

    Description

    (Stapelname) Cost sequence name, longer values will be truncated when using PUT

    Declaration
    [DataMember(Name = "description", EmitDefaultValue = false)]
    public string Description { get; set; }
    Property Value
    Type Description
    System.String

    (Stapelname) Cost sequence name, longer values will be truncated when using PUT

    | Improve this Doc View Source

    Id

    (Nummer) Number of the cost sequence

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    (Nummer) Number of the cost sequence

    | Improve this Doc View Source

    Month

    (Monat) Month of bookings (JAN-DEZ = 1 - 12 or 13: If a fiscal year does not start on the 1st of the month (e.g. on 15.03.YYYY) then values for a 13th month can occur. These values the occur from the last posted period)

    Declaration
    [DataMember(Name = "month", EmitDefaultValue = false)]
    public int? Month { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Monat) Month of bookings (JAN-DEZ = 1 - 12 or 13: If a fiscal year does not start on the 1st of the month (e.g. on 15.03.YYYY) then values for a 13th month can occur. These values the occur from the last posted period)

    Methods

    | Improve this Doc View Source

    Equals(CostSequence)

    Returns true if CostSequence instances are equal

    Declaration
    public bool Equals(CostSequence input)
    Parameters
    Type Name Description
    CostSequence input

    Instance of CostSequence 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