PromotionsMethods class

Inheritance

Constructors

PromotionsMethods()

Properties

backgroundMethodChannel MethodChannel
finalinherited
hashCode int
The hash code for this object.
no setterinherited
methodChannel MethodChannel
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

activatePromotionByCode(String code) Future<void>
activatePromotionByUUID(String uuid) Future<void>
activatePromotionsBatch(List<PromotionIdentifier> promotionsToActivate) Future<void>
assignVoucherCode(String poolUuid) Future<AssignVoucherResponse>
deactivatePromotionByCode(String code) Future<void>
deactivatePromotionByUUID(String uuid) Future<void>
deactivatePromotionsBatch(List<PromotionIdentifier> promotionsToDeactivate) Future<void>
getAllPromotions() Future<PromotionResponse>
getAssignedVoucherCodes() Future<VoucherCodesResponse>
getOrAssignVoucher(String poolUuid) Future<AssignVoucherResponse>
getPromotionByCode(String code) Future<Promotion>
getPromotionByUUID(String uuid) Future<Promotion>
getPromotions(PromotionsApiQuery promotionsApiQuery) Future<PromotionResponse>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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