TicketAbstract class abstract

Implemented types
Mixed-in types
Implementers

Constructors

TicketAbstract({required int id, required List<ItemCartWeebi<ArticleRawAbstract>> items, required TaxWeebi taxe, required double promo, required String comment, required num received, required DateTime date, required PaymentType paymentType, required TicketType ticketType, required int contactId, required bool status, required DateTime? statusUpdateDate, required DateTime creationDate, num discountAmount = 0})

Properties

comment String
final
contactId int
final
creationDate DateTime
final
date DateTime
final
deactivatedDate String
no setter
discountAmount num
final
hashCode int
The hash code for this object.
no setterinherited
id int
final
items List<ItemCartWeebi<ArticleRawAbstract>>
final
paymentType PaymentType
final
promo double
final
received num
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status bool
getter/setter pairoverride-getter
statusUpdateDate DateTime?
final
taxe TaxWeebi
final
ticketType TicketType
final
total num
no setter
totalCostItemsOnly num
no setter
totalCostPromoVal num
no setter
totalCostTaxAndPromoIncluded num
no setter
totalCostTaxesVal num
no setter
totalCostTaxExcludedIncludingPromo num
no setter
totalPriceItemsOnly num
no setter
totalPricePromoVal num
no setter
totalPriceTaxAndPromoIncluded num
no setter
totalPriceTaxesVal num
no setter
totalPriceTaxExcludedPromoIncluded num
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
promoVal(num itemsTotal, double promo) num
inherited
taxesVal(num itemsTotal, double promo, num discountAmount, double taxePercentage) num
inherited
toJson({required bool isProto}) String
inherited
toMap({required bool isProto}) Map<String, dynamic>
isProto is used for server pull/push, too sensitive to keep it optional
inherited
toString() String
A string representation of this object.
inherited
totalTaxAndPromoIncluded(num itemsTotal, double promo, num discountAmount, double taxePercentage) num
inherited
totalTaxExcludedPromoIncluded(num itemsTotal, double promo, num discountAmount) num
inherited

Operators

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