MidtransConfig constructor

MidtransConfig({
  1. required String merchantClientKey,
  2. required String merchantUrl,
  3. bool enableLog = true,
  4. String? gopayCallbackUrl,
  5. String? shopeePayCallbackUrl,
  6. PermataVa? permataVa,
  7. BcaVa? bcaVa,
  8. BniVa? bniVa,
  9. PaymentTypeConfig? paymentTypeConfig,
})

Creates a new instance of MidtransConfig.

merchantClientKey and merchantUrl are required parameters.

Implementation

MidtransConfig({
  required this.merchantClientKey,
  required this.merchantUrl,
  this.enableLog = true,
  this.gopayCallbackUrl,
  this.shopeePayCallbackUrl,
  this.permataVa,
  this.bcaVa,
  this.bniVa,
  this.paymentTypeConfig,
});