copyWithWrapped method

PaymentInitiationPaymentReverseResponse copyWithWrapped({
  1. Wrapped<String>? refundId,
  2. Wrapped<WalletTransactionStatus>? status,
  3. Wrapped<String>? requestId,
})

Implementation

PaymentInitiationPaymentReverseResponse copyWithWrapped(
    {Wrapped<String>? refundId,
    Wrapped<enums.WalletTransactionStatus>? status,
    Wrapped<String>? requestId}) {
  return PaymentInitiationPaymentReverseResponse(
      refundId: (refundId != null ? refundId.value : this.refundId),
      status: (status != null ? status.value : this.status),
      requestId: (requestId != null ? requestId.value : this.requestId));
}