copyWith method
BankTransferEvent
copyWith({
- int? eventId,
- DateTime? timestamp,
- BankTransferEventType? eventType,
- String? accountId,
- String? bankTransferId,
- String? originationAccountId,
- BankTransferType? bankTransferType,
- String? bankTransferAmount,
- String? bankTransferIsoCurrencyCode,
- BankTransferFailure? failureReason,
- BankTransferDirection? direction,
Implementation
BankTransferEvent copyWith(
{int? eventId,
DateTime? timestamp,
enums.BankTransferEventType? eventType,
String? accountId,
String? bankTransferId,
String? originationAccountId,
enums.BankTransferType? bankTransferType,
String? bankTransferAmount,
String? bankTransferIsoCurrencyCode,
BankTransferFailure? failureReason,
enums.BankTransferDirection? direction}) {
return BankTransferEvent(
eventId: eventId ?? this.eventId,
timestamp: timestamp ?? this.timestamp,
eventType: eventType ?? this.eventType,
accountId: accountId ?? this.accountId,
bankTransferId: bankTransferId ?? this.bankTransferId,
originationAccountId: originationAccountId ?? this.originationAccountId,
bankTransferType: bankTransferType ?? this.bankTransferType,
bankTransferAmount: bankTransferAmount ?? this.bankTransferAmount,
bankTransferIsoCurrencyCode:
bankTransferIsoCurrencyCode ?? this.bankTransferIsoCurrencyCode,
failureReason: failureReason ?? this.failureReason,
direction: direction ?? this.direction);
}