Class AccountingClient
AccountingClient
Inheritance
Implements
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class AccountingClient : IEquatable<AccountingClient>, IValidatableObject
Constructors
| Improve this Doc View SourceAccountingClient(String, String, String, DatevCompanyData)
Initializes a new instance of the AccountingClient class.
Declaration
public AccountingClient(string id = null, string name = null, string number = null, DatevCompanyData companyData = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID of central client/company. |
System.String | name | (Mandantenbezeichnung) Client name. |
System.String | number | (Zentrale Mandanten-/Unternehmensnummer) Number of central clients/company, for application-specific data stocks, the number consists of a 10-digit number sequence. |
DatevCompanyData | companyData | (Unternehmensdaten) Company data. |
Properties
| Improve this Doc View SourceCompanyData
(Unternehmensdaten) Company data
Declaration
[DataMember(Name = "company_data", EmitDefaultValue = false)]
public DatevCompanyData CompanyData { get; set; }
Property Value
Type | Description |
---|---|
DatevCompanyData | (Unternehmensdaten) Company data |
Id
ID of central client/company
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | ID of central client/company |
Name
(Mandantenbezeichnung) Client name
Declaration
[DataMember(Name = "name", EmitDefaultValue = false)]
public string Name { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Mandantenbezeichnung) Client name |
Number
(Zentrale Mandanten-/Unternehmensnummer) Number of central clients/company, for application-specific data stocks, the number consists of a 10-digit number sequence
Declaration
[DataMember(Name = "number", EmitDefaultValue = false)]
public string Number { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Zentrale Mandanten-/Unternehmensnummer) Number of central clients/company, for application-specific data stocks, the number consists of a 10-digit number sequence |
Methods
| Improve this Doc View SourceEquals(AccountingClient)
Returns true if AccountingClient instances are equal
Declaration
public bool Equals(AccountingClient input)
Parameters
Type | Name | Description |
---|---|---|
AccountingClient | input | Instance of AccountingClient 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 |