CreateRequest class final
Constructors
- CreateRequest({required TargetType type, required OfferProfile profile, required ScheduleParams schedule, required Activation activation, required int priority, TargetReference? coupon, TargetReference? discount, CustomDataInput? customData})
-
const
-
CreateRequest.fromJson(Map<
String, Object?> json) -
factory
Properties
- activation → Activation
-
final
- coupon → TargetReference?
-
final
- customData → CustomDataInput?
-
final
- discount → TargetReference?
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- priority → int
-
final
- profile → OfferProfile
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- schedule → ScheduleParams
-
final
- type → TargetType
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited