PromoCodeBody class

Inheritance

Constructors

PromoCodeBody({String? storeId, String? code, int? limit, int? amount, String? amountType, String? type, List<String>? products, List<String>? categories})

Properties

amount int?
getter/setter pair
amountType String?
getter/setter pair
categories List<String>?
getter/setter pair
code String?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
limit int?
getter/setter pair
products List<String>?
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
storeId String?
getter/setter pair
type String?
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toFormData() Future<FormData?>?
Converts the body data model to a FormData object.
override
toPostJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a POST request.
override
toPutJson() Map<String, dynamic>?
Converts the body data model to a JSON object for a PUT request.
override
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited