Class CostSequence
CostSequence
Inheritance
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class CostSequence : IEquatable<CostSequence>, IValidatableObject
Constructors
| Improve this Doc View SourceCostSequence()
Initializes a new instance of the CostSequence class.
Declaration
protected CostSequence()
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 SourceAccountingReason
(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) |
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 |
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 |
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 SourceEquals(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 |
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 |