Class PostingProposalCashRegister
PostingProposalCashRegister
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class PostingProposalCashRegister : IEquatable<PostingProposalCashRegister>, IValidatableObject
Constructors
| Improve this Doc View SourcePostingProposalCashRegister()
Initializes a new instance of the PostingProposalCashRegister class.
Declaration
protected PostingProposalCashRegister()
PostingProposalCashRegister(Nullable<Int32>, Nullable<Decimal>, Nullable<Int32>, Nullable<Int32>, String, Nullable<DateTime>, String, String, String, String, String, String, String, Nullable<Decimal>)
Initializes a new instance of the PostingProposalCashRegister class.
Declaration
public PostingProposalCashRegister(int? accountingTransactionKey = null, decimal? amount = null, int? cashAccountNumber = null, int? contraAccountNumber = null, string currencyCode = null, DateTime? date = null, string documentField1 = null, string documentField2 = null, string documentLink = null, string documentSystem = null, string kost1CostCenterId = null, string kost2CostCenterId = null, string postingDescription = null, decimal? taxRate = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Int32> | accountingTransactionKey | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key. For more information, please refer to the Info Database, documents 9231347. |
| System.Nullable<System.Decimal> | amount | (Umsatz) Amount (required). |
| System.Nullable<System.Int32> | cashAccountNumber | (Kassenkontonummer) Cash account number shown in maximum length (technical length) (required). |
| System.Nullable<System.Int32> | contraAccountNumber | (Gegenkontonummer) Contra account number shown in maximum length (technical length). |
| System.String | currencyCode | (Währung) 3-character ISO currency code – indicates the currency used for the amount, see Info Database, document 1080170. |
| System.Nullable<System.DateTime> | date | (Belegdatum) Document date (the year will be ignored) (required). |
| System.String | documentField1 | (Rechnungs-/Belegnummer) Invoice/document number, document field 1 is the key for managing Open Items. In the event of a payment or credit note, a comparison with Open Items is only performed if the document number is identical to document field 1; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /. |
| System.String | documentField2 | (Belegfeld) Document field 2, document number or Open Items processing information; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + -.. |
| System.String | documentLink | (Beleglink) Document link, identifies the entry document in a documentmanagement system, the property "document_link" must be transferred in conjunction with the property "document_system". |
| System.String | documentSystem | (Dokumenten-Management-System) Document management system, program abbreviation for the document management system used, the property "document_system" must be transferred in conjunction with the property "document_link". |
| System.String | kost1CostCenterId | (Kostenstelle) Kost1, cost center, Kost1 is used to assign the transaction to a cost center for subsequent cost calculations. |
| System.String | kost2CostCenterId | (Kostenstelle) Kost2, cost center, Kost2 is used to assign the transaction to a cost center for subsequent cost calculations. |
| System.String | postingDescription | (Buchungstext) Posting description. |
| System.Nullable<System.Decimal> | taxRate | (Steuersatz) Tax rate. |
Properties
| Improve this Doc View SourceAccountingTransactionKey
(Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key. For more information, please refer to the Info Database, documents 9231347
Declaration
[DataMember(Name = "accounting_transaction_key", EmitDefaultValue = false)]
public int? AccountingTransactionKey { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | (Steuerschlüssel und/oder Berichtigungsschlüssel) Tax key and/or adjustment key. For more information, please refer to the Info Database, documents 9231347 |
Amount
(Umsatz) Amount
Declaration
[DataMember(Name = "amount", EmitDefaultValue = false)]
public decimal? Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | (Umsatz) Amount |
CashAccountNumber
(Kassenkontonummer) Cash account number shown in maximum length (technical length)
Declaration
[DataMember(Name = "cash_account_number", EmitDefaultValue = false)]
public int? CashAccountNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | (Kassenkontonummer) Cash account number shown in maximum length (technical length) |
ContraAccountNumber
(Gegenkontonummer) Contra account number shown in maximum length (technical length)
Declaration
[DataMember(Name = "contra_account_number", EmitDefaultValue = false)]
public int? ContraAccountNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | (Gegenkontonummer) Contra account number shown in maximum length (technical length) |
CurrencyCode
(Währung) 3-character ISO currency code – indicates the currency used for the amount, see Info Database, document 1080170
Declaration
[DataMember(Name = "currency_code", EmitDefaultValue = false)]
public string CurrencyCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Währung) 3-character ISO currency code – indicates the currency used for the amount, see Info Database, document 1080170 |
Date
(Belegdatum) Document date (the year will be ignored)
Declaration
[DataMember(Name = "date", EmitDefaultValue = false)]
public DateTime? Date { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.DateTime> | (Belegdatum) Document date (the year will be ignored) |
DocumentField1
(Rechnungs-/Belegnummer) Invoice/document number, document field 1 is the key for managing Open Items. In the event of a payment or credit note, a comparison with Open Items is only performed if the document number is identical to document field 1; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - /
Declaration
[DataMember(Name = "document_field1", EmitDefaultValue = false)]
public string DocumentField1 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Rechnungs-/Belegnummer) Invoice/document number, document field 1 is the key for managing Open Items. In the event of a payment or credit note, a comparison with Open Items is only performed if the document number is identical to document field 1; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + - / |
DocumentField2
(Belegfeld) Document field 2, document number or Open Items processing information; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + -.
Declaration
[DataMember(Name = "document_field2", EmitDefaultValue = false)]
public string DocumentField2 { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Belegfeld) Document field 2, document number or Open Items processing information; allowed characters: numbers 0 ... 9, uppercase letters A ... Z, lowercase letters a ... z, special characters $ & % * + -. |
DocumentLink
(Beleglink) Document link, identifies the entry document in a documentmanagement system, the property "document_link" must be transferred in conjunction with the property "document_system"
Declaration
[DataMember(Name = "document_link", EmitDefaultValue = false)]
public string DocumentLink { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Beleglink) Document link, identifies the entry document in a documentmanagement system, the property "document_link" must be transferred in conjunction with the property "document_system" |
DocumentSystem
(Dokumenten-Management-System) Document management system, program abbreviation for the document management system used, the property "document_system" must be transferred in conjunction with the property "document_link"
Declaration
[DataMember(Name = "document_system", EmitDefaultValue = false)]
public string DocumentSystem { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Dokumenten-Management-System) Document management system, program abbreviation for the document management system used, the property "document_system" must be transferred in conjunction with the property "document_link" |
Kost1CostCenterId
(Kostenstelle) Kost1, cost center, Kost1 is used to assign the transaction to a cost center for subsequent cost calculations
Declaration
[DataMember(Name = "kost1_cost_center_id", EmitDefaultValue = false)]
public string Kost1CostCenterId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Kostenstelle) Kost1, cost center, Kost1 is used to assign the transaction to a cost center for subsequent cost calculations |
Kost2CostCenterId
(Kostenstelle) Kost2, cost center, Kost2 is used to assign the transaction to a cost center for subsequent cost calculations
Declaration
[DataMember(Name = "kost2_cost_center_id", EmitDefaultValue = false)]
public string Kost2CostCenterId { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Kostenstelle) Kost2, cost center, Kost2 is used to assign the transaction to a cost center for subsequent cost calculations |
PostingDescription
(Buchungstext) Posting description
Declaration
[DataMember(Name = "posting_description", EmitDefaultValue = false)]
public string PostingDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Buchungstext) Posting description |
TaxRate
(Steuersatz) Tax rate
Declaration
[DataMember(Name = "tax_rate", EmitDefaultValue = false)]
public decimal? TaxRate { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | (Steuersatz) Tax rate |
Methods
| Improve this Doc View SourceEquals(PostingProposalCashRegister)
Returns true if PostingProposalCashRegister instances are equal
Declaration
public bool Equals(PostingProposalCashRegister input)
Parameters
| Type | Name | Description |
|---|---|---|
| PostingProposalCashRegister | input | Instance of PostingProposalCashRegister 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 |