UniPayItem class

Constructors

UniPayItem({required String id, required String name, required int quantity, required num price, String? sku, String itemType = "service"})
UniPayItem.fromJson(Map<String, dynamic> json)

Properties

hashCode int
The hash code for this object.
no setterinherited
id String
  • Item id
  • getter/setter pair
    itemType String
  • Item Type e.g. service, product, cosmetic, electronics
  • getter/setter pair
    name String
  • Item name
  • getter/setter pair
    price num
  • Item price including tax and vat
  • getter/setter pair
    quantity int
  • Item quantity
  • getter/setter pair
    runtimeType Type
    A representation of the runtime type of the object.
    no setterinherited
    sku String
  • Item SKU
  • getter/setter pair
    totalPrice num
  • All items total price
  • no setter

    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