copyWith method

TransferEventListRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. DateTime? startDate,
  4. DateTime? endDate,
  5. String? transferId,
  6. String? accountId,
  7. TransferEventListTransferType? transferType,
  8. List<TransferEventType>? eventTypes,
  9. String? sweepId,
  10. int? count,
  11. int? offset,
  12. String? originationAccountId,
  13. String? originatorClientId,
})

Implementation

TransferEventListRequest copyWith(
    {String? clientId,
    String? secret,
    DateTime? startDate,
    DateTime? endDate,
    String? transferId,
    String? accountId,
    enums.TransferEventListTransferType? transferType,
    List<enums.TransferEventType>? eventTypes,
    String? sweepId,
    int? count,
    int? offset,
    String? originationAccountId,
    String? originatorClientId}) {
  return TransferEventListRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      startDate: startDate ?? this.startDate,
      endDate: endDate ?? this.endDate,
      transferId: transferId ?? this.transferId,
      accountId: accountId ?? this.accountId,
      transferType: transferType ?? this.transferType,
      eventTypes: eventTypes ?? this.eventTypes,
      sweepId: sweepId ?? this.sweepId,
      count: count ?? this.count,
      offset: offset ?? this.offset,
      originationAccountId: originationAccountId ?? this.originationAccountId,
      originatorClientId: originatorClientId ?? this.originatorClientId);
}