LineItem class abstract

LineItem

Properties:

Annotations
  • @BuiltValue.new()

Constructors

LineItem([void updates(LineItemBuilder b)])
factory

Properties

amountExcludingTax → int?
Item amount excluding the tax, in minor units.
no setter
amountIncludingTax → int?
Item amount including the tax, in minor units.
no setter
brand → String?
Brand of the item.
no setter
color → String?
Color of the item.
no setter
description → String?
Description of the line item.
no setter
hashCode → int
The hash code for this object.
no setterinherited
id → String?
ID of the line item.
no setter
imageUrl → String?
Link to the picture of the purchased item.
no setter
itemCategory → String?
Item category, used by the payment methods PayPal and Ratepay.
no setter
manufacturer → String?
Manufacturer of the item.
no setter
marketplaceSellerId → String?
Marketplace seller id.
no setter
productUrl → String?
Link to the purchased item.
no setter
quantity → int?
Number of items.
no setter
receiverEmail → String?
Email associated with the given product in the basket (usually in electronic gift cards).
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
size → String?
Size of the item.
no setter
sku → String?
Stock keeping unit.
no setter
taxAmount → int?
Tax amount, in minor units.
no setter
taxPercentage → int?
Tax percentage, represented as a basis point integer. For example: - 530 for 5.3% (five point three percent) - 2100 for 21% (twenty-one percent)
no setter
upc → String?
Universal Product Code.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
rebuild(dynamic updates(LineItemBuilder)) → LineItem
Rebuilds the instance.
inherited
toBuilder() → LineItemBuilder
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<LineItem>
no setter