FlutterKhaltiPayment constructor

FlutterKhaltiPayment(
  1. {@required String merchantKey,
  2. @required String productId,
  3. @required String productName,
  4. String productUrl: "",
  5. @required double amount,
  6. @required String urlSchemeIOS,
  7. bool enableEBanking: false,
  8. bool enableMobileBanking: false,
  9. bool enableIPS: false,
  10. bool enableSCT: false}
)

Implementation

FlutterKhaltiPayment({
  @required String merchantKey,
  @required String productId,
  @required String productName,
  String productUrl="",
  @required double amount,
  @required String urlSchemeIOS,
  bool enableEBanking=false,
  bool enableMobileBanking=false,
  bool enableIPS=false,
  bool enableSCT=false

}):this._merchantKey=merchantKey,
      this._productId=productId,
      this._productName=productName,
      this._productUrl=productUrl,
      this._amount=amount,
      this._urlSchemeIOS = urlSchemeIOS,
      this._enableEBanking = enableEBanking,
      this._enableMobileBanking = enableMobileBanking,
      this._enableIPS = enableIPS,
      this._enableSCT=enableSCT;