Search Results for

    Show / Hide Table of Contents

    Class Creditor

    Creditor

    Inheritance
    System.Object
    Creditor
    Implements
    System.IEquatable<Creditor>
    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 Creditor : IEquatable<Creditor>, IValidatableObject

    Constructors

    | Improve this Doc View Source

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

    Initializes a new instance of the Creditor class.

    Declaration
    public Creditor(string id = null, int? accountNumber = null, DatevCreditorAccountingInformation 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, Creditor.LegalEntityTypeEnum? legalEntityType = Creditor.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, 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 completed 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.

    DatevCreditorAccountingInformation accountingInformation

    (Rechnungswesenspezifische Daten) 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, only when using centralized business partners (see property business_partner_relation_id).

    System.String businessPartnerRelationId

    (Kundenbeziehungs-ID) 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<Creditor.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-person.

    System.Collections.Generic.List<DatevAddress> addresses

    (Adressen) Addresses.

    System.Collections.Generic.List<DatevCommunication> communications

    (Kommunikationen) Communications.

    System.Collections.Generic.List<DatevBank> banks

    (Banken) Banks, required field for a bank account are &quot;bank code/BIC&quot; and &quot;bank account number/IBAN&quot;.

    Properties

    | Improve this Doc View Source

    AccountingInformation

    (Rechnungswesenspezifische Daten) Accounting-specific data

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

    (Rechnungswesenspezifische Daten) 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

    (Banken) Banks, required field for a bank account are &quot;bank code/BIC&quot; and &quot;bank account number/IBAN&quot;

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

    (Banken) Banks, required field for a bank account are &quot;bank code/BIC&quot; and &quot;bank account number/IBAN&quot;

    | Improve this Doc View Source

    BusinessPartnerNumber

    (Kunden- bzw. Lieferantennummer) Customer/supplier number, cannot be changed, only 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, only when using centralized business partners (see property business_partner_relation_id)

    | Improve this Doc View Source

    BusinessPartnerRelationId

    (Kundenbeziehungs-ID) 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

    (Kundenbeziehungs-ID) 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 most recent 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 most recent 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, 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 completed 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, 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 completed 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 Creditor.LegalEntityTypeEnum? LegalEntityType { get; set; }
    Property Value
    Type Description
    System.Nullable<Creditor.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-person

    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-person

    | 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(Creditor)

    Returns true if Creditor instances are equal

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

    Instance of Creditor 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