PaymentMethodArg constructor

PaymentMethodArg({
  1. String? orderGroupID,
  2. String? callBackRouteName,
  3. dynamic onRequestPaymentCompleted(
    1. CheckoutPayment result
    )?,
  4. dynamic onError(
    1. String error
    )?,
  5. dynamic onResultPaymentClosePressed()?,
  6. dynamic onRetryPaymentPressed()?,
  7. dynamic onChangePaymentPressed()?,
  8. dynamic onPaymentProcessCompleted(
    1. IncommePaymentStatus result
    )?,
})

Implementation

PaymentMethodArg({
  String? orderGroupID,
  this.callBackRouteName,
  this.onRequestPaymentCompleted,
  this.onError,
  this.onResultPaymentClosePressed,
  this.onRetryPaymentPressed,
  this.onChangePaymentPressed,
  this.onPaymentProcessCompleted,
}) : orderGroupID = orderGroupID ?? "";