Discount class
Mirrors RvDiscount / DiscountDTO.
- Annotations
Constructors
- Discount({String? identifier, double? price, String? priceString, String? currencyCode, required RovenuePeriod period, required int numberOfPeriods, required PaymentMode paymentMode, required DiscountType type})
-
const
Properties
- currencyCode → String?
-
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- identifier → String?
-
final
- numberOfPeriods → int
-
final
- paymentMode → PaymentMode
-
final
- period → RovenuePeriod
-
final
- price → double?
-
final
- priceString → String?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- type → DiscountType
-
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