SwissAddress

SwissAddress class

Represents the address of the creditor or debtor. You can either set street, house number, postal code, and town (structured address type) or address line 1 and 2 (combined address elements type).

public class SwissAddress

Constructors

Name Description
SwissAddress() The default constructor.

Properties

Name Description
AddressLine1 { get; set; } Gets or sets the address line 1. Address line 1 contains street name, house number or P.O. box. This field is only used for combined elements addresses and is optional.
AddressLine2 { get; set; } Gets or sets the address line 2. Address line 2 contains postal code and town. This field is only used for combined elements addresses. For this type, it’s mandatory.
CountryCode { get; set; } Gets or sets the two-letter ISO country code. The country code is mandatory unless the entire address contains null or empty values.
HouseNo { get; set; } Gets or sets the house number. This field is only used for structured addresses and is optional.
Name { get; set; } Gets or sets the name, either the first and last name of a natural person or the company name of a legal person.
PostalCode { get; set; } Gets or sets the postal code. This field is only used for structured addresses. For this type, it’s mandatory.
Street { get; set; } Gets or sets the street. The street must be specified without a house number. This field is only used for structured addresses and is optional.
Town { get; set; } Gets or sets the town or city. This field is only used for structured addresses. For this type, it’s mandatory.

See Also