VoucherGenerationModule class
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
toString()
→ String
-
A string representation of this object.
inherited
Static Methods
-
askForPermissions()
→ Future<bool>
-
-
collectOtp({required Future<void> resendOTPSMS(), required Future<void> resendOTPWhatsapp(), int? otpLength, required double amount})
→ Future<String?>
-
-
getAllowedUPIApps({required String orderId})
→ Future<(List<String>, bool, bool)>
-
-
getModel({required double amount, required bool autoGenerated, required String brandLogo, dynamic productId, dynamic couponCode, required Map<double, int>? selectedDenomination, required bool referralCodeAutoApply, required bool consumeCoins, required double taxPercentage, required String title, required String variantId, required bool isRewardTypePostpaid})
→ VoucherGenerationSummaryViewModel
-
-
onAddMoneyClick({required int dueAmount, required String productId, required Map<double, int>? selectedDenomination})
→ void
-
-
onPaymentInitiated({required String orderId, required String depositId, required String redemptionId, String selectedPaymentOption = '', bool creditCard = false, bool couponApplied = false})
→ void
-
-
onPaymentProcessing({required String redemptionId, required String orderId, bool couponApplied = false})
→ void
-
-
onVoucherGeneration({required String orderId, required String routeName, bool couponApplied = false, double rewardPercentage = 0.0})
→ void
-