DVBillable class sealed
Whether a good is digital or physical, declared rather than guessed.
A classifier that guessed from a model's fields would be wrong in both directions: a physical good sent through a store loses its commission on a margin that cannot carry it, and a digital good sent through a gateway is a rejected submission.
Constructors
- DVBillable.digital({String? appStore, String? play, String? telegram, int? telegramStars})
-
A digital good, with the product identifier each store knows it by.
constfactory
- DVBillable.physical({int? nativePrice, String? nativeCurrency})
-
A physical good, sold through Billing's gateway on every platform.
constfactory
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- 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
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited