copyWith method
      
PaymentInitiationPaymentListResponse
copyWith({ 
    
    
- List<PaymentInitiationPayment> ? payments,
- DateTime? nextCursor,
- String? requestId,
Implementation
PaymentInitiationPaymentListResponse copyWith(
    {List<PaymentInitiationPayment>? payments,
    DateTime? nextCursor,
    String? requestId}) {
  return PaymentInitiationPaymentListResponse(
      payments: payments ?? this.payments,
      nextCursor: nextCursor ?? this.nextCursor,
      requestId: requestId ?? this.requestId);
}