Search Results for

    Show / Hide Table of Contents

    Class CostSystem

    CostSystem

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

    Constructors

    | Improve this Doc View Source

    CostSystem(String, String, Nullable<Boolean>, String, Nullable<Decimal>)

    Initializes a new instance of the CostSystem class.

    Declaration
    public CostSystem(string id = null, string shortName = null, bool? isActivatedForPostings = null, string costField = null, decimal? number = null)
    Parameters
    Type Name Description
    System.String id

    ID of the cost system.

    System.String shortName

    (Kurzbezeichnung) Short name.

    System.Nullable<System.Boolean> isActivatedForPostings

    (Buchungsunterstützung) Posting assistance.

    System.String costField

    (Zugeordnetes KOST-Feld) Associated codt field.

    System.Nullable<System.Decimal> number

    (Nummer) Cost system number, maximum length 1.

    Properties

    | Improve this Doc View Source

    CostField

    (Zugeordnetes KOST-Feld) Associated codt field

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

    (Zugeordnetes KOST-Feld) Associated codt field

    | Improve this Doc View Source

    Id

    ID of the cost system

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

    ID of the cost system

    | Improve this Doc View Source

    IsActivatedForPostings

    (Buchungsunterstützung) Posting assistance

    Declaration
    [DataMember(Name = "is_activated_for_postings", EmitDefaultValue = false)]
    public bool? IsActivatedForPostings { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    (Buchungsunterstützung) Posting assistance

    | Improve this Doc View Source

    Number

    (Nummer) Cost system number, maximum length 1

    Declaration
    [DataMember(Name = "number", EmitDefaultValue = false)]
    public decimal? Number { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Decimal>

    (Nummer) Cost system number, maximum length 1

    | Improve this Doc View Source

    ShortName

    (Kurzbezeichnung) Short name

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

    (Kurzbezeichnung) Short name

    Methods

    | Improve this Doc View Source

    Equals(CostSystem)

    Returns true if CostSystem instances are equal

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

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