BusinessParty class

Represents a business party, including its address, tax ID, and other business-specific details. The toXml method generates an XML structure specific to a business party.

Inheritance
Implementers

Constructors

BusinessParty({required String address, required String name, required String taxId, required String buildingNumber, required String citySubdivision, required String city, required String postalZone, required String countryCode, required String schemeID, required String businessID})
Constructor to initialize the business party's details.

Properties

address ↔ String
The address of the party.
getter/setter pairinherited
buildingNumber ↔ String
The building number of the business party.
getter/setter pair
businessID ↔ String
The business ID (e.g., commercial registration number).
getter/setter pair
city ↔ String
The city where the business is located.
getter/setter pair
citySubdivision ↔ String
The subdivision of the city where the business is located.
getter/setter pair
countryCode ↔ String
The country code where the business is located.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
name ↔ String
The name of the party (individual or business).
getter/setter pairinherited
postalZone ↔ String
The postal zone (postal code) of the business.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
schemeID ↔ String
The scheme ID for the business, typically 'CRN' (Commercial Registration Number).
getter/setter pair
taxId ↔ String
The tax identification number of the party.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited
toXml(XmlBuilder builder) → void
Converts the business party's details into XML format.
override

Operators

operator ==(Object other) → bool
The equality operator.
inherited