TicketWeebi class
- Inheritance
-
- Object
- TicketAbstract
- TicketWeebi
- Available extensions
Constructors
-
TicketWeebi({required String firmIdAndBoutiqueId, required int id, required List<
ItemCartWeebi< 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, String contactFirstName = '', String contactLastName = '', String contactPhone = '', String contactMail = '', bool status = true, required DateTime? statusUpdateDate, required DateTime creationDate, num discountAmount = 0})ArticleRawAbstract> > - TicketWeebi.fromJson(String source)
-
factory
-
TicketWeebi.fromMap(Map<
String, dynamic> map) -
factory
Properties
- comment → String
-
finalinherited
- contactFirstName → String
-
final
- contactId → int
-
finalinherited
- contactIdString → String
-
no setter
- contactLastName → String
-
final
- contactMail → String
-
final
- contactPhone → String
-
final
- creationDate → DateTime
-
finalinherited
- date → DateTime
-
finalinherited
- deactivatedDate → String
-
no setterinherited
- discountAmount → num
-
finalinherited
- firmIdAndBoutiqueId → String
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- id → int
-
finalinherited
-
items
→ List<
ItemCartWeebi< ArticleRawAbstract> > -
finalinherited
- paymentType → PaymentType
-
finalinherited
- promo → double
-
finalinherited
- received → num
-
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sellFull → num
-
no setterinherited
- spendFull → num
-
no setterinherited
- status ↔ bool
-
getter/setter pairinherited
- statusUpdateDate → DateTime?
-
finalinherited
- taxe → TaxWeebi
-
finalinherited
- ticketType → TicketType
-
finalinherited
- total → num
-
no setterinherited
- totalCostItemsOnly → num
-
no setterinherited
- totalCostPromoVal → num
-
no setterinherited
- totalCostTaxAndPromoIncluded → num
-
no setterinherited
- totalCostTaxesVal → num
-
no setterinherited
- totalCostTaxExcludedIncludingPromo → num
-
no setterinherited
- totalPriceItemsOnly → num
-
no setterinherited
- totalPricePromoVal → num
-
no setterinherited
- totalPriceTaxAndPromoIncluded → num
-
no setterinherited
- totalPriceTaxesVal → num
-
no setterinherited
- totalPriceTaxExcludedPromoIncluded → num
-
no setterinherited
Methods
-
calculateSumsOfTicket(
TicketType ticketType, DateTime startOfMonth, DateTime endOfMonth) → num -
inherited
-
copyWith(
{String? firmIdAndBoutiqueId, int? id, int? shopId, List< ItemCartWeebi< ? items, TaxWeebi? taxe, double? promo, num? discountAmount, String? comment, num? received, DateTime? date, PaymentType? paymentType, TicketType? ticketType, int? contactId, String? contactFirstName, String? contactLastName, String? contactPhone, String? contactMail, bool? status, DateTime? statusUpdateDate, DateTime? creationDate}) → TicketWeebiArticleRawAbstract> > -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
promoVal(
num itemsTotal, double promo) → num -
inherited
-
soldQtByArticle(
String articleName, DateTime startOfMonth, DateTime endOfMonth) → double -
inherited
-
taxesVal(
num itemsTotal, double promo, num discountAmount, double taxePercentage) → num -
inherited
-
toJson(
) → String -
override
-
toMap(
) → Map< String, dynamic> -
override
-
toString(
) → String -
A string representation of this object.
override
-
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.
override
Static Properties
- dummySell → TicketWeebi
-
final
- dummySpend → TicketWeebi
-
final