Class DatevAddress
DatevAddress
Inheritance
Inherited Members
Namespace: Simplic.Datev.Swagger.Model
Assembly: Simplic.Datev.IO.Swagger.dll
Syntax
[DataContract]
public class DatevAddress : IEquatable<DatevAddress>, IValidatableObject
Constructors
| Improve this Doc View SourceDatevAddress()
Initializes a new instance of the DatevAddress class.
Declaration
protected DatevAddress()
DatevAddress(String, String, String, String, String, Nullable<DatevAddress.AddressTypeEnum>, DatevAddressUsageType, String, String, String, String, String, String, String, String, Nullable<DateTime>, Nullable<DateTime>)
Initializes a new instance of the DatevAddress class.
Declaration
public DatevAddress(string id = null, string additionalCorrespondenceTitle = null, string additionalDeliveryText1 = null, string additionalDeliveryText2 = null, string addressAppendix = null, DatevAddress.AddressTypeEnum? addressType = null, DatevAddressUsageType addressUsageType = null, string city = null, string countryCode = null, string district = null, string individualShippingInformation = null, string note = null, string postOfficeBox = null, string postalCode = null, string street = null, DateTime? validFrom = null, DateTime? validTo = null)
Parameters
Type | Name | Description |
---|---|---|
System.String | id | ID of the subobject address. |
System.String | additionalCorrespondenceTitle | (Abweichende Anrede) Differing title. |
System.String | additionalDeliveryText1 | (Abweichende Zustellbezeichnung 1) Differing delivery text 1. |
System.String | additionalDeliveryText2 | (Abweichende Zustellbezeichnung 2) Differing delivery text 2. |
System.String | addressAppendix | (Adresszusatz) Address supplement. |
System.Nullable<DatevAddress.AddressTypeEnum> | addressType | (Adressart) Address type, if the address type is not indicated, it will be automatically completed based on the transferred fields (street, post office box or postal code), (not specified, street address, post office box address, corporate client address). |
DatevAddressUsageType | addressUsageType | addressUsageType (required). |
System.String | city | (Ort) City. |
System.String | countryCode | (Land) Country, see Info Database, document 1080169. |
System.String | district | (Ortsteil) District (public sector). |
System.String | individualShippingInformation | (Versandzusatz) Additional shipping information. |
System.String | note | (Notiz) Note. |
System.String | postOfficeBox | (Postfach) Post office box, if both a street address and a post office box are indicated, both values will be added to the database; the post office box will be displayed on the business card in the debitor/creditor master data. |
System.String | postalCode | (Postleitzahl) Zip code, depends on the country code. When the property "country_code" is set, the zip code length of the corresponding country is taken into account. When the property "country_code" is not set, the country is taken from the client's national law. |
System.String | street | (Straße) Street, if both a street address and a post office box are indicated, both values will be added to the database; the post office box will be displayed on the business card in the debitor/creditor master data. |
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 SourceAdditionalCorrespondenceTitle
(Abweichende Anrede) Differing title
Declaration
[DataMember(Name = "additional_correspondence_title", EmitDefaultValue = false)]
public string AdditionalCorrespondenceTitle { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Abweichende Anrede) Differing title |
AdditionalDeliveryText1
(Abweichende Zustellbezeichnung 1) Differing delivery text 1
Declaration
[DataMember(Name = "additional_delivery_text1", EmitDefaultValue = false)]
public string AdditionalDeliveryText1 { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Abweichende Zustellbezeichnung 1) Differing delivery text 1 |
AdditionalDeliveryText2
(Abweichende Zustellbezeichnung 2) Differing delivery text 2
Declaration
[DataMember(Name = "additional_delivery_text2", EmitDefaultValue = false)]
public string AdditionalDeliveryText2 { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Abweichende Zustellbezeichnung 2) Differing delivery text 2 |
AddressAppendix
(Adresszusatz) Address supplement
Declaration
[DataMember(Name = "address_appendix", EmitDefaultValue = false)]
public string AddressAppendix { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Adresszusatz) Address supplement |
AddressManuallyEdited
(Aufbereitete Anschrift) Manually edited address
Declaration
[DataMember(Name = "address_manually_edited", EmitDefaultValue = false)]
public string AddressManuallyEdited { get; }
Property Value
Type | Description |
---|---|
System.String | (Aufbereitete Anschrift) Manually edited address |
AddressType
(Adressart) Address type, if the address type is not indicated, it will be automatically completed based on the transferred fields (street, post office box or postal code), (not specified, street address, post office box address, corporate client address)
Declaration
[DataMember(Name = "address_type", EmitDefaultValue = false)]
public DatevAddress.AddressTypeEnum? AddressType { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<DatevAddress.AddressTypeEnum> | (Adressart) Address type, if the address type is not indicated, it will be automatically completed based on the transferred fields (street, post office box or postal code), (not specified, street address, post office box address, corporate client address) |
AddressUsageType
Gets or Sets AddressUsageType
Declaration
[DataMember(Name = "address_usage_type", EmitDefaultValue = false)]
public DatevAddressUsageType AddressUsageType { get; set; }
Property Value
Type | Description |
---|---|
DatevAddressUsageType |
City
(Ort) City
Declaration
[DataMember(Name = "city", EmitDefaultValue = false)]
public string City { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Ort) City |
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 |
District
(Ortsteil) District (public sector)
Declaration
[DataMember(Name = "district", EmitDefaultValue = false)]
public string District { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Ortsteil) District (public sector) |
Id
ID of the subobject address
Declaration
[DataMember(Name = "id", EmitDefaultValue = false)]
public string Id { get; set; }
Property Value
Type | Description |
---|---|
System.String | ID of the subobject address |
IndividualShippingInformation
(Versandzusatz) Additional shipping information
Declaration
[DataMember(Name = "individual_shipping_information", EmitDefaultValue = false)]
public string IndividualShippingInformation { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Versandzusatz) Additional shipping information |
IsAddressManuallyEdited
(Verwendungskennzeichen) Usage identifier for a manually edited address
Declaration
[DataMember(Name = "is_address_manually_edited", EmitDefaultValue = false)]
public bool? IsAddressManuallyEdited { get; }
Property Value
Type | Description |
---|---|
System.Nullable<System.Boolean> | (Verwendungskennzeichen) Usage identifier for a manually edited address |
Note
(Notiz) Note
Declaration
[DataMember(Name = "note", EmitDefaultValue = false)]
public string Note { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Notiz) Note |
PostalCode
(Postleitzahl) Zip code, depends on the country code. When the property "country_code" is set, the zip code length of the corresponding country is taken into account. When the property "country_code" is not set, the country is taken from the client's national law
Declaration
[DataMember(Name = "postal_code", EmitDefaultValue = false)]
public string PostalCode { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Postleitzahl) Zip code, depends on the country code. When the property "country_code" is set, the zip code length of the corresponding country is taken into account. When the property "country_code" is not set, the country is taken from the client's national law |
PostOfficeBox
(Postfach) Post office box, if both a street address and a post office box are indicated, both values will be added to the database; the post office box will be displayed on the business card in the debitor/creditor master data
Declaration
[DataMember(Name = "post_office_box", EmitDefaultValue = false)]
public string PostOfficeBox { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Postfach) Post office box, if both a street address and a post office box are indicated, both values will be added to the database; the post office box will be displayed on the business card in the debitor/creditor master data |
Street
(Straße) Street, if both a street address and a post office box are indicated, both values will be added to the database; the post office box will be displayed on the business card in the debitor/creditor master data
Declaration
[DataMember(Name = "street", EmitDefaultValue = false)]
public string Street { get; set; }
Property Value
Type | Description |
---|---|
System.String | (Straße) Street, if both a street address and a post office box are indicated, both values will be added to the database; the post office box will be displayed on the business card in the debitor/creditor master data |
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(DatevAddress)
Returns true if DatevAddress instances are equal
Declaration
public bool Equals(DatevAddress input)
Parameters
Type | Name | Description |
---|---|---|
DatevAddress | input | Instance of DatevAddress 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 |