Product class

Annotations

Constructors

Product()
Product.fromJson(Map<String, dynamic> json)
factory

Properties

additionalInfo String
read / write
additionalInformation String
read / write
auxCode String
read / write
characteristics List<KeyValue>
@JsonKey(defaultValue: []), read / write
code String
read / write
complementaryName String
read / write
defaultPrice double
read / write
description String
read / write
ecommerceId String
region START Prices variables for LEGACY API
read / write
ecommerceInstallmentPrice double
read / write
ecommercePrice double
read / write
ecommerceStock int
read / write
favoriteCount int
read / write
featuredCharacteristics List<FeaturedCharacteristic>
@JsonKey(defaultValue: []), read / write
hashCode int
The hash code for this object. [...]
read-only, inherited
id String
read / write
images List<ProductImage>
read / write
imageUrl String
read / write
installmentPrice double
read / write
isAvailable bool
@JsonKey(defaultValue: true), read / write
isFavorite bool
read / write
isNew bool
read / write
isSinglePrice bool
read / write
kioskId String
read / write
kioskInstallmentPrice double
read / write
kioskPrice double
read / write
kioskStock int
read / write
lastTimestamp int
read / write
maxEcommerceInstallments int
read / write
maxInstallments int
read / write
maxKioskInstallments int
read / write
maxSingleInstallments int
read / write
name String
read / write
oldPrice double
read / write
pickupOnly bool
@JsonKey(defaultValue: false), read / write
price double
END Prices variables for LEGACY API endregion [...]
read / write
referenceCode String
read / write
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited
singleInstallmentPrice double
read / write
singleOldPrice double
read / write
singlePrice double
read / write
skus List<Sku>
END Prices properties for MODERN API
read / write
tags List<String>
read-only
unitPrice double
read / write
wholesaleMinQuantity int
read / write
wholesalePrice double
read / write

Methods

displayCode({String displayCodeName}) String
fromMap(Map<String, dynamic> map) → void
getInstallmentPrice() double
getMaxInstallments() int
getOldPrice() double
getProductPrice() double
haveMessagefeaturedCharacteristics() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
orderCharacteristics() List<KeyValue>
toJson() Map<String, dynamic>
toMap() Map<String, dynamic>
toString() String
A string representation of this object. [...]
inherited

Operators

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