Class DatevPostingProposalInformationCashRegister
DatevPostingProposalInformationCashRegister
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevPostingProposalInformationCashRegister : IEquatable<DatevPostingProposalInformationCashRegister>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevPostingProposalInformationCashRegister(Nullable<Int32>, Nullable<Int32>, Nullable<DatevPostingProposalInformationCashRegister.CalculationModeEnum>, Nullable<Decimal>, Nullable<DatevPostingProposalInformationCashRegister.FixedAmountDebitCreditIdentifierEnum>, String, String, Nullable<Int32>, Nullable<Decimal>, String, Nullable<DatevPostingProposalInformationCashRegister.OriginOfPostingDescriptionEnum>)
Initializes a new instance of the DatevPostingProposalInformationCashRegister class.
Declaration
public DatevPostingProposalInformationCashRegister(int? accountingTransactionKey = null, int? accountNumber = null, DatevPostingProposalInformationCashRegister.CalculationModeEnum? calculationMode = null, decimal? fixedAmount = null, DatevPostingProposalInformationCashRegister.FixedAmountDebitCreditIdentifierEnum? fixedAmountDebitCreditIdentifier = null, string kost1CostCenterId = null, string kost2CostCenterId = null, int? position = null, decimal? percentageOfPaymentAmount = null, string postingDescription = null, DatevPostingProposalInformationCashRegister.OriginOfPostingDescriptionEnum? originOfPostingDescription = 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.Int32> | accountNumber | (Sachkontonummer) General ledger account number shown in maximum length (technical length). |
| System.Nullable<DatevPostingProposalInformationCashRegister.CalculationModeEnum> | calculationMode | (Berechnungsmodus) Calculation mode (fixed_amount, percentage_of_payment_amount, remaining_amount, not_specified). |
| System.Nullable<System.Decimal> | fixedAmount | (Fester Betrag) Fixed amount. |
| System.Nullable<DatevPostingProposalInformationCashRegister.FixedAmountDebitCreditIdentifierEnum> | fixedAmountDebitCreditIdentifier | (Soll-/Haben-Kennzeichen) Debit/credit identifier of the fixed amount. |
| 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.Nullable<System.Int32> | position | (Position) Position. |
| System.Nullable<System.Decimal> | percentageOfPaymentAmount | (Prozentsatz vom Zahlbetrag) Percentage of payment amount. |
| System.String | postingDescription | (Buchungstext) Posting description. |
| System.Nullable<DatevPostingProposalInformationCashRegister.OriginOfPostingDescriptionEnum> | originOfPostingDescription | (Herkunft) Origin of posting description (own_input, posting_description, goods_and_services, business_partner_name, not_specified). |
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 |
AccountNumber
(Sachkontonummer) General ledger account number shown in maximum length (technical length)
Declaration
[DataMember(Name = "account_number", EmitDefaultValue = false)]
public int? AccountNumber { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | (Sachkontonummer) General ledger account number shown in maximum length (technical length) |
CalculationMode
(Berechnungsmodus) Calculation mode (fixed_amount, percentage_of_payment_amount, remaining_amount, not_specified)
Declaration
[DataMember(Name = "calculation_mode", EmitDefaultValue = false)]
public DatevPostingProposalInformationCashRegister.CalculationModeEnum? CalculationMode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DatevPostingProposalInformationCashRegister.CalculationModeEnum> | (Berechnungsmodus) Calculation mode (fixed_amount, percentage_of_payment_amount, remaining_amount, not_specified) |
FixedAmount
(Fester Betrag) Fixed amount
Declaration
[DataMember(Name = "fixed_amount", EmitDefaultValue = false)]
public decimal? FixedAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | (Fester Betrag) Fixed amount |
FixedAmountDebitCreditIdentifier
(Soll-/Haben-Kennzeichen) Debit/credit identifier of the fixed amount
Declaration
[DataMember(Name = "fixed_amount_debit_credit_identifier", EmitDefaultValue = false)]
public DatevPostingProposalInformationCashRegister.FixedAmountDebitCreditIdentifierEnum? FixedAmountDebitCreditIdentifier { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DatevPostingProposalInformationCashRegister.FixedAmountDebitCreditIdentifierEnum> | (Soll-/Haben-Kennzeichen) Debit/credit identifier of the fixed amount |
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 |
OriginOfPostingDescription
(Herkunft) Origin of posting description (own_input, posting_description, goods_and_services, business_partner_name, not_specified)
Declaration
[DataMember(Name = "origin_of_posting_description", EmitDefaultValue = false)]
public DatevPostingProposalInformationCashRegister.OriginOfPostingDescriptionEnum? OriginOfPostingDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<DatevPostingProposalInformationCashRegister.OriginOfPostingDescriptionEnum> | (Herkunft) Origin of posting description (own_input, posting_description, goods_and_services, business_partner_name, not_specified) |
PercentageOfPaymentAmount
(Prozentsatz vom Zahlbetrag) Percentage of payment amount
Declaration
[DataMember(Name = "percentage_of_payment_amount", EmitDefaultValue = false)]
public decimal? PercentageOfPaymentAmount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | (Prozentsatz vom Zahlbetrag) Percentage of payment amount |
Position
(Position) Position
Declaration
[DataMember(Name = "position", EmitDefaultValue = false)]
public int? Position { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Int32> | (Position) Position |
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 |
Methods
| Improve this Doc View SourceEquals(DatevPostingProposalInformationCashRegister)
Returns true if DatevPostingProposalInformationCashRegister instances are equal
Declaration
public bool Equals(DatevPostingProposalInformationCashRegister input)
Parameters
| Type | Name | Description |
|---|---|---|
| DatevPostingProposalInformationCashRegister | input | Instance of DatevPostingProposalInformationCashRegister 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 |