Class DatevBank
DatevBank
Inheritance
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevBank : IEquatable<DatevBank>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevBank(String, String, String, String, String, Nullable<Int32>, String, String, String, Nullable<Boolean>, String, String, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the DatevBank class.
Declaration
public DatevBank(string id = null, string bankAccountNumber = null, string bankCode = null, string bankName = null, string bic = null, int? businessPartnerBankPosition = null, string countryCode = null, string differingAccountHolder = null, string iban = null, bool? isBusinessPartnerBank = null, string sepaMandateReference = null, string note = null, DateTime? validFrom = null, DateTime? validTo = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID of the subobject bank. |
System.String | bankAccountNumber | (Bankkontonummer) Bank account number. The specified lengths correspond to the German standard and may differ for foreign business partners.. |
System.String | bankCode | (Bankleitzahl) Bank code. |
System.String | bankName | (Bankname) Bank name. |
System.String | bic | BIC. |
System.Nullable<System.Int32> | businessPartnerBankPosition | (Geschäftspartnerbank) Business partner bank (numbering), required when a bank is transferred. |
System.String | countryCode | (Land) Country, see Info Database, document 1080169. |
System.String | differingAccountHolder | (Abweichender Kontoinhaber) Differing account holder. |
System.String | iban | IBAN. |
System.Nullable<System.Boolean> | isBusinessPartnerBank | (Geschäftspartnerbank) Business partner bank, usage identifier, only a bank account belonging to a debitor/creditor can be labeled as a business partner bank account.<br>If exactly one bank account is specified, the usage identifier is always set to "true".. |
System.String | sepaMandateReference | (SEPA Mandatsreferenz) SEPA mandate reference, in the "sepa_mandate_reference" field; one mandate reference per bank can be entered for the business partner; in order to be used correctly, SEPA mandate management must include the mandate reference applicable to the authorizing customer. |
System.String | note | (Bemerkung) Note. |
System.Nullable<System.DateTime> | validFrom | (Gültig von) Valid from. |
System.Nullable<System.DateTime> | validTo | (Gültig bis) Valid to. |
Properties
| Improve this Doc View SourceBankAccountNumber
(Bankkontonummer) Bank account number. The specified lengths correspond to the German standard and may differ for foreign business partners.
Declaration
[DataMember(Name = "bank_account_number", EmitDefaultValue = false)]
public string BankAccountNumber { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Bankkontonummer) Bank account number. The specified lengths correspond to the German standard and may differ for foreign business partners. |
BankCode
(Bankleitzahl) Bank code
Declaration
[DataMember(Name = "bank_code", EmitDefaultValue = false)]
public string BankCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Bankleitzahl) Bank code |
BankName
(Bankname) Bank name
Declaration
[DataMember(Name = "bank_name", EmitDefaultValue = false)]
public string BankName { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Bankname) Bank name |
Bic
BIC
Declaration
[DataMember(Name = "bic", EmitDefaultValue = false)]
public string Bic { get; set; }
Property Value
Type | Description |
---|---|
System.String | BIC |
BusinessPartnerBankPosition
(Geschäftspartnerbank) Business partner bank (numbering), required when a bank is transferred
Declaration
[DataMember(Name = "business_partner_bank_position", EmitDefaultValue = false)]
public int? BusinessPartnerBankPosition { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Int32> | (Geschäftspartnerbank) Business partner bank (numbering), required when a bank is transferred |
CountryCode
(Land) Country, see Info Database, document 1080169
Declaration
[DataMember(Name = "country_code", EmitDefaultValue = false)]
public string CountryCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Land) Country, see Info Database, document 1080169 |
DifferingAccountHolder
(Abweichender Kontoinhaber) Differing account holder
Declaration
[DataMember(Name = "differing_account_holder", EmitDefaultValue = false)]
public string DifferingAccountHolder { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Abweichender Kontoinhaber) Differing account holder |
Iban
IBAN
Declaration
[DataMember(Name = "iban", EmitDefaultValue = false)]
public string Iban { get; set; }
Property Value
Type | Description |
---|---|
System.String | IBAN |
Id
ID of the subobject bank
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | ID of the subobject bank |
IsBusinessPartnerBank
(Geschäftspartnerbank) Business partner bank, usage identifier, only a bank account belonging to a debitor/creditor can be labeled as a business partner bank account.<br>If exactly one bank account is specified, the usage identifier is always set to "true".
Declaration
[DataMember(Name = "is_business_partner_bank", EmitDefaultValue = false)]
public bool? IsBusinessPartnerBank { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Geschäftspartnerbank) Business partner bank, usage identifier, only a bank account belonging to a debitor/creditor can be labeled as a business partner bank account.<br>If exactly one bank account is specified, the usage identifier is always set to "true". |
Note
(Bemerkung) Note
Declaration
[DataMember(Name = "note", EmitDefaultValue = false)]
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Bemerkung) Note |
SepaMandateReference
(SEPA Mandatsreferenz) SEPA mandate reference, in the "sepa_mandate_reference" field; one mandate reference per bank can be entered for the business partner; in order to be used correctly, SEPA mandate management must include the mandate reference applicable to the authorizing customer
Declaration
[DataMember(Name = "sepa_mandate_reference", EmitDefaultValue = false)]
public string SepaMandateReference { get; set; }
Property Value
Type | Description |
---|---|
System.String | (SEPA Mandatsreferenz) SEPA mandate reference, in the "sepa_mandate_reference" field; one mandate reference per bank can be entered for the business partner; in order to be used correctly, SEPA mandate management must include the mandate reference applicable to the authorizing customer |
ValidFrom
(Gültig von) Valid from
Declaration
[DataMember(Name = "valid_from", EmitDefaultValue = false)]
public DateTime? ValidFrom { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Gültig von) Valid from |
ValidTo
(Gültig bis) Valid to
Declaration
[DataMember(Name = "valid_to", EmitDefaultValue = false)]
public DateTime? ValidTo { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<System.DateTime> | (Gültig bis) Valid to |
Methods
| Improve this Doc View SourceEquals(DatevBank)
Returns true if DatevBank instances are equal
Declaration
public bool Equals(DatevBank input)
Parameters
Type | Name | Description |
---|---|---|
DatevBank | input | Instance of DatevBank 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 |