Promotion class final

Модель акции приложения.

Properties

code → String
Код акции.
final
discountType → PromotionDiscountType
Тип скидки по акции.
final
endDate → String?
Дата окончания акции в формате ISO 8601 (UTC) (может быть null).
final
hashCode → int
The hash code for this object.
no setteroverride
name → String
Название акции.
final
productCodes → List<String>?
Список идентификаторов продуктов, участвующих в акции (может быть null — тогда акция распространяется на все продукты). Содержится только в акции, полученной по коду; в списке всех акций всегда null.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
startDate → String
Дата начала акции в формате ISO 8601 (UTC).
final
status → PromotionStatus
Статус акции.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override