Class DatevAssignmentCriteriaInvoices
DatevAssignmentCriteriaInvoices
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevAssignmentCriteriaInvoices : IEquatable<DatevAssignmentCriteriaInvoices>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevAssignmentCriteriaInvoices(String, String, Nullable<Decimal>)
Initializes a new instance of the DatevAssignmentCriteriaInvoices class.
Declaration
public DatevAssignmentCriteriaInvoices(string goodsAndServices = null, string name = null, decimal? taxRate = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | goodsAndServices | (Ware/Leistung) Goods/services. |
System.String | name | (Name) Name according to document. |
System.Nullable<System.Decimal> | taxRate | (Steuersatz) Tax rate. |
Properties
| Improve this Doc View SourceGoodsAndServices
(Ware/Leistung) Goods/services
Declaration
[DataMember(Name = "goods_and_services", EmitDefaultValue = false)]
public string GoodsAndServices { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Ware/Leistung) Goods/services |
Name
(Name) Name according to document
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Name) Name according to document |
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(DatevAssignmentCriteriaInvoices)
Returns true if DatevAssignmentCriteriaInvoices instances are equal
Declaration
public bool Equals(DatevAssignmentCriteriaInvoices input)
Parameters
Type | Name | Description |
---|---|---|
DatevAssignmentCriteriaInvoices | input | Instance of DatevAssignmentCriteriaInvoices 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 |