PartyBase class abstract

An abstract base class for representing a party, which could be an individual or a business. It holds the basic details of a party, including name, tax ID, and address, and defines the common XML conversion logic.

Implementers

Constructors

PartyBase.new({required String name, required String taxId, required String address})
Constructor to initialize the basic details of the party.

Properties

address String
The address of the party.
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 pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
taxId String
The tax identification number of the party.
getter/setter pair

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 party's details into XML format.

Operators

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