Class Contact
Represents Swiss QR code contact information.
Inheritance
System.Object
Contact
Namespace: FastReport.Barcode
Assembly: FastReport.Base.dll
Syntax
public class Contact
Constructors
Contact(String)
Creates contact instance with contact data provided.
Declaration
public Contact(string contact)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | contact | Contact data. |
Contact(String, String, String, String)
Contact type. Can be used for payee, ultimate payee, etc. with address in combined mode (K).
Declaration
public Contact(string name, string country, string addressLine1, string addressLine2)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Last name or company (optional first name) |
| System.String | country | Two-letter country code as defined in ISO 3166-1 |
| System.String | addressLine1 | Adress line 1 |
| System.String | addressLine2 | Adress line 2 |
Contact(String, String, String, String, String, String)
Contact type. Can be used for payee, ultimate payee, etc. with address in structured mode (S).
Declaration
public Contact(string name, string zipCode, string city, string country, string street, string houseNumber)
Parameters
| Type | Name | Description |
|---|---|---|
| System.String | name | Last name or company (optional first name) |
| System.String | zipCode | Zip-/Postcode |
| System.String | city | City name |
| System.String | country | Two-letter country code as defined in ISO 3166-1 |
| System.String | street | Streetname without house number |
| System.String | houseNumber | House number |
Properties
City
Gets or sets the city.
Declaration
public string City { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Country
Gets or sets the country.
Declaration
public string Country { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
HouseNumberOrAddressline
Gets or sets the house.
Declaration
public string HouseNumberOrAddressline { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
Gets or sets the name.
Declaration
public string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
StreetOrAddressline
Gets or sets the street.
Declaration
public string StreetOrAddressline { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
ZipCode
Gets or sets the zip code.
Declaration
public string ZipCode { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Methods
ToString()
Declaration
public override string ToString()
Returns
| Type | Description |
|---|---|
| System.String |
Overrides
System.Object.ToString()