PromotionsMethods class
- Inheritance
-
- Object
- BaseMethodChannel
- PromotionsMethods
Constructors
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< SyneriseResult< void> > -
activatePromotionByUUID(
String uuid) → Future< SyneriseResult< void> > -
activatePromotionsBatch(
List< PromotionIdentifier> promotionsToActivate) → Future<SyneriseResult< void> > -
assignVoucherCode(
String poolUuid) → Future< SyneriseResult< AssignVoucherResponse> > -
deactivatePromotionByCode(
String code) → Future< SyneriseResult< void> > -
deactivatePromotionByUUID(
String uuid) → Future< SyneriseResult< void> > -
deactivatePromotionsBatch(
List< PromotionIdentifier> promotionsToDeactivate) → Future<SyneriseResult< void> > -
getAllPromotions(
) → Future< SyneriseResult< PromotionResponse> > -
getAssignedVoucherCodes(
) → Future< SyneriseResult< VoucherCodesResponse> > -
getOrAssignVoucher(
String poolUuid) → Future< SyneriseResult< AssignVoucherResponse> > -
getPromotionByCode(
String code) → Future< SyneriseResult< Promotion> > -
getPromotionByUUID(
String uuid) → Future< SyneriseResult< Promotion> > -
getPromotions(
PromotionsApiQuery promotionsApiQuery) → Future< SyneriseResult< 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