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