copyWith method

PaymentInitiationPaymentCreateResponse copyWith({
  1. String? paymentId,
  2. String? status,
  3. String? requestId,
})

Implementation

PaymentInitiationPaymentCreateResponse copyWith(
    {String? paymentId, String? status, String? requestId}) {
  return PaymentInitiationPaymentCreateResponse(
      paymentId: paymentId ?? this.paymentId,
      status: status ?? this.status,
      requestId: requestId ?? this.requestId);
}