Aspose::BarCode::ComplexBarcode::Address class

Address class

Address of creditor or debtor.

class Address : public System::IEquatable<System::SharedPtr<Aspose::BarCode::ComplexBarcode::Address>>

Methods

MethodDescription
Address()Creates instance of Address.
Clear()Clears all fields and sets the type to AddressType::Undetermined.
Equals(System::SharedPtr<System::Object>) overrideDetermines whether the specified object is equal to the current object.
Equals(System::SharedPtr<Address>) overrideDetermines whether the specified address is equal to the current address.
get_AddressLine1()Gets the address line 1.
get_AddressLine2()Gets the address line 2.
get_CountryCode() constGets the two-letter ISO country code.
get_HouseNo()Gets the house number.
get_Name() constGets the name, either the first and last name of a natural person or the company name of a legal person.
get_PostalCode()Gets the postal code.
get_Street()Gets the street.
get_Town()Gets the town or city.
get_Type() constGets the address type.
GetHashCode() const overrideGets the hash code for this instance.
set_AddressLine1(System::String)Sets the address line 1.
set_AddressLine2(System::String)Sets the address line 2.
set_CountryCode(System::String)Sets the two-letter ISO country code.
set_HouseNo(System::String)Sets the house number.
set_Name(System::String)Sets the name, either the first and last name of a natural person or the company name of a legal person.
set_PostalCode(System::String)Sets the postal code.
set_Street(System::String)Sets the street.
set_Town(System::String)Sets the town or city.

Remarks

You can either set street, house number, postal code and town (type structured address) or address line 1 and 2 (type combined address elements). The type is automatically set once any of these fields is set. Before setting the fields, the address type is undetermined. If fields of both types are set, the address type becomes conflicting. Name and country code must always be set unless all fields are empty.

See Also