DiscountAmountAndroid class
Discount amount details for one-time purchase offers (Android) Available in Google Play Billing Library 7.0+
Constructors
- DiscountAmountAndroid({required String discountAmountMicros, required String formattedDiscountAmount})
-
const
-
DiscountAmountAndroid.fromJson(Map<
String, dynamic> json) -
factory
Properties
- discountAmountMicros → String
-
Discount amount in micro-units (1,000,000 = 1 unit of currency)
final
- formattedDiscountAmount → String
-
Formatted discount amount with currency sign (e.g., "$4.99")
final
- 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
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited