Search Results for

    Show / Hide Table of Contents

    Class CostCenter

    CostCenter

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

    Constructors

    | Improve this Doc View Source

    CostCenter(String, List<DatevCostCenterProperty>, List<DatevCostRate>, Nullable<DateTime>, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>, String, String)

    Initializes a new instance of the CostCenter class.

    Declaration
    public CostCenter(string id = null, List<DatevCostCenterProperty> properties = null, List<DatevCostRate> costRates = null, DateTime? creationDate = null, string email = null, string longName = null, string note = null, string shortName = null, DateTime? postableFrom = null, DateTime? postableTo = null, string referenceValue = null, string responsible = null)
    Parameters
    Type Name Description
    System.String id

    ID of the cost center(s)/unit(s), alphanumeric without special characters and umlauts, is a mandatory field with PUT and must be completed with the number of the cost center/unit.

    System.Collections.Generic.List<DatevCostCenterProperty> properties

    (Kostenstelleneigenschaften) Cost center properties.

    System.Collections.Generic.List<DatevCostRate> costRates

    (Kostensätze) Cost rates.

    System.Nullable<System.DateTime> creationDate

    (Angelegt am) Created on, not filled by PUT.

    System.String email

    (E-Mail-Adresse) E-mail address of the person responsible for the cost center.

    System.String longName

    (Langbezeichnung) Long name, longer values will be truncated when using PUT.

    System.String note

    (Notizfeld) Field for notes.

    System.String shortName

    (Kurzbezeichnung) Short name, longer values will be truncated when using PUT.

    System.Nullable<System.DateTime> postableFrom

    (Bebuchbar ab Monat) Postable from, month.

    System.Nullable<System.DateTime> postableTo

    (Bebuchbar bis Monat) Postable to, month.

    System.String referenceValue

    (Bezugsgröße) Reference value.

    System.String responsible

    (Verantwortlicher) Person responsible, longer values will be truncated when using PUT.

    Properties

    | Improve this Doc View Source

    CostRates

    (Kostensätze) Cost rates

    Declaration
    [DataMember(Name = "cost_rates", EmitDefaultValue = false)]
    public List<DatevCostRate> CostRates { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DatevCostRate>

    (Kostensätze) Cost rates

    | Improve this Doc View Source

    CreationDate

    (Angelegt am) Created on, not filled by PUT

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

    (Angelegt am) Created on, not filled by PUT

    | Improve this Doc View Source

    DateLastModification

    (Geändert am) Modified on, not filled by PUT

    Declaration
    [DataMember(Name = "date_last_modification", EmitDefaultValue = false)]
    public DateTime? DateLastModification { get; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    (Geändert am) Modified on, not filled by PUT

    | Improve this Doc View Source

    Email

    (E-Mail-Adresse) E-mail address of the person responsible for the cost center

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

    (E-Mail-Adresse) E-mail address of the person responsible for the cost center

    | Improve this Doc View Source

    Id

    ID of the cost center(s)/unit(s), alphanumeric without special characters and umlauts, is a mandatory field with PUT and must be completed with the number of the cost center/unit

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

    ID of the cost center(s)/unit(s), alphanumeric without special characters and umlauts, is a mandatory field with PUT and must be completed with the number of the cost center/unit

    | Improve this Doc View Source

    LongName

    (Langbezeichnung) Long name, longer values will be truncated when using PUT

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

    (Langbezeichnung) Long name, longer values will be truncated when using PUT

    | Improve this Doc View Source

    Note

    (Notizfeld) Field for notes

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

    (Notizfeld) Field for notes

    | Improve this Doc View Source

    PostableFrom

    (Bebuchbar ab Monat) Postable from, month

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

    (Bebuchbar ab Monat) Postable from, month

    | Improve this Doc View Source

    PostableTo

    (Bebuchbar bis Monat) Postable to, month

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

    (Bebuchbar bis Monat) Postable to, month

    | Improve this Doc View Source

    Properties

    (Kostenstelleneigenschaften) Cost center properties

    Declaration
    [DataMember(Name = "properties", EmitDefaultValue = false)]
    public List<DatevCostCenterProperty> Properties { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DatevCostCenterProperty>

    (Kostenstelleneigenschaften) Cost center properties

    | Improve this Doc View Source

    ReferenceValue

    (Bezugsgröße) Reference value

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

    (Bezugsgröße) Reference value

    | Improve this Doc View Source

    Responsible

    (Verantwortlicher) Person responsible, longer values will be truncated when using PUT

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

    (Verantwortlicher) Person responsible, longer values will be truncated when using PUT

    | Improve this Doc View Source

    ShortName

    (Kurzbezeichnung) Short name, longer values will be truncated when using PUT

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

    (Kurzbezeichnung) Short name, longer values will be truncated when using PUT

    Methods

    | Improve this Doc View Source

    Equals(CostCenter)

    Returns true if CostCenter instances are equal

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

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