PaymentMethodParams.grabPay constructor

  1. @JsonSerializable(explicitToJson: true)
  2. @FreezedUnionValue('GrabPay')
const PaymentMethodParams.grabPay({
  1. required PaymentMethodData paymentMethodData,
})

Config parameters for GrabPay payment method.

Implementation

@JsonSerializable(explicitToJson: true)
@FreezedUnionValue('GrabPay')

/// Config parameters for GrabPay payment method.

const factory PaymentMethodParams.grabPay({
  /// Paymentmethod data for this paymentmethod.
  required PaymentMethodData paymentMethodData,
}) = _PaymentMethodParamsPay;