IncommePaymentMethod constructor

IncommePaymentMethod({
  1. Key? key,
  2. required String orderGroupID,
  3. String? callBackRouteName,
  4. dynamic onProcess(
    1. CheckoutPayment result
    )?,
  5. dynamic onError(
    1. String error
    )?,
  6. dynamic onResultPaymentClosePressed()?,
  7. dynamic onRetryPaymentPressed()?,
  8. dynamic onChangePaymentPressed()?,
  9. dynamic onCompleted(
    1. IncommePaymentStatus result
    )?,
})

Implementation

IncommePaymentMethod({
  super.key,
  required this.orderGroupID,
  String? callBackRouteName,
  this.onProcess,
  this.onError,
  this.onResultPaymentClosePressed,
  this.onRetryPaymentPressed,
  this.onChangePaymentPressed,
  this.onCompleted,
}) : callBackRouteName = callBackRouteName ?? '/';