MiscDto class
Optional additional data.
Constructors
-
MiscDto({String? receiptLanguage, LogoDto? logo, List<
AdditionalReceiptDto> ? additionalReceipts, required bool isExample, List<BillCategoryDto> ? categories, List<AfterSalesCouponDto> ? afterSalesCoupons, String? returnBarcode, ReturnBarcodeType? returnBarcodeType, String? cashierName, bool? isHospitalityBill, HospitalityBillInformationDto? hospitalityBillInformation, List<CustomSectionDto> ? customSections, String? contentAreaId, CountrySpecificAttributesBaseDto? countrySpecificAttributes, ReceiptTransactionTypeDto? receiptTransactionType, List<LinkedBillDto> ? linkedBills}) -
MiscDto.fromJson(Map<
String, dynamic> json) -
factory
Properties
-
additionalReceipts
↔ List<
AdditionalReceiptDto> ? -
Additional documents in text form as images or PDF (e.g. card terminal receipts).
read / write
-
afterSalesCoupons
↔ List<
AfterSalesCouponDto> ? -
List of after sales coupon the receipt recipient should get.
read / write
- cashierName ↔ String?
-
Name of the cashier who processed the transaction.
read / write
-
categories
↔ List<
BillCategoryDto> ? -
List of categories to categorize this receipt for the user.
Unknown categories will be ignored.
read / write
- contentAreaId ↔ String?
-
Id of the content area which is activated by the vendor customer who issued the bill.
read / write
- countrySpecificAttributes ↔ CountrySpecificAttributesBaseDto?
-
Country specific attributes
read / write
-
customSections
↔ List<
CustomSectionDto> ? -
Define custom sections between already existing sections.
read / write
-
Optional footer text that should appear at the end of the receipt.
read / write
- hashCode → int
-
The hash code for this object.
read-onlyinherited
- hospitalityBillInformation ↔ HospitalityBillInformationDto?
-
read / write
- isExample ↔ bool
-
Mark bill as an example bill.
read / write
- isHospitalityBill ↔ bool?
-
Mark bill as a hospitality bill.
read / write
-
linkedBills
↔ List<
LinkedBillDto> ? -
List of IDs of linked bills.
read / write
- logo ↔ LogoDto?
-
read / write
-
props
→ List<
Object?> -
The list of properties that will be used to determine whether
two instances are equal.
read-onlyoverride
- receiptLanguage ↔ String?
-
The receipt language given as a ISO 639-1 language code.
read / write
- receiptTransactionType ↔ ReceiptTransactionTypeDto?
-
read / write
- returnBarcode ↔ String?
-
Data to display a return barcode.
read / write
- returnBarcodeType ↔ ReturnBarcodeType?
-
read / write
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- stringify → bool?
-
If set to
true
, the toString method will be overridden to output this instance's props.read-onlyinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited