Class DatevGeneralLedgerAccountTaxRates
DatevGeneralLedgerAccountTaxRates
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevGeneralLedgerAccountTaxRates : IEquatable<DatevGeneralLedgerAccountTaxRates>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevGeneralLedgerAccountTaxRates(Nullable<Decimal>, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the DatevGeneralLedgerAccountTaxRates class.
Declaration
public DatevGeneralLedgerAccountTaxRates(decimal? taxRate = null, DateTime? validFrom = null, DateTime? validTo = null)
Parameters
Type | Name | Description |
---|---|---|
System.Nullable<System.Decimal> | taxRate | (Steuersatz) Tax rate. |
System.Nullable<System.DateTime> | validFrom | (Gültig von) Valid from. |
System.Nullable<System.DateTime> | validTo | (Gültig bis) Valid to. |
Properties
| Improve this Doc View SourceTaxRate
(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 |
ValidFrom
(Gültig von) Valid from
Declaration
[DataMember(Name = "valid_from", EmitDefaultValue = false)]
public DateTime? ValidFrom { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Gültig von) Valid from |
ValidTo
(Gültig bis) Valid to
Declaration
[DataMember(Name = "valid_to", EmitDefaultValue = false)]
public DateTime? ValidTo { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Gültig bis) Valid to |
Methods
| Improve this Doc View SourceEquals(DatevGeneralLedgerAccountTaxRates)
Returns true if DatevGeneralLedgerAccountTaxRates instances are equal
Declaration
public bool Equals(DatevGeneralLedgerAccountTaxRates input)
Parameters
Type | Name | Description |
---|---|---|
DatevGeneralLedgerAccountTaxRates | input | Instance of DatevGeneralLedgerAccountTaxRates 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 |