MarketProduct class
Constructors
- MarketProduct({int? id, String? reference, String? pictureUrl, int? categoryId, int? purchaseType, int? warrantyDuration, int? planDuration, int? workDuration, int? numberOfItems, String? label, String? languageCode, String? subtitleLabel, dynamic description, dynamic jsonDescription, dynamic countryCode, dynamic price, dynamic priceFormat, int? priceMonthly, String? priceMonthlyFormat, int? priceYearly, String? priceYearlyFormat, String? priceByAdIfMonthlyFormat, String? priceByAdIfYearlyFormat, double? pricePercentageDiscountIfYearly, String? currency, int? currentDiscountActive, dynamic currentDiscountInPercent, int? discountBetweenYearAndMonth, dynamic convertedPricing})
-
MarketProduct.fromJson(Map<
String, dynamic> json)
Properties
- categoryId ↔ int?
-
getter/setter pair
- convertedPricing ↔ dynamic
-
getter/setter pair
- countryCode ↔ dynamic
-
getter/setter pair
- currency ↔ String?
-
getter/setter pair
- currentDiscountActive ↔ int?
-
getter/setter pair
- currentDiscountInPercent ↔ dynamic
-
getter/setter pair
- description ↔ dynamic
-
getter/setter pair
- discountBetweenYearAndMonth ↔ int?
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- id ↔ int?
-
getter/setter pair
- jsonDescription ↔ dynamic
-
getter/setter pair
- label ↔ String?
-
getter/setter pair
- languageCode ↔ String?
-
getter/setter pair
- numberOfItems ↔ int?
-
getter/setter pair
- pictureUrl ↔ String?
-
getter/setter pair
- planDuration ↔ int?
-
getter/setter pair
- price ↔ dynamic
-
getter/setter pair
- priceByAdIfMonthlyFormat ↔ String?
-
getter/setter pair
- priceByAdIfYearlyFormat ↔ String?
-
getter/setter pair
- priceFormat ↔ dynamic
-
getter/setter pair
- priceMonthly ↔ int?
-
getter/setter pair
- priceMonthlyFormat ↔ String?
-
getter/setter pair
- pricePercentageDiscountIfYearly ↔ double?
-
getter/setter pair
- priceYearly ↔ int?
-
getter/setter pair
- priceYearlyFormat ↔ String?
-
getter/setter pair
- purchaseType ↔ int?
-
getter/setter pair
- reference ↔ String?
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- subtitleLabel ↔ String?
-
getter/setter pair
- warrantyDuration ↔ int?
-
getter/setter pair
- workDuration ↔ int?
-
getter/setter pair
Methods
-
copyWith(
{int? id, String? reference, String? pictureUrl, int? categoryId, int? purchaseType, dynamic warrantyDuration, int? planDuration, int? workDuration, int? numberOfItems, String? label, String? languageCode, String? subtitleLabel, dynamic description, dynamic jsonDescription, dynamic countryCode, dynamic price, dynamic priceFormat, int? priceMonthly, String? priceMonthlyFormat, int? priceYearly, String? priceYearlyFormat, String? priceByAdIfMonthlyFormat, String? priceByAdIfYearlyFormat, double? pricePercentageDiscountIfYearly, String? currency, int? currentDiscountActive, dynamic currentDiscountInPercent, int? discountBetweenYearAndMonth, dynamic convertedPricing}) → MarketProduct -
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