Create class

Constructors

Create({int? id, String? code, String? amount, DateTime? dateCreated, DateTime? dateCreatedGmt, DateTime? dateModified, DateTime? dateModifiedGmt, String? discountType, String? description, dynamic dateExpires, dynamic dateExpiresGmt, int? usageCount, bool? individualUse, List? productIds, List? excludedProductIds, dynamic usageLimit, dynamic usageLimitPerUser, dynamic limitUsageToXItems, bool? freeShipping, List? productCategories, List? excludedProductCategories, bool? excludeSaleItems, String? minimumAmount, String? maximumAmount, List? emailRestrictions, List? usedBy, List? metaData, Links? links})
Create.fromJson(Map<String, dynamic> json)
factory

Properties

amount String?
getter/setter pair
code String?
getter/setter pair
dateCreated DateTime?
getter/setter pair
dateCreatedGmt DateTime?
getter/setter pair
dateExpires ↔ dynamic
getter/setter pair
dateExpiresGmt ↔ dynamic
getter/setter pair
dateModified DateTime?
getter/setter pair
dateModifiedGmt DateTime?
getter/setter pair
description String?
getter/setter pair
discountType String?
getter/setter pair
emailRestrictions List?
getter/setter pair
excludedProductCategories List?
getter/setter pair
excludedProductIds List?
getter/setter pair
excludeSaleItems bool?
getter/setter pair
freeShipping bool?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
id int?
getter/setter pair
individualUse bool?
getter/setter pair
limitUsageToXItems ↔ dynamic
getter/setter pair
getter/setter pair
maximumAmount String?
getter/setter pair
metaData List?
getter/setter pair
minimumAmount String?
getter/setter pair
productCategories List?
getter/setter pair
productIds List?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
usageCount int?
getter/setter pair
usageLimit ↔ dynamic
getter/setter pair
usageLimitPerUser ↔ dynamic
getter/setter pair
usedBy List?
getter/setter pair

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