copyWith method

BankTransferEventListRequest copyWith({
  1. String? clientId,
  2. String? secret,
  3. DateTime? startDate,
  4. DateTime? endDate,
  5. String? bankTransferId,
  6. String? accountId,
  7. BankTransferEventListRequestBankTransferType? bankTransferType,
  8. List<BankTransferEventType>? eventTypes,
  9. int? count,
  10. int? offset,
  11. String? originationAccountId,
  12. BankTransferEventListRequestDirection? direction,
})

Implementation

BankTransferEventListRequest copyWith(
    {String? clientId,
    String? secret,
    DateTime? startDate,
    DateTime? endDate,
    String? bankTransferId,
    String? accountId,
    enums.BankTransferEventListRequestBankTransferType? bankTransferType,
    List<enums.BankTransferEventType>? eventTypes,
    int? count,
    int? offset,
    String? originationAccountId,
    enums.BankTransferEventListRequestDirection? direction}) {
  return BankTransferEventListRequest(
      clientId: clientId ?? this.clientId,
      secret: secret ?? this.secret,
      startDate: startDate ?? this.startDate,
      endDate: endDate ?? this.endDate,
      bankTransferId: bankTransferId ?? this.bankTransferId,
      accountId: accountId ?? this.accountId,
      bankTransferType: bankTransferType ?? this.bankTransferType,
      eventTypes: eventTypes ?? this.eventTypes,
      count: count ?? this.count,
      offset: offset ?? this.offset,
      originationAccountId: originationAccountId ?? this.originationAccountId,
      direction: direction ?? this.direction);
}