InvoiceCancellation class
Represents the cancellation details of an invoice.
Constructors
- InvoiceCancellation({required String reason, required String canceledSerialInvoiceNumber, required ZATCAPaymentMethods paymentMethod})
- Creates a new InvoiceCancellation instance.
-
InvoiceCancellation.fromMap(Map<
String, dynamic> map) -
Creates an InvoiceCancellation instance from a Map.
factory
Properties
- canceledSerialInvoiceNumber → String
-
The canceled serial invoice number.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- paymentMethod → ZATCAPaymentMethods
-
The payment method used.
final
- reason → String
-
The reason for the cancellation.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toMap(
) → Map< String, dynamic> - Converts the InvoiceCancellation instance to a Map.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited