Buyer class
Represents the buyer in a transaction, including their name, VAT number, and address.
The Buyer class holds information about the buyer, which is typically required for invoicing and tax-related documents. The class includes:
Constructors
Properties
- address → String
-
The physical address of the buyer.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
The name of the buyer.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- vatNumber → String
-
The VAT number of the buyer, used for tax identification.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - Converts the Buyer instance to a JSON representation.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited