Class AccountingSequence
AccountingSequence
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class AccountingSequence : IEquatable<AccountingSequence>, IValidatableObject
Constructors
| Improve this Doc View SourceAccountingSequence()
Initializes a new instance of the AccountingSequence class.
Declaration
protected AccountingSequence()
AccountingSequence(Nullable<AccountingSequence.AccountingReasonEnum>, String, Nullable<DateTime>, Nullable<DateTime>, String, String, Nullable<Boolean>, Nullable<AccountingSequence.RecordTypeEnum>, List<DatevAccountingRecord>)
Initializes a new instance of the AccountingSequence class.
Declaration
public AccountingSequence(AccountingSequence.AccountingReasonEnum? accountingReason = AccountingSequence.AccountingReasonEnum.Independentfromaccountingreason, string applicationInformation = null, DateTime? dateFrom = null, DateTime? dateTo = null, string description = null, string initials = null, bool? isCommitted = null, AccountingSequence.RecordTypeEnum? recordType = AccountingSequence.RecordTypeEnum.Financialaccounting, List<DatevAccountingRecord> accountingRecords = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<AccountingSequence.AccountingReasonEnum> | accountingReason | (Rechnungslegungszweck) Accounting reason (independent from accounting reason, reserved 1, reserved 2, commercial law, tax law, international accounting standards, for calculation). On a POST, when no accounting reason is specified, the accounting reason defalts to independent_from_accounting_reason (default to AccountingReasonEnum.Independentfromaccountingreason). |
System.String | applicationInformation | (Anwendungsinformation) Application information, longer values will be truncated when using POST. |
System.Nullable<System.DateTime> | dateFrom | (Datum von) Date from (required). |
System.Nullable<System.DateTime> | dateTo | (Datum bis) Date to (required). |
System.String | description | (Bezeichnung des Buchungsstapels) Name of the accounting sequence, longer values will be truncated when using POST. |
System.String | initials | (Diktatkürzel) Command initials, longer values will be truncated when using POST. |
System.Nullable<System.Boolean> | isCommitted | (Festschreibekennzeichen) Finalization status flag, required functional field. Indicates if a sequence should be finalized during processing (TRUE = finalization, FALSE = no finalization). When the property "is_committed" is not transferred, the accounting sequence will be finalized automatically.. |
System.Nullable<AccountingSequence.RecordTypeEnum> | recordType | (Buchungstyp) Record type (financial accounting, annual financial statements) (default to RecordTypeEnum.Financialaccounting). |
System.Collections.Generic.List<DatevAccountingRecord> | accountingRecords | (Buchungssätze) List of accounting records in the accounting sequence. |
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). On a POST, when no accounting reason is specified, the accounting reason defalts to independent_from_accounting_reason
Declaration
[DataMember(Name = "accounting_reason", EmitDefaultValue = false)]
public AccountingSequence.AccountingReasonEnum? AccountingReason { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<AccountingSequence.AccountingReasonEnum> | (Rechnungslegungszweck) Accounting reason (independent from accounting reason, reserved 1, reserved 2, commercial law, tax law, international accounting standards, for calculation). On a POST, when no accounting reason is specified, the accounting reason defalts to independent_from_accounting_reason |
AccountingRecords
(Buchungssätze) List of accounting records in the accounting sequence
Declaration
[DataMember(Name = "accounting_records", EmitDefaultValue = false)]
public List<DatevAccountingRecord> AccountingRecords { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.List<DatevAccountingRecord> | (Buchungssätze) List of accounting records in the accounting sequence |
ApplicationInformation
(Anwendungsinformation) Application information, longer values will be truncated when using POST
Declaration
[DataMember(Name = "application_information", EmitDefaultValue = false)]
public string ApplicationInformation { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Anwendungsinformation) Application information, longer values will be truncated when using POST |
DateFrom
(Datum von) Date from
Declaration
[DataMember(Name = "date_from", EmitDefaultValue = false)]
public DateTime? DateFrom { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Datum von) Date from |
DateTo
(Datum bis) Date to
Declaration
[DataMember(Name = "date_to", EmitDefaultValue = false)]
public DateTime? DateTo { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Datum bis) Date to |
Description
(Bezeichnung des Buchungsstapels) Name of the accounting sequence, longer values will be truncated when using POST
Declaration
[DataMember(Name = "description", EmitDefaultValue = false)]
public string Description { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Bezeichnung des Buchungsstapels) Name of the accounting sequence, longer values will be truncated when using POST |
Initials
(Diktatkürzel) Command initials, longer values will be truncated when using POST
Declaration
[DataMember(Name = "initials", EmitDefaultValue = false)]
public string Initials { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Diktatkürzel) Command initials, longer values will be truncated when using POST |
IsCommitted
(Festschreibekennzeichen) Finalization status flag, required functional field. Indicates if a sequence should be finalized during processing (TRUE = finalization, FALSE = no finalization). When the property "is_committed" is not transferred, the accounting sequence will be finalized automatically.
Declaration
[DataMember(Name = "is_committed", EmitDefaultValue = false)]
public bool? IsCommitted { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Festschreibekennzeichen) Finalization status flag, required functional field. Indicates if a sequence should be finalized during processing (TRUE = finalization, FALSE = no finalization). When the property "is_committed" is not transferred, the accounting sequence will be finalized automatically. |
RecordType
(Buchungstyp) Record type (financial accounting, annual financial statements)
Declaration
[DataMember(Name = "record_type", EmitDefaultValue = false)]
public AccountingSequence.RecordTypeEnum? RecordType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<AccountingSequence.RecordTypeEnum> | (Buchungstyp) Record type (financial accounting, annual financial statements) |
Methods
| Improve this Doc View SourceEquals(AccountingSequence)
Returns true if AccountingSequence instances are equal
Declaration
public bool Equals(AccountingSequence input)
Parameters
Type | Name | Description |
---|---|---|
AccountingSequence | input | Instance of AccountingSequence 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 |