Search Results for

    Show / Hide Table of Contents

    Class Debitor

    Debitor

    Inheritance
    System.Object
    Debitor
    Implements
    System.IEquatable<Debitor>
    System.ComponentModel.DataAnnotations.IValidatableObject
    Inherited Members
    System.Object.Equals(System.Object, System.Object)
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.GetType()
    System.Object.MemberwiseClone()
    Namespace: Simplic.Datev.Swagger.Model
    Assembly: Simplic.Datev.IO.Swagger.dll
    Syntax
    [DataContract]
    public class Debitor : IEquatable<Debitor>, IValidatableObject

    Constructors

    | Improve this Doc View Source

    Debitor(String, Nullable<Int32>, DatevDebitorAccountingInformation, String, String, String, String, String, String, String, String, Nullable<Boolean>, Nullable<Boolean>, Nullable<Debitor.LegalEntityTypeEnum>, String, String, String, DatevNaturalPerson, DatevLegalPerson, DatevNotSpecifiedPerson, List<DatevAddress>, List<DatevCommunication>, List<DatevBank>)

    Initializes a new instance of the Debitor class.

    Declaration
    public Debitor(string id = null, int? accountNumber = null, DatevDebitorAccountingInformation accountingInformation = null, string addresseeId = null, string alternativeSearchName = null, string businessPartnerNumber = null, string businessPartnerRelationId = null, string complimentaryClose = null, string correspondenceTitle = null, string euVatIdCountryCode = null, string euVatIdNumber = null, bool? isBusinessPartnerActive = null, bool? isOrganizationBusinessPartner = null, Debitor.LegalEntityTypeEnum? legalEntityType = Debitor.LegalEntityTypeEnum.Legalperson, string salutation = null, string shortName = null, string thirdPartyNumber = null, DatevNaturalPerson naturalPerson = null, DatevLegalPerson legalPerson = null, DatevNotSpecifiedPerson notSpecifiedPerson = null, List<DatevAddress> addresses = null, List<DatevCommunication> communications = null, List<DatevBank> banks = null)
    Parameters
    Type Name Description
    System.String id

    ID of the business partner, is equal to the account number of the business partner shown at maximum length; 9 digits (technical length); the ID may not be entered with POST; for PUT, the ID is a mandatory field and must be filled with the account number of the business partner.

    System.Nullable<System.Int32> accountNumber

    (Kontonummer) Account number of the business partner shown at maximum length; 9 digits (technical length); for POST and PUT, the account_number may not be entered.

    DatevDebitorAccountingInformation accountingInformation

    Accounting-specific data.

    System.String addresseeId

    (Schlüssel/ID des Adressaten) Addressee ID, required when using PUT.

    System.String alternativeSearchName

    (Alternativer Suchname) Alternative search name.

    System.String businessPartnerNumber

    (Kunden- bzw. Lieferantennummer) Customer/supplier number, cannot be changed when using centralized business partners (see property business_partner_relation_id).

    System.String businessPartnerRelationId

    (Schlüssel/ID des Geschäftspartners) ID of the business partner (customer relation ID); with POST, the business_partner_relation_id can be assigned; with PUT, the business_partner_relation_id that has already been used for the business partner being updated must be used again. If business_partner_relation_id contains an empty GUID (00000000-0000-0000-0000-000000000000), it is a not centralized business partner..

    System.String complimentaryClose

    (Brief Grußformel) Complimentary close of a letter.

    System.String correspondenceTitle

    (Anrede) Title.

    System.String euVatIdCountryCode

    (EU-Mitgliedstaat) EU member state, is a component of the VAT ID no., see Info Database, document 1080169.

    System.String euVatIdNumber

    (EU-Umsatzsteuernummer) EU VAT ID number, is a component of the VAT ID no., see Info Database, document 1080169.

    System.Nullable<System.Boolean> isBusinessPartnerActive

    (Geschäftspartner Aktiv-Kennzeichen) Active business partner identifier.

    System.Nullable<System.Boolean> isOrganizationBusinessPartner

    (Kanzlei-Kennzeichen) Indicator as to whether the business partner is an organization business partner.

    System.Nullable<Debitor.LegalEntityTypeEnum> legalEntityType

    (Adressatentyp) Addressee type (not specified, natural person, legal person) (default to LegalEntityTypeEnum.Legalperson).

    System.String salutation

    (Briefanrede) Letter salutation.

    System.String shortName

    (Kurzbezeichnung) Short name.

    System.String thirdPartyNumber

    (Nummer Fremdsystem) Number in third-party system.

    DatevNaturalPerson naturalPerson

    (Adressatentyp Natürliche Person) Addressee type natural person.

    DatevLegalPerson legalPerson

    (Adressatentyp Unternehmen/Vereinigung) Addressee type legal person.

    DatevNotSpecifiedPerson notSpecifiedPerson

    (Adressatentyp Keine Angabe) Addressee type not specified.

    System.Collections.Generic.List<DatevAddress> addresses

    (Adressen) Addresses.

    System.Collections.Generic.List<DatevCommunication> communications

    (Kommunikationen) Communications.

    System.Collections.Generic.List<DatevBank> banks

    banks.

    Properties

    | Improve this Doc View Source

    AccountingInformation

    Accounting-specific data

    Declaration
    [DataMember(Name = "accounting_information", EmitDefaultValue = false)]
    public DatevDebitorAccountingInformation AccountingInformation { get; set; }
    Property Value
    Type Description
    DatevDebitorAccountingInformation

    Accounting-specific data

    | Improve this Doc View Source

    AccountNumber

    (Kontonummer) Account number of the business partner shown at maximum length; 9 digits (technical length); for POST and PUT, the account_number may not be entered

    Declaration
    [DataMember(Name = "account_number", EmitDefaultValue = false)]
    public int? AccountNumber { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Int32>

    (Kontonummer) Account number of the business partner shown at maximum length; 9 digits (technical length); for POST and PUT, the account_number may not be entered

    | Improve this Doc View Source

    AddresseeId

    (Schlüssel/ID des Adressaten) Addressee ID, required when using PUT

    Declaration
    [DataMember(Name = "addressee_id", EmitDefaultValue = false)]
    public string AddresseeId { get; set; }
    Property Value
    Type Description
    System.String

    (Schlüssel/ID des Adressaten) Addressee ID, required when using PUT

    | Improve this Doc View Source

    Addresses

    (Adressen) Addresses

    Declaration
    [DataMember(Name = "addresses", EmitDefaultValue = false)]
    public List<DatevAddress> Addresses { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DatevAddress>

    (Adressen) Addresses

    | Improve this Doc View Source

    AlternativeSearchName

    (Alternativer Suchname) Alternative search name

    Declaration
    [DataMember(Name = "alternative_search_name", EmitDefaultValue = false)]
    public string AlternativeSearchName { get; set; }
    Property Value
    Type Description
    System.String

    (Alternativer Suchname) Alternative search name

    | Improve this Doc View Source

    Banks

    Gets or Sets Banks

    Declaration
    [DataMember(Name = "banks", EmitDefaultValue = false)]
    public List<DatevBank> Banks { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DatevBank>
    | Improve this Doc View Source

    BusinessPartnerNumber

    (Kunden- bzw. Lieferantennummer) Customer/supplier number, cannot be changed when using centralized business partners (see property business_partner_relation_id)

    Declaration
    [DataMember(Name = "business_partner_number", EmitDefaultValue = false)]
    public string BusinessPartnerNumber { get; set; }
    Property Value
    Type Description
    System.String

    (Kunden- bzw. Lieferantennummer) Customer/supplier number, cannot be changed when using centralized business partners (see property business_partner_relation_id)

    | Improve this Doc View Source

    BusinessPartnerRelationId

    (Schlüssel/ID des Geschäftspartners) ID of the business partner (customer relation ID); with POST, the business_partner_relation_id can be assigned; with PUT, the business_partner_relation_id that has already been used for the business partner being updated must be used again. If business_partner_relation_id contains an empty GUID (00000000-0000-0000-0000-000000000000), it is a not centralized business partner.

    Declaration
    [DataMember(Name = "business_partner_relation_id", EmitDefaultValue = false)]
    public string BusinessPartnerRelationId { get; set; }
    Property Value
    Type Description
    System.String

    (Schlüssel/ID des Geschäftspartners) ID of the business partner (customer relation ID); with POST, the business_partner_relation_id can be assigned; with PUT, the business_partner_relation_id that has already been used for the business partner being updated must be used again. If business_partner_relation_id contains an empty GUID (00000000-0000-0000-0000-000000000000), it is a not centralized business partner.

    | Improve this Doc View Source

    Caption

    (Kontobeschriftung) Account caption. This is a compound field, for example, of first name and surname.

    Declaration
    [DataMember(Name = "caption", EmitDefaultValue = false)]
    public string Caption { get; }
    Property Value
    Type Description
    System.String

    (Kontobeschriftung) Account caption. This is a compound field, for example, of first name and surname.

    | Improve this Doc View Source

    Communications

    (Kommunikationen) Communications

    Declaration
    [DataMember(Name = "communications", EmitDefaultValue = false)]
    public List<DatevCommunication> Communications { get; set; }
    Property Value
    Type Description
    System.Collections.Generic.List<DatevCommunication>

    (Kommunikationen) Communications

    | Improve this Doc View Source

    ComplimentaryClose

    (Brief Grußformel) Complimentary close of a letter

    Declaration
    [DataMember(Name = "complimentary_close", EmitDefaultValue = false)]
    public string ComplimentaryClose { get; set; }
    Property Value
    Type Description
    System.String

    (Brief Grußformel) Complimentary close of a letter

    | Improve this Doc View Source

    CorrespondenceTitle

    (Anrede) Title

    Declaration
    [DataMember(Name = "correspondence_title", EmitDefaultValue = false)]
    public string CorrespondenceTitle { get; set; }
    Property Value
    Type Description
    System.String

    (Anrede) Title

    | Improve this Doc View Source

    DateLastModification

    (Datum der letzten Änderung) Date of last modification

    Declaration
    [DataMember(Name = "date_last_modification", EmitDefaultValue = false)]
    public DateTime? DateLastModification { get; }
    Property Value
    Type Description
    System.Nullable<System.DateTime>

    (Datum der letzten Änderung) Date of last modification

    | Improve this Doc View Source

    EuVatIdCountryCode

    (EU-Mitgliedstaat) EU member state, is a component of the VAT ID no., see Info Database, document 1080169

    Declaration
    [DataMember(Name = "eu_vat_id_country_code", EmitDefaultValue = false)]
    public string EuVatIdCountryCode { get; set; }
    Property Value
    Type Description
    System.String

    (EU-Mitgliedstaat) EU member state, is a component of the VAT ID no., see Info Database, document 1080169

    | Improve this Doc View Source

    EuVatIdNumber

    (EU-Umsatzsteuernummer) EU VAT ID number, is a component of the VAT ID no., see Info Database, document 1080169

    Declaration
    [DataMember(Name = "eu_vat_id_number", EmitDefaultValue = false)]
    public string EuVatIdNumber { get; set; }
    Property Value
    Type Description
    System.String

    (EU-Umsatzsteuernummer) EU VAT ID number, is a component of the VAT ID no., see Info Database, document 1080169

    | Improve this Doc View Source

    Id

    ID of the business partner, is equal to the account number of the business partner shown at maximum length; 9 digits (technical length); the ID may not be entered with POST; for PUT, the ID is a mandatory field and must be filled with the account number of the business partner

    Declaration
    [DataMember(Name = "id", EmitDefaultValue = false)]
    public string Id { get; set; }
    Property Value
    Type Description
    System.String

    ID of the business partner, is equal to the account number of the business partner shown at maximum length; 9 digits (technical length); the ID may not be entered with POST; for PUT, the ID is a mandatory field and must be filled with the account number of the business partner

    | Improve this Doc View Source

    IsBusinessPartnerActive

    (Geschäftspartner Aktiv-Kennzeichen) Active business partner identifier

    Declaration
    [DataMember(Name = "is_business_partner_active", EmitDefaultValue = false)]
    public bool? IsBusinessPartnerActive { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    (Geschäftspartner Aktiv-Kennzeichen) Active business partner identifier

    | Improve this Doc View Source

    IsOrganizationBusinessPartner

    (Kanzlei-Kennzeichen) Indicator as to whether the business partner is an organization business partner

    Declaration
    [DataMember(Name = "is_organization_business_partner", EmitDefaultValue = false)]
    public bool? IsOrganizationBusinessPartner { get; set; }
    Property Value
    Type Description
    System.Nullable<System.Boolean>

    (Kanzlei-Kennzeichen) Indicator as to whether the business partner is an organization business partner

    | Improve this Doc View Source

    LegalEntityType

    (Adressatentyp) Addressee type (not specified, natural person, legal person)

    Declaration
    [DataMember(Name = "legal_entity_type", EmitDefaultValue = false)]
    public Debitor.LegalEntityTypeEnum? LegalEntityType { get; set; }
    Property Value
    Type Description
    System.Nullable<Debitor.LegalEntityTypeEnum>

    (Adressatentyp) Addressee type (not specified, natural person, legal person)

    | Improve this Doc View Source

    LegalPerson

    (Adressatentyp Unternehmen/Vereinigung) Addressee type legal person

    Declaration
    [DataMember(Name = "legal_person", EmitDefaultValue = false)]
    public DatevLegalPerson LegalPerson { get; set; }
    Property Value
    Type Description
    DatevLegalPerson

    (Adressatentyp Unternehmen/Vereinigung) Addressee type legal person

    | Improve this Doc View Source

    NaturalPerson

    (Adressatentyp Natürliche Person) Addressee type natural person

    Declaration
    [DataMember(Name = "natural_person", EmitDefaultValue = false)]
    public DatevNaturalPerson NaturalPerson { get; set; }
    Property Value
    Type Description
    DatevNaturalPerson

    (Adressatentyp Natürliche Person) Addressee type natural person

    | Improve this Doc View Source

    NotSpecifiedPerson

    (Adressatentyp Keine Angabe) Addressee type not specified

    Declaration
    [DataMember(Name = "not_specified_person", EmitDefaultValue = false)]
    public DatevNotSpecifiedPerson NotSpecifiedPerson { get; set; }
    Property Value
    Type Description
    DatevNotSpecifiedPerson

    (Adressatentyp Keine Angabe) Addressee type not specified

    | Improve this Doc View Source

    Salutation

    (Briefanrede) Letter salutation

    Declaration
    [DataMember(Name = "salutation", EmitDefaultValue = false)]
    public string Salutation { get; set; }
    Property Value
    Type Description
    System.String

    (Briefanrede) Letter salutation

    | Improve this Doc View Source

    ShortName

    (Kurzbezeichnung) Short name

    Declaration
    [DataMember(Name = "short_name", EmitDefaultValue = false)]
    public string ShortName { get; set; }
    Property Value
    Type Description
    System.String

    (Kurzbezeichnung) Short name

    | Improve this Doc View Source

    ThirdPartyNumber

    (Nummer Fremdsystem) Number in third-party system

    Declaration
    [DataMember(Name = "third_party_number", EmitDefaultValue = false)]
    public string ThirdPartyNumber { get; set; }
    Property Value
    Type Description
    System.String

    (Nummer Fremdsystem) Number in third-party system

    Methods

    | Improve this Doc View Source

    Equals(Debitor)

    Returns true if Debitor instances are equal

    Declaration
    public bool Equals(Debitor input)
    Parameters
    Type Name Description
    Debitor input

    Instance of Debitor to be compared

    Returns
    Type Description
    System.Boolean

    Boolean

    | Improve this Doc View Source

    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
    System.Object.Equals(System.Object)
    | Improve this Doc View Source

    GetHashCode()

    Gets the hash code

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    System.Int32

    Hash code

    Overrides
    System.Object.GetHashCode()
    | Improve this Doc View Source

    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

    | Improve this Doc View Source

    ToString()

    Returns the string presentation of the object

    Declaration
    public override string ToString()
    Returns
    Type Description
    System.String

    String presentation of the object

    Overrides
    System.Object.ToString()

    Explicit Interface Implementations

    | Improve this Doc View Source

    IValidatableObject.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

    Implements

    System.IEquatable<T>
    System.ComponentModel.DataAnnotations.IValidatableObject
    • Improve this Doc
    • View Source
    In This Article
    Back to top Copyright © 2018 SIMPLIC GmbH
    Generated by DocFx