OrderItem class abstract

OrderItem

Properties:

  • id - The unique identifier of the product.
  • installments - The number of installments for the specified product id.
  • name_ - The name of the product.
  • quantity - The number of items with the specified product id included in the order.
Annotations
  • @BuiltValue.new()

Constructors

OrderItem([void updates(OrderItemBuilder b)])
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
id String?
The unique identifier of the product.
no setter
installments int?
The number of installments for the specified product id.
no setter
name_ String?
The name of the product.
no setter
quantity int?
The number of items with the specified product id included in the order.
no setter
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
rebuild(dynamic updates(OrderItemBuilder)) OrderItem
Rebuilds the instance.
inherited
toBuilder() OrderItemBuilder
Converts the instance to a builder B.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

serializer → Serializer<OrderItem>
no setter