Class DatevAssignmentCriteriaCashRegister
DatevAssignmentCriteriaCashRegister
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevAssignmentCriteriaCashRegister : IEquatable<DatevAssignmentCriteriaCashRegister>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevAssignmentCriteriaCashRegister(Nullable<Decimal>, Nullable<Int32>, String, String, Nullable<Decimal>)
Initializes a new instance of the DatevAssignmentCriteriaCashRegister class.
Declaration
public DatevAssignmentCriteriaCashRegister(decimal? amount = null, int? cashAccountNumber = null, string currencyCode = null, string documentDescription = null, decimal? taxRate = null)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Nullable<System.Decimal> | amount | (Umsatz) Amount. |
| System.Nullable<System.Int32> | cashAccountNumber | (Kassen-Kontonummer) Cash 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.String | documentDescription | (Belegtext) Document description. |
| System.Nullable<System.Decimal> | taxRate | (Steuersatz) Tax rate. |
Properties
| Improve this Doc View SourceAmount
(Umsatz) Amount
Declaration
[DataMember(Name = "amount", EmitDefaultValue = false)]
public decimal? Amount { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Nullable<System.Decimal> | (Umsatz) Amount |
CashAccountNumber
(Kassen-Kontonummer) 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> | (Kassen-Kontonummer) Cash 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 |
DocumentDescription
(Belegtext) Document description
Declaration
[DataMember(Name = "document_description", EmitDefaultValue = false)]
public string DocumentDescription { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String | (Belegtext) Document 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(DatevAssignmentCriteriaCashRegister)
Returns true if DatevAssignmentCriteriaCashRegister instances are equal
Declaration
public bool Equals(DatevAssignmentCriteriaCashRegister input)
Parameters
| Type | Name | Description |
|---|---|---|
| DatevAssignmentCriteriaCashRegister | input | Instance of DatevAssignmentCriteriaCashRegister 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 |