Class DatevLegalPerson
DatevLegalPerson
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevLegalPerson : IEquatable<DatevLegalPerson>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevLegalPerson(String, String, String)
Initializes a new instance of the DatevLegalPerson class.
Declaration
public DatevLegalPerson(string enterprisePurpose = null, string legalForm = null, string legalName = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | enterprisePurpose | (Unternehmensgegenstand) Enterprise purpose. |
System.String | legalForm | (Unternehmensform) Legal form. |
System.String | legalName | (Unternehmensname) Legal name. |
Properties
| Improve this Doc View SourceEnterprisePurpose
(Unternehmensgegenstand) Enterprise purpose
Declaration
[DataMember(Name = "enterprise_purpose", EmitDefaultValue = false)]
public string EnterprisePurpose { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Unternehmensgegenstand) Enterprise purpose |
LegalForm
(Unternehmensform) Legal form
Declaration
[DataMember(Name = "legal_form", EmitDefaultValue = false)]
public string LegalForm { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Unternehmensform) Legal form |
LegalName
(Unternehmensname) Legal name
Declaration
[DataMember(Name = "legal_name", EmitDefaultValue = false)]
public string LegalName { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Unternehmensname) Legal name |
Methods
| Improve this Doc View SourceEquals(DatevLegalPerson)
Returns true if DatevLegalPerson instances are equal
Declaration
public bool Equals(DatevLegalPerson input)
Parameters
Type | Name | Description |
---|---|---|
DatevLegalPerson | input | Instance of DatevLegalPerson 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 |